@dodoex/dodo-contract-request 1.34.0 → 1.35.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/.cache/contract-info/DFTManager.json +2832 -0
- package/.cache/contract-info/ICHIVault.json +787 -0
- package/.cache/contract-info/RWAManager.json +1 -0
- package/.cache/contract-info/RWAToken.json +1 -0
- package/.cache/contract-info/TransparentUpgradeableProxyWithPros.json +2006 -0
- package/CHANGELOG.md +85 -21
- package/contract-config/arbitrum.json +1 -1
- package/contract-config/berachain.json +4 -2
- package/contract-config/birdlayer.json +66 -0
- package/contract-config/pharos-atlantic-testnet.json +2 -1
- package/contract-config/pharos.json +69 -0
- package/contract-config/rise.json +67 -0
- package/contract-config/sepolia.json +3 -1
- package/contract-config/zetachain-testnet.json +68 -0
- package/contract-config/zetachain.json +61 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/birdlayer.d.ts +29 -0
- package/dist/types/config/index.d.ts +10 -0
- package/dist/types/config/pharos-atlantic-testnet.d.ts +1 -0
- package/dist/types/config/pharos.d.ts +33 -0
- package/dist/types/config/rise.d.ts +33 -0
- package/dist/types/config/sepolia.d.ts +2 -0
- package/dist/types/config/zetachain-testnet.d.ts +32 -0
- package/dist/types/config/zetachain.d.ts +30 -0
- package/dist/types/contract/DFTManager.d.ts +994 -0
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +30 -21
- package/dist/types/contract/ICHIVault.d.ts +516 -0
- package/dist/types/contract/RWAManager.d.ts +264 -0
- package/dist/types/contract/RWAToken.d.ts +179 -0
- package/dist/types/contract/TransparentUpgradeableProxyWithPros.d.ts +679 -0
- package/dist/types/index.d.ts +5 -0
- package/package.json +1 -1
- package/scripts/contract-generate.ts +1 -0
- package/src/config/birdlayer.ts +4 -0
- package/src/config/index.ts +21 -1
- package/src/config/pharos-atlantic-testnet.ts +1 -1
- package/src/config/pharos.ts +4 -0
- package/src/config/rise.ts +4 -0
- package/src/config/sepolia.ts +1 -1
- package/src/config/zetachain-testnet.ts +4 -0
- package/src/config/zetachain.ts +4 -0
- package/src/contract/CrowdPoolingFactory.ts +1 -1
- package/src/contract/DFTManager.ts +1222 -0
- 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 +61 -75
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/ICHIVault.ts +863 -0
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
- package/src/contract/NonfungiblePositionManager.ts +1 -1
- package/src/contract/RWAManager.ts +479 -0
- package/src/contract/RWAToken.ts +330 -0
- package/src/contract/TransparentUpgradeableProxyWithPros.ts +1226 -0
- 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 +5 -0
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
export declare function getTransparentUpgradeableProxyWithProsContractAddressByChainId(chainId: number): string;
|
|
2
|
+
/**
|
|
3
|
+
* fetch allowance
|
|
4
|
+
* @param {number} chainId - number
|
|
5
|
+
* @param {string} owner - address
|
|
6
|
+
* @param {string} spender - address
|
|
7
|
+
* @returns {bigint} __output0 - uint256
|
|
8
|
+
*/
|
|
9
|
+
export declare function fetchTransparentUpgradeableProxyWithProsAllowance(chainId: number, owner: string, spender: string): Promise<bigint>;
|
|
10
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsAllowanceQueryOptions(chainId: number | undefined, owner: string | undefined, spender: string | undefined): {
|
|
11
|
+
queryKey: (string | number | undefined)[];
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
queryFn: () => Promise<bigint>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* fetch asset
|
|
17
|
+
* @param {number} chainId - number
|
|
18
|
+
* @returns {string} __output0 - address
|
|
19
|
+
*/
|
|
20
|
+
export declare function fetchTransparentUpgradeableProxyWithProsAsset(chainId: number): Promise<string>;
|
|
21
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsAssetQueryOptions(chainId: number | undefined): {
|
|
22
|
+
queryKey: (string | number | undefined)[];
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
queryFn: () => Promise<string>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* fetch balanceOf
|
|
28
|
+
* @param {number} chainId - number
|
|
29
|
+
* @param {string} account - address
|
|
30
|
+
* @returns {bigint} __output0 - uint256
|
|
31
|
+
*/
|
|
32
|
+
export declare function fetchTransparentUpgradeableProxyWithProsBalanceOf(chainId: number, account: string): Promise<bigint>;
|
|
33
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsBalanceOfQueryOptions(chainId: number | undefined, account: string | undefined): {
|
|
34
|
+
queryKey: (string | number | undefined)[];
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
queryFn: () => Promise<bigint>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* fetch bifrostDest
|
|
40
|
+
* @param {number} chainId - number
|
|
41
|
+
* @returns {string} __output0 - bytes
|
|
42
|
+
*/
|
|
43
|
+
export declare function fetchTransparentUpgradeableProxyWithProsBifrostDest(chainId: number): Promise<string>;
|
|
44
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsBifrostDestQueryOptions(chainId: number | undefined): {
|
|
45
|
+
queryKey: (string | number | undefined)[];
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
queryFn: () => Promise<string>;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* fetch bridgeVault
|
|
51
|
+
* @param {number} chainId - number
|
|
52
|
+
* @returns {string} __output0 - address
|
|
53
|
+
*/
|
|
54
|
+
export declare function fetchTransparentUpgradeableProxyWithProsBridgeVault(chainId: number): Promise<string>;
|
|
55
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsBridgeVaultQueryOptions(chainId: number | undefined): {
|
|
56
|
+
queryKey: (string | number | undefined)[];
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
queryFn: () => Promise<string>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* fetch canWithdrawalAmount
|
|
62
|
+
* @param {number} chainId - number
|
|
63
|
+
* @param {string} target - address
|
|
64
|
+
* @returns {bigint} __output0 - uint256
|
|
65
|
+
* @returns {bigint} __output1 - uint256
|
|
66
|
+
* @returns {bigint} __output2 - uint256
|
|
67
|
+
*/
|
|
68
|
+
export declare function fetchTransparentUpgradeableProxyWithProsCanWithdrawalAmount(chainId: number, target: string): Promise<{
|
|
69
|
+
__output0: bigint;
|
|
70
|
+
__output1: bigint;
|
|
71
|
+
__output2: bigint;
|
|
72
|
+
}>;
|
|
73
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsCanWithdrawalAmountQueryOptions(chainId: number | undefined, target: string | undefined): {
|
|
74
|
+
queryKey: (string | number | undefined)[];
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
queryFn: () => Promise<{
|
|
77
|
+
__output0: bigint;
|
|
78
|
+
__output1: bigint;
|
|
79
|
+
__output2: bigint;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* fetch completedWithdrawal
|
|
84
|
+
* @param {number} chainId - number
|
|
85
|
+
* @returns {bigint} __output0 - uint256
|
|
86
|
+
*/
|
|
87
|
+
export declare function fetchTransparentUpgradeableProxyWithProsCompletedWithdrawal(chainId: number): Promise<bigint>;
|
|
88
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsCompletedWithdrawalQueryOptions(chainId: number | undefined): {
|
|
89
|
+
queryKey: (string | number | undefined)[];
|
|
90
|
+
enabled: boolean;
|
|
91
|
+
queryFn: () => Promise<bigint>;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* fetch convertToAssets
|
|
95
|
+
* @param {number} chainId - number
|
|
96
|
+
* @param {number} shares - uint256
|
|
97
|
+
* @returns {bigint} __output0 - uint256
|
|
98
|
+
*/
|
|
99
|
+
export declare function fetchTransparentUpgradeableProxyWithProsConvertToAssets(chainId: number, shares: number): Promise<bigint>;
|
|
100
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsConvertToAssetsQueryOptions(chainId: number | undefined, shares: number | undefined): {
|
|
101
|
+
queryKey: (string | number | undefined)[];
|
|
102
|
+
enabled: boolean;
|
|
103
|
+
queryFn: () => Promise<bigint>;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* fetch convertToShares
|
|
107
|
+
* @param {number} chainId - number
|
|
108
|
+
* @param {number} assets - uint256
|
|
109
|
+
* @returns {bigint} __output0 - uint256
|
|
110
|
+
*/
|
|
111
|
+
export declare function fetchTransparentUpgradeableProxyWithProsConvertToShares(chainId: number, assets: number): Promise<bigint>;
|
|
112
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsConvertToSharesQueryOptions(chainId: number | undefined, assets: number | undefined): {
|
|
113
|
+
queryKey: (string | number | undefined)[];
|
|
114
|
+
enabled: boolean;
|
|
115
|
+
queryFn: () => Promise<bigint>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* fetch currentCycleMintTokenAmount
|
|
119
|
+
* @param {number} chainId - number
|
|
120
|
+
* @returns {bigint} __output0 - uint256
|
|
121
|
+
*/
|
|
122
|
+
export declare function fetchTransparentUpgradeableProxyWithProsCurrentCycleMintTokenAmount(chainId: number): Promise<bigint>;
|
|
123
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsCurrentCycleMintTokenAmountQueryOptions(chainId: number | undefined): {
|
|
124
|
+
queryKey: (string | number | undefined)[];
|
|
125
|
+
enabled: boolean;
|
|
126
|
+
queryFn: () => Promise<bigint>;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* fetch currentCycleMintVTokenAmount
|
|
130
|
+
* @param {number} chainId - number
|
|
131
|
+
* @returns {bigint} __output0 - uint256
|
|
132
|
+
*/
|
|
133
|
+
export declare function fetchTransparentUpgradeableProxyWithProsCurrentCycleMintVTokenAmount(chainId: number): Promise<bigint>;
|
|
134
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsCurrentCycleMintVTokenAmountQueryOptions(chainId: number | undefined): {
|
|
135
|
+
queryKey: (string | number | undefined)[];
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
queryFn: () => Promise<bigint>;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* fetch currentCycleRedeemVTokenAmount
|
|
141
|
+
* @param {number} chainId - number
|
|
142
|
+
* @returns {bigint} __output0 - uint256
|
|
143
|
+
*/
|
|
144
|
+
export declare function fetchTransparentUpgradeableProxyWithProsCurrentCycleRedeemVTokenAmount(chainId: number): Promise<bigint>;
|
|
145
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsCurrentCycleRedeemVTokenAmountQueryOptions(chainId: number | undefined): {
|
|
146
|
+
queryKey: (string | number | undefined)[];
|
|
147
|
+
enabled: boolean;
|
|
148
|
+
queryFn: () => Promise<bigint>;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* fetch decimals
|
|
152
|
+
* @param {number} chainId - number
|
|
153
|
+
* @returns {bigint} __output0 - uint8
|
|
154
|
+
*/
|
|
155
|
+
export declare function fetchTransparentUpgradeableProxyWithProsDecimals(chainId: number): Promise<bigint>;
|
|
156
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsDecimalsQueryOptions(chainId: number | undefined): {
|
|
157
|
+
queryKey: (string | number | undefined)[];
|
|
158
|
+
enabled: boolean;
|
|
159
|
+
queryFn: () => Promise<bigint>;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* fetch getTotalBalance
|
|
163
|
+
* @param {number} chainId - number
|
|
164
|
+
* @returns {bigint} __output0 - uint256
|
|
165
|
+
*/
|
|
166
|
+
export declare function fetchTransparentUpgradeableProxyWithProsGetTotalBalance(chainId: number): Promise<bigint>;
|
|
167
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsGetTotalBalanceQueryOptions(chainId: number | undefined): {
|
|
168
|
+
queryKey: (string | number | undefined)[];
|
|
169
|
+
enabled: boolean;
|
|
170
|
+
queryFn: () => Promise<bigint>;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* fetch getWithdrawals
|
|
174
|
+
* @param {number} chainId - number
|
|
175
|
+
* @param {string} target - address
|
|
176
|
+
* @returns {[bigint, bigint]} __output0 - tuple[]
|
|
177
|
+
*/
|
|
178
|
+
export declare function fetchTransparentUpgradeableProxyWithProsGetWithdrawals(chainId: number, target: string): Promise<[bigint, bigint]>;
|
|
179
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsGetWithdrawalsQueryOptions(chainId: number | undefined, target: string | undefined): {
|
|
180
|
+
queryKey: (string | number | undefined)[];
|
|
181
|
+
enabled: boolean;
|
|
182
|
+
queryFn: () => Promise<[bigint, bigint]>;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* fetch maxDeposit
|
|
186
|
+
* @param {number} chainId - number
|
|
187
|
+
* @param {string} __input1 - address
|
|
188
|
+
* @returns {bigint} __output0 - uint256
|
|
189
|
+
*/
|
|
190
|
+
export declare function fetchTransparentUpgradeableProxyWithProsMaxDeposit(chainId: number, __input1: string): Promise<bigint>;
|
|
191
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsMaxDepositQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
192
|
+
queryKey: (string | number | undefined)[];
|
|
193
|
+
enabled: boolean;
|
|
194
|
+
queryFn: () => Promise<bigint>;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* fetch maxMint
|
|
198
|
+
* @param {number} chainId - number
|
|
199
|
+
* @param {string} __input1 - address
|
|
200
|
+
* @returns {bigint} __output0 - uint256
|
|
201
|
+
*/
|
|
202
|
+
export declare function fetchTransparentUpgradeableProxyWithProsMaxMint(chainId: number, __input1: string): Promise<bigint>;
|
|
203
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsMaxMintQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
204
|
+
queryKey: (string | number | undefined)[];
|
|
205
|
+
enabled: boolean;
|
|
206
|
+
queryFn: () => Promise<bigint>;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* fetch maxRedeem
|
|
210
|
+
* @param {number} chainId - number
|
|
211
|
+
* @param {string} owner - address
|
|
212
|
+
* @returns {bigint} __output0 - uint256
|
|
213
|
+
*/
|
|
214
|
+
export declare function fetchTransparentUpgradeableProxyWithProsMaxRedeem(chainId: number, owner: string): Promise<bigint>;
|
|
215
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsMaxRedeemQueryOptions(chainId: number | undefined, owner: string | undefined): {
|
|
216
|
+
queryKey: (string | number | undefined)[];
|
|
217
|
+
enabled: boolean;
|
|
218
|
+
queryFn: () => Promise<bigint>;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* fetch maxWithdraw
|
|
222
|
+
* @param {number} chainId - number
|
|
223
|
+
* @param {string} owner - address
|
|
224
|
+
* @returns {bigint} __output0 - uint256
|
|
225
|
+
*/
|
|
226
|
+
export declare function fetchTransparentUpgradeableProxyWithProsMaxWithdraw(chainId: number, owner: string): Promise<bigint>;
|
|
227
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsMaxWithdrawQueryOptions(chainId: number | undefined, owner: string | undefined): {
|
|
228
|
+
queryKey: (string | number | undefined)[];
|
|
229
|
+
enabled: boolean;
|
|
230
|
+
queryFn: () => Promise<bigint>;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* fetch maxWithdrawCount
|
|
234
|
+
* @param {number} chainId - number
|
|
235
|
+
* @returns {bigint} __output0 - uint256
|
|
236
|
+
*/
|
|
237
|
+
export declare function fetchTransparentUpgradeableProxyWithProsMaxWithdrawCount(chainId: number): Promise<bigint>;
|
|
238
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsMaxWithdrawCountQueryOptions(chainId: number | undefined): {
|
|
239
|
+
queryKey: (string | number | undefined)[];
|
|
240
|
+
enabled: boolean;
|
|
241
|
+
queryFn: () => Promise<bigint>;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* fetch name
|
|
245
|
+
* @param {number} chainId - number
|
|
246
|
+
* @returns {string} __output0 - string
|
|
247
|
+
*/
|
|
248
|
+
export declare function fetchTransparentUpgradeableProxyWithProsName(chainId: number): Promise<string>;
|
|
249
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsNameQueryOptions(chainId: number | undefined): {
|
|
250
|
+
queryKey: (string | number | undefined)[];
|
|
251
|
+
enabled: boolean;
|
|
252
|
+
queryFn: () => Promise<string>;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* fetch oracle
|
|
256
|
+
* @param {number} chainId - number
|
|
257
|
+
* @returns {string} __output0 - address
|
|
258
|
+
*/
|
|
259
|
+
export declare function fetchTransparentUpgradeableProxyWithProsOracle(chainId: number): Promise<string>;
|
|
260
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsOracleQueryOptions(chainId: number | undefined): {
|
|
261
|
+
queryKey: (string | number | undefined)[];
|
|
262
|
+
enabled: boolean;
|
|
263
|
+
queryFn: () => Promise<string>;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* fetch owner
|
|
267
|
+
* @param {number} chainId - number
|
|
268
|
+
* @returns {string} __output0 - address
|
|
269
|
+
*/
|
|
270
|
+
export declare function fetchTransparentUpgradeableProxyWithProsOwner(chainId: number): Promise<string>;
|
|
271
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsOwnerQueryOptions(chainId: number | undefined): {
|
|
272
|
+
queryKey: (string | number | undefined)[];
|
|
273
|
+
enabled: boolean;
|
|
274
|
+
queryFn: () => Promise<string>;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* fetch paused
|
|
278
|
+
* @param {number} chainId - number
|
|
279
|
+
* @returns {boolean} __output0 - bool
|
|
280
|
+
*/
|
|
281
|
+
export declare function fetchTransparentUpgradeableProxyWithProsPaused(chainId: number): Promise<boolean>;
|
|
282
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsPausedQueryOptions(chainId: number | undefined): {
|
|
283
|
+
queryKey: (string | number | undefined)[];
|
|
284
|
+
enabled: boolean;
|
|
285
|
+
queryFn: () => Promise<boolean>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* fetch previewDeposit
|
|
289
|
+
* @param {number} chainId - number
|
|
290
|
+
* @param {number} assets - uint256
|
|
291
|
+
* @returns {bigint} __output0 - uint256
|
|
292
|
+
*/
|
|
293
|
+
export declare function fetchTransparentUpgradeableProxyWithProsPreviewDeposit(chainId: number, assets: number): Promise<bigint>;
|
|
294
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsPreviewDepositQueryOptions(chainId: number | undefined, assets: number | undefined): {
|
|
295
|
+
queryKey: (string | number | undefined)[];
|
|
296
|
+
enabled: boolean;
|
|
297
|
+
queryFn: () => Promise<bigint>;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* fetch previewMint
|
|
301
|
+
* @param {number} chainId - number
|
|
302
|
+
* @param {number} shares - uint256
|
|
303
|
+
* @returns {bigint} __output0 - uint256
|
|
304
|
+
*/
|
|
305
|
+
export declare function fetchTransparentUpgradeableProxyWithProsPreviewMint(chainId: number, shares: number): Promise<bigint>;
|
|
306
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsPreviewMintQueryOptions(chainId: number | undefined, shares: number | undefined): {
|
|
307
|
+
queryKey: (string | number | undefined)[];
|
|
308
|
+
enabled: boolean;
|
|
309
|
+
queryFn: () => Promise<bigint>;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* fetch previewRedeem
|
|
313
|
+
* @param {number} chainId - number
|
|
314
|
+
* @param {number} shares - uint256
|
|
315
|
+
* @returns {bigint} __output0 - uint256
|
|
316
|
+
*/
|
|
317
|
+
export declare function fetchTransparentUpgradeableProxyWithProsPreviewRedeem(chainId: number, shares: number): Promise<bigint>;
|
|
318
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsPreviewRedeemQueryOptions(chainId: number | undefined, shares: number | undefined): {
|
|
319
|
+
queryKey: (string | number | undefined)[];
|
|
320
|
+
enabled: boolean;
|
|
321
|
+
queryFn: () => Promise<bigint>;
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* fetch previewWithdraw
|
|
325
|
+
* @param {number} chainId - number
|
|
326
|
+
* @param {number} assets - uint256
|
|
327
|
+
* @returns {bigint} __output0 - uint256
|
|
328
|
+
*/
|
|
329
|
+
export declare function fetchTransparentUpgradeableProxyWithProsPreviewWithdraw(chainId: number, assets: number): Promise<bigint>;
|
|
330
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsPreviewWithdrawQueryOptions(chainId: number | undefined, assets: number | undefined): {
|
|
331
|
+
queryKey: (string | number | undefined)[];
|
|
332
|
+
enabled: boolean;
|
|
333
|
+
queryFn: () => Promise<bigint>;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* fetch queuedWithdrawal
|
|
337
|
+
* @param {number} chainId - number
|
|
338
|
+
* @returns {bigint} __output0 - uint256
|
|
339
|
+
*/
|
|
340
|
+
export declare function fetchTransparentUpgradeableProxyWithProsQueuedWithdrawal(chainId: number): Promise<bigint>;
|
|
341
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsQueuedWithdrawalQueryOptions(chainId: number | undefined): {
|
|
342
|
+
queryKey: (string | number | undefined)[];
|
|
343
|
+
enabled: boolean;
|
|
344
|
+
queryFn: () => Promise<bigint>;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* fetch rolesAdmin
|
|
348
|
+
* @param {number} chainId - number
|
|
349
|
+
* @param {string} __input1 - address
|
|
350
|
+
* @returns {boolean} __output0 - bool
|
|
351
|
+
*/
|
|
352
|
+
export declare function fetchTransparentUpgradeableProxyWithProsRolesAdmin(chainId: number, __input1: string): Promise<boolean>;
|
|
353
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsRolesAdminQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
354
|
+
queryKey: (string | number | undefined)[];
|
|
355
|
+
enabled: boolean;
|
|
356
|
+
queryFn: () => Promise<boolean>;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* fetch supportsInterface
|
|
360
|
+
* @param {number} chainId - number
|
|
361
|
+
* @param {string} interfaceId - bytes4
|
|
362
|
+
* @returns {boolean} __output0 - bool
|
|
363
|
+
*/
|
|
364
|
+
export declare function fetchTransparentUpgradeableProxyWithProsSupportsInterface(chainId: number, interfaceId: string): Promise<boolean>;
|
|
365
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsSupportsInterfaceQueryOptions(chainId: number | undefined, interfaceId: string | undefined): {
|
|
366
|
+
queryKey: (string | number | undefined)[];
|
|
367
|
+
enabled: boolean;
|
|
368
|
+
queryFn: () => Promise<boolean>;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* fetch symbol
|
|
372
|
+
* @param {number} chainId - number
|
|
373
|
+
* @returns {string} __output0 - string
|
|
374
|
+
*/
|
|
375
|
+
export declare function fetchTransparentUpgradeableProxyWithProsSymbol(chainId: number): Promise<string>;
|
|
376
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsSymbolQueryOptions(chainId: number | undefined): {
|
|
377
|
+
queryKey: (string | number | undefined)[];
|
|
378
|
+
enabled: boolean;
|
|
379
|
+
queryFn: () => Promise<string>;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* fetch tokenGateway
|
|
383
|
+
* @param {number} chainId - number
|
|
384
|
+
* @returns {string} __output0 - address
|
|
385
|
+
*/
|
|
386
|
+
export declare function fetchTransparentUpgradeableProxyWithProsTokenGateway(chainId: number): Promise<string>;
|
|
387
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsTokenGatewayQueryOptions(chainId: number | undefined): {
|
|
388
|
+
queryKey: (string | number | undefined)[];
|
|
389
|
+
enabled: boolean;
|
|
390
|
+
queryFn: () => Promise<string>;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* fetch totalAssets
|
|
394
|
+
* @param {number} chainId - number
|
|
395
|
+
* @returns {bigint} __output0 - uint256
|
|
396
|
+
*/
|
|
397
|
+
export declare function fetchTransparentUpgradeableProxyWithProsTotalAssets(chainId: number): Promise<bigint>;
|
|
398
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsTotalAssetsQueryOptions(chainId: number | undefined): {
|
|
399
|
+
queryKey: (string | number | undefined)[];
|
|
400
|
+
enabled: boolean;
|
|
401
|
+
queryFn: () => Promise<bigint>;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* fetch totalSupply
|
|
405
|
+
* @param {number} chainId - number
|
|
406
|
+
* @returns {bigint} __output0 - uint256
|
|
407
|
+
*/
|
|
408
|
+
export declare function fetchTransparentUpgradeableProxyWithProsTotalSupply(chainId: number): Promise<bigint>;
|
|
409
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsTotalSupplyQueryOptions(chainId: number | undefined): {
|
|
410
|
+
queryKey: (string | number | undefined)[];
|
|
411
|
+
enabled: boolean;
|
|
412
|
+
queryFn: () => Promise<bigint>;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* fetch triggerAddress
|
|
416
|
+
* @param {number} chainId - number
|
|
417
|
+
* @returns {string} __output0 - address
|
|
418
|
+
*/
|
|
419
|
+
export declare function fetchTransparentUpgradeableProxyWithProsTriggerAddress(chainId: number): Promise<string>;
|
|
420
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsTriggerAddressQueryOptions(chainId: number | undefined): {
|
|
421
|
+
queryKey: (string | number | undefined)[];
|
|
422
|
+
enabled: boolean;
|
|
423
|
+
queryFn: () => Promise<string>;
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* fetch withdrawals
|
|
427
|
+
* @param {number} chainId - number
|
|
428
|
+
* @param {string} __input1 - address
|
|
429
|
+
* @param {number} __input2 - uint256
|
|
430
|
+
* @returns {bigint} queued - uint256
|
|
431
|
+
* @returns {bigint} pending - uint256
|
|
432
|
+
*/
|
|
433
|
+
export declare function fetchTransparentUpgradeableProxyWithProsWithdrawals(chainId: number, __input1: string, __input2: number): Promise<{
|
|
434
|
+
queued: bigint;
|
|
435
|
+
pending: bigint;
|
|
436
|
+
}>;
|
|
437
|
+
export declare function getFetchTransparentUpgradeableProxyWithProsWithdrawalsQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
|
|
438
|
+
queryKey: (string | number | undefined)[];
|
|
439
|
+
enabled: boolean;
|
|
440
|
+
queryFn: () => Promise<{
|
|
441
|
+
queued: bigint;
|
|
442
|
+
pending: bigint;
|
|
443
|
+
}>;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* encode approve
|
|
447
|
+
* @param {string} spender - address
|
|
448
|
+
* @param {string | number} value - uint256
|
|
449
|
+
* @returns {string} encode data
|
|
450
|
+
*/
|
|
451
|
+
export declare function encodeTransparentUpgradeableProxyWithProsApprove(spender: string, value: string | number): any;
|
|
452
|
+
/**
|
|
453
|
+
* encode approveTokenGateway
|
|
454
|
+
* @param {string} token - address
|
|
455
|
+
* @returns {string} encode data
|
|
456
|
+
*/
|
|
457
|
+
export declare function encodeTransparentUpgradeableProxyWithProsApproveTokenGateway(token: string): any;
|
|
458
|
+
/**
|
|
459
|
+
* encode asyncMint
|
|
460
|
+
* @param {string | number} relayerFee - uint256
|
|
461
|
+
* @param {string | number} timeout - uint64
|
|
462
|
+
* @returns {string} encode data
|
|
463
|
+
*/
|
|
464
|
+
export declare function encodeTransparentUpgradeableProxyWithProsAsyncMint(relayerFee: string | number, timeout: string | number): any;
|
|
465
|
+
/**
|
|
466
|
+
* encode asyncMintWithETH
|
|
467
|
+
* @param {string} assetId - bytes32
|
|
468
|
+
* @param {boolean} isRedeem - bool
|
|
469
|
+
* @param {string | number} relayerFee - uint256
|
|
470
|
+
* @param {string | number} timeout - uint64
|
|
471
|
+
* @returns {string} encode data
|
|
472
|
+
*/
|
|
473
|
+
export declare function encodeTransparentUpgradeableProxyWithProsAsyncMintWithETH(assetId: string, isRedeem: boolean, relayerFee: string | number, timeout: string | number): any;
|
|
474
|
+
/**
|
|
475
|
+
* encode asyncMintWithNativeCost
|
|
476
|
+
* @param {string} assetId - bytes32
|
|
477
|
+
* @param {boolean} isRedeem - bool
|
|
478
|
+
* @param {string | number} relayerFee - uint256
|
|
479
|
+
* @param {string | number} timeout - uint64
|
|
480
|
+
* @param {string | number} nativeCost - uint256
|
|
481
|
+
* @returns {string} encode data
|
|
482
|
+
*/
|
|
483
|
+
export declare function encodeTransparentUpgradeableProxyWithProsAsyncMintWithNativeCost(assetId: string, isRedeem: boolean, relayerFee: string | number, timeout: string | number, nativeCost: string | number): any;
|
|
484
|
+
/**
|
|
485
|
+
* encode asyncRedeem
|
|
486
|
+
* @param {string | number} relayerFee - uint256
|
|
487
|
+
* @param {string | number} timeout - uint64
|
|
488
|
+
* @param {string} to - bytes32
|
|
489
|
+
* @param {string} data - bytes
|
|
490
|
+
* @returns {string} encode data
|
|
491
|
+
*/
|
|
492
|
+
export declare function encodeTransparentUpgradeableProxyWithProsAsyncRedeem(relayerFee: string | number, timeout: string | number, to: string, data: string): any;
|
|
493
|
+
/**
|
|
494
|
+
* encode asyncRedeemWithNativeCost
|
|
495
|
+
* @param {string} assetId - bytes32
|
|
496
|
+
* @param {boolean} isRedeem - bool
|
|
497
|
+
* @param {string | number} relayerFee - uint256
|
|
498
|
+
* @param {string | number} timeout - uint64
|
|
499
|
+
* @param {string} to - bytes32
|
|
500
|
+
* @param {string} data - bytes
|
|
501
|
+
* @param {string | number} nativeCost - uint256
|
|
502
|
+
* @returns {string} encode data
|
|
503
|
+
*/
|
|
504
|
+
export declare function encodeTransparentUpgradeableProxyWithProsAsyncRedeemWithNativeCost(assetId: string, isRedeem: boolean, relayerFee: string | number, timeout: string | number, to: string, data: string, nativeCost: string | number): any;
|
|
505
|
+
/**
|
|
506
|
+
* encode burn
|
|
507
|
+
* @param {string} _from - address
|
|
508
|
+
* @param {string | number} _amount - uint256
|
|
509
|
+
* @returns {string} encode data
|
|
510
|
+
*/
|
|
511
|
+
export declare function encodeTransparentUpgradeableProxyWithProsBurn(_from: string, _amount: string | number): any;
|
|
512
|
+
/**
|
|
513
|
+
* encode changeRoleAdmin
|
|
514
|
+
* @param {string} _account - address
|
|
515
|
+
* @param {boolean} _isAdmin - bool
|
|
516
|
+
* @returns {string} encode data
|
|
517
|
+
*/
|
|
518
|
+
export declare function encodeTransparentUpgradeableProxyWithProsChangeRoleAdmin(_account: string, _isAdmin: boolean): any;
|
|
519
|
+
/**
|
|
520
|
+
* encode deposit
|
|
521
|
+
* @param {string | number} assets - uint256
|
|
522
|
+
* @param {string} receiver - address
|
|
523
|
+
* @returns {string} encode data
|
|
524
|
+
*/
|
|
525
|
+
export declare function encodeTransparentUpgradeableProxyWithProsDeposit(assets: string | number, receiver: string): any;
|
|
526
|
+
/**
|
|
527
|
+
* encode depositWithPROS
|
|
528
|
+
|
|
529
|
+
* @returns {string} encode data
|
|
530
|
+
*/
|
|
531
|
+
export declare function encodeTransparentUpgradeableProxyWithProsDepositWithPROS(): any;
|
|
532
|
+
/**
|
|
533
|
+
* encode increaseCurrentCycleAmount
|
|
534
|
+
* @param {string | number} _currentCycleTokenAmount - uint256
|
|
535
|
+
* @param {string | number} _currentCycleVTokenAmount - uint256
|
|
536
|
+
* @param {string | number} _currentCycleRedeemVTokenAmount - uint256
|
|
537
|
+
* @returns {string} encode data
|
|
538
|
+
*/
|
|
539
|
+
export declare function encodeTransparentUpgradeableProxyWithProsIncreaseCurrentCycleAmount(_currentCycleTokenAmount: string | number, _currentCycleVTokenAmount: string | number, _currentCycleRedeemVTokenAmount: string | number): any;
|
|
540
|
+
/**
|
|
541
|
+
* encode initialize
|
|
542
|
+
* @param {string} asset - address
|
|
543
|
+
* @param {string} owner - address
|
|
544
|
+
* @param {string} name - string
|
|
545
|
+
* @param {string} symbol - string
|
|
546
|
+
* @returns {string} encode data
|
|
547
|
+
*/
|
|
548
|
+
export declare function encodeTransparentUpgradeableProxyWithProsInitialize(asset: string, owner: string, name: string, symbol: string): any;
|
|
549
|
+
/**
|
|
550
|
+
* encode mint
|
|
551
|
+
* @param {string} _to - address
|
|
552
|
+
* @param {string | number} _amount - uint256
|
|
553
|
+
* @returns {string} encode data
|
|
554
|
+
*/
|
|
555
|
+
export declare function encodeTransparentUpgradeableProxyWithProsMint(_to: string, _amount: string | number): any;
|
|
556
|
+
/**
|
|
557
|
+
* encode mint
|
|
558
|
+
* @param {string | number} shares - uint256
|
|
559
|
+
* @param {string} receiver - address
|
|
560
|
+
* @returns {string} encode data
|
|
561
|
+
*/
|
|
562
|
+
export declare function encodeTransparentUpgradeableProxyWithProsMint2(shares: string | number, receiver: string): any;
|
|
563
|
+
/**
|
|
564
|
+
* encode pause
|
|
565
|
+
|
|
566
|
+
* @returns {string} encode data
|
|
567
|
+
*/
|
|
568
|
+
export declare function encodeTransparentUpgradeableProxyWithProsPause(): any;
|
|
569
|
+
/**
|
|
570
|
+
* encode redeem
|
|
571
|
+
* @param {string | number} shares - uint256
|
|
572
|
+
* @param {string} receiver - address
|
|
573
|
+
* @param {string} owner - address
|
|
574
|
+
* @returns {string} encode data
|
|
575
|
+
*/
|
|
576
|
+
export declare function encodeTransparentUpgradeableProxyWithProsRedeem(shares: string | number, receiver: string, owner: string): any;
|
|
577
|
+
/**
|
|
578
|
+
* encode renounceOwnership
|
|
579
|
+
|
|
580
|
+
* @returns {string} encode data
|
|
581
|
+
*/
|
|
582
|
+
export declare function encodeTransparentUpgradeableProxyWithProsRenounceOwnership(): any;
|
|
583
|
+
/**
|
|
584
|
+
* encode setBifrostDest
|
|
585
|
+
* @param {string} _bifrostDest - bytes
|
|
586
|
+
* @returns {string} encode data
|
|
587
|
+
*/
|
|
588
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetBifrostDest(_bifrostDest: string): any;
|
|
589
|
+
/**
|
|
590
|
+
* encode setBridgeVault
|
|
591
|
+
* @param {string} _bridgeVault - address
|
|
592
|
+
* @returns {string} encode data
|
|
593
|
+
*/
|
|
594
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetBridgeVault(_bridgeVault: string): any;
|
|
595
|
+
/**
|
|
596
|
+
* encode setMaxWithdrawCount
|
|
597
|
+
* @param {string | number} _maxWithdrawCount - uint256
|
|
598
|
+
* @returns {string} encode data
|
|
599
|
+
*/
|
|
600
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetMaxWithdrawCount(_maxWithdrawCount: string | number): any;
|
|
601
|
+
/**
|
|
602
|
+
* encode setOracle
|
|
603
|
+
* @param {string} _oracle - address
|
|
604
|
+
* @returns {string} encode data
|
|
605
|
+
*/
|
|
606
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetOracle(_oracle: string): any;
|
|
607
|
+
/**
|
|
608
|
+
* encode setTokenGateway
|
|
609
|
+
* @param {string} _tokenGateway - address
|
|
610
|
+
* @returns {string} encode data
|
|
611
|
+
*/
|
|
612
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetTokenGateway(_tokenGateway: string): any;
|
|
613
|
+
/**
|
|
614
|
+
* encode setTriggerAddress
|
|
615
|
+
* @param {string} _triggerAddress - address
|
|
616
|
+
* @returns {string} encode data
|
|
617
|
+
*/
|
|
618
|
+
export declare function encodeTransparentUpgradeableProxyWithProsSetTriggerAddress(_triggerAddress: string): any;
|
|
619
|
+
/**
|
|
620
|
+
* encode transfer
|
|
621
|
+
* @param {string} to - address
|
|
622
|
+
* @param {string | number} value - uint256
|
|
623
|
+
* @returns {string} encode data
|
|
624
|
+
*/
|
|
625
|
+
export declare function encodeTransparentUpgradeableProxyWithProsTransfer(to: string, value: string | number): any;
|
|
626
|
+
/**
|
|
627
|
+
* encode transferFrom
|
|
628
|
+
* @param {string} from - address
|
|
629
|
+
* @param {string} to - address
|
|
630
|
+
* @param {string | number} value - uint256
|
|
631
|
+
* @returns {string} encode data
|
|
632
|
+
*/
|
|
633
|
+
export declare function encodeTransparentUpgradeableProxyWithProsTransferFrom(from: string, to: string, value: string | number): any;
|
|
634
|
+
/**
|
|
635
|
+
* encode transferOwnership
|
|
636
|
+
* @param {string} newOwner - address
|
|
637
|
+
* @returns {string} encode data
|
|
638
|
+
*/
|
|
639
|
+
export declare function encodeTransparentUpgradeableProxyWithProsTransferOwnership(newOwner: string): any;
|
|
640
|
+
/**
|
|
641
|
+
* encode unpause
|
|
642
|
+
|
|
643
|
+
* @returns {string} encode data
|
|
644
|
+
*/
|
|
645
|
+
export declare function encodeTransparentUpgradeableProxyWithProsUnpause(): any;
|
|
646
|
+
/**
|
|
647
|
+
* encode withdraw
|
|
648
|
+
* @param {string | number} assets - uint256
|
|
649
|
+
* @param {string} receiver - address
|
|
650
|
+
* @param {string} owner - address
|
|
651
|
+
* @returns {string} encode data
|
|
652
|
+
*/
|
|
653
|
+
export declare function encodeTransparentUpgradeableProxyWithProsWithdraw(assets: string | number, receiver: string, owner: string): any;
|
|
654
|
+
/**
|
|
655
|
+
* encode withdrawComplete
|
|
656
|
+
|
|
657
|
+
* @returns {string} encode data
|
|
658
|
+
*/
|
|
659
|
+
export declare function encodeTransparentUpgradeableProxyWithProsWithdrawComplete(): any;
|
|
660
|
+
/**
|
|
661
|
+
* encode withdrawCompleteTo
|
|
662
|
+
* @param {string} receiver - address
|
|
663
|
+
* @returns {string} encode data
|
|
664
|
+
*/
|
|
665
|
+
export declare function encodeTransparentUpgradeableProxyWithProsWithdrawCompleteTo(receiver: string): any;
|
|
666
|
+
/**
|
|
667
|
+
* encode withdrawCompleteToPROS
|
|
668
|
+
|
|
669
|
+
* @returns {string} encode data
|
|
670
|
+
*/
|
|
671
|
+
export declare function encodeTransparentUpgradeableProxyWithProsWithdrawCompleteToPROS(): any;
|
|
672
|
+
/**
|
|
673
|
+
* encode withdrawFeeToken
|
|
674
|
+
* @param {string} token - address
|
|
675
|
+
* @param {string | number} amount - uint256
|
|
676
|
+
* @param {string} to - address
|
|
677
|
+
* @returns {string} encode data
|
|
678
|
+
*/
|
|
679
|
+
export declare function encodeTransparentUpgradeableProxyWithProsWithdrawFeeToken(token: string, amount: string | number, to: string): any;
|