add new types to SubGame network (#5954)

This commit is contained in:
momo200e 2021-08-17 15:17:45 +08:00 committed by GitHub
parent 4ad0c185d5
commit 8f87f06bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,31 @@ const definitions: OverrideBundleDefinition = {
game_over: 'bool'
},
GameInstanceId: 'u32',
AccountInfo: 'AccountInfoWithDualRefCount'
AccountInfo: 'AccountInfoWithDualRefCount',
SubGameAssetMetadata: {
deposit: 'DepositBalance',
name: 'Vec<u8>',
symbol: 'Vec<u8>',
decimals: 'u8'
},
SubGameAssetDetails: {
owner: 'AccountId',
issuer: 'AccountId',
admin: 'AccountId',
freezer: 'AccountId',
supply: 'u64',
deposit: 'DepositBalance',
max_zombies: 'u32',
min_balance: 'u64',
zombies: 'u32',
accounts: 'u32',
isFrozen: 'bool'
},
SusGameAssetBalance: {
balance: 'u64',
isFrozen: 'bool',
isZombie: 'bool'
}
}
}
]