upshift-config 0.5.14
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/LICENSE +21 -0
- package/README.md +349 -0
- package/lib/abis/AddressResolver.d.ts +28 -0
- package/lib/abis/AddressResolver.js +23 -0
- package/lib/abis/ChainlinkV3.d.ts +87 -0
- package/lib/abis/ChainlinkV3.js +117 -0
- package/lib/abis/ERC20.d.ts +168 -0
- package/lib/abis/ERC20.js +226 -0
- package/lib/abis/ERC20_Bytes32.d.ts +139 -0
- package/lib/abis/ERC20_Bytes32.js +196 -0
- package/lib/abis/ERC4626.d.ts +364 -0
- package/lib/abis/ERC4626.js +507 -0
- package/lib/abis/ERC721.d.ts +231 -0
- package/lib/abis/ERC721.js +321 -0
- package/lib/abis/FeeOracle.d.ts +120 -0
- package/lib/abis/FeeOracle.js +162 -0
- package/lib/abis/LendingPool.d.ts +1393 -0
- package/lib/abis/LendingPool.js +1807 -0
- package/lib/abis/LendingPoolV2.d.ts +1413 -0
- package/lib/abis/LendingPoolV2.js +1833 -0
- package/lib/abis/LendingPoolV3.d.ts +1677 -0
- package/lib/abis/LendingPoolV3.js +1160 -0
- package/lib/abis/Loan.d.ts +837 -0
- package/lib/abis/Loan.js +1080 -0
- package/lib/abis/MultiAssetNativeDepositWrapper.d.ts +137 -0
- package/lib/abis/MultiAssetNativeDepositWrapper.js +125 -0
- package/lib/abis/Multicall3.d.ts +30 -0
- package/lib/abis/Multicall3.js +97 -0
- package/lib/abis/OFT.d.ts +116 -0
- package/lib/abis/OFT.js +85 -0
- package/lib/abis/PoolAdapter.d.ts +36 -0
- package/lib/abis/PoolAdapter.js +51 -0
- package/lib/abis/RewardDistributor.d.ts +267 -0
- package/lib/abis/RewardDistributor.js +352 -0
- package/lib/abis/RwaRedeemSubaccount.d.ts +747 -0
- package/lib/abis/RwaRedeemSubaccount.js +548 -0
- package/lib/abis/SmartAccount.d.ts +17 -0
- package/lib/abis/SmartAccount.js +19 -0
- package/lib/abis/SwapRouter.d.ts +1043 -0
- package/lib/abis/SwapRouter.js +740 -0
- package/lib/abis/TextResolver.d.ts +16 -0
- package/lib/abis/TextResolver.js +16 -0
- package/lib/abis/TokenizedVaultV2.d.ts +1364 -0
- package/lib/abis/TokenizedVaultV2.js +1041 -0
- package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +1456 -0
- package/lib/abis/TokenizedVaultV2DepositWithPermit.js +1878 -0
- package/lib/abis/TokenizedVaultV2Receipt.d.ts +1568 -0
- package/lib/abis/TokenizedVaultV2Receipt.js +1061 -0
- package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.d.ts +454 -0
- package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js +327 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAllocation.d.ts +1466 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js +1092 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +274 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.js +167 -0
- package/lib/abis/UniversalResolverResolve.d.ts +69 -0
- package/lib/abis/UniversalResolverResolve.js +35 -0
- package/lib/abis/UniversalSignatureValidator.d.ts +17 -0
- package/lib/abis/UniversalSignatureValidator.js +30 -0
- package/lib/abis/WrapperAdapter.d.ts +71 -0
- package/lib/abis/WrapperAdapter.js +77 -0
- package/lib/abis/index.d.ts +34 -0
- package/lib/abis/index.js +51 -0
- package/lib/adapters/evm/getters.d.ts +19 -0
- package/lib/adapters/evm/getters.js +209 -0
- package/lib/adapters/evm/index.d.ts +353 -0
- package/lib/adapters/evm/index.js +434 -0
- package/lib/adapters/evm/utils.d.ts +8 -0
- package/lib/adapters/evm/utils.js +51 -0
- package/lib/adapters/solana/constants.d.ts +33 -0
- package/lib/adapters/solana/constants.js +52 -0
- package/lib/adapters/solana/getters.d.ts +11 -0
- package/lib/adapters/solana/getters.js +165 -0
- package/lib/adapters/solana/idl/vault-idl.d.ts +272 -0
- package/lib/adapters/solana/idl/vault-idl.js +1084 -0
- package/lib/adapters/solana/index.d.ts +233 -0
- package/lib/adapters/solana/index.js +291 -0
- package/lib/adapters/solana/types.d.ts +67 -0
- package/lib/adapters/solana/types.js +3 -0
- package/lib/adapters/solana/utils.d.ts +141 -0
- package/lib/adapters/solana/utils.js +595 -0
- package/lib/adapters/solana/vault.actions.d.ts +57 -0
- package/lib/adapters/solana/vault.actions.js +379 -0
- package/lib/adapters/stellar/actions.d.ts +28 -0
- package/lib/adapters/stellar/actions.js +77 -0
- package/lib/adapters/stellar/constants.d.ts +43 -0
- package/lib/adapters/stellar/constants.js +53 -0
- package/lib/adapters/stellar/getters.d.ts +68 -0
- package/lib/adapters/stellar/getters.js +290 -0
- package/lib/adapters/stellar/index.d.ts +114 -0
- package/lib/adapters/stellar/index.js +175 -0
- package/lib/adapters/stellar/soroban.d.ts +123 -0
- package/lib/adapters/stellar/soroban.js +613 -0
- package/lib/adapters/stellar/submit.d.ts +34 -0
- package/lib/adapters/stellar/submit.js +149 -0
- package/lib/adapters/stellar/types.d.ts +58 -0
- package/lib/adapters/stellar/types.js +6 -0
- package/lib/adapters/stellar/utils.d.ts +24 -0
- package/lib/adapters/stellar/utils.js +34 -0
- package/lib/adapters/sui/constants.d.ts +14 -0
- package/lib/adapters/sui/constants.js +29 -0
- package/lib/adapters/sui/getters.d.ts +9 -0
- package/lib/adapters/sui/getters.js +60 -0
- package/lib/adapters/sui/index.d.ts +45 -0
- package/lib/adapters/sui/index.js +101 -0
- package/lib/adapters/sui/transformer.d.ts +10 -0
- package/lib/adapters/sui/transformer.js +107 -0
- package/lib/adapters/sui/types.d.ts +66 -0
- package/lib/adapters/sui/types.js +3 -0
- package/lib/adapters/sui/utils.d.ts +10 -0
- package/lib/adapters/sui/utils.js +29 -0
- package/lib/core/analytics/chain-name.d.ts +9 -0
- package/lib/core/analytics/chain-name.js +34 -0
- package/lib/core/analytics/constants.d.ts +5 -0
- package/lib/core/analytics/constants.js +9 -0
- package/lib/core/analytics/env.d.ts +29 -0
- package/lib/core/analytics/env.js +59 -0
- package/lib/core/analytics/index.d.ts +36 -0
- package/lib/core/analytics/index.js +79 -0
- package/lib/core/analytics/instrumentation.d.ts +29 -0
- package/lib/core/analytics/instrumentation.js +277 -0
- package/lib/core/analytics/method-taxonomy.d.ts +19 -0
- package/lib/core/analytics/method-taxonomy.js +128 -0
- package/lib/core/analytics/metrics.d.ts +33 -0
- package/lib/core/analytics/metrics.js +116 -0
- package/lib/core/analytics/sanitize.d.ts +44 -0
- package/lib/core/analytics/sanitize.js +260 -0
- package/lib/core/analytics/sentry-runtime.d.ts +15 -0
- package/lib/core/analytics/sentry-runtime.js +97 -0
- package/lib/core/analytics/sentry.d.ts +67 -0
- package/lib/core/analytics/sentry.js +613 -0
- package/lib/core/analytics/types.d.ts +48 -0
- package/lib/core/analytics/types.js +3 -0
- package/lib/core/analytics/user-identity.d.ts +41 -0
- package/lib/core/analytics/user-identity.js +141 -0
- package/lib/core/analytics/version.d.ts +6 -0
- package/lib/core/analytics/version.js +10 -0
- package/lib/core/attribution.d.ts +111 -0
- package/lib/core/attribution.js +142 -0
- package/lib/core/auth/index.d.ts +1 -0
- package/lib/core/auth/index.js +18 -0
- package/lib/core/auth/verify.d.ts +2 -0
- package/lib/core/auth/verify.js +31 -0
- package/lib/core/base.class.d.ts +152 -0
- package/lib/core/base.class.js +172 -0
- package/lib/core/cache.d.ts +9 -0
- package/lib/core/cache.js +31 -0
- package/lib/core/constants/adapters.d.ts +103 -0
- package/lib/core/constants/adapters.js +180 -0
- package/lib/core/constants/core.d.ts +133 -0
- package/lib/core/constants/core.js +209 -0
- package/lib/core/constants/swap-router.d.ts +150 -0
- package/lib/core/constants/swap-router.js +169 -0
- package/lib/core/constants/vaults.d.ts +93 -0
- package/lib/core/constants/vaults.js +273 -0
- package/lib/core/constants/web3.d.ts +91 -0
- package/lib/core/constants/web3.js +229 -0
- package/lib/core/errors/index.d.ts +114 -0
- package/lib/core/errors/index.js +183 -0
- package/lib/core/fetcher.d.ts +198 -0
- package/lib/core/fetcher.js +903 -0
- package/lib/core/helpers/adapters.d.ts +13 -0
- package/lib/core/helpers/adapters.js +39 -0
- package/lib/core/helpers/chain-address.d.ts +13 -0
- package/lib/core/helpers/chain-address.js +47 -0
- package/lib/core/helpers/chain-error.d.ts +207 -0
- package/lib/core/helpers/chain-error.js +682 -0
- package/lib/core/helpers/chain-support.d.ts +80 -0
- package/lib/core/helpers/chain-support.js +115 -0
- package/lib/core/helpers/core.d.ts +68 -0
- package/lib/core/helpers/core.js +285 -0
- package/lib/core/helpers/explorer-link.d.ts +16 -0
- package/lib/core/helpers/explorer-link.js +26 -0
- package/lib/core/helpers/multicall.d.ts +68 -0
- package/lib/core/helpers/multicall.js +103 -0
- package/lib/core/helpers/revert-decode.d.ts +248 -0
- package/lib/core/helpers/revert-decode.js +515 -0
- package/lib/core/helpers/signer.d.ts +52 -0
- package/lib/core/helpers/signer.js +145 -0
- package/lib/core/helpers/swap-router.d.ts +211 -0
- package/lib/core/helpers/swap-router.js +480 -0
- package/lib/core/helpers/vault-version.d.ts +23 -0
- package/lib/core/helpers/vault-version.js +75 -0
- package/lib/core/helpers/vaults.d.ts +89 -0
- package/lib/core/helpers/vaults.js +235 -0
- package/lib/core/helpers/web3.d.ts +353 -0
- package/lib/core/helpers/web3.js +992 -0
- package/lib/core/index.d.ts +23 -0
- package/lib/core/index.js +40 -0
- package/lib/core/logger/index.d.ts +98 -0
- package/lib/core/logger/index.js +144 -0
- package/lib/core/logger/slack.d.ts +16 -0
- package/lib/core/logger/slack.js +57 -0
- package/lib/core/vault-metadata.d.ts +12 -0
- package/lib/core/vault-metadata.js +42 -0
- package/lib/core/version-check.d.ts +58 -0
- package/lib/core/version-check.js +182 -0
- package/lib/evm/index.d.ts +2 -0
- package/lib/evm/index.js +19 -0
- package/lib/evm/methods/crossChainVault.d.ts +128 -0
- package/lib/evm/methods/crossChainVault.js +853 -0
- package/lib/evm/methods/crossChainVaultRegistry.d.ts +93 -0
- package/lib/evm/methods/crossChainVaultRegistry.js +240 -0
- package/lib/evm/methods/index.d.ts +2 -0
- package/lib/evm/methods/index.js +19 -0
- package/lib/evm/types/crossChain.d.ts +363 -0
- package/lib/evm/types/crossChain.js +20 -0
- package/lib/evm/types/index.d.ts +1 -0
- package/lib/evm/types/index.js +18 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.js +52 -0
- package/lib/main.d.ts +527 -0
- package/lib/main.js +601 -0
- package/lib/modules/api/fetcher.d.ts +82 -0
- package/lib/modules/api/fetcher.js +150 -0
- package/lib/modules/api/index.d.ts +1 -0
- package/lib/modules/api/index.js +6 -0
- package/lib/modules/api/main.d.ts +313 -0
- package/lib/modules/api/main.js +479 -0
- package/lib/modules/sub-accounts/fetcher.d.ts +53 -0
- package/lib/modules/sub-accounts/fetcher.js +120 -0
- package/lib/modules/sub-accounts/index.d.ts +2 -0
- package/lib/modules/sub-accounts/index.js +19 -0
- package/lib/modules/sub-accounts/main.d.ts +243 -0
- package/lib/modules/sub-accounts/main.js +205 -0
- package/lib/modules/sub-accounts/utils.d.ts +106 -0
- package/lib/modules/sub-accounts/utils.js +112 -0
- package/lib/modules/vaults/adapter.helpers.d.ts +64 -0
- package/lib/modules/vaults/adapter.helpers.js +184 -0
- package/lib/modules/vaults/fetcher.d.ts +147 -0
- package/lib/modules/vaults/fetcher.js +368 -0
- package/lib/modules/vaults/getters.d.ts +570 -0
- package/lib/modules/vaults/getters.js +3051 -0
- package/lib/modules/vaults/index.d.ts +20 -0
- package/lib/modules/vaults/index.js +44 -0
- package/lib/modules/vaults/main.d.ts +601 -0
- package/lib/modules/vaults/main.js +1623 -0
- package/lib/modules/vaults/prefetch.d.ts +65 -0
- package/lib/modules/vaults/prefetch.js +120 -0
- package/lib/modules/vaults/read.actions.d.ts +225 -0
- package/lib/modules/vaults/read.actions.js +596 -0
- package/lib/modules/vaults/types.d.ts +71 -0
- package/lib/modules/vaults/types.js +3 -0
- package/lib/modules/vaults/utils/call-data-decoder.d.ts +61 -0
- package/lib/modules/vaults/utils/call-data-decoder.js +194 -0
- package/lib/modules/vaults/utils/date-utils.d.ts +50 -0
- package/lib/modules/vaults/utils/date-utils.js +84 -0
- package/lib/modules/vaults/utils.d.ts +140 -0
- package/lib/modules/vaults/utils.js +799 -0
- package/lib/modules/vaults/write.actions.d.ts +529 -0
- package/lib/modules/vaults/write.actions.js +1749 -0
- package/lib/polyfills.d.ts +1 -0
- package/lib/polyfills.js +12 -0
- package/lib/sdk.d.ts +26721 -0
- package/lib/services/coingecko/fetcher.d.ts +15 -0
- package/lib/services/coingecko/fetcher.js +67 -0
- package/lib/services/coingecko/index.d.ts +2 -0
- package/lib/services/coingecko/index.js +19 -0
- package/lib/services/coingecko/utils.d.ts +1 -0
- package/lib/services/coingecko/utils.js +24 -0
- package/lib/services/debank/fetcher.d.ts +126 -0
- package/lib/services/debank/fetcher.js +47 -0
- package/lib/services/debank/index.d.ts +2 -0
- package/lib/services/debank/index.js +19 -0
- package/lib/services/debank/utils.d.ts +38 -0
- package/lib/services/debank/utils.js +297 -0
- package/lib/services/layerzero/deposits.d.ts +49 -0
- package/lib/services/layerzero/deposits.js +166 -0
- package/lib/services/layerzero/redeems.d.ts +20 -0
- package/lib/services/layerzero/redeems.js +92 -0
- package/lib/services/layerzero/utils.d.ts +9 -0
- package/lib/services/layerzero/utils.js +22 -0
- package/lib/services/octavfi/fetcher.d.ts +9 -0
- package/lib/services/octavfi/fetcher.js +103 -0
- package/lib/services/octavfi/index.d.ts +3 -0
- package/lib/services/octavfi/index.js +20 -0
- package/lib/services/octavfi/types.d.ts +34 -0
- package/lib/services/octavfi/types.js +3 -0
- package/lib/services/octavfi/utils.d.ts +16 -0
- package/lib/services/octavfi/utils.js +212 -0
- package/lib/services/subgraph/fetcher.d.ts +2 -0
- package/lib/services/subgraph/fetcher.js +61 -0
- package/lib/services/subgraph/index.d.ts +2 -0
- package/lib/services/subgraph/index.js +19 -0
- package/lib/services/subgraph/schema.d.ts +45 -0
- package/lib/services/subgraph/schema.js +75 -0
- package/lib/services/subgraph/vaults.d.ts +25 -0
- package/lib/services/subgraph/vaults.js +1106 -0
- package/lib/services/swap-quotes/index.d.ts +105 -0
- package/lib/services/swap-quotes/index.js +77 -0
- package/lib/services/swap-quotes/paraswap.d.ts +51 -0
- package/lib/services/swap-quotes/paraswap.js +138 -0
- package/lib/types/api.d.ts +280 -0
- package/lib/types/api.js +3 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.js +28 -0
- package/lib/types/points.d.ts +28 -0
- package/lib/types/points.js +3 -0
- package/lib/types/pools.d.ts +144 -0
- package/lib/types/pools.js +3 -0
- package/lib/types/staking.d.ts +28 -0
- package/lib/types/staking.js +3 -0
- package/lib/types/sub-accounts.d.ts +140 -0
- package/lib/types/sub-accounts.js +3 -0
- package/lib/types/subgraph.d.ts +74 -0
- package/lib/types/subgraph.js +3 -0
- package/lib/types/typed-contract.d.ts +102 -0
- package/lib/types/typed-contract.js +3 -0
- package/lib/types/user.d.ts +1 -0
- package/lib/types/user.js +3 -0
- package/lib/types/vaults.d.ts +714 -0
- package/lib/types/vaults.js +24 -0
- package/lib/types/web3.d.ts +51 -0
- package/lib/types/web3.js +14 -0
- package/lib/types/webserver.d.ts +698 -0
- package/lib/types/webserver.js +3 -0
- package/package.json +78 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export declare const ABI_TOKENIZED_VAULT_V2_WHITELISTED_ASSETS: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "ownerAddr";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "referenceAssetAddr";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}];
|
|
11
|
+
readonly stateMutability: "nonpayable";
|
|
12
|
+
readonly type: "constructor";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly name: "AssetAlreadyEnabled";
|
|
16
|
+
readonly type: "error";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [];
|
|
19
|
+
readonly name: "InvalidAddress";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "InvalidDecimalPlaces";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "InvalidOraclePrice";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "InvalidOracleTimestamp";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "InvalidTimePeriod";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "OwnerAddressRequired";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "OwnerOnly";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "ReferenceAssetNotPermitted";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "RoundNotComplete";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "StalePrice";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "WhitelistLimitReached";
|
|
64
|
+
readonly type: "error";
|
|
65
|
+
}, {
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "ZeroAddressError";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly anonymous: false;
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
readonly name: "previousOwner";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}, {
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "newOwner";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}];
|
|
82
|
+
readonly name: "OwnershipTransferred";
|
|
83
|
+
readonly type: "event";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "REFERENCE_ASSET";
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly internalType: "address";
|
|
89
|
+
readonly name: "";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "REFERENCE_ASSET_DECIMALS";
|
|
97
|
+
readonly outputs: readonly [{
|
|
98
|
+
readonly internalType: "uint8";
|
|
99
|
+
readonly name: "";
|
|
100
|
+
readonly type: "uint8";
|
|
101
|
+
}];
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
readonly name: "lpTokenAddress";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "assetInAddr";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly internalType: "address";
|
|
115
|
+
readonly name: "vaultAddr";
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
}, {
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
readonly name: "assetInAmount";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}, {
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "externalAssets";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "convertToShares";
|
|
127
|
+
readonly outputs: readonly [{
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
readonly name: "shares";
|
|
130
|
+
readonly type: "uint256";
|
|
131
|
+
}, {
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
readonly name: "amountInReferenceTokens";
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
readonly stateMutability: "view";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "assetAddr";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
readonly name: "oracleAddr";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "newOracleDuration";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "enableAsset";
|
|
153
|
+
readonly outputs: readonly [];
|
|
154
|
+
readonly stateMutability: "nonpayable";
|
|
155
|
+
readonly type: "function";
|
|
156
|
+
}, {
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
readonly name: "assetAddr";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
readonly name: "amount";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "fromInputAssetToReferenceAsset";
|
|
167
|
+
readonly outputs: readonly [{
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}];
|
|
172
|
+
readonly stateMutability: "view";
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
}, {
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
readonly name: "assetAddr";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "getOracleAddress";
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}];
|
|
186
|
+
readonly stateMutability: "view";
|
|
187
|
+
readonly type: "function";
|
|
188
|
+
}, {
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly internalType: "uint256";
|
|
191
|
+
readonly name: "externalAssets";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "getTotalAssetsValuation";
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
}, {
|
|
203
|
+
readonly inputs: readonly [];
|
|
204
|
+
readonly name: "getWhitelistedAssets";
|
|
205
|
+
readonly outputs: readonly [{
|
|
206
|
+
readonly internalType: "address[]";
|
|
207
|
+
readonly name: "";
|
|
208
|
+
readonly type: "address[]";
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
}, {
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly internalType: "address";
|
|
215
|
+
readonly name: "assetAddr";
|
|
216
|
+
readonly type: "address";
|
|
217
|
+
}];
|
|
218
|
+
readonly name: "isWhitelisted";
|
|
219
|
+
readonly outputs: readonly [{
|
|
220
|
+
readonly internalType: "bool";
|
|
221
|
+
readonly name: "";
|
|
222
|
+
readonly type: "bool";
|
|
223
|
+
}];
|
|
224
|
+
readonly stateMutability: "view";
|
|
225
|
+
readonly type: "function";
|
|
226
|
+
}, {
|
|
227
|
+
readonly inputs: readonly [{
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "maxOracleUpdatesDuration";
|
|
233
|
+
readonly outputs: readonly [{
|
|
234
|
+
readonly internalType: "uint256";
|
|
235
|
+
readonly name: "";
|
|
236
|
+
readonly type: "uint256";
|
|
237
|
+
}];
|
|
238
|
+
readonly stateMutability: "view";
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
}, {
|
|
241
|
+
readonly inputs: readonly [];
|
|
242
|
+
readonly name: "owner";
|
|
243
|
+
readonly outputs: readonly [{
|
|
244
|
+
readonly internalType: "address";
|
|
245
|
+
readonly name: "";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}];
|
|
248
|
+
readonly stateMutability: "view";
|
|
249
|
+
readonly type: "function";
|
|
250
|
+
}, {
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly internalType: "address";
|
|
253
|
+
readonly name: "newOwner";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
}];
|
|
256
|
+
readonly name: "transferOwnership";
|
|
257
|
+
readonly outputs: readonly [];
|
|
258
|
+
readonly stateMutability: "nonpayable";
|
|
259
|
+
readonly type: "function";
|
|
260
|
+
}, {
|
|
261
|
+
readonly inputs: readonly [{
|
|
262
|
+
readonly internalType: "uint256";
|
|
263
|
+
readonly name: "newMaxOracleUpdatesDuration";
|
|
264
|
+
readonly type: "uint256";
|
|
265
|
+
}, {
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "assetAddr";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "updateOracleLagDuration";
|
|
271
|
+
readonly outputs: readonly [];
|
|
272
|
+
readonly stateMutability: "nonpayable";
|
|
273
|
+
readonly type: "function";
|
|
274
|
+
}];
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_TOKENIZED_VAULT_V2_WHITELISTED_ASSETS = void 0;
|
|
4
|
+
exports.ABI_TOKENIZED_VAULT_V2_WHITELISTED_ASSETS = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [
|
|
7
|
+
{ internalType: 'address', name: 'ownerAddr', type: 'address' },
|
|
8
|
+
{ internalType: 'address', name: 'referenceAssetAddr', type: 'address' },
|
|
9
|
+
],
|
|
10
|
+
stateMutability: 'nonpayable',
|
|
11
|
+
type: 'constructor',
|
|
12
|
+
},
|
|
13
|
+
{ inputs: [], name: 'AssetAlreadyEnabled', type: 'error' },
|
|
14
|
+
{ inputs: [], name: 'InvalidAddress', type: 'error' },
|
|
15
|
+
{ inputs: [], name: 'InvalidDecimalPlaces', type: 'error' },
|
|
16
|
+
{ inputs: [], name: 'InvalidOraclePrice', type: 'error' },
|
|
17
|
+
{ inputs: [], name: 'InvalidOracleTimestamp', type: 'error' },
|
|
18
|
+
{ inputs: [], name: 'InvalidTimePeriod', type: 'error' },
|
|
19
|
+
{ inputs: [], name: 'OwnerAddressRequired', type: 'error' },
|
|
20
|
+
{ inputs: [], name: 'OwnerOnly', type: 'error' },
|
|
21
|
+
{ inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
|
|
22
|
+
{ inputs: [], name: 'ReferenceAssetNotPermitted', type: 'error' },
|
|
23
|
+
{ inputs: [], name: 'RoundNotComplete', type: 'error' },
|
|
24
|
+
{ inputs: [], name: 'StalePrice', type: 'error' },
|
|
25
|
+
{ inputs: [], name: 'WhitelistLimitReached', type: 'error' },
|
|
26
|
+
{ inputs: [], name: 'ZeroAddressError', type: 'error' },
|
|
27
|
+
{
|
|
28
|
+
anonymous: false,
|
|
29
|
+
inputs: [
|
|
30
|
+
{
|
|
31
|
+
indexed: true,
|
|
32
|
+
internalType: 'address',
|
|
33
|
+
name: 'previousOwner',
|
|
34
|
+
type: 'address',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
indexed: true,
|
|
38
|
+
internalType: 'address',
|
|
39
|
+
name: 'newOwner',
|
|
40
|
+
type: 'address',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
name: 'OwnershipTransferred',
|
|
44
|
+
type: 'event',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [],
|
|
48
|
+
name: 'REFERENCE_ASSET',
|
|
49
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
50
|
+
stateMutability: 'view',
|
|
51
|
+
type: 'function',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
inputs: [],
|
|
55
|
+
name: 'REFERENCE_ASSET_DECIMALS',
|
|
56
|
+
outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
|
|
57
|
+
stateMutability: 'view',
|
|
58
|
+
type: 'function',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{ internalType: 'address', name: 'lpTokenAddress', type: 'address' },
|
|
63
|
+
{ internalType: 'address', name: 'assetInAddr', type: 'address' },
|
|
64
|
+
{ internalType: 'address', name: 'vaultAddr', type: 'address' },
|
|
65
|
+
{ internalType: 'uint256', name: 'assetInAmount', type: 'uint256' },
|
|
66
|
+
{ internalType: 'uint256', name: 'externalAssets', type: 'uint256' },
|
|
67
|
+
],
|
|
68
|
+
name: 'convertToShares',
|
|
69
|
+
outputs: [
|
|
70
|
+
{ internalType: 'uint256', name: 'shares', type: 'uint256' },
|
|
71
|
+
{
|
|
72
|
+
internalType: 'uint256',
|
|
73
|
+
name: 'amountInReferenceTokens',
|
|
74
|
+
type: 'uint256',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
stateMutability: 'view',
|
|
78
|
+
type: 'function',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [
|
|
82
|
+
{ internalType: 'address', name: 'assetAddr', type: 'address' },
|
|
83
|
+
{ internalType: 'address', name: 'oracleAddr', type: 'address' },
|
|
84
|
+
{ internalType: 'uint256', name: 'newOracleDuration', type: 'uint256' },
|
|
85
|
+
],
|
|
86
|
+
name: 'enableAsset',
|
|
87
|
+
outputs: [],
|
|
88
|
+
stateMutability: 'nonpayable',
|
|
89
|
+
type: 'function',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [
|
|
93
|
+
{ internalType: 'address', name: 'assetAddr', type: 'address' },
|
|
94
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
95
|
+
],
|
|
96
|
+
name: 'fromInputAssetToReferenceAsset',
|
|
97
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
98
|
+
stateMutability: 'view',
|
|
99
|
+
type: 'function',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [{ internalType: 'address', name: 'assetAddr', type: 'address' }],
|
|
103
|
+
name: 'getOracleAddress',
|
|
104
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
105
|
+
stateMutability: 'view',
|
|
106
|
+
type: 'function',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [
|
|
110
|
+
{ internalType: 'uint256', name: 'externalAssets', type: 'uint256' },
|
|
111
|
+
],
|
|
112
|
+
name: 'getTotalAssetsValuation',
|
|
113
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
114
|
+
stateMutability: 'view',
|
|
115
|
+
type: 'function',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
inputs: [],
|
|
119
|
+
name: 'getWhitelistedAssets',
|
|
120
|
+
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
|
|
121
|
+
stateMutability: 'view',
|
|
122
|
+
type: 'function',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [{ internalType: 'address', name: 'assetAddr', type: 'address' }],
|
|
126
|
+
name: 'isWhitelisted',
|
|
127
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
128
|
+
stateMutability: 'view',
|
|
129
|
+
type: 'function',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
133
|
+
name: 'maxOracleUpdatesDuration',
|
|
134
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
135
|
+
stateMutability: 'view',
|
|
136
|
+
type: 'function',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: 'owner',
|
|
141
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
142
|
+
stateMutability: 'view',
|
|
143
|
+
type: 'function',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
|
|
147
|
+
name: 'transferOwnership',
|
|
148
|
+
outputs: [],
|
|
149
|
+
stateMutability: 'nonpayable',
|
|
150
|
+
type: 'function',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
internalType: 'uint256',
|
|
156
|
+
name: 'newMaxOracleUpdatesDuration',
|
|
157
|
+
type: 'uint256',
|
|
158
|
+
},
|
|
159
|
+
{ internalType: 'address', name: 'assetAddr', type: 'address' },
|
|
160
|
+
],
|
|
161
|
+
name: 'updateOracleLagDuration',
|
|
162
|
+
outputs: [],
|
|
163
|
+
stateMutability: 'nonpayable',
|
|
164
|
+
type: 'function',
|
|
165
|
+
},
|
|
166
|
+
];
|
|
167
|
+
//# sourceMappingURL=TokenizedVaultV2WhitelistedAssets.js.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const ABI_UNIVERSAL_RESOLVER_RESOLVE: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly components: readonly [{
|
|
4
|
+
readonly name: "target";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly name: "allowFailure";
|
|
8
|
+
readonly type: "bool";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "callData";
|
|
11
|
+
readonly type: "bytes";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "calls";
|
|
14
|
+
readonly type: "tuple[]";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "aggregate3";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly components: readonly [{
|
|
19
|
+
readonly name: "success";
|
|
20
|
+
readonly type: "bool";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "returnData";
|
|
23
|
+
readonly type: "bytes";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "returnData";
|
|
26
|
+
readonly type: "tuple[]";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "resolve";
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly stateMutability: "view";
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly name: "name";
|
|
36
|
+
readonly type: "bytes";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "data";
|
|
39
|
+
readonly type: "bytes";
|
|
40
|
+
}];
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly type: "bytes";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "address";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "resolve";
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly stateMutability: "view";
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly name: "name";
|
|
54
|
+
readonly type: "bytes";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "data";
|
|
57
|
+
readonly type: "bytes";
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "gateways";
|
|
60
|
+
readonly type: "string[]";
|
|
61
|
+
}];
|
|
62
|
+
readonly outputs: readonly [{
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "bytes";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "address";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}];
|
|
69
|
+
}];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_UNIVERSAL_RESOLVER_RESOLVE = void 0;
|
|
4
|
+
const Multicall3_1 = require("./Multicall3");
|
|
5
|
+
exports.ABI_UNIVERSAL_RESOLVER_RESOLVE = [
|
|
6
|
+
...Multicall3_1.ABI_MULTICALL3,
|
|
7
|
+
{
|
|
8
|
+
name: 'resolve',
|
|
9
|
+
type: 'function',
|
|
10
|
+
stateMutability: 'view',
|
|
11
|
+
inputs: [
|
|
12
|
+
{ name: 'name', type: 'bytes' },
|
|
13
|
+
{ name: 'data', type: 'bytes' },
|
|
14
|
+
],
|
|
15
|
+
outputs: [
|
|
16
|
+
{ name: '', type: 'bytes' },
|
|
17
|
+
{ name: 'address', type: 'address' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'resolve',
|
|
22
|
+
type: 'function',
|
|
23
|
+
stateMutability: 'view',
|
|
24
|
+
inputs: [
|
|
25
|
+
{ name: 'name', type: 'bytes' },
|
|
26
|
+
{ name: 'data', type: 'bytes' },
|
|
27
|
+
{ name: 'gateways', type: 'string[]' },
|
|
28
|
+
],
|
|
29
|
+
outputs: [
|
|
30
|
+
{ name: '', type: 'bytes' },
|
|
31
|
+
{ name: 'address', type: 'address' },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=UniversalResolverResolve.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const ABI_UNIVERSAL_SIGNATURE_VALIDATOR: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_signer";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "bytes32";
|
|
8
|
+
readonly name: "_hash";
|
|
9
|
+
readonly type: "bytes32";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "bytes";
|
|
12
|
+
readonly name: "_signature";
|
|
13
|
+
readonly type: "bytes";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
readonly type: "constructor";
|
|
17
|
+
}];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ABI_UNIVERSAL_SIGNATURE_VALIDATOR = void 0;
|
|
4
|
+
// ERC-6492 - universal deployless signature validator contract
|
|
5
|
+
// constructor(address _signer, bytes32 _hash, bytes _signature) → bytes4 returnValue
|
|
6
|
+
// returnValue is either 0x1 (valid) or 0x0 (invalid)
|
|
7
|
+
exports.ABI_UNIVERSAL_SIGNATURE_VALIDATOR = [
|
|
8
|
+
{
|
|
9
|
+
inputs: [
|
|
10
|
+
{
|
|
11
|
+
internalType: 'address',
|
|
12
|
+
name: '_signer',
|
|
13
|
+
type: 'address',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
internalType: 'bytes32',
|
|
17
|
+
name: '_hash',
|
|
18
|
+
type: 'bytes32',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: 'bytes',
|
|
22
|
+
name: '_signature',
|
|
23
|
+
type: 'bytes',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
stateMutability: 'nonpayable',
|
|
27
|
+
type: 'constructor',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
//# sourceMappingURL=UniversalSignatureValidator.js.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const ABI_WRAPPER_ADAPTER: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "referralId";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}];
|
|
7
|
+
readonly name: "depositETH";
|
|
8
|
+
readonly outputs: readonly [];
|
|
9
|
+
readonly stateMutability: "payable";
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
}, {
|
|
12
|
+
readonly inputs: readonly [{
|
|
13
|
+
readonly internalType: "uint256";
|
|
14
|
+
readonly name: "amount";
|
|
15
|
+
readonly type: "uint256";
|
|
16
|
+
}, {
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
readonly name: "referralId";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}];
|
|
21
|
+
readonly name: "depositWETH";
|
|
22
|
+
readonly outputs: readonly [];
|
|
23
|
+
readonly stateMutability: "nonpayable";
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [{
|
|
27
|
+
readonly internalType: "address";
|
|
28
|
+
readonly name: "referralId";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
}];
|
|
31
|
+
readonly name: "getRSETHWithETH";
|
|
32
|
+
readonly outputs: readonly [];
|
|
33
|
+
readonly stateMutability: "payable";
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
}, {
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly name: "asset";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly internalType: "uint256";
|
|
42
|
+
readonly name: "depositAmount";
|
|
43
|
+
readonly type: "uint256";
|
|
44
|
+
}, {
|
|
45
|
+
readonly internalType: "string";
|
|
46
|
+
readonly name: "referralId";
|
|
47
|
+
readonly type: "string";
|
|
48
|
+
}];
|
|
49
|
+
readonly name: "getRSETHWithERC20";
|
|
50
|
+
readonly outputs: readonly [];
|
|
51
|
+
readonly stateMutability: "nonpayable";
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly internalType: "address";
|
|
56
|
+
readonly name: "asset";
|
|
57
|
+
readonly type: "address";
|
|
58
|
+
}, {
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
readonly name: "depositAmount";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "getRsETHAmountToMint";
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
readonly name: "rsETHAmount";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
}];
|