ghost-portal/packages/apps-config/src/api/spec/bitcountry.ts
Justin Pham 52aa9f377f
Add Bit.Country testnet Tewai to testnet list (#4461)
* Add Bit.Country testnet Tewai to testnet list

* update for eslint

* Update packages/apps-config/src/api/spec/bitcountry.ts

Commit suggestion

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-21 10:05:20 +01:00

49 lines
1.0 KiB
TypeScript

// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable sort-keys */
export default {
Address: 'AccountId',
LookupSource: 'AccountId',
Balance: 'u128',
AssetId: 'u64',
BlockNumber: 'u32',
AssetInfo: {
owner: 'AccountId',
data: 'AssetData'
},
AssetData: {
name: 'Vec<u8>',
description: 'Vec<u8>',
properties: 'Vec<u8>',
supporters: 'Vec<AccountId>'
},
AuctionId: 'u64',
AuctionItem: {
asset_id: 'AssetId',
recipient: 'AccountId',
initial_amount: 'Balance',
amount: 'Balance',
start_time: 'u32',
ed_time: 'u32'
},
AuctionInfo: {
bid: 'Option<(AccountId,Balance)>',
start: 'BlockNumber',
end: 'Option<BlockNumber>'
},
RentId: 'u64 ',
RentalInfo: {
owner: 'AccountId',
start: 'BlockNumber',
end: 'Option<BlockNumber>',
price_per_block: 'Balance'
},
CountryId: 'u64',
CollectionId: 'u64',
CurrencyId: 'u32',
TokenId: 'u64',
CurrencyIdOf: 'CurrencyId',
BalanceIdOf: 'Balance'
};