aiia-vault-sdk 1.2.9 → 1.2.12
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/MultiLevelReferralNFT.d.ts +13 -0
- package/dist/MultiLevelReferralNFT.js +1 -1
- package/dist/TradingVault.d.ts +120 -3
- package/dist/TradingVault.js +1 -1
- package/dist/abis/NFTTicket.json +63 -2
- package/dist/abis/TradingVault.json +137 -2
- package/dist/contracts/MultiLevelReferralNFT.sol/NFTTicket.d.ts +39 -2
- package/dist/contracts/TradingVault.d.ts +84 -10
- package/dist/contracts.json +6 -5
- package/package.json +1 -1
@@ -19,12 +19,14 @@ export declare namespace TradingVault {
|
|
19
19
|
};
|
20
20
|
}
|
21
21
|
export interface TradingVaultInterface extends Interface {
|
22
|
-
getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "MAX_BATCH_SIZE" | "OPERATOR_ROLE" | "PERCENTAGE_BASE" | "PRICE_SETTER_ROLE" | "addReward" | "approve" | "balanceOf" | "batchEmitPriceUpdated" | "borrowCurrency" | "claimERC20" | "createPosition" | "currency" | "getApproved" | "getRewardConfigsLength" | "getRoleAdmin" | "grantOperatorRole" | "grantPriceSetterRole" | "grantRole" | "hasRole" | "initialize" | "isApprovedForAll" | "isReduceEnabled" | "name" | "owner" | "ownerOf" | "positions" | "price" | "reducePosition" | "reducePositions" | "renounceOwnership" | "renounceRole" | "repayCurrency" | "revokeRole" | "rewardConfigs" | "rewardToken" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setCurrency" | "setPrice" | "setReduceEnabled" | "setRewardToken" | "setTreasury" | "supportsInterface" | "symbol" | "tokenURI" | "totalAmount" | "totalBorrowed" | "totalRewardsAdded" | "totalRewardsHarvested" | "transferFrom" | "transferOwnership" | "treasury" | "updateRewardConfigs"): FunctionFragment;
|
23
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "CurrencyBorrowed" | "CurrencyRepaid" | "CurrencyUpdated" | "Initialized" | "OwnershipTransferred" | "PositionCreated" | "PositionReduced" | "PriceUpdated" | "ReduceEnabledUpdated" | "RewardConfigsUpdated" | "RewardTokenUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TotalAmountUpdated" | "TotalRewardsHarvestedUpdated" | "TotalRewardsUpdated" | "Transfer" | "TreasuryUpdated"): EventFragment;
|
22
|
+
getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "MAX_BATCH_SIZE" | "MAX_PRICE_PERCENTAGE" | "MIN_PRICE_PERCENTAGE" | "OPERATOR_ROLE" | "PERCENTAGE_BASE" | "PRICE_SETTER_ROLE" | "addReward" | "approve" | "balanceOf" | "batchEmitPriceUpdated" | "batchSetPositionExpiration" | "borrowCurrency" | "claimERC20" | "closeExpiredPosition" | "createPosition" | "currency" | "getApproved" | "getRewardConfigsLength" | "getRoleAdmin" | "grantOperatorRole" | "grantPriceSetterRole" | "grantRole" | "hasRole" | "initialize" | "isApprovedForAll" | "isReduceEnabled" | "name" | "owner" | "ownerOf" | "positions" | "price" | "reducePosition" | "reducePositions" | "renounceOwnership" | "renounceRole" | "repayCurrency" | "revokeRole" | "rewardConfigs" | "rewardToken" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setCurrency" | "setPositionExpiration" | "setPrice" | "setReduceEnabled" | "setRewardToken" | "setTreasury" | "supportsInterface" | "symbol" | "tokenURI" | "totalAmount" | "totalBorrowed" | "totalRewardsAdded" | "totalRewardsHarvested" | "transferFrom" | "transferOwnership" | "treasury" | "updateRewardConfigs"): FunctionFragment;
|
23
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "CurrencyBorrowed" | "CurrencyRepaid" | "CurrencyUpdated" | "Initialized" | "OwnershipTransferred" | "PositionCreated" | "PositionExpirationUpdated" | "PositionReduced" | "PriceUpdated" | "ReduceEnabledUpdated" | "RewardConfigsUpdated" | "RewardTokenUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TotalAmountUpdated" | "TotalRewardsHarvestedUpdated" | "TotalRewardsUpdated" | "Transfer" | "TreasuryUpdated"): EventFragment;
|
24
24
|
encodeFunctionData(functionFragment: "BASE_WEIGHT", values?: undefined): string;
|
25
25
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
26
26
|
encodeFunctionData(functionFragment: "EXPO", values?: undefined): string;
|
27
27
|
encodeFunctionData(functionFragment: "MAX_BATCH_SIZE", values?: undefined): string;
|
28
|
+
encodeFunctionData(functionFragment: "MAX_PRICE_PERCENTAGE", values?: undefined): string;
|
29
|
+
encodeFunctionData(functionFragment: "MIN_PRICE_PERCENTAGE", values?: undefined): string;
|
28
30
|
encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
|
29
31
|
encodeFunctionData(functionFragment: "PERCENTAGE_BASE", values?: undefined): string;
|
30
32
|
encodeFunctionData(functionFragment: "PRICE_SETTER_ROLE", values?: undefined): string;
|
@@ -32,9 +34,11 @@ export interface TradingVaultInterface extends Interface {
|
|
32
34
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
33
35
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
34
36
|
encodeFunctionData(functionFragment: "batchEmitPriceUpdated", values: [TradingVault.PriceDataStruct[]]): string;
|
37
|
+
encodeFunctionData(functionFragment: "batchSetPositionExpiration", values: [BigNumberish[], BigNumberish[]]): string;
|
35
38
|
encodeFunctionData(functionFragment: "borrowCurrency", values: [BigNumberish]): string;
|
36
39
|
encodeFunctionData(functionFragment: "claimERC20", values: [AddressLike, BigNumberish]): string;
|
37
|
-
encodeFunctionData(functionFragment: "
|
40
|
+
encodeFunctionData(functionFragment: "closeExpiredPosition", values: [BigNumberish, BigNumberish]): string;
|
41
|
+
encodeFunctionData(functionFragment: "createPosition", values: [BigNumberish, AddressLike, BigNumberish]): string;
|
38
42
|
encodeFunctionData(functionFragment: "currency", values?: undefined): string;
|
39
43
|
encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
|
40
44
|
encodeFunctionData(functionFragment: "getRewardConfigsLength", values?: undefined): string;
|
@@ -63,6 +67,7 @@ export interface TradingVaultInterface extends Interface {
|
|
63
67
|
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
64
68
|
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
65
69
|
encodeFunctionData(functionFragment: "setCurrency", values: [AddressLike]): string;
|
70
|
+
encodeFunctionData(functionFragment: "setPositionExpiration", values: [BigNumberish, BigNumberish]): string;
|
66
71
|
encodeFunctionData(functionFragment: "setPrice", values: [BigNumberish]): string;
|
67
72
|
encodeFunctionData(functionFragment: "setReduceEnabled", values: [boolean]): string;
|
68
73
|
encodeFunctionData(functionFragment: "setRewardToken", values: [AddressLike]): string;
|
@@ -82,6 +87,8 @@ export interface TradingVaultInterface extends Interface {
|
|
82
87
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
83
88
|
decodeFunctionResult(functionFragment: "EXPO", data: BytesLike): Result;
|
84
89
|
decodeFunctionResult(functionFragment: "MAX_BATCH_SIZE", data: BytesLike): Result;
|
90
|
+
decodeFunctionResult(functionFragment: "MAX_PRICE_PERCENTAGE", data: BytesLike): Result;
|
91
|
+
decodeFunctionResult(functionFragment: "MIN_PRICE_PERCENTAGE", data: BytesLike): Result;
|
85
92
|
decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
|
86
93
|
decodeFunctionResult(functionFragment: "PERCENTAGE_BASE", data: BytesLike): Result;
|
87
94
|
decodeFunctionResult(functionFragment: "PRICE_SETTER_ROLE", data: BytesLike): Result;
|
@@ -89,8 +96,10 @@ export interface TradingVaultInterface extends Interface {
|
|
89
96
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
90
97
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
91
98
|
decodeFunctionResult(functionFragment: "batchEmitPriceUpdated", data: BytesLike): Result;
|
99
|
+
decodeFunctionResult(functionFragment: "batchSetPositionExpiration", data: BytesLike): Result;
|
92
100
|
decodeFunctionResult(functionFragment: "borrowCurrency", data: BytesLike): Result;
|
93
101
|
decodeFunctionResult(functionFragment: "claimERC20", data: BytesLike): Result;
|
102
|
+
decodeFunctionResult(functionFragment: "closeExpiredPosition", data: BytesLike): Result;
|
94
103
|
decodeFunctionResult(functionFragment: "createPosition", data: BytesLike): Result;
|
95
104
|
decodeFunctionResult(functionFragment: "currency", data: BytesLike): Result;
|
96
105
|
decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
|
@@ -120,6 +129,7 @@ export interface TradingVaultInterface extends Interface {
|
|
120
129
|
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
121
130
|
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
122
131
|
decodeFunctionResult(functionFragment: "setCurrency", data: BytesLike): Result;
|
132
|
+
decodeFunctionResult(functionFragment: "setPositionExpiration", data: BytesLike): Result;
|
123
133
|
decodeFunctionResult(functionFragment: "setPrice", data: BytesLike): Result;
|
124
134
|
decodeFunctionResult(functionFragment: "setReduceEnabled", data: BytesLike): Result;
|
125
135
|
decodeFunctionResult(functionFragment: "setRewardToken", data: BytesLike): Result;
|
@@ -240,7 +250,8 @@ export declare namespace PositionCreatedEvent {
|
|
240
250
|
entryPrice: BigNumberish,
|
241
251
|
amount: BigNumberish,
|
242
252
|
openedAt: BigNumberish,
|
243
|
-
currency: AddressLike
|
253
|
+
currency: AddressLike,
|
254
|
+
expiredAt: BigNumberish
|
244
255
|
];
|
245
256
|
type OutputTuple = [
|
246
257
|
user: string,
|
@@ -248,7 +259,8 @@ export declare namespace PositionCreatedEvent {
|
|
248
259
|
entryPrice: bigint,
|
249
260
|
amount: bigint,
|
250
261
|
openedAt: bigint,
|
251
|
-
currency: string
|
262
|
+
currency: string,
|
263
|
+
expiredAt: bigint
|
252
264
|
];
|
253
265
|
interface OutputObject {
|
254
266
|
user: string;
|
@@ -257,6 +269,19 @@ export declare namespace PositionCreatedEvent {
|
|
257
269
|
amount: bigint;
|
258
270
|
openedAt: bigint;
|
259
271
|
currency: string;
|
272
|
+
expiredAt: bigint;
|
273
|
+
}
|
274
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
275
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
276
|
+
type Log = TypedEventLog<Event>;
|
277
|
+
type LogDescription = TypedLogDescription<Event>;
|
278
|
+
}
|
279
|
+
export declare namespace PositionExpirationUpdatedEvent {
|
280
|
+
type InputTuple = [tokenId: BigNumberish, expiredAt: BigNumberish];
|
281
|
+
type OutputTuple = [tokenId: bigint, expiredAt: bigint];
|
282
|
+
interface OutputObject {
|
283
|
+
tokenId: bigint;
|
284
|
+
expiredAt: bigint;
|
260
285
|
}
|
261
286
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
262
287
|
type Filter = TypedDeferredTopicFilter<Event>;
|
@@ -510,6 +535,8 @@ export interface TradingVault extends BaseContract {
|
|
510
535
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
511
536
|
EXPO: TypedContractMethod<[], [bigint], "view">;
|
512
537
|
MAX_BATCH_SIZE: TypedContractMethod<[], [bigint], "view">;
|
538
|
+
MAX_PRICE_PERCENTAGE: TypedContractMethod<[], [bigint], "view">;
|
539
|
+
MIN_PRICE_PERCENTAGE: TypedContractMethod<[], [bigint], "view">;
|
513
540
|
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
514
541
|
PERCENTAGE_BASE: TypedContractMethod<[], [bigint], "view">;
|
515
542
|
PRICE_SETTER_ROLE: TypedContractMethod<[], [string], "view">;
|
@@ -530,6 +557,12 @@ export interface TradingVault extends BaseContract {
|
|
530
557
|
], [
|
531
558
|
void
|
532
559
|
], "nonpayable">;
|
560
|
+
batchSetPositionExpiration: TypedContractMethod<[
|
561
|
+
_tokenIds: BigNumberish[],
|
562
|
+
_expiredAts: BigNumberish[]
|
563
|
+
], [
|
564
|
+
void
|
565
|
+
], "nonpayable">;
|
533
566
|
borrowCurrency: TypedContractMethod<[
|
534
567
|
_amount: BigNumberish
|
535
568
|
], [
|
@@ -541,9 +574,16 @@ export interface TradingVault extends BaseContract {
|
|
541
574
|
], [
|
542
575
|
void
|
543
576
|
], "nonpayable">;
|
577
|
+
closeExpiredPosition: TypedContractMethod<[
|
578
|
+
_tokenId: BigNumberish,
|
579
|
+
_providedPrice: BigNumberish
|
580
|
+
], [
|
581
|
+
void
|
582
|
+
], "nonpayable">;
|
544
583
|
createPosition: TypedContractMethod<[
|
545
584
|
_amount: BigNumberish,
|
546
|
-
_recipient: AddressLike
|
585
|
+
_recipient: AddressLike,
|
586
|
+
_expiredAt: BigNumberish
|
547
587
|
], [
|
548
588
|
bigint
|
549
589
|
], "nonpayable">;
|
@@ -603,7 +643,8 @@ export interface TradingVault extends BaseContract {
|
|
603
643
|
bigint,
|
604
644
|
bigint,
|
605
645
|
bigint,
|
606
|
-
string
|
646
|
+
string,
|
647
|
+
bigint
|
607
648
|
] & {
|
608
649
|
entryPrice: bigint;
|
609
650
|
outPrice: bigint;
|
@@ -614,6 +655,7 @@ export interface TradingVault extends BaseContract {
|
|
614
655
|
rewardedAmount: bigint;
|
615
656
|
lossAmount: bigint;
|
616
657
|
token: string;
|
658
|
+
expiredAt: bigint;
|
617
659
|
}
|
618
660
|
], "view">;
|
619
661
|
price: TypedContractMethod<[], [bigint], "view">;
|
@@ -682,6 +724,12 @@ export interface TradingVault extends BaseContract {
|
|
682
724
|
], [
|
683
725
|
void
|
684
726
|
], "nonpayable">;
|
727
|
+
setPositionExpiration: TypedContractMethod<[
|
728
|
+
_tokenId: BigNumberish,
|
729
|
+
_expiredAt: BigNumberish
|
730
|
+
], [
|
731
|
+
void
|
732
|
+
], "nonpayable">;
|
685
733
|
setPrice: TypedContractMethod<[
|
686
734
|
_newPrice: BigNumberish
|
687
735
|
], [
|
@@ -736,6 +784,8 @@ export interface TradingVault extends BaseContract {
|
|
736
784
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
737
785
|
getFunction(nameOrSignature: "EXPO"): TypedContractMethod<[], [bigint], "view">;
|
738
786
|
getFunction(nameOrSignature: "MAX_BATCH_SIZE"): TypedContractMethod<[], [bigint], "view">;
|
787
|
+
getFunction(nameOrSignature: "MAX_PRICE_PERCENTAGE"): TypedContractMethod<[], [bigint], "view">;
|
788
|
+
getFunction(nameOrSignature: "MIN_PRICE_PERCENTAGE"): TypedContractMethod<[], [bigint], "view">;
|
739
789
|
getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
740
790
|
getFunction(nameOrSignature: "PERCENTAGE_BASE"): TypedContractMethod<[], [bigint], "view">;
|
741
791
|
getFunction(nameOrSignature: "PRICE_SETTER_ROLE"): TypedContractMethod<[], [string], "view">;
|
@@ -752,6 +802,12 @@ export interface TradingVault extends BaseContract {
|
|
752
802
|
], [
|
753
803
|
void
|
754
804
|
], "nonpayable">;
|
805
|
+
getFunction(nameOrSignature: "batchSetPositionExpiration"): TypedContractMethod<[
|
806
|
+
_tokenIds: BigNumberish[],
|
807
|
+
_expiredAts: BigNumberish[]
|
808
|
+
], [
|
809
|
+
void
|
810
|
+
], "nonpayable">;
|
755
811
|
getFunction(nameOrSignature: "borrowCurrency"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
|
756
812
|
getFunction(nameOrSignature: "claimERC20"): TypedContractMethod<[
|
757
813
|
_token: AddressLike,
|
@@ -759,9 +815,16 @@ export interface TradingVault extends BaseContract {
|
|
759
815
|
], [
|
760
816
|
void
|
761
817
|
], "nonpayable">;
|
818
|
+
getFunction(nameOrSignature: "closeExpiredPosition"): TypedContractMethod<[
|
819
|
+
_tokenId: BigNumberish,
|
820
|
+
_providedPrice: BigNumberish
|
821
|
+
], [
|
822
|
+
void
|
823
|
+
], "nonpayable">;
|
762
824
|
getFunction(nameOrSignature: "createPosition"): TypedContractMethod<[
|
763
825
|
_amount: BigNumberish,
|
764
|
-
_recipient: AddressLike
|
826
|
+
_recipient: AddressLike,
|
827
|
+
_expiredAt: BigNumberish
|
765
828
|
], [
|
766
829
|
bigint
|
767
830
|
], "nonpayable">;
|
@@ -813,7 +876,8 @@ export interface TradingVault extends BaseContract {
|
|
813
876
|
bigint,
|
814
877
|
bigint,
|
815
878
|
bigint,
|
816
|
-
string
|
879
|
+
string,
|
880
|
+
bigint
|
817
881
|
] & {
|
818
882
|
entryPrice: bigint;
|
819
883
|
outPrice: bigint;
|
@@ -824,6 +888,7 @@ export interface TradingVault extends BaseContract {
|
|
824
888
|
rewardedAmount: bigint;
|
825
889
|
lossAmount: bigint;
|
826
890
|
token: string;
|
891
|
+
expiredAt: bigint;
|
827
892
|
}
|
828
893
|
], "view">;
|
829
894
|
getFunction(nameOrSignature: "price"): TypedContractMethod<[], [bigint], "view">;
|
@@ -884,6 +949,12 @@ export interface TradingVault extends BaseContract {
|
|
884
949
|
void
|
885
950
|
], "nonpayable">;
|
886
951
|
getFunction(nameOrSignature: "setCurrency"): TypedContractMethod<[_currency: AddressLike], [void], "nonpayable">;
|
952
|
+
getFunction(nameOrSignature: "setPositionExpiration"): TypedContractMethod<[
|
953
|
+
_tokenId: BigNumberish,
|
954
|
+
_expiredAt: BigNumberish
|
955
|
+
], [
|
956
|
+
void
|
957
|
+
], "nonpayable">;
|
887
958
|
getFunction(nameOrSignature: "setPrice"): TypedContractMethod<[_newPrice: BigNumberish], [void], "nonpayable">;
|
888
959
|
getFunction(nameOrSignature: "setReduceEnabled"): TypedContractMethod<[_enabled: boolean], [void], "nonpayable">;
|
889
960
|
getFunction(nameOrSignature: "setRewardToken"): TypedContractMethod<[_rewardToken: AddressLike], [void], "nonpayable">;
|
@@ -917,6 +988,7 @@ export interface TradingVault extends BaseContract {
|
|
917
988
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
918
989
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
919
990
|
getEvent(key: "PositionCreated"): TypedContractEvent<PositionCreatedEvent.InputTuple, PositionCreatedEvent.OutputTuple, PositionCreatedEvent.OutputObject>;
|
991
|
+
getEvent(key: "PositionExpirationUpdated"): TypedContractEvent<PositionExpirationUpdatedEvent.InputTuple, PositionExpirationUpdatedEvent.OutputTuple, PositionExpirationUpdatedEvent.OutputObject>;
|
920
992
|
getEvent(key: "PositionReduced"): TypedContractEvent<PositionReducedEvent.InputTuple, PositionReducedEvent.OutputTuple, PositionReducedEvent.OutputObject>;
|
921
993
|
getEvent(key: "PriceUpdated"): TypedContractEvent<PriceUpdatedEvent.InputTuple, PriceUpdatedEvent.OutputTuple, PriceUpdatedEvent.OutputObject>;
|
922
994
|
getEvent(key: "ReduceEnabledUpdated"): TypedContractEvent<ReduceEnabledUpdatedEvent.InputTuple, ReduceEnabledUpdatedEvent.OutputTuple, ReduceEnabledUpdatedEvent.OutputObject>;
|
@@ -945,8 +1017,10 @@ export interface TradingVault extends BaseContract {
|
|
945
1017
|
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
946
1018
|
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
947
1019
|
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
948
|
-
"PositionCreated(address,uint256,uint256,uint256,uint256,address)": TypedContractEvent<PositionCreatedEvent.InputTuple, PositionCreatedEvent.OutputTuple, PositionCreatedEvent.OutputObject>;
|
1020
|
+
"PositionCreated(address,uint256,uint256,uint256,uint256,address,uint256)": TypedContractEvent<PositionCreatedEvent.InputTuple, PositionCreatedEvent.OutputTuple, PositionCreatedEvent.OutputObject>;
|
949
1021
|
PositionCreated: TypedContractEvent<PositionCreatedEvent.InputTuple, PositionCreatedEvent.OutputTuple, PositionCreatedEvent.OutputObject>;
|
1022
|
+
"PositionExpirationUpdated(uint256,uint256)": TypedContractEvent<PositionExpirationUpdatedEvent.InputTuple, PositionExpirationUpdatedEvent.OutputTuple, PositionExpirationUpdatedEvent.OutputObject>;
|
1023
|
+
PositionExpirationUpdated: TypedContractEvent<PositionExpirationUpdatedEvent.InputTuple, PositionExpirationUpdatedEvent.OutputTuple, PositionExpirationUpdatedEvent.OutputObject>;
|
950
1024
|
"PositionReduced(address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address)": TypedContractEvent<PositionReducedEvent.InputTuple, PositionReducedEvent.OutputTuple, PositionReducedEvent.OutputObject>;
|
951
1025
|
PositionReduced: TypedContractEvent<PositionReducedEvent.InputTuple, PositionReducedEvent.OutputTuple, PositionReducedEvent.OutputObject>;
|
952
1026
|
"PriceUpdated(uint256,uint256,uint256,uint256)": TypedContractEvent<PriceUpdatedEvent.InputTuple, PriceUpdatedEvent.OutputTuple, PriceUpdatedEvent.OutputObject>;
|
package/dist/contracts.json
CHANGED
@@ -28,8 +28,8 @@
|
|
28
28
|
"TradingVault-implemented-deprecated": "0xEe8D777729B5D8239FF18E77B04cf47a73FfE516",
|
29
29
|
"USDC": "0xDd33fEeD5D44D9e89b69C8E9397292E0D6554a66",
|
30
30
|
"TradingVault": "0xDAA0505313b7448374DB560c46584b4c85432e4E",
|
31
|
-
"TradingVault-implemented": "
|
32
|
-
"TradingVault-implemented-old": "
|
31
|
+
"TradingVault-implemented": "0xe156e586C607E166Ead84801f55D6e5BFEF8700C",
|
32
|
+
"TradingVault-implemented-old": "0x1e888AAD1DECC7a6F4d1f6962D63e4A793EF5104",
|
33
33
|
"UniswapV2Factory": "0xF64C66999F62b7B86aDF3477d426c8A26b1111be",
|
34
34
|
"UniswapV2Router02": "0x4e3671ea1DdaeFa9eBB160e0fBC5D8785E0833Ab",
|
35
35
|
"PTK": "0x7A526040174f47581B7a5dEf81E65045541Bbfc6",
|
@@ -40,8 +40,8 @@
|
|
40
40
|
"MultiLevelReferralNFT-implemented": "0x8012522547Febe8daf9C23509A3BC97d8CCE8161",
|
41
41
|
"MultiLevelReferralNFT-implemented-old": "0xBeb206dE71c26B51557a48665F53d8Ef08399Fe9",
|
42
42
|
"NFTTicket": "0x3f1AC66384593AAF4d99B51776E1d7df00d2C271",
|
43
|
-
"NFTTicket-implemented": "
|
44
|
-
"NFTTicket-implemented-old": "
|
43
|
+
"NFTTicket-implemented": "0x5099f248392C336186AA438BC871c6d3E0886b0C",
|
44
|
+
"NFTTicket-implemented-old": "0x8915d96Ae316b321e8B3A00Ba21e4F5D41FF526C"
|
45
45
|
},
|
46
46
|
"base": {
|
47
47
|
"SeedRoundFundraiser": "0x3e7b414cAd1011c757dBA1a58212Db561dc9feeB",
|
@@ -52,6 +52,7 @@
|
|
52
52
|
"MultiLevelReferralNFT": "0x5Fcee1455f74C936b0819a49e9AFC886E182b1A6",
|
53
53
|
"MultiLevelReferralNFT-implemented": "0xc1c5cb24f727Ad0e634F1347c8BD1396BC050c77",
|
54
54
|
"NFTTicket": "0x299d9923D9AfA0C3c7F868b948d504C4D6104b9F",
|
55
|
-
"NFTTicket-implemented": "
|
55
|
+
"NFTTicket-implemented": "0x6520a840CDBd1AeCB32E6331164a4445aE1148b8",
|
56
|
+
"NFTTicket-implemented-old": "0xec38C132724BF909416bc3F222DD9c3357E70C39"
|
56
57
|
}
|
57
58
|
}
|