-
Notifications
You must be signed in to change notification settings - Fork 3
/
types.yaml
180 lines (180 loc) · 4.18 KB
/
types.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
types:
AccountId: EthereumAccountId
Address: AccountId
Balance: u128
LookupSource: AccountId
Account:
nonce: U256
balance: u128
ExtrinsicSignature: EthereumSignature
RoundIndex: u32
Candidate:
id: AccountId
fee: Perbill
bond: Balance
nominators: Vec<Bond>
total: Balance
state: CollatorStatus
Nominator:
nominations: Vec<Bond>
total: Balance
Bond:
owner: AccountId
amount: Balance
TxPoolResultContent:
pending: HashMap<H160, HashMap<U256, PoolTransaction>>
queued: HashMap<H160, HashMap<U256, PoolTransaction>>
TxPoolResultInspect:
pending: HashMap<H160, HashMap<U256, Summary>>
queued: HashMap<H160, HashMap<U256, Summary>>
TxPoolResultStatus:
pending: U256
queued: U256
Summary: Bytes
PoolTransaction:
hash: H256
nonce: U256
blockHash: Option<H256>
blockNumber: Option<U256>
from: H160
to: Option<H160>
value: U256
gasPrice: U256
gas: U256
input: Bytes
AccountInfo: AccountInfoWithTripleRefCount
CollatorStatus:
_enum:
Active: 'Null'
Idle: 'Null'
Leaving: RoundIndex
Range: RangeBalance
RangeBalance:
min: Balance
ideal: Balance
max: Balance
RangePerbill:
min: Perbill
ideal: Perbill
max: Perbill
InflationInfo:
expect: RangeBalance
annual: RangePerbill
round: RangePerbill
OrderedSet: Vec<Bond>
Collator:
id: AccountId
bond: Balance
nominators: Vec<Bond>
total: Balance
state: CollatorStatus
CollatorSnapshot:
bond: Balance
nominators: Vec<Bond>
total: Balance
SystemInherentData:
validationData: PersistedValidationData
relayChain_state: StorageProof
downwardMessages: Vec<InboundDownwardMessage>
horizontalMessages: BTreeMap<ParaId, Vec<InboundHrmpMessage>>
RoundInfo:
current: RoundIndex
first: BlockNumber
length: u32
AuthorId: AccountId32
AccountId32: H256
RelayChainAccountId: AccountId32
RewardInfo:
totalReward: Balance
claimedReward: Balance
contributedRelayAddresses: Vec<RelayChainAccountId>
Collator2:
id: AccountId
bond: Balance
nominators: Vec<AccountId>
topNominators: Vec<Bond>
bottomNominators: Vec<Bond>
totalCounted: Balance
totalBacking: Balance
state: CollatorStatus
NominatorAdded:
_enum:
AddedToTop: Balance
AddedToBottom: 'Null'
RegistrationInfo:
account: AccountId
deposit: Balance
ParachainBondConfig:
account: AccountId
percent: Percent
EthereumSignature:
r: H256
s: H256
v: U8
NominatorStatus:
_enum:
Active: 'Null'
Leaving: RoundIndex
Nominator2:
nominations: Vec<Bond>
revocations: Vec<AccountId>
total: Balance
scheduledRevocationsCount: u32
scheduledRevocationsTotal: Balance
status: NominatorStatus
ExitQ:
candidates: Vec<AccountId>
nominatorsLeaving: Vec<AccountId>
candidateSchedule: Vec<(AccountId, RoundIndex)>
nominatorSchedule: Vec<(AccountId, Option<AccountId>, RoundIndex)>
AssetType:
_enum:
Xcm: MultiLocation
AssetId: u128
TAssetBalance: u128
ENUM_AccountId32:
network: NetworkId
id: "[u8; 32]"
ENUM_AccountKey20:
network: NetworkId
key: "[u8; 20]"
ENUM_AccountIndex64:
network: NetworkId
index: Compact<u64>
ENUM_Plurality:
id: BodyId
part: BodyPart
JunctionV0:
_enum:
Parent: 'Null'
Parachain: Compact<u32>
AccountId32: ENUM_AccountId32
AccountIndex64: ENUM_AccountIndex64
AccountKey20: ENUM_AccountKey20
PalletInstance: u8
GeneralIndex: Compact<u128>
GeneralKey: Vec<u8>
OnlyChild: 'Null'
Plurality: ENUM_Plurality
CurrencyId:
_enum:
SelfReserve: 'Null'
OtherReserve: u128
AssetRegistrarMetadata:
name: Vec<u8>
symbol: Vec<u8>
decimals: u8
isFrozen: bool
VestingBlockNumber: u32
MultiLocation: MultiLocationV1
JunctionV1:
_enum:
Parachain: Compact<u32>
AccountId32: ENUM_AccountId32
AccountIndex64: ENUM_AccountIndex64
AccountKey20: ENUM_AccountKey20
PalletInstance: u8
GeneralIndex: Compact<u128>
GeneralKey: Vec<u8>
OnlyChild: 'Null'
Plurality: ENUM_Plurality