-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yaml
More file actions
190 lines (190 loc) · 4.4 KB
/
project.yaml
File metadata and controls
190 lines (190 loc) · 4.4 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
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
181
182
183
184
185
186
187
188
189
190
specVersion: 0.0.1
description: ""
repository: ""
schema: ./schema.graphql
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 0
mapping:
handlers:
- handler: handleBlock
kind: substrate/BlockHandler
- handler: handleEvent
kind: substrate/EventHandler
network:
endpoint: wss://api.interlay.io/parachain
# dictionary: https://api.subquery.network/sq/subquery/dictionary-polkadot
types:
H256Le: H256
Value: i64
Collateral: Balance
Wrapped: Balance
UnsignedInner: u128
StatusCode:
_enum:
- Running
- Error
- Shutdown
Address: AccountId
LookupSource: AccountId
Status: StatusCode
ErrorCode:
_enum:
- None
- OracleOffline
VaultStatus:
_enum:
Active: bool
Liquidated: ()
CommittedTheft: ()
RawBlockHeader:
"0": "[u8; 80]"
LockIdentifier: "[u8; 8]"
RichBlockHeader:
block_header: BlockHeader
block_height: u32
chain_id: u32
para_height: BlockNumber
AccountData:
free: Balance
reserved: Balance
misc_frozen: Balance
fee_frozen: Balance
OrmlAccountData:
free: Balance
reserved: Balance
frozen: Balance
OrmlBalanceLock:
amount: Balance
id: LockIdentifier
BlockHeader:
merkle_root: H256Le
target: U256
timestamp: u32
version: i32
hash: H256Le
hash_prev_block: H256Le
nonce: u32
BlockChain:
chain_id: u32
start_height: u32
max_height: u32
BtcAddress:
_enum:
P2PKH: H160
P2SH: H160
P2WPKHv0: H160
P2WSHv0: H256
BtcPublicKey: "[u8; 33]"
Wallet:
addresses: BTreeSet<BtcAddress>
public_key: BtcPublicKey
VaultCurrencyPair:
collateral: CurrencyId
wrapped: CurrencyId
VaultId:
account_id: AccountId
currencies: VaultCurrencyPair
Vault:
id: VaultId
wallet: Wallet
status: VaultStatus
banned_until: Option<BlockNumber>
to_be_issued_tokens: Balance
issued_tokens: Balance
to_be_redeemed_tokens: Balance
to_be_replaced_tokens: Balance
replace_collateral: Balance
active_replace_collateral: Balance
liquidated_collateral: Balance
DefaultVault: Vault
IssueRequestStatus:
_enum:
Pending: ()
Completed: Option<H256>
Cancelled: ()
IssueRequest:
vault: VaultId
opentime: BlockNumber
period: BlockNumber
griefing_collateral: Balance
amount: Balance
fee: Balance
requester: AccountId
btc_address: BtcAddress
btc_public_key: BtcPublicKey
btc_height: u32
status: IssueRequestStatus
RedeemRequestStatus:
_enum:
Pending: ()
Completed: ()
Reimbursed: bool
Retried: ()
CurrencyId:
_enum:
- DOT
- INTERBTC
- INTR
- KSM
- KBTC
- KINT
OracleKey:
_enum:
ExchangeRate: CurrencyId
FeeEstimation: ()
RedeemRequest:
vault: VaultId
opentime: BlockNumber
period: BlockNumber
fee: Balance
transfer_fee_btc: Balance
amount_btc: Balance
premium: Balance
redeemer: AccountId
btc_address: BtcAddress
btc_height: u32
status: RedeemRequestStatus
ReplaceRequestStatus:
_enum:
- Pending
- Completed
- Cancelled
ReplaceRequest:
old_vault: VaultId
new_vault: VaultId
amount: Balance
griefing_collateral: Balance
collateral: Balance
accept_time: BlockNumber
period: BlockNumber
btc_address: BtcAddress
btc_height: u32
status: ReplaceRequestStatus
RefundRequest:
vault: VaultId
amount_btc: Balance
fee: Balance
issuer: AccountId
btc_address: BtcAddress
issue_id: H256
completed: bool
BalanceWrapper:
amount: String
TimestampedValue:
value: Value
timestamp: Moment
Version: u32
SystemVault:
to_be_issued_tokens: Balance
issued_tokens: Balance
to_be_redeemed_tokens: Balance
collateral: Balance
currency_pair: VaultCurrencyPair
DefaultSystemVault: SystemVault
FixedPoint: FixedI128
SignedFixedPoint: FixedI128
UnsignedFixedPoint: FixedU128
FundAccountJsonRpcRequest:
account_id: AccountId