Name | Lookup | Parameters | |
---|---|---|---|
extract_surplus_to_treasury | 7b00 | 1 | |
auction_collateral | 7b01 | 4 | |
exchange_collateral_to_stable | 7b02 | 2 | |
set_expected_collateral_auction_size | 7b03 | 2 | |
set_debit_offset_buffer | 7b04 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ExpectedCollateralAuctionSizeUpdated | 7b00 | ["CurrencyId","Balance"] | |
DebitOffsetBufferUpdated | 7b01 | ["Balance"] |
Name | Type | |
---|---|---|
ExpectedCollateralAuctionSize | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":43,"value_id":6}} | |
DebitPool | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
DebitOffsetBuffer | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} |
Name | Type | Value | |
---|---|---|---|
GetStableCurrencyId | acala_primitives:currency:CurrencyId | 0001 | |
MaxAuctionsCount | U32 | 32000000 | |
TreasuryAccount | AccountId | 6d6f646c6163612f687a74720000000000000000000000000000000000000000 | |
PalletId | [U8; 8] | 6163612f63647074 |
Name | Docs |
---|---|
CollateralNotEnough | The collateral amount of CDP treasury is not enough |
SurplusPoolNotEnough | The surplus pool of CDP treasury is not enough |
DebitPoolNotEnough | The debit pool of CDP treasury is not enough |
CannotSwap | Cannot use collateral to swap stable |
NotDexShare | The currency id is not DexShare type |