@typemove/aptos 1.8.3 → 1.9.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/dist/cjs/builtin/0x1.d.ts +308 -308
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +2 -2
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +102 -102
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +2 -2
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +22 -22
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +2 -2
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/codegen/codegen.js +2 -2
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/coder-helpers.js +1 -2
- package/dist/cjs/coder-helpers.js.map +1 -1
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +3 -2
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +6 -6
- package/dist/cjs/to-internal.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +308 -308
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +102 -102
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +22 -22
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +1 -0
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/dist/esm/to-internal.js +2 -1
- package/dist/esm/to-internal.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +539 -579
- package/src/builtin/0x3.ts +177 -191
- package/src/builtin/0x4.ts +28 -31
- package/src/move-coder.ts +1 -0
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +55 -55
- package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +32 -36
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +36 -42
- package/src/to-internal.ts +2 -1
package/src/builtin/0x4.ts
CHANGED
|
@@ -68,10 +68,10 @@ export namespace token {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export
|
|
71
|
+
export type MutationInstance = TypedEventInstance<Mutation> & {
|
|
72
72
|
data_decoded: Mutation;
|
|
73
73
|
type_arguments: [];
|
|
74
|
-
}
|
|
74
|
+
};
|
|
75
75
|
|
|
76
76
|
export interface MutationEvent {
|
|
77
77
|
mutated_field_name: string;
|
|
@@ -89,11 +89,10 @@ export namespace token {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export
|
|
93
|
-
extends TypedEventInstance<MutationEvent> {
|
|
92
|
+
export type MutationEventInstance = TypedEventInstance<MutationEvent> & {
|
|
94
93
|
data_decoded: MutationEvent;
|
|
95
94
|
type_arguments: [];
|
|
96
|
-
}
|
|
95
|
+
};
|
|
97
96
|
|
|
98
97
|
export interface ConcurrentTokenIdentifiers {
|
|
99
98
|
index: _0x1.aggregator_v2.AggregatorSnapshot<bigint>;
|
|
@@ -432,10 +431,10 @@ export namespace collection {
|
|
|
432
431
|
}
|
|
433
432
|
}
|
|
434
433
|
|
|
435
|
-
export
|
|
434
|
+
export type BurnInstance = TypedEventInstance<Burn> & {
|
|
436
435
|
data_decoded: Burn;
|
|
437
436
|
type_arguments: [];
|
|
438
|
-
}
|
|
437
|
+
};
|
|
439
438
|
|
|
440
439
|
export interface BurnEvent {
|
|
441
440
|
index: bigint;
|
|
@@ -452,10 +451,10 @@ export namespace collection {
|
|
|
452
451
|
}
|
|
453
452
|
}
|
|
454
453
|
|
|
455
|
-
export
|
|
454
|
+
export type BurnEventInstance = TypedEventInstance<BurnEvent> & {
|
|
456
455
|
data_decoded: BurnEvent;
|
|
457
456
|
type_arguments: [];
|
|
458
|
-
}
|
|
457
|
+
};
|
|
459
458
|
|
|
460
459
|
export interface Collection {
|
|
461
460
|
creator: MoveAddressType;
|
|
@@ -493,11 +492,11 @@ export namespace collection {
|
|
|
493
492
|
}
|
|
494
493
|
}
|
|
495
494
|
|
|
496
|
-
export
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
495
|
+
export type ConcurrentBurnEventInstance =
|
|
496
|
+
TypedEventInstance<ConcurrentBurnEvent> & {
|
|
497
|
+
data_decoded: ConcurrentBurnEvent;
|
|
498
|
+
type_arguments: [];
|
|
499
|
+
};
|
|
501
500
|
|
|
502
501
|
export interface ConcurrentMintEvent {
|
|
503
502
|
collection_addr: MoveAddressType;
|
|
@@ -517,11 +516,11 @@ export namespace collection {
|
|
|
517
516
|
}
|
|
518
517
|
}
|
|
519
518
|
|
|
520
|
-
export
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
519
|
+
export type ConcurrentMintEventInstance =
|
|
520
|
+
TypedEventInstance<ConcurrentMintEvent> & {
|
|
521
|
+
data_decoded: ConcurrentMintEvent;
|
|
522
|
+
type_arguments: [];
|
|
523
|
+
};
|
|
525
524
|
|
|
526
525
|
export interface FixedSupply {
|
|
527
526
|
current_supply: bigint;
|
|
@@ -557,10 +556,10 @@ export namespace collection {
|
|
|
557
556
|
}
|
|
558
557
|
}
|
|
559
558
|
|
|
560
|
-
export
|
|
559
|
+
export type MintInstance = TypedEventInstance<Mint> & {
|
|
561
560
|
data_decoded: Mint;
|
|
562
561
|
type_arguments: [];
|
|
563
|
-
}
|
|
562
|
+
};
|
|
564
563
|
|
|
565
564
|
export interface MintEvent {
|
|
566
565
|
index: bigint;
|
|
@@ -577,10 +576,10 @@ export namespace collection {
|
|
|
577
576
|
}
|
|
578
577
|
}
|
|
579
578
|
|
|
580
|
-
export
|
|
579
|
+
export type MintEventInstance = TypedEventInstance<MintEvent> & {
|
|
581
580
|
data_decoded: MintEvent;
|
|
582
581
|
type_arguments: [];
|
|
583
|
-
}
|
|
582
|
+
};
|
|
584
583
|
|
|
585
584
|
export interface Mutation {
|
|
586
585
|
mutated_field_name: string;
|
|
@@ -599,10 +598,10 @@ export namespace collection {
|
|
|
599
598
|
}
|
|
600
599
|
}
|
|
601
600
|
|
|
602
|
-
export
|
|
601
|
+
export type MutationInstance = TypedEventInstance<Mutation> & {
|
|
603
602
|
data_decoded: Mutation;
|
|
604
603
|
type_arguments: [];
|
|
605
|
-
}
|
|
604
|
+
};
|
|
606
605
|
|
|
607
606
|
export interface MutationEvent {
|
|
608
607
|
mutated_field_name: string;
|
|
@@ -618,11 +617,10 @@ export namespace collection {
|
|
|
618
617
|
}
|
|
619
618
|
}
|
|
620
619
|
|
|
621
|
-
export
|
|
622
|
-
extends TypedEventInstance<MutationEvent> {
|
|
620
|
+
export type MutationEventInstance = TypedEventInstance<MutationEvent> & {
|
|
623
621
|
data_decoded: MutationEvent;
|
|
624
622
|
type_arguments: [];
|
|
625
|
-
}
|
|
623
|
+
};
|
|
626
624
|
|
|
627
625
|
export interface SetMaxSupply {
|
|
628
626
|
collection: _0x1.object$.Object<collection.Collection>;
|
|
@@ -640,11 +638,10 @@ export namespace collection {
|
|
|
640
638
|
}
|
|
641
639
|
}
|
|
642
640
|
|
|
643
|
-
export
|
|
644
|
-
extends TypedEventInstance<SetMaxSupply> {
|
|
641
|
+
export type SetMaxSupplyInstance = TypedEventInstance<SetMaxSupply> & {
|
|
645
642
|
data_decoded: SetMaxSupply;
|
|
646
643
|
type_arguments: [];
|
|
647
|
-
}
|
|
644
|
+
};
|
|
648
645
|
|
|
649
646
|
export interface UnlimitedSupply {
|
|
650
647
|
current_supply: bigint;
|
package/src/move-coder.ts
CHANGED
package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts
CHANGED
|
@@ -150,11 +150,11 @@ export namespace base_pool {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
export type BasePoolParamChangeEventInstance =
|
|
154
|
+
TypedEventInstance<BasePoolParamChangeEvent> & {
|
|
155
|
+
data_decoded: BasePoolParamChangeEvent;
|
|
156
|
+
type_arguments: [];
|
|
157
|
+
};
|
|
158
158
|
|
|
159
159
|
export interface BasePoolParams {
|
|
160
160
|
swap_fee_protocol_allocation_ratio: _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64;
|
|
@@ -320,11 +320,12 @@ export namespace stable_pool {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
export
|
|
324
|
-
|
|
323
|
+
export type AddLiquidityEventInstance = TypedEventInstance<
|
|
324
|
+
AddLiquidityEvent<any, any, any, any>
|
|
325
|
+
> & {
|
|
325
326
|
data_decoded: AddLiquidityEvent<any, any, any, any>;
|
|
326
327
|
type_arguments: [string, string, string, string];
|
|
327
|
-
}
|
|
328
|
+
};
|
|
328
329
|
|
|
329
330
|
export interface Flashloan<T0, T1, T2, T3> {
|
|
330
331
|
amount_0: bigint;
|
|
@@ -376,11 +377,12 @@ export namespace stable_pool {
|
|
|
376
377
|
}
|
|
377
378
|
}
|
|
378
379
|
|
|
379
|
-
export
|
|
380
|
-
|
|
380
|
+
export type FlashloanEventInstance = TypedEventInstance<
|
|
381
|
+
FlashloanEvent<any, any, any, any>
|
|
382
|
+
> & {
|
|
381
383
|
data_decoded: FlashloanEvent<any, any, any, any>;
|
|
382
384
|
type_arguments: [string, string, string, string];
|
|
383
|
-
}
|
|
385
|
+
};
|
|
384
386
|
|
|
385
387
|
export interface FlashloanHelper<T0, T1, T2, T3> {
|
|
386
388
|
locked: boolean;
|
|
@@ -434,11 +436,12 @@ export namespace stable_pool {
|
|
|
434
436
|
}
|
|
435
437
|
}
|
|
436
438
|
|
|
437
|
-
export
|
|
438
|
-
|
|
439
|
+
export type RemoveLiquidityEventInstance = TypedEventInstance<
|
|
440
|
+
RemoveLiquidityEvent<any, any, any, any>
|
|
441
|
+
> & {
|
|
439
442
|
data_decoded: RemoveLiquidityEvent<any, any, any, any>;
|
|
440
443
|
type_arguments: [string, string, string, string];
|
|
441
|
-
}
|
|
444
|
+
};
|
|
442
445
|
|
|
443
446
|
export interface StablePool<T0, T1, T2, T3> {
|
|
444
447
|
asset_0: _0x1.coin.Coin<T0>;
|
|
@@ -507,11 +510,12 @@ export namespace stable_pool {
|
|
|
507
510
|
}
|
|
508
511
|
}
|
|
509
512
|
|
|
510
|
-
export
|
|
511
|
-
|
|
513
|
+
export type StablePoolCreationEventInstance = TypedEventInstance<
|
|
514
|
+
StablePoolCreationEvent<any, any, any, any>
|
|
515
|
+
> & {
|
|
512
516
|
data_decoded: StablePoolCreationEvent<any, any, any, any>;
|
|
513
517
|
type_arguments: [string, string, string, string];
|
|
514
|
-
}
|
|
518
|
+
};
|
|
515
519
|
|
|
516
520
|
export interface StablePoolEvents<T0, T1, T2, T3> {
|
|
517
521
|
pool_creation_events: _0x1.event.EventHandle<
|
|
@@ -601,11 +605,11 @@ export namespace stable_pool {
|
|
|
601
605
|
}
|
|
602
606
|
}
|
|
603
607
|
|
|
604
|
-
export
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
608
|
+
export type StablePoolParamChangeEventInstance =
|
|
609
|
+
TypedEventInstance<StablePoolParamChangeEvent> & {
|
|
610
|
+
data_decoded: StablePoolParamChangeEvent;
|
|
611
|
+
type_arguments: [];
|
|
612
|
+
};
|
|
609
613
|
|
|
610
614
|
export interface StablePoolParams {
|
|
611
615
|
default_swap_fee_ratio: _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64;
|
|
@@ -678,11 +682,12 @@ export namespace stable_pool {
|
|
|
678
682
|
}
|
|
679
683
|
}
|
|
680
684
|
|
|
681
|
-
export
|
|
682
|
-
|
|
685
|
+
export type SwapEventInstance = TypedEventInstance<
|
|
686
|
+
SwapEvent<any, any, any, any>
|
|
687
|
+
> & {
|
|
683
688
|
data_decoded: SwapEvent<any, any, any, any>;
|
|
684
689
|
type_arguments: [string, string, string, string];
|
|
685
|
-
}
|
|
690
|
+
};
|
|
686
691
|
|
|
687
692
|
export namespace entry {
|
|
688
693
|
export async function setAmpFactor<T0 = any, T1 = any, T2 = any, T3 = any>(
|
|
@@ -1090,10 +1095,9 @@ export namespace weighted_pool {
|
|
|
1090
1095
|
}
|
|
1091
1096
|
}
|
|
1092
1097
|
|
|
1093
|
-
export
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
> {
|
|
1098
|
+
export type AddLiquidityEventInstance = TypedEventInstance<
|
|
1099
|
+
AddLiquidityEvent<any, any, any, any, any, any, any, any>
|
|
1100
|
+
> & {
|
|
1097
1101
|
data_decoded: AddLiquidityEvent<any, any, any, any, any, any, any, any>;
|
|
1098
1102
|
type_arguments: [
|
|
1099
1103
|
string,
|
|
@@ -1105,7 +1109,7 @@ export namespace weighted_pool {
|
|
|
1105
1109
|
string,
|
|
1106
1110
|
string,
|
|
1107
1111
|
];
|
|
1108
|
-
}
|
|
1112
|
+
};
|
|
1109
1113
|
|
|
1110
1114
|
export interface Flashloan<T0, T1, T2, T3, T4, T5, T6, T7> {
|
|
1111
1115
|
amount_0: bigint;
|
|
@@ -1165,10 +1169,9 @@ export namespace weighted_pool {
|
|
|
1165
1169
|
}
|
|
1166
1170
|
}
|
|
1167
1171
|
|
|
1168
|
-
export
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
> {
|
|
1172
|
+
export type FlashloanEventInstance = TypedEventInstance<
|
|
1173
|
+
FlashloanEvent<any, any, any, any, any, any, any, any>
|
|
1174
|
+
> & {
|
|
1172
1175
|
data_decoded: FlashloanEvent<any, any, any, any, any, any, any, any>;
|
|
1173
1176
|
type_arguments: [
|
|
1174
1177
|
string,
|
|
@@ -1180,7 +1183,7 @@ export namespace weighted_pool {
|
|
|
1180
1183
|
string,
|
|
1181
1184
|
string,
|
|
1182
1185
|
];
|
|
1183
|
-
}
|
|
1186
|
+
};
|
|
1184
1187
|
|
|
1185
1188
|
export interface FlashloanHelper<T0, T1, T2, T3, T4, T5, T6, T7> {
|
|
1186
1189
|
locked: boolean;
|
|
@@ -1242,10 +1245,9 @@ export namespace weighted_pool {
|
|
|
1242
1245
|
}
|
|
1243
1246
|
}
|
|
1244
1247
|
|
|
1245
|
-
export
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
> {
|
|
1248
|
+
export type RemoveLiquidityEventInstance = TypedEventInstance<
|
|
1249
|
+
RemoveLiquidityEvent<any, any, any, any, any, any, any, any>
|
|
1250
|
+
> & {
|
|
1249
1251
|
data_decoded: RemoveLiquidityEvent<any, any, any, any, any, any, any, any>;
|
|
1250
1252
|
type_arguments: [
|
|
1251
1253
|
string,
|
|
@@ -1257,7 +1259,7 @@ export namespace weighted_pool {
|
|
|
1257
1259
|
string,
|
|
1258
1260
|
string,
|
|
1259
1261
|
];
|
|
1260
|
-
}
|
|
1262
|
+
};
|
|
1261
1263
|
|
|
1262
1264
|
export interface SwapEvent<T0, T1, T2, T3, T4, T5, T6, T7> {
|
|
1263
1265
|
idx_in: bigint;
|
|
@@ -1293,10 +1295,9 @@ export namespace weighted_pool {
|
|
|
1293
1295
|
}
|
|
1294
1296
|
}
|
|
1295
1297
|
|
|
1296
|
-
export
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
> {
|
|
1298
|
+
export type SwapEventInstance = TypedEventInstance<
|
|
1299
|
+
SwapEvent<any, any, any, any, any, any, any, any>
|
|
1300
|
+
> & {
|
|
1300
1301
|
data_decoded: SwapEvent<any, any, any, any, any, any, any, any>;
|
|
1301
1302
|
type_arguments: [
|
|
1302
1303
|
string,
|
|
@@ -1308,7 +1309,7 @@ export namespace weighted_pool {
|
|
|
1308
1309
|
string,
|
|
1309
1310
|
string,
|
|
1310
1311
|
];
|
|
1311
|
-
}
|
|
1312
|
+
};
|
|
1312
1313
|
|
|
1313
1314
|
export interface Weight_10 {
|
|
1314
1315
|
dummy_field: boolean;
|
|
@@ -1674,10 +1675,9 @@ export namespace weighted_pool {
|
|
|
1674
1675
|
}
|
|
1675
1676
|
}
|
|
1676
1677
|
|
|
1677
|
-
export
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
> {
|
|
1678
|
+
export type WeightedPoolCreationEventInstance = TypedEventInstance<
|
|
1679
|
+
WeightedPoolCreationEvent<any, any, any, any, any, any, any, any>
|
|
1680
|
+
> & {
|
|
1681
1681
|
data_decoded: WeightedPoolCreationEvent<
|
|
1682
1682
|
any,
|
|
1683
1683
|
any,
|
|
@@ -1698,7 +1698,7 @@ export namespace weighted_pool {
|
|
|
1698
1698
|
string,
|
|
1699
1699
|
string,
|
|
1700
1700
|
];
|
|
1701
|
-
}
|
|
1701
|
+
};
|
|
1702
1702
|
|
|
1703
1703
|
export interface WeightedPoolEvents<T0, T1, T2, T3, T4, T5, T6, T7> {
|
|
1704
1704
|
pool_creation_events: _0x1.event.EventHandle<
|
|
@@ -1795,11 +1795,11 @@ export namespace weighted_pool {
|
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
export
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1798
|
+
export type WeightedPoolParamChangeEventInstance =
|
|
1799
|
+
TypedEventInstance<WeightedPoolParamChangeEvent> & {
|
|
1800
|
+
data_decoded: WeightedPoolParamChangeEvent;
|
|
1801
|
+
type_arguments: [];
|
|
1802
|
+
};
|
|
1803
1803
|
|
|
1804
1804
|
export interface WeightedPoolParams {
|
|
1805
1805
|
default_swap_fee_ratio: _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64;
|
package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts
CHANGED
|
@@ -44,11 +44,11 @@ export namespace farming {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
export type BoostMultiplierChangeEventInstance =
|
|
48
|
+
TypedEventInstance<BoostMultiplierChangeEvent> & {
|
|
49
|
+
data_decoded: BoostMultiplierChangeEvent;
|
|
50
|
+
type_arguments: [];
|
|
51
|
+
};
|
|
52
52
|
|
|
53
53
|
export interface BoostedFarming {
|
|
54
54
|
boost_multipliers: _0x1.smart_table.SmartTable<
|
|
@@ -87,10 +87,10 @@ export namespace farming {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export
|
|
90
|
+
export type ClaimEventInstance = TypedEventInstance<ClaimEvent> & {
|
|
91
91
|
data_decoded: ClaimEvent;
|
|
92
92
|
type_arguments: [];
|
|
93
|
-
}
|
|
93
|
+
};
|
|
94
94
|
|
|
95
95
|
export interface EpochInfo {
|
|
96
96
|
start_sec: bigint;
|
|
@@ -195,11 +195,10 @@ export namespace farming {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
export
|
|
199
|
-
extends TypedEventInstance<PoolChangeEvent> {
|
|
198
|
+
export type PoolChangeEventInstance = TypedEventInstance<PoolChangeEvent> & {
|
|
200
199
|
data_decoded: PoolChangeEvent;
|
|
201
200
|
type_arguments: [];
|
|
202
|
-
}
|
|
201
|
+
};
|
|
203
202
|
|
|
204
203
|
export interface PoolInfo {
|
|
205
204
|
stake_coin: string;
|
|
@@ -259,11 +258,11 @@ export namespace farming {
|
|
|
259
258
|
}
|
|
260
259
|
}
|
|
261
260
|
|
|
262
|
-
export
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
261
|
+
export type RateLimitMaxQtyUpdateEventInstance =
|
|
262
|
+
TypedEventInstance<RateLimitMaxQtyUpdateEvent> & {
|
|
263
|
+
data_decoded: RateLimitMaxQtyUpdateEvent;
|
|
264
|
+
type_arguments: [];
|
|
265
|
+
};
|
|
267
266
|
|
|
268
267
|
export interface RateLimitWindowDurationUpdateEvent {
|
|
269
268
|
window_duration_seconds: bigint;
|
|
@@ -282,11 +281,11 @@ export namespace farming {
|
|
|
282
281
|
}
|
|
283
282
|
}
|
|
284
283
|
|
|
285
|
-
export
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
284
|
+
export type RateLimitWindowDurationUpdateEventInstance =
|
|
285
|
+
TypedEventInstance<RateLimitWindowDurationUpdateEvent> & {
|
|
286
|
+
data_decoded: RateLimitWindowDurationUpdateEvent;
|
|
287
|
+
type_arguments: [];
|
|
288
|
+
};
|
|
290
289
|
|
|
291
290
|
export interface RewardEpochEvent {
|
|
292
291
|
reward_coin: string;
|
|
@@ -308,11 +307,11 @@ export namespace farming {
|
|
|
308
307
|
}
|
|
309
308
|
}
|
|
310
309
|
|
|
311
|
-
export
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
310
|
+
export type RewardEpochEventInstance =
|
|
311
|
+
TypedEventInstance<RewardEpochEvent> & {
|
|
312
|
+
data_decoded: RewardEpochEvent;
|
|
313
|
+
type_arguments: [];
|
|
314
|
+
};
|
|
316
315
|
|
|
317
316
|
export interface StakeEvent {
|
|
318
317
|
pid: bigint;
|
|
@@ -331,10 +330,10 @@ export namespace farming {
|
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
332
|
|
|
334
|
-
export
|
|
333
|
+
export type StakeEventInstance = TypedEventInstance<StakeEvent> & {
|
|
335
334
|
data_decoded: StakeEvent;
|
|
336
335
|
type_arguments: [];
|
|
337
|
-
}
|
|
336
|
+
};
|
|
338
337
|
|
|
339
338
|
export interface StakeEventV2 {
|
|
340
339
|
pid: bigint;
|
|
@@ -355,11 +354,10 @@ export namespace farming {
|
|
|
355
354
|
}
|
|
356
355
|
}
|
|
357
356
|
|
|
358
|
-
export
|
|
359
|
-
extends TypedEventInstance<StakeEventV2> {
|
|
357
|
+
export type StakeEventV2Instance = TypedEventInstance<StakeEventV2> & {
|
|
360
358
|
data_decoded: StakeEventV2;
|
|
361
359
|
type_arguments: [];
|
|
362
|
-
}
|
|
360
|
+
};
|
|
363
361
|
|
|
364
362
|
export interface Staker {
|
|
365
363
|
pool_info: _0x1.table.Table<bigint, farming.UserPoolInfo>;
|
|
@@ -393,11 +391,10 @@ export namespace farming {
|
|
|
393
391
|
}
|
|
394
392
|
}
|
|
395
393
|
|
|
396
|
-
export
|
|
397
|
-
extends TypedEventInstance<UnstakeEvent> {
|
|
394
|
+
export type UnstakeEventInstance = TypedEventInstance<UnstakeEvent> & {
|
|
398
395
|
data_decoded: UnstakeEvent;
|
|
399
396
|
type_arguments: [];
|
|
400
|
-
}
|
|
397
|
+
};
|
|
401
398
|
|
|
402
399
|
export interface UnstakeEventV2 {
|
|
403
400
|
pid: bigint;
|
|
@@ -418,11 +415,10 @@ export namespace farming {
|
|
|
418
415
|
}
|
|
419
416
|
}
|
|
420
417
|
|
|
421
|
-
export
|
|
422
|
-
extends TypedEventInstance<UnstakeEventV2> {
|
|
418
|
+
export type UnstakeEventV2Instance = TypedEventInstance<UnstakeEventV2> & {
|
|
423
419
|
data_decoded: UnstakeEventV2;
|
|
424
420
|
type_arguments: [];
|
|
425
|
-
}
|
|
421
|
+
};
|
|
426
422
|
|
|
427
423
|
export interface UserPoolInfo {
|
|
428
424
|
amount: bigint;
|