@dodoex/dodo-contract-request 1.5.0 → 1.6.0-alpha.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/.releaserc.json +8 -3
- package/CHANGELOG.md +15 -25
- package/contract-config/sepolia.json +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/contract/BuyoutModel.d.ts +42 -12
- package/dist/types/contract/CP.d.ts +214 -50
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +126 -34
- package/dist/types/contract/CustomERC20.d.ts +75 -20
- package/dist/types/contract/CustomMintableERC20.d.ts +77 -22
- package/dist/types/contract/D3Proxy.d.ts +33 -13
- package/dist/types/contract/D3Vault.d.ts +324 -123
- package/dist/types/contract/DODOApprove.d.ts +44 -14
- package/dist/types/contract/DODOApproveProxy.d.ts +51 -16
- package/dist/types/contract/DODOCalleeHelper.d.ts +10 -5
- package/dist/types/contract/DODOCirculationHelper.d.ts +47 -12
- package/dist/types/contract/DODOCpProxy.d.ts +20 -5
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +20 -5
- package/dist/types/contract/DODODppProxy.d.ts +20 -5
- package/dist/types/contract/DODODspProxy.d.ts +27 -7
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +20 -5
- package/dist/types/contract/DODOIncentive.d.ts +75 -26
- package/dist/types/contract/DODOMineV2Factory.d.ts +50 -15
- package/dist/types/contract/DODOMineV3Proxy.d.ts +43 -13
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +43 -13
- package/dist/types/contract/DODOMineV3Registry.d.ts +43 -13
- package/dist/types/contract/DODONFT.d.ts +95 -25
- package/dist/types/contract/DODONFT1155.d.ts +56 -16
- package/dist/types/contract/DODONFTApprove.d.ts +47 -17
- package/dist/types/contract/DODONFTPoolProxy.d.ts +74 -24
- package/dist/types/contract/DODONFTProxy.d.ts +84 -24
- package/dist/types/contract/DODONFTRegistry.d.ts +49 -17
- package/dist/types/contract/DODONFTRouteHelper.d.ts +12 -2
- package/dist/types/contract/DODOSellHelper.d.ts +12 -2
- package/dist/types/contract/DODOStarterProxy.d.ts +13 -3
- package/dist/types/contract/DODOV1.d.ts +269 -77
- package/dist/types/contract/DODOV1Adapter.d.ts +8 -3
- package/dist/types/contract/DODOV1PmmHelper.d.ts +6 -1
- package/dist/types/contract/DODOV1Proxy.d.ts +13 -8
- package/dist/types/contract/DODOV2Proxy02.d.ts +97 -32
- package/dist/types/contract/DODOV2RouteHelper.d.ts +24 -4
- package/dist/types/contract/DPPAdvanced.d.ts +172 -69
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +51 -16
- package/dist/types/contract/DPPFactory.d.ts +97 -30
- package/dist/types/contract/DSP.d.ts +221 -78
- package/dist/types/contract/DSPFactory.d.ts +73 -21
- package/dist/types/contract/DVM.d.ts +203 -71
- package/dist/types/contract/DVMFactory.d.ts +73 -21
- package/dist/types/contract/ERC20.d.ts +41 -11
- package/dist/types/contract/ERC20Helper.d.ts +24 -23
- package/dist/types/contract/ERC20MineV3.d.ts +91 -36
- package/dist/types/contract/ERC20V3Factory.d.ts +77 -26
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +71 -30
- package/dist/types/contract/FeeRateModel.d.ts +28 -8
- package/dist/types/contract/GSP.d.ts +265 -95
- package/dist/types/contract/GSPFactory.d.ts +68 -21
- package/dist/types/contract/InitializableERC20.d.ts +46 -11
- package/dist/types/contract/LimitOrder.d.ts +71 -21
- package/dist/types/contract/LimitOrderBot.d.ts +45 -15
- package/dist/types/contract/MulticallWithValid.d.ts +43 -8
- package/dist/types/contract/PermissionManager.d.ts +33 -13
- package/dist/types/contract/UniswapV2Factory.d.ts +34 -9
- package/dist/types/contract/UniswapV2Pair.d.ts +126 -35
- package/dist/types/contract/UniswapV2Router02.d.ts +59 -24
- package/dist/types/contract/dodoTeam.d.ts +100 -33
- package/dist/types/contract/vDODOToken.d.ts +196 -58
- package/dist/types/contractRequests.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/scripts/contract-generate.ts +8 -1
- package/src/config/sepolia.ts +1 -1
- package/src/contract/BuyoutModel.ts +60 -0
- package/src/contract/CP.ts +340 -0
- package/src/contract/CrowdPoolingFactory.ts +190 -0
- package/src/contract/CustomERC20.ts +110 -0
- package/src/contract/CustomMintableERC20.ts +110 -0
- package/src/contract/D3Proxy.ts +40 -0
- package/src/contract/D3Vault.ts +480 -0
- package/src/contract/DODOApprove.ts +60 -0
- package/src/contract/DODOApproveProxy.ts +70 -0
- package/src/contract/DODOCalleeHelper.ts +10 -0
- package/src/contract/DODOCirculationHelper.ts +70 -0
- package/src/contract/DODOCpProxy.ts +30 -0
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +30 -0
- package/src/contract/DODODppProxy.ts +30 -0
- package/src/contract/DODODspProxy.ts +40 -0
- package/src/contract/DODODspProxyWithoutGSP.ts +30 -0
- package/src/contract/DODOIncentive.ts +110 -0
- package/src/contract/DODOMineV2Factory.ts +70 -0
- package/src/contract/DODOMineV3Proxy.ts +60 -0
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +60 -0
- package/src/contract/DODOMineV3Registry.ts +60 -0
- package/src/contract/DODONFT.ts +140 -0
- package/src/contract/DODONFT1155.ts +80 -0
- package/src/contract/DODONFTApprove.ts +60 -0
- package/src/contract/DODONFTPoolProxy.ts +100 -0
- package/src/contract/DODONFTProxy.ts +120 -0
- package/src/contract/DODONFTRegistry.ts +70 -0
- package/src/contract/DODONFTRouteHelper.ts +20 -0
- package/src/contract/DODOSellHelper.ts +20 -0
- package/src/contract/DODOStarterProxy.ts +20 -0
- package/src/contract/DODOV1.ts +390 -0
- package/src/contract/DODOV1Adapter.ts +10 -0
- package/src/contract/DODOV1PmmHelper.ts +10 -0
- package/src/contract/DODOV1Proxy.ts +10 -0
- package/src/contract/DODOV2Proxy02.ts +130 -0
- package/src/contract/DODOV2RouteHelper.ts +40 -0
- package/src/contract/DPPAdvanced.ts +270 -0
- package/src/contract/DPPAdvancedAdmin.ts +70 -0
- package/src/contract/DPPFactory.ts +140 -0
- package/src/contract/DSP.ts +350 -0
- package/src/contract/DSPFactory.ts +110 -0
- package/src/contract/DVM.ts +320 -0
- package/src/contract/DVMFactory.ts +110 -0
- package/src/contract/ERC20.ts +60 -0
- package/src/contract/ERC20Helper.ts +40 -0
- package/src/contract/ERC20MineV3.ts +130 -0
- package/src/contract/ERC20V3Factory.ts +110 -0
- package/src/contract/FeeRateDIP3Impl.ts +100 -0
- package/src/contract/FeeRateModel.ts +40 -0
- package/src/contract/GSP.ts +410 -0
- package/src/contract/GSPFactory.ts +100 -0
- package/src/contract/InitializableERC20.ts +70 -0
- package/src/contract/LimitOrder.ts +100 -0
- package/src/contract/LimitOrderBot.ts +60 -0
- package/src/contract/MulticallWithValid.ts +70 -0
- package/src/contract/PermissionManager.ts +40 -0
- package/src/contract/UniswapV2Factory.ts +51 -1
- package/src/contract/UniswapV2Pair.ts +190 -0
- package/src/contract/UniswapV2Router02.ts +71 -1
- package/src/contract/dodoTeam.ts +140 -0
- package/src/contract/vDODOToken.ts +300 -0
- package/src/index.ts +2 -1
|
@@ -4,43 +4,78 @@ export declare function getERC20V3FactoryContractAddressByChainId(chainId: numbe
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchERC20V3Factory_CLONE_FACTORY_(chainId: number):
|
|
7
|
+
export declare function fetchERC20V3Factory_CLONE_FACTORY_(chainId: number): any;
|
|
8
|
+
export declare function getFetchERC20V3Factory_CLONE_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _CREATE_FEE_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {bigint} __output0 - uint256
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchERC20V3Factory_CREATE_FEE_(chainId: number):
|
|
18
|
+
export declare function fetchERC20V3Factory_CREATE_FEE_(chainId: number): any;
|
|
19
|
+
export declare function getFetchERC20V3Factory_CREATE_FEE_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _CUSTOM_ERC20_TEMPLATE_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchERC20V3Factory_CUSTOM_ERC20_TEMPLATE_(chainId: number):
|
|
29
|
+
export declare function fetchERC20V3Factory_CUSTOM_ERC20_TEMPLATE_(chainId: number): any;
|
|
30
|
+
export declare function getFetchERC20V3Factory_CUSTOM_ERC20_TEMPLATE_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch _CUSTOM_MINTABLE_ERC20_TEMPLATE_
|
|
22
37
|
* @param {number} chainId - number
|
|
23
38
|
* @returns {string} __output0 - address
|
|
24
39
|
*/
|
|
25
|
-
export declare function fetchERC20V3Factory_CUSTOM_MINTABLE_ERC20_TEMPLATE_(chainId: number):
|
|
40
|
+
export declare function fetchERC20V3Factory_CUSTOM_MINTABLE_ERC20_TEMPLATE_(chainId: number): any;
|
|
41
|
+
export declare function getFetchERC20V3Factory_CUSTOM_MINTABLE_ERC20_TEMPLATE_QueryOptions(chainId: number | undefined): {
|
|
42
|
+
queryKey: (string | number | undefined)[];
|
|
43
|
+
enabled: boolean[];
|
|
44
|
+
queryFn: () => any;
|
|
45
|
+
};
|
|
26
46
|
/**
|
|
27
47
|
* fetch _ERC20_TEMPLATE_
|
|
28
48
|
* @param {number} chainId - number
|
|
29
49
|
* @returns {string} __output0 - address
|
|
30
50
|
*/
|
|
31
|
-
export declare function fetchERC20V3Factory_ERC20_TEMPLATE_(chainId: number):
|
|
51
|
+
export declare function fetchERC20V3Factory_ERC20_TEMPLATE_(chainId: number): any;
|
|
52
|
+
export declare function getFetchERC20V3Factory_ERC20_TEMPLATE_QueryOptions(chainId: number | undefined): {
|
|
53
|
+
queryKey: (string | number | undefined)[];
|
|
54
|
+
enabled: boolean[];
|
|
55
|
+
queryFn: () => any;
|
|
56
|
+
};
|
|
32
57
|
/**
|
|
33
58
|
* fetch _NEW_OWNER_
|
|
34
59
|
* @param {number} chainId - number
|
|
35
60
|
* @returns {string} __output0 - address
|
|
36
61
|
*/
|
|
37
|
-
export declare function fetchERC20V3Factory_NEW_OWNER_(chainId: number):
|
|
62
|
+
export declare function fetchERC20V3Factory_NEW_OWNER_(chainId: number): any;
|
|
63
|
+
export declare function getFetchERC20V3Factory_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
64
|
+
queryKey: (string | number | undefined)[];
|
|
65
|
+
enabled: boolean[];
|
|
66
|
+
queryFn: () => any;
|
|
67
|
+
};
|
|
38
68
|
/**
|
|
39
69
|
* fetch _OWNER_
|
|
40
70
|
* @param {number} chainId - number
|
|
41
71
|
* @returns {string} __output0 - address
|
|
42
72
|
*/
|
|
43
|
-
export declare function fetchERC20V3Factory_OWNER_(chainId: number):
|
|
73
|
+
export declare function fetchERC20V3Factory_OWNER_(chainId: number): any;
|
|
74
|
+
export declare function getFetchERC20V3Factory_OWNER_QueryOptions(chainId: number | undefined): {
|
|
75
|
+
queryKey: (string | number | undefined)[];
|
|
76
|
+
enabled: boolean[];
|
|
77
|
+
queryFn: () => any;
|
|
78
|
+
};
|
|
44
79
|
/**
|
|
45
80
|
* fetch _USER_CUSTOM_MINTABLE_REGISTRY_
|
|
46
81
|
* @param {number} chainId - number
|
|
@@ -48,7 +83,12 @@ export declare function fetchERC20V3Factory_OWNER_(chainId: number): Promise<str
|
|
|
48
83
|
* @param {number} __input2 - uint256
|
|
49
84
|
* @returns {string} __output0 - address
|
|
50
85
|
*/
|
|
51
|
-
export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
86
|
+
export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
87
|
+
export declare function getFetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
|
|
88
|
+
queryKey: (string | number | undefined)[];
|
|
89
|
+
enabled: boolean[];
|
|
90
|
+
queryFn: () => any;
|
|
91
|
+
};
|
|
52
92
|
/**
|
|
53
93
|
* fetch _USER_CUSTOM_REGISTRY_
|
|
54
94
|
* @param {number} chainId - number
|
|
@@ -56,7 +96,12 @@ export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chain
|
|
|
56
96
|
* @param {number} __input2 - uint256
|
|
57
97
|
* @returns {string} __output0 - address
|
|
58
98
|
*/
|
|
59
|
-
export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
99
|
+
export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
100
|
+
export declare function getFetchERC20V3Factory_USER_CUSTOM_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
|
|
101
|
+
queryKey: (string | number | undefined)[];
|
|
102
|
+
enabled: boolean[];
|
|
103
|
+
queryFn: () => any;
|
|
104
|
+
};
|
|
60
105
|
/**
|
|
61
106
|
* fetch _USER_STD_REGISTRY_
|
|
62
107
|
* @param {number} chainId - number
|
|
@@ -64,7 +109,12 @@ export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: numbe
|
|
|
64
109
|
* @param {number} __input2 - uint256
|
|
65
110
|
* @returns {string} __output0 - address
|
|
66
111
|
*/
|
|
67
|
-
export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
112
|
+
export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
113
|
+
export declare function getFetchERC20V3Factory_USER_STD_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
|
|
114
|
+
queryKey: (string | number | undefined)[];
|
|
115
|
+
enabled: boolean[];
|
|
116
|
+
queryFn: () => any;
|
|
117
|
+
};
|
|
68
118
|
/**
|
|
69
119
|
* fetch getTokenByUser
|
|
70
120
|
* @param {number} chainId - number
|
|
@@ -73,23 +123,24 @@ export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number,
|
|
|
73
123
|
* @returns {Array<string>} customs - address[]
|
|
74
124
|
* @returns {Array<string>} mintables - address[]
|
|
75
125
|
*/
|
|
76
|
-
export declare function fetchERC20V3FactoryGetTokenByUser(chainId: number, user: string):
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
126
|
+
export declare function fetchERC20V3FactoryGetTokenByUser(chainId: number, user: string): any;
|
|
127
|
+
export declare function getFetchERC20V3FactoryGetTokenByUserQueryOptions(chainId: number | undefined, user: string | undefined): {
|
|
128
|
+
queryKey: (string | number | undefined)[];
|
|
129
|
+
enabled: boolean[];
|
|
130
|
+
queryFn: () => any;
|
|
131
|
+
};
|
|
81
132
|
/**
|
|
82
133
|
* encode changeCreateFee
|
|
83
134
|
* @param {string | number} newFee - uint256
|
|
84
135
|
* @returns {string} encode data
|
|
85
136
|
*/
|
|
86
|
-
export declare function encodeERC20V3FactoryChangeCreateFee(newFee: string | number):
|
|
137
|
+
export declare function encodeERC20V3FactoryChangeCreateFee(newFee: string | number): any;
|
|
87
138
|
/**
|
|
88
139
|
* encode claimOwnership
|
|
89
140
|
|
|
90
141
|
* @returns {string} encode data
|
|
91
142
|
*/
|
|
92
|
-
export declare function encodeERC20V3FactoryClaimOwnership():
|
|
143
|
+
export declare function encodeERC20V3FactoryClaimOwnership(): any;
|
|
93
144
|
/**
|
|
94
145
|
* encode createCustomERC20
|
|
95
146
|
* @param {string | number} totalSupply - uint256
|
|
@@ -101,7 +152,7 @@ export declare function encodeERC20V3FactoryClaimOwnership(): string;
|
|
|
101
152
|
* @param {string} teamAccount - address
|
|
102
153
|
* @returns {string} encode data
|
|
103
154
|
*/
|
|
104
|
-
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string):
|
|
155
|
+
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string): any;
|
|
105
156
|
/**
|
|
106
157
|
* encode createCustomMintableERC20
|
|
107
158
|
* @param {string | number} initSupply - uint256
|
|
@@ -113,7 +164,7 @@ export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: strin
|
|
|
113
164
|
* @param {string} teamAccount - address
|
|
114
165
|
* @returns {string} encode data
|
|
115
166
|
*/
|
|
116
|
-
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string):
|
|
167
|
+
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string): any;
|
|
117
168
|
/**
|
|
118
169
|
* encode createStdERC20
|
|
119
170
|
* @param {string | number} totalSupply - uint256
|
|
@@ -122,40 +173,40 @@ export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply
|
|
|
122
173
|
* @param {string | number} decimals - uint8
|
|
123
174
|
* @returns {string} encode data
|
|
124
175
|
*/
|
|
125
|
-
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number):
|
|
176
|
+
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number): any;
|
|
126
177
|
/**
|
|
127
178
|
* encode initOwner
|
|
128
179
|
* @param {string} newOwner - address
|
|
129
180
|
* @returns {string} encode data
|
|
130
181
|
*/
|
|
131
|
-
export declare function encodeERC20V3FactoryInitOwner(newOwner: string):
|
|
182
|
+
export declare function encodeERC20V3FactoryInitOwner(newOwner: string): any;
|
|
132
183
|
/**
|
|
133
184
|
* encode transferOwnership
|
|
134
185
|
* @param {string} newOwner - address
|
|
135
186
|
* @returns {string} encode data
|
|
136
187
|
*/
|
|
137
|
-
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string):
|
|
188
|
+
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string): any;
|
|
138
189
|
/**
|
|
139
190
|
* encode updateCustomMintableTemplate
|
|
140
191
|
* @param {string} newCustomMintableTemplate - address
|
|
141
192
|
* @returns {string} encode data
|
|
142
193
|
*/
|
|
143
|
-
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string):
|
|
194
|
+
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string): any;
|
|
144
195
|
/**
|
|
145
196
|
* encode updateCustomTemplate
|
|
146
197
|
* @param {string} newCustomTemplate - address
|
|
147
198
|
* @returns {string} encode data
|
|
148
199
|
*/
|
|
149
|
-
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string):
|
|
200
|
+
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string): any;
|
|
150
201
|
/**
|
|
151
202
|
* encode updateStdTemplate
|
|
152
203
|
* @param {string} newStdTemplate - address
|
|
153
204
|
* @returns {string} encode data
|
|
154
205
|
*/
|
|
155
|
-
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string):
|
|
206
|
+
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string): any;
|
|
156
207
|
/**
|
|
157
208
|
* encode withdraw
|
|
158
209
|
|
|
159
210
|
* @returns {string} encode data
|
|
160
211
|
*/
|
|
161
|
-
export declare function encodeERC20V3FactoryWithdraw():
|
|
212
|
+
export declare function encodeERC20V3FactoryWithdraw(): any;
|
|
@@ -4,19 +4,34 @@ export declare function getFeeRateDIP3ImplContractAddressByChainId(chainId: numb
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number):
|
|
7
|
+
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number): any;
|
|
8
|
+
export declare function getFetchFeeRateDIP3Impl_LP_MT_RATIO_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _NEW_OWNER_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number):
|
|
18
|
+
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number): any;
|
|
19
|
+
export declare function getFetchFeeRateDIP3Impl_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _OWNER_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number):
|
|
29
|
+
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number): any;
|
|
30
|
+
export declare function getFetchFeeRateDIP3Impl_OWNER_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch cpPools
|
|
22
37
|
* @param {number} chainId - number
|
|
@@ -26,12 +41,12 @@ export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number): Promise<st
|
|
|
26
41
|
* @returns {string} feeAddr - address
|
|
27
42
|
* @returns {string} quotaAddr - address
|
|
28
43
|
*/
|
|
29
|
-
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: string):
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
44
|
+
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: string): any;
|
|
45
|
+
export declare function getFetchFeeRateDIP3ImplCpPoolsQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
46
|
+
queryKey: (string | number | undefined)[];
|
|
47
|
+
enabled: boolean[];
|
|
48
|
+
queryFn: () => any;
|
|
49
|
+
};
|
|
35
50
|
/**
|
|
36
51
|
* fetch getCPInfoByUser
|
|
37
52
|
* @param {number} chainId - number
|
|
@@ -41,11 +56,12 @@ export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: s
|
|
|
41
56
|
* @returns {bigint} curQuota - int256
|
|
42
57
|
* @returns {bigint} userFee - uint256
|
|
43
58
|
*/
|
|
44
|
-
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, pool: string, user: string):
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
59
|
+
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, pool: string, user: string): any;
|
|
60
|
+
export declare function getFetchFeeRateDIP3ImplGetCPInfoByUserQueryOptions(chainId: number | undefined, pool: string | undefined, user: string | undefined): {
|
|
61
|
+
queryKey: (string | number | undefined)[];
|
|
62
|
+
enabled: boolean[];
|
|
63
|
+
queryFn: () => any;
|
|
64
|
+
};
|
|
49
65
|
/**
|
|
50
66
|
* fetch getFeeRate
|
|
51
67
|
* @param {number} chainId - number
|
|
@@ -53,39 +69,64 @@ export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, poo
|
|
|
53
69
|
* @param {string} user - address
|
|
54
70
|
* @returns {bigint} __output0 - uint256
|
|
55
71
|
*/
|
|
56
|
-
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number, pool: string, user: string):
|
|
72
|
+
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number, pool: string, user: string): any;
|
|
73
|
+
export declare function getFetchFeeRateDIP3ImplGetFeeRateQueryOptions(chainId: number | undefined, pool: string | undefined, user: string | undefined): {
|
|
74
|
+
queryKey: (string | number | undefined)[];
|
|
75
|
+
enabled: boolean[];
|
|
76
|
+
queryFn: () => any;
|
|
77
|
+
};
|
|
57
78
|
/**
|
|
58
79
|
* fetch isAdminListed
|
|
59
80
|
* @param {number} chainId - number
|
|
60
81
|
* @param {string} __input1 - address
|
|
61
82
|
* @returns {boolean} __output0 - bool
|
|
62
83
|
*/
|
|
63
|
-
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number, __input1: string):
|
|
84
|
+
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number, __input1: string): any;
|
|
85
|
+
export declare function getFetchFeeRateDIP3ImplIsAdminListedQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
86
|
+
queryKey: (string | number | undefined)[];
|
|
87
|
+
enabled: boolean[];
|
|
88
|
+
queryFn: () => any;
|
|
89
|
+
};
|
|
64
90
|
/**
|
|
65
91
|
* fetch poolHeartBeat
|
|
66
92
|
* @param {number} chainId - number
|
|
67
93
|
* @returns {string} __output0 - address
|
|
68
94
|
*/
|
|
69
|
-
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number):
|
|
95
|
+
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number): any;
|
|
96
|
+
export declare function getFetchFeeRateDIP3ImplPoolHeartBeatQueryOptions(chainId: number | undefined): {
|
|
97
|
+
queryKey: (string | number | undefined)[];
|
|
98
|
+
enabled: boolean[];
|
|
99
|
+
queryFn: () => any;
|
|
100
|
+
};
|
|
70
101
|
/**
|
|
71
102
|
* fetch specPoolList
|
|
72
103
|
* @param {number} chainId - number
|
|
73
104
|
* @param {string} __input1 - address
|
|
74
105
|
* @returns {bigint} __output0 - uint256
|
|
75
106
|
*/
|
|
76
|
-
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number, __input1: string):
|
|
107
|
+
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number, __input1: string): any;
|
|
108
|
+
export declare function getFetchFeeRateDIP3ImplSpecPoolListQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
109
|
+
queryKey: (string | number | undefined)[];
|
|
110
|
+
enabled: boolean[];
|
|
111
|
+
queryFn: () => any;
|
|
112
|
+
};
|
|
77
113
|
/**
|
|
78
114
|
* fetch version
|
|
79
115
|
* @param {number} chainId - number
|
|
80
116
|
* @returns {string} __output0 - string
|
|
81
117
|
*/
|
|
82
|
-
export declare function fetchFeeRateDIP3ImplVersion(chainId: number):
|
|
118
|
+
export declare function fetchFeeRateDIP3ImplVersion(chainId: number): any;
|
|
119
|
+
export declare function getFetchFeeRateDIP3ImplVersionQueryOptions(chainId: number | undefined): {
|
|
120
|
+
queryKey: (string | number | undefined)[];
|
|
121
|
+
enabled: boolean[];
|
|
122
|
+
queryFn: () => any;
|
|
123
|
+
};
|
|
83
124
|
/**
|
|
84
125
|
* encode addAdminList
|
|
85
126
|
* @param {string} userAddr - address
|
|
86
127
|
* @returns {string} encode data
|
|
87
128
|
*/
|
|
88
|
-
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string):
|
|
129
|
+
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): any;
|
|
89
130
|
/**
|
|
90
131
|
* encode addCpPoolInfo
|
|
91
132
|
* @param {string} cpPool - address
|
|
@@ -95,25 +136,25 @@ export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): str
|
|
|
95
136
|
* @param {string} quotaAddr - address
|
|
96
137
|
* @returns {string} encode data
|
|
97
138
|
*/
|
|
98
|
-
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string):
|
|
139
|
+
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string): any;
|
|
99
140
|
/**
|
|
100
141
|
* encode claimOwnership
|
|
101
142
|
|
|
102
143
|
* @returns {string} encode data
|
|
103
144
|
*/
|
|
104
|
-
export declare function encodeFeeRateDIP3ImplClaimOwnership():
|
|
145
|
+
export declare function encodeFeeRateDIP3ImplClaimOwnership(): any;
|
|
105
146
|
/**
|
|
106
147
|
* encode initOwner
|
|
107
148
|
* @param {string} newOwner - address
|
|
108
149
|
* @returns {string} encode data
|
|
109
150
|
*/
|
|
110
|
-
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string):
|
|
151
|
+
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string): any;
|
|
111
152
|
/**
|
|
112
153
|
* encode removeAdminList
|
|
113
154
|
* @param {string} userAddr - address
|
|
114
155
|
* @returns {string} encode data
|
|
115
156
|
*/
|
|
116
|
-
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
157
|
+
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string): any;
|
|
117
158
|
/**
|
|
118
159
|
* encode setCpPoolInfo
|
|
119
160
|
* @param {string} cpPool - address
|
|
@@ -123,36 +164,36 @@ export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
|
123
164
|
* @param {string} quotaAddr - address
|
|
124
165
|
* @returns {string} encode data
|
|
125
166
|
*/
|
|
126
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string):
|
|
167
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string): any;
|
|
127
168
|
/**
|
|
128
169
|
* encode setCpPoolQuotaAddr
|
|
129
170
|
* @param {string} cpPool - address
|
|
130
171
|
* @param {string} quotaAddr - address
|
|
131
172
|
* @returns {string} encode data
|
|
132
173
|
*/
|
|
133
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string):
|
|
174
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string): any;
|
|
134
175
|
/**
|
|
135
176
|
* encode setLpMtRatio
|
|
136
177
|
* @param {string | number} newLpMtRatio - uint256
|
|
137
178
|
* @returns {string} encode data
|
|
138
179
|
*/
|
|
139
|
-
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number):
|
|
180
|
+
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number): any;
|
|
140
181
|
/**
|
|
141
182
|
* encode setPoolHeartBeat
|
|
142
183
|
* @param {string} newPoolHeartBeat - address
|
|
143
184
|
* @returns {string} encode data
|
|
144
185
|
*/
|
|
145
|
-
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string):
|
|
186
|
+
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string): any;
|
|
146
187
|
/**
|
|
147
188
|
* encode setSpecPoolList
|
|
148
189
|
* @param {string} poolAddr - address
|
|
149
190
|
* @param {string | number} mtFeeRate - uint256
|
|
150
191
|
* @returns {string} encode data
|
|
151
192
|
*/
|
|
152
|
-
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number):
|
|
193
|
+
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number): any;
|
|
153
194
|
/**
|
|
154
195
|
* encode transferOwnership
|
|
155
196
|
* @param {string} newOwner - address
|
|
156
197
|
* @returns {string} encode data
|
|
157
198
|
*/
|
|
158
|
-
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string):
|
|
199
|
+
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string): any;
|
|
@@ -4,21 +4,36 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchFeeRateModel_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchFeeRateModel_NEW_OWNER_(chainId: number, __to: string): any;
|
|
8
|
+
export declare function getFetchFeeRateModel_NEW_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _OWNER_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @param {string} __to - string
|
|
12
17
|
* @returns {string} __output0 - address
|
|
13
18
|
*/
|
|
14
|
-
export declare function fetchFeeRateModel_OWNER_(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchFeeRateModel_OWNER_(chainId: number, __to: string): any;
|
|
20
|
+
export declare function getFetchFeeRateModel_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
21
|
+
queryKey: (string | number | undefined)[];
|
|
22
|
+
enabled: boolean[];
|
|
23
|
+
queryFn: () => any;
|
|
24
|
+
};
|
|
15
25
|
/**
|
|
16
26
|
* fetch feeRateImpl
|
|
17
27
|
* @param {number} chainId - number
|
|
18
28
|
* @param {string} __to - string
|
|
19
29
|
* @returns {string} __output0 - address
|
|
20
30
|
*/
|
|
21
|
-
export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: string):
|
|
31
|
+
export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: string): any;
|
|
32
|
+
export declare function getFetchFeeRateModelFeeRateImplQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
33
|
+
queryKey: (string | number | undefined)[];
|
|
34
|
+
enabled: boolean[];
|
|
35
|
+
queryFn: () => any;
|
|
36
|
+
};
|
|
22
37
|
/**
|
|
23
38
|
* fetch getFeeRate
|
|
24
39
|
* @param {number} chainId - number
|
|
@@ -26,28 +41,33 @@ export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: stri
|
|
|
26
41
|
* @param {string} trader - address
|
|
27
42
|
* @returns {bigint} __output0 - uint256
|
|
28
43
|
*/
|
|
29
|
-
export declare function fetchFeeRateModelGetFeeRate(chainId: number, __to: string, trader: string):
|
|
44
|
+
export declare function fetchFeeRateModelGetFeeRate(chainId: number, __to: string, trader: string): any;
|
|
45
|
+
export declare function getFetchFeeRateModelGetFeeRateQueryOptions(chainId: number | undefined, __to: string | undefined, trader: string | undefined): {
|
|
46
|
+
queryKey: (string | number | undefined)[];
|
|
47
|
+
enabled: boolean[];
|
|
48
|
+
queryFn: () => any;
|
|
49
|
+
};
|
|
30
50
|
/**
|
|
31
51
|
* encode claimOwnership
|
|
32
52
|
|
|
33
53
|
* @returns {string} encode data
|
|
34
54
|
*/
|
|
35
|
-
export declare function encodeFeeRateModelClaimOwnership():
|
|
55
|
+
export declare function encodeFeeRateModelClaimOwnership(): any;
|
|
36
56
|
/**
|
|
37
57
|
* encode initOwner
|
|
38
58
|
* @param {string} newOwner - address
|
|
39
59
|
* @returns {string} encode data
|
|
40
60
|
*/
|
|
41
|
-
export declare function encodeFeeRateModelInitOwner(newOwner: string):
|
|
61
|
+
export declare function encodeFeeRateModelInitOwner(newOwner: string): any;
|
|
42
62
|
/**
|
|
43
63
|
* encode setFeeProxy
|
|
44
64
|
* @param {string} _feeRateImpl - address
|
|
45
65
|
* @returns {string} encode data
|
|
46
66
|
*/
|
|
47
|
-
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string):
|
|
67
|
+
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string): any;
|
|
48
68
|
/**
|
|
49
69
|
* encode transferOwnership
|
|
50
70
|
* @param {string} newOwner - address
|
|
51
71
|
* @returns {string} encode data
|
|
52
72
|
*/
|
|
53
|
-
export declare function encodeFeeRateModelTransferOwnership(newOwner: string):
|
|
73
|
+
export declare function encodeFeeRateModelTransferOwnership(newOwner: string): any;
|