@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,14 +4,24 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCustomMintableERC20_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchCustomMintableERC20_NEW_OWNER_(chainId: number, __to: string): any;
|
|
8
|
+
export declare function getFetchCustomMintableERC20_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 fetchCustomMintableERC20_OWNER_(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchCustomMintableERC20_OWNER_(chainId: number, __to: string): any;
|
|
20
|
+
export declare function getFetchCustomMintableERC20_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 fetchCustomMintableERC20_OWNER_(chainId: number, __to: s
|
|
|
20
30
|
* @param {string} spender - address
|
|
21
31
|
* @returns {bigint} __output0 - uint256
|
|
22
32
|
*/
|
|
23
|
-
export declare function fetchCustomMintableERC20Allowance(chainId: number, __to: string, owner: string, spender: string):
|
|
33
|
+
export declare function fetchCustomMintableERC20Allowance(chainId: number, __to: string, owner: string, spender: string): any;
|
|
34
|
+
export declare function getFetchCustomMintableERC20AllowanceQueryOptions(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,87 +43,127 @@ export declare function fetchCustomMintableERC20Allowance(chainId: number, __to:
|
|
|
28
43
|
* @param {string} owner - address
|
|
29
44
|
* @returns {bigint} balance - uint256
|
|
30
45
|
*/
|
|
31
|
-
export declare function fetchCustomMintableERC20BalanceOf(chainId: number, __to: string, owner: string):
|
|
46
|
+
export declare function fetchCustomMintableERC20BalanceOf(chainId: number, __to: string, owner: string): any;
|
|
47
|
+
export declare function getFetchCustomMintableERC20BalanceOfQueryOptions(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 fetchCustomMintableERC20Decimals(chainId: number, __to: string):
|
|
58
|
+
export declare function fetchCustomMintableERC20Decimals(chainId: number, __to: string): any;
|
|
59
|
+
export declare function getFetchCustomMintableERC20DecimalsQueryOptions(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 fetchCustomMintableERC20Name(chainId: number, __to: string):
|
|
70
|
+
export declare function fetchCustomMintableERC20Name(chainId: number, __to: string): any;
|
|
71
|
+
export declare function getFetchCustomMintableERC20NameQueryOptions(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 fetchCustomMintableERC20Symbol(chainId: number, __to: string):
|
|
82
|
+
export declare function fetchCustomMintableERC20Symbol(chainId: number, __to: string): any;
|
|
83
|
+
export declare function getFetchCustomMintableERC20SymbolQueryOptions(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 fetchCustomMintableERC20Team(chainId: number, __to: string):
|
|
94
|
+
export declare function fetchCustomMintableERC20Team(chainId: number, __to: string): any;
|
|
95
|
+
export declare function getFetchCustomMintableERC20TeamQueryOptions(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 fetchCustomMintableERC20TotalSupply(chainId: number, __to: string):
|
|
106
|
+
export declare function fetchCustomMintableERC20TotalSupply(chainId: number, __to: string): any;
|
|
107
|
+
export declare function getFetchCustomMintableERC20TotalSupplyQueryOptions(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 fetchCustomMintableERC20TradeBurnRatio(chainId: number, __to: string):
|
|
118
|
+
export declare function fetchCustomMintableERC20TradeBurnRatio(chainId: number, __to: string): any;
|
|
119
|
+
export declare function getFetchCustomMintableERC20TradeBurnRatioQueryOptions(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 fetchCustomMintableERC20TradeFeeRatio(chainId: number, __to: string):
|
|
130
|
+
export declare function fetchCustomMintableERC20TradeFeeRatio(chainId: number, __to: string): any;
|
|
131
|
+
export declare function getFetchCustomMintableERC20TradeFeeRatioQueryOptions(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 encodeCustomMintableERC20AbandonOwnership(zeroAddress: string):
|
|
141
|
+
export declare function encodeCustomMintableERC20AbandonOwnership(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 encodeCustomMintableERC20Approve(spender: string, amount: string | number):
|
|
148
|
+
export declare function encodeCustomMintableERC20Approve(spender: string, amount: string | number): any;
|
|
94
149
|
/**
|
|
95
150
|
* encode burn
|
|
96
151
|
* @param {string | number} value - uint256
|
|
97
152
|
* @returns {string} encode data
|
|
98
153
|
*/
|
|
99
|
-
export declare function encodeCustomMintableERC20Burn(value: string | number):
|
|
154
|
+
export declare function encodeCustomMintableERC20Burn(value: string | number): any;
|
|
100
155
|
/**
|
|
101
156
|
* encode changeTeamAccount
|
|
102
157
|
* @param {string} newTeam - address
|
|
103
158
|
* @returns {string} encode data
|
|
104
159
|
*/
|
|
105
|
-
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string):
|
|
160
|
+
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string): any;
|
|
106
161
|
/**
|
|
107
162
|
* encode claimOwnership
|
|
108
163
|
|
|
109
164
|
* @returns {string} encode data
|
|
110
165
|
*/
|
|
111
|
-
export declare function encodeCustomMintableERC20ClaimOwnership():
|
|
166
|
+
export declare function encodeCustomMintableERC20ClaimOwnership(): any;
|
|
112
167
|
/**
|
|
113
168
|
* encode init
|
|
114
169
|
* @param {string} _creator - address
|
|
@@ -121,27 +176,27 @@ export declare function encodeCustomMintableERC20ClaimOwnership(): string;
|
|
|
121
176
|
* @param {string} _team - address
|
|
122
177
|
* @returns {string} encode data
|
|
123
178
|
*/
|
|
124
|
-
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string):
|
|
179
|
+
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): any;
|
|
125
180
|
/**
|
|
126
181
|
* encode initOwner
|
|
127
182
|
* @param {string} newOwner - address
|
|
128
183
|
* @returns {string} encode data
|
|
129
184
|
*/
|
|
130
|
-
export declare function encodeCustomMintableERC20InitOwner(newOwner: string):
|
|
185
|
+
export declare function encodeCustomMintableERC20InitOwner(newOwner: string): any;
|
|
131
186
|
/**
|
|
132
187
|
* encode mint
|
|
133
188
|
* @param {string} user - address
|
|
134
189
|
* @param {string | number} value - uint256
|
|
135
190
|
* @returns {string} encode data
|
|
136
191
|
*/
|
|
137
|
-
export declare function encodeCustomMintableERC20Mint(user: string, value: string | number):
|
|
192
|
+
export declare function encodeCustomMintableERC20Mint(user: string, value: string | number): any;
|
|
138
193
|
/**
|
|
139
194
|
* encode transfer
|
|
140
195
|
* @param {string} to - address
|
|
141
196
|
* @param {string | number} amount - uint256
|
|
142
197
|
* @returns {string} encode data
|
|
143
198
|
*/
|
|
144
|
-
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string | number):
|
|
199
|
+
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string | number): any;
|
|
145
200
|
/**
|
|
146
201
|
* encode transferFrom
|
|
147
202
|
* @param {string} from - address
|
|
@@ -149,10 +204,10 @@ export declare function encodeCustomMintableERC20Transfer(to: string, amount: st
|
|
|
149
204
|
* @param {string | number} amount - uint256
|
|
150
205
|
* @returns {string} encode data
|
|
151
206
|
*/
|
|
152
|
-
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string | number):
|
|
207
|
+
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string | number): any;
|
|
153
208
|
/**
|
|
154
209
|
* encode transferOwnership
|
|
155
210
|
* @param {string} newOwner - address
|
|
156
211
|
* @returns {string} encode data
|
|
157
212
|
*/
|
|
158
|
-
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string):
|
|
213
|
+
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string): any;
|
|
@@ -4,25 +4,45 @@ export declare function getD3ProxyContractAddressByChainId(chainId: number): str
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchD3Proxy_D3_VAULT_(chainId: number):
|
|
7
|
+
export declare function fetchD3Proxy_D3_VAULT_(chainId: number): any;
|
|
8
|
+
export declare function getFetchD3Proxy_D3_VAULT_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _DODO_APPROVE_PROXY_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchD3Proxy_DODO_APPROVE_PROXY_(chainId: number):
|
|
18
|
+
export declare function fetchD3Proxy_DODO_APPROVE_PROXY_(chainId: number): any;
|
|
19
|
+
export declare function getFetchD3Proxy_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _ETH_ADDRESS_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchD3Proxy_ETH_ADDRESS_(chainId: number):
|
|
29
|
+
export declare function fetchD3Proxy_ETH_ADDRESS_(chainId: number): any;
|
|
30
|
+
export declare function getFetchD3Proxy_ETH_ADDRESS_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch _WETH_
|
|
22
37
|
* @param {number} chainId - number
|
|
23
38
|
* @returns {string} __output0 - address
|
|
24
39
|
*/
|
|
25
|
-
export declare function fetchD3Proxy_WETH_(chainId: number):
|
|
40
|
+
export declare function fetchD3Proxy_WETH_(chainId: number): any;
|
|
41
|
+
export declare function getFetchD3Proxy_WETH_QueryOptions(chainId: number | undefined): {
|
|
42
|
+
queryKey: (string | number | undefined)[];
|
|
43
|
+
enabled: boolean[];
|
|
44
|
+
queryFn: () => any;
|
|
45
|
+
};
|
|
26
46
|
/**
|
|
27
47
|
* encode buyTokens
|
|
28
48
|
* @param {string} pool - address
|
|
@@ -35,7 +55,7 @@ export declare function fetchD3Proxy_WETH_(chainId: number): Promise<string>;
|
|
|
35
55
|
* @param {string | number} deadLine - uint256
|
|
36
56
|
* @returns {string} encode data
|
|
37
57
|
*/
|
|
38
|
-
export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromToken: string, toToken: string, quoteAmount: string | number, maxPayAmount: string | number, data: string, deadLine: string | number):
|
|
58
|
+
export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromToken: string, toToken: string, quoteAmount: string | number, maxPayAmount: string | number, data: string, deadLine: string | number): any;
|
|
39
59
|
/**
|
|
40
60
|
* encode d3MMSwapCallBack
|
|
41
61
|
* @param {string} token - address
|
|
@@ -43,7 +63,7 @@ export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromTok
|
|
|
43
63
|
* @param {string} _data - bytes
|
|
44
64
|
* @returns {string} encode data
|
|
45
65
|
*/
|
|
46
|
-
export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: string | number, _data: string):
|
|
66
|
+
export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: string | number, _data: string): any;
|
|
47
67
|
/**
|
|
48
68
|
* encode makerDeposit
|
|
49
69
|
* @param {string} pool - address
|
|
@@ -51,19 +71,19 @@ export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: stri
|
|
|
51
71
|
* @param {string | number} amount - uint256
|
|
52
72
|
* @returns {string} encode data
|
|
53
73
|
*/
|
|
54
|
-
export declare function encodeD3ProxyMakerDeposit(pool: string, token: string, amount: string | number):
|
|
74
|
+
export declare function encodeD3ProxyMakerDeposit(pool: string, token: string, amount: string | number): any;
|
|
55
75
|
/**
|
|
56
76
|
* encode multicall
|
|
57
77
|
* @param {Array<string>} data - bytes[]
|
|
58
78
|
* @returns {string} encode data
|
|
59
79
|
*/
|
|
60
|
-
export declare function encodeD3ProxyMulticall(data: Array<string>):
|
|
80
|
+
export declare function encodeD3ProxyMulticall(data: Array<string>): any;
|
|
61
81
|
/**
|
|
62
82
|
* encode refundETH
|
|
63
83
|
|
|
64
84
|
* @returns {string} encode data
|
|
65
85
|
*/
|
|
66
|
-
export declare function encodeD3ProxyRefundETH():
|
|
86
|
+
export declare function encodeD3ProxyRefundETH(): any;
|
|
67
87
|
/**
|
|
68
88
|
* encode sellTokens
|
|
69
89
|
* @param {string} pool - address
|
|
@@ -76,7 +96,7 @@ export declare function encodeD3ProxyRefundETH(): string;
|
|
|
76
96
|
* @param {string | number} deadLine - uint256
|
|
77
97
|
* @returns {string} encode data
|
|
78
98
|
*/
|
|
79
|
-
export declare function encodeD3ProxySellTokens(pool: string, to: string, fromToken: string, toToken: string, fromAmount: string | number, minReceiveAmount: string | number, data: string, deadLine: string | number):
|
|
99
|
+
export declare function encodeD3ProxySellTokens(pool: string, to: string, fromToken: string, toToken: string, fromAmount: string | number, minReceiveAmount: string | number, data: string, deadLine: string | number): any;
|
|
80
100
|
/**
|
|
81
101
|
* encode userDeposit
|
|
82
102
|
* @param {string} user - address
|
|
@@ -85,7 +105,7 @@ export declare function encodeD3ProxySellTokens(pool: string, to: string, fromTo
|
|
|
85
105
|
* @param {string | number} minDtokenAmount - uint256
|
|
86
106
|
* @returns {string} encode data
|
|
87
107
|
*/
|
|
88
|
-
export declare function encodeD3ProxyUserDeposit(user: string, token: string, amount: string | number, minDtokenAmount: string | number):
|
|
108
|
+
export declare function encodeD3ProxyUserDeposit(user: string, token: string, amount: string | number, minDtokenAmount: string | number): any;
|
|
89
109
|
/**
|
|
90
110
|
* encode userWithdraw
|
|
91
111
|
* @param {string} to - address
|
|
@@ -94,11 +114,11 @@ export declare function encodeD3ProxyUserDeposit(user: string, token: string, am
|
|
|
94
114
|
* @param {string | number} minReceiveAmount - uint256
|
|
95
115
|
* @returns {string} encode data
|
|
96
116
|
*/
|
|
97
|
-
export declare function encodeD3ProxyUserWithdraw(to: string, token: string, dTokenAmount: string | number, minReceiveAmount: string | number):
|
|
117
|
+
export declare function encodeD3ProxyUserWithdraw(to: string, token: string, dTokenAmount: string | number, minReceiveAmount: string | number): any;
|
|
98
118
|
/**
|
|
99
119
|
* encode withdrawWETH
|
|
100
120
|
* @param {string} to - address
|
|
101
121
|
* @param {string | number} minAmount - uint256
|
|
102
122
|
* @returns {string} encode data
|
|
103
123
|
*/
|
|
104
|
-
export declare function encodeD3ProxyWithdrawWETH(to: string, minAmount: string | number):
|
|
124
|
+
export declare function encodeD3ProxyWithdrawWETH(to: string, minAmount: string | number): any;
|