added new types for DOTMog.NET (#4958)

* added new types for DOTMog.NET

* Update dotmog.ts

fixed linting

* removed bad space

* fixed tabs
This commit is contained in:
darkfriend77 2021-03-29 14:15:15 +02:00 committed by GitHub
parent 096314d058
commit b08d4d92a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,8 @@ const definitions: OverrideBundleDefinition = {
dna: 'Hash',
genesis: 'BlockNumber',
price: 'Balance',
gen: 'u64'
gen: 'u32',
rarity: 'RarityType'
},
MogwaiBios: {
mogwai_id: 'Hash',
@ -43,6 +44,34 @@ const definitions: OverrideBundleDefinition = {
'Default',
'Hatch'
]
},
RarityType: {
_enum: [
'Minor',
'Normal',
'Rare',
'Epic',
'Legendary'
]
},
MogwaicoinAddress: {
address: 'Vec<u8>',
account: 'AccountId',
signature: 'Vec<u8>',
state: 'ClaimState',
balance: 'Balance'
},
ClaimState: {
_enum: [
'None',
'Registred',
'Verified',
'Secured',
'Processed',
'Holded',
'Failed',
'Cancelled'
]
}
}
}