Attention
Lending Protocol and Single Asset Vaults are disabled on Devnet. You have two options for testing these features:
- Run
rippledin stand-alone mode and enableLendingProtocolandSingleAssetVaultin the rippled.cfg file. - Connect to the Lending Protocol-specific Devnet at
https://lend.devnet.rippletest.net:51234/.
The MPToken object represents the amount of shares held by a depositor. It is created when the account deposits liquidity into the vault and is deleted when a depositor redeems, or transfers, all shares.
(Requires the Single Asset Vault amendment )
There are no changes to the fields in the MPToken object. See MPToken Fields.
The following flags are set based on whether the shares are transferable, and if the vault is public or private:
| Condition | Transferable | Non-Transferable |
|---|---|---|
| Public Vault | No Flags | lsfMPTAuthorized |
| Private Vault | lsfMPTAuthorized | lsfMPTAuthorized |
See MPToken Flags for all available flags.