Update types for Realis.Network (#5773)

* Update types for Realis.Network

* Update types for Realis.Network

* Update types for Realis.Network

Co-authored-by: Daelon02 <Daelon02@github.com>
This commit is contained in:
Nikita 2021-07-06 17:33:49 +03:00 committed by GitHub
parent 233304100d
commit f02e20f575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,19 +32,37 @@ const definitions: OverrideBundleDefinition = {
'Weapon'
]
},
pallet_nfts: 'u8',
Basic: 'u8',
Params: {
strength: 'u8',
agility: 'u8',
intelligence: 'u8'
},
pallet_nfts: 'u8',
TokenId: 'U256',
Basic: 'u8',
Type: {
_enum: {
Mergeable: 'Mergeable',
Stackable: 'Stackable',
Basic: 'Basic'
}
},
Token: {
token_id: 'TokenId',
id: 'TokenId',
token_type: 'Type'
},
Mergeable: {
rarity: 'Rarity',
socket: 'Socket',
params: 'Params'
},
Stackable: {
_enum: [
'Silver',
'Gold',
'Diamond'
]
},
AttributeTransaction: {
signature: 'Signature',
name: 'Vec<u8>',
@ -119,7 +137,6 @@ const definitions: OverrideBundleDefinition = {
ResourceId: 'Vec<u8>',
ExchangeId: 'u64',
CurrencyOf: 'Balance',
TokenId: 'U256',
RealisTokenId: 'u32',
Erc721Token: {
id: 'NftId'