-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtypes.json
45 lines (45 loc) · 926 Bytes
/
types.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"Address": "AccountId",
"LookupSource": "AccountId",
"AuctionId": "u64",
"ClassId": "u64",
"TokenId": "u64",
"ClassData": "u32",
"TokenData": {
"locked": "bool"
},
"CID": "Vec<u8>",
"ClassInfo": {
"metadata": "Vec<u8>",
"total_issuance": "TokenId",
"owner": "AccountId",
"data": "ClassData"
},
"TokenInfo": {
"metadata": "Vec<u8>",
"owner": "AccountId",
"data": "TokenData"
},
"ClassInfoOf": "ClassInfo",
"TokenInfoOf": "TokenInfo",
"AuctionType": {
"_enum": [
"English",
"Candle",
"Dutch",
"TopUp",
"FixedSwap"
]
},
"AuctionInfo": {
"name": "Vec<u8>",
"last_bid": "Option<(AccountId, Balance)>",
"start": "BlockNumber",
"end": "BlockNumber",
"owner": "AccountId",
"auction_type": "AuctionType",
"token_id": "(u64, u64)",
"minimal_bid": "Balance"
},
"AuctionInfoOf": "AuctionInfo"
}