aiia-vault-sdk 1.1.5 → 1.1.7
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/SeedRoundFundraiser.d.ts +0 -12
- package/dist/SeedRoundFundraiser.js +1 -1
- package/dist/TradingVault.d.ts +4 -2
- package/dist/TradingVault.js +1 -1
- package/dist/abis/SeedRoundFundraiser.json +40 -10
- package/dist/abis/TradingVault.json +41 -7
- package/dist/contracts/SeedRoundFundraiser.d.ts +26 -8
- package/dist/contracts/TradingVault.d.ts +24 -10
- package/dist/contracts.json +4 -4
- package/package.json +1 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
3
3
|
export interface SeedRoundFundraiserInterface extends Interface {
|
4
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "ETH_ADDRESS" | "OPERATOR_ROLE" | "PRICE_PRECISION" | "
|
4
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "ETH_ADDRESS" | "OPERATOR_ROLE" | "PRICE_PRECISION" | "TREASURER_ROLE" | "addWhitelistedToken" | "claimTokensByRoundId" | "contribute" | "createRound" | "endRound" | "getRoleAdmin" | "getRoundsCount" | "getUserParticipatedRound" | "getUserRoundContribution" | "getUserTotalContribution" | "grantOperatorRole" | "grantRole" | "grantTreasurerRole" | "hasRole" | "initialize" | "isRoundActive" | "owner" | "projectToken" | "refund" | "removeWhitelistedToken" | "renounceOwnership" | "renounceRole" | "revokeRole" | "roundParticipants" | "roundRaisedFunds" | "rounds" | "setClaimingEnabled" | "setMultiRoundParticipation" | "setProjectToken" | "setRefundEnabled" | "supportsInterface" | "totalRaisedFunds" | "totalRounds" | "transferOwnership" | "updateRound" | "updateTokenPrice" | "userContributions" | "userParticipatedRound" | "whitelistedTokens" | "withdrawFunds"): FunctionFragment;
|
5
5
|
getEvent(nameOrSignatureOrTopic: "ClaimingEnabledUpdated" | "Contribution" | "Initialized" | "MultiRoundParticipationUpdated" | "OwnershipTransferred" | "ProjectTokenUpdated" | "RefundEnabledUpdated" | "Refunded" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "RoundCreated" | "RoundEnded" | "RoundUpdated" | "TokenPriceUpdated" | "TokenRemovedFromWhitelist" | "TokenWhitelisted" | "TokensClaimed"): EventFragment;
|
6
6
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
7
7
|
encodeFunctionData(functionFragment: "ETH_ADDRESS", values?: undefined): string;
|
8
8
|
encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
|
9
9
|
encodeFunctionData(functionFragment: "PRICE_PRECISION", values?: undefined): string;
|
10
|
+
encodeFunctionData(functionFragment: "TREASURER_ROLE", values?: undefined): string;
|
10
11
|
encodeFunctionData(functionFragment: "addWhitelistedToken", values: [AddressLike, BigNumberish]): string;
|
11
|
-
encodeFunctionData(functionFragment: "claimTokens", values?: undefined): string;
|
12
12
|
encodeFunctionData(functionFragment: "claimTokensByRoundId", values: [BigNumberish]): string;
|
13
13
|
encodeFunctionData(functionFragment: "contribute", values: [BigNumberish, AddressLike, BigNumberish]): string;
|
14
14
|
encodeFunctionData(functionFragment: "createRound", values: [
|
@@ -26,12 +26,13 @@ export interface SeedRoundFundraiserInterface extends Interface {
|
|
26
26
|
encodeFunctionData(functionFragment: "getUserTotalContribution", values: [AddressLike]): string;
|
27
27
|
encodeFunctionData(functionFragment: "grantOperatorRole", values: [AddressLike]): string;
|
28
28
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
29
|
+
encodeFunctionData(functionFragment: "grantTreasurerRole", values: [AddressLike]): string;
|
29
30
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
30
31
|
encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
|
31
32
|
encodeFunctionData(functionFragment: "isRoundActive", values: [BigNumberish]): string;
|
32
33
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
33
34
|
encodeFunctionData(functionFragment: "projectToken", values?: undefined): string;
|
34
|
-
encodeFunctionData(functionFragment: "refund", values
|
35
|
+
encodeFunctionData(functionFragment: "refund", values: [BigNumberish, AddressLike]): string;
|
35
36
|
encodeFunctionData(functionFragment: "removeWhitelistedToken", values: [AddressLike]): string;
|
36
37
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
37
38
|
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
@@ -64,8 +65,8 @@ export interface SeedRoundFundraiserInterface extends Interface {
|
|
64
65
|
decodeFunctionResult(functionFragment: "ETH_ADDRESS", data: BytesLike): Result;
|
65
66
|
decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
|
66
67
|
decodeFunctionResult(functionFragment: "PRICE_PRECISION", data: BytesLike): Result;
|
68
|
+
decodeFunctionResult(functionFragment: "TREASURER_ROLE", data: BytesLike): Result;
|
67
69
|
decodeFunctionResult(functionFragment: "addWhitelistedToken", data: BytesLike): Result;
|
68
|
-
decodeFunctionResult(functionFragment: "claimTokens", data: BytesLike): Result;
|
69
70
|
decodeFunctionResult(functionFragment: "claimTokensByRoundId", data: BytesLike): Result;
|
70
71
|
decodeFunctionResult(functionFragment: "contribute", data: BytesLike): Result;
|
71
72
|
decodeFunctionResult(functionFragment: "createRound", data: BytesLike): Result;
|
@@ -77,6 +78,7 @@ export interface SeedRoundFundraiserInterface extends Interface {
|
|
77
78
|
decodeFunctionResult(functionFragment: "getUserTotalContribution", data: BytesLike): Result;
|
78
79
|
decodeFunctionResult(functionFragment: "grantOperatorRole", data: BytesLike): Result;
|
79
80
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
81
|
+
decodeFunctionResult(functionFragment: "grantTreasurerRole", data: BytesLike): Result;
|
80
82
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
81
83
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
82
84
|
decodeFunctionResult(functionFragment: "isRoundActive", data: BytesLike): Result;
|
@@ -440,13 +442,13 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
440
442
|
ETH_ADDRESS: TypedContractMethod<[], [string], "view">;
|
441
443
|
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
442
444
|
PRICE_PRECISION: TypedContractMethod<[], [bigint], "view">;
|
445
|
+
TREASURER_ROLE: TypedContractMethod<[], [string], "view">;
|
443
446
|
addWhitelistedToken: TypedContractMethod<[
|
444
447
|
_token: AddressLike,
|
445
448
|
_price: BigNumberish
|
446
449
|
], [
|
447
450
|
void
|
448
451
|
], "nonpayable">;
|
449
|
-
claimTokens: TypedContractMethod<[], [void], "nonpayable">;
|
450
452
|
claimTokensByRoundId: TypedContractMethod<[
|
451
453
|
_roundId: BigNumberish
|
452
454
|
], [
|
@@ -518,6 +520,11 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
518
520
|
], [
|
519
521
|
void
|
520
522
|
], "nonpayable">;
|
523
|
+
grantTreasurerRole: TypedContractMethod<[
|
524
|
+
treasurer: AddressLike
|
525
|
+
], [
|
526
|
+
void
|
527
|
+
], "nonpayable">;
|
521
528
|
hasRole: TypedContractMethod<[
|
522
529
|
role: BytesLike,
|
523
530
|
account: AddressLike
|
@@ -536,7 +543,12 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
536
543
|
], "view">;
|
537
544
|
owner: TypedContractMethod<[], [string], "view">;
|
538
545
|
projectToken: TypedContractMethod<[], [string], "view">;
|
539
|
-
refund: TypedContractMethod<[
|
546
|
+
refund: TypedContractMethod<[
|
547
|
+
_roundId: BigNumberish,
|
548
|
+
_user: AddressLike
|
549
|
+
], [
|
550
|
+
void
|
551
|
+
], "nonpayable">;
|
540
552
|
removeWhitelistedToken: TypedContractMethod<[
|
541
553
|
_token: AddressLike
|
542
554
|
], [
|
@@ -683,13 +695,13 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
683
695
|
getFunction(nameOrSignature: "ETH_ADDRESS"): TypedContractMethod<[], [string], "view">;
|
684
696
|
getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
685
697
|
getFunction(nameOrSignature: "PRICE_PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
698
|
+
getFunction(nameOrSignature: "TREASURER_ROLE"): TypedContractMethod<[], [string], "view">;
|
686
699
|
getFunction(nameOrSignature: "addWhitelistedToken"): TypedContractMethod<[
|
687
700
|
_token: AddressLike,
|
688
701
|
_price: BigNumberish
|
689
702
|
], [
|
690
703
|
void
|
691
704
|
], "nonpayable">;
|
692
|
-
getFunction(nameOrSignature: "claimTokens"): TypedContractMethod<[], [void], "nonpayable">;
|
693
705
|
getFunction(nameOrSignature: "claimTokensByRoundId"): TypedContractMethod<[_roundId: BigNumberish], [void], "nonpayable">;
|
694
706
|
getFunction(nameOrSignature: "contribute"): TypedContractMethod<[
|
695
707
|
_roundId: BigNumberish,
|
@@ -749,6 +761,7 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
749
761
|
], [
|
750
762
|
void
|
751
763
|
], "nonpayable">;
|
764
|
+
getFunction(nameOrSignature: "grantTreasurerRole"): TypedContractMethod<[treasurer: AddressLike], [void], "nonpayable">;
|
752
765
|
getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
|
753
766
|
role: BytesLike,
|
754
767
|
account: AddressLike
|
@@ -759,7 +772,12 @@ export interface SeedRoundFundraiser extends BaseContract {
|
|
759
772
|
getFunction(nameOrSignature: "isRoundActive"): TypedContractMethod<[_roundId: BigNumberish], [boolean], "view">;
|
760
773
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
761
774
|
getFunction(nameOrSignature: "projectToken"): TypedContractMethod<[], [string], "view">;
|
762
|
-
getFunction(nameOrSignature: "refund"): TypedContractMethod<[
|
775
|
+
getFunction(nameOrSignature: "refund"): TypedContractMethod<[
|
776
|
+
_roundId: BigNumberish,
|
777
|
+
_user: AddressLike
|
778
|
+
], [
|
779
|
+
void
|
780
|
+
], "nonpayable">;
|
763
781
|
getFunction(nameOrSignature: "removeWhitelistedToken"): TypedContractMethod<[_token: AddressLike], [void], "nonpayable">;
|
764
782
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
765
783
|
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
@@ -11,13 +11,15 @@ export declare namespace TradingVault {
|
|
11
11
|
};
|
12
12
|
}
|
13
13
|
export interface TradingVaultInterface extends Interface {
|
14
|
-
getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "EXPO_100" | "OPERATOR_ROLE" | "approve" | "balanceOf" | "borrowCurrency" | "claimERC20" | "createPosition" | "createPositionForUser" | "currency" | "getApproved" | "getRewardConfigsLength" | "getRoleAdmin" | "grantOperatorRole" | "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;
|
14
|
+
getFunction(nameOrSignature: "BASE_WEIGHT" | "DEFAULT_ADMIN_ROLE" | "EXPO" | "EXPO_100" | "OPERATOR_ROLE" | "PRICE_SETTER_ROLE" | "addReward" | "approve" | "balanceOf" | "borrowCurrency" | "claimERC20" | "createPosition" | "createPositionForUser" | "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;
|
15
15
|
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "CurrencyBorrowed" | "CurrencyRepaid" | "CurrencyUpdated" | "Initialized" | "OwnershipTransferred" | "PositionCreated" | "PositionReduced" | "PriceUpdated" | "ReduceEnabledUpdated" | "RewardConfigsUpdated" | "RewardTokenUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TotalAmountUpdated" | "TotalRewardsHarvestedUpdated" | "TotalRewardsUpdated" | "Transfer" | "TreasuryUpdated"): EventFragment;
|
16
16
|
encodeFunctionData(functionFragment: "BASE_WEIGHT", values?: undefined): string;
|
17
17
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
18
18
|
encodeFunctionData(functionFragment: "EXPO", values?: undefined): string;
|
19
19
|
encodeFunctionData(functionFragment: "EXPO_100", values?: undefined): string;
|
20
20
|
encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
|
21
|
+
encodeFunctionData(functionFragment: "PRICE_SETTER_ROLE", values?: undefined): string;
|
22
|
+
encodeFunctionData(functionFragment: "addReward", values: [BigNumberish]): string;
|
21
23
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
22
24
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
23
25
|
encodeFunctionData(functionFragment: "borrowCurrency", values: [BigNumberish]): string;
|
@@ -29,6 +31,7 @@ export interface TradingVaultInterface extends Interface {
|
|
29
31
|
encodeFunctionData(functionFragment: "getRewardConfigsLength", values?: undefined): string;
|
30
32
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
31
33
|
encodeFunctionData(functionFragment: "grantOperatorRole", values: [AddressLike]): string;
|
34
|
+
encodeFunctionData(functionFragment: "grantPriceSetterRole", values: [AddressLike]): string;
|
32
35
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
33
36
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
34
37
|
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string;
|
@@ -51,7 +54,7 @@ export interface TradingVaultInterface extends Interface {
|
|
51
54
|
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
52
55
|
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
53
56
|
encodeFunctionData(functionFragment: "setCurrency", values: [AddressLike]): string;
|
54
|
-
encodeFunctionData(functionFragment: "setPrice", values: [BigNumberish
|
57
|
+
encodeFunctionData(functionFragment: "setPrice", values: [BigNumberish]): string;
|
55
58
|
encodeFunctionData(functionFragment: "setReduceEnabled", values: [boolean]): string;
|
56
59
|
encodeFunctionData(functionFragment: "setRewardToken", values: [AddressLike]): string;
|
57
60
|
encodeFunctionData(functionFragment: "setTreasury", values: [AddressLike]): string;
|
@@ -71,6 +74,8 @@ export interface TradingVaultInterface extends Interface {
|
|
71
74
|
decodeFunctionResult(functionFragment: "EXPO", data: BytesLike): Result;
|
72
75
|
decodeFunctionResult(functionFragment: "EXPO_100", data: BytesLike): Result;
|
73
76
|
decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
|
77
|
+
decodeFunctionResult(functionFragment: "PRICE_SETTER_ROLE", data: BytesLike): Result;
|
78
|
+
decodeFunctionResult(functionFragment: "addReward", data: BytesLike): Result;
|
74
79
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
75
80
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
76
81
|
decodeFunctionResult(functionFragment: "borrowCurrency", data: BytesLike): Result;
|
@@ -82,6 +87,7 @@ export interface TradingVaultInterface extends Interface {
|
|
82
87
|
decodeFunctionResult(functionFragment: "getRewardConfigsLength", data: BytesLike): Result;
|
83
88
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
84
89
|
decodeFunctionResult(functionFragment: "grantOperatorRole", data: BytesLike): Result;
|
90
|
+
decodeFunctionResult(functionFragment: "grantPriceSetterRole", data: BytesLike): Result;
|
85
91
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
86
92
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
87
93
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
@@ -486,6 +492,12 @@ export interface TradingVault extends BaseContract {
|
|
486
492
|
EXPO: TypedContractMethod<[], [bigint], "view">;
|
487
493
|
EXPO_100: TypedContractMethod<[], [bigint], "view">;
|
488
494
|
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
495
|
+
PRICE_SETTER_ROLE: TypedContractMethod<[], [string], "view">;
|
496
|
+
addReward: TypedContractMethod<[
|
497
|
+
_rewardAmount: BigNumberish
|
498
|
+
], [
|
499
|
+
void
|
500
|
+
], "nonpayable">;
|
489
501
|
approve: TypedContractMethod<[
|
490
502
|
to: AddressLike,
|
491
503
|
tokenId: BigNumberish
|
@@ -524,6 +536,11 @@ export interface TradingVault extends BaseContract {
|
|
524
536
|
], [
|
525
537
|
void
|
526
538
|
], "nonpayable">;
|
539
|
+
grantPriceSetterRole: TypedContractMethod<[
|
540
|
+
priceSetter: AddressLike
|
541
|
+
], [
|
542
|
+
void
|
543
|
+
], "nonpayable">;
|
527
544
|
grantRole: TypedContractMethod<[
|
528
545
|
role: BytesLike,
|
529
546
|
account: AddressLike
|
@@ -642,8 +659,7 @@ export interface TradingVault extends BaseContract {
|
|
642
659
|
void
|
643
660
|
], "nonpayable">;
|
644
661
|
setPrice: TypedContractMethod<[
|
645
|
-
_newPrice: BigNumberish
|
646
|
-
_rewardAmount: BigNumberish
|
662
|
+
_newPrice: BigNumberish
|
647
663
|
], [
|
648
664
|
void
|
649
665
|
], "nonpayable">;
|
@@ -697,6 +713,8 @@ export interface TradingVault extends BaseContract {
|
|
697
713
|
getFunction(nameOrSignature: "EXPO"): TypedContractMethod<[], [bigint], "view">;
|
698
714
|
getFunction(nameOrSignature: "EXPO_100"): TypedContractMethod<[], [bigint], "view">;
|
699
715
|
getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
716
|
+
getFunction(nameOrSignature: "PRICE_SETTER_ROLE"): TypedContractMethod<[], [string], "view">;
|
717
|
+
getFunction(nameOrSignature: "addReward"): TypedContractMethod<[_rewardAmount: BigNumberish], [void], "nonpayable">;
|
700
718
|
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
701
719
|
to: AddressLike,
|
702
720
|
tokenId: BigNumberish
|
@@ -723,6 +741,7 @@ export interface TradingVault extends BaseContract {
|
|
723
741
|
getFunction(nameOrSignature: "getRewardConfigsLength"): TypedContractMethod<[], [bigint], "view">;
|
724
742
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
725
743
|
getFunction(nameOrSignature: "grantOperatorRole"): TypedContractMethod<[operator: AddressLike], [void], "nonpayable">;
|
744
|
+
getFunction(nameOrSignature: "grantPriceSetterRole"): TypedContractMethod<[priceSetter: AddressLike], [void], "nonpayable">;
|
726
745
|
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
727
746
|
role: BytesLike,
|
728
747
|
account: AddressLike
|
@@ -832,12 +851,7 @@ export interface TradingVault extends BaseContract {
|
|
832
851
|
void
|
833
852
|
], "nonpayable">;
|
834
853
|
getFunction(nameOrSignature: "setCurrency"): TypedContractMethod<[_currency: AddressLike], [void], "nonpayable">;
|
835
|
-
getFunction(nameOrSignature: "setPrice"): TypedContractMethod<[
|
836
|
-
_newPrice: BigNumberish,
|
837
|
-
_rewardAmount: BigNumberish
|
838
|
-
], [
|
839
|
-
void
|
840
|
-
], "nonpayable">;
|
854
|
+
getFunction(nameOrSignature: "setPrice"): TypedContractMethod<[_newPrice: BigNumberish], [void], "nonpayable">;
|
841
855
|
getFunction(nameOrSignature: "setReduceEnabled"): TypedContractMethod<[_enabled: boolean], [void], "nonpayable">;
|
842
856
|
getFunction(nameOrSignature: "setRewardToken"): TypedContractMethod<[_rewardToken: AddressLike], [void], "nonpayable">;
|
843
857
|
getFunction(nameOrSignature: "setTreasury"): TypedContractMethod<[_treasury: AddressLike], [void], "nonpayable">;
|
package/dist/contracts.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
"Currency-old": "0x8c1598399bEb88F9a2aF5966438D4f481512C2f8",
|
4
4
|
"Reward-old": "0x098048C7F6Afd2dA8661965e2d34bf009faA12F2",
|
5
5
|
"TradingVault": "0x1567fEF642c15bbc0738200F04c52e4966cFA0c9",
|
6
|
-
"TradingVault-implemented": "
|
7
|
-
"TradingVault-implemented-old": "
|
6
|
+
"TradingVault-implemented": "0x18AcE1468FFd36CE56b7dD581842A78Ce3B7fE35",
|
7
|
+
"TradingVault-implemented-old": "0x18AcE1468FFd36CE56b7dD581842A78Ce3B7fE35",
|
8
8
|
"Currency": "0x2677818cf5e8519273f354FBDA21F794309d8D98",
|
9
9
|
"Reward": "0x09F827Fa3307cF467F51782722A5e3f43a2598dc",
|
10
10
|
"SeedRoundFundraiser": "0xDB40B1E554718555B2E55574B36f0974635c93f4",
|
@@ -21,8 +21,8 @@
|
|
21
21
|
"Currency": "0xDB2e50234a3BE8aA4200C96712F190cf712cd8ec",
|
22
22
|
"Reward": "0xa5Ef2328aa2F6F231D15cdcF48503974D0938eD4",
|
23
23
|
"SeedRoundFundraiser": "0xbd520dbcb8e0b062D10d7879D27C20d214a262F6",
|
24
|
-
"SeedRoundFundraiser-implemented": "
|
24
|
+
"SeedRoundFundraiser-implemented": "0x40f56F138439fD5bB10741f5527A9DA05461636E",
|
25
25
|
"WETH": "0x08a2d38807B1D345b6c1642f8030a29DC2Cc7223",
|
26
|
-
"SeedRoundFundraiser-implemented-old": "
|
26
|
+
"SeedRoundFundraiser-implemented-old": "0xbd687508aBEb3DDd983323dD98145A9D1ebE3223"
|
27
27
|
}
|
28
28
|
}
|