@sentio/sdk 1.26.0 → 1.26.2
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/lib/aptos/aptos-processor.d.ts +1 -0
- package/lib/aptos/aptos-processor.js +2 -1
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/context.d.ts +2 -1
- package/lib/aptos/context.js +3 -1
- package/lib/aptos/context.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -1
- package/lib/aptos/index.js +2 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +1 -0
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +171 -0
- package/lib/builtin/aptos/0x1.js +171 -0
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +31 -0
- package/lib/builtin/aptos/0x3.js +31 -0
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/context.d.ts +2 -5
- package/lib/core/context.js +8 -11
- package/lib/core/context.js.map +1 -1
- package/lib/core/event-tracker.js +1 -1
- package/lib/core/event-tracker.js.map +1 -1
- package/lib/core/exporter.d.ts +14 -0
- package/lib/core/exporter.js +27 -0
- package/lib/core/exporter.js.map +1 -0
- package/lib/core/logger.js +1 -1
- package/lib/core/logger.js.map +1 -1
- package/lib/core/meter.js +2 -2
- package/lib/core/meter.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +32 -0
- package/lib/gen/processor/protos/processor.js +206 -3
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/processor-state.d.ts +2 -0
- package/lib/processor-state.js +1 -0
- package/lib/processor-state.js.map +1 -1
- package/lib/service.d.ts +1 -0
- package/lib/service.js +19 -16
- package/lib/service.js.map +1 -1
- package/lib/tests/erc20.js +7 -0
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +14 -0
- package/lib/tests/types/aptos/souffle.js +14 -0
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/aptos-processor.ts +7 -1
- package/src/aptos/context.ts +3 -1
- package/src/aptos/index.ts +1 -1
- package/src/aptos-codegen/codegen.ts +1 -0
- package/src/builtin/aptos/0x1.ts +171 -0
- package/src/builtin/aptos/0x3.ts +31 -0
- package/src/core/context.ts +10 -20
- package/src/core/event-tracker.ts +1 -1
- package/src/core/exporter.ts +33 -0
- package/src/core/logger.ts +1 -1
- package/src/core/meter.ts +2 -2
- package/src/gen/processor/protos/processor.ts +250 -1
- package/src/processor-state.ts +3 -0
- package/src/service.ts +21 -18
- package/src/tests/erc20.ts +7 -0
- package/src/tests/types/aptos/souffle.ts +28 -0
|
@@ -25,6 +25,7 @@ export declare class token extends aptos.AptosBaseProcessor {
|
|
|
25
25
|
}
|
|
26
26
|
export declare namespace token {
|
|
27
27
|
class BurnTokenEvent {
|
|
28
|
+
static TYPE_NAME: string;
|
|
28
29
|
id: token.TokenId;
|
|
29
30
|
amount: bigint;
|
|
30
31
|
}
|
|
@@ -33,6 +34,7 @@ export declare namespace token {
|
|
|
33
34
|
type_arguments: [];
|
|
34
35
|
}
|
|
35
36
|
class CollectionData {
|
|
37
|
+
static TYPE_NAME: string;
|
|
36
38
|
description: string;
|
|
37
39
|
name: string;
|
|
38
40
|
uri: string;
|
|
@@ -41,11 +43,13 @@ export declare namespace token {
|
|
|
41
43
|
mutability_config: token.CollectionMutabilityConfig;
|
|
42
44
|
}
|
|
43
45
|
class CollectionMutabilityConfig {
|
|
46
|
+
static TYPE_NAME: string;
|
|
44
47
|
description: Boolean;
|
|
45
48
|
uri: Boolean;
|
|
46
49
|
maximum: Boolean;
|
|
47
50
|
}
|
|
48
51
|
class Collections {
|
|
52
|
+
static TYPE_NAME: string;
|
|
49
53
|
collection_data: table.Table<string, token.CollectionData>;
|
|
50
54
|
token_data: table.Table<token.TokenDataId, token.TokenData>;
|
|
51
55
|
create_collection_events: event.EventHandle<token.CreateCollectionEvent>;
|
|
@@ -53,6 +57,7 @@ export declare namespace token {
|
|
|
53
57
|
mint_token_events: event.EventHandle<token.MintTokenEvent>;
|
|
54
58
|
}
|
|
55
59
|
class CreateCollectionEvent {
|
|
60
|
+
static TYPE_NAME: string;
|
|
56
61
|
creator: Address;
|
|
57
62
|
collection_name: string;
|
|
58
63
|
uri: string;
|
|
@@ -64,6 +69,7 @@ export declare namespace token {
|
|
|
64
69
|
type_arguments: [];
|
|
65
70
|
}
|
|
66
71
|
class CreateTokenDataEvent {
|
|
72
|
+
static TYPE_NAME: string;
|
|
67
73
|
id: token.TokenDataId;
|
|
68
74
|
description: string;
|
|
69
75
|
maximum: bigint;
|
|
@@ -82,6 +88,7 @@ export declare namespace token {
|
|
|
82
88
|
type_arguments: [];
|
|
83
89
|
}
|
|
84
90
|
class DepositEvent {
|
|
91
|
+
static TYPE_NAME: string;
|
|
85
92
|
id: token.TokenId;
|
|
86
93
|
amount: bigint;
|
|
87
94
|
}
|
|
@@ -90,6 +97,7 @@ export declare namespace token {
|
|
|
90
97
|
type_arguments: [];
|
|
91
98
|
}
|
|
92
99
|
class MintTokenEvent {
|
|
100
|
+
static TYPE_NAME: string;
|
|
93
101
|
id: token.TokenDataId;
|
|
94
102
|
amount: bigint;
|
|
95
103
|
}
|
|
@@ -98,6 +106,7 @@ export declare namespace token {
|
|
|
98
106
|
type_arguments: [];
|
|
99
107
|
}
|
|
100
108
|
class MutateTokenPropertyMapEvent {
|
|
109
|
+
static TYPE_NAME: string;
|
|
101
110
|
old_id: token.TokenId;
|
|
102
111
|
new_id: token.TokenId;
|
|
103
112
|
keys: string[];
|
|
@@ -109,16 +118,19 @@ export declare namespace token {
|
|
|
109
118
|
type_arguments: [];
|
|
110
119
|
}
|
|
111
120
|
class Royalty {
|
|
121
|
+
static TYPE_NAME: string;
|
|
112
122
|
royalty_points_numerator: bigint;
|
|
113
123
|
royalty_points_denominator: bigint;
|
|
114
124
|
payee_address: Address;
|
|
115
125
|
}
|
|
116
126
|
class Token {
|
|
127
|
+
static TYPE_NAME: string;
|
|
117
128
|
id: token.TokenId;
|
|
118
129
|
amount: bigint;
|
|
119
130
|
token_properties: property_map.PropertyMap;
|
|
120
131
|
}
|
|
121
132
|
class TokenData {
|
|
133
|
+
static TYPE_NAME: string;
|
|
122
134
|
maximum: bigint;
|
|
123
135
|
largest_property_version: bigint;
|
|
124
136
|
supply: bigint;
|
|
@@ -130,15 +142,18 @@ export declare namespace token {
|
|
|
130
142
|
mutability_config: token.TokenMutabilityConfig;
|
|
131
143
|
}
|
|
132
144
|
class TokenDataId {
|
|
145
|
+
static TYPE_NAME: string;
|
|
133
146
|
creator: Address;
|
|
134
147
|
collection: string;
|
|
135
148
|
name: string;
|
|
136
149
|
}
|
|
137
150
|
class TokenId {
|
|
151
|
+
static TYPE_NAME: string;
|
|
138
152
|
token_data_id: token.TokenDataId;
|
|
139
153
|
property_version: bigint;
|
|
140
154
|
}
|
|
141
155
|
class TokenMutabilityConfig {
|
|
156
|
+
static TYPE_NAME: string;
|
|
142
157
|
maximum: Boolean;
|
|
143
158
|
uri: Boolean;
|
|
144
159
|
royalty: Boolean;
|
|
@@ -146,6 +161,7 @@ export declare namespace token {
|
|
|
146
161
|
properties: Boolean;
|
|
147
162
|
}
|
|
148
163
|
class TokenStore {
|
|
164
|
+
static TYPE_NAME: string;
|
|
149
165
|
tokens: table.Table<token.TokenId, token.Token>;
|
|
150
166
|
direct_transfer: Boolean;
|
|
151
167
|
deposit_events: event.EventHandle<token.DepositEvent>;
|
|
@@ -154,12 +170,14 @@ export declare namespace token {
|
|
|
154
170
|
mutate_token_property_events: event.EventHandle<token.MutateTokenPropertyMapEvent>;
|
|
155
171
|
}
|
|
156
172
|
class WithdrawCapability {
|
|
173
|
+
static TYPE_NAME: string;
|
|
157
174
|
token_owner: Address;
|
|
158
175
|
token_id: token.TokenId;
|
|
159
176
|
amount: bigint;
|
|
160
177
|
expiration_sec: bigint;
|
|
161
178
|
}
|
|
162
179
|
class WithdrawEvent {
|
|
180
|
+
static TYPE_NAME: string;
|
|
163
181
|
id: token.TokenId;
|
|
164
182
|
amount: bigint;
|
|
165
183
|
}
|
|
@@ -281,9 +299,11 @@ export declare namespace token {
|
|
|
281
299
|
}
|
|
282
300
|
export declare namespace property_map {
|
|
283
301
|
class PropertyMap {
|
|
302
|
+
static TYPE_NAME: string;
|
|
284
303
|
map: simple_map.SimpleMap<string, property_map.PropertyValue>;
|
|
285
304
|
}
|
|
286
305
|
class PropertyValue {
|
|
306
|
+
static TYPE_NAME: string;
|
|
287
307
|
value: string;
|
|
288
308
|
type: string;
|
|
289
309
|
}
|
|
@@ -301,14 +321,17 @@ export declare class token_coin_swap extends aptos.AptosBaseProcessor {
|
|
|
301
321
|
}
|
|
302
322
|
export declare namespace token_coin_swap {
|
|
303
323
|
class TokenCoinSwap<T0> {
|
|
324
|
+
static TYPE_NAME: string;
|
|
304
325
|
token_amount: bigint;
|
|
305
326
|
min_price_per_token: bigint;
|
|
306
327
|
}
|
|
307
328
|
class TokenEscrow {
|
|
329
|
+
static TYPE_NAME: string;
|
|
308
330
|
token: token.Token;
|
|
309
331
|
locked_until_secs: bigint;
|
|
310
332
|
}
|
|
311
333
|
class TokenListingEvent {
|
|
334
|
+
static TYPE_NAME: string;
|
|
312
335
|
token_id: token.TokenId;
|
|
313
336
|
amount: bigint;
|
|
314
337
|
min_price: bigint;
|
|
@@ -320,14 +343,17 @@ export declare namespace token_coin_swap {
|
|
|
320
343
|
type_arguments: [];
|
|
321
344
|
}
|
|
322
345
|
class TokenListings<T0> {
|
|
346
|
+
static TYPE_NAME: string;
|
|
323
347
|
listings: table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
|
|
324
348
|
listing_events: event.EventHandle<token_coin_swap.TokenListingEvent>;
|
|
325
349
|
swap_events: event.EventHandle<token_coin_swap.TokenSwapEvent>;
|
|
326
350
|
}
|
|
327
351
|
class TokenStoreEscrow {
|
|
352
|
+
static TYPE_NAME: string;
|
|
328
353
|
token_escrows: table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
|
|
329
354
|
}
|
|
330
355
|
class TokenSwapEvent {
|
|
356
|
+
static TYPE_NAME: string;
|
|
331
357
|
token_id: token.TokenId;
|
|
332
358
|
token_buyer: Address;
|
|
333
359
|
token_amount: bigint;
|
|
@@ -367,12 +393,14 @@ export declare class token_transfers extends aptos.AptosBaseProcessor {
|
|
|
367
393
|
}
|
|
368
394
|
export declare namespace token_transfers {
|
|
369
395
|
class PendingClaims {
|
|
396
|
+
static TYPE_NAME: string;
|
|
370
397
|
pending_claims: table.Table<token_transfers.TokenOfferId, token.Token>;
|
|
371
398
|
offer_events: event.EventHandle<token_transfers.TokenOfferEvent>;
|
|
372
399
|
cancel_offer_events: event.EventHandle<token_transfers.TokenCancelOfferEvent>;
|
|
373
400
|
claim_events: event.EventHandle<token_transfers.TokenClaimEvent>;
|
|
374
401
|
}
|
|
375
402
|
class TokenCancelOfferEvent {
|
|
403
|
+
static TYPE_NAME: string;
|
|
376
404
|
to_address: Address;
|
|
377
405
|
token_id: token.TokenId;
|
|
378
406
|
amount: bigint;
|
|
@@ -382,6 +410,7 @@ export declare namespace token_transfers {
|
|
|
382
410
|
type_arguments: [];
|
|
383
411
|
}
|
|
384
412
|
class TokenClaimEvent {
|
|
413
|
+
static TYPE_NAME: string;
|
|
385
414
|
to_address: Address;
|
|
386
415
|
token_id: token.TokenId;
|
|
387
416
|
amount: bigint;
|
|
@@ -391,6 +420,7 @@ export declare namespace token_transfers {
|
|
|
391
420
|
type_arguments: [];
|
|
392
421
|
}
|
|
393
422
|
class TokenOfferEvent {
|
|
423
|
+
static TYPE_NAME: string;
|
|
394
424
|
to_address: Address;
|
|
395
425
|
token_id: token.TokenId;
|
|
396
426
|
amount: bigint;
|
|
@@ -400,6 +430,7 @@ export declare namespace token_transfers {
|
|
|
400
430
|
type_arguments: [];
|
|
401
431
|
}
|
|
402
432
|
class TokenOfferId {
|
|
433
|
+
static TYPE_NAME: string;
|
|
403
434
|
to_addr: Address;
|
|
404
435
|
token_id: token.TokenId;
|
|
405
436
|
}
|
package/lib/builtin/aptos/0x3.js
CHANGED
|
@@ -130,11 +130,13 @@ class token extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
130
130
|
exports.token = token;
|
|
131
131
|
(function (token) {
|
|
132
132
|
class BurnTokenEvent {
|
|
133
|
+
static TYPE_NAME = "0x3::token::BurnTokenEvent";
|
|
133
134
|
id;
|
|
134
135
|
amount;
|
|
135
136
|
}
|
|
136
137
|
token.BurnTokenEvent = BurnTokenEvent;
|
|
137
138
|
class CollectionData {
|
|
139
|
+
static TYPE_NAME = "0x3::token::CollectionData";
|
|
138
140
|
description;
|
|
139
141
|
name;
|
|
140
142
|
uri;
|
|
@@ -144,12 +146,14 @@ exports.token = token;
|
|
|
144
146
|
}
|
|
145
147
|
token.CollectionData = CollectionData;
|
|
146
148
|
class CollectionMutabilityConfig {
|
|
149
|
+
static TYPE_NAME = "0x3::token::CollectionMutabilityConfig";
|
|
147
150
|
description;
|
|
148
151
|
uri;
|
|
149
152
|
maximum;
|
|
150
153
|
}
|
|
151
154
|
token.CollectionMutabilityConfig = CollectionMutabilityConfig;
|
|
152
155
|
class Collections {
|
|
156
|
+
static TYPE_NAME = "0x3::token::Collections";
|
|
153
157
|
collection_data;
|
|
154
158
|
token_data;
|
|
155
159
|
create_collection_events;
|
|
@@ -158,6 +162,7 @@ exports.token = token;
|
|
|
158
162
|
}
|
|
159
163
|
token.Collections = Collections;
|
|
160
164
|
class CreateCollectionEvent {
|
|
165
|
+
static TYPE_NAME = "0x3::token::CreateCollectionEvent";
|
|
161
166
|
creator;
|
|
162
167
|
collection_name;
|
|
163
168
|
uri;
|
|
@@ -166,6 +171,7 @@ exports.token = token;
|
|
|
166
171
|
}
|
|
167
172
|
token.CreateCollectionEvent = CreateCollectionEvent;
|
|
168
173
|
class CreateTokenDataEvent {
|
|
174
|
+
static TYPE_NAME = "0x3::token::CreateTokenDataEvent";
|
|
169
175
|
id;
|
|
170
176
|
description;
|
|
171
177
|
maximum;
|
|
@@ -181,16 +187,19 @@ exports.token = token;
|
|
|
181
187
|
}
|
|
182
188
|
token.CreateTokenDataEvent = CreateTokenDataEvent;
|
|
183
189
|
class DepositEvent {
|
|
190
|
+
static TYPE_NAME = "0x3::token::DepositEvent";
|
|
184
191
|
id;
|
|
185
192
|
amount;
|
|
186
193
|
}
|
|
187
194
|
token.DepositEvent = DepositEvent;
|
|
188
195
|
class MintTokenEvent {
|
|
196
|
+
static TYPE_NAME = "0x3::token::MintTokenEvent";
|
|
189
197
|
id;
|
|
190
198
|
amount;
|
|
191
199
|
}
|
|
192
200
|
token.MintTokenEvent = MintTokenEvent;
|
|
193
201
|
class MutateTokenPropertyMapEvent {
|
|
202
|
+
static TYPE_NAME = "0x3::token::MutateTokenPropertyMapEvent";
|
|
194
203
|
old_id;
|
|
195
204
|
new_id;
|
|
196
205
|
keys;
|
|
@@ -199,18 +208,21 @@ exports.token = token;
|
|
|
199
208
|
}
|
|
200
209
|
token.MutateTokenPropertyMapEvent = MutateTokenPropertyMapEvent;
|
|
201
210
|
class Royalty {
|
|
211
|
+
static TYPE_NAME = "0x3::token::Royalty";
|
|
202
212
|
royalty_points_numerator;
|
|
203
213
|
royalty_points_denominator;
|
|
204
214
|
payee_address;
|
|
205
215
|
}
|
|
206
216
|
token.Royalty = Royalty;
|
|
207
217
|
class Token {
|
|
218
|
+
static TYPE_NAME = "0x3::token::Token";
|
|
208
219
|
id;
|
|
209
220
|
amount;
|
|
210
221
|
token_properties;
|
|
211
222
|
}
|
|
212
223
|
token.Token = Token;
|
|
213
224
|
class TokenData {
|
|
225
|
+
static TYPE_NAME = "0x3::token::TokenData";
|
|
214
226
|
maximum;
|
|
215
227
|
largest_property_version;
|
|
216
228
|
supply;
|
|
@@ -223,17 +235,20 @@ exports.token = token;
|
|
|
223
235
|
}
|
|
224
236
|
token.TokenData = TokenData;
|
|
225
237
|
class TokenDataId {
|
|
238
|
+
static TYPE_NAME = "0x3::token::TokenDataId";
|
|
226
239
|
creator;
|
|
227
240
|
collection;
|
|
228
241
|
name;
|
|
229
242
|
}
|
|
230
243
|
token.TokenDataId = TokenDataId;
|
|
231
244
|
class TokenId {
|
|
245
|
+
static TYPE_NAME = "0x3::token::TokenId";
|
|
232
246
|
token_data_id;
|
|
233
247
|
property_version;
|
|
234
248
|
}
|
|
235
249
|
token.TokenId = TokenId;
|
|
236
250
|
class TokenMutabilityConfig {
|
|
251
|
+
static TYPE_NAME = "0x3::token::TokenMutabilityConfig";
|
|
237
252
|
maximum;
|
|
238
253
|
uri;
|
|
239
254
|
royalty;
|
|
@@ -242,6 +257,7 @@ exports.token = token;
|
|
|
242
257
|
}
|
|
243
258
|
token.TokenMutabilityConfig = TokenMutabilityConfig;
|
|
244
259
|
class TokenStore {
|
|
260
|
+
static TYPE_NAME = "0x3::token::TokenStore";
|
|
245
261
|
tokens;
|
|
246
262
|
direct_transfer;
|
|
247
263
|
deposit_events;
|
|
@@ -251,6 +267,7 @@ exports.token = token;
|
|
|
251
267
|
}
|
|
252
268
|
token.TokenStore = TokenStore;
|
|
253
269
|
class WithdrawCapability {
|
|
270
|
+
static TYPE_NAME = "0x3::token::WithdrawCapability";
|
|
254
271
|
token_owner;
|
|
255
272
|
token_id;
|
|
256
273
|
amount;
|
|
@@ -258,6 +275,7 @@ exports.token = token;
|
|
|
258
275
|
}
|
|
259
276
|
token.WithdrawCapability = WithdrawCapability;
|
|
260
277
|
class WithdrawEvent {
|
|
278
|
+
static TYPE_NAME = "0x3::token::WithdrawEvent";
|
|
261
279
|
id;
|
|
262
280
|
amount;
|
|
263
281
|
}
|
|
@@ -271,10 +289,12 @@ exports.token = token;
|
|
|
271
289
|
var property_map;
|
|
272
290
|
(function (property_map) {
|
|
273
291
|
class PropertyMap {
|
|
292
|
+
static TYPE_NAME = "0x3::property_map::PropertyMap";
|
|
274
293
|
map;
|
|
275
294
|
}
|
|
276
295
|
property_map.PropertyMap = PropertyMap;
|
|
277
296
|
class PropertyValue {
|
|
297
|
+
static TYPE_NAME = "0x3::property_map::PropertyValue";
|
|
278
298
|
value;
|
|
279
299
|
type;
|
|
280
300
|
}
|
|
@@ -325,16 +345,19 @@ class token_coin_swap extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
325
345
|
exports.token_coin_swap = token_coin_swap;
|
|
326
346
|
(function (token_coin_swap) {
|
|
327
347
|
class TokenCoinSwap {
|
|
348
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenCoinSwap";
|
|
328
349
|
token_amount;
|
|
329
350
|
min_price_per_token;
|
|
330
351
|
}
|
|
331
352
|
token_coin_swap.TokenCoinSwap = TokenCoinSwap;
|
|
332
353
|
class TokenEscrow {
|
|
354
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenEscrow";
|
|
333
355
|
token;
|
|
334
356
|
locked_until_secs;
|
|
335
357
|
}
|
|
336
358
|
token_coin_swap.TokenEscrow = TokenEscrow;
|
|
337
359
|
class TokenListingEvent {
|
|
360
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenListingEvent";
|
|
338
361
|
token_id;
|
|
339
362
|
amount;
|
|
340
363
|
min_price;
|
|
@@ -343,16 +366,19 @@ exports.token_coin_swap = token_coin_swap;
|
|
|
343
366
|
}
|
|
344
367
|
token_coin_swap.TokenListingEvent = TokenListingEvent;
|
|
345
368
|
class TokenListings {
|
|
369
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenListings";
|
|
346
370
|
listings;
|
|
347
371
|
listing_events;
|
|
348
372
|
swap_events;
|
|
349
373
|
}
|
|
350
374
|
token_coin_swap.TokenListings = TokenListings;
|
|
351
375
|
class TokenStoreEscrow {
|
|
376
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenStoreEscrow";
|
|
352
377
|
token_escrows;
|
|
353
378
|
}
|
|
354
379
|
token_coin_swap.TokenStoreEscrow = TokenStoreEscrow;
|
|
355
380
|
class TokenSwapEvent {
|
|
381
|
+
static TYPE_NAME = "0x3::token_coin_swap::TokenSwapEvent";
|
|
356
382
|
token_id;
|
|
357
383
|
token_buyer;
|
|
358
384
|
token_amount;
|
|
@@ -426,6 +452,7 @@ class token_transfers extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
426
452
|
exports.token_transfers = token_transfers;
|
|
427
453
|
(function (token_transfers) {
|
|
428
454
|
class PendingClaims {
|
|
455
|
+
static TYPE_NAME = "0x3::token_transfers::PendingClaims";
|
|
429
456
|
pending_claims;
|
|
430
457
|
offer_events;
|
|
431
458
|
cancel_offer_events;
|
|
@@ -433,24 +460,28 @@ exports.token_transfers = token_transfers;
|
|
|
433
460
|
}
|
|
434
461
|
token_transfers.PendingClaims = PendingClaims;
|
|
435
462
|
class TokenCancelOfferEvent {
|
|
463
|
+
static TYPE_NAME = "0x3::token_transfers::TokenCancelOfferEvent";
|
|
436
464
|
to_address;
|
|
437
465
|
token_id;
|
|
438
466
|
amount;
|
|
439
467
|
}
|
|
440
468
|
token_transfers.TokenCancelOfferEvent = TokenCancelOfferEvent;
|
|
441
469
|
class TokenClaimEvent {
|
|
470
|
+
static TYPE_NAME = "0x3::token_transfers::TokenClaimEvent";
|
|
442
471
|
to_address;
|
|
443
472
|
token_id;
|
|
444
473
|
amount;
|
|
445
474
|
}
|
|
446
475
|
token_transfers.TokenClaimEvent = TokenClaimEvent;
|
|
447
476
|
class TokenOfferEvent {
|
|
477
|
+
static TYPE_NAME = "0x3::token_transfers::TokenOfferEvent";
|
|
448
478
|
to_address;
|
|
449
479
|
token_id;
|
|
450
480
|
amount;
|
|
451
481
|
}
|
|
452
482
|
token_transfers.TokenOfferEvent = TokenOfferEvent;
|
|
453
483
|
class TokenOfferId {
|
|
484
|
+
static TYPE_NAME = "0x3::token_transfers::TokenOfferId";
|
|
454
485
|
to_addr;
|
|
455
486
|
token_id;
|
|
456
487
|
}
|