@inodra/sui 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 +202 -0
- package/README.md +237 -0
- package/bin/inodra-sui.mjs +2 -0
- package/dist/chunk-3CBLVI6J.js +426 -0
- package/dist/chunk-3CBLVI6J.js.map +1 -0
- package/dist/chunk-4HKKW5QN.js +80 -0
- package/dist/chunk-4HKKW5QN.js.map +1 -0
- package/dist/chunk-74XGJJJI.js +33 -0
- package/dist/chunk-74XGJJJI.js.map +1 -0
- package/dist/chunk-D6FZYWG7.js +99 -0
- package/dist/chunk-D6FZYWG7.js.map +1 -0
- package/dist/chunk-LZZMTSLH.js +31 -0
- package/dist/chunk-LZZMTSLH.js.map +1 -0
- package/dist/chunk-M3M2L6BW.js +29 -0
- package/dist/chunk-M3M2L6BW.js.map +1 -0
- package/dist/chunk-NSXRC5XW.js +298 -0
- package/dist/chunk-NSXRC5XW.js.map +1 -0
- package/dist/chunk-OGMBYWTG.js +537 -0
- package/dist/chunk-OGMBYWTG.js.map +1 -0
- package/dist/chunk-U6D5LGNF.js +111 -0
- package/dist/chunk-U6D5LGNF.js.map +1 -0
- package/dist/chunk-ZSW3EWGF.js +539 -0
- package/dist/chunk-ZSW3EWGF.js.map +1 -0
- package/dist/cli.js +665 -0
- package/dist/cli.js.map +1 -0
- package/dist/events.cjs +3273 -0
- package/dist/events.cjs.map +1 -0
- package/dist/events.d.cts +47 -0
- package/dist/events.d.ts +47 -0
- package/dist/events.js +2578 -0
- package/dist/events.js.map +1 -0
- package/dist/graphql.cjs +129 -0
- package/dist/graphql.cjs.map +1 -0
- package/dist/graphql.d.cts +36 -0
- package/dist/graphql.d.ts +36 -0
- package/dist/graphql.js +10 -0
- package/dist/graphql.js.map +1 -0
- package/dist/grpc-web.cjs +129 -0
- package/dist/grpc-web.cjs.map +1 -0
- package/dist/grpc-web.d.cts +31 -0
- package/dist/grpc-web.d.ts +31 -0
- package/dist/grpc-web.js +10 -0
- package/dist/grpc-web.js.map +1 -0
- package/dist/grpc.cjs +131 -0
- package/dist/grpc.cjs.map +1 -0
- package/dist/grpc.d.cts +34 -0
- package/dist/grpc.d.ts +34 -0
- package/dist/grpc.js +10 -0
- package/dist/grpc.js.map +1 -0
- package/dist/index-CGBN_EI5.d.ts +4800 -0
- package/dist/index-CVO2Kj8a.d.cts +4800 -0
- package/dist/index.cjs +4723 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +504 -0
- package/dist/index.d.ts +504 -0
- package/dist/index.js +59 -0
- package/dist/index.js.map +1 -0
- package/dist/manage.cjs +376 -0
- package/dist/manage.cjs.map +1 -0
- package/dist/manage.d.cts +2 -0
- package/dist/manage.d.ts +2 -0
- package/dist/manage.js +8 -0
- package/dist/manage.js.map +1 -0
- package/dist/network-CEg2MJY3.d.cts +60 -0
- package/dist/network-CEg2MJY3.d.ts +60 -0
- package/dist/node.cjs +4759 -0
- package/dist/node.cjs.map +1 -0
- package/dist/node.d.cts +28 -0
- package/dist/node.d.ts +28 -0
- package/dist/node.js +73 -0
- package/dist/node.js.map +1 -0
- package/dist/reflection-Bx44-Fs1.d.ts +4639 -0
- package/dist/reflection-Cf7WFH6H.d.cts +4639 -0
- package/dist/reflection-FEGYA7DU.js +9 -0
- package/dist/reflection-FEGYA7DU.js.map +1 -0
- package/dist/runtime-OWKF3LZ7.js +37 -0
- package/dist/runtime-OWKF3LZ7.js.map +1 -0
- package/dist/warp.cjs +633 -0
- package/dist/warp.cjs.map +1 -0
- package/dist/warp.d.cts +195 -0
- package/dist/warp.d.ts +195 -0
- package/dist/warp.js +12 -0
- package/dist/warp.js.map +1 -0
- package/dist/webhooks.cjs +104 -0
- package/dist/webhooks.cjs.map +1 -0
- package/dist/webhooks.d.cts +35 -0
- package/dist/webhooks.d.ts +35 -0
- package/dist/webhooks.js +7 -0
- package/dist/webhooks.js.map +1 -0
- package/llms.txt +189 -0
- package/package.json +119 -0
package/dist/events.js
ADDED
|
@@ -0,0 +1,2578 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EventSchemaReflector,
|
|
3
|
+
formatMoveType,
|
|
4
|
+
normalizeAddress,
|
|
5
|
+
parseMoveType,
|
|
6
|
+
resolveShape,
|
|
7
|
+
shapeToExpr,
|
|
8
|
+
shapeToZod,
|
|
9
|
+
substituteTypeParams
|
|
10
|
+
} from "./chunk-3CBLVI6J.js";
|
|
11
|
+
import {
|
|
12
|
+
baseEventType,
|
|
13
|
+
eventTypeMatches,
|
|
14
|
+
innerEventType,
|
|
15
|
+
moveAddress,
|
|
16
|
+
moveBalance,
|
|
17
|
+
moveBool,
|
|
18
|
+
moveBytes,
|
|
19
|
+
moveSmallUint,
|
|
20
|
+
moveString,
|
|
21
|
+
moveTypeName,
|
|
22
|
+
moveUint,
|
|
23
|
+
warpAddressPayloadSchema,
|
|
24
|
+
warpCoinPayloadSchema,
|
|
25
|
+
warpEventPayloadSchema,
|
|
26
|
+
warpObjectPayloadSchema,
|
|
27
|
+
webhookEventBodySchema
|
|
28
|
+
} from "./chunk-D6FZYWG7.js";
|
|
29
|
+
import "./chunk-U6D5LGNF.js";
|
|
30
|
+
|
|
31
|
+
// src/generated/events.ts
|
|
32
|
+
import { z } from "zod";
|
|
33
|
+
var _7kConfirmSwapSchema = z.looseObject({
|
|
34
|
+
"quote_id": moveString,
|
|
35
|
+
"from": moveTypeName,
|
|
36
|
+
"target": moveTypeName,
|
|
37
|
+
"amount_in": moveUint,
|
|
38
|
+
"amount_out": moveUint,
|
|
39
|
+
"fee_amount": moveUint,
|
|
40
|
+
"fee_rate": moveSmallUint,
|
|
41
|
+
"fee_recipient": moveAddress,
|
|
42
|
+
"expect_amount_out": moveUint,
|
|
43
|
+
"amount_out_limit": moveUint
|
|
44
|
+
});
|
|
45
|
+
var _7kSwapSchema = z.looseObject({
|
|
46
|
+
"quote_id": moveString,
|
|
47
|
+
"pool_id": moveAddress,
|
|
48
|
+
"dex": moveString,
|
|
49
|
+
"from": moveTypeName,
|
|
50
|
+
"target": moveTypeName,
|
|
51
|
+
"amount_in": moveUint,
|
|
52
|
+
"amount_out": moveUint,
|
|
53
|
+
"amount_in_remaining": moveUint
|
|
54
|
+
});
|
|
55
|
+
var AftermathDepositSchema = z.looseObject({
|
|
56
|
+
"pool_id": moveAddress,
|
|
57
|
+
"issuer": moveAddress,
|
|
58
|
+
"referrer": moveAddress.nullable(),
|
|
59
|
+
"types": z.array(moveString),
|
|
60
|
+
"deposits": z.array(moveUint),
|
|
61
|
+
"reserves": z.array(moveUint),
|
|
62
|
+
"lp_coins_minted": moveUint
|
|
63
|
+
});
|
|
64
|
+
var AftermathPerpFundingSchema = z.looseObject({
|
|
65
|
+
"ch_id": moveAddress,
|
|
66
|
+
"account_id": moveUint,
|
|
67
|
+
"collateral_change_usd": moveUint,
|
|
68
|
+
"collateral_after": moveUint
|
|
69
|
+
});
|
|
70
|
+
var AftermathPerpLiquidatedSchema = z.looseObject({
|
|
71
|
+
"ch_id": moveAddress,
|
|
72
|
+
"liqee_account_id": moveUint,
|
|
73
|
+
"liqor_account_id": moveUint,
|
|
74
|
+
"is_liqee_long": moveBool,
|
|
75
|
+
"base_liquidated": moveUint,
|
|
76
|
+
"quote_liquidated": moveUint,
|
|
77
|
+
"bad_debt": moveUint
|
|
78
|
+
});
|
|
79
|
+
var AftermathSwapSchema = z.looseObject({
|
|
80
|
+
"pool_id": moveAddress,
|
|
81
|
+
"issuer": moveAddress,
|
|
82
|
+
"referrer": moveAddress.nullable(),
|
|
83
|
+
"types_in": z.array(moveString),
|
|
84
|
+
"amounts_in": z.array(moveUint),
|
|
85
|
+
"types_out": z.array(moveString),
|
|
86
|
+
"amounts_out": z.array(moveUint),
|
|
87
|
+
"reserves": z.array(moveUint)
|
|
88
|
+
});
|
|
89
|
+
var AlphafiLiquidityChangeSchema = z.looseObject({
|
|
90
|
+
"pool_id": moveAddress,
|
|
91
|
+
"event_type": moveSmallUint,
|
|
92
|
+
"amount_a": moveUint,
|
|
93
|
+
"amount_b": moveUint,
|
|
94
|
+
"total_amount_a": moveUint,
|
|
95
|
+
"total_amount_b": moveUint,
|
|
96
|
+
"fee_collected_a": moveUint,
|
|
97
|
+
"fee_collected_b": moveUint,
|
|
98
|
+
"tokens_invested": moveUint,
|
|
99
|
+
"sender": moveAddress
|
|
100
|
+
});
|
|
101
|
+
var AlphafiRewardSchema = z.looseObject({
|
|
102
|
+
"coin_type": moveTypeName,
|
|
103
|
+
"amount": moveUint,
|
|
104
|
+
"investor_id": moveAddress,
|
|
105
|
+
"fee_collected": moveUint,
|
|
106
|
+
"total_amount_a": moveUint,
|
|
107
|
+
"total_amount_b": moveUint,
|
|
108
|
+
"sender": moveAddress
|
|
109
|
+
});
|
|
110
|
+
var BluefinFeeCollectedSchema = z.looseObject({
|
|
111
|
+
"pool_id": moveAddress,
|
|
112
|
+
"position_id": moveAddress,
|
|
113
|
+
"coin_a_amount": moveUint,
|
|
114
|
+
"coin_b_amount": moveUint
|
|
115
|
+
});
|
|
116
|
+
var BluefinLiquidityProvidedSchema = z.looseObject({
|
|
117
|
+
"pool_id": moveAddress,
|
|
118
|
+
"position_id": moveAddress,
|
|
119
|
+
"coin_a_amount": moveUint,
|
|
120
|
+
"coin_b_amount": moveUint,
|
|
121
|
+
"liquidity": moveUint
|
|
122
|
+
});
|
|
123
|
+
var BluefinLiquidityRemovedSchema = z.looseObject({
|
|
124
|
+
"pool_id": moveAddress,
|
|
125
|
+
"position_id": moveAddress,
|
|
126
|
+
"coin_a_amount": moveUint,
|
|
127
|
+
"coin_b_amount": moveUint,
|
|
128
|
+
"liquidity": moveUint
|
|
129
|
+
});
|
|
130
|
+
var BluefinPoolCreatedSchema = z.looseObject({
|
|
131
|
+
"id": moveAddress,
|
|
132
|
+
"coin_a": moveString,
|
|
133
|
+
"coin_b": moveString,
|
|
134
|
+
"fee_rate": moveUint,
|
|
135
|
+
"tick_spacing": moveSmallUint
|
|
136
|
+
});
|
|
137
|
+
var BluefinPositionClosedSchema = z.looseObject({
|
|
138
|
+
"pool_id": moveAddress,
|
|
139
|
+
"position_id": moveAddress
|
|
140
|
+
});
|
|
141
|
+
var BluefinPositionOpenedSchema = z.looseObject({
|
|
142
|
+
"pool_id": moveAddress,
|
|
143
|
+
"position_id": moveAddress
|
|
144
|
+
});
|
|
145
|
+
var BluefinRewardCollectedSchema = z.looseObject({
|
|
146
|
+
"pool_id": moveAddress,
|
|
147
|
+
"position_id": moveAddress,
|
|
148
|
+
"reward_type": moveString,
|
|
149
|
+
"reward_symbol": moveString,
|
|
150
|
+
"reward_amount": moveUint
|
|
151
|
+
});
|
|
152
|
+
var BluefinSwapSchema = z.looseObject({
|
|
153
|
+
"pool_id": moveAddress,
|
|
154
|
+
"a2b": moveBool,
|
|
155
|
+
"amount_in": moveUint,
|
|
156
|
+
"amount_out": moveUint,
|
|
157
|
+
"fee": moveUint,
|
|
158
|
+
"after_sqrt_price": moveUint,
|
|
159
|
+
"sequence_number": moveUint
|
|
160
|
+
});
|
|
161
|
+
var BucketBorrowSchema = z.looseObject({
|
|
162
|
+
"collateral_type": moveString,
|
|
163
|
+
"buck_amount": moveUint
|
|
164
|
+
});
|
|
165
|
+
var BucketDepositCollateralSchema = z.looseObject({
|
|
166
|
+
"collateral_type": moveString,
|
|
167
|
+
"collateral_amount": moveUint
|
|
168
|
+
});
|
|
169
|
+
var BucketPositionUpdatedSchema = z.looseObject({
|
|
170
|
+
"collateral_type": moveString,
|
|
171
|
+
"debtor": moveAddress,
|
|
172
|
+
"bottle_id": moveAddress,
|
|
173
|
+
"collateral_amount": moveUint,
|
|
174
|
+
"buck_amount": moveUint
|
|
175
|
+
});
|
|
176
|
+
var BucketRedeemSchema = z.looseObject({
|
|
177
|
+
"collateral_type": moveString,
|
|
178
|
+
"input_buck_amount": moveUint,
|
|
179
|
+
"output_collateral_amount": moveUint
|
|
180
|
+
});
|
|
181
|
+
var BucketRepaySchema = z.looseObject({
|
|
182
|
+
"collateral_type": moveString,
|
|
183
|
+
"buck_amount": moveUint
|
|
184
|
+
});
|
|
185
|
+
var BucketSbuckDepositSchema = z.looseObject({
|
|
186
|
+
"buck_amount": moveUint,
|
|
187
|
+
"sbuck_share": moveUint
|
|
188
|
+
});
|
|
189
|
+
var BucketSbuckRewardsSchema = z.looseObject({
|
|
190
|
+
"buck_amount": moveUint
|
|
191
|
+
});
|
|
192
|
+
var BucketWithdrawCollateralSchema = z.looseObject({
|
|
193
|
+
"collateral_type": moveString,
|
|
194
|
+
"collateral_amount": moveUint
|
|
195
|
+
});
|
|
196
|
+
var CetusAddLiquiditySchema = z.looseObject({
|
|
197
|
+
"pool": moveAddress,
|
|
198
|
+
"position": moveAddress,
|
|
199
|
+
"liquidity": moveUint,
|
|
200
|
+
"after_liquidity": moveUint,
|
|
201
|
+
"amount_a": moveUint,
|
|
202
|
+
"amount_b": moveUint
|
|
203
|
+
});
|
|
204
|
+
var CetusClosePositionSchema = z.looseObject({
|
|
205
|
+
"pool": moveAddress,
|
|
206
|
+
"position": moveAddress
|
|
207
|
+
});
|
|
208
|
+
var CetusCollectFeeSchema = z.looseObject({
|
|
209
|
+
"position": moveAddress,
|
|
210
|
+
"pool": moveAddress,
|
|
211
|
+
"amount_a": moveUint,
|
|
212
|
+
"amount_b": moveUint
|
|
213
|
+
});
|
|
214
|
+
var CetusCreatePoolSchema = z.looseObject({
|
|
215
|
+
"pool_id": moveAddress,
|
|
216
|
+
"coin_type_a": moveString,
|
|
217
|
+
"coin_type_b": moveString,
|
|
218
|
+
"tick_spacing": moveSmallUint
|
|
219
|
+
});
|
|
220
|
+
var CetusOpenPositionSchema = z.looseObject({
|
|
221
|
+
"pool": moveAddress,
|
|
222
|
+
"position": moveAddress
|
|
223
|
+
});
|
|
224
|
+
var CetusRemoveLiquiditySchema = z.looseObject({
|
|
225
|
+
"pool": moveAddress,
|
|
226
|
+
"position": moveAddress,
|
|
227
|
+
"liquidity": moveUint,
|
|
228
|
+
"after_liquidity": moveUint,
|
|
229
|
+
"amount_a": moveUint,
|
|
230
|
+
"amount_b": moveUint
|
|
231
|
+
});
|
|
232
|
+
var CetusSwapSchema = z.looseObject({
|
|
233
|
+
"atob": moveBool,
|
|
234
|
+
"pool": moveAddress,
|
|
235
|
+
"partner": moveAddress,
|
|
236
|
+
"amount_in": moveUint,
|
|
237
|
+
"amount_out": moveUint,
|
|
238
|
+
"fee_amount": moveUint,
|
|
239
|
+
"before_sqrt_price": moveUint,
|
|
240
|
+
"after_sqrt_price": moveUint,
|
|
241
|
+
"steps": moveUint
|
|
242
|
+
});
|
|
243
|
+
var CurrentBorrowSchema = z.looseObject({
|
|
244
|
+
"borrower": moveAddress,
|
|
245
|
+
"market": moveTypeName,
|
|
246
|
+
"obligation": moveAddress,
|
|
247
|
+
"asset": moveTypeName,
|
|
248
|
+
"amount": moveUint,
|
|
249
|
+
"time": moveUint
|
|
250
|
+
});
|
|
251
|
+
var CurrentDepositSchema = z.looseObject({
|
|
252
|
+
"minter": moveAddress,
|
|
253
|
+
"market": moveTypeName,
|
|
254
|
+
"obligation": moveAddress,
|
|
255
|
+
"deposit_asset": moveTypeName,
|
|
256
|
+
"deposit_amount": moveUint,
|
|
257
|
+
"ctoken_amount": moveUint,
|
|
258
|
+
"time": moveUint
|
|
259
|
+
});
|
|
260
|
+
var CurrentLiquidateSchema = z.looseObject({
|
|
261
|
+
"liquidator": moveAddress,
|
|
262
|
+
"market": moveTypeName,
|
|
263
|
+
"obligation": moveAddress,
|
|
264
|
+
"collateral_type": moveTypeName,
|
|
265
|
+
"debt_type": moveTypeName,
|
|
266
|
+
"seized_collateral_amount": moveUint,
|
|
267
|
+
"repay_amount": moveUint,
|
|
268
|
+
"refund_amount": moveUint,
|
|
269
|
+
"timestamp": moveUint
|
|
270
|
+
});
|
|
271
|
+
var CurrentRepaySchema = z.looseObject({
|
|
272
|
+
"repayer": moveAddress,
|
|
273
|
+
"market": moveTypeName,
|
|
274
|
+
"obligation": moveAddress,
|
|
275
|
+
"asset": moveTypeName,
|
|
276
|
+
"amount": moveUint,
|
|
277
|
+
"refund": moveUint,
|
|
278
|
+
"time": moveUint
|
|
279
|
+
});
|
|
280
|
+
var CurrentWithdrawSchema = z.looseObject({
|
|
281
|
+
"redeemer": moveAddress,
|
|
282
|
+
"market": moveTypeName,
|
|
283
|
+
"obligation": moveAddress,
|
|
284
|
+
"withdraw_asset": moveTypeName,
|
|
285
|
+
"withdraw_amount": moveUint,
|
|
286
|
+
"time": moveUint
|
|
287
|
+
});
|
|
288
|
+
var DeepbookBalanceSchema = z.looseObject({
|
|
289
|
+
"balance_manager_id": moveAddress,
|
|
290
|
+
"asset": moveTypeName,
|
|
291
|
+
"amount": moveUint,
|
|
292
|
+
"deposit": moveBool
|
|
293
|
+
});
|
|
294
|
+
var DeepbookFlashLoanSchema = z.looseObject({
|
|
295
|
+
"pool_id": moveAddress,
|
|
296
|
+
"borrow_quantity": moveUint,
|
|
297
|
+
"type_name": moveTypeName
|
|
298
|
+
});
|
|
299
|
+
var DeepbookOrderCanceledSchema = z.looseObject({
|
|
300
|
+
"balance_manager_id": moveAddress,
|
|
301
|
+
"pool_id": moveAddress,
|
|
302
|
+
"order_id": moveUint,
|
|
303
|
+
"trader": moveAddress,
|
|
304
|
+
"price": moveUint,
|
|
305
|
+
"is_bid": moveBool,
|
|
306
|
+
"original_quantity": moveUint,
|
|
307
|
+
"base_asset_quantity_canceled": moveUint,
|
|
308
|
+
"timestamp": moveUint
|
|
309
|
+
});
|
|
310
|
+
var DeepbookOrderFilledSchema = z.looseObject({
|
|
311
|
+
"pool_id": moveAddress,
|
|
312
|
+
"maker_order_id": moveUint,
|
|
313
|
+
"taker_order_id": moveUint,
|
|
314
|
+
"price": moveUint,
|
|
315
|
+
"taker_is_bid": moveBool,
|
|
316
|
+
"base_quantity": moveUint,
|
|
317
|
+
"quote_quantity": moveUint,
|
|
318
|
+
"taker_fee": moveUint,
|
|
319
|
+
"maker_fee": moveUint,
|
|
320
|
+
"timestamp": moveUint
|
|
321
|
+
});
|
|
322
|
+
var DeepbookOrderInfoSchema = z.looseObject({
|
|
323
|
+
"pool_id": moveAddress,
|
|
324
|
+
"order_id": moveUint,
|
|
325
|
+
"balance_manager_id": moveAddress,
|
|
326
|
+
"client_order_id": moveUint,
|
|
327
|
+
"trader": moveAddress,
|
|
328
|
+
"order_type": moveSmallUint,
|
|
329
|
+
"price": moveUint,
|
|
330
|
+
"is_bid": moveBool,
|
|
331
|
+
"original_quantity": moveUint,
|
|
332
|
+
"executed_quantity": moveUint,
|
|
333
|
+
"status": moveSmallUint,
|
|
334
|
+
"timestamp": moveUint
|
|
335
|
+
});
|
|
336
|
+
var DeepbookOrderPlacedSchema = z.looseObject({
|
|
337
|
+
"balance_manager_id": moveAddress,
|
|
338
|
+
"pool_id": moveAddress,
|
|
339
|
+
"order_id": moveUint,
|
|
340
|
+
"client_order_id": moveUint,
|
|
341
|
+
"trader": moveAddress,
|
|
342
|
+
"price": moveUint,
|
|
343
|
+
"is_bid": moveBool,
|
|
344
|
+
"placed_quantity": moveUint,
|
|
345
|
+
"expire_timestamp": moveUint,
|
|
346
|
+
"timestamp": moveUint
|
|
347
|
+
});
|
|
348
|
+
var EmberDepositSchema = z.looseObject({
|
|
349
|
+
"vault_id": moveAddress,
|
|
350
|
+
"owner": moveAddress,
|
|
351
|
+
"total_amount": moveUint,
|
|
352
|
+
"shares_minted": moveUint,
|
|
353
|
+
"current_balance": moveUint,
|
|
354
|
+
"total_shares": moveUint,
|
|
355
|
+
"sequence_number": moveUint
|
|
356
|
+
});
|
|
357
|
+
var EmberRateUpdatedSchema = z.looseObject({
|
|
358
|
+
"vault_id": moveAddress,
|
|
359
|
+
"previous_rate": moveUint,
|
|
360
|
+
"new_rate": moveUint,
|
|
361
|
+
"sequence_number": moveUint
|
|
362
|
+
});
|
|
363
|
+
var EmberRedeemProcessedSchema = z.looseObject({
|
|
364
|
+
"vault_id": moveAddress,
|
|
365
|
+
"owner": moveAddress,
|
|
366
|
+
"receiver": moveAddress,
|
|
367
|
+
"shares": moveUint,
|
|
368
|
+
"withdraw_amount": moveUint,
|
|
369
|
+
"skipped": moveBool,
|
|
370
|
+
"cancelled": moveBool,
|
|
371
|
+
"sequence_number": moveUint
|
|
372
|
+
});
|
|
373
|
+
var EmberRedeemRequestSchema = z.looseObject({
|
|
374
|
+
"vault_id": moveAddress,
|
|
375
|
+
"owner": moveAddress,
|
|
376
|
+
"receiver": moveAddress,
|
|
377
|
+
"shares": moveUint,
|
|
378
|
+
"total_shares": moveUint,
|
|
379
|
+
"sequence_number": moveUint
|
|
380
|
+
});
|
|
381
|
+
var FlowxAmmPairCreatedSchema = z.looseObject({
|
|
382
|
+
"user": moveAddress,
|
|
383
|
+
"coin_x": moveString,
|
|
384
|
+
"coin_y": moveString
|
|
385
|
+
});
|
|
386
|
+
var FlowxAmmSwapSchema = z.looseObject({
|
|
387
|
+
"user": moveAddress,
|
|
388
|
+
"coin_x": moveString,
|
|
389
|
+
"coin_y": moveString,
|
|
390
|
+
"amount_x_in": moveUint,
|
|
391
|
+
"amount_y_in": moveUint,
|
|
392
|
+
"amount_x_out": moveUint,
|
|
393
|
+
"amount_y_out": moveUint
|
|
394
|
+
});
|
|
395
|
+
var FlowxClmmPoolCreatedSchema = z.looseObject({
|
|
396
|
+
"sender": moveAddress,
|
|
397
|
+
"pool_id": moveAddress,
|
|
398
|
+
"coin_type_x": moveTypeName,
|
|
399
|
+
"coin_type_y": moveTypeName,
|
|
400
|
+
"fee_rate": moveUint,
|
|
401
|
+
"tick_spacing": moveSmallUint
|
|
402
|
+
});
|
|
403
|
+
var FlowxClmmSwapSchema = z.looseObject({
|
|
404
|
+
"sender": moveAddress,
|
|
405
|
+
"pool_id": moveAddress,
|
|
406
|
+
"x_for_y": moveBool,
|
|
407
|
+
"amount_x": moveUint,
|
|
408
|
+
"amount_y": moveUint,
|
|
409
|
+
"liquidity": moveUint,
|
|
410
|
+
"fee_amount": moveUint
|
|
411
|
+
});
|
|
412
|
+
var HaedalInstantUnstakedSchema = z.looseObject({
|
|
413
|
+
"owner": moveAddress,
|
|
414
|
+
"sui_amount": moveUint,
|
|
415
|
+
"st_amount": moveUint
|
|
416
|
+
});
|
|
417
|
+
var HaedalStakedSchema = z.looseObject({
|
|
418
|
+
"owner": moveAddress,
|
|
419
|
+
"sui_amount": moveUint,
|
|
420
|
+
"st_amount": moveUint,
|
|
421
|
+
"validator": moveAddress
|
|
422
|
+
});
|
|
423
|
+
var HaedalUnstakedSchema = z.looseObject({
|
|
424
|
+
"owner": moveAddress,
|
|
425
|
+
"epoch": moveUint,
|
|
426
|
+
"sui_amount": moveUint,
|
|
427
|
+
"st_amount": moveUint
|
|
428
|
+
});
|
|
429
|
+
var KaiAddLiquiditySchema = z.looseObject({
|
|
430
|
+
"position_id": moveAddress,
|
|
431
|
+
"sqrt_pool_price_x64": moveUint,
|
|
432
|
+
"delta_l": moveUint,
|
|
433
|
+
"delta_x": moveUint,
|
|
434
|
+
"delta_y": moveUint
|
|
435
|
+
});
|
|
436
|
+
var KaiDeleverageSchema = z.looseObject({
|
|
437
|
+
"position_id": moveAddress,
|
|
438
|
+
"delta_l": moveUint,
|
|
439
|
+
"delta_x": moveUint,
|
|
440
|
+
"delta_y": moveUint,
|
|
441
|
+
"x_repaid": moveUint,
|
|
442
|
+
"y_repaid": moveUint
|
|
443
|
+
});
|
|
444
|
+
var KaiLiquidationSchema = z.looseObject({
|
|
445
|
+
"position_id": moveAddress,
|
|
446
|
+
"x_repaid": moveUint,
|
|
447
|
+
"y_repaid": moveUint,
|
|
448
|
+
"liquidator_reward_x": moveUint,
|
|
449
|
+
"liquidator_reward_y": moveUint,
|
|
450
|
+
"liquidation_fee_x": moveUint,
|
|
451
|
+
"liquidation_fee_y": moveUint
|
|
452
|
+
});
|
|
453
|
+
var KaiPositionOpenSchema = z.looseObject({
|
|
454
|
+
"position_id": moveAddress,
|
|
455
|
+
"config_id": moveAddress,
|
|
456
|
+
"x0": moveUint,
|
|
457
|
+
"y0": moveUint,
|
|
458
|
+
"cx": moveUint,
|
|
459
|
+
"cy": moveUint,
|
|
460
|
+
"dx": moveUint,
|
|
461
|
+
"dy": moveUint,
|
|
462
|
+
"l": moveUint,
|
|
463
|
+
"creation_fee_amt_sui": moveUint
|
|
464
|
+
});
|
|
465
|
+
var KaiReduceSchema = z.looseObject({
|
|
466
|
+
"position_id": moveAddress,
|
|
467
|
+
"delta_l": moveUint,
|
|
468
|
+
"delta_x": moveUint,
|
|
469
|
+
"delta_y": moveUint,
|
|
470
|
+
"withdrawn_x": moveUint,
|
|
471
|
+
"withdrawn_y": moveUint,
|
|
472
|
+
"x_repaid": moveUint,
|
|
473
|
+
"y_repaid": moveUint
|
|
474
|
+
});
|
|
475
|
+
var KaiSupplySchema = z.looseObject({
|
|
476
|
+
"supply_pool_id": moveAddress,
|
|
477
|
+
"deposited": moveUint,
|
|
478
|
+
"share_balance": moveUint
|
|
479
|
+
});
|
|
480
|
+
var KaiSupplyWithdrawSchema = z.looseObject({
|
|
481
|
+
"supply_pool_id": moveAddress,
|
|
482
|
+
"share_balance": moveUint,
|
|
483
|
+
"withdrawn": moveUint
|
|
484
|
+
});
|
|
485
|
+
var KriyaAddLiquiditySchema = z.looseObject({
|
|
486
|
+
"pool_id": moveAddress,
|
|
487
|
+
"liquidity_provider": moveAddress,
|
|
488
|
+
"amount_x": moveUint,
|
|
489
|
+
"amount_y": moveUint,
|
|
490
|
+
"lsp_minted": moveUint
|
|
491
|
+
});
|
|
492
|
+
var KriyaSwapSchema = z.looseObject({
|
|
493
|
+
"pool_id": moveAddress,
|
|
494
|
+
"user": moveAddress,
|
|
495
|
+
"reserve_x": moveUint,
|
|
496
|
+
"reserve_y": moveUint,
|
|
497
|
+
"amount_in": moveUint,
|
|
498
|
+
"amount_out": moveUint
|
|
499
|
+
});
|
|
500
|
+
var MagmaAddLiquiditySchema = z.looseObject({
|
|
501
|
+
"pool": moveAddress,
|
|
502
|
+
"position": moveAddress,
|
|
503
|
+
"liquidity": moveUint,
|
|
504
|
+
"after_liquidity": moveUint,
|
|
505
|
+
"amount_a": moveUint,
|
|
506
|
+
"amount_b": moveUint
|
|
507
|
+
});
|
|
508
|
+
var MagmaCollectFeeSchema = z.looseObject({
|
|
509
|
+
"position": moveAddress,
|
|
510
|
+
"pool": moveAddress,
|
|
511
|
+
"amount_a": moveUint,
|
|
512
|
+
"amount_b": moveUint
|
|
513
|
+
});
|
|
514
|
+
var MagmaCollectRewardSchema = z.looseObject({
|
|
515
|
+
"position": moveAddress,
|
|
516
|
+
"pool": moveAddress,
|
|
517
|
+
"amount": moveUint
|
|
518
|
+
});
|
|
519
|
+
var MagmaCreatePoolSchema = z.looseObject({
|
|
520
|
+
"pool_id": moveAddress,
|
|
521
|
+
"coin_type_a": moveString,
|
|
522
|
+
"coin_type_b": moveString,
|
|
523
|
+
"tick_spacing": moveSmallUint
|
|
524
|
+
});
|
|
525
|
+
var MagmaRemoveLiquiditySchema = z.looseObject({
|
|
526
|
+
"pool": moveAddress,
|
|
527
|
+
"position": moveAddress,
|
|
528
|
+
"liquidity": moveUint,
|
|
529
|
+
"after_liquidity": moveUint,
|
|
530
|
+
"amount_a": moveUint,
|
|
531
|
+
"amount_b": moveUint
|
|
532
|
+
});
|
|
533
|
+
var MagmaSwapSchema = z.looseObject({
|
|
534
|
+
"atob": moveBool,
|
|
535
|
+
"pool": moveAddress,
|
|
536
|
+
"partner": moveAddress,
|
|
537
|
+
"amount_in": moveUint,
|
|
538
|
+
"amount_out": moveUint,
|
|
539
|
+
"fee_amount": moveUint,
|
|
540
|
+
"before_sqrt_price": moveUint,
|
|
541
|
+
"after_sqrt_price": moveUint,
|
|
542
|
+
"steps": moveUint
|
|
543
|
+
});
|
|
544
|
+
var MoleAddDebtSchema = z.looseObject({
|
|
545
|
+
"id": moveUint,
|
|
546
|
+
"debt_share": moveUint
|
|
547
|
+
});
|
|
548
|
+
var MoleDepositSchema = z.looseObject({
|
|
549
|
+
"account": moveAddress,
|
|
550
|
+
"amount": moveUint,
|
|
551
|
+
"share": moveUint
|
|
552
|
+
});
|
|
553
|
+
var MoleHarvestSchema = z.looseObject({
|
|
554
|
+
"user": moveAddress,
|
|
555
|
+
"pid": moveUint,
|
|
556
|
+
"amount": moveUint,
|
|
557
|
+
"action_type": moveUint
|
|
558
|
+
});
|
|
559
|
+
var MoleKillSchema = z.looseObject({
|
|
560
|
+
"id": moveUint,
|
|
561
|
+
"killer": moveAddress,
|
|
562
|
+
"owner": moveAddress,
|
|
563
|
+
"posVal": moveUint,
|
|
564
|
+
"debt": moveUint,
|
|
565
|
+
"prize": moveUint,
|
|
566
|
+
"left": moveUint
|
|
567
|
+
});
|
|
568
|
+
var MoleWithdrawSchema = z.looseObject({
|
|
569
|
+
"account": moveAddress,
|
|
570
|
+
"share": moveUint,
|
|
571
|
+
"amount": moveUint
|
|
572
|
+
});
|
|
573
|
+
var MoleWorkSchema = z.looseObject({
|
|
574
|
+
"id": moveUint,
|
|
575
|
+
"loan": moveUint
|
|
576
|
+
});
|
|
577
|
+
var MomentumAddLiquiditySchema = z.looseObject({
|
|
578
|
+
"sender": moveAddress,
|
|
579
|
+
"pool_id": moveAddress,
|
|
580
|
+
"position_id": moveAddress,
|
|
581
|
+
"liquidity": moveUint,
|
|
582
|
+
"amount_x": moveUint,
|
|
583
|
+
"amount_y": moveUint
|
|
584
|
+
});
|
|
585
|
+
var MomentumCollectFeeSchema = z.looseObject({
|
|
586
|
+
"sender": moveAddress,
|
|
587
|
+
"pool_id": moveAddress,
|
|
588
|
+
"position_id": moveAddress,
|
|
589
|
+
"amount_x": moveUint,
|
|
590
|
+
"amount_y": moveUint
|
|
591
|
+
});
|
|
592
|
+
var MomentumCollectRewardSchema = z.looseObject({
|
|
593
|
+
"sender": moveAddress,
|
|
594
|
+
"pool_id": moveAddress,
|
|
595
|
+
"position_id": moveAddress,
|
|
596
|
+
"reward_coin_type": moveTypeName,
|
|
597
|
+
"amount": moveUint
|
|
598
|
+
});
|
|
599
|
+
var MomentumPoolCreatedSchema = z.looseObject({
|
|
600
|
+
"sender": moveAddress,
|
|
601
|
+
"pool_id": moveAddress,
|
|
602
|
+
"type_x": moveTypeName,
|
|
603
|
+
"type_y": moveTypeName,
|
|
604
|
+
"fee_rate": moveUint,
|
|
605
|
+
"tick_spacing": moveSmallUint
|
|
606
|
+
});
|
|
607
|
+
var MomentumRemoveLiquiditySchema = z.looseObject({
|
|
608
|
+
"sender": moveAddress,
|
|
609
|
+
"pool_id": moveAddress,
|
|
610
|
+
"position_id": moveAddress,
|
|
611
|
+
"liquidity": moveUint,
|
|
612
|
+
"amount_x": moveUint,
|
|
613
|
+
"amount_y": moveUint
|
|
614
|
+
});
|
|
615
|
+
var MomentumRepayFlashSwapSchema = z.looseObject({
|
|
616
|
+
"sender": moveAddress,
|
|
617
|
+
"pool_id": moveAddress,
|
|
618
|
+
"amount_x_debt": moveUint,
|
|
619
|
+
"amount_y_debt": moveUint,
|
|
620
|
+
"paid_x": moveUint,
|
|
621
|
+
"paid_y": moveUint,
|
|
622
|
+
"reserve_x": moveUint,
|
|
623
|
+
"reserve_y": moveUint
|
|
624
|
+
});
|
|
625
|
+
var MomentumSwapSchema = z.looseObject({
|
|
626
|
+
"sender": moveAddress,
|
|
627
|
+
"pool_id": moveAddress,
|
|
628
|
+
"x_for_y": moveBool,
|
|
629
|
+
"amount_x": moveUint,
|
|
630
|
+
"amount_y": moveUint,
|
|
631
|
+
"fee_amount": moveUint,
|
|
632
|
+
"liquidity": moveUint
|
|
633
|
+
});
|
|
634
|
+
var NaviBorrowSchema = z.looseObject({
|
|
635
|
+
"reserve": moveSmallUint,
|
|
636
|
+
"sender": moveAddress,
|
|
637
|
+
"amount": moveUint,
|
|
638
|
+
"market_id": moveUint
|
|
639
|
+
});
|
|
640
|
+
var NaviDepositSchema = z.looseObject({
|
|
641
|
+
"reserve": moveSmallUint,
|
|
642
|
+
"sender": moveAddress,
|
|
643
|
+
"amount": moveUint,
|
|
644
|
+
"market_id": moveUint
|
|
645
|
+
});
|
|
646
|
+
var NaviLiquidationSchema = z.looseObject({
|
|
647
|
+
"sender": moveAddress,
|
|
648
|
+
"user": moveAddress,
|
|
649
|
+
"collateral_asset": moveSmallUint,
|
|
650
|
+
"collateral_amount": moveUint,
|
|
651
|
+
"debt_asset": moveSmallUint,
|
|
652
|
+
"debt_amount": moveUint,
|
|
653
|
+
"market_id": moveUint
|
|
654
|
+
});
|
|
655
|
+
var NaviRepaySchema = z.looseObject({
|
|
656
|
+
"reserve": moveSmallUint,
|
|
657
|
+
"sender": moveAddress,
|
|
658
|
+
"amount": moveUint,
|
|
659
|
+
"market_id": moveUint
|
|
660
|
+
});
|
|
661
|
+
var NaviWithdrawSchema = z.looseObject({
|
|
662
|
+
"reserve": moveSmallUint,
|
|
663
|
+
"sender": moveAddress,
|
|
664
|
+
"to": moveAddress,
|
|
665
|
+
"amount": moveUint,
|
|
666
|
+
"market_id": moveUint
|
|
667
|
+
});
|
|
668
|
+
var PythPriceFeedUpdateSchema = z.looseObject({
|
|
669
|
+
"price_feed": z.unknown(),
|
|
670
|
+
"timestamp": moveUint
|
|
671
|
+
});
|
|
672
|
+
var ScallopBorrowSchema = z.looseObject({
|
|
673
|
+
"borrower": moveAddress,
|
|
674
|
+
"obligation": moveAddress,
|
|
675
|
+
"asset": moveTypeName,
|
|
676
|
+
"amount": moveUint,
|
|
677
|
+
"borrow_fee": moveUint,
|
|
678
|
+
"time": moveUint
|
|
679
|
+
});
|
|
680
|
+
var ScallopCollateralDepositSchema = z.looseObject({
|
|
681
|
+
"provider": moveAddress,
|
|
682
|
+
"obligation": moveAddress,
|
|
683
|
+
"deposit_asset": moveTypeName,
|
|
684
|
+
"deposit_amount": moveUint
|
|
685
|
+
});
|
|
686
|
+
var ScallopCollateralWithdrawSchema = z.looseObject({
|
|
687
|
+
"taker": moveAddress,
|
|
688
|
+
"obligation": moveAddress,
|
|
689
|
+
"withdraw_asset": moveTypeName,
|
|
690
|
+
"withdraw_amount": moveUint
|
|
691
|
+
});
|
|
692
|
+
var ScallopLiquidationSchema = z.looseObject({
|
|
693
|
+
"liquidator": moveAddress,
|
|
694
|
+
"obligation": moveAddress,
|
|
695
|
+
"debt_type": moveTypeName,
|
|
696
|
+
"collateral_type": moveTypeName,
|
|
697
|
+
"repay_on_behalf": moveUint,
|
|
698
|
+
"liq_amount": moveUint,
|
|
699
|
+
"timestamp": moveUint
|
|
700
|
+
});
|
|
701
|
+
var ScallopRepaySchema = z.looseObject({
|
|
702
|
+
"repayer": moveAddress,
|
|
703
|
+
"obligation": moveAddress,
|
|
704
|
+
"asset": moveTypeName,
|
|
705
|
+
"amount": moveUint,
|
|
706
|
+
"time": moveUint
|
|
707
|
+
});
|
|
708
|
+
var SpringsuiEpochChangedSchema = z.looseObject({
|
|
709
|
+
"event": z.looseObject({
|
|
710
|
+
"typename": moveTypeName,
|
|
711
|
+
"old_sui_supply": moveUint,
|
|
712
|
+
"new_sui_supply": moveUint,
|
|
713
|
+
"lst_supply": moveUint,
|
|
714
|
+
"spread_fee": moveUint
|
|
715
|
+
})
|
|
716
|
+
});
|
|
717
|
+
var SpringsuiStakeSchema = z.looseObject({
|
|
718
|
+
"event": z.looseObject({
|
|
719
|
+
"typename": moveTypeName,
|
|
720
|
+
"sui_amount_in": moveUint,
|
|
721
|
+
"lst_amount_out": moveUint,
|
|
722
|
+
"fee_amount": moveUint
|
|
723
|
+
})
|
|
724
|
+
});
|
|
725
|
+
var SpringsuiUnstakeSchema = z.looseObject({
|
|
726
|
+
"event": z.looseObject({
|
|
727
|
+
"typename": moveTypeName,
|
|
728
|
+
"lst_amount_in": moveUint,
|
|
729
|
+
"sui_amount_out": moveUint,
|
|
730
|
+
"fee_amount": moveUint
|
|
731
|
+
})
|
|
732
|
+
});
|
|
733
|
+
var SteammBankDepositSchema = z.looseObject({
|
|
734
|
+
"event": z.looseObject({
|
|
735
|
+
"user": moveAddress,
|
|
736
|
+
"bank_id": moveAddress,
|
|
737
|
+
"lending_market_id": moveAddress,
|
|
738
|
+
"deposited_amount": moveUint,
|
|
739
|
+
"minted_amount": moveUint
|
|
740
|
+
})
|
|
741
|
+
});
|
|
742
|
+
var SteammBankWithdrawSchema = z.looseObject({
|
|
743
|
+
"event": z.looseObject({
|
|
744
|
+
"user": moveAddress,
|
|
745
|
+
"bank_id": moveAddress,
|
|
746
|
+
"lending_market_id": moveAddress,
|
|
747
|
+
"withdrawn_amount": moveUint,
|
|
748
|
+
"burned_amount": moveUint
|
|
749
|
+
})
|
|
750
|
+
});
|
|
751
|
+
var SuilendBorrowSchema = z.looseObject({
|
|
752
|
+
"lending_market_id": moveAddress,
|
|
753
|
+
"coin_type": moveTypeName,
|
|
754
|
+
"reserve_id": moveAddress,
|
|
755
|
+
"obligation_id": moveAddress,
|
|
756
|
+
"liquidity_amount": moveUint,
|
|
757
|
+
"origination_fee_amount": moveUint
|
|
758
|
+
});
|
|
759
|
+
var SuilendClaimRewardSchema = z.looseObject({
|
|
760
|
+
"lending_market_id": moveAddress,
|
|
761
|
+
"reserve_id": moveAddress,
|
|
762
|
+
"obligation_id": moveAddress,
|
|
763
|
+
"is_deposit_reward": moveBool,
|
|
764
|
+
"coin_type": moveTypeName,
|
|
765
|
+
"liquidity_amount": moveUint
|
|
766
|
+
});
|
|
767
|
+
var SuilendDepositSchema = z.looseObject({
|
|
768
|
+
"lending_market_id": moveAddress,
|
|
769
|
+
"coin_type": moveTypeName,
|
|
770
|
+
"reserve_id": moveAddress,
|
|
771
|
+
"obligation_id": moveAddress,
|
|
772
|
+
"ctoken_amount": moveUint
|
|
773
|
+
});
|
|
774
|
+
var SuilendLiquidateSchema = z.looseObject({
|
|
775
|
+
"lending_market_id": moveAddress,
|
|
776
|
+
"obligation_id": moveAddress,
|
|
777
|
+
"repay_amount": moveUint,
|
|
778
|
+
"withdraw_amount": moveUint,
|
|
779
|
+
"protocol_fee_amount": moveUint,
|
|
780
|
+
"liquidator_bonus_amount": moveUint
|
|
781
|
+
});
|
|
782
|
+
var SuilendRepaySchema = z.looseObject({
|
|
783
|
+
"lending_market_id": moveAddress,
|
|
784
|
+
"coin_type": moveTypeName,
|
|
785
|
+
"reserve_id": moveAddress,
|
|
786
|
+
"obligation_id": moveAddress,
|
|
787
|
+
"liquidity_amount": moveUint
|
|
788
|
+
});
|
|
789
|
+
var SuilendWithdrawSchema = z.looseObject({
|
|
790
|
+
"lending_market_id": moveAddress,
|
|
791
|
+
"coin_type": moveTypeName,
|
|
792
|
+
"reserve_id": moveAddress,
|
|
793
|
+
"obligation_id": moveAddress,
|
|
794
|
+
"ctoken_amount": moveUint
|
|
795
|
+
});
|
|
796
|
+
var SupraPriceUpdateSchema = z.looseObject({
|
|
797
|
+
"pair": moveSmallUint,
|
|
798
|
+
"value": moveUint,
|
|
799
|
+
"decimal": moveSmallUint,
|
|
800
|
+
"timestamp": moveUint,
|
|
801
|
+
"round": moveUint
|
|
802
|
+
});
|
|
803
|
+
var TurbosAddLiquiditySchema = z.looseObject({
|
|
804
|
+
"pool": moveAddress,
|
|
805
|
+
"owner": moveAddress,
|
|
806
|
+
"amount_a": moveUint,
|
|
807
|
+
"amount_b": moveUint,
|
|
808
|
+
"liquidity_delta": moveUint
|
|
809
|
+
});
|
|
810
|
+
var TurbosPoolCreatedSchema = z.looseObject({
|
|
811
|
+
"account": moveAddress,
|
|
812
|
+
"pool": moveAddress,
|
|
813
|
+
"fee": moveSmallUint,
|
|
814
|
+
"tick_spacing": moveSmallUint,
|
|
815
|
+
"sqrt_price": moveUint
|
|
816
|
+
});
|
|
817
|
+
var TurbosRemoveLiquiditySchema = z.looseObject({
|
|
818
|
+
"pool": moveAddress,
|
|
819
|
+
"owner": moveAddress,
|
|
820
|
+
"amount_a": moveUint,
|
|
821
|
+
"amount_b": moveUint,
|
|
822
|
+
"liquidity_delta": moveUint
|
|
823
|
+
});
|
|
824
|
+
var TurbosSwapSchema = z.looseObject({
|
|
825
|
+
"pool": moveAddress,
|
|
826
|
+
"recipient": moveAddress,
|
|
827
|
+
"amount_a": moveUint,
|
|
828
|
+
"amount_b": moveUint,
|
|
829
|
+
"liquidity": moveUint,
|
|
830
|
+
"sqrt_price": moveUint,
|
|
831
|
+
"fee_amount": moveUint,
|
|
832
|
+
"a_to_b": moveBool
|
|
833
|
+
});
|
|
834
|
+
var TypusDovAuctionSchema = z.looseObject({
|
|
835
|
+
"signer": moveAddress,
|
|
836
|
+
"index": moveUint,
|
|
837
|
+
"round": moveUint,
|
|
838
|
+
"start_ts_ms": moveUint,
|
|
839
|
+
"end_ts_ms": moveUint,
|
|
840
|
+
"size": moveUint
|
|
841
|
+
});
|
|
842
|
+
var TypusDovBidSchema = z.looseObject({
|
|
843
|
+
"signer": moveAddress,
|
|
844
|
+
"index": moveUint,
|
|
845
|
+
"bid_index": moveUint,
|
|
846
|
+
"price": moveUint,
|
|
847
|
+
"size": moveUint,
|
|
848
|
+
"ts_ms": moveUint
|
|
849
|
+
});
|
|
850
|
+
var TypusDovSettleSchema = z.looseObject({
|
|
851
|
+
"signer": moveAddress,
|
|
852
|
+
"index": moveUint,
|
|
853
|
+
"round": moveUint,
|
|
854
|
+
"oracle_price": moveUint,
|
|
855
|
+
"settle_balance": moveUint,
|
|
856
|
+
"settled_balance": moveUint
|
|
857
|
+
});
|
|
858
|
+
var TypusPerpFundingSchema = z.looseObject({
|
|
859
|
+
"base_token": moveTypeName,
|
|
860
|
+
"new_funding_ts_ms": moveUint,
|
|
861
|
+
"cumulative_funding_rate_index": moveUint
|
|
862
|
+
});
|
|
863
|
+
var TypusPerpLiquidateSchema = z.looseObject({
|
|
864
|
+
"user": moveAddress,
|
|
865
|
+
"position_id": moveUint,
|
|
866
|
+
"collateral_price": moveUint,
|
|
867
|
+
"trading_price": moveUint,
|
|
868
|
+
"realized_liquidator_fee": moveUint
|
|
869
|
+
});
|
|
870
|
+
var TypusPerpLpBurnSchema = z.looseObject({
|
|
871
|
+
"sender": moveAddress,
|
|
872
|
+
"index": moveUint,
|
|
873
|
+
"burn_lp_amount": moveUint,
|
|
874
|
+
"withdraw_token_amount": moveUint
|
|
875
|
+
});
|
|
876
|
+
var TypusPerpLpMintSchema = z.looseObject({
|
|
877
|
+
"sender": moveAddress,
|
|
878
|
+
"index": moveUint,
|
|
879
|
+
"deposit_amount": moveUint,
|
|
880
|
+
"minted_lp_amount": moveUint
|
|
881
|
+
});
|
|
882
|
+
var TypusPerpOrderSchema = z.looseObject({
|
|
883
|
+
"user": moveAddress,
|
|
884
|
+
"market_index": moveUint,
|
|
885
|
+
"pool_index": moveUint,
|
|
886
|
+
"order_id": moveUint,
|
|
887
|
+
"collateral_amount": moveUint,
|
|
888
|
+
"leverage_mbp": moveUint,
|
|
889
|
+
"is_long": moveBool,
|
|
890
|
+
"size": moveUint,
|
|
891
|
+
"trigger_price": moveUint
|
|
892
|
+
});
|
|
893
|
+
var VoloStakedSchema = z.looseObject({
|
|
894
|
+
"staker": moveAddress,
|
|
895
|
+
"sui_amount": moveUint,
|
|
896
|
+
"cert_amount": moveUint
|
|
897
|
+
});
|
|
898
|
+
var VoloUnstakedSchema = z.looseObject({
|
|
899
|
+
"staker": moveAddress,
|
|
900
|
+
"cert_amount": moveUint,
|
|
901
|
+
"sui_amount": moveUint
|
|
902
|
+
});
|
|
903
|
+
var WalrusBlobCertifiedSchema = z.looseObject({
|
|
904
|
+
"epoch": moveSmallUint,
|
|
905
|
+
"blob_id": moveUint,
|
|
906
|
+
"end_epoch": moveSmallUint,
|
|
907
|
+
"deletable": moveBool,
|
|
908
|
+
"object_id": moveAddress
|
|
909
|
+
});
|
|
910
|
+
var WalrusBlobDeletedSchema = z.looseObject({
|
|
911
|
+
"epoch": moveSmallUint,
|
|
912
|
+
"blob_id": moveUint,
|
|
913
|
+
"end_epoch": moveSmallUint,
|
|
914
|
+
"object_id": moveAddress,
|
|
915
|
+
"was_certified": moveBool
|
|
916
|
+
});
|
|
917
|
+
var WalrusBlobRegisteredSchema = z.looseObject({
|
|
918
|
+
"epoch": moveSmallUint,
|
|
919
|
+
"blob_id": moveUint,
|
|
920
|
+
"size": moveUint,
|
|
921
|
+
"end_epoch": moveSmallUint,
|
|
922
|
+
"deletable": moveBool,
|
|
923
|
+
"object_id": moveAddress
|
|
924
|
+
});
|
|
925
|
+
var catalogEvents = {
|
|
926
|
+
"7k.confirm-swap": {
|
|
927
|
+
id: "7k.confirm-swap",
|
|
928
|
+
protocolId: "7k",
|
|
929
|
+
label: "7K \u2014 Swap confirmed",
|
|
930
|
+
category: "swap",
|
|
931
|
+
description: "A completed 7K aggregator trade (per-trade settlement summary).",
|
|
932
|
+
generic: false,
|
|
933
|
+
schema: _7kConfirmSwapSchema,
|
|
934
|
+
deployments: [
|
|
935
|
+
{ network: "mainnet", eventType: "0x33ec64e9bb369bf045ddc198c81adbf2acab424da37465d95296ee02045d2b17::router::ConfirmSwapEvent", primary: true }
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
"7k.swap": {
|
|
939
|
+
id: "7k.swap",
|
|
940
|
+
protocolId: "7k",
|
|
941
|
+
label: "7K \u2014 Swap (route leg)",
|
|
942
|
+
category: "swap",
|
|
943
|
+
description: "A single routing-leg swap on the 7K aggregator (per pool/DEX).",
|
|
944
|
+
generic: false,
|
|
945
|
+
schema: _7kSwapSchema,
|
|
946
|
+
deployments: [
|
|
947
|
+
{ network: "mainnet", eventType: "0x33ec64e9bb369bf045ddc198c81adbf2acab424da37465d95296ee02045d2b17::router::SwapEvent", primary: true }
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"aftermath.deposit": {
|
|
951
|
+
id: "aftermath.deposit",
|
|
952
|
+
protocolId: "aftermath",
|
|
953
|
+
label: "Aftermath \u2014 Add liquidity",
|
|
954
|
+
category: "liquidity",
|
|
955
|
+
description: "Liquidity was deposited into an Aftermath AMM pool.",
|
|
956
|
+
generic: false,
|
|
957
|
+
schema: AftermathDepositSchema,
|
|
958
|
+
deployments: [
|
|
959
|
+
{ network: "mainnet", eventType: "0xc4049b2d1cc0f6e017fda8260e4377cecd236bd7f56a54fee120816e72e2e0dd::events::DepositEventV2", primary: true }
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
"aftermath.perp-funding": {
|
|
963
|
+
id: "aftermath.perp-funding",
|
|
964
|
+
protocolId: "aftermath",
|
|
965
|
+
label: "Aftermath \u2014 Funding settled (Perps)",
|
|
966
|
+
category: "funding",
|
|
967
|
+
description: "Funding was settled for an Aftermath perpetuals account.",
|
|
968
|
+
generic: false,
|
|
969
|
+
schema: AftermathPerpFundingSchema,
|
|
970
|
+
deployments: [
|
|
971
|
+
{ network: "mainnet", eventType: "0x21d001e8b07da2e3facb3e2d636bbaef43ba3c978bd84810368840b7d57c5068::events::SettledFunding", primary: true }
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
"aftermath.perp-liquidated": {
|
|
975
|
+
id: "aftermath.perp-liquidated",
|
|
976
|
+
protocolId: "aftermath",
|
|
977
|
+
label: "Aftermath \u2014 Position liquidated (Perps)",
|
|
978
|
+
category: "liquidation",
|
|
979
|
+
description: "A perpetuals position was liquidated on Aftermath.",
|
|
980
|
+
generic: false,
|
|
981
|
+
schema: AftermathPerpLiquidatedSchema,
|
|
982
|
+
deployments: [
|
|
983
|
+
{ network: "mainnet", eventType: "0x21d001e8b07da2e3facb3e2d636bbaef43ba3c978bd84810368840b7d57c5068::events::LiquidatedPosition", primary: true }
|
|
984
|
+
]
|
|
985
|
+
},
|
|
986
|
+
"aftermath.swap": {
|
|
987
|
+
id: "aftermath.swap",
|
|
988
|
+
protocolId: "aftermath",
|
|
989
|
+
label: "Aftermath \u2014 Swap",
|
|
990
|
+
category: "swap",
|
|
991
|
+
description: "A swap was executed on an Aftermath AMM pool.",
|
|
992
|
+
generic: false,
|
|
993
|
+
schema: AftermathSwapSchema,
|
|
994
|
+
deployments: [
|
|
995
|
+
{ network: "mainnet", eventType: "0xc4049b2d1cc0f6e017fda8260e4377cecd236bd7f56a54fee120816e72e2e0dd::events::SwapEventV2", primary: true }
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
"alphafi.liquidity-change": {
|
|
999
|
+
id: "alphafi.liquidity-change",
|
|
1000
|
+
protocolId: "alphafi",
|
|
1001
|
+
label: "AlphaFi \u2014 Vault deposit/withdraw",
|
|
1002
|
+
category: "vault",
|
|
1003
|
+
description: "A deposit or withdrawal on an AlphaFi vault (event_type: 1 = deposit, 0 = withdraw).",
|
|
1004
|
+
generic: false,
|
|
1005
|
+
schema: AlphafiLiquidityChangeSchema,
|
|
1006
|
+
deployments: [
|
|
1007
|
+
{ network: "mainnet", eventType: "0x754afbce8c72c8e491e3b9d536aa9d9766fdbc68650224ce01072189b235eee3::alphafi_bluefin_type_1_pool::LiquidityChangeEvent", primary: true }
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
"alphafi.reward": {
|
|
1011
|
+
id: "alphafi.reward",
|
|
1012
|
+
protocolId: "alphafi",
|
|
1013
|
+
label: "AlphaFi \u2014 Reward harvest",
|
|
1014
|
+
category: "reward",
|
|
1015
|
+
description: "An AlphaFi vault auto-compounded its rewards.",
|
|
1016
|
+
generic: false,
|
|
1017
|
+
schema: AlphafiRewardSchema,
|
|
1018
|
+
deployments: [
|
|
1019
|
+
{ network: "mainnet", eventType: "0x830ce657bd8547460bdb1a5e5a7607d4641a73593a23165c8630c0d310a3f306::alphafi_bluefin_type_1_pool::RewardEvent", primary: true }
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
1022
|
+
"bluefin.fee-collected": {
|
|
1023
|
+
id: "bluefin.fee-collected",
|
|
1024
|
+
protocolId: "bluefin",
|
|
1025
|
+
label: "Bluefin \u2014 Fee collected",
|
|
1026
|
+
category: "fee",
|
|
1027
|
+
description: "Trading fees were collected from a Bluefin position.",
|
|
1028
|
+
generic: false,
|
|
1029
|
+
schema: BluefinFeeCollectedSchema,
|
|
1030
|
+
deployments: [
|
|
1031
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserFeeCollected", primary: true }
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
"bluefin.liquidity-provided": {
|
|
1035
|
+
id: "bluefin.liquidity-provided",
|
|
1036
|
+
protocolId: "bluefin",
|
|
1037
|
+
label: "Bluefin \u2014 Liquidity provided",
|
|
1038
|
+
category: "liquidity",
|
|
1039
|
+
description: "Liquidity was provided to a Bluefin position.",
|
|
1040
|
+
generic: false,
|
|
1041
|
+
schema: BluefinLiquidityProvidedSchema,
|
|
1042
|
+
deployments: [
|
|
1043
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::LiquidityProvided", primary: true }
|
|
1044
|
+
]
|
|
1045
|
+
},
|
|
1046
|
+
"bluefin.liquidity-removed": {
|
|
1047
|
+
id: "bluefin.liquidity-removed",
|
|
1048
|
+
protocolId: "bluefin",
|
|
1049
|
+
label: "Bluefin \u2014 Liquidity removed",
|
|
1050
|
+
category: "liquidity",
|
|
1051
|
+
description: "Liquidity was removed from a Bluefin position.",
|
|
1052
|
+
generic: false,
|
|
1053
|
+
schema: BluefinLiquidityRemovedSchema,
|
|
1054
|
+
deployments: [
|
|
1055
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::LiquidityRemoved", primary: true }
|
|
1056
|
+
]
|
|
1057
|
+
},
|
|
1058
|
+
"bluefin.pool-created": {
|
|
1059
|
+
id: "bluefin.pool-created",
|
|
1060
|
+
protocolId: "bluefin",
|
|
1061
|
+
label: "Bluefin \u2014 Pool created",
|
|
1062
|
+
category: "pool",
|
|
1063
|
+
description: "A new Bluefin spot pool was created.",
|
|
1064
|
+
generic: false,
|
|
1065
|
+
schema: BluefinPoolCreatedSchema,
|
|
1066
|
+
deployments: [
|
|
1067
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::PoolCreated", primary: true }
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
"bluefin.position-closed": {
|
|
1071
|
+
id: "bluefin.position-closed",
|
|
1072
|
+
protocolId: "bluefin",
|
|
1073
|
+
label: "Bluefin \u2014 Position closed",
|
|
1074
|
+
category: "position",
|
|
1075
|
+
description: "A Bluefin liquidity position was closed.",
|
|
1076
|
+
generic: false,
|
|
1077
|
+
schema: BluefinPositionClosedSchema,
|
|
1078
|
+
deployments: [
|
|
1079
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::PositionClosed", primary: true }
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
"bluefin.position-opened": {
|
|
1083
|
+
id: "bluefin.position-opened",
|
|
1084
|
+
protocolId: "bluefin",
|
|
1085
|
+
label: "Bluefin \u2014 Position opened",
|
|
1086
|
+
category: "position",
|
|
1087
|
+
description: "A new Bluefin liquidity position was opened.",
|
|
1088
|
+
generic: false,
|
|
1089
|
+
schema: BluefinPositionOpenedSchema,
|
|
1090
|
+
deployments: [
|
|
1091
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::PositionOpened", primary: true }
|
|
1092
|
+
]
|
|
1093
|
+
},
|
|
1094
|
+
"bluefin.reward-collected": {
|
|
1095
|
+
id: "bluefin.reward-collected",
|
|
1096
|
+
protocolId: "bluefin",
|
|
1097
|
+
label: "Bluefin \u2014 Reward collected",
|
|
1098
|
+
category: "reward",
|
|
1099
|
+
description: "Incentive rewards were collected from a Bluefin position.",
|
|
1100
|
+
generic: false,
|
|
1101
|
+
schema: BluefinRewardCollectedSchema,
|
|
1102
|
+
deployments: [
|
|
1103
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserRewardCollected", primary: true }
|
|
1104
|
+
]
|
|
1105
|
+
},
|
|
1106
|
+
"bluefin.swap": {
|
|
1107
|
+
id: "bluefin.swap",
|
|
1108
|
+
protocolId: "bluefin",
|
|
1109
|
+
label: "Bluefin \u2014 Swap",
|
|
1110
|
+
category: "swap",
|
|
1111
|
+
description: "An asset swap was executed on a Bluefin spot pool.",
|
|
1112
|
+
generic: false,
|
|
1113
|
+
schema: BluefinSwapSchema,
|
|
1114
|
+
deployments: [
|
|
1115
|
+
{ network: "mainnet", eventType: "0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::AssetSwap", primary: true }
|
|
1116
|
+
]
|
|
1117
|
+
},
|
|
1118
|
+
"bucket.borrow": {
|
|
1119
|
+
id: "bucket.borrow",
|
|
1120
|
+
protocolId: "bucket",
|
|
1121
|
+
label: "Bucket \u2014 Borrow (mint BUCK)",
|
|
1122
|
+
category: "borrow",
|
|
1123
|
+
description: "BUCK was minted against collateral in a Bucket CDP.",
|
|
1124
|
+
generic: false,
|
|
1125
|
+
schema: BucketBorrowSchema,
|
|
1126
|
+
deployments: [
|
|
1127
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck_events::BuckMinted", primary: true }
|
|
1128
|
+
]
|
|
1129
|
+
},
|
|
1130
|
+
"bucket.deposit-collateral": {
|
|
1131
|
+
id: "bucket.deposit-collateral",
|
|
1132
|
+
protocolId: "bucket",
|
|
1133
|
+
label: "Bucket \u2014 Deposit collateral",
|
|
1134
|
+
category: "supply",
|
|
1135
|
+
description: "Collateral was added to a Bucket CDP.",
|
|
1136
|
+
generic: false,
|
|
1137
|
+
schema: BucketDepositCollateralSchema,
|
|
1138
|
+
deployments: [
|
|
1139
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck_events::CollateralIncreased", primary: true }
|
|
1140
|
+
]
|
|
1141
|
+
},
|
|
1142
|
+
"bucket.position-updated": {
|
|
1143
|
+
id: "bucket.position-updated",
|
|
1144
|
+
protocolId: "bucket",
|
|
1145
|
+
label: "Bucket \u2014 Position updated",
|
|
1146
|
+
category: "position",
|
|
1147
|
+
description: "A Bucket CDP position (bottle) changed state.",
|
|
1148
|
+
generic: false,
|
|
1149
|
+
schema: BucketPositionUpdatedSchema,
|
|
1150
|
+
deployments: [
|
|
1151
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::bucket_events::BottleUpdated", primary: true }
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
"bucket.redeem": {
|
|
1155
|
+
id: "bucket.redeem",
|
|
1156
|
+
protocolId: "bucket",
|
|
1157
|
+
label: "Bucket \u2014 Redeem",
|
|
1158
|
+
category: "liquidation",
|
|
1159
|
+
description: "BUCK was redeemed for collateral on a Bucket CDP.",
|
|
1160
|
+
generic: false,
|
|
1161
|
+
schema: BucketRedeemSchema,
|
|
1162
|
+
deployments: [
|
|
1163
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::bucket_events::Redeem", primary: true }
|
|
1164
|
+
]
|
|
1165
|
+
},
|
|
1166
|
+
"bucket.repay": {
|
|
1167
|
+
id: "bucket.repay",
|
|
1168
|
+
protocolId: "bucket",
|
|
1169
|
+
label: "Bucket \u2014 Repay (burn BUCK)",
|
|
1170
|
+
category: "repay",
|
|
1171
|
+
description: "BUCK was burned to repay debt in a Bucket CDP.",
|
|
1172
|
+
generic: false,
|
|
1173
|
+
schema: BucketRepaySchema,
|
|
1174
|
+
deployments: [
|
|
1175
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck_events::BuckBurnt", primary: true }
|
|
1176
|
+
]
|
|
1177
|
+
},
|
|
1178
|
+
"bucket.sbuck-deposit": {
|
|
1179
|
+
id: "bucket.sbuck-deposit",
|
|
1180
|
+
protocolId: "bucket",
|
|
1181
|
+
label: "Bucket \u2014 sBUCK deposit",
|
|
1182
|
+
category: "supply",
|
|
1183
|
+
description: "BUCK was deposited into the sBUCK savings vault.",
|
|
1184
|
+
generic: false,
|
|
1185
|
+
schema: BucketSbuckDepositSchema,
|
|
1186
|
+
deployments: [
|
|
1187
|
+
{ network: "mainnet", eventType: "0x1798f84ee72176114ddbf5525a6d964c5f8ea1b3738d08d50d0d3de4cf584884::event::Deposit", primary: true }
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
"bucket.sbuck-rewards": {
|
|
1191
|
+
id: "bucket.sbuck-rewards",
|
|
1192
|
+
protocolId: "bucket",
|
|
1193
|
+
label: "Bucket \u2014 sBUCK rewards collected",
|
|
1194
|
+
category: "reward",
|
|
1195
|
+
description: "Rewards were collected from the sBUCK savings vault.",
|
|
1196
|
+
generic: false,
|
|
1197
|
+
schema: BucketSbuckRewardsSchema,
|
|
1198
|
+
deployments: [
|
|
1199
|
+
{ network: "mainnet", eventType: "0x1798f84ee72176114ddbf5525a6d964c5f8ea1b3738d08d50d0d3de4cf584884::event::CollectRewards", primary: true }
|
|
1200
|
+
]
|
|
1201
|
+
},
|
|
1202
|
+
"bucket.withdraw-collateral": {
|
|
1203
|
+
id: "bucket.withdraw-collateral",
|
|
1204
|
+
protocolId: "bucket",
|
|
1205
|
+
label: "Bucket \u2014 Withdraw collateral",
|
|
1206
|
+
category: "withdraw",
|
|
1207
|
+
description: "Collateral was removed from a Bucket CDP.",
|
|
1208
|
+
generic: false,
|
|
1209
|
+
schema: BucketWithdrawCollateralSchema,
|
|
1210
|
+
deployments: [
|
|
1211
|
+
{ network: "mainnet", eventType: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck_events::CollateralDecreased", primary: true }
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
"cetus.add-liquidity": {
|
|
1215
|
+
id: "cetus.add-liquidity",
|
|
1216
|
+
protocolId: "cetus",
|
|
1217
|
+
label: "Cetus \u2014 Add liquidity",
|
|
1218
|
+
category: "liquidity",
|
|
1219
|
+
description: "Liquidity was added to a Cetus position.",
|
|
1220
|
+
generic: false,
|
|
1221
|
+
schema: CetusAddLiquiditySchema,
|
|
1222
|
+
deployments: [
|
|
1223
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::AddLiquidityEvent", primary: true }
|
|
1224
|
+
]
|
|
1225
|
+
},
|
|
1226
|
+
"cetus.close-position": {
|
|
1227
|
+
id: "cetus.close-position",
|
|
1228
|
+
protocolId: "cetus",
|
|
1229
|
+
label: "Cetus \u2014 Close position",
|
|
1230
|
+
category: "position",
|
|
1231
|
+
description: "A Cetus liquidity position was closed.",
|
|
1232
|
+
generic: false,
|
|
1233
|
+
schema: CetusClosePositionSchema,
|
|
1234
|
+
deployments: [
|
|
1235
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::ClosePositionEvent", primary: true }
|
|
1236
|
+
]
|
|
1237
|
+
},
|
|
1238
|
+
"cetus.collect-fee": {
|
|
1239
|
+
id: "cetus.collect-fee",
|
|
1240
|
+
protocolId: "cetus",
|
|
1241
|
+
label: "Cetus \u2014 Collect fee",
|
|
1242
|
+
category: "fee",
|
|
1243
|
+
description: "Accrued swap fees were collected from a Cetus position.",
|
|
1244
|
+
generic: false,
|
|
1245
|
+
schema: CetusCollectFeeSchema,
|
|
1246
|
+
deployments: [
|
|
1247
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::CollectFeeEvent", primary: true }
|
|
1248
|
+
]
|
|
1249
|
+
},
|
|
1250
|
+
"cetus.create-pool": {
|
|
1251
|
+
id: "cetus.create-pool",
|
|
1252
|
+
protocolId: "cetus",
|
|
1253
|
+
label: "Cetus \u2014 Create pool",
|
|
1254
|
+
category: "pool",
|
|
1255
|
+
description: "A new Cetus CLMM pool was created via the factory.",
|
|
1256
|
+
generic: false,
|
|
1257
|
+
schema: CetusCreatePoolSchema,
|
|
1258
|
+
deployments: [
|
|
1259
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::factory::CreatePoolEvent", primary: true }
|
|
1260
|
+
]
|
|
1261
|
+
},
|
|
1262
|
+
"cetus.open-position": {
|
|
1263
|
+
id: "cetus.open-position",
|
|
1264
|
+
protocolId: "cetus",
|
|
1265
|
+
label: "Cetus \u2014 Open position",
|
|
1266
|
+
category: "position",
|
|
1267
|
+
description: "A new Cetus liquidity position was opened.",
|
|
1268
|
+
generic: false,
|
|
1269
|
+
schema: CetusOpenPositionSchema,
|
|
1270
|
+
deployments: [
|
|
1271
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::OpenPositionEvent", primary: true }
|
|
1272
|
+
]
|
|
1273
|
+
},
|
|
1274
|
+
"cetus.remove-liquidity": {
|
|
1275
|
+
id: "cetus.remove-liquidity",
|
|
1276
|
+
protocolId: "cetus",
|
|
1277
|
+
label: "Cetus \u2014 Remove liquidity",
|
|
1278
|
+
category: "liquidity",
|
|
1279
|
+
description: "Liquidity was removed from a Cetus position.",
|
|
1280
|
+
generic: false,
|
|
1281
|
+
schema: CetusRemoveLiquiditySchema,
|
|
1282
|
+
deployments: [
|
|
1283
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::RemoveLiquidityEvent", primary: true }
|
|
1284
|
+
]
|
|
1285
|
+
},
|
|
1286
|
+
"cetus.swap": {
|
|
1287
|
+
id: "cetus.swap",
|
|
1288
|
+
protocolId: "cetus",
|
|
1289
|
+
label: "Cetus \u2014 Swap",
|
|
1290
|
+
category: "swap",
|
|
1291
|
+
description: "A token swap was executed on a Cetus CLMM pool.",
|
|
1292
|
+
generic: false,
|
|
1293
|
+
schema: CetusSwapSchema,
|
|
1294
|
+
deployments: [
|
|
1295
|
+
{ network: "mainnet", eventType: "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::pool::SwapEvent", primary: true }
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
"current.borrow": {
|
|
1299
|
+
id: "current.borrow",
|
|
1300
|
+
protocolId: "current",
|
|
1301
|
+
label: "Current \u2014 Borrow",
|
|
1302
|
+
category: "borrow",
|
|
1303
|
+
description: "Assets were borrowed from a Current lending market.",
|
|
1304
|
+
generic: false,
|
|
1305
|
+
schema: CurrentBorrowSchema,
|
|
1306
|
+
deployments: [
|
|
1307
|
+
{ network: "mainnet", eventType: "0xfe1d8929d13b00aaecd7642dec1c6d41cab82882a1b139efa46bf61dfd6380bf::borrow::BorrowEvent", primary: true }
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
"current.deposit": {
|
|
1311
|
+
id: "current.deposit",
|
|
1312
|
+
protocolId: "current",
|
|
1313
|
+
label: "Current \u2014 Deposit",
|
|
1314
|
+
category: "supply",
|
|
1315
|
+
description: "Assets were deposited (supplied) to a Current lending market.",
|
|
1316
|
+
generic: false,
|
|
1317
|
+
schema: CurrentDepositSchema,
|
|
1318
|
+
deployments: [
|
|
1319
|
+
{ network: "mainnet", eventType: "0xfe1d8929d13b00aaecd7642dec1c6d41cab82882a1b139efa46bf61dfd6380bf::deposit::DepositEvent", primary: true }
|
|
1320
|
+
]
|
|
1321
|
+
},
|
|
1322
|
+
"current.liquidate": {
|
|
1323
|
+
id: "current.liquidate",
|
|
1324
|
+
protocolId: "current",
|
|
1325
|
+
label: "Current \u2014 Liquidation",
|
|
1326
|
+
category: "liquidation",
|
|
1327
|
+
description: "A Current obligation was liquidated.",
|
|
1328
|
+
generic: false,
|
|
1329
|
+
schema: CurrentLiquidateSchema,
|
|
1330
|
+
deployments: [
|
|
1331
|
+
{ network: "mainnet", eventType: "0xfe1d8929d13b00aaecd7642dec1c6d41cab82882a1b139efa46bf61dfd6380bf::liquidate::LiquidateEvent", primary: true }
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1334
|
+
"current.repay": {
|
|
1335
|
+
id: "current.repay",
|
|
1336
|
+
protocolId: "current",
|
|
1337
|
+
label: "Current \u2014 Repay",
|
|
1338
|
+
category: "repay",
|
|
1339
|
+
description: "A Current loan was repaid.",
|
|
1340
|
+
generic: false,
|
|
1341
|
+
schema: CurrentRepaySchema,
|
|
1342
|
+
deployments: [
|
|
1343
|
+
{ network: "mainnet", eventType: "0xfe1d8929d13b00aaecd7642dec1c6d41cab82882a1b139efa46bf61dfd6380bf::repay::RepayEvent", primary: true }
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1346
|
+
"current.withdraw": {
|
|
1347
|
+
id: "current.withdraw",
|
|
1348
|
+
protocolId: "current",
|
|
1349
|
+
label: "Current \u2014 Withdraw",
|
|
1350
|
+
category: "withdraw",
|
|
1351
|
+
description: "Assets were withdrawn from a Current lending market.",
|
|
1352
|
+
generic: false,
|
|
1353
|
+
schema: CurrentWithdrawSchema,
|
|
1354
|
+
deployments: [
|
|
1355
|
+
{ network: "mainnet", eventType: "0xfe1d8929d13b00aaecd7642dec1c6d41cab82882a1b139efa46bf61dfd6380bf::withdraw::WithdrawEvent", primary: true }
|
|
1356
|
+
]
|
|
1357
|
+
},
|
|
1358
|
+
"deepbook.balance": {
|
|
1359
|
+
id: "deepbook.balance",
|
|
1360
|
+
protocolId: "deepbook",
|
|
1361
|
+
label: "DeepBook \u2014 Balance change",
|
|
1362
|
+
category: "fee",
|
|
1363
|
+
description: "A deposit or withdrawal on a DeepBook balance manager.",
|
|
1364
|
+
generic: false,
|
|
1365
|
+
schema: DeepbookBalanceSchema,
|
|
1366
|
+
deployments: [
|
|
1367
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::balance_manager::BalanceEvent", primary: true }
|
|
1368
|
+
]
|
|
1369
|
+
},
|
|
1370
|
+
"deepbook.flash-loan": {
|
|
1371
|
+
id: "deepbook.flash-loan",
|
|
1372
|
+
protocolId: "deepbook",
|
|
1373
|
+
label: "DeepBook \u2014 Flash loan borrowed",
|
|
1374
|
+
category: "fee",
|
|
1375
|
+
description: "A flash loan was borrowed from a DeepBook pool.",
|
|
1376
|
+
generic: false,
|
|
1377
|
+
schema: DeepbookFlashLoanSchema,
|
|
1378
|
+
deployments: [
|
|
1379
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::vault::FlashLoanBorrowed", primary: true }
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1382
|
+
"deepbook.order-canceled": {
|
|
1383
|
+
id: "deepbook.order-canceled",
|
|
1384
|
+
protocolId: "deepbook",
|
|
1385
|
+
label: "DeepBook \u2014 Order canceled",
|
|
1386
|
+
category: "order",
|
|
1387
|
+
description: "A DeepBook maker order was canceled.",
|
|
1388
|
+
generic: false,
|
|
1389
|
+
schema: DeepbookOrderCanceledSchema,
|
|
1390
|
+
deployments: [
|
|
1391
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::order::OrderCanceled", primary: true }
|
|
1392
|
+
]
|
|
1393
|
+
},
|
|
1394
|
+
"deepbook.order-filled": {
|
|
1395
|
+
id: "deepbook.order-filled",
|
|
1396
|
+
protocolId: "deepbook",
|
|
1397
|
+
label: "DeepBook \u2014 Order filled",
|
|
1398
|
+
category: "order",
|
|
1399
|
+
description: "A DeepBook order was filled (partially or fully).",
|
|
1400
|
+
generic: false,
|
|
1401
|
+
schema: DeepbookOrderFilledSchema,
|
|
1402
|
+
deployments: [
|
|
1403
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::order_info::OrderFilled", primary: true }
|
|
1404
|
+
]
|
|
1405
|
+
},
|
|
1406
|
+
"deepbook.order-info": {
|
|
1407
|
+
id: "deepbook.order-info",
|
|
1408
|
+
protocolId: "deepbook",
|
|
1409
|
+
label: "DeepBook \u2014 Order update",
|
|
1410
|
+
category: "order",
|
|
1411
|
+
description: "An order's lifecycle update on a DeepBook pool (placed/filled/status).",
|
|
1412
|
+
generic: false,
|
|
1413
|
+
schema: DeepbookOrderInfoSchema,
|
|
1414
|
+
deployments: [
|
|
1415
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::order_info::OrderInfo", primary: true }
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1418
|
+
"deepbook.order-placed": {
|
|
1419
|
+
id: "deepbook.order-placed",
|
|
1420
|
+
protocolId: "deepbook",
|
|
1421
|
+
label: "DeepBook \u2014 Order placed",
|
|
1422
|
+
category: "order",
|
|
1423
|
+
description: "A maker limit order was placed on a DeepBook pool.",
|
|
1424
|
+
generic: false,
|
|
1425
|
+
schema: DeepbookOrderPlacedSchema,
|
|
1426
|
+
deployments: [
|
|
1427
|
+
{ network: "mainnet", eventType: "0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809::order_info::OrderPlaced", primary: true }
|
|
1428
|
+
]
|
|
1429
|
+
},
|
|
1430
|
+
"ember.deposit": {
|
|
1431
|
+
id: "ember.deposit",
|
|
1432
|
+
protocolId: "ember",
|
|
1433
|
+
label: "Ember \u2014 Vault deposit",
|
|
1434
|
+
category: "vault",
|
|
1435
|
+
description: "A deposit into an Ember vault (matches all deposit coin types).",
|
|
1436
|
+
generic: true,
|
|
1437
|
+
schema: EmberDepositSchema,
|
|
1438
|
+
deployments: [
|
|
1439
|
+
{ network: "mainnet", eventType: "0xc83d5406fd355f34d3ce87b35ab2c0b099af9d309ba96c17e40309502a49976f::events::VaultDepositEvent", primary: true }
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
"ember.rate-updated": {
|
|
1443
|
+
id: "ember.rate-updated",
|
|
1444
|
+
protocolId: "ember",
|
|
1445
|
+
label: "Ember \u2014 Vault rate updated",
|
|
1446
|
+
category: "reward",
|
|
1447
|
+
description: "An Ember vault's share rate (price) was updated.",
|
|
1448
|
+
generic: false,
|
|
1449
|
+
schema: EmberRateUpdatedSchema,
|
|
1450
|
+
deployments: [
|
|
1451
|
+
{ network: "mainnet", eventType: "0xc83d5406fd355f34d3ce87b35ab2c0b099af9d309ba96c17e40309502a49976f::events::VaultRateUpdatedEvent", primary: true }
|
|
1452
|
+
]
|
|
1453
|
+
},
|
|
1454
|
+
"ember.redeem-processed": {
|
|
1455
|
+
id: "ember.redeem-processed",
|
|
1456
|
+
protocolId: "ember",
|
|
1457
|
+
label: "Ember \u2014 Redeem processed",
|
|
1458
|
+
category: "withdraw",
|
|
1459
|
+
description: "A queued Ember redeem request was processed.",
|
|
1460
|
+
generic: true,
|
|
1461
|
+
schema: EmberRedeemProcessedSchema,
|
|
1462
|
+
deployments: [
|
|
1463
|
+
{ network: "mainnet", eventType: "0xc83d5406fd355f34d3ce87b35ab2c0b099af9d309ba96c17e40309502a49976f::events::RequestProcessedEvent", primary: true }
|
|
1464
|
+
]
|
|
1465
|
+
},
|
|
1466
|
+
"ember.redeem-request": {
|
|
1467
|
+
id: "ember.redeem-request",
|
|
1468
|
+
protocolId: "ember",
|
|
1469
|
+
label: "Ember \u2014 Redeem requested",
|
|
1470
|
+
category: "withdraw",
|
|
1471
|
+
description: "A redeem (withdrawal) was requested from an Ember vault.",
|
|
1472
|
+
generic: true,
|
|
1473
|
+
schema: EmberRedeemRequestSchema,
|
|
1474
|
+
deployments: [
|
|
1475
|
+
{ network: "mainnet", eventType: "0xc83d5406fd355f34d3ce87b35ab2c0b099af9d309ba96c17e40309502a49976f::events::RequestRedeemedEvent", primary: true }
|
|
1476
|
+
]
|
|
1477
|
+
},
|
|
1478
|
+
"flowx.amm-pair-created": {
|
|
1479
|
+
id: "flowx.amm-pair-created",
|
|
1480
|
+
protocolId: "flowx",
|
|
1481
|
+
label: "FlowX \u2014 Pair created (AMM)",
|
|
1482
|
+
category: "pool",
|
|
1483
|
+
description: "A new FlowX AMM trading pair was created.",
|
|
1484
|
+
generic: false,
|
|
1485
|
+
schema: FlowxAmmPairCreatedSchema,
|
|
1486
|
+
deployments: [
|
|
1487
|
+
{ network: "mainnet", eventType: "0xba153169476e8c3114962261d1edc70de5ad9781b83cc617ecc8c1923191cae0::factory::PairCreated", primary: true }
|
|
1488
|
+
]
|
|
1489
|
+
},
|
|
1490
|
+
"flowx.amm-swap": {
|
|
1491
|
+
id: "flowx.amm-swap",
|
|
1492
|
+
protocolId: "flowx",
|
|
1493
|
+
label: "FlowX \u2014 Swap (AMM)",
|
|
1494
|
+
category: "swap",
|
|
1495
|
+
description: "A swap was executed on a FlowX AMM pair.",
|
|
1496
|
+
generic: false,
|
|
1497
|
+
schema: FlowxAmmSwapSchema,
|
|
1498
|
+
deployments: [
|
|
1499
|
+
{ network: "mainnet", eventType: "0xba153169476e8c3114962261d1edc70de5ad9781b83cc617ecc8c1923191cae0::pair::Swapped", primary: true }
|
|
1500
|
+
]
|
|
1501
|
+
},
|
|
1502
|
+
"flowx.clmm-pool-created": {
|
|
1503
|
+
id: "flowx.clmm-pool-created",
|
|
1504
|
+
protocolId: "flowx",
|
|
1505
|
+
label: "FlowX \u2014 Pool created (CLMM)",
|
|
1506
|
+
category: "pool",
|
|
1507
|
+
description: "A new FlowX CLMM pool was created.",
|
|
1508
|
+
generic: false,
|
|
1509
|
+
schema: FlowxClmmPoolCreatedSchema,
|
|
1510
|
+
deployments: [
|
|
1511
|
+
{ network: "mainnet", eventType: "0x25929e7f29e0a30eb4e692952ba1b5b65a3a4d65ab5f2a32e1ba3edcb587f26d::pool_manager::PoolCreated", primary: true }
|
|
1512
|
+
]
|
|
1513
|
+
},
|
|
1514
|
+
"flowx.clmm-swap": {
|
|
1515
|
+
id: "flowx.clmm-swap",
|
|
1516
|
+
protocolId: "flowx",
|
|
1517
|
+
label: "FlowX \u2014 Swap (CLMM)",
|
|
1518
|
+
category: "swap",
|
|
1519
|
+
description: "A swap was executed on a FlowX CLMM pool.",
|
|
1520
|
+
generic: false,
|
|
1521
|
+
schema: FlowxClmmSwapSchema,
|
|
1522
|
+
deployments: [
|
|
1523
|
+
{ network: "mainnet", eventType: "0x25929e7f29e0a30eb4e692952ba1b5b65a3a4d65ab5f2a32e1ba3edcb587f26d::pool::Swap", primary: true }
|
|
1524
|
+
]
|
|
1525
|
+
},
|
|
1526
|
+
"haedal.instant-unstaked": {
|
|
1527
|
+
id: "haedal.instant-unstaked",
|
|
1528
|
+
protocolId: "haedal",
|
|
1529
|
+
label: "Haedal \u2014 Instant unstaked",
|
|
1530
|
+
category: "unstake",
|
|
1531
|
+
description: "An instant unstake was performed on Haedal.",
|
|
1532
|
+
generic: false,
|
|
1533
|
+
schema: HaedalInstantUnstakedSchema,
|
|
1534
|
+
deployments: [
|
|
1535
|
+
{ network: "mainnet", eventType: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::staking::UserInstantUnstaked", primary: true }
|
|
1536
|
+
]
|
|
1537
|
+
},
|
|
1538
|
+
"haedal.staked": {
|
|
1539
|
+
id: "haedal.staked",
|
|
1540
|
+
protocolId: "haedal",
|
|
1541
|
+
label: "Haedal \u2014 Staked",
|
|
1542
|
+
category: "stake",
|
|
1543
|
+
description: "SUI was staked with Haedal in exchange for haSUI.",
|
|
1544
|
+
generic: false,
|
|
1545
|
+
schema: HaedalStakedSchema,
|
|
1546
|
+
deployments: [
|
|
1547
|
+
{ network: "mainnet", eventType: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::staking::UserStaked", primary: true }
|
|
1548
|
+
]
|
|
1549
|
+
},
|
|
1550
|
+
"haedal.unstaked": {
|
|
1551
|
+
id: "haedal.unstaked",
|
|
1552
|
+
protocolId: "haedal",
|
|
1553
|
+
label: "Haedal \u2014 Unstaked",
|
|
1554
|
+
category: "unstake",
|
|
1555
|
+
description: "A delayed unstake was initiated on Haedal.",
|
|
1556
|
+
generic: false,
|
|
1557
|
+
schema: HaedalUnstakedSchema,
|
|
1558
|
+
deployments: [
|
|
1559
|
+
{ network: "mainnet", eventType: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::staking::UserNormalUnstaked", primary: true }
|
|
1560
|
+
]
|
|
1561
|
+
},
|
|
1562
|
+
"kai.add-liquidity": {
|
|
1563
|
+
id: "kai.add-liquidity",
|
|
1564
|
+
protocolId: "kai",
|
|
1565
|
+
label: "Kai \u2014 Increase position",
|
|
1566
|
+
category: "liquidity",
|
|
1567
|
+
description: "Liquidity was added to a Kai leveraged position.",
|
|
1568
|
+
generic: false,
|
|
1569
|
+
schema: KaiAddLiquiditySchema,
|
|
1570
|
+
deployments: [
|
|
1571
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::position_core_clmm::AddLiquidityInfo", primary: true }
|
|
1572
|
+
]
|
|
1573
|
+
},
|
|
1574
|
+
"kai.deleverage": {
|
|
1575
|
+
id: "kai.deleverage",
|
|
1576
|
+
protocolId: "kai",
|
|
1577
|
+
label: "Kai \u2014 Deleverage",
|
|
1578
|
+
category: "repay",
|
|
1579
|
+
description: "A Kai leveraged position was deleveraged (debt repaid).",
|
|
1580
|
+
generic: false,
|
|
1581
|
+
schema: KaiDeleverageSchema,
|
|
1582
|
+
deployments: [
|
|
1583
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::position_core_clmm::DeleverageInfo", primary: true }
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
"kai.liquidation": {
|
|
1587
|
+
id: "kai.liquidation",
|
|
1588
|
+
protocolId: "kai",
|
|
1589
|
+
label: "Kai \u2014 Liquidation",
|
|
1590
|
+
category: "liquidation",
|
|
1591
|
+
description: "A Kai leveraged position was liquidated.",
|
|
1592
|
+
generic: false,
|
|
1593
|
+
schema: KaiLiquidationSchema,
|
|
1594
|
+
deployments: [
|
|
1595
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::position_core_clmm::LiquidationInfo", primary: true }
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1598
|
+
"kai.position-open": {
|
|
1599
|
+
id: "kai.position-open",
|
|
1600
|
+
protocolId: "kai",
|
|
1601
|
+
label: "Kai \u2014 Open leveraged position",
|
|
1602
|
+
category: "borrow",
|
|
1603
|
+
description: "A new Kai leveraged CLMM position was opened.",
|
|
1604
|
+
generic: false,
|
|
1605
|
+
schema: KaiPositionOpenSchema,
|
|
1606
|
+
deployments: [
|
|
1607
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::position_core_clmm::PositionCreationInfo", primary: true }
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"kai.reduce": {
|
|
1611
|
+
id: "kai.reduce",
|
|
1612
|
+
protocolId: "kai",
|
|
1613
|
+
label: "Kai \u2014 Reduce position",
|
|
1614
|
+
category: "withdraw",
|
|
1615
|
+
description: "A Kai leveraged position was reduced / partially withdrawn.",
|
|
1616
|
+
generic: false,
|
|
1617
|
+
schema: KaiReduceSchema,
|
|
1618
|
+
deployments: [
|
|
1619
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::position_core_clmm::ReductionInfo", primary: true }
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
"kai.supply": {
|
|
1623
|
+
id: "kai.supply",
|
|
1624
|
+
protocolId: "kai",
|
|
1625
|
+
label: "Kai \u2014 Supply to pool",
|
|
1626
|
+
category: "lend",
|
|
1627
|
+
description: "Liquidity was supplied to a Kai lending pool.",
|
|
1628
|
+
generic: false,
|
|
1629
|
+
schema: KaiSupplySchema,
|
|
1630
|
+
deployments: [
|
|
1631
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::supply_pool::SupplyInfo", primary: true }
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
"kai.supply-withdraw": {
|
|
1635
|
+
id: "kai.supply-withdraw",
|
|
1636
|
+
protocolId: "kai",
|
|
1637
|
+
label: "Kai \u2014 Withdraw from pool",
|
|
1638
|
+
category: "withdraw",
|
|
1639
|
+
description: "Supplied liquidity was withdrawn from a Kai lending pool.",
|
|
1640
|
+
generic: false,
|
|
1641
|
+
schema: KaiSupplyWithdrawSchema,
|
|
1642
|
+
deployments: [
|
|
1643
|
+
{ network: "mainnet", eventType: "0x51e0ccce48f0763f98f1cb4856847c2e1531adacada99cdd7626ab999db57523::supply_pool::WithdrawInfo", primary: true }
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
"kriya.add-liquidity": {
|
|
1647
|
+
id: "kriya.add-liquidity",
|
|
1648
|
+
protocolId: "kriya",
|
|
1649
|
+
label: "Kriya \u2014 Add liquidity",
|
|
1650
|
+
category: "liquidity",
|
|
1651
|
+
description: "Liquidity was provided to a Kriya pool.",
|
|
1652
|
+
generic: false,
|
|
1653
|
+
schema: KriyaAddLiquiditySchema,
|
|
1654
|
+
deployments: [
|
|
1655
|
+
{ network: "mainnet", eventType: "0xa0eba10b173538c8fecca1dff298e488402cc9ff374f8a12ca7758eebe830b66::spot_dex::LiquidityAddedEvent", primary: true }
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
"kriya.swap": {
|
|
1659
|
+
id: "kriya.swap",
|
|
1660
|
+
protocolId: "kriya",
|
|
1661
|
+
label: "Kriya \u2014 Swap",
|
|
1662
|
+
category: "swap",
|
|
1663
|
+
description: "A token swap was executed on a Kriya spot pool (matches all token types).",
|
|
1664
|
+
generic: true,
|
|
1665
|
+
schema: KriyaSwapSchema,
|
|
1666
|
+
deployments: [
|
|
1667
|
+
{ network: "mainnet", eventType: "0xa0eba10b173538c8fecca1dff298e488402cc9ff374f8a12ca7758eebe830b66::spot_dex::SwapEvent", primary: true }
|
|
1668
|
+
]
|
|
1669
|
+
},
|
|
1670
|
+
"magma.add-liquidity": {
|
|
1671
|
+
id: "magma.add-liquidity",
|
|
1672
|
+
protocolId: "magma",
|
|
1673
|
+
label: "Magma \u2014 Add liquidity",
|
|
1674
|
+
category: "liquidity",
|
|
1675
|
+
description: "Liquidity was added to a Magma CLMM pool.",
|
|
1676
|
+
generic: false,
|
|
1677
|
+
schema: MagmaAddLiquiditySchema,
|
|
1678
|
+
deployments: [
|
|
1679
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::pool::AddLiquidityEvent", primary: true }
|
|
1680
|
+
]
|
|
1681
|
+
},
|
|
1682
|
+
"magma.collect-fee": {
|
|
1683
|
+
id: "magma.collect-fee",
|
|
1684
|
+
protocolId: "magma",
|
|
1685
|
+
label: "Magma \u2014 Collect fee",
|
|
1686
|
+
category: "fee",
|
|
1687
|
+
description: "Trading fees were collected from a Magma position.",
|
|
1688
|
+
generic: false,
|
|
1689
|
+
schema: MagmaCollectFeeSchema,
|
|
1690
|
+
deployments: [
|
|
1691
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::pool::CollectFeeEvent", primary: true }
|
|
1692
|
+
]
|
|
1693
|
+
},
|
|
1694
|
+
"magma.collect-reward": {
|
|
1695
|
+
id: "magma.collect-reward",
|
|
1696
|
+
protocolId: "magma",
|
|
1697
|
+
label: "Magma \u2014 Collect reward",
|
|
1698
|
+
category: "reward",
|
|
1699
|
+
description: "Incentive rewards were collected from a Magma position.",
|
|
1700
|
+
generic: false,
|
|
1701
|
+
schema: MagmaCollectRewardSchema,
|
|
1702
|
+
deployments: [
|
|
1703
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::pool::CollectRewardEvent", primary: true }
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
"magma.create-pool": {
|
|
1707
|
+
id: "magma.create-pool",
|
|
1708
|
+
protocolId: "magma",
|
|
1709
|
+
label: "Magma \u2014 Create pool",
|
|
1710
|
+
category: "pool",
|
|
1711
|
+
description: "A new Magma CLMM pool was created.",
|
|
1712
|
+
generic: false,
|
|
1713
|
+
schema: MagmaCreatePoolSchema,
|
|
1714
|
+
deployments: [
|
|
1715
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::factory::CreatePoolEvent", primary: true }
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
"magma.remove-liquidity": {
|
|
1719
|
+
id: "magma.remove-liquidity",
|
|
1720
|
+
protocolId: "magma",
|
|
1721
|
+
label: "Magma \u2014 Remove liquidity",
|
|
1722
|
+
category: "liquidity",
|
|
1723
|
+
description: "Liquidity was removed from a Magma CLMM pool.",
|
|
1724
|
+
generic: false,
|
|
1725
|
+
schema: MagmaRemoveLiquiditySchema,
|
|
1726
|
+
deployments: [
|
|
1727
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::pool::RemoveLiquidityEvent", primary: true }
|
|
1728
|
+
]
|
|
1729
|
+
},
|
|
1730
|
+
"magma.swap": {
|
|
1731
|
+
id: "magma.swap",
|
|
1732
|
+
protocolId: "magma",
|
|
1733
|
+
label: "Magma \u2014 Swap",
|
|
1734
|
+
category: "swap",
|
|
1735
|
+
description: "A token swap was executed on a Magma CLMM pool.",
|
|
1736
|
+
generic: false,
|
|
1737
|
+
schema: MagmaSwapSchema,
|
|
1738
|
+
deployments: [
|
|
1739
|
+
{ network: "mainnet", eventType: "0x4a35d3dfef55ed3631b7158544c6322a23bc434fe4fca1234cb680ce0505f82d::pool::SwapEvent", primary: true }
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
"mole.add-debt": {
|
|
1743
|
+
id: "mole.add-debt",
|
|
1744
|
+
protocolId: "mole",
|
|
1745
|
+
label: "Mole \u2014 Add debt (leverage)",
|
|
1746
|
+
category: "borrow",
|
|
1747
|
+
description: "Debt was added to a Mole leveraged-farm position.",
|
|
1748
|
+
generic: true,
|
|
1749
|
+
schema: MoleAddDebtSchema,
|
|
1750
|
+
deployments: [
|
|
1751
|
+
{ network: "mainnet", eventType: "0x5ffa69ee4ee14d899dcc750df92de12bad4bacf81efa1ae12ee76406804dda7f::vault::AddDebtEvent", primary: true }
|
|
1752
|
+
]
|
|
1753
|
+
},
|
|
1754
|
+
"mole.deposit": {
|
|
1755
|
+
id: "mole.deposit",
|
|
1756
|
+
protocolId: "mole",
|
|
1757
|
+
label: "Mole \u2014 Vault deposit",
|
|
1758
|
+
category: "vault",
|
|
1759
|
+
description: "A deposit into a Mole savings vault (matches all coin types).",
|
|
1760
|
+
generic: true,
|
|
1761
|
+
schema: MoleDepositSchema,
|
|
1762
|
+
deployments: [
|
|
1763
|
+
{ network: "mainnet", eventType: "0x5ffa69ee4ee14d899dcc750df92de12bad4bacf81efa1ae12ee76406804dda7f::vault::DepositEvent", primary: true }
|
|
1764
|
+
]
|
|
1765
|
+
},
|
|
1766
|
+
"mole.harvest": {
|
|
1767
|
+
id: "mole.harvest",
|
|
1768
|
+
protocolId: "mole",
|
|
1769
|
+
label: "Mole \u2014 Harvest rewards",
|
|
1770
|
+
category: "reward",
|
|
1771
|
+
description: "Rewards were harvested from a Mole vault/farm.",
|
|
1772
|
+
generic: true,
|
|
1773
|
+
schema: MoleHarvestSchema,
|
|
1774
|
+
deployments: [
|
|
1775
|
+
{ network: "mainnet", eventType: "0xc4dc6948a7d0a58f32fadd44e45efb201f44383bfab1cb6c48b9c186a92cc762::sui_incentive::HarvestEvent", primary: true }
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1778
|
+
"mole.kill": {
|
|
1779
|
+
id: "mole.kill",
|
|
1780
|
+
protocolId: "mole",
|
|
1781
|
+
label: "Mole \u2014 Position liquidation (kill)",
|
|
1782
|
+
category: "liquidation",
|
|
1783
|
+
description: "A Mole leveraged-farm position was liquidated.",
|
|
1784
|
+
generic: true,
|
|
1785
|
+
schema: MoleKillSchema,
|
|
1786
|
+
deployments: [
|
|
1787
|
+
{ network: "mainnet", eventType: "0x5ffa69ee4ee14d899dcc750df92de12bad4bacf81efa1ae12ee76406804dda7f::vault::KillEvent", primary: true }
|
|
1788
|
+
]
|
|
1789
|
+
},
|
|
1790
|
+
"mole.withdraw": {
|
|
1791
|
+
id: "mole.withdraw",
|
|
1792
|
+
protocolId: "mole",
|
|
1793
|
+
label: "Mole \u2014 Vault withdraw",
|
|
1794
|
+
category: "withdraw",
|
|
1795
|
+
description: "A withdrawal from a Mole savings vault (matches all coin types).",
|
|
1796
|
+
generic: true,
|
|
1797
|
+
schema: MoleWithdrawSchema,
|
|
1798
|
+
deployments: [
|
|
1799
|
+
{ network: "mainnet", eventType: "0x5ffa69ee4ee14d899dcc750df92de12bad4bacf81efa1ae12ee76406804dda7f::vault::WithdrawEvent", primary: true }
|
|
1800
|
+
]
|
|
1801
|
+
},
|
|
1802
|
+
"mole.work": {
|
|
1803
|
+
id: "mole.work",
|
|
1804
|
+
protocolId: "mole",
|
|
1805
|
+
label: "Mole \u2014 Open/adjust farm position",
|
|
1806
|
+
category: "liquidity",
|
|
1807
|
+
description: "A Mole leveraged-farm position was opened or adjusted.",
|
|
1808
|
+
generic: true,
|
|
1809
|
+
schema: MoleWorkSchema,
|
|
1810
|
+
deployments: [
|
|
1811
|
+
{ network: "mainnet", eventType: "0x5ffa69ee4ee14d899dcc750df92de12bad4bacf81efa1ae12ee76406804dda7f::vault::WorkEvent", primary: true }
|
|
1812
|
+
]
|
|
1813
|
+
},
|
|
1814
|
+
"momentum.add-liquidity": {
|
|
1815
|
+
id: "momentum.add-liquidity",
|
|
1816
|
+
protocolId: "momentum",
|
|
1817
|
+
label: "Momentum \u2014 Add liquidity",
|
|
1818
|
+
category: "liquidity",
|
|
1819
|
+
description: "Liquidity was added to a Momentum position.",
|
|
1820
|
+
generic: false,
|
|
1821
|
+
schema: MomentumAddLiquiditySchema,
|
|
1822
|
+
deployments: [
|
|
1823
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::liquidity::AddLiquidityEvent", primary: true }
|
|
1824
|
+
]
|
|
1825
|
+
},
|
|
1826
|
+
"momentum.collect-fee": {
|
|
1827
|
+
id: "momentum.collect-fee",
|
|
1828
|
+
protocolId: "momentum",
|
|
1829
|
+
label: "Momentum \u2014 Collect fee",
|
|
1830
|
+
category: "fee",
|
|
1831
|
+
description: "Trading fees were collected from a Momentum position.",
|
|
1832
|
+
generic: false,
|
|
1833
|
+
schema: MomentumCollectFeeSchema,
|
|
1834
|
+
deployments: [
|
|
1835
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::collect::FeeCollectedEvent", primary: true }
|
|
1836
|
+
]
|
|
1837
|
+
},
|
|
1838
|
+
"momentum.collect-reward": {
|
|
1839
|
+
id: "momentum.collect-reward",
|
|
1840
|
+
protocolId: "momentum",
|
|
1841
|
+
label: "Momentum \u2014 Collect reward",
|
|
1842
|
+
category: "reward",
|
|
1843
|
+
description: "Incentive rewards were collected from a Momentum position.",
|
|
1844
|
+
generic: false,
|
|
1845
|
+
schema: MomentumCollectRewardSchema,
|
|
1846
|
+
deployments: [
|
|
1847
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::collect::CollectPoolRewardEvent", primary: true }
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1850
|
+
"momentum.pool-created": {
|
|
1851
|
+
id: "momentum.pool-created",
|
|
1852
|
+
protocolId: "momentum",
|
|
1853
|
+
label: "Momentum \u2014 Pool created",
|
|
1854
|
+
category: "pool",
|
|
1855
|
+
description: "A new Momentum pool was created.",
|
|
1856
|
+
generic: false,
|
|
1857
|
+
schema: MomentumPoolCreatedSchema,
|
|
1858
|
+
deployments: [
|
|
1859
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::create_pool::PoolCreatedEvent", primary: true }
|
|
1860
|
+
]
|
|
1861
|
+
},
|
|
1862
|
+
"momentum.remove-liquidity": {
|
|
1863
|
+
id: "momentum.remove-liquidity",
|
|
1864
|
+
protocolId: "momentum",
|
|
1865
|
+
label: "Momentum \u2014 Remove liquidity",
|
|
1866
|
+
category: "liquidity",
|
|
1867
|
+
description: "Liquidity was removed from a Momentum position.",
|
|
1868
|
+
generic: false,
|
|
1869
|
+
schema: MomentumRemoveLiquiditySchema,
|
|
1870
|
+
deployments: [
|
|
1871
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::liquidity::RemoveLiquidityEvent", primary: true }
|
|
1872
|
+
]
|
|
1873
|
+
},
|
|
1874
|
+
"momentum.repay-flash-swap": {
|
|
1875
|
+
id: "momentum.repay-flash-swap",
|
|
1876
|
+
protocolId: "momentum",
|
|
1877
|
+
label: "Momentum \u2014 Repay flash swap",
|
|
1878
|
+
category: "fee",
|
|
1879
|
+
description: "A Momentum flash swap was repaid.",
|
|
1880
|
+
generic: false,
|
|
1881
|
+
schema: MomentumRepayFlashSwapSchema,
|
|
1882
|
+
deployments: [
|
|
1883
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::trade::RepayFlashSwapEvent", primary: true }
|
|
1884
|
+
]
|
|
1885
|
+
},
|
|
1886
|
+
"momentum.swap": {
|
|
1887
|
+
id: "momentum.swap",
|
|
1888
|
+
protocolId: "momentum",
|
|
1889
|
+
label: "Momentum \u2014 Swap",
|
|
1890
|
+
category: "swap",
|
|
1891
|
+
description: "A swap was executed on a Momentum CLMM pool.",
|
|
1892
|
+
generic: false,
|
|
1893
|
+
schema: MomentumSwapSchema,
|
|
1894
|
+
deployments: [
|
|
1895
|
+
{ network: "mainnet", eventType: "0x70285592c97965e811e0c6f98dccc3a9c2b4ad854b3594faab9597ada267b860::trade::SwapEvent", primary: true }
|
|
1896
|
+
]
|
|
1897
|
+
},
|
|
1898
|
+
"navi.borrow": {
|
|
1899
|
+
id: "navi.borrow",
|
|
1900
|
+
protocolId: "navi",
|
|
1901
|
+
label: "NAVI \u2014 Borrow",
|
|
1902
|
+
category: "borrow",
|
|
1903
|
+
description: "Assets were borrowed from a NAVI pool.",
|
|
1904
|
+
generic: false,
|
|
1905
|
+
schema: NaviBorrowSchema,
|
|
1906
|
+
deployments: [
|
|
1907
|
+
{ network: "mainnet", eventType: "0x1e4a13a0494d5facdbe8473e74127b838c2d446ecec0ce262e2eddafa77259cb::event::BorrowEvent", primary: true }
|
|
1908
|
+
]
|
|
1909
|
+
},
|
|
1910
|
+
"navi.deposit": {
|
|
1911
|
+
id: "navi.deposit",
|
|
1912
|
+
protocolId: "navi",
|
|
1913
|
+
label: "NAVI \u2014 Deposit",
|
|
1914
|
+
category: "supply",
|
|
1915
|
+
description: "Assets were supplied to a NAVI lending pool.",
|
|
1916
|
+
generic: false,
|
|
1917
|
+
schema: NaviDepositSchema,
|
|
1918
|
+
deployments: [
|
|
1919
|
+
{ network: "mainnet", eventType: "0x1e4a13a0494d5facdbe8473e74127b838c2d446ecec0ce262e2eddafa77259cb::event::DepositEvent", primary: true }
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1922
|
+
"navi.liquidation": {
|
|
1923
|
+
id: "navi.liquidation",
|
|
1924
|
+
protocolId: "navi",
|
|
1925
|
+
label: "NAVI \u2014 Liquidation",
|
|
1926
|
+
category: "liquidation",
|
|
1927
|
+
description: "An undercollateralized NAVI position was liquidated.",
|
|
1928
|
+
generic: false,
|
|
1929
|
+
schema: NaviLiquidationSchema,
|
|
1930
|
+
deployments: [
|
|
1931
|
+
{ network: "mainnet", eventType: "0x1e4a13a0494d5facdbe8473e74127b838c2d446ecec0ce262e2eddafa77259cb::event::LiquidationEvent", primary: true }
|
|
1932
|
+
]
|
|
1933
|
+
},
|
|
1934
|
+
"navi.repay": {
|
|
1935
|
+
id: "navi.repay",
|
|
1936
|
+
protocolId: "navi",
|
|
1937
|
+
label: "NAVI \u2014 Repay",
|
|
1938
|
+
category: "repay",
|
|
1939
|
+
description: "Borrowed assets were repaid to a NAVI pool.",
|
|
1940
|
+
generic: false,
|
|
1941
|
+
schema: NaviRepaySchema,
|
|
1942
|
+
deployments: [
|
|
1943
|
+
{ network: "mainnet", eventType: "0x1e4a13a0494d5facdbe8473e74127b838c2d446ecec0ce262e2eddafa77259cb::event::RepayEvent", primary: true }
|
|
1944
|
+
]
|
|
1945
|
+
},
|
|
1946
|
+
"navi.withdraw": {
|
|
1947
|
+
id: "navi.withdraw",
|
|
1948
|
+
protocolId: "navi",
|
|
1949
|
+
label: "NAVI \u2014 Withdraw",
|
|
1950
|
+
category: "withdraw",
|
|
1951
|
+
description: "Supplied assets were withdrawn from a NAVI pool.",
|
|
1952
|
+
generic: false,
|
|
1953
|
+
schema: NaviWithdrawSchema,
|
|
1954
|
+
deployments: [
|
|
1955
|
+
{ network: "mainnet", eventType: "0x1e4a13a0494d5facdbe8473e74127b838c2d446ecec0ce262e2eddafa77259cb::event::WithdrawEvent", primary: true }
|
|
1956
|
+
]
|
|
1957
|
+
},
|
|
1958
|
+
"pyth.price-feed-update": {
|
|
1959
|
+
id: "pyth.price-feed-update",
|
|
1960
|
+
protocolId: "pyth",
|
|
1961
|
+
label: "Pyth \u2014 Price feed update",
|
|
1962
|
+
category: "oracle",
|
|
1963
|
+
description: "A Pyth price feed was updated with new price data.",
|
|
1964
|
+
generic: false,
|
|
1965
|
+
schema: PythPriceFeedUpdateSchema,
|
|
1966
|
+
deployments: [
|
|
1967
|
+
{ network: "mainnet", eventType: "0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e::event::PriceFeedUpdateEvent", primary: true },
|
|
1968
|
+
{ network: "testnet", eventType: "0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837::event::PriceFeedUpdateEvent", primary: true }
|
|
1969
|
+
]
|
|
1970
|
+
},
|
|
1971
|
+
"scallop.borrow": {
|
|
1972
|
+
id: "scallop.borrow",
|
|
1973
|
+
protocolId: "scallop",
|
|
1974
|
+
label: "Scallop \u2014 Borrow",
|
|
1975
|
+
category: "borrow",
|
|
1976
|
+
description: "Assets were borrowed from a Scallop lending market.",
|
|
1977
|
+
generic: false,
|
|
1978
|
+
schema: ScallopBorrowSchema,
|
|
1979
|
+
deployments: [
|
|
1980
|
+
{ network: "mainnet", eventType: "0x6e641f0dca8aedab3101d047e96439178f16301bf0b57fe8745086ff1195eb3e::borrow::BorrowEventV3", primary: true }
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1983
|
+
"scallop.collateral-deposit": {
|
|
1984
|
+
id: "scallop.collateral-deposit",
|
|
1985
|
+
protocolId: "scallop",
|
|
1986
|
+
label: "Scallop \u2014 Deposit collateral",
|
|
1987
|
+
category: "supply",
|
|
1988
|
+
description: "Collateral was deposited into a Scallop obligation.",
|
|
1989
|
+
generic: false,
|
|
1990
|
+
schema: ScallopCollateralDepositSchema,
|
|
1991
|
+
deployments: [
|
|
1992
|
+
{ network: "mainnet", eventType: "0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf::deposit_collateral::CollateralDepositEvent", primary: true }
|
|
1993
|
+
]
|
|
1994
|
+
},
|
|
1995
|
+
"scallop.collateral-withdraw": {
|
|
1996
|
+
id: "scallop.collateral-withdraw",
|
|
1997
|
+
protocolId: "scallop",
|
|
1998
|
+
label: "Scallop \u2014 Withdraw collateral",
|
|
1999
|
+
category: "withdraw",
|
|
2000
|
+
description: "Collateral was withdrawn from a Scallop obligation.",
|
|
2001
|
+
generic: false,
|
|
2002
|
+
schema: ScallopCollateralWithdrawSchema,
|
|
2003
|
+
deployments: [
|
|
2004
|
+
{ network: "mainnet", eventType: "0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf::withdraw_collateral::CollateralWithdrawEvent", primary: true }
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
"scallop.liquidation": {
|
|
2008
|
+
id: "scallop.liquidation",
|
|
2009
|
+
protocolId: "scallop",
|
|
2010
|
+
label: "Scallop \u2014 Liquidation",
|
|
2011
|
+
category: "liquidation",
|
|
2012
|
+
description: "A Scallop obligation was liquidated.",
|
|
2013
|
+
generic: false,
|
|
2014
|
+
schema: ScallopLiquidationSchema,
|
|
2015
|
+
deployments: [
|
|
2016
|
+
{ network: "mainnet", eventType: "0x6e641f0dca8aedab3101d047e96439178f16301bf0b57fe8745086ff1195eb3e::liquidate::LiquidateEventV2", primary: true }
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
2019
|
+
"scallop.repay": {
|
|
2020
|
+
id: "scallop.repay",
|
|
2021
|
+
protocolId: "scallop",
|
|
2022
|
+
label: "Scallop \u2014 Repay",
|
|
2023
|
+
category: "repay",
|
|
2024
|
+
description: "Borrowed assets were repaid to a Scallop market.",
|
|
2025
|
+
generic: false,
|
|
2026
|
+
schema: ScallopRepaySchema,
|
|
2027
|
+
deployments: [
|
|
2028
|
+
{ network: "mainnet", eventType: "0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf::repay::RepayEvent", primary: true }
|
|
2029
|
+
]
|
|
2030
|
+
},
|
|
2031
|
+
"springsui.epoch-changed": {
|
|
2032
|
+
id: "springsui.epoch-changed",
|
|
2033
|
+
protocolId: "springsui",
|
|
2034
|
+
label: "SpringSui \u2014 Epoch changed (rewards)",
|
|
2035
|
+
category: "reward",
|
|
2036
|
+
description: "SpringSui accrued staking rewards at an epoch change.",
|
|
2037
|
+
generic: false,
|
|
2038
|
+
schema: SpringsuiEpochChangedSchema,
|
|
2039
|
+
deployments: [
|
|
2040
|
+
{ network: "mainnet", eventType: "0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::events::Event<0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::EpochChangedEvent>", primary: true }
|
|
2041
|
+
]
|
|
2042
|
+
},
|
|
2043
|
+
"springsui.stake": {
|
|
2044
|
+
id: "springsui.stake",
|
|
2045
|
+
protocolId: "springsui",
|
|
2046
|
+
label: "SpringSui \u2014 Stake (mint LST)",
|
|
2047
|
+
category: "stake",
|
|
2048
|
+
description: "SUI was staked to mint a SpringSui liquid-staking token.",
|
|
2049
|
+
generic: false,
|
|
2050
|
+
schema: SpringsuiStakeSchema,
|
|
2051
|
+
deployments: [
|
|
2052
|
+
{ network: "mainnet", eventType: "0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::events::Event<0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::MintEvent>", primary: true }
|
|
2053
|
+
]
|
|
2054
|
+
},
|
|
2055
|
+
"springsui.unstake": {
|
|
2056
|
+
id: "springsui.unstake",
|
|
2057
|
+
protocolId: "springsui",
|
|
2058
|
+
label: "SpringSui \u2014 Unstake (redeem LST)",
|
|
2059
|
+
category: "unstake",
|
|
2060
|
+
description: "A SpringSui liquid-staking token was redeemed for SUI.",
|
|
2061
|
+
generic: false,
|
|
2062
|
+
schema: SpringsuiUnstakeSchema,
|
|
2063
|
+
deployments: [
|
|
2064
|
+
{ network: "mainnet", eventType: "0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::events::Event<0xb0575765166030556a6eafd3b1b970eba8183ff748860680245b9edd41c716e7::liquid_staking::RedeemEvent>", primary: true }
|
|
2065
|
+
]
|
|
2066
|
+
},
|
|
2067
|
+
"steamm.bank-deposit": {
|
|
2068
|
+
id: "steamm.bank-deposit",
|
|
2069
|
+
protocolId: "steamm",
|
|
2070
|
+
label: "Steamm \u2014 Bank deposit (mint bToken)",
|
|
2071
|
+
category: "supply",
|
|
2072
|
+
description: "Funds were deposited into a Steamm bank, minting bTokens.",
|
|
2073
|
+
generic: false,
|
|
2074
|
+
schema: SteammBankDepositSchema,
|
|
2075
|
+
deployments: [
|
|
2076
|
+
{ network: "mainnet", eventType: "0x4fb1cf45dffd6230305f1d269dd1816678cc8e3ba0b747a813a556921219f261::events::Event<0x4fb1cf45dffd6230305f1d269dd1816678cc8e3ba0b747a813a556921219f261::bank::MintBTokenEvent>", primary: true }
|
|
2077
|
+
]
|
|
2078
|
+
},
|
|
2079
|
+
"steamm.bank-withdraw": {
|
|
2080
|
+
id: "steamm.bank-withdraw",
|
|
2081
|
+
protocolId: "steamm",
|
|
2082
|
+
label: "Steamm \u2014 Bank withdraw (burn bToken)",
|
|
2083
|
+
category: "withdraw",
|
|
2084
|
+
description: "bTokens were burned to withdraw funds from a Steamm bank.",
|
|
2085
|
+
generic: false,
|
|
2086
|
+
schema: SteammBankWithdrawSchema,
|
|
2087
|
+
deployments: [
|
|
2088
|
+
{ network: "mainnet", eventType: "0x4fb1cf45dffd6230305f1d269dd1816678cc8e3ba0b747a813a556921219f261::events::Event<0x4fb1cf45dffd6230305f1d269dd1816678cc8e3ba0b747a813a556921219f261::bank::BurnBTokenEvent>", primary: true }
|
|
2089
|
+
]
|
|
2090
|
+
},
|
|
2091
|
+
"suilend.borrow": {
|
|
2092
|
+
id: "suilend.borrow",
|
|
2093
|
+
protocolId: "suilend",
|
|
2094
|
+
label: "Suilend \u2014 Borrow",
|
|
2095
|
+
category: "borrow",
|
|
2096
|
+
description: "Assets were borrowed from a Suilend market.",
|
|
2097
|
+
generic: false,
|
|
2098
|
+
schema: SuilendBorrowSchema,
|
|
2099
|
+
deployments: [
|
|
2100
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::BorrowEvent", primary: true }
|
|
2101
|
+
]
|
|
2102
|
+
},
|
|
2103
|
+
"suilend.claim-reward": {
|
|
2104
|
+
id: "suilend.claim-reward",
|
|
2105
|
+
protocolId: "suilend",
|
|
2106
|
+
label: "Suilend \u2014 Claim reward",
|
|
2107
|
+
category: "reward",
|
|
2108
|
+
description: "Rewards were claimed from a Suilend market.",
|
|
2109
|
+
generic: false,
|
|
2110
|
+
schema: SuilendClaimRewardSchema,
|
|
2111
|
+
deployments: [
|
|
2112
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::ClaimRewardEvent", primary: true }
|
|
2113
|
+
]
|
|
2114
|
+
},
|
|
2115
|
+
"suilend.deposit": {
|
|
2116
|
+
id: "suilend.deposit",
|
|
2117
|
+
protocolId: "suilend",
|
|
2118
|
+
label: "Suilend \u2014 Deposit",
|
|
2119
|
+
category: "supply",
|
|
2120
|
+
description: "Assets were deposited into a Suilend reserve.",
|
|
2121
|
+
generic: false,
|
|
2122
|
+
schema: SuilendDepositSchema,
|
|
2123
|
+
deployments: [
|
|
2124
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::DepositEvent", primary: true }
|
|
2125
|
+
]
|
|
2126
|
+
},
|
|
2127
|
+
"suilend.liquidate": {
|
|
2128
|
+
id: "suilend.liquidate",
|
|
2129
|
+
protocolId: "suilend",
|
|
2130
|
+
label: "Suilend \u2014 Liquidation",
|
|
2131
|
+
category: "liquidation",
|
|
2132
|
+
description: "A Suilend obligation was liquidated.",
|
|
2133
|
+
generic: false,
|
|
2134
|
+
schema: SuilendLiquidateSchema,
|
|
2135
|
+
deployments: [
|
|
2136
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::LiquidateEvent", primary: true }
|
|
2137
|
+
]
|
|
2138
|
+
},
|
|
2139
|
+
"suilend.repay": {
|
|
2140
|
+
id: "suilend.repay",
|
|
2141
|
+
protocolId: "suilend",
|
|
2142
|
+
label: "Suilend \u2014 Repay",
|
|
2143
|
+
category: "repay",
|
|
2144
|
+
description: "Borrowed assets were repaid to a Suilend market.",
|
|
2145
|
+
generic: false,
|
|
2146
|
+
schema: SuilendRepaySchema,
|
|
2147
|
+
deployments: [
|
|
2148
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::RepayEvent", primary: true }
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
"suilend.withdraw": {
|
|
2152
|
+
id: "suilend.withdraw",
|
|
2153
|
+
protocolId: "suilend",
|
|
2154
|
+
label: "Suilend \u2014 Withdraw",
|
|
2155
|
+
category: "withdraw",
|
|
2156
|
+
description: "Assets were withdrawn from a Suilend reserve.",
|
|
2157
|
+
generic: false,
|
|
2158
|
+
schema: SuilendWithdrawSchema,
|
|
2159
|
+
deployments: [
|
|
2160
|
+
{ network: "mainnet", eventType: "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::lending_market::WithdrawEvent", primary: true }
|
|
2161
|
+
]
|
|
2162
|
+
},
|
|
2163
|
+
"supra.price-update": {
|
|
2164
|
+
id: "supra.price-update",
|
|
2165
|
+
protocolId: "supra",
|
|
2166
|
+
label: "Supra \u2014 Price update",
|
|
2167
|
+
category: "oracle",
|
|
2168
|
+
description: "A Supra oracle price feed (pair) was updated.",
|
|
2169
|
+
generic: false,
|
|
2170
|
+
schema: SupraPriceUpdateSchema,
|
|
2171
|
+
deployments: [
|
|
2172
|
+
{ network: "mainnet", eventType: "0x4979543452f609ff272d504755966ff5e70122256101c17adbe8bd27d35116c3::SupraSValueFeed::PairDataUpdateEvent", primary: true }
|
|
2173
|
+
]
|
|
2174
|
+
},
|
|
2175
|
+
"turbos.add-liquidity": {
|
|
2176
|
+
id: "turbos.add-liquidity",
|
|
2177
|
+
protocolId: "turbos",
|
|
2178
|
+
label: "Turbos \u2014 Add liquidity",
|
|
2179
|
+
category: "liquidity",
|
|
2180
|
+
description: "Liquidity was minted into a Turbos position.",
|
|
2181
|
+
generic: false,
|
|
2182
|
+
schema: TurbosAddLiquiditySchema,
|
|
2183
|
+
deployments: [
|
|
2184
|
+
{ network: "mainnet", eventType: "0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1::pool::MintEvent", primary: true }
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
"turbos.pool-created": {
|
|
2188
|
+
id: "turbos.pool-created",
|
|
2189
|
+
protocolId: "turbos",
|
|
2190
|
+
label: "Turbos \u2014 Pool created",
|
|
2191
|
+
category: "pool",
|
|
2192
|
+
description: "A new Turbos CLMM pool was created.",
|
|
2193
|
+
generic: false,
|
|
2194
|
+
schema: TurbosPoolCreatedSchema,
|
|
2195
|
+
deployments: [
|
|
2196
|
+
{ network: "mainnet", eventType: "0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1::pool_factory::PoolCreatedEvent", primary: true }
|
|
2197
|
+
]
|
|
2198
|
+
},
|
|
2199
|
+
"turbos.remove-liquidity": {
|
|
2200
|
+
id: "turbos.remove-liquidity",
|
|
2201
|
+
protocolId: "turbos",
|
|
2202
|
+
label: "Turbos \u2014 Remove liquidity",
|
|
2203
|
+
category: "liquidity",
|
|
2204
|
+
description: "Liquidity was burned from a Turbos position.",
|
|
2205
|
+
generic: false,
|
|
2206
|
+
schema: TurbosRemoveLiquiditySchema,
|
|
2207
|
+
deployments: [
|
|
2208
|
+
{ network: "mainnet", eventType: "0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1::pool::BurnEvent", primary: true }
|
|
2209
|
+
]
|
|
2210
|
+
},
|
|
2211
|
+
"turbos.swap": {
|
|
2212
|
+
id: "turbos.swap",
|
|
2213
|
+
protocolId: "turbos",
|
|
2214
|
+
label: "Turbos \u2014 Swap",
|
|
2215
|
+
category: "swap",
|
|
2216
|
+
description: "A swap was executed on a Turbos CLMM pool.",
|
|
2217
|
+
generic: false,
|
|
2218
|
+
schema: TurbosSwapSchema,
|
|
2219
|
+
deployments: [
|
|
2220
|
+
{ network: "mainnet", eventType: "0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1::pool::SwapEvent", primary: true }
|
|
2221
|
+
]
|
|
2222
|
+
},
|
|
2223
|
+
"typus.dov-auction": {
|
|
2224
|
+
id: "typus.dov-auction",
|
|
2225
|
+
protocolId: "typus",
|
|
2226
|
+
label: "Typus \u2014 DOV auction started",
|
|
2227
|
+
category: "option",
|
|
2228
|
+
description: "A new Typus options-vault (DOV) auction round started.",
|
|
2229
|
+
generic: false,
|
|
2230
|
+
schema: TypusDovAuctionSchema,
|
|
2231
|
+
deployments: [
|
|
2232
|
+
{ network: "mainnet", eventType: "0x321848bf1ae327a9e022ccb3701940191e02fa193ab160d9c0e49cd3c003de3a::typus_dov_single::NewAuctionEvent", primary: true }
|
|
2233
|
+
]
|
|
2234
|
+
},
|
|
2235
|
+
"typus.dov-bid": {
|
|
2236
|
+
id: "typus.dov-bid",
|
|
2237
|
+
protocolId: "typus",
|
|
2238
|
+
label: "Typus \u2014 DOV bid",
|
|
2239
|
+
category: "option",
|
|
2240
|
+
description: "A bid was placed in a Typus options-vault auction.",
|
|
2241
|
+
generic: false,
|
|
2242
|
+
schema: TypusDovBidSchema,
|
|
2243
|
+
deployments: [
|
|
2244
|
+
{ network: "mainnet", eventType: "0x321848bf1ae327a9e022ccb3701940191e02fa193ab160d9c0e49cd3c003de3a::typus_dov_single::NewBidEvent", primary: true }
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
"typus.dov-settle": {
|
|
2248
|
+
id: "typus.dov-settle",
|
|
2249
|
+
protocolId: "typus",
|
|
2250
|
+
label: "Typus \u2014 DOV settled",
|
|
2251
|
+
category: "option",
|
|
2252
|
+
description: "A Typus options-vault round was settled.",
|
|
2253
|
+
generic: false,
|
|
2254
|
+
schema: TypusDovSettleSchema,
|
|
2255
|
+
deployments: [
|
|
2256
|
+
{ network: "mainnet", eventType: "0x321848bf1ae327a9e022ccb3701940191e02fa193ab160d9c0e49cd3c003de3a::typus_dov_single::SettleEvent", primary: true }
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2259
|
+
"typus.perp-funding": {
|
|
2260
|
+
id: "typus.perp-funding",
|
|
2261
|
+
protocolId: "typus",
|
|
2262
|
+
label: "Typus \u2014 Perp funding update",
|
|
2263
|
+
category: "funding",
|
|
2264
|
+
description: "A Typus perps market funding rate was updated.",
|
|
2265
|
+
generic: false,
|
|
2266
|
+
schema: TypusPerpFundingSchema,
|
|
2267
|
+
deployments: [
|
|
2268
|
+
{ network: "mainnet", eventType: "0x9003219180252ae6b81d2893b41d430488669027219537236675c0c2924c94d9::trading::UpdateFundingRateEvent", primary: true }
|
|
2269
|
+
]
|
|
2270
|
+
},
|
|
2271
|
+
"typus.perp-liquidate": {
|
|
2272
|
+
id: "typus.perp-liquidate",
|
|
2273
|
+
protocolId: "typus",
|
|
2274
|
+
label: "Typus \u2014 Perp liquidation",
|
|
2275
|
+
category: "liquidation",
|
|
2276
|
+
description: "A Typus perps position was liquidated.",
|
|
2277
|
+
generic: false,
|
|
2278
|
+
schema: TypusPerpLiquidateSchema,
|
|
2279
|
+
deployments: [
|
|
2280
|
+
{ network: "mainnet", eventType: "0x9003219180252ae6b81d2893b41d430488669027219537236675c0c2924c94d9::trading::LiquidateEvent", primary: true }
|
|
2281
|
+
]
|
|
2282
|
+
},
|
|
2283
|
+
"typus.perp-lp-burn": {
|
|
2284
|
+
id: "typus.perp-lp-burn",
|
|
2285
|
+
protocolId: "typus",
|
|
2286
|
+
label: "Typus \u2014 TLP burn",
|
|
2287
|
+
category: "liquidity",
|
|
2288
|
+
description: "Liquidity was removed from the Typus perps LP (TLP).",
|
|
2289
|
+
generic: false,
|
|
2290
|
+
schema: TypusPerpLpBurnSchema,
|
|
2291
|
+
deployments: [
|
|
2292
|
+
{ network: "mainnet", eventType: "0x9003219180252ae6b81d2893b41d430488669027219537236675c0c2924c94d9::lp_pool::BurnLpEvent", primary: true }
|
|
2293
|
+
]
|
|
2294
|
+
},
|
|
2295
|
+
"typus.perp-lp-mint": {
|
|
2296
|
+
id: "typus.perp-lp-mint",
|
|
2297
|
+
protocolId: "typus",
|
|
2298
|
+
label: "Typus \u2014 TLP mint",
|
|
2299
|
+
category: "liquidity",
|
|
2300
|
+
description: "Liquidity was added to the Typus perps LP (TLP).",
|
|
2301
|
+
generic: false,
|
|
2302
|
+
schema: TypusPerpLpMintSchema,
|
|
2303
|
+
deployments: [
|
|
2304
|
+
{ network: "mainnet", eventType: "0x9003219180252ae6b81d2893b41d430488669027219537236675c0c2924c94d9::lp_pool::MintLpEvent", primary: true }
|
|
2305
|
+
]
|
|
2306
|
+
},
|
|
2307
|
+
"typus.perp-order": {
|
|
2308
|
+
id: "typus.perp-order",
|
|
2309
|
+
protocolId: "typus",
|
|
2310
|
+
label: "Typus \u2014 Perp order created",
|
|
2311
|
+
category: "perp",
|
|
2312
|
+
description: "A trading order was created on Typus perps.",
|
|
2313
|
+
generic: false,
|
|
2314
|
+
schema: TypusPerpOrderSchema,
|
|
2315
|
+
deployments: [
|
|
2316
|
+
{ network: "mainnet", eventType: "0x9003219180252ae6b81d2893b41d430488669027219537236675c0c2924c94d9::trading::CreateTradingOrderEvent", primary: true }
|
|
2317
|
+
]
|
|
2318
|
+
},
|
|
2319
|
+
"volo.staked": {
|
|
2320
|
+
id: "volo.staked",
|
|
2321
|
+
protocolId: "volo",
|
|
2322
|
+
label: "Volo \u2014 Staked",
|
|
2323
|
+
category: "stake",
|
|
2324
|
+
description: "SUI was staked with Volo in exchange for vSUI.",
|
|
2325
|
+
generic: false,
|
|
2326
|
+
schema: VoloStakedSchema,
|
|
2327
|
+
deployments: [
|
|
2328
|
+
{ network: "mainnet", eventType: "0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::native_pool::StakedEvent", primary: true }
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2331
|
+
"volo.unstaked": {
|
|
2332
|
+
id: "volo.unstaked",
|
|
2333
|
+
protocolId: "volo",
|
|
2334
|
+
label: "Volo \u2014 Unstaked",
|
|
2335
|
+
category: "unstake",
|
|
2336
|
+
description: "vSUI was burned to unstake SUI on Volo.",
|
|
2337
|
+
generic: false,
|
|
2338
|
+
schema: VoloUnstakedSchema,
|
|
2339
|
+
deployments: [
|
|
2340
|
+
{ network: "mainnet", eventType: "0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::native_pool::UnstakedEvent", primary: true }
|
|
2341
|
+
]
|
|
2342
|
+
},
|
|
2343
|
+
"walrus.blob-certified": {
|
|
2344
|
+
id: "walrus.blob-certified",
|
|
2345
|
+
protocolId: "walrus",
|
|
2346
|
+
label: "Walrus \u2014 Blob certified",
|
|
2347
|
+
category: "storage",
|
|
2348
|
+
description: "A Walrus blob was certified available.",
|
|
2349
|
+
generic: false,
|
|
2350
|
+
schema: WalrusBlobCertifiedSchema,
|
|
2351
|
+
deployments: [
|
|
2352
|
+
{ network: "mainnet", eventType: "0xfdc88f7d7cf30afab2f82e8380d11ee8f70efb90e863d1de8616fae1bb09ea77::events::BlobCertified", primary: true }
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
"walrus.blob-deleted": {
|
|
2356
|
+
id: "walrus.blob-deleted",
|
|
2357
|
+
protocolId: "walrus",
|
|
2358
|
+
label: "Walrus \u2014 Blob deleted",
|
|
2359
|
+
category: "storage",
|
|
2360
|
+
description: "A Walrus blob was deleted.",
|
|
2361
|
+
generic: false,
|
|
2362
|
+
schema: WalrusBlobDeletedSchema,
|
|
2363
|
+
deployments: [
|
|
2364
|
+
{ network: "mainnet", eventType: "0xfdc88f7d7cf30afab2f82e8380d11ee8f70efb90e863d1de8616fae1bb09ea77::events::BlobDeleted", primary: true }
|
|
2365
|
+
]
|
|
2366
|
+
},
|
|
2367
|
+
"walrus.blob-registered": {
|
|
2368
|
+
id: "walrus.blob-registered",
|
|
2369
|
+
protocolId: "walrus",
|
|
2370
|
+
label: "Walrus \u2014 Blob registered",
|
|
2371
|
+
category: "storage",
|
|
2372
|
+
description: "A new blob was registered for storage on Walrus.",
|
|
2373
|
+
generic: false,
|
|
2374
|
+
schema: WalrusBlobRegisteredSchema,
|
|
2375
|
+
deployments: [
|
|
2376
|
+
{ network: "mainnet", eventType: "0xfdc88f7d7cf30afab2f82e8380d11ee8f70efb90e863d1de8616fae1bb09ea77::events::BlobRegistered", primary: true }
|
|
2377
|
+
]
|
|
2378
|
+
}
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
// src/events/index.ts
|
|
2382
|
+
function resolveCatalogEvent(rawEventType, options = {}) {
|
|
2383
|
+
for (const event of Object.values(catalogEvents)) {
|
|
2384
|
+
for (const deployment of event.deployments) {
|
|
2385
|
+
if (options.network && deployment.network !== options.network) {
|
|
2386
|
+
continue;
|
|
2387
|
+
}
|
|
2388
|
+
if (eventTypeMatches(rawEventType, deployment, event.generic)) {
|
|
2389
|
+
return event;
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
return void 0;
|
|
2394
|
+
}
|
|
2395
|
+
function extractEventPayload(input, depth = 0) {
|
|
2396
|
+
if (depth > 3 || typeof input !== "object" || input === null) {
|
|
2397
|
+
return void 0;
|
|
2398
|
+
}
|
|
2399
|
+
const record = input;
|
|
2400
|
+
if (typeof record.type === "string" && record.type.includes("::") && "data" in record) {
|
|
2401
|
+
return { type: record.type, data: record.data };
|
|
2402
|
+
}
|
|
2403
|
+
return extractEventPayload(record.payload, depth + 1) ?? extractEventPayload(record.data, depth + 1);
|
|
2404
|
+
}
|
|
2405
|
+
function matches(rawEventType, id, options) {
|
|
2406
|
+
const event = catalogEvents[id];
|
|
2407
|
+
return event.deployments.some(
|
|
2408
|
+
(deployment) => (!options.network || deployment.network === options.network) && eventTypeMatches(rawEventType, deployment, event.generic)
|
|
2409
|
+
);
|
|
2410
|
+
}
|
|
2411
|
+
function matchCatalogEvent(message, id, options = {}) {
|
|
2412
|
+
const payload = extractEventPayload(message);
|
|
2413
|
+
if (!payload || !matches(payload.type, id, options)) {
|
|
2414
|
+
return void 0;
|
|
2415
|
+
}
|
|
2416
|
+
return payload.data;
|
|
2417
|
+
}
|
|
2418
|
+
function parseCatalogEvent(message, id, options = {}) {
|
|
2419
|
+
const payload = extractEventPayload(message);
|
|
2420
|
+
if (!payload || !matches(payload.type, id, options)) {
|
|
2421
|
+
return void 0;
|
|
2422
|
+
}
|
|
2423
|
+
return catalogEvents[id].schema.parse(
|
|
2424
|
+
payload.data
|
|
2425
|
+
);
|
|
2426
|
+
}
|
|
2427
|
+
export {
|
|
2428
|
+
AftermathDepositSchema,
|
|
2429
|
+
AftermathPerpFundingSchema,
|
|
2430
|
+
AftermathPerpLiquidatedSchema,
|
|
2431
|
+
AftermathSwapSchema,
|
|
2432
|
+
AlphafiLiquidityChangeSchema,
|
|
2433
|
+
AlphafiRewardSchema,
|
|
2434
|
+
BluefinFeeCollectedSchema,
|
|
2435
|
+
BluefinLiquidityProvidedSchema,
|
|
2436
|
+
BluefinLiquidityRemovedSchema,
|
|
2437
|
+
BluefinPoolCreatedSchema,
|
|
2438
|
+
BluefinPositionClosedSchema,
|
|
2439
|
+
BluefinPositionOpenedSchema,
|
|
2440
|
+
BluefinRewardCollectedSchema,
|
|
2441
|
+
BluefinSwapSchema,
|
|
2442
|
+
BucketBorrowSchema,
|
|
2443
|
+
BucketDepositCollateralSchema,
|
|
2444
|
+
BucketPositionUpdatedSchema,
|
|
2445
|
+
BucketRedeemSchema,
|
|
2446
|
+
BucketRepaySchema,
|
|
2447
|
+
BucketSbuckDepositSchema,
|
|
2448
|
+
BucketSbuckRewardsSchema,
|
|
2449
|
+
BucketWithdrawCollateralSchema,
|
|
2450
|
+
CetusAddLiquiditySchema,
|
|
2451
|
+
CetusClosePositionSchema,
|
|
2452
|
+
CetusCollectFeeSchema,
|
|
2453
|
+
CetusCreatePoolSchema,
|
|
2454
|
+
CetusOpenPositionSchema,
|
|
2455
|
+
CetusRemoveLiquiditySchema,
|
|
2456
|
+
CetusSwapSchema,
|
|
2457
|
+
CurrentBorrowSchema,
|
|
2458
|
+
CurrentDepositSchema,
|
|
2459
|
+
CurrentLiquidateSchema,
|
|
2460
|
+
CurrentRepaySchema,
|
|
2461
|
+
CurrentWithdrawSchema,
|
|
2462
|
+
DeepbookBalanceSchema,
|
|
2463
|
+
DeepbookFlashLoanSchema,
|
|
2464
|
+
DeepbookOrderCanceledSchema,
|
|
2465
|
+
DeepbookOrderFilledSchema,
|
|
2466
|
+
DeepbookOrderInfoSchema,
|
|
2467
|
+
DeepbookOrderPlacedSchema,
|
|
2468
|
+
EmberDepositSchema,
|
|
2469
|
+
EmberRateUpdatedSchema,
|
|
2470
|
+
EmberRedeemProcessedSchema,
|
|
2471
|
+
EmberRedeemRequestSchema,
|
|
2472
|
+
EventSchemaReflector,
|
|
2473
|
+
FlowxAmmPairCreatedSchema,
|
|
2474
|
+
FlowxAmmSwapSchema,
|
|
2475
|
+
FlowxClmmPoolCreatedSchema,
|
|
2476
|
+
FlowxClmmSwapSchema,
|
|
2477
|
+
HaedalInstantUnstakedSchema,
|
|
2478
|
+
HaedalStakedSchema,
|
|
2479
|
+
HaedalUnstakedSchema,
|
|
2480
|
+
KaiAddLiquiditySchema,
|
|
2481
|
+
KaiDeleverageSchema,
|
|
2482
|
+
KaiLiquidationSchema,
|
|
2483
|
+
KaiPositionOpenSchema,
|
|
2484
|
+
KaiReduceSchema,
|
|
2485
|
+
KaiSupplySchema,
|
|
2486
|
+
KaiSupplyWithdrawSchema,
|
|
2487
|
+
KriyaAddLiquiditySchema,
|
|
2488
|
+
KriyaSwapSchema,
|
|
2489
|
+
MagmaAddLiquiditySchema,
|
|
2490
|
+
MagmaCollectFeeSchema,
|
|
2491
|
+
MagmaCollectRewardSchema,
|
|
2492
|
+
MagmaCreatePoolSchema,
|
|
2493
|
+
MagmaRemoveLiquiditySchema,
|
|
2494
|
+
MagmaSwapSchema,
|
|
2495
|
+
MoleAddDebtSchema,
|
|
2496
|
+
MoleDepositSchema,
|
|
2497
|
+
MoleHarvestSchema,
|
|
2498
|
+
MoleKillSchema,
|
|
2499
|
+
MoleWithdrawSchema,
|
|
2500
|
+
MoleWorkSchema,
|
|
2501
|
+
MomentumAddLiquiditySchema,
|
|
2502
|
+
MomentumCollectFeeSchema,
|
|
2503
|
+
MomentumCollectRewardSchema,
|
|
2504
|
+
MomentumPoolCreatedSchema,
|
|
2505
|
+
MomentumRemoveLiquiditySchema,
|
|
2506
|
+
MomentumRepayFlashSwapSchema,
|
|
2507
|
+
MomentumSwapSchema,
|
|
2508
|
+
NaviBorrowSchema,
|
|
2509
|
+
NaviDepositSchema,
|
|
2510
|
+
NaviLiquidationSchema,
|
|
2511
|
+
NaviRepaySchema,
|
|
2512
|
+
NaviWithdrawSchema,
|
|
2513
|
+
PythPriceFeedUpdateSchema,
|
|
2514
|
+
ScallopBorrowSchema,
|
|
2515
|
+
ScallopCollateralDepositSchema,
|
|
2516
|
+
ScallopCollateralWithdrawSchema,
|
|
2517
|
+
ScallopLiquidationSchema,
|
|
2518
|
+
ScallopRepaySchema,
|
|
2519
|
+
SpringsuiEpochChangedSchema,
|
|
2520
|
+
SpringsuiStakeSchema,
|
|
2521
|
+
SpringsuiUnstakeSchema,
|
|
2522
|
+
SteammBankDepositSchema,
|
|
2523
|
+
SteammBankWithdrawSchema,
|
|
2524
|
+
SuilendBorrowSchema,
|
|
2525
|
+
SuilendClaimRewardSchema,
|
|
2526
|
+
SuilendDepositSchema,
|
|
2527
|
+
SuilendLiquidateSchema,
|
|
2528
|
+
SuilendRepaySchema,
|
|
2529
|
+
SuilendWithdrawSchema,
|
|
2530
|
+
SupraPriceUpdateSchema,
|
|
2531
|
+
TurbosAddLiquiditySchema,
|
|
2532
|
+
TurbosPoolCreatedSchema,
|
|
2533
|
+
TurbosRemoveLiquiditySchema,
|
|
2534
|
+
TurbosSwapSchema,
|
|
2535
|
+
TypusDovAuctionSchema,
|
|
2536
|
+
TypusDovBidSchema,
|
|
2537
|
+
TypusDovSettleSchema,
|
|
2538
|
+
TypusPerpFundingSchema,
|
|
2539
|
+
TypusPerpLiquidateSchema,
|
|
2540
|
+
TypusPerpLpBurnSchema,
|
|
2541
|
+
TypusPerpLpMintSchema,
|
|
2542
|
+
TypusPerpOrderSchema,
|
|
2543
|
+
VoloStakedSchema,
|
|
2544
|
+
VoloUnstakedSchema,
|
|
2545
|
+
WalrusBlobCertifiedSchema,
|
|
2546
|
+
WalrusBlobDeletedSchema,
|
|
2547
|
+
WalrusBlobRegisteredSchema,
|
|
2548
|
+
_7kConfirmSwapSchema,
|
|
2549
|
+
_7kSwapSchema,
|
|
2550
|
+
baseEventType,
|
|
2551
|
+
catalogEvents,
|
|
2552
|
+
eventTypeMatches,
|
|
2553
|
+
formatMoveType,
|
|
2554
|
+
innerEventType,
|
|
2555
|
+
matchCatalogEvent,
|
|
2556
|
+
moveAddress,
|
|
2557
|
+
moveBalance,
|
|
2558
|
+
moveBool,
|
|
2559
|
+
moveBytes,
|
|
2560
|
+
moveSmallUint,
|
|
2561
|
+
moveString,
|
|
2562
|
+
moveTypeName,
|
|
2563
|
+
moveUint,
|
|
2564
|
+
normalizeAddress,
|
|
2565
|
+
parseCatalogEvent,
|
|
2566
|
+
parseMoveType,
|
|
2567
|
+
resolveCatalogEvent,
|
|
2568
|
+
resolveShape,
|
|
2569
|
+
shapeToExpr,
|
|
2570
|
+
shapeToZod,
|
|
2571
|
+
substituteTypeParams,
|
|
2572
|
+
warpAddressPayloadSchema,
|
|
2573
|
+
warpCoinPayloadSchema,
|
|
2574
|
+
warpEventPayloadSchema,
|
|
2575
|
+
warpObjectPayloadSchema,
|
|
2576
|
+
webhookEventBodySchema
|
|
2577
|
+
};
|
|
2578
|
+
//# sourceMappingURL=events.js.map
|