@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,79 +4,144 @@ export declare function getCrowdPoolingFactoryContractAddressByChainId(chainId:
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCrowdPoolingFactory_CALM_DURATION_(chainId: number):
|
|
7
|
+
export declare function fetchCrowdPoolingFactory_CALM_DURATION_(chainId: number): any;
|
|
8
|
+
export declare function getFetchCrowdPoolingFactory_CALM_DURATION_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _CAP_RATIO_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {bigint} __output0 - uint256
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchCrowdPoolingFactory_CAP_RATIO_(chainId: number):
|
|
18
|
+
export declare function fetchCrowdPoolingFactory_CAP_RATIO_(chainId: number): any;
|
|
19
|
+
export declare function getFetchCrowdPoolingFactory_CAP_RATIO_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _CLIFF_RATE_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {bigint} __output0 - uint256
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchCrowdPoolingFactory_CLIFF_RATE_(chainId: number):
|
|
29
|
+
export declare function fetchCrowdPoolingFactory_CLIFF_RATE_(chainId: number): any;
|
|
30
|
+
export declare function getFetchCrowdPoolingFactory_CLIFF_RATE_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch _CLONE_FACTORY_
|
|
22
37
|
* @param {number} chainId - number
|
|
23
38
|
* @returns {string} __output0 - address
|
|
24
39
|
*/
|
|
25
|
-
export declare function fetchCrowdPoolingFactory_CLONE_FACTORY_(chainId: number):
|
|
40
|
+
export declare function fetchCrowdPoolingFactory_CLONE_FACTORY_(chainId: number): any;
|
|
41
|
+
export declare function getFetchCrowdPoolingFactory_CLONE_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
42
|
+
queryKey: (string | number | undefined)[];
|
|
43
|
+
enabled: boolean[];
|
|
44
|
+
queryFn: () => any;
|
|
45
|
+
};
|
|
26
46
|
/**
|
|
27
47
|
* fetch _CP_TEMPLATE_
|
|
28
48
|
* @param {number} chainId - number
|
|
29
49
|
* @returns {string} __output0 - address
|
|
30
50
|
*/
|
|
31
|
-
export declare function fetchCrowdPoolingFactory_CP_TEMPLATE_(chainId: number):
|
|
51
|
+
export declare function fetchCrowdPoolingFactory_CP_TEMPLATE_(chainId: number): any;
|
|
52
|
+
export declare function getFetchCrowdPoolingFactory_CP_TEMPLATE_QueryOptions(chainId: number | undefined): {
|
|
53
|
+
queryKey: (string | number | undefined)[];
|
|
54
|
+
enabled: boolean[];
|
|
55
|
+
queryFn: () => any;
|
|
56
|
+
};
|
|
32
57
|
/**
|
|
33
58
|
* fetch _DEFAULT_MAINTAINER_
|
|
34
59
|
* @param {number} chainId - number
|
|
35
60
|
* @returns {string} __output0 - address
|
|
36
61
|
*/
|
|
37
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_MAINTAINER_(chainId: number):
|
|
62
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_MAINTAINER_(chainId: number): any;
|
|
63
|
+
export declare function getFetchCrowdPoolingFactory_DEFAULT_MAINTAINER_QueryOptions(chainId: number | undefined): {
|
|
64
|
+
queryKey: (string | number | undefined)[];
|
|
65
|
+
enabled: boolean[];
|
|
66
|
+
queryFn: () => any;
|
|
67
|
+
};
|
|
38
68
|
/**
|
|
39
69
|
* fetch _DEFAULT_MT_FEE_RATE_MODEL_
|
|
40
70
|
* @param {number} chainId - number
|
|
41
71
|
* @returns {string} __output0 - address
|
|
42
72
|
*/
|
|
43
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_MT_FEE_RATE_MODEL_(chainId: number):
|
|
73
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_MT_FEE_RATE_MODEL_(chainId: number): any;
|
|
74
|
+
export declare function getFetchCrowdPoolingFactory_DEFAULT_MT_FEE_RATE_MODEL_QueryOptions(chainId: number | undefined): {
|
|
75
|
+
queryKey: (string | number | undefined)[];
|
|
76
|
+
enabled: boolean[];
|
|
77
|
+
queryFn: () => any;
|
|
78
|
+
};
|
|
44
79
|
/**
|
|
45
80
|
* fetch _DEFAULT_PERMISSION_MANAGER_
|
|
46
81
|
* @param {number} chainId - number
|
|
47
82
|
* @returns {string} __output0 - address
|
|
48
83
|
*/
|
|
49
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_PERMISSION_MANAGER_(chainId: number):
|
|
84
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_PERMISSION_MANAGER_(chainId: number): any;
|
|
85
|
+
export declare function getFetchCrowdPoolingFactory_DEFAULT_PERMISSION_MANAGER_QueryOptions(chainId: number | undefined): {
|
|
86
|
+
queryKey: (string | number | undefined)[];
|
|
87
|
+
enabled: boolean[];
|
|
88
|
+
queryFn: () => any;
|
|
89
|
+
};
|
|
50
90
|
/**
|
|
51
91
|
* fetch _DVM_FACTORY_
|
|
52
92
|
* @param {number} chainId - number
|
|
53
93
|
* @returns {string} __output0 - address
|
|
54
94
|
*/
|
|
55
|
-
export declare function fetchCrowdPoolingFactory_DVM_FACTORY_(chainId: number):
|
|
95
|
+
export declare function fetchCrowdPoolingFactory_DVM_FACTORY_(chainId: number): any;
|
|
96
|
+
export declare function getFetchCrowdPoolingFactory_DVM_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
97
|
+
queryKey: (string | number | undefined)[];
|
|
98
|
+
enabled: boolean[];
|
|
99
|
+
queryFn: () => any;
|
|
100
|
+
};
|
|
56
101
|
/**
|
|
57
102
|
* fetch _FREEZE_DURATION_
|
|
58
103
|
* @param {number} chainId - number
|
|
59
104
|
* @returns {bigint} __output0 - uint256
|
|
60
105
|
*/
|
|
61
|
-
export declare function fetchCrowdPoolingFactory_FREEZE_DURATION_(chainId: number):
|
|
106
|
+
export declare function fetchCrowdPoolingFactory_FREEZE_DURATION_(chainId: number): any;
|
|
107
|
+
export declare function getFetchCrowdPoolingFactory_FREEZE_DURATION_QueryOptions(chainId: number | undefined): {
|
|
108
|
+
queryKey: (string | number | undefined)[];
|
|
109
|
+
enabled: boolean[];
|
|
110
|
+
queryFn: () => any;
|
|
111
|
+
};
|
|
62
112
|
/**
|
|
63
113
|
* fetch _K_
|
|
64
114
|
* @param {number} chainId - number
|
|
65
115
|
* @returns {bigint} __output0 - uint256
|
|
66
116
|
*/
|
|
67
|
-
export declare function fetchCrowdPoolingFactory_K_(chainId: number):
|
|
117
|
+
export declare function fetchCrowdPoolingFactory_K_(chainId: number): any;
|
|
118
|
+
export declare function getFetchCrowdPoolingFactory_K_QueryOptions(chainId: number | undefined): {
|
|
119
|
+
queryKey: (string | number | undefined)[];
|
|
120
|
+
enabled: boolean[];
|
|
121
|
+
queryFn: () => any;
|
|
122
|
+
};
|
|
68
123
|
/**
|
|
69
124
|
* fetch _NEW_OWNER_
|
|
70
125
|
* @param {number} chainId - number
|
|
71
126
|
* @returns {string} __output0 - address
|
|
72
127
|
*/
|
|
73
|
-
export declare function fetchCrowdPoolingFactory_NEW_OWNER_(chainId: number):
|
|
128
|
+
export declare function fetchCrowdPoolingFactory_NEW_OWNER_(chainId: number): any;
|
|
129
|
+
export declare function getFetchCrowdPoolingFactory_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
130
|
+
queryKey: (string | number | undefined)[];
|
|
131
|
+
enabled: boolean[];
|
|
132
|
+
queryFn: () => any;
|
|
133
|
+
};
|
|
74
134
|
/**
|
|
75
135
|
* fetch _OWNER_
|
|
76
136
|
* @param {number} chainId - number
|
|
77
137
|
* @returns {string} __output0 - address
|
|
78
138
|
*/
|
|
79
|
-
export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number):
|
|
139
|
+
export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number): any;
|
|
140
|
+
export declare function getFetchCrowdPoolingFactory_OWNER_QueryOptions(chainId: number | undefined): {
|
|
141
|
+
queryKey: (string | number | undefined)[];
|
|
142
|
+
enabled: boolean[];
|
|
143
|
+
queryFn: () => any;
|
|
144
|
+
};
|
|
80
145
|
/**
|
|
81
146
|
* fetch _REGISTRY_
|
|
82
147
|
* @param {number} chainId - number
|
|
@@ -85,7 +150,12 @@ export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number): Promis
|
|
|
85
150
|
* @param {number} __input3 - uint256
|
|
86
151
|
* @returns {string} __output0 - address
|
|
87
152
|
*/
|
|
88
|
-
export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __input1: string, __input2: string, __input3: number):
|
|
153
|
+
export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __input1: string, __input2: string, __input3: number): any;
|
|
154
|
+
export declare function getFetchCrowdPoolingFactory_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: string | undefined, __input3: number | undefined): {
|
|
155
|
+
queryKey: (string | number | undefined)[];
|
|
156
|
+
enabled: boolean[];
|
|
157
|
+
queryFn: () => any;
|
|
158
|
+
};
|
|
89
159
|
/**
|
|
90
160
|
* fetch _USER_REGISTRY_
|
|
91
161
|
* @param {number} chainId - number
|
|
@@ -93,13 +163,23 @@ export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __in
|
|
|
93
163
|
* @param {number} __input2 - uint256
|
|
94
164
|
* @returns {string} __output0 - address
|
|
95
165
|
*/
|
|
96
|
-
export declare function fetchCrowdPoolingFactory_USER_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
166
|
+
export declare function fetchCrowdPoolingFactory_USER_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
167
|
+
export declare function getFetchCrowdPoolingFactory_USER_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
|
|
168
|
+
queryKey: (string | number | undefined)[];
|
|
169
|
+
enabled: boolean[];
|
|
170
|
+
queryFn: () => any;
|
|
171
|
+
};
|
|
97
172
|
/**
|
|
98
173
|
* fetch _VEST_DURATION_
|
|
99
174
|
* @param {number} chainId - number
|
|
100
175
|
* @returns {bigint} __output0 - uint256
|
|
101
176
|
*/
|
|
102
|
-
export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number):
|
|
177
|
+
export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number): any;
|
|
178
|
+
export declare function getFetchCrowdPoolingFactory_VEST_DURATION_QueryOptions(chainId: number | undefined): {
|
|
179
|
+
queryKey: (string | number | undefined)[];
|
|
180
|
+
enabled: boolean[];
|
|
181
|
+
queryFn: () => any;
|
|
182
|
+
};
|
|
103
183
|
/**
|
|
104
184
|
* fetch getCrowdPooling
|
|
105
185
|
* @param {number} chainId - number
|
|
@@ -107,7 +187,12 @@ export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number)
|
|
|
107
187
|
* @param {string} quoteToken - address
|
|
108
188
|
* @returns {Array<string>} pools - address[]
|
|
109
189
|
*/
|
|
110
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number, baseToken: string, quoteToken: string):
|
|
190
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number, baseToken: string, quoteToken: string): any;
|
|
191
|
+
export declare function getFetchCrowdPoolingFactoryGetCrowdPoolingQueryOptions(chainId: number | undefined, baseToken: string | undefined, quoteToken: string | undefined): {
|
|
192
|
+
queryKey: (string | number | undefined)[];
|
|
193
|
+
enabled: boolean[];
|
|
194
|
+
queryFn: () => any;
|
|
195
|
+
};
|
|
111
196
|
/**
|
|
112
197
|
* fetch getCrowdPoolingBidirection
|
|
113
198
|
* @param {number} chainId - number
|
|
@@ -116,29 +201,36 @@ export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number,
|
|
|
116
201
|
* @returns {Array<string>} baseToken0Pools - address[]
|
|
117
202
|
* @returns {Array<string>} baseToken1Pools - address[]
|
|
118
203
|
*/
|
|
119
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingBidirection(chainId: number, token0: string, token1: string):
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
204
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingBidirection(chainId: number, token0: string, token1: string): any;
|
|
205
|
+
export declare function getFetchCrowdPoolingFactoryGetCrowdPoolingBidirectionQueryOptions(chainId: number | undefined, token0: string | undefined, token1: string | undefined): {
|
|
206
|
+
queryKey: (string | number | undefined)[];
|
|
207
|
+
enabled: boolean[];
|
|
208
|
+
queryFn: () => any;
|
|
209
|
+
};
|
|
123
210
|
/**
|
|
124
211
|
* fetch getCrowdPoolingByUser
|
|
125
212
|
* @param {number} chainId - number
|
|
126
213
|
* @param {string} user - address
|
|
127
214
|
* @returns {Array<string>} pools - address[]
|
|
128
215
|
*/
|
|
129
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingByUser(chainId: number, user: string):
|
|
216
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingByUser(chainId: number, user: string): any;
|
|
217
|
+
export declare function getFetchCrowdPoolingFactoryGetCrowdPoolingByUserQueryOptions(chainId: number | undefined, user: string | undefined): {
|
|
218
|
+
queryKey: (string | number | undefined)[];
|
|
219
|
+
enabled: boolean[];
|
|
220
|
+
queryFn: () => any;
|
|
221
|
+
};
|
|
130
222
|
/**
|
|
131
223
|
* encode claimOwnership
|
|
132
224
|
|
|
133
225
|
* @returns {string} encode data
|
|
134
226
|
*/
|
|
135
|
-
export declare function encodeCrowdPoolingFactoryClaimOwnership():
|
|
227
|
+
export declare function encodeCrowdPoolingFactoryClaimOwnership(): any;
|
|
136
228
|
/**
|
|
137
229
|
* encode createCrowdPooling
|
|
138
230
|
|
|
139
231
|
* @returns {string} encode data
|
|
140
232
|
*/
|
|
141
|
-
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling():
|
|
233
|
+
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling(): any;
|
|
142
234
|
/**
|
|
143
235
|
* encode initCrowdPooling
|
|
144
236
|
* @param {string} cpAddress - address
|
|
@@ -150,58 +242,58 @@ export declare function encodeCrowdPoolingFactoryCreateCrowdPooling(): string;
|
|
|
150
242
|
* @param {boolean} isOpenTWAP - bool
|
|
151
243
|
* @returns {string} encode data
|
|
152
244
|
*/
|
|
153
|
-
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string | number>, valueList: Array<string | number>, isOpenTWAP: boolean):
|
|
245
|
+
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string | number>, valueList: Array<string | number>, isOpenTWAP: boolean): any;
|
|
154
246
|
/**
|
|
155
247
|
* encode initOwner
|
|
156
248
|
* @param {string} newOwner - address
|
|
157
249
|
* @returns {string} encode data
|
|
158
250
|
*/
|
|
159
|
-
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string):
|
|
251
|
+
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string): any;
|
|
160
252
|
/**
|
|
161
253
|
* encode setCalmDuration
|
|
162
254
|
* @param {string | number} _newCalmDuration - uint256
|
|
163
255
|
* @returns {string} encode data
|
|
164
256
|
*/
|
|
165
|
-
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string | number):
|
|
257
|
+
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string | number): any;
|
|
166
258
|
/**
|
|
167
259
|
* encode setCapRatio
|
|
168
260
|
* @param {string | number} _newCapRatio - uint256
|
|
169
261
|
* @returns {string} encode data
|
|
170
262
|
*/
|
|
171
|
-
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string | number):
|
|
263
|
+
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string | number): any;
|
|
172
264
|
/**
|
|
173
265
|
* encode setCliffRate
|
|
174
266
|
* @param {string | number} _newCliffRate - uint256
|
|
175
267
|
* @returns {string} encode data
|
|
176
268
|
*/
|
|
177
|
-
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string | number):
|
|
269
|
+
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string | number): any;
|
|
178
270
|
/**
|
|
179
271
|
* encode setFreezeDuration
|
|
180
272
|
* @param {string | number} _newFreeDuration - uint256
|
|
181
273
|
* @returns {string} encode data
|
|
182
274
|
*/
|
|
183
|
-
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string | number):
|
|
275
|
+
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string | number): any;
|
|
184
276
|
/**
|
|
185
277
|
* encode setK
|
|
186
278
|
* @param {string | number} _newK - uint256
|
|
187
279
|
* @returns {string} encode data
|
|
188
280
|
*/
|
|
189
|
-
export declare function encodeCrowdPoolingFactorySetK(_newK: string | number):
|
|
281
|
+
export declare function encodeCrowdPoolingFactorySetK(_newK: string | number): any;
|
|
190
282
|
/**
|
|
191
283
|
* encode setVestDuration
|
|
192
284
|
* @param {string | number} _newVestDuration - uint256
|
|
193
285
|
* @returns {string} encode data
|
|
194
286
|
*/
|
|
195
|
-
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string | number):
|
|
287
|
+
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string | number): any;
|
|
196
288
|
/**
|
|
197
289
|
* encode transferOwnership
|
|
198
290
|
* @param {string} newOwner - address
|
|
199
291
|
* @returns {string} encode data
|
|
200
292
|
*/
|
|
201
|
-
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string):
|
|
293
|
+
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string): any;
|
|
202
294
|
/**
|
|
203
295
|
* encode updateCPTemplate
|
|
204
296
|
* @param {string} _newCPTemplate - address
|
|
205
297
|
* @returns {string} encode data
|
|
206
298
|
*/
|
|
207
|
-
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string):
|
|
299
|
+
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string): any;
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCustomERC20_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchCustomERC20_NEW_OWNER_(chainId: number, __to: string): any;
|
|
8
|
+
export declare function getFetchCustomERC20_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 fetchCustomERC20_OWNER_(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchCustomERC20_OWNER_(chainId: number, __to: string): any;
|
|
20
|
+
export declare function getFetchCustomERC20_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 allowance
|
|
17
27
|
* @param {number} chainId - number
|
|
@@ -20,7 +30,12 @@ export declare function fetchCustomERC20_OWNER_(chainId: number, __to: string):
|
|
|
20
30
|
* @param {string} spender - address
|
|
21
31
|
* @returns {bigint} __output0 - uint256
|
|
22
32
|
*/
|
|
23
|
-
export declare function fetchCustomERC20Allowance(chainId: number, __to: string, owner: string, spender: string):
|
|
33
|
+
export declare function fetchCustomERC20Allowance(chainId: number, __to: string, owner: string, spender: string): any;
|
|
34
|
+
export declare function getFetchCustomERC20AllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined, spender: string | undefined): {
|
|
35
|
+
queryKey: (string | number | undefined)[];
|
|
36
|
+
enabled: boolean[];
|
|
37
|
+
queryFn: () => any;
|
|
38
|
+
};
|
|
24
39
|
/**
|
|
25
40
|
* fetch balanceOf
|
|
26
41
|
* @param {number} chainId - number
|
|
@@ -28,81 +43,121 @@ export declare function fetchCustomERC20Allowance(chainId: number, __to: string,
|
|
|
28
43
|
* @param {string} owner - address
|
|
29
44
|
* @returns {bigint} balance - uint256
|
|
30
45
|
*/
|
|
31
|
-
export declare function fetchCustomERC20BalanceOf(chainId: number, __to: string, owner: string):
|
|
46
|
+
export declare function fetchCustomERC20BalanceOf(chainId: number, __to: string, owner: string): any;
|
|
47
|
+
export declare function getFetchCustomERC20BalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined): {
|
|
48
|
+
queryKey: (string | number | undefined)[];
|
|
49
|
+
enabled: boolean[];
|
|
50
|
+
queryFn: () => any;
|
|
51
|
+
};
|
|
32
52
|
/**
|
|
33
53
|
* fetch decimals
|
|
34
54
|
* @param {number} chainId - number
|
|
35
55
|
* @param {string} __to - string
|
|
36
56
|
* @returns {bigint} __output0 - uint8
|
|
37
57
|
*/
|
|
38
|
-
export declare function fetchCustomERC20Decimals(chainId: number, __to: string):
|
|
58
|
+
export declare function fetchCustomERC20Decimals(chainId: number, __to: string): any;
|
|
59
|
+
export declare function getFetchCustomERC20DecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
60
|
+
queryKey: (string | number | undefined)[];
|
|
61
|
+
enabled: boolean[];
|
|
62
|
+
queryFn: () => any;
|
|
63
|
+
};
|
|
39
64
|
/**
|
|
40
65
|
* fetch name
|
|
41
66
|
* @param {number} chainId - number
|
|
42
67
|
* @param {string} __to - string
|
|
43
68
|
* @returns {string} __output0 - string
|
|
44
69
|
*/
|
|
45
|
-
export declare function fetchCustomERC20Name(chainId: number, __to: string):
|
|
70
|
+
export declare function fetchCustomERC20Name(chainId: number, __to: string): any;
|
|
71
|
+
export declare function getFetchCustomERC20NameQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
72
|
+
queryKey: (string | number | undefined)[];
|
|
73
|
+
enabled: boolean[];
|
|
74
|
+
queryFn: () => any;
|
|
75
|
+
};
|
|
46
76
|
/**
|
|
47
77
|
* fetch symbol
|
|
48
78
|
* @param {number} chainId - number
|
|
49
79
|
* @param {string} __to - string
|
|
50
80
|
* @returns {string} __output0 - string
|
|
51
81
|
*/
|
|
52
|
-
export declare function fetchCustomERC20Symbol(chainId: number, __to: string):
|
|
82
|
+
export declare function fetchCustomERC20Symbol(chainId: number, __to: string): any;
|
|
83
|
+
export declare function getFetchCustomERC20SymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
84
|
+
queryKey: (string | number | undefined)[];
|
|
85
|
+
enabled: boolean[];
|
|
86
|
+
queryFn: () => any;
|
|
87
|
+
};
|
|
53
88
|
/**
|
|
54
89
|
* fetch team
|
|
55
90
|
* @param {number} chainId - number
|
|
56
91
|
* @param {string} __to - string
|
|
57
92
|
* @returns {string} __output0 - address
|
|
58
93
|
*/
|
|
59
|
-
export declare function fetchCustomERC20Team(chainId: number, __to: string):
|
|
94
|
+
export declare function fetchCustomERC20Team(chainId: number, __to: string): any;
|
|
95
|
+
export declare function getFetchCustomERC20TeamQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
96
|
+
queryKey: (string | number | undefined)[];
|
|
97
|
+
enabled: boolean[];
|
|
98
|
+
queryFn: () => any;
|
|
99
|
+
};
|
|
60
100
|
/**
|
|
61
101
|
* fetch totalSupply
|
|
62
102
|
* @param {number} chainId - number
|
|
63
103
|
* @param {string} __to - string
|
|
64
104
|
* @returns {bigint} __output0 - uint256
|
|
65
105
|
*/
|
|
66
|
-
export declare function fetchCustomERC20TotalSupply(chainId: number, __to: string):
|
|
106
|
+
export declare function fetchCustomERC20TotalSupply(chainId: number, __to: string): any;
|
|
107
|
+
export declare function getFetchCustomERC20TotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
108
|
+
queryKey: (string | number | undefined)[];
|
|
109
|
+
enabled: boolean[];
|
|
110
|
+
queryFn: () => any;
|
|
111
|
+
};
|
|
67
112
|
/**
|
|
68
113
|
* fetch tradeBurnRatio
|
|
69
114
|
* @param {number} chainId - number
|
|
70
115
|
* @param {string} __to - string
|
|
71
116
|
* @returns {bigint} __output0 - uint256
|
|
72
117
|
*/
|
|
73
|
-
export declare function fetchCustomERC20TradeBurnRatio(chainId: number, __to: string):
|
|
118
|
+
export declare function fetchCustomERC20TradeBurnRatio(chainId: number, __to: string): any;
|
|
119
|
+
export declare function getFetchCustomERC20TradeBurnRatioQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
120
|
+
queryKey: (string | number | undefined)[];
|
|
121
|
+
enabled: boolean[];
|
|
122
|
+
queryFn: () => any;
|
|
123
|
+
};
|
|
74
124
|
/**
|
|
75
125
|
* fetch tradeFeeRatio
|
|
76
126
|
* @param {number} chainId - number
|
|
77
127
|
* @param {string} __to - string
|
|
78
128
|
* @returns {bigint} __output0 - uint256
|
|
79
129
|
*/
|
|
80
|
-
export declare function fetchCustomERC20TradeFeeRatio(chainId: number, __to: string):
|
|
130
|
+
export declare function fetchCustomERC20TradeFeeRatio(chainId: number, __to: string): any;
|
|
131
|
+
export declare function getFetchCustomERC20TradeFeeRatioQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
132
|
+
queryKey: (string | number | undefined)[];
|
|
133
|
+
enabled: boolean[];
|
|
134
|
+
queryFn: () => any;
|
|
135
|
+
};
|
|
81
136
|
/**
|
|
82
137
|
* encode abandonOwnership
|
|
83
138
|
* @param {string} zeroAddress - address
|
|
84
139
|
* @returns {string} encode data
|
|
85
140
|
*/
|
|
86
|
-
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string):
|
|
141
|
+
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string): any;
|
|
87
142
|
/**
|
|
88
143
|
* encode approve
|
|
89
144
|
* @param {string} spender - address
|
|
90
145
|
* @param {string | number} amount - uint256
|
|
91
146
|
* @returns {string} encode data
|
|
92
147
|
*/
|
|
93
|
-
export declare function encodeCustomERC20Approve(spender: string, amount: string | number):
|
|
148
|
+
export declare function encodeCustomERC20Approve(spender: string, amount: string | number): any;
|
|
94
149
|
/**
|
|
95
150
|
* encode changeTeamAccount
|
|
96
151
|
* @param {string} newTeam - address
|
|
97
152
|
* @returns {string} encode data
|
|
98
153
|
*/
|
|
99
|
-
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string):
|
|
154
|
+
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string): any;
|
|
100
155
|
/**
|
|
101
156
|
* encode claimOwnership
|
|
102
157
|
|
|
103
158
|
* @returns {string} encode data
|
|
104
159
|
*/
|
|
105
|
-
export declare function encodeCustomERC20ClaimOwnership():
|
|
160
|
+
export declare function encodeCustomERC20ClaimOwnership(): any;
|
|
106
161
|
/**
|
|
107
162
|
* encode init
|
|
108
163
|
* @param {string} _creator - address
|
|
@@ -115,20 +170,20 @@ export declare function encodeCustomERC20ClaimOwnership(): string;
|
|
|
115
170
|
* @param {string} _team - address
|
|
116
171
|
* @returns {string} encode data
|
|
117
172
|
*/
|
|
118
|
-
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string):
|
|
173
|
+
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): any;
|
|
119
174
|
/**
|
|
120
175
|
* encode initOwner
|
|
121
176
|
* @param {string} newOwner - address
|
|
122
177
|
* @returns {string} encode data
|
|
123
178
|
*/
|
|
124
|
-
export declare function encodeCustomERC20InitOwner(newOwner: string):
|
|
179
|
+
export declare function encodeCustomERC20InitOwner(newOwner: string): any;
|
|
125
180
|
/**
|
|
126
181
|
* encode transfer
|
|
127
182
|
* @param {string} to - address
|
|
128
183
|
* @param {string | number} amount - uint256
|
|
129
184
|
* @returns {string} encode data
|
|
130
185
|
*/
|
|
131
|
-
export declare function encodeCustomERC20Transfer(to: string, amount: string | number):
|
|
186
|
+
export declare function encodeCustomERC20Transfer(to: string, amount: string | number): any;
|
|
132
187
|
/**
|
|
133
188
|
* encode transferFrom
|
|
134
189
|
* @param {string} from - address
|
|
@@ -136,10 +191,10 @@ export declare function encodeCustomERC20Transfer(to: string, amount: string | n
|
|
|
136
191
|
* @param {string | number} amount - uint256
|
|
137
192
|
* @returns {string} encode data
|
|
138
193
|
*/
|
|
139
|
-
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string | number):
|
|
194
|
+
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string | number): any;
|
|
140
195
|
/**
|
|
141
196
|
* encode transferOwnership
|
|
142
197
|
* @param {string} newOwner - address
|
|
143
198
|
* @returns {string} encode data
|
|
144
199
|
*/
|
|
145
|
-
export declare function encodeCustomERC20TransferOwnership(newOwner: string):
|
|
200
|
+
export declare function encodeCustomERC20TransferOwnership(newOwner: string): any;
|