feat: update SubGame types (#6674)

This commit is contained in:
xtony77 2021-12-14 23:54:09 +08:00 committed by GitHub
parent c7330c6874
commit a4a09abb36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ const definitions: OverrideBundleDefinition = {
user: 'AccountId',
game_id: 'u32',
amount: 'u128',
game_mode: 'u8' // 1 = odd , 2 = even
game_mode: 'u8'
},
Template: {
template_id: 'u32',
@ -96,6 +96,7 @@ const definitions: OverrideBundleDefinition = {
pallet_id: 'PalletId',
program_id: 'ProgramId',
stake_amount: 'Balance',
will_expire: 'bool',
expires_at: 'Moment',
nft_id: 'NftId'
},