Name | Lookup | Parameters | |
---|---|---|---|
set_nomination_enabled | 4400 | 1 | |
opt_in_to_nomination | 4401 | 1 | |
opt_out_of_nomination | 4402 | 1 | |
deposit_collateral | 4403 | 2 | |
withdraw_collateral | 4404 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
NominationOptIn | 4400 | ["DefaultVaultId"] | |
NominationOptOut | 4401 | ["DefaultVaultId"] | |
DepositCollateral | 4402 | ["DefaultVaultId","AccountId","BalanceOf"] | |
WithdrawCollateral | 4403 | ["DefaultVaultId","AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
NominationEnabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":86} | |
Vaults | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultId"],"value":"Bool","keys_id":70,"value_id":86}} |
Name | Docs |
---|---|
VaultAlreadyOptedInToNomination | Vault has already enabled nomination. |
VaultNotOptedInToNomination | Vault has not enabled nomination. |
VaultNotFound | Vault not found. |
CannotWithdrawCollateral | Account cannot withdraw. |
VaultNominationDisabled | Nomination is not enabled. |
DepositViolatesMaxNominationRatio | Nomination would overburden Vault. |
CollateralizationTooLow | Vault cannot withdraw. |