forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathequilibrium.ts
More file actions
55 lines (53 loc) · 1.04 KB
/
equilibrium.ts
File metadata and controls
55 lines (53 loc) · 1.04 KB
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
46
47
48
49
50
51
52
53
54
55
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// structs need to be in order
/* eslint-disable sort-keys */
export default {
BlockNumber: 'u64',
Keys: 'SessionKeys3',
Balance: 'u64',
FixedI64: 'i64',
SignedBalance: {
_enum: {
Positive: 'Balance',
Negative: 'Balance'
}
},
ReinitRequest: {
account: 'AccountId',
authority_index: 'AuthIndex',
validators_len: 'u32',
block_num: 'BlockNumber'
},
Currency: {
_enum: [
'Unknown',
'Usd',
'EQ',
'Eth',
'Btc',
'Eos'
]
},
DataPoint: {
price: 'u64',
account_id: 'AccountId'
},
PricePoint: {
block_number: 'BlockNumber',
timestamp: 'u64',
price: 'u64',
data_points: 'Vec<DataPoint>'
},
BalancesAggregate: {
total_issuance: 'Balance',
total_debt: 'Balance'
},
VestingInfo: {
locked: 'Balance',
perBlock: 'Balance',
startingBlock: 'BlockNumber'
},
LookupSource: 'AccountId',
BalanceOf: 'Balance'
};