@dodoex/dodo-contract-request 1.25.0-alpha.1 → 1.26.0
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/CHANGELOG.md +26 -66
- package/contract-config/berachain.json +2 -4
- package/contract-config/monad.json +65 -0
- package/contract-config/sepolia.json +1 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/index.d.ts +2 -6
- package/dist/types/config/{birdlayer.d.ts → monad.d.ts} +1 -1
- package/dist/types/config/sepolia.d.ts +0 -2
- package/dist/types/contract/AlgebraPool.d.ts +15 -15
- package/dist/types/contract/BuyoutModel.d.ts +6 -6
- package/dist/types/contract/CP.d.ts +10 -10
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +12 -12
- package/dist/types/contract/CustomERC20.d.ts +9 -9
- package/dist/types/contract/CustomMintableERC20.d.ts +11 -11
- package/dist/types/contract/D3Proxy.d.ts +9 -9
- package/dist/types/contract/D3Vault.d.ts +36 -36
- package/dist/types/contract/DODOApprove.d.ts +8 -8
- package/dist/types/contract/DODOApproveProxy.d.ts +9 -9
- package/dist/types/contract/DODOCalleeHelper.d.ts +4 -4
- package/dist/types/contract/DODOCirculationHelper.d.ts +5 -5
- package/dist/types/contract/DODOCpProxy.d.ts +2 -2
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +2 -2
- package/dist/types/contract/DODODppProxy.d.ts +2 -2
- package/dist/types/contract/DODODspProxy.d.ts +3 -3
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +2 -2
- package/dist/types/contract/DODOFeeRouteProxy1.d.ts +13 -13
- package/dist/types/contract/DODOFeeRouteProxy2.d.ts +13 -13
- package/dist/types/contract/DODOIncentive.d.ts +9 -9
- package/dist/types/contract/DODOMineV2Factory.d.ts +8 -8
- package/dist/types/contract/DODOMineV3Proxy.d.ts +7 -7
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +7 -7
- package/dist/types/contract/DODOMineV3Registry.d.ts +7 -7
- package/dist/types/contract/DODONFT.d.ts +11 -11
- package/dist/types/contract/DODONFT1155.d.ts +8 -8
- package/dist/types/contract/DODONFTApprove.d.ts +11 -11
- package/dist/types/contract/DODONFTPoolProxy.d.ts +14 -14
- package/dist/types/contract/DODONFTProxy.d.ts +12 -12
- package/dist/types/contract/DODONFTRegistry.d.ts +7 -7
- package/dist/types/contract/DODOStarterProxy.d.ts +1 -1
- package/dist/types/contract/DODOV1.d.ts +35 -35
- package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV1Proxy.d.ts +7 -7
- package/dist/types/contract/DODOV2Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV2Proxy02.d.ts +19 -19
- package/dist/types/contract/DPPAdvanced.d.ts +10 -10
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +9 -9
- package/dist/types/contract/DPPFactory.d.ts +13 -13
- package/dist/types/contract/DSP.d.ts +11 -11
- package/dist/types/contract/DSPFactory.d.ts +7 -7
- package/dist/types/contract/DVM.d.ts +11 -11
- package/dist/types/contract/DVMFactory.d.ts +7 -7
- package/dist/types/contract/ERC20.d.ts +5 -5
- package/dist/types/contract/ERC20MineV2.d.ts +13 -13
- package/dist/types/contract/ERC20MineV3.d.ts +13 -13
- package/dist/types/contract/ERC20V3Factory.d.ts +11 -11
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +32 -41
- package/dist/types/contract/FeeRateModel.d.ts +4 -4
- package/dist/types/contract/GSP.d.ts +19 -19
- package/dist/types/contract/GSPFactory.d.ts +8 -8
- package/dist/types/contract/InitializableERC20.d.ts +4 -4
- package/dist/types/contract/LimitOrder.d.ts +11 -11
- package/dist/types/contract/LimitOrderBot.d.ts +9 -9
- package/dist/types/contract/LockedTokenVault.d.ts +9 -9
- package/dist/types/contract/MerkleDistributor.d.ts +1 -1
- package/dist/types/contract/Multicall.d.ts +1 -1
- package/dist/types/contract/MulticallWithValid.d.ts +1 -1
- package/dist/types/contract/NonfungiblePositionManager.d.ts +21 -21
- package/dist/types/contract/NonfungiblePositionManagerAlgebra.d.ts +24 -24
- package/dist/types/contract/PermissionManager.d.ts +9 -9
- package/dist/types/contract/UniswapV2Factory.d.ts +4 -4
- package/dist/types/contract/UniswapV2FactoryFixedFee.d.ts +3 -3
- package/dist/types/contract/UniswapV2Pair.d.ts +12 -12
- package/dist/types/contract/UniswapV2Router02.d.ts +17 -17
- package/dist/types/contract/UniswapV2Router02FixedFee.d.ts +17 -17
- package/dist/types/contract/UniswapV3Factory.d.ts +3 -3
- package/dist/types/contract/dodoTeam.d.ts +16 -16
- package/dist/types/contract/vDODOToken.d.ts +16 -16
- package/dist/types/contractRequests.d.ts +1 -1
- package/dist/types/index.d.ts +0 -4
- package/package.json +1 -1
- package/src/config/index.ts +5 -13
- package/src/config/monad.ts +4 -0
- package/src/config/sepolia.ts +1 -1
- package/src/contract/CrowdPoolingFactory.ts +1 -1
- package/src/contract/DODOApprove.ts +1 -1
- package/src/contract/DODOApproveProxy.ts +1 -1
- package/src/contract/DODOCalleeHelper.ts +1 -1
- package/src/contract/DODOCpProxy.ts +1 -1
- package/src/contract/DODODppProxy.ts +1 -1
- package/src/contract/DODODspProxy.ts +1 -1
- package/src/contract/DODODspProxyWithoutGSP.ts +1 -1
- package/src/contract/DODOFeeRouteProxy1.ts +1 -1
- package/src/contract/DODOFeeRouteProxy2.ts +1 -1
- package/src/contract/DODOMineV2Factory.ts +1 -1
- package/src/contract/DODOMineV3Proxy.ts +1 -1
- package/src/contract/DODOMineV3Registry.ts +1 -1
- package/src/contract/DODOSellHelper.ts +1 -1
- package/src/contract/DODOSwapCalcHelper.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV2Adapter.ts +1 -1
- package/src/contract/DODOV2Proxy02.ts +1 -1
- package/src/contract/DODOV2RouteHelper.ts +1 -1
- package/src/contract/DPPFactory.ts +1 -1
- package/src/contract/DSPFactory.ts +1 -1
- package/src/contract/DVMFactory.ts +1 -1
- package/src/contract/ERC20Helper.ts +1 -1
- package/src/contract/ERC20V3Factory.ts +1 -1
- package/src/contract/FeeRateDIP3Impl.ts +75 -61
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
- package/src/contract/NonfungiblePositionManager.ts +1 -1
- package/src/contract/UniswapV2Factory.ts +1 -1
- package/src/contract/UniswapV2Router02.ts +1 -1
- package/src/contract/UniswapV3Factory.ts +1 -1
- package/src/index.ts +0 -4
- package/.cache/contract-info/DFTManager.json +0 -2832
- package/.cache/contract-info/ICHIVault.json +0 -787
- package/.cache/contract-info/RWAManager.json +0 -1
- package/.cache/contract-info/RWAToken.json +0 -1
- package/contract-config/birdlayer.json +0 -66
- package/contract-config/zetachain-testnet.json +0 -68
- package/contract-config/zetachain.json +0 -61
- package/dist/types/config/zetachain-testnet.d.ts +0 -32
- package/dist/types/config/zetachain.d.ts +0 -30
- package/dist/types/contract/DFTManager.d.ts +0 -994
- package/dist/types/contract/ICHIVault.d.ts +0 -516
- package/dist/types/contract/RWAManager.d.ts +0 -264
- package/dist/types/contract/RWAToken.d.ts +0 -179
- package/src/config/birdlayer.ts +0 -4
- package/src/config/zetachain-testnet.ts +0 -4
- package/src/config/zetachain.ts +0 -4
- package/src/contract/DFTManager.ts +0 -1222
- package/src/contract/ICHIVault.ts +0 -863
- package/src/contract/RWAManager.ts +0 -479
- package/src/contract/RWAToken.ts +0 -330
|
@@ -1,516 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* fetch PRECISION
|
|
3
|
-
* @param {number} chainId - number
|
|
4
|
-
* @param {string} __to - string
|
|
5
|
-
* @returns {bigint} __output0 - uint256
|
|
6
|
-
*/
|
|
7
|
-
export declare function fetchICHIVaultPRECISION(chainId: number, __to: string): Promise<bigint>;
|
|
8
|
-
export declare function getFetchICHIVaultPRECISIONQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
|
-
queryKey: (string | number | undefined)[];
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
queryFn: () => Promise<bigint>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* fetch affiliate
|
|
15
|
-
* @param {number} chainId - number
|
|
16
|
-
* @param {string} __to - string
|
|
17
|
-
* @returns {string} __output0 - address
|
|
18
|
-
*/
|
|
19
|
-
export declare function fetchICHIVaultAffiliate(chainId: number, __to: string): Promise<string>;
|
|
20
|
-
export declare function getFetchICHIVaultAffiliateQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
21
|
-
queryKey: (string | number | undefined)[];
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
queryFn: () => Promise<string>;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* fetch allowToken0
|
|
27
|
-
* @param {number} chainId - number
|
|
28
|
-
* @param {string} __to - string
|
|
29
|
-
* @returns {boolean} __output0 - bool
|
|
30
|
-
*/
|
|
31
|
-
export declare function fetchICHIVaultAllowToken0(chainId: number, __to: string): Promise<boolean>;
|
|
32
|
-
export declare function getFetchICHIVaultAllowToken0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
33
|
-
queryKey: (string | number | undefined)[];
|
|
34
|
-
enabled: boolean;
|
|
35
|
-
queryFn: () => Promise<boolean>;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* fetch allowToken1
|
|
39
|
-
* @param {number} chainId - number
|
|
40
|
-
* @param {string} __to - string
|
|
41
|
-
* @returns {boolean} __output0 - bool
|
|
42
|
-
*/
|
|
43
|
-
export declare function fetchICHIVaultAllowToken1(chainId: number, __to: string): Promise<boolean>;
|
|
44
|
-
export declare function getFetchICHIVaultAllowToken1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
45
|
-
queryKey: (string | number | undefined)[];
|
|
46
|
-
enabled: boolean;
|
|
47
|
-
queryFn: () => Promise<boolean>;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* fetch allowance
|
|
51
|
-
* @param {number} chainId - number
|
|
52
|
-
* @param {string} __to - string
|
|
53
|
-
* @param {string} owner - address
|
|
54
|
-
* @param {string} spender - address
|
|
55
|
-
* @returns {bigint} __output0 - uint256
|
|
56
|
-
*/
|
|
57
|
-
export declare function fetchICHIVaultAllowance(chainId: number, __to: string, owner: string, spender: string): Promise<bigint>;
|
|
58
|
-
export declare function getFetchICHIVaultAllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined, spender: string | undefined): {
|
|
59
|
-
queryKey: (string | number | undefined)[];
|
|
60
|
-
enabled: boolean;
|
|
61
|
-
queryFn: () => Promise<bigint>;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* fetch ammFeeRecipient
|
|
65
|
-
* @param {number} chainId - number
|
|
66
|
-
* @param {string} __to - string
|
|
67
|
-
* @returns {string} __output0 - address
|
|
68
|
-
*/
|
|
69
|
-
export declare function fetchICHIVaultAmmFeeRecipient(chainId: number, __to: string): Promise<string>;
|
|
70
|
-
export declare function getFetchICHIVaultAmmFeeRecipientQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
71
|
-
queryKey: (string | number | undefined)[];
|
|
72
|
-
enabled: boolean;
|
|
73
|
-
queryFn: () => Promise<string>;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* fetch balanceOf
|
|
77
|
-
* @param {number} chainId - number
|
|
78
|
-
* @param {string} __to - string
|
|
79
|
-
* @param {string} account - address
|
|
80
|
-
* @returns {bigint} __output0 - uint256
|
|
81
|
-
*/
|
|
82
|
-
export declare function fetchICHIVaultBalanceOf(chainId: number, __to: string, account: string): Promise<bigint>;
|
|
83
|
-
export declare function getFetchICHIVaultBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, account: string | undefined): {
|
|
84
|
-
queryKey: (string | number | undefined)[];
|
|
85
|
-
enabled: boolean;
|
|
86
|
-
queryFn: () => Promise<bigint>;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* fetch baseLower
|
|
90
|
-
* @param {number} chainId - number
|
|
91
|
-
* @param {string} __to - string
|
|
92
|
-
* @returns {bigint} __output0 - int24
|
|
93
|
-
*/
|
|
94
|
-
export declare function fetchICHIVaultBaseLower(chainId: number, __to: string): Promise<bigint>;
|
|
95
|
-
export declare function getFetchICHIVaultBaseLowerQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
96
|
-
queryKey: (string | number | undefined)[];
|
|
97
|
-
enabled: boolean;
|
|
98
|
-
queryFn: () => Promise<bigint>;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* fetch baseUpper
|
|
102
|
-
* @param {number} chainId - number
|
|
103
|
-
* @param {string} __to - string
|
|
104
|
-
* @returns {bigint} __output0 - int24
|
|
105
|
-
*/
|
|
106
|
-
export declare function fetchICHIVaultBaseUpper(chainId: number, __to: string): Promise<bigint>;
|
|
107
|
-
export declare function getFetchICHIVaultBaseUpperQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
108
|
-
queryKey: (string | number | undefined)[];
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
queryFn: () => Promise<bigint>;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* fetch currentTick
|
|
114
|
-
* @param {number} chainId - number
|
|
115
|
-
* @param {string} __to - string
|
|
116
|
-
* @returns {bigint} tick - int24
|
|
117
|
-
*/
|
|
118
|
-
export declare function fetchICHIVaultCurrentTick(chainId: number, __to: string): Promise<bigint>;
|
|
119
|
-
export declare function getFetchICHIVaultCurrentTickQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
120
|
-
queryKey: (string | number | undefined)[];
|
|
121
|
-
enabled: boolean;
|
|
122
|
-
queryFn: () => Promise<bigint>;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* fetch decimals
|
|
126
|
-
* @param {number} chainId - number
|
|
127
|
-
* @param {string} __to - string
|
|
128
|
-
* @returns {bigint} __output0 - uint8
|
|
129
|
-
*/
|
|
130
|
-
export declare function fetchICHIVaultDecimals(chainId: number, __to: string): Promise<bigint>;
|
|
131
|
-
export declare function getFetchICHIVaultDecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
132
|
-
queryKey: (string | number | undefined)[];
|
|
133
|
-
enabled: boolean;
|
|
134
|
-
queryFn: () => Promise<bigint>;
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* fetch deposit0Max
|
|
138
|
-
* @param {number} chainId - number
|
|
139
|
-
* @param {string} __to - string
|
|
140
|
-
* @returns {bigint} __output0 - uint256
|
|
141
|
-
*/
|
|
142
|
-
export declare function fetchICHIVaultDeposit0Max(chainId: number, __to: string): Promise<bigint>;
|
|
143
|
-
export declare function getFetchICHIVaultDeposit0MaxQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
144
|
-
queryKey: (string | number | undefined)[];
|
|
145
|
-
enabled: boolean;
|
|
146
|
-
queryFn: () => Promise<bigint>;
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* fetch deposit1Max
|
|
150
|
-
* @param {number} chainId - number
|
|
151
|
-
* @param {string} __to - string
|
|
152
|
-
* @returns {bigint} __output0 - uint256
|
|
153
|
-
*/
|
|
154
|
-
export declare function fetchICHIVaultDeposit1Max(chainId: number, __to: string): Promise<bigint>;
|
|
155
|
-
export declare function getFetchICHIVaultDeposit1MaxQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
156
|
-
queryKey: (string | number | undefined)[];
|
|
157
|
-
enabled: boolean;
|
|
158
|
-
queryFn: () => Promise<bigint>;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* fetch fee
|
|
162
|
-
* @param {number} chainId - number
|
|
163
|
-
* @param {string} __to - string
|
|
164
|
-
* @returns {bigint} fee_ - uint24
|
|
165
|
-
*/
|
|
166
|
-
export declare function fetchICHIVaultFee(chainId: number, __to: string): Promise<bigint>;
|
|
167
|
-
export declare function getFetchICHIVaultFeeQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
168
|
-
queryKey: (string | number | undefined)[];
|
|
169
|
-
enabled: boolean;
|
|
170
|
-
queryFn: () => Promise<bigint>;
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* fetch getBasePosition
|
|
174
|
-
* @param {number} chainId - number
|
|
175
|
-
* @param {string} __to - string
|
|
176
|
-
* @returns {bigint} liquidity - uint128
|
|
177
|
-
* @returns {bigint} amount0 - uint256
|
|
178
|
-
* @returns {bigint} amount1 - uint256
|
|
179
|
-
*/
|
|
180
|
-
export declare function fetchICHIVaultGetBasePosition(chainId: number, __to: string): Promise<{
|
|
181
|
-
liquidity: bigint;
|
|
182
|
-
amount0: bigint;
|
|
183
|
-
amount1: bigint;
|
|
184
|
-
}>;
|
|
185
|
-
export declare function getFetchICHIVaultGetBasePositionQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
186
|
-
queryKey: (string | number | undefined)[];
|
|
187
|
-
enabled: boolean;
|
|
188
|
-
queryFn: () => Promise<{
|
|
189
|
-
liquidity: bigint;
|
|
190
|
-
amount0: bigint;
|
|
191
|
-
amount1: bigint;
|
|
192
|
-
}>;
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* fetch getLimitPosition
|
|
196
|
-
* @param {number} chainId - number
|
|
197
|
-
* @param {string} __to - string
|
|
198
|
-
* @returns {bigint} liquidity - uint128
|
|
199
|
-
* @returns {bigint} amount0 - uint256
|
|
200
|
-
* @returns {bigint} amount1 - uint256
|
|
201
|
-
*/
|
|
202
|
-
export declare function fetchICHIVaultGetLimitPosition(chainId: number, __to: string): Promise<{
|
|
203
|
-
liquidity: bigint;
|
|
204
|
-
amount0: bigint;
|
|
205
|
-
amount1: bigint;
|
|
206
|
-
}>;
|
|
207
|
-
export declare function getFetchICHIVaultGetLimitPositionQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
208
|
-
queryKey: (string | number | undefined)[];
|
|
209
|
-
enabled: boolean;
|
|
210
|
-
queryFn: () => Promise<{
|
|
211
|
-
liquidity: bigint;
|
|
212
|
-
amount0: bigint;
|
|
213
|
-
amount1: bigint;
|
|
214
|
-
}>;
|
|
215
|
-
};
|
|
216
|
-
/**
|
|
217
|
-
* fetch getTotalAmounts
|
|
218
|
-
* @param {number} chainId - number
|
|
219
|
-
* @param {string} __to - string
|
|
220
|
-
* @returns {bigint} total0 - uint256
|
|
221
|
-
* @returns {bigint} total1 - uint256
|
|
222
|
-
*/
|
|
223
|
-
export declare function fetchICHIVaultGetTotalAmounts(chainId: number, __to: string): Promise<{
|
|
224
|
-
total0: bigint;
|
|
225
|
-
total1: bigint;
|
|
226
|
-
}>;
|
|
227
|
-
export declare function getFetchICHIVaultGetTotalAmountsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
228
|
-
queryKey: (string | number | undefined)[];
|
|
229
|
-
enabled: boolean;
|
|
230
|
-
queryFn: () => Promise<{
|
|
231
|
-
total0: bigint;
|
|
232
|
-
total1: bigint;
|
|
233
|
-
}>;
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* fetch hysteresis
|
|
237
|
-
* @param {number} chainId - number
|
|
238
|
-
* @param {string} __to - string
|
|
239
|
-
* @returns {bigint} __output0 - uint256
|
|
240
|
-
*/
|
|
241
|
-
export declare function fetchICHIVaultHysteresis(chainId: number, __to: string): Promise<bigint>;
|
|
242
|
-
export declare function getFetchICHIVaultHysteresisQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
243
|
-
queryKey: (string | number | undefined)[];
|
|
244
|
-
enabled: boolean;
|
|
245
|
-
queryFn: () => Promise<bigint>;
|
|
246
|
-
};
|
|
247
|
-
/**
|
|
248
|
-
* fetch ichiVaultFactory
|
|
249
|
-
* @param {number} chainId - number
|
|
250
|
-
* @param {string} __to - string
|
|
251
|
-
* @returns {string} __output0 - address
|
|
252
|
-
*/
|
|
253
|
-
export declare function fetchICHIVaultIchiVaultFactory(chainId: number, __to: string): Promise<string>;
|
|
254
|
-
export declare function getFetchICHIVaultIchiVaultFactoryQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
255
|
-
queryKey: (string | number | undefined)[];
|
|
256
|
-
enabled: boolean;
|
|
257
|
-
queryFn: () => Promise<string>;
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* fetch limitLower
|
|
261
|
-
* @param {number} chainId - number
|
|
262
|
-
* @param {string} __to - string
|
|
263
|
-
* @returns {bigint} __output0 - int24
|
|
264
|
-
*/
|
|
265
|
-
export declare function fetchICHIVaultLimitLower(chainId: number, __to: string): Promise<bigint>;
|
|
266
|
-
export declare function getFetchICHIVaultLimitLowerQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
267
|
-
queryKey: (string | number | undefined)[];
|
|
268
|
-
enabled: boolean;
|
|
269
|
-
queryFn: () => Promise<bigint>;
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
* fetch limitUpper
|
|
273
|
-
* @param {number} chainId - number
|
|
274
|
-
* @param {string} __to - string
|
|
275
|
-
* @returns {bigint} __output0 - int24
|
|
276
|
-
*/
|
|
277
|
-
export declare function fetchICHIVaultLimitUpper(chainId: number, __to: string): Promise<bigint>;
|
|
278
|
-
export declare function getFetchICHIVaultLimitUpperQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
279
|
-
queryKey: (string | number | undefined)[];
|
|
280
|
-
enabled: boolean;
|
|
281
|
-
queryFn: () => Promise<bigint>;
|
|
282
|
-
};
|
|
283
|
-
/**
|
|
284
|
-
* fetch name
|
|
285
|
-
* @param {number} chainId - number
|
|
286
|
-
* @param {string} __to - string
|
|
287
|
-
* @returns {string} __output0 - string
|
|
288
|
-
*/
|
|
289
|
-
export declare function fetchICHIVaultName(chainId: number, __to: string): Promise<string>;
|
|
290
|
-
export declare function getFetchICHIVaultNameQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
291
|
-
queryKey: (string | number | undefined)[];
|
|
292
|
-
enabled: boolean;
|
|
293
|
-
queryFn: () => Promise<string>;
|
|
294
|
-
};
|
|
295
|
-
/**
|
|
296
|
-
* fetch owner
|
|
297
|
-
* @param {number} chainId - number
|
|
298
|
-
* @param {string} __to - string
|
|
299
|
-
* @returns {string} __output0 - address
|
|
300
|
-
*/
|
|
301
|
-
export declare function fetchICHIVaultOwner(chainId: number, __to: string): Promise<string>;
|
|
302
|
-
export declare function getFetchICHIVaultOwnerQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
303
|
-
queryKey: (string | number | undefined)[];
|
|
304
|
-
enabled: boolean;
|
|
305
|
-
queryFn: () => Promise<string>;
|
|
306
|
-
};
|
|
307
|
-
/**
|
|
308
|
-
* fetch pool
|
|
309
|
-
* @param {number} chainId - number
|
|
310
|
-
* @param {string} __to - string
|
|
311
|
-
* @returns {string} __output0 - address
|
|
312
|
-
*/
|
|
313
|
-
export declare function fetchICHIVaultPool(chainId: number, __to: string): Promise<string>;
|
|
314
|
-
export declare function getFetchICHIVaultPoolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
315
|
-
queryKey: (string | number | undefined)[];
|
|
316
|
-
enabled: boolean;
|
|
317
|
-
queryFn: () => Promise<string>;
|
|
318
|
-
};
|
|
319
|
-
/**
|
|
320
|
-
* fetch symbol
|
|
321
|
-
* @param {number} chainId - number
|
|
322
|
-
* @param {string} __to - string
|
|
323
|
-
* @returns {string} __output0 - string
|
|
324
|
-
*/
|
|
325
|
-
export declare function fetchICHIVaultSymbol(chainId: number, __to: string): Promise<string>;
|
|
326
|
-
export declare function getFetchICHIVaultSymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
327
|
-
queryKey: (string | number | undefined)[];
|
|
328
|
-
enabled: boolean;
|
|
329
|
-
queryFn: () => Promise<string>;
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* fetch tickSpacing
|
|
333
|
-
* @param {number} chainId - number
|
|
334
|
-
* @param {string} __to - string
|
|
335
|
-
* @returns {bigint} __output0 - int24
|
|
336
|
-
*/
|
|
337
|
-
export declare function fetchICHIVaultTickSpacing(chainId: number, __to: string): Promise<bigint>;
|
|
338
|
-
export declare function getFetchICHIVaultTickSpacingQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
339
|
-
queryKey: (string | number | undefined)[];
|
|
340
|
-
enabled: boolean;
|
|
341
|
-
queryFn: () => Promise<bigint>;
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
* fetch token0
|
|
345
|
-
* @param {number} chainId - number
|
|
346
|
-
* @param {string} __to - string
|
|
347
|
-
* @returns {string} __output0 - address
|
|
348
|
-
*/
|
|
349
|
-
export declare function fetchICHIVaultToken0(chainId: number, __to: string): Promise<string>;
|
|
350
|
-
export declare function getFetchICHIVaultToken0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
351
|
-
queryKey: (string | number | undefined)[];
|
|
352
|
-
enabled: boolean;
|
|
353
|
-
queryFn: () => Promise<string>;
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* fetch token1
|
|
357
|
-
* @param {number} chainId - number
|
|
358
|
-
* @param {string} __to - string
|
|
359
|
-
* @returns {string} __output0 - address
|
|
360
|
-
*/
|
|
361
|
-
export declare function fetchICHIVaultToken1(chainId: number, __to: string): Promise<string>;
|
|
362
|
-
export declare function getFetchICHIVaultToken1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
363
|
-
queryKey: (string | number | undefined)[];
|
|
364
|
-
enabled: boolean;
|
|
365
|
-
queryFn: () => Promise<string>;
|
|
366
|
-
};
|
|
367
|
-
/**
|
|
368
|
-
* fetch totalSupply
|
|
369
|
-
* @param {number} chainId - number
|
|
370
|
-
* @param {string} __to - string
|
|
371
|
-
* @returns {bigint} __output0 - uint256
|
|
372
|
-
*/
|
|
373
|
-
export declare function fetchICHIVaultTotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
374
|
-
export declare function getFetchICHIVaultTotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
375
|
-
queryKey: (string | number | undefined)[];
|
|
376
|
-
enabled: boolean;
|
|
377
|
-
queryFn: () => Promise<bigint>;
|
|
378
|
-
};
|
|
379
|
-
/**
|
|
380
|
-
* fetch twapPeriod
|
|
381
|
-
* @param {number} chainId - number
|
|
382
|
-
* @param {string} __to - string
|
|
383
|
-
* @returns {bigint} __output0 - uint32
|
|
384
|
-
*/
|
|
385
|
-
export declare function fetchICHIVaultTwapPeriod(chainId: number, __to: string): Promise<bigint>;
|
|
386
|
-
export declare function getFetchICHIVaultTwapPeriodQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
387
|
-
queryKey: (string | number | undefined)[];
|
|
388
|
-
enabled: boolean;
|
|
389
|
-
queryFn: () => Promise<bigint>;
|
|
390
|
-
};
|
|
391
|
-
/**
|
|
392
|
-
* encode algebraMintCallback
|
|
393
|
-
* @param {string | number} amount0 - uint256
|
|
394
|
-
* @param {string | number} amount1 - uint256
|
|
395
|
-
* @param {string} data - bytes
|
|
396
|
-
* @returns {string} encode data
|
|
397
|
-
*/
|
|
398
|
-
export declare function encodeICHIVaultAlgebraMintCallback(amount0: string | number, amount1: string | number, data: string): any;
|
|
399
|
-
/**
|
|
400
|
-
* encode algebraSwapCallback
|
|
401
|
-
* @param {string | number} amount0Delta - int256
|
|
402
|
-
* @param {string | number} amount1Delta - int256
|
|
403
|
-
* @param {string} data - bytes
|
|
404
|
-
* @returns {string} encode data
|
|
405
|
-
*/
|
|
406
|
-
export declare function encodeICHIVaultAlgebraSwapCallback(amount0Delta: string | number, amount1Delta: string | number, data: string): any;
|
|
407
|
-
/**
|
|
408
|
-
* encode approve
|
|
409
|
-
* @param {string} spender - address
|
|
410
|
-
* @param {string | number} amount - uint256
|
|
411
|
-
* @returns {string} encode data
|
|
412
|
-
*/
|
|
413
|
-
export declare function encodeICHIVaultApprove(spender: string, amount: string | number): any;
|
|
414
|
-
/**
|
|
415
|
-
* encode collectFees
|
|
416
|
-
|
|
417
|
-
* @returns {string} encode data
|
|
418
|
-
*/
|
|
419
|
-
export declare function encodeICHIVaultCollectFees(): any;
|
|
420
|
-
/**
|
|
421
|
-
* encode decreaseAllowance
|
|
422
|
-
* @param {string} spender - address
|
|
423
|
-
* @param {string | number} subtractedValue - uint256
|
|
424
|
-
* @returns {string} encode data
|
|
425
|
-
*/
|
|
426
|
-
export declare function encodeICHIVaultDecreaseAllowance(spender: string, subtractedValue: string | number): any;
|
|
427
|
-
/**
|
|
428
|
-
* encode deposit
|
|
429
|
-
* @param {string | number} deposit0 - uint256
|
|
430
|
-
* @param {string | number} deposit1 - uint256
|
|
431
|
-
* @param {string} to - address
|
|
432
|
-
* @returns {string} encode data
|
|
433
|
-
*/
|
|
434
|
-
export declare function encodeICHIVaultDeposit(deposit0: string | number, deposit1: string | number, to: string): any;
|
|
435
|
-
/**
|
|
436
|
-
* encode increaseAllowance
|
|
437
|
-
* @param {string} spender - address
|
|
438
|
-
* @param {string | number} addedValue - uint256
|
|
439
|
-
* @returns {string} encode data
|
|
440
|
-
*/
|
|
441
|
-
export declare function encodeICHIVaultIncreaseAllowance(spender: string, addedValue: string | number): any;
|
|
442
|
-
/**
|
|
443
|
-
* encode rebalance
|
|
444
|
-
* @param {string | number} _baseLower - int24
|
|
445
|
-
* @param {string | number} _baseUpper - int24
|
|
446
|
-
* @param {string | number} _limitLower - int24
|
|
447
|
-
* @param {string | number} _limitUpper - int24
|
|
448
|
-
* @param {string | number} swapQuantity - int256
|
|
449
|
-
* @returns {string} encode data
|
|
450
|
-
*/
|
|
451
|
-
export declare function encodeICHIVaultRebalance(_baseLower: string | number, _baseUpper: string | number, _limitLower: string | number, _limitUpper: string | number, swapQuantity: string | number): any;
|
|
452
|
-
/**
|
|
453
|
-
* encode renounceOwnership
|
|
454
|
-
|
|
455
|
-
* @returns {string} encode data
|
|
456
|
-
*/
|
|
457
|
-
export declare function encodeICHIVaultRenounceOwnership(): any;
|
|
458
|
-
/**
|
|
459
|
-
* encode setAffiliate
|
|
460
|
-
* @param {string} _affiliate - address
|
|
461
|
-
* @returns {string} encode data
|
|
462
|
-
*/
|
|
463
|
-
export declare function encodeICHIVaultSetAffiliate(_affiliate: string): any;
|
|
464
|
-
/**
|
|
465
|
-
* encode setAmmFeeRecipient
|
|
466
|
-
* @param {string} _ammFeeRecipient - address
|
|
467
|
-
* @returns {string} encode data
|
|
468
|
-
*/
|
|
469
|
-
export declare function encodeICHIVaultSetAmmFeeRecipient(_ammFeeRecipient: string): any;
|
|
470
|
-
/**
|
|
471
|
-
* encode setDepositMax
|
|
472
|
-
* @param {string | number} _deposit0Max - uint256
|
|
473
|
-
* @param {string | number} _deposit1Max - uint256
|
|
474
|
-
* @returns {string} encode data
|
|
475
|
-
*/
|
|
476
|
-
export declare function encodeICHIVaultSetDepositMax(_deposit0Max: string | number, _deposit1Max: string | number): any;
|
|
477
|
-
/**
|
|
478
|
-
* encode setHysteresis
|
|
479
|
-
* @param {string | number} _hysteresis - uint256
|
|
480
|
-
* @returns {string} encode data
|
|
481
|
-
*/
|
|
482
|
-
export declare function encodeICHIVaultSetHysteresis(_hysteresis: string | number): any;
|
|
483
|
-
/**
|
|
484
|
-
* encode setTwapPeriod
|
|
485
|
-
* @param {string | number} newTwapPeriod - uint32
|
|
486
|
-
* @returns {string} encode data
|
|
487
|
-
*/
|
|
488
|
-
export declare function encodeICHIVaultSetTwapPeriod(newTwapPeriod: string | number): any;
|
|
489
|
-
/**
|
|
490
|
-
* encode transfer
|
|
491
|
-
* @param {string} to - address
|
|
492
|
-
* @param {string | number} amount - uint256
|
|
493
|
-
* @returns {string} encode data
|
|
494
|
-
*/
|
|
495
|
-
export declare function encodeICHIVaultTransfer(to: string, amount: string | number): any;
|
|
496
|
-
/**
|
|
497
|
-
* encode transferFrom
|
|
498
|
-
* @param {string} from - address
|
|
499
|
-
* @param {string} to - address
|
|
500
|
-
* @param {string | number} amount - uint256
|
|
501
|
-
* @returns {string} encode data
|
|
502
|
-
*/
|
|
503
|
-
export declare function encodeICHIVaultTransferFrom(from: string, to: string, amount: string | number): any;
|
|
504
|
-
/**
|
|
505
|
-
* encode transferOwnership
|
|
506
|
-
* @param {string} newOwner - address
|
|
507
|
-
* @returns {string} encode data
|
|
508
|
-
*/
|
|
509
|
-
export declare function encodeICHIVaultTransferOwnership(newOwner: string): any;
|
|
510
|
-
/**
|
|
511
|
-
* encode withdraw
|
|
512
|
-
* @param {string | number} shares - uint256
|
|
513
|
-
* @param {string} to - address
|
|
514
|
-
* @returns {string} encode data
|
|
515
|
-
*/
|
|
516
|
-
export declare function encodeICHIVaultWithdraw(shares: string | number, to: string): any;
|