Name | Lookup | Parameters | |
---|---|---|---|
vsbond_convert_to_vstoken | 7600 | 3 | |
vstoken_convert_to_vsbond | 7601 | 3 | |
set_exchange_fee | 7602 | 1 | |
set_exchange_rate | 7603 | 2 | |
set_relaychain_lease | 7604 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
VsbondConvertToVsksm | 7600 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
VsksmConvertToVsbond | 7601 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
VsbondConvertToVsdot | 7602 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
VsdotConvertToVsbond | 7603 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
VsbondConvertToVstoken | 7604 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
VstokenConvertToVsbond | 7605 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf"] | |
ExchangeFeeSet | 7606 | ["VstokenConversionExchangeFee<BalanceOf>"] | |
ExchangeRateSet | 7607 | ["i32","VstokenConversionExchangeRate"] | |
RelaychainLeaseSet | 7608 | ["u32"] |
Name | Type | |
---|---|---|
RelaychainLease | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ExchangeRate | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["I32"],"value":"bifrost_vstoken_conversion:primitives:VstokenConversionExchangeRate","keys_id":326,"value_id":327}} | |
ExchangeFee | {"origin":"PlainType","plain_type":"bifrost_vstoken_conversion:primitives:VstokenConversionExchangeFee","PlainTypeValue":325} |
Name | Type | Value | |
---|---|---|---|
RelayCurrencyId | bifrost_primitives:currency:CurrencyId | 0800 | |
TreasuryAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
VsbondAccount | [U8; 8] | 62662f73616c7062 |
Name | Docs |
---|---|
NotEnoughBalance | |
NotSupportTokenType | |
CalculationOverflow |