Name | Lookup | Parameters | |
|---|---|---|---|
| add_currency | 3a00 | 2 | |
| remove_currency | 3a01 | 2 | |
| authorize_account | 3a02 | 1 | |
| deauthorize_account | 3a03 | 1 | |
| set_updated_coin_infos | 3a04 | 1 | |
| set_batching_api | 3a05 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| UpdatedPrices | 3a00 | ["Vec<((Vec<u8>, Vec<u8>), CoinInfo)>"] | |
| AccountIdAuthorized | 3a01 | ["AccountId"] | |
| AccountIdDeauthorized | 3a02 | ["AccountId"] | |
| CurrencyAdded | 3a03 | ["Bytes","Bytes"] | |
| CurrencyRemoved | 3a04 | ["Bytes","Bytes"] | |
| BatchingApiRouteSet | 3a05 | ["Bytes"] |
Name | Type | |
|---|---|---|
| AuthorizedAccounts | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":43}} | |
| SupportedCurrencies | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["dia_oracle:dia:AssetId"],"value":"NULL","keys_id":609,"value_id":43}} | |
| BatchingApi | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":13} | |
| CoinInfosMap | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["dia_oracle:dia:AssetId"],"value":"dia_oracle:dia:CoinInfo","keys_id":609,"value_id":134}} |
Name | Docs |
|---|---|
| NoCoinInfoAvailable | Error is returned if no information is available about given coin |
| ThisAccountIdIsNotAuthorized | AccountId is not authorized |
| NoBatchingApiEndPoint | Batching Api Endpoint not set. |
| DeserializeStrError | Failed Deserializing to str |
| DeserializeError | Failed Deserializing |
| HttpRequestSendFailed | Sending Http request to Batching Server Failed |
| HttpRequestFailed | Http request to Batching Server Failed |
| FailedSignedTransaction | Failed to send signed Transaction |
| UserUnableToDeauthorizeThemself | User cannot deauthorized themself |
| BadOrigin | BadOrigin |