@kasarlabs/opus-mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/bin/opus-mcp.js +14 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +106 -0
- package/build/index.js.map +1 -0
- package/build/interfaces/index.d.ts +49 -0
- package/build/interfaces/index.js +2 -0
- package/build/interfaces/index.js.map +1 -0
- package/build/lib/abis/abbotAbi.d.ts +283 -0
- package/build/lib/abis/abbotAbi.js +384 -0
- package/build/lib/abis/abbotAbi.js.map +1 -0
- package/build/lib/abis/erc20Abi.d.ts +197 -0
- package/build/lib/abis/erc20Abi.js +273 -0
- package/build/lib/abis/erc20Abi.js.map +1 -0
- package/build/lib/abis/sentinelAbi.d.ts +476 -0
- package/build/lib/abis/sentinelAbi.js +651 -0
- package/build/lib/abis/sentinelAbi.js.map +1 -0
- package/build/lib/abis/shrineAbi.d.ts +1426 -0
- package/build/lib/abis/shrineAbi.js +1937 -0
- package/build/lib/abis/shrineAbi.js.map +1 -0
- package/build/lib/constant/erc20.d.ts +3 -0
- package/build/lib/constant/erc20.js +34 -0
- package/build/lib/constant/erc20.js.map +1 -0
- package/build/lib/constant/index.d.ts +83 -0
- package/build/lib/constant/index.js +38 -0
- package/build/lib/constant/index.js.map +1 -0
- package/build/lib/dependances/types.d.ts +85 -0
- package/build/lib/dependances/types.js +51 -0
- package/build/lib/dependances/types.js.map +1 -0
- package/build/lib/types/index.d.ts +14 -0
- package/build/lib/types/index.js +2 -0
- package/build/lib/types/index.js.map +1 -0
- package/build/lib/utils/contracts.d.ts +2383 -0
- package/build/lib/utils/contracts.js +26 -0
- package/build/lib/utils/contracts.js.map +1 -0
- package/build/lib/utils/format.d.ts +5 -0
- package/build/lib/utils/format.js +11 -0
- package/build/lib/utils/format.js.map +1 -0
- package/build/lib/utils/troveManager.d.ts +27 -0
- package/build/lib/utils/troveManager.js +386 -0
- package/build/lib/utils/troveManager.js.map +1 -0
- package/build/schemas/index.d.ts +332 -0
- package/build/schemas/index.js +73 -0
- package/build/schemas/index.js.map +1 -0
- package/build/tools/borrowTrove.d.ts +11 -0
- package/build/tools/borrowTrove.js +19 -0
- package/build/tools/borrowTrove.js.map +1 -0
- package/build/tools/depositTrove.d.ts +11 -0
- package/build/tools/depositTrove.js +19 -0
- package/build/tools/depositTrove.js.map +1 -0
- package/build/tools/getters.d.ts +29 -0
- package/build/tools/getters.js +53 -0
- package/build/tools/getters.js.map +1 -0
- package/build/tools/openTrove.d.ts +11 -0
- package/build/tools/openTrove.js +19 -0
- package/build/tools/openTrove.js.map +1 -0
- package/build/tools/repayTrove.d.ts +11 -0
- package/build/tools/repayTrove.js +19 -0
- package/build/tools/repayTrove.js.map +1 -0
- package/build/tools/withdrawTrove.d.ts +11 -0
- package/build/tools/withdrawTrove.js +19 -0
- package/build/tools/withdrawTrove.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,1426 @@
|
|
|
1
|
+
export declare const shrineAbi: readonly [{
|
|
2
|
+
readonly type: "impl";
|
|
3
|
+
readonly name: "IShrineImpl";
|
|
4
|
+
readonly interface_name: "opus::interfaces::IShrine::IShrine";
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "struct";
|
|
7
|
+
readonly name: "wadray::wadray::Wad";
|
|
8
|
+
readonly members: readonly [{
|
|
9
|
+
readonly name: "val";
|
|
10
|
+
readonly type: "core::integer::u128";
|
|
11
|
+
}];
|
|
12
|
+
}, {
|
|
13
|
+
readonly type: "enum";
|
|
14
|
+
readonly name: "core::bool";
|
|
15
|
+
readonly variants: readonly [{
|
|
16
|
+
readonly name: "False";
|
|
17
|
+
readonly type: "()";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "True";
|
|
20
|
+
readonly type: "()";
|
|
21
|
+
}];
|
|
22
|
+
}, {
|
|
23
|
+
readonly type: "struct";
|
|
24
|
+
readonly name: "wadray::wadray_signed::SignedWad";
|
|
25
|
+
readonly members: readonly [{
|
|
26
|
+
readonly name: "val";
|
|
27
|
+
readonly type: "core::integer::u128";
|
|
28
|
+
}, {
|
|
29
|
+
readonly name: "sign";
|
|
30
|
+
readonly type: "core::bool";
|
|
31
|
+
}];
|
|
32
|
+
}, {
|
|
33
|
+
readonly type: "struct";
|
|
34
|
+
readonly name: "wadray::wadray::Ray";
|
|
35
|
+
readonly members: readonly [{
|
|
36
|
+
readonly name: "val";
|
|
37
|
+
readonly type: "core::integer::u128";
|
|
38
|
+
}];
|
|
39
|
+
}, {
|
|
40
|
+
readonly type: "enum";
|
|
41
|
+
readonly name: "opus::types::YangSuspensionStatus";
|
|
42
|
+
readonly variants: readonly [{
|
|
43
|
+
readonly name: "None";
|
|
44
|
+
readonly type: "()";
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "Temporary";
|
|
47
|
+
readonly type: "()";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "Permanent";
|
|
50
|
+
readonly type: "()";
|
|
51
|
+
}];
|
|
52
|
+
}, {
|
|
53
|
+
readonly type: "struct";
|
|
54
|
+
readonly name: "opus::types::YangRedistribution";
|
|
55
|
+
readonly members: readonly [{
|
|
56
|
+
readonly name: "unit_debt";
|
|
57
|
+
readonly type: "wadray::wadray::Wad";
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "error";
|
|
60
|
+
readonly type: "wadray::wadray::Wad";
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "exception";
|
|
63
|
+
readonly type: "core::bool";
|
|
64
|
+
}];
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "struct";
|
|
67
|
+
readonly name: "opus::types::ExceptionalYangRedistribution";
|
|
68
|
+
readonly members: readonly [{
|
|
69
|
+
readonly name: "unit_debt";
|
|
70
|
+
readonly type: "wadray::wadray::Wad";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "unit_yang";
|
|
73
|
+
readonly type: "wadray::wadray::Wad";
|
|
74
|
+
}];
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "struct";
|
|
77
|
+
readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
78
|
+
readonly members: readonly [{
|
|
79
|
+
readonly name: "snapshot";
|
|
80
|
+
readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
81
|
+
}];
|
|
82
|
+
}, {
|
|
83
|
+
readonly type: "struct";
|
|
84
|
+
readonly name: "core::array::Span::<wadray::wadray::Ray>";
|
|
85
|
+
readonly members: readonly [{
|
|
86
|
+
readonly name: "snapshot";
|
|
87
|
+
readonly type: "@core::array::Array::<wadray::wadray::Ray>";
|
|
88
|
+
}];
|
|
89
|
+
}, {
|
|
90
|
+
readonly type: "struct";
|
|
91
|
+
readonly name: "opus::types::Health";
|
|
92
|
+
readonly members: readonly [{
|
|
93
|
+
readonly name: "threshold";
|
|
94
|
+
readonly type: "wadray::wadray::Ray";
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "ltv";
|
|
97
|
+
readonly type: "wadray::wadray::Ray";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "value";
|
|
100
|
+
readonly type: "wadray::wadray::Wad";
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "debt";
|
|
103
|
+
readonly type: "wadray::wadray::Wad";
|
|
104
|
+
}];
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "struct";
|
|
107
|
+
readonly name: "opus::types::YangBalance";
|
|
108
|
+
readonly members: readonly [{
|
|
109
|
+
readonly name: "yang_id";
|
|
110
|
+
readonly type: "core::integer::u32";
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "amount";
|
|
113
|
+
readonly type: "wadray::wadray::Wad";
|
|
114
|
+
}];
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "struct";
|
|
117
|
+
readonly name: "core::array::Span::<opus::types::YangBalance>";
|
|
118
|
+
readonly members: readonly [{
|
|
119
|
+
readonly name: "snapshot";
|
|
120
|
+
readonly type: "@core::array::Array::<opus::types::YangBalance>";
|
|
121
|
+
}];
|
|
122
|
+
}, {
|
|
123
|
+
readonly type: "interface";
|
|
124
|
+
readonly name: "opus::interfaces::IShrine::IShrine";
|
|
125
|
+
readonly items: readonly [{
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
readonly name: "get_yin";
|
|
128
|
+
readonly inputs: readonly [{
|
|
129
|
+
readonly name: "user";
|
|
130
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
131
|
+
}];
|
|
132
|
+
readonly outputs: readonly [{
|
|
133
|
+
readonly type: "wadray::wadray::Wad";
|
|
134
|
+
}];
|
|
135
|
+
readonly state_mutability: "view";
|
|
136
|
+
}, {
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
readonly name: "get_total_yin";
|
|
139
|
+
readonly inputs: readonly [];
|
|
140
|
+
readonly outputs: readonly [{
|
|
141
|
+
readonly type: "wadray::wadray::Wad";
|
|
142
|
+
}];
|
|
143
|
+
readonly state_mutability: "view";
|
|
144
|
+
}, {
|
|
145
|
+
readonly type: "function";
|
|
146
|
+
readonly name: "get_yin_spot_price";
|
|
147
|
+
readonly inputs: readonly [];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly type: "wadray::wadray::Wad";
|
|
150
|
+
}];
|
|
151
|
+
readonly state_mutability: "view";
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
readonly name: "get_yang_total";
|
|
155
|
+
readonly inputs: readonly [{
|
|
156
|
+
readonly name: "yang";
|
|
157
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
158
|
+
}];
|
|
159
|
+
readonly outputs: readonly [{
|
|
160
|
+
readonly type: "wadray::wadray::Wad";
|
|
161
|
+
}];
|
|
162
|
+
readonly state_mutability: "view";
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
readonly name: "get_initial_yang_amt";
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly name: "yang";
|
|
168
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
169
|
+
}];
|
|
170
|
+
readonly outputs: readonly [{
|
|
171
|
+
readonly type: "wadray::wadray::Wad";
|
|
172
|
+
}];
|
|
173
|
+
readonly state_mutability: "view";
|
|
174
|
+
}, {
|
|
175
|
+
readonly type: "function";
|
|
176
|
+
readonly name: "get_yangs_count";
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
readonly outputs: readonly [{
|
|
179
|
+
readonly type: "core::integer::u32";
|
|
180
|
+
}];
|
|
181
|
+
readonly state_mutability: "view";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "get_deposit";
|
|
185
|
+
readonly inputs: readonly [{
|
|
186
|
+
readonly name: "yang";
|
|
187
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
188
|
+
}, {
|
|
189
|
+
readonly name: "trove_id";
|
|
190
|
+
readonly type: "core::integer::u64";
|
|
191
|
+
}];
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly type: "wadray::wadray::Wad";
|
|
194
|
+
}];
|
|
195
|
+
readonly state_mutability: "view";
|
|
196
|
+
}, {
|
|
197
|
+
readonly type: "function";
|
|
198
|
+
readonly name: "get_budget";
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly outputs: readonly [{
|
|
201
|
+
readonly type: "wadray::wadray_signed::SignedWad";
|
|
202
|
+
}];
|
|
203
|
+
readonly state_mutability: "view";
|
|
204
|
+
}, {
|
|
205
|
+
readonly type: "function";
|
|
206
|
+
readonly name: "get_yang_price";
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly name: "yang";
|
|
209
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "interval";
|
|
212
|
+
readonly type: "core::integer::u64";
|
|
213
|
+
}];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly type: "(wadray::wadray::Wad, wadray::wadray::Wad)";
|
|
216
|
+
}];
|
|
217
|
+
readonly state_mutability: "view";
|
|
218
|
+
}, {
|
|
219
|
+
readonly type: "function";
|
|
220
|
+
readonly name: "get_yang_rate";
|
|
221
|
+
readonly inputs: readonly [{
|
|
222
|
+
readonly name: "yang";
|
|
223
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
224
|
+
}, {
|
|
225
|
+
readonly name: "rate_era";
|
|
226
|
+
readonly type: "core::integer::u64";
|
|
227
|
+
}];
|
|
228
|
+
readonly outputs: readonly [{
|
|
229
|
+
readonly type: "wadray::wadray::Ray";
|
|
230
|
+
}];
|
|
231
|
+
readonly state_mutability: "view";
|
|
232
|
+
}, {
|
|
233
|
+
readonly type: "function";
|
|
234
|
+
readonly name: "get_current_rate_era";
|
|
235
|
+
readonly inputs: readonly [];
|
|
236
|
+
readonly outputs: readonly [{
|
|
237
|
+
readonly type: "core::integer::u64";
|
|
238
|
+
}];
|
|
239
|
+
readonly state_mutability: "view";
|
|
240
|
+
}, {
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
readonly name: "get_minimum_trove_value";
|
|
243
|
+
readonly inputs: readonly [];
|
|
244
|
+
readonly outputs: readonly [{
|
|
245
|
+
readonly type: "wadray::wadray::Wad";
|
|
246
|
+
}];
|
|
247
|
+
readonly state_mutability: "view";
|
|
248
|
+
}, {
|
|
249
|
+
readonly type: "function";
|
|
250
|
+
readonly name: "get_debt_ceiling";
|
|
251
|
+
readonly inputs: readonly [];
|
|
252
|
+
readonly outputs: readonly [{
|
|
253
|
+
readonly type: "wadray::wadray::Wad";
|
|
254
|
+
}];
|
|
255
|
+
readonly state_mutability: "view";
|
|
256
|
+
}, {
|
|
257
|
+
readonly type: "function";
|
|
258
|
+
readonly name: "get_multiplier";
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly name: "interval";
|
|
261
|
+
readonly type: "core::integer::u64";
|
|
262
|
+
}];
|
|
263
|
+
readonly outputs: readonly [{
|
|
264
|
+
readonly type: "(wadray::wadray::Ray, wadray::wadray::Ray)";
|
|
265
|
+
}];
|
|
266
|
+
readonly state_mutability: "view";
|
|
267
|
+
}, {
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
readonly name: "get_yang_suspension_status";
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly name: "yang";
|
|
272
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
273
|
+
}];
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly type: "opus::types::YangSuspensionStatus";
|
|
276
|
+
}];
|
|
277
|
+
readonly state_mutability: "view";
|
|
278
|
+
}, {
|
|
279
|
+
readonly type: "function";
|
|
280
|
+
readonly name: "get_yang_threshold";
|
|
281
|
+
readonly inputs: readonly [{
|
|
282
|
+
readonly name: "yang";
|
|
283
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
284
|
+
}];
|
|
285
|
+
readonly outputs: readonly [{
|
|
286
|
+
readonly type: "(wadray::wadray::Ray, wadray::wadray::Ray)";
|
|
287
|
+
}];
|
|
288
|
+
readonly state_mutability: "view";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
readonly name: "get_redistributions_count";
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly outputs: readonly [{
|
|
294
|
+
readonly type: "core::integer::u32";
|
|
295
|
+
}];
|
|
296
|
+
readonly state_mutability: "view";
|
|
297
|
+
}, {
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
readonly name: "get_trove_redistribution_id";
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly name: "trove_id";
|
|
302
|
+
readonly type: "core::integer::u64";
|
|
303
|
+
}];
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly type: "core::integer::u32";
|
|
306
|
+
}];
|
|
307
|
+
readonly state_mutability: "view";
|
|
308
|
+
}, {
|
|
309
|
+
readonly type: "function";
|
|
310
|
+
readonly name: "get_redistribution_for_yang";
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly name: "yang";
|
|
313
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
314
|
+
}, {
|
|
315
|
+
readonly name: "redistribution_id";
|
|
316
|
+
readonly type: "core::integer::u32";
|
|
317
|
+
}];
|
|
318
|
+
readonly outputs: readonly [{
|
|
319
|
+
readonly type: "opus::types::YangRedistribution";
|
|
320
|
+
}];
|
|
321
|
+
readonly state_mutability: "view";
|
|
322
|
+
}, {
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
readonly name: "get_exceptional_redistribution_for_yang_to_yang";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly name: "recipient_yang";
|
|
327
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "redistribution_id";
|
|
330
|
+
readonly type: "core::integer::u32";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "redistributed_yang";
|
|
333
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
334
|
+
}];
|
|
335
|
+
readonly outputs: readonly [{
|
|
336
|
+
readonly type: "opus::types::ExceptionalYangRedistribution";
|
|
337
|
+
}];
|
|
338
|
+
readonly state_mutability: "view";
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "function";
|
|
341
|
+
readonly name: "is_recovery_mode";
|
|
342
|
+
readonly inputs: readonly [];
|
|
343
|
+
readonly outputs: readonly [{
|
|
344
|
+
readonly type: "core::bool";
|
|
345
|
+
}];
|
|
346
|
+
readonly state_mutability: "view";
|
|
347
|
+
}, {
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
readonly name: "get_live";
|
|
350
|
+
readonly inputs: readonly [];
|
|
351
|
+
readonly outputs: readonly [{
|
|
352
|
+
readonly type: "core::bool";
|
|
353
|
+
}];
|
|
354
|
+
readonly state_mutability: "view";
|
|
355
|
+
}, {
|
|
356
|
+
readonly type: "function";
|
|
357
|
+
readonly name: "add_yang";
|
|
358
|
+
readonly inputs: readonly [{
|
|
359
|
+
readonly name: "yang";
|
|
360
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "threshold";
|
|
363
|
+
readonly type: "wadray::wadray::Ray";
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "start_price";
|
|
366
|
+
readonly type: "wadray::wadray::Wad";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "initial_rate";
|
|
369
|
+
readonly type: "wadray::wadray::Ray";
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "initial_yang_amt";
|
|
372
|
+
readonly type: "wadray::wadray::Wad";
|
|
373
|
+
}];
|
|
374
|
+
readonly outputs: readonly [];
|
|
375
|
+
readonly state_mutability: "external";
|
|
376
|
+
}, {
|
|
377
|
+
readonly type: "function";
|
|
378
|
+
readonly name: "set_threshold";
|
|
379
|
+
readonly inputs: readonly [{
|
|
380
|
+
readonly name: "yang";
|
|
381
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "new_threshold";
|
|
384
|
+
readonly type: "wadray::wadray::Ray";
|
|
385
|
+
}];
|
|
386
|
+
readonly outputs: readonly [];
|
|
387
|
+
readonly state_mutability: "external";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly name: "suspend_yang";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly name: "yang";
|
|
393
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
394
|
+
}];
|
|
395
|
+
readonly outputs: readonly [];
|
|
396
|
+
readonly state_mutability: "external";
|
|
397
|
+
}, {
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
readonly name: "unsuspend_yang";
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly name: "yang";
|
|
402
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
403
|
+
}];
|
|
404
|
+
readonly outputs: readonly [];
|
|
405
|
+
readonly state_mutability: "external";
|
|
406
|
+
}, {
|
|
407
|
+
readonly type: "function";
|
|
408
|
+
readonly name: "update_rates";
|
|
409
|
+
readonly inputs: readonly [{
|
|
410
|
+
readonly name: "yangs";
|
|
411
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "new_rates";
|
|
414
|
+
readonly type: "core::array::Span::<wadray::wadray::Ray>";
|
|
415
|
+
}];
|
|
416
|
+
readonly outputs: readonly [];
|
|
417
|
+
readonly state_mutability: "external";
|
|
418
|
+
}, {
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
readonly name: "advance";
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly name: "yang";
|
|
423
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "price";
|
|
426
|
+
readonly type: "wadray::wadray::Wad";
|
|
427
|
+
}];
|
|
428
|
+
readonly outputs: readonly [];
|
|
429
|
+
readonly state_mutability: "external";
|
|
430
|
+
}, {
|
|
431
|
+
readonly type: "function";
|
|
432
|
+
readonly name: "set_multiplier";
|
|
433
|
+
readonly inputs: readonly [{
|
|
434
|
+
readonly name: "multiplier";
|
|
435
|
+
readonly type: "wadray::wadray::Ray";
|
|
436
|
+
}];
|
|
437
|
+
readonly outputs: readonly [];
|
|
438
|
+
readonly state_mutability: "external";
|
|
439
|
+
}, {
|
|
440
|
+
readonly type: "function";
|
|
441
|
+
readonly name: "set_minimum_trove_value";
|
|
442
|
+
readonly inputs: readonly [{
|
|
443
|
+
readonly name: "value";
|
|
444
|
+
readonly type: "wadray::wadray::Wad";
|
|
445
|
+
}];
|
|
446
|
+
readonly outputs: readonly [];
|
|
447
|
+
readonly state_mutability: "external";
|
|
448
|
+
}, {
|
|
449
|
+
readonly type: "function";
|
|
450
|
+
readonly name: "set_debt_ceiling";
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly name: "ceiling";
|
|
453
|
+
readonly type: "wadray::wadray::Wad";
|
|
454
|
+
}];
|
|
455
|
+
readonly outputs: readonly [];
|
|
456
|
+
readonly state_mutability: "external";
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "function";
|
|
459
|
+
readonly name: "adjust_budget";
|
|
460
|
+
readonly inputs: readonly [{
|
|
461
|
+
readonly name: "amount";
|
|
462
|
+
readonly type: "wadray::wadray_signed::SignedWad";
|
|
463
|
+
}];
|
|
464
|
+
readonly outputs: readonly [];
|
|
465
|
+
readonly state_mutability: "external";
|
|
466
|
+
}, {
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
readonly name: "update_yin_spot_price";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "new_price";
|
|
471
|
+
readonly type: "wadray::wadray::Wad";
|
|
472
|
+
}];
|
|
473
|
+
readonly outputs: readonly [];
|
|
474
|
+
readonly state_mutability: "external";
|
|
475
|
+
}, {
|
|
476
|
+
readonly type: "function";
|
|
477
|
+
readonly name: "kill";
|
|
478
|
+
readonly inputs: readonly [];
|
|
479
|
+
readonly outputs: readonly [];
|
|
480
|
+
readonly state_mutability: "external";
|
|
481
|
+
}, {
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
readonly name: "deposit";
|
|
484
|
+
readonly inputs: readonly [{
|
|
485
|
+
readonly name: "yang";
|
|
486
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "trove_id";
|
|
489
|
+
readonly type: "core::integer::u64";
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "amount";
|
|
492
|
+
readonly type: "wadray::wadray::Wad";
|
|
493
|
+
}];
|
|
494
|
+
readonly outputs: readonly [];
|
|
495
|
+
readonly state_mutability: "external";
|
|
496
|
+
}, {
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
readonly name: "withdraw";
|
|
499
|
+
readonly inputs: readonly [{
|
|
500
|
+
readonly name: "yang";
|
|
501
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "trove_id";
|
|
504
|
+
readonly type: "core::integer::u64";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "amount";
|
|
507
|
+
readonly type: "wadray::wadray::Wad";
|
|
508
|
+
}];
|
|
509
|
+
readonly outputs: readonly [];
|
|
510
|
+
readonly state_mutability: "external";
|
|
511
|
+
}, {
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
readonly name: "forge";
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly name: "user";
|
|
516
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "trove_id";
|
|
519
|
+
readonly type: "core::integer::u64";
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "amount";
|
|
522
|
+
readonly type: "wadray::wadray::Wad";
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "max_forge_fee_pct";
|
|
525
|
+
readonly type: "wadray::wadray::Wad";
|
|
526
|
+
}];
|
|
527
|
+
readonly outputs: readonly [];
|
|
528
|
+
readonly state_mutability: "external";
|
|
529
|
+
}, {
|
|
530
|
+
readonly type: "function";
|
|
531
|
+
readonly name: "melt";
|
|
532
|
+
readonly inputs: readonly [{
|
|
533
|
+
readonly name: "user";
|
|
534
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
535
|
+
}, {
|
|
536
|
+
readonly name: "trove_id";
|
|
537
|
+
readonly type: "core::integer::u64";
|
|
538
|
+
}, {
|
|
539
|
+
readonly name: "amount";
|
|
540
|
+
readonly type: "wadray::wadray::Wad";
|
|
541
|
+
}];
|
|
542
|
+
readonly outputs: readonly [];
|
|
543
|
+
readonly state_mutability: "external";
|
|
544
|
+
}, {
|
|
545
|
+
readonly type: "function";
|
|
546
|
+
readonly name: "seize";
|
|
547
|
+
readonly inputs: readonly [{
|
|
548
|
+
readonly name: "yang";
|
|
549
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "trove_id";
|
|
552
|
+
readonly type: "core::integer::u64";
|
|
553
|
+
}, {
|
|
554
|
+
readonly name: "amount";
|
|
555
|
+
readonly type: "wadray::wadray::Wad";
|
|
556
|
+
}];
|
|
557
|
+
readonly outputs: readonly [];
|
|
558
|
+
readonly state_mutability: "external";
|
|
559
|
+
}, {
|
|
560
|
+
readonly type: "function";
|
|
561
|
+
readonly name: "redistribute";
|
|
562
|
+
readonly inputs: readonly [{
|
|
563
|
+
readonly name: "trove_id";
|
|
564
|
+
readonly type: "core::integer::u64";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "debt_to_redistribute";
|
|
567
|
+
readonly type: "wadray::wadray::Wad";
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "pct_value_to_redistribute";
|
|
570
|
+
readonly type: "wadray::wadray::Ray";
|
|
571
|
+
}];
|
|
572
|
+
readonly outputs: readonly [];
|
|
573
|
+
readonly state_mutability: "external";
|
|
574
|
+
}, {
|
|
575
|
+
readonly type: "function";
|
|
576
|
+
readonly name: "inject";
|
|
577
|
+
readonly inputs: readonly [{
|
|
578
|
+
readonly name: "receiver";
|
|
579
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
580
|
+
}, {
|
|
581
|
+
readonly name: "amount";
|
|
582
|
+
readonly type: "wadray::wadray::Wad";
|
|
583
|
+
}];
|
|
584
|
+
readonly outputs: readonly [];
|
|
585
|
+
readonly state_mutability: "external";
|
|
586
|
+
}, {
|
|
587
|
+
readonly type: "function";
|
|
588
|
+
readonly name: "eject";
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly name: "burner";
|
|
591
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: "amount";
|
|
594
|
+
readonly type: "wadray::wadray::Wad";
|
|
595
|
+
}];
|
|
596
|
+
readonly outputs: readonly [];
|
|
597
|
+
readonly state_mutability: "external";
|
|
598
|
+
}, {
|
|
599
|
+
readonly type: "function";
|
|
600
|
+
readonly name: "get_shrine_health";
|
|
601
|
+
readonly inputs: readonly [];
|
|
602
|
+
readonly outputs: readonly [{
|
|
603
|
+
readonly type: "opus::types::Health";
|
|
604
|
+
}];
|
|
605
|
+
readonly state_mutability: "view";
|
|
606
|
+
}, {
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
readonly name: "get_current_yang_price";
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly name: "yang";
|
|
611
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
612
|
+
}];
|
|
613
|
+
readonly outputs: readonly [{
|
|
614
|
+
readonly type: "(wadray::wadray::Wad, wadray::wadray::Wad, core::integer::u64)";
|
|
615
|
+
}];
|
|
616
|
+
readonly state_mutability: "view";
|
|
617
|
+
}, {
|
|
618
|
+
readonly type: "function";
|
|
619
|
+
readonly name: "get_current_multiplier";
|
|
620
|
+
readonly inputs: readonly [];
|
|
621
|
+
readonly outputs: readonly [{
|
|
622
|
+
readonly type: "(wadray::wadray::Ray, wadray::wadray::Ray, core::integer::u64)";
|
|
623
|
+
}];
|
|
624
|
+
readonly state_mutability: "view";
|
|
625
|
+
}, {
|
|
626
|
+
readonly type: "function";
|
|
627
|
+
readonly name: "get_forge_fee_pct";
|
|
628
|
+
readonly inputs: readonly [];
|
|
629
|
+
readonly outputs: readonly [{
|
|
630
|
+
readonly type: "wadray::wadray::Wad";
|
|
631
|
+
}];
|
|
632
|
+
readonly state_mutability: "view";
|
|
633
|
+
}, {
|
|
634
|
+
readonly type: "function";
|
|
635
|
+
readonly name: "is_healthy";
|
|
636
|
+
readonly inputs: readonly [{
|
|
637
|
+
readonly name: "trove_id";
|
|
638
|
+
readonly type: "core::integer::u64";
|
|
639
|
+
}];
|
|
640
|
+
readonly outputs: readonly [{
|
|
641
|
+
readonly type: "core::bool";
|
|
642
|
+
}];
|
|
643
|
+
readonly state_mutability: "view";
|
|
644
|
+
}, {
|
|
645
|
+
readonly type: "function";
|
|
646
|
+
readonly name: "get_max_forge";
|
|
647
|
+
readonly inputs: readonly [{
|
|
648
|
+
readonly name: "trove_id";
|
|
649
|
+
readonly type: "core::integer::u64";
|
|
650
|
+
}];
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly type: "wadray::wadray::Wad";
|
|
653
|
+
}];
|
|
654
|
+
readonly state_mutability: "view";
|
|
655
|
+
}, {
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
readonly name: "get_trove_health";
|
|
658
|
+
readonly inputs: readonly [{
|
|
659
|
+
readonly name: "trove_id";
|
|
660
|
+
readonly type: "core::integer::u64";
|
|
661
|
+
}];
|
|
662
|
+
readonly outputs: readonly [{
|
|
663
|
+
readonly type: "opus::types::Health";
|
|
664
|
+
}];
|
|
665
|
+
readonly state_mutability: "view";
|
|
666
|
+
}, {
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
readonly name: "get_redistributions_attributed_to_trove";
|
|
669
|
+
readonly inputs: readonly [{
|
|
670
|
+
readonly name: "trove_id";
|
|
671
|
+
readonly type: "core::integer::u64";
|
|
672
|
+
}];
|
|
673
|
+
readonly outputs: readonly [{
|
|
674
|
+
readonly type: "(core::array::Span::<opus::types::YangBalance>, wadray::wadray::Wad)";
|
|
675
|
+
}];
|
|
676
|
+
readonly state_mutability: "view";
|
|
677
|
+
}];
|
|
678
|
+
}, {
|
|
679
|
+
readonly type: "impl";
|
|
680
|
+
readonly name: "IERC20Impl";
|
|
681
|
+
readonly interface_name: "opus::interfaces::IERC20::IERC20";
|
|
682
|
+
}, {
|
|
683
|
+
readonly type: "struct";
|
|
684
|
+
readonly name: "core::integer::u256";
|
|
685
|
+
readonly members: readonly [{
|
|
686
|
+
readonly name: "low";
|
|
687
|
+
readonly type: "core::integer::u128";
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: "high";
|
|
690
|
+
readonly type: "core::integer::u128";
|
|
691
|
+
}];
|
|
692
|
+
}, {
|
|
693
|
+
readonly type: "interface";
|
|
694
|
+
readonly name: "opus::interfaces::IERC20::IERC20";
|
|
695
|
+
readonly items: readonly [{
|
|
696
|
+
readonly type: "function";
|
|
697
|
+
readonly name: "name";
|
|
698
|
+
readonly inputs: readonly [];
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly type: "core::felt252";
|
|
701
|
+
}];
|
|
702
|
+
readonly state_mutability: "view";
|
|
703
|
+
}, {
|
|
704
|
+
readonly type: "function";
|
|
705
|
+
readonly name: "symbol";
|
|
706
|
+
readonly inputs: readonly [];
|
|
707
|
+
readonly outputs: readonly [{
|
|
708
|
+
readonly type: "core::felt252";
|
|
709
|
+
}];
|
|
710
|
+
readonly state_mutability: "view";
|
|
711
|
+
}, {
|
|
712
|
+
readonly type: "function";
|
|
713
|
+
readonly name: "decimals";
|
|
714
|
+
readonly inputs: readonly [];
|
|
715
|
+
readonly outputs: readonly [{
|
|
716
|
+
readonly type: "core::integer::u8";
|
|
717
|
+
}];
|
|
718
|
+
readonly state_mutability: "view";
|
|
719
|
+
}, {
|
|
720
|
+
readonly type: "function";
|
|
721
|
+
readonly name: "total_supply";
|
|
722
|
+
readonly inputs: readonly [];
|
|
723
|
+
readonly outputs: readonly [{
|
|
724
|
+
readonly type: "core::integer::u256";
|
|
725
|
+
}];
|
|
726
|
+
readonly state_mutability: "view";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "function";
|
|
729
|
+
readonly name: "balance_of";
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly name: "account";
|
|
732
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
733
|
+
}];
|
|
734
|
+
readonly outputs: readonly [{
|
|
735
|
+
readonly type: "core::integer::u256";
|
|
736
|
+
}];
|
|
737
|
+
readonly state_mutability: "view";
|
|
738
|
+
}, {
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
readonly name: "allowance";
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly name: "owner";
|
|
743
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "spender";
|
|
746
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
747
|
+
}];
|
|
748
|
+
readonly outputs: readonly [{
|
|
749
|
+
readonly type: "core::integer::u256";
|
|
750
|
+
}];
|
|
751
|
+
readonly state_mutability: "view";
|
|
752
|
+
}, {
|
|
753
|
+
readonly type: "function";
|
|
754
|
+
readonly name: "transfer";
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly name: "recipient";
|
|
757
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "amount";
|
|
760
|
+
readonly type: "core::integer::u256";
|
|
761
|
+
}];
|
|
762
|
+
readonly outputs: readonly [{
|
|
763
|
+
readonly type: "core::bool";
|
|
764
|
+
}];
|
|
765
|
+
readonly state_mutability: "external";
|
|
766
|
+
}, {
|
|
767
|
+
readonly type: "function";
|
|
768
|
+
readonly name: "transfer_from";
|
|
769
|
+
readonly inputs: readonly [{
|
|
770
|
+
readonly name: "sender";
|
|
771
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "recipient";
|
|
774
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
775
|
+
}, {
|
|
776
|
+
readonly name: "amount";
|
|
777
|
+
readonly type: "core::integer::u256";
|
|
778
|
+
}];
|
|
779
|
+
readonly outputs: readonly [{
|
|
780
|
+
readonly type: "core::bool";
|
|
781
|
+
}];
|
|
782
|
+
readonly state_mutability: "external";
|
|
783
|
+
}, {
|
|
784
|
+
readonly type: "function";
|
|
785
|
+
readonly name: "approve";
|
|
786
|
+
readonly inputs: readonly [{
|
|
787
|
+
readonly name: "spender";
|
|
788
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
789
|
+
}, {
|
|
790
|
+
readonly name: "amount";
|
|
791
|
+
readonly type: "core::integer::u256";
|
|
792
|
+
}];
|
|
793
|
+
readonly outputs: readonly [{
|
|
794
|
+
readonly type: "core::bool";
|
|
795
|
+
}];
|
|
796
|
+
readonly state_mutability: "external";
|
|
797
|
+
}];
|
|
798
|
+
}, {
|
|
799
|
+
readonly type: "impl";
|
|
800
|
+
readonly name: "IERC20CamelImpl";
|
|
801
|
+
readonly interface_name: "opus::interfaces::IERC20::IERC20CamelOnly";
|
|
802
|
+
}, {
|
|
803
|
+
readonly type: "interface";
|
|
804
|
+
readonly name: "opus::interfaces::IERC20::IERC20CamelOnly";
|
|
805
|
+
readonly items: readonly [{
|
|
806
|
+
readonly type: "function";
|
|
807
|
+
readonly name: "totalSupply";
|
|
808
|
+
readonly inputs: readonly [];
|
|
809
|
+
readonly outputs: readonly [{
|
|
810
|
+
readonly type: "core::integer::u256";
|
|
811
|
+
}];
|
|
812
|
+
readonly state_mutability: "view";
|
|
813
|
+
}, {
|
|
814
|
+
readonly type: "function";
|
|
815
|
+
readonly name: "balanceOf";
|
|
816
|
+
readonly inputs: readonly [{
|
|
817
|
+
readonly name: "account";
|
|
818
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
819
|
+
}];
|
|
820
|
+
readonly outputs: readonly [{
|
|
821
|
+
readonly type: "core::integer::u256";
|
|
822
|
+
}];
|
|
823
|
+
readonly state_mutability: "view";
|
|
824
|
+
}, {
|
|
825
|
+
readonly type: "function";
|
|
826
|
+
readonly name: "transferFrom";
|
|
827
|
+
readonly inputs: readonly [{
|
|
828
|
+
readonly name: "sender";
|
|
829
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
830
|
+
}, {
|
|
831
|
+
readonly name: "recipient";
|
|
832
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
833
|
+
}, {
|
|
834
|
+
readonly name: "amount";
|
|
835
|
+
readonly type: "core::integer::u256";
|
|
836
|
+
}];
|
|
837
|
+
readonly outputs: readonly [{
|
|
838
|
+
readonly type: "core::bool";
|
|
839
|
+
}];
|
|
840
|
+
readonly state_mutability: "external";
|
|
841
|
+
}];
|
|
842
|
+
}, {
|
|
843
|
+
readonly type: "impl";
|
|
844
|
+
readonly name: "ISRC5Impl";
|
|
845
|
+
readonly interface_name: "opus::interfaces::ISRC5::ISRC5";
|
|
846
|
+
}, {
|
|
847
|
+
readonly type: "interface";
|
|
848
|
+
readonly name: "opus::interfaces::ISRC5::ISRC5";
|
|
849
|
+
readonly items: readonly [{
|
|
850
|
+
readonly type: "function";
|
|
851
|
+
readonly name: "supports_interface";
|
|
852
|
+
readonly inputs: readonly [{
|
|
853
|
+
readonly name: "interface_id";
|
|
854
|
+
readonly type: "core::felt252";
|
|
855
|
+
}];
|
|
856
|
+
readonly outputs: readonly [{
|
|
857
|
+
readonly type: "core::bool";
|
|
858
|
+
}];
|
|
859
|
+
readonly state_mutability: "view";
|
|
860
|
+
}];
|
|
861
|
+
}, {
|
|
862
|
+
readonly type: "impl";
|
|
863
|
+
readonly name: "AccessControlPublic";
|
|
864
|
+
readonly interface_name: "access_control::access_control::IAccessControl";
|
|
865
|
+
}, {
|
|
866
|
+
readonly type: "interface";
|
|
867
|
+
readonly name: "access_control::access_control::IAccessControl";
|
|
868
|
+
readonly items: readonly [{
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
readonly name: "get_roles";
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly name: "account";
|
|
873
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
874
|
+
}];
|
|
875
|
+
readonly outputs: readonly [{
|
|
876
|
+
readonly type: "core::integer::u128";
|
|
877
|
+
}];
|
|
878
|
+
readonly state_mutability: "view";
|
|
879
|
+
}, {
|
|
880
|
+
readonly type: "function";
|
|
881
|
+
readonly name: "has_role";
|
|
882
|
+
readonly inputs: readonly [{
|
|
883
|
+
readonly name: "role";
|
|
884
|
+
readonly type: "core::integer::u128";
|
|
885
|
+
}, {
|
|
886
|
+
readonly name: "account";
|
|
887
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
888
|
+
}];
|
|
889
|
+
readonly outputs: readonly [{
|
|
890
|
+
readonly type: "core::bool";
|
|
891
|
+
}];
|
|
892
|
+
readonly state_mutability: "view";
|
|
893
|
+
}, {
|
|
894
|
+
readonly type: "function";
|
|
895
|
+
readonly name: "get_admin";
|
|
896
|
+
readonly inputs: readonly [];
|
|
897
|
+
readonly outputs: readonly [{
|
|
898
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
899
|
+
}];
|
|
900
|
+
readonly state_mutability: "view";
|
|
901
|
+
}, {
|
|
902
|
+
readonly type: "function";
|
|
903
|
+
readonly name: "get_pending_admin";
|
|
904
|
+
readonly inputs: readonly [];
|
|
905
|
+
readonly outputs: readonly [{
|
|
906
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
907
|
+
}];
|
|
908
|
+
readonly state_mutability: "view";
|
|
909
|
+
}, {
|
|
910
|
+
readonly type: "function";
|
|
911
|
+
readonly name: "grant_role";
|
|
912
|
+
readonly inputs: readonly [{
|
|
913
|
+
readonly name: "role";
|
|
914
|
+
readonly type: "core::integer::u128";
|
|
915
|
+
}, {
|
|
916
|
+
readonly name: "account";
|
|
917
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
918
|
+
}];
|
|
919
|
+
readonly outputs: readonly [];
|
|
920
|
+
readonly state_mutability: "external";
|
|
921
|
+
}, {
|
|
922
|
+
readonly type: "function";
|
|
923
|
+
readonly name: "revoke_role";
|
|
924
|
+
readonly inputs: readonly [{
|
|
925
|
+
readonly name: "role";
|
|
926
|
+
readonly type: "core::integer::u128";
|
|
927
|
+
}, {
|
|
928
|
+
readonly name: "account";
|
|
929
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
930
|
+
}];
|
|
931
|
+
readonly outputs: readonly [];
|
|
932
|
+
readonly state_mutability: "external";
|
|
933
|
+
}, {
|
|
934
|
+
readonly type: "function";
|
|
935
|
+
readonly name: "renounce_role";
|
|
936
|
+
readonly inputs: readonly [{
|
|
937
|
+
readonly name: "role";
|
|
938
|
+
readonly type: "core::integer::u128";
|
|
939
|
+
}];
|
|
940
|
+
readonly outputs: readonly [];
|
|
941
|
+
readonly state_mutability: "external";
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "function";
|
|
944
|
+
readonly name: "set_pending_admin";
|
|
945
|
+
readonly inputs: readonly [{
|
|
946
|
+
readonly name: "new_admin";
|
|
947
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
948
|
+
}];
|
|
949
|
+
readonly outputs: readonly [];
|
|
950
|
+
readonly state_mutability: "external";
|
|
951
|
+
}, {
|
|
952
|
+
readonly type: "function";
|
|
953
|
+
readonly name: "accept_admin";
|
|
954
|
+
readonly inputs: readonly [];
|
|
955
|
+
readonly outputs: readonly [];
|
|
956
|
+
readonly state_mutability: "external";
|
|
957
|
+
}];
|
|
958
|
+
}, {
|
|
959
|
+
readonly type: "constructor";
|
|
960
|
+
readonly name: "constructor";
|
|
961
|
+
readonly inputs: readonly [{
|
|
962
|
+
readonly name: "admin";
|
|
963
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
964
|
+
}, {
|
|
965
|
+
readonly name: "name";
|
|
966
|
+
readonly type: "core::felt252";
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "symbol";
|
|
969
|
+
readonly type: "core::felt252";
|
|
970
|
+
}];
|
|
971
|
+
}, {
|
|
972
|
+
readonly type: "event";
|
|
973
|
+
readonly name: "access_control::access_control::access_control_component::AdminChanged";
|
|
974
|
+
readonly kind: "struct";
|
|
975
|
+
readonly members: readonly [{
|
|
976
|
+
readonly name: "old_admin";
|
|
977
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
978
|
+
readonly kind: "data";
|
|
979
|
+
}, {
|
|
980
|
+
readonly name: "new_admin";
|
|
981
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
982
|
+
readonly kind: "data";
|
|
983
|
+
}];
|
|
984
|
+
}, {
|
|
985
|
+
readonly type: "event";
|
|
986
|
+
readonly name: "access_control::access_control::access_control_component::NewPendingAdmin";
|
|
987
|
+
readonly kind: "struct";
|
|
988
|
+
readonly members: readonly [{
|
|
989
|
+
readonly name: "new_admin";
|
|
990
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
991
|
+
readonly kind: "data";
|
|
992
|
+
}];
|
|
993
|
+
}, {
|
|
994
|
+
readonly type: "event";
|
|
995
|
+
readonly name: "access_control::access_control::access_control_component::RoleGranted";
|
|
996
|
+
readonly kind: "struct";
|
|
997
|
+
readonly members: readonly [{
|
|
998
|
+
readonly name: "user";
|
|
999
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1000
|
+
readonly kind: "data";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly name: "role_granted";
|
|
1003
|
+
readonly type: "core::integer::u128";
|
|
1004
|
+
readonly kind: "data";
|
|
1005
|
+
}];
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly type: "event";
|
|
1008
|
+
readonly name: "access_control::access_control::access_control_component::RoleRevoked";
|
|
1009
|
+
readonly kind: "struct";
|
|
1010
|
+
readonly members: readonly [{
|
|
1011
|
+
readonly name: "user";
|
|
1012
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1013
|
+
readonly kind: "data";
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly name: "role_revoked";
|
|
1016
|
+
readonly type: "core::integer::u128";
|
|
1017
|
+
readonly kind: "data";
|
|
1018
|
+
}];
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly type: "event";
|
|
1021
|
+
readonly name: "access_control::access_control::access_control_component::Event";
|
|
1022
|
+
readonly kind: "enum";
|
|
1023
|
+
readonly variants: readonly [{
|
|
1024
|
+
readonly name: "AdminChanged";
|
|
1025
|
+
readonly type: "access_control::access_control::access_control_component::AdminChanged";
|
|
1026
|
+
readonly kind: "nested";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly name: "NewPendingAdmin";
|
|
1029
|
+
readonly type: "access_control::access_control::access_control_component::NewPendingAdmin";
|
|
1030
|
+
readonly kind: "nested";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly name: "RoleGranted";
|
|
1033
|
+
readonly type: "access_control::access_control::access_control_component::RoleGranted";
|
|
1034
|
+
readonly kind: "nested";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly name: "RoleRevoked";
|
|
1037
|
+
readonly type: "access_control::access_control::access_control_component::RoleRevoked";
|
|
1038
|
+
readonly kind: "nested";
|
|
1039
|
+
}];
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly type: "event";
|
|
1042
|
+
readonly name: "opus::core::shrine::shrine::YangAdded";
|
|
1043
|
+
readonly kind: "struct";
|
|
1044
|
+
readonly members: readonly [{
|
|
1045
|
+
readonly name: "yang";
|
|
1046
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1047
|
+
readonly kind: "key";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly name: "yang_id";
|
|
1050
|
+
readonly type: "core::integer::u32";
|
|
1051
|
+
readonly kind: "data";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly name: "start_price";
|
|
1054
|
+
readonly type: "wadray::wadray::Wad";
|
|
1055
|
+
readonly kind: "data";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "initial_rate";
|
|
1058
|
+
readonly type: "wadray::wadray::Ray";
|
|
1059
|
+
readonly kind: "data";
|
|
1060
|
+
}];
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly type: "event";
|
|
1063
|
+
readonly name: "opus::core::shrine::shrine::YangTotalUpdated";
|
|
1064
|
+
readonly kind: "struct";
|
|
1065
|
+
readonly members: readonly [{
|
|
1066
|
+
readonly name: "yang";
|
|
1067
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1068
|
+
readonly kind: "key";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "total";
|
|
1071
|
+
readonly type: "wadray::wadray::Wad";
|
|
1072
|
+
readonly kind: "data";
|
|
1073
|
+
}];
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly type: "event";
|
|
1076
|
+
readonly name: "opus::core::shrine::shrine::TotalTrovesDebtUpdated";
|
|
1077
|
+
readonly kind: "struct";
|
|
1078
|
+
readonly members: readonly [{
|
|
1079
|
+
readonly name: "total";
|
|
1080
|
+
readonly type: "wadray::wadray::Wad";
|
|
1081
|
+
readonly kind: "data";
|
|
1082
|
+
}];
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "event";
|
|
1085
|
+
readonly name: "opus::core::shrine::shrine::BudgetAdjusted";
|
|
1086
|
+
readonly kind: "struct";
|
|
1087
|
+
readonly members: readonly [{
|
|
1088
|
+
readonly name: "amount";
|
|
1089
|
+
readonly type: "wadray::wadray_signed::SignedWad";
|
|
1090
|
+
readonly kind: "data";
|
|
1091
|
+
}];
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "event";
|
|
1094
|
+
readonly name: "opus::core::shrine::shrine::MultiplierUpdated";
|
|
1095
|
+
readonly kind: "struct";
|
|
1096
|
+
readonly members: readonly [{
|
|
1097
|
+
readonly name: "multiplier";
|
|
1098
|
+
readonly type: "wadray::wadray::Ray";
|
|
1099
|
+
readonly kind: "data";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "cumulative_multiplier";
|
|
1102
|
+
readonly type: "wadray::wadray::Ray";
|
|
1103
|
+
readonly kind: "data";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly name: "interval";
|
|
1106
|
+
readonly type: "core::integer::u64";
|
|
1107
|
+
readonly kind: "key";
|
|
1108
|
+
}];
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly type: "event";
|
|
1111
|
+
readonly name: "opus::core::shrine::shrine::YangRatesUpdated";
|
|
1112
|
+
readonly kind: "struct";
|
|
1113
|
+
readonly members: readonly [{
|
|
1114
|
+
readonly name: "rate_era";
|
|
1115
|
+
readonly type: "core::integer::u64";
|
|
1116
|
+
readonly kind: "key";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly name: "current_interval";
|
|
1119
|
+
readonly type: "core::integer::u64";
|
|
1120
|
+
readonly kind: "data";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly name: "yangs";
|
|
1123
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
1124
|
+
readonly kind: "data";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly name: "new_rates";
|
|
1127
|
+
readonly type: "core::array::Span::<wadray::wadray::Ray>";
|
|
1128
|
+
readonly kind: "data";
|
|
1129
|
+
}];
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly type: "event";
|
|
1132
|
+
readonly name: "opus::core::shrine::shrine::ThresholdUpdated";
|
|
1133
|
+
readonly kind: "struct";
|
|
1134
|
+
readonly members: readonly [{
|
|
1135
|
+
readonly name: "yang";
|
|
1136
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1137
|
+
readonly kind: "key";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly name: "threshold";
|
|
1140
|
+
readonly type: "wadray::wadray::Ray";
|
|
1141
|
+
readonly kind: "data";
|
|
1142
|
+
}];
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly type: "event";
|
|
1145
|
+
readonly name: "opus::core::shrine::shrine::ForgeFeePaid";
|
|
1146
|
+
readonly kind: "struct";
|
|
1147
|
+
readonly members: readonly [{
|
|
1148
|
+
readonly name: "trove_id";
|
|
1149
|
+
readonly type: "core::integer::u64";
|
|
1150
|
+
readonly kind: "key";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly name: "fee";
|
|
1153
|
+
readonly type: "wadray::wadray::Wad";
|
|
1154
|
+
readonly kind: "data";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "fee_pct";
|
|
1157
|
+
readonly type: "wadray::wadray::Wad";
|
|
1158
|
+
readonly kind: "data";
|
|
1159
|
+
}];
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly type: "struct";
|
|
1162
|
+
readonly name: "opus::types::Trove";
|
|
1163
|
+
readonly members: readonly [{
|
|
1164
|
+
readonly name: "charge_from";
|
|
1165
|
+
readonly type: "core::integer::u64";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly name: "last_rate_era";
|
|
1168
|
+
readonly type: "core::integer::u64";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly name: "debt";
|
|
1171
|
+
readonly type: "wadray::wadray::Wad";
|
|
1172
|
+
}];
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly type: "event";
|
|
1175
|
+
readonly name: "opus::core::shrine::shrine::TroveUpdated";
|
|
1176
|
+
readonly kind: "struct";
|
|
1177
|
+
readonly members: readonly [{
|
|
1178
|
+
readonly name: "trove_id";
|
|
1179
|
+
readonly type: "core::integer::u64";
|
|
1180
|
+
readonly kind: "key";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly name: "trove";
|
|
1183
|
+
readonly type: "opus::types::Trove";
|
|
1184
|
+
readonly kind: "data";
|
|
1185
|
+
}];
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly type: "event";
|
|
1188
|
+
readonly name: "opus::core::shrine::shrine::TroveRedistributed";
|
|
1189
|
+
readonly kind: "struct";
|
|
1190
|
+
readonly members: readonly [{
|
|
1191
|
+
readonly name: "redistribution_id";
|
|
1192
|
+
readonly type: "core::integer::u32";
|
|
1193
|
+
readonly kind: "key";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly name: "trove_id";
|
|
1196
|
+
readonly type: "core::integer::u64";
|
|
1197
|
+
readonly kind: "key";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly name: "debt";
|
|
1200
|
+
readonly type: "wadray::wadray::Wad";
|
|
1201
|
+
readonly kind: "data";
|
|
1202
|
+
}];
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly type: "event";
|
|
1205
|
+
readonly name: "opus::core::shrine::shrine::DepositUpdated";
|
|
1206
|
+
readonly kind: "struct";
|
|
1207
|
+
readonly members: readonly [{
|
|
1208
|
+
readonly name: "yang";
|
|
1209
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1210
|
+
readonly kind: "key";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly name: "trove_id";
|
|
1213
|
+
readonly type: "core::integer::u64";
|
|
1214
|
+
readonly kind: "key";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly name: "amount";
|
|
1217
|
+
readonly type: "wadray::wadray::Wad";
|
|
1218
|
+
readonly kind: "data";
|
|
1219
|
+
}];
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly type: "event";
|
|
1222
|
+
readonly name: "opus::core::shrine::shrine::YangPriceUpdated";
|
|
1223
|
+
readonly kind: "struct";
|
|
1224
|
+
readonly members: readonly [{
|
|
1225
|
+
readonly name: "yang";
|
|
1226
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1227
|
+
readonly kind: "key";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly name: "price";
|
|
1230
|
+
readonly type: "wadray::wadray::Wad";
|
|
1231
|
+
readonly kind: "data";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly name: "cumulative_price";
|
|
1234
|
+
readonly type: "wadray::wadray::Wad";
|
|
1235
|
+
readonly kind: "data";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly name: "interval";
|
|
1238
|
+
readonly type: "core::integer::u64";
|
|
1239
|
+
readonly kind: "key";
|
|
1240
|
+
}];
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly type: "event";
|
|
1243
|
+
readonly name: "opus::core::shrine::shrine::YinPriceUpdated";
|
|
1244
|
+
readonly kind: "struct";
|
|
1245
|
+
readonly members: readonly [{
|
|
1246
|
+
readonly name: "old_price";
|
|
1247
|
+
readonly type: "wadray::wadray::Wad";
|
|
1248
|
+
readonly kind: "data";
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly name: "new_price";
|
|
1251
|
+
readonly type: "wadray::wadray::Wad";
|
|
1252
|
+
readonly kind: "data";
|
|
1253
|
+
}];
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly type: "event";
|
|
1256
|
+
readonly name: "opus::core::shrine::shrine::MinimumTroveValueUpdated";
|
|
1257
|
+
readonly kind: "struct";
|
|
1258
|
+
readonly members: readonly [{
|
|
1259
|
+
readonly name: "value";
|
|
1260
|
+
readonly type: "wadray::wadray::Wad";
|
|
1261
|
+
readonly kind: "data";
|
|
1262
|
+
}];
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly type: "event";
|
|
1265
|
+
readonly name: "opus::core::shrine::shrine::DebtCeilingUpdated";
|
|
1266
|
+
readonly kind: "struct";
|
|
1267
|
+
readonly members: readonly [{
|
|
1268
|
+
readonly name: "ceiling";
|
|
1269
|
+
readonly type: "wadray::wadray::Wad";
|
|
1270
|
+
readonly kind: "data";
|
|
1271
|
+
}];
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly type: "event";
|
|
1274
|
+
readonly name: "opus::core::shrine::shrine::YangSuspended";
|
|
1275
|
+
readonly kind: "struct";
|
|
1276
|
+
readonly members: readonly [{
|
|
1277
|
+
readonly name: "yang";
|
|
1278
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1279
|
+
readonly kind: "key";
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly name: "timestamp";
|
|
1282
|
+
readonly type: "core::integer::u64";
|
|
1283
|
+
readonly kind: "data";
|
|
1284
|
+
}];
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly type: "event";
|
|
1287
|
+
readonly name: "opus::core::shrine::shrine::YangUnsuspended";
|
|
1288
|
+
readonly kind: "struct";
|
|
1289
|
+
readonly members: readonly [{
|
|
1290
|
+
readonly name: "yang";
|
|
1291
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1292
|
+
readonly kind: "key";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly name: "timestamp";
|
|
1295
|
+
readonly type: "core::integer::u64";
|
|
1296
|
+
readonly kind: "data";
|
|
1297
|
+
}];
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly type: "event";
|
|
1300
|
+
readonly name: "opus::core::shrine::shrine::Killed";
|
|
1301
|
+
readonly kind: "struct";
|
|
1302
|
+
readonly members: readonly [];
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly type: "event";
|
|
1305
|
+
readonly name: "opus::core::shrine::shrine::Transfer";
|
|
1306
|
+
readonly kind: "struct";
|
|
1307
|
+
readonly members: readonly [{
|
|
1308
|
+
readonly name: "from";
|
|
1309
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1310
|
+
readonly kind: "key";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly name: "to";
|
|
1313
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1314
|
+
readonly kind: "key";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly name: "value";
|
|
1317
|
+
readonly type: "core::integer::u256";
|
|
1318
|
+
readonly kind: "data";
|
|
1319
|
+
}];
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly type: "event";
|
|
1322
|
+
readonly name: "opus::core::shrine::shrine::Approval";
|
|
1323
|
+
readonly kind: "struct";
|
|
1324
|
+
readonly members: readonly [{
|
|
1325
|
+
readonly name: "owner";
|
|
1326
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1327
|
+
readonly kind: "key";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly name: "spender";
|
|
1330
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1331
|
+
readonly kind: "key";
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly name: "value";
|
|
1334
|
+
readonly type: "core::integer::u256";
|
|
1335
|
+
readonly kind: "data";
|
|
1336
|
+
}];
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly type: "event";
|
|
1339
|
+
readonly name: "opus::core::shrine::shrine::Event";
|
|
1340
|
+
readonly kind: "enum";
|
|
1341
|
+
readonly variants: readonly [{
|
|
1342
|
+
readonly name: "AccessControlEvent";
|
|
1343
|
+
readonly type: "access_control::access_control::access_control_component::Event";
|
|
1344
|
+
readonly kind: "nested";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly name: "YangAdded";
|
|
1347
|
+
readonly type: "opus::core::shrine::shrine::YangAdded";
|
|
1348
|
+
readonly kind: "nested";
|
|
1349
|
+
}, {
|
|
1350
|
+
readonly name: "YangTotalUpdated";
|
|
1351
|
+
readonly type: "opus::core::shrine::shrine::YangTotalUpdated";
|
|
1352
|
+
readonly kind: "nested";
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly name: "TotalTrovesDebtUpdated";
|
|
1355
|
+
readonly type: "opus::core::shrine::shrine::TotalTrovesDebtUpdated";
|
|
1356
|
+
readonly kind: "nested";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly name: "BudgetAdjusted";
|
|
1359
|
+
readonly type: "opus::core::shrine::shrine::BudgetAdjusted";
|
|
1360
|
+
readonly kind: "nested";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly name: "MultiplierUpdated";
|
|
1363
|
+
readonly type: "opus::core::shrine::shrine::MultiplierUpdated";
|
|
1364
|
+
readonly kind: "nested";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly name: "YangRatesUpdated";
|
|
1367
|
+
readonly type: "opus::core::shrine::shrine::YangRatesUpdated";
|
|
1368
|
+
readonly kind: "nested";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly name: "ThresholdUpdated";
|
|
1371
|
+
readonly type: "opus::core::shrine::shrine::ThresholdUpdated";
|
|
1372
|
+
readonly kind: "nested";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly name: "ForgeFeePaid";
|
|
1375
|
+
readonly type: "opus::core::shrine::shrine::ForgeFeePaid";
|
|
1376
|
+
readonly kind: "nested";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly name: "TroveUpdated";
|
|
1379
|
+
readonly type: "opus::core::shrine::shrine::TroveUpdated";
|
|
1380
|
+
readonly kind: "nested";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly name: "TroveRedistributed";
|
|
1383
|
+
readonly type: "opus::core::shrine::shrine::TroveRedistributed";
|
|
1384
|
+
readonly kind: "nested";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly name: "DepositUpdated";
|
|
1387
|
+
readonly type: "opus::core::shrine::shrine::DepositUpdated";
|
|
1388
|
+
readonly kind: "nested";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly name: "YangPriceUpdated";
|
|
1391
|
+
readonly type: "opus::core::shrine::shrine::YangPriceUpdated";
|
|
1392
|
+
readonly kind: "nested";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly name: "YinPriceUpdated";
|
|
1395
|
+
readonly type: "opus::core::shrine::shrine::YinPriceUpdated";
|
|
1396
|
+
readonly kind: "nested";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly name: "MinimumTroveValueUpdated";
|
|
1399
|
+
readonly type: "opus::core::shrine::shrine::MinimumTroveValueUpdated";
|
|
1400
|
+
readonly kind: "nested";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly name: "DebtCeilingUpdated";
|
|
1403
|
+
readonly type: "opus::core::shrine::shrine::DebtCeilingUpdated";
|
|
1404
|
+
readonly kind: "nested";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly name: "YangSuspended";
|
|
1407
|
+
readonly type: "opus::core::shrine::shrine::YangSuspended";
|
|
1408
|
+
readonly kind: "nested";
|
|
1409
|
+
}, {
|
|
1410
|
+
readonly name: "YangUnsuspended";
|
|
1411
|
+
readonly type: "opus::core::shrine::shrine::YangUnsuspended";
|
|
1412
|
+
readonly kind: "nested";
|
|
1413
|
+
}, {
|
|
1414
|
+
readonly name: "Killed";
|
|
1415
|
+
readonly type: "opus::core::shrine::shrine::Killed";
|
|
1416
|
+
readonly kind: "nested";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly name: "Transfer";
|
|
1419
|
+
readonly type: "opus::core::shrine::shrine::Transfer";
|
|
1420
|
+
readonly kind: "nested";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly name: "Approval";
|
|
1423
|
+
readonly type: "opus::core::shrine::shrine::Approval";
|
|
1424
|
+
readonly kind: "nested";
|
|
1425
|
+
}];
|
|
1426
|
+
}];
|