Updated plasm parachain types (#4648)

* Updated plasm parachain types

* Fix lint

* Fix lint
This commit is contained in:
Aleksandr Krupenkin 2021-02-11 12:25:58 +03:00 committed by GitHub
parent 113bfc51ca
commit f271be5fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,5 +6,26 @@
export default {
Address: 'AccountId',
LookupSource: 'AccountId'
LookupSource: 'AccountId',
ChainId: {
_enum: {
RelayChain: null,
Parachain: 'ParaId'
}
},
XCurrencyId: {
chain_id: 'ChainId',
currency_id: 'Bytes'
},
CurrencyIdOf: 'CurrencyId',
CurrencyId: {
_enum: {
Token: 'TokenSymbol'
}
},
TokenSymbol: {
_enum: ['ACA', 'AUSD', 'DOT', 'XBTC', 'LDOT', 'RENBTC', 'SDN', 'PLM']
},
AmountOf: 'Amount',
Amount: 'i128'
};