@elizaos/plugin-wallet 2.0.0-beta.1 → 2.0.3-beta.5
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/README.md +70 -45
- package/auto-enable.ts +1 -1
- package/dist/actions/failure-codes.d.ts +12 -0
- package/dist/actions/index.d.ts +1 -0
- package/dist/analytics/birdeye/actions/wallet-search-address.d.ts +7 -0
- package/dist/analytics/birdeye/birdeye-task.d.ts +27 -0
- package/dist/analytics/birdeye/birdeye.d.ts +140 -0
- package/dist/analytics/birdeye/constants.d.ts +68 -0
- package/dist/analytics/birdeye/providers/agent-portfolio-provider.d.ts +8 -0
- package/dist/analytics/birdeye/providers/market.d.ts +18 -0
- package/dist/analytics/birdeye/providers/portfolio-factory.d.ts +10 -0
- package/dist/analytics/birdeye/providers/trending.d.ts +19 -0
- package/dist/analytics/birdeye/providers/wallet.d.ts +5 -0
- package/dist/analytics/birdeye/search-category.d.ts +52 -0
- package/dist/analytics/birdeye/service.d.ts +94 -0
- package/dist/analytics/birdeye/types/api/common.d.ts +199 -0
- package/dist/analytics/birdeye/types/api/defi.d.ts +187 -0
- package/dist/analytics/birdeye/types/api/pair.d.ts +182 -0
- package/dist/analytics/birdeye/types/api/search.d.ts +64 -0
- package/dist/analytics/birdeye/types/api/token.d.ts +580 -0
- package/dist/analytics/birdeye/types/api/trader.d.ts +70 -0
- package/dist/analytics/birdeye/types/api/wallet.d.ts +161 -0
- package/dist/analytics/birdeye/types/shared.d.ts +83 -0
- package/dist/analytics/birdeye/utils.d.ts +74 -0
- package/dist/analytics/dexscreener/errors.d.ts +2 -0
- package/dist/analytics/dexscreener/index.d.ts +3 -0
- package/dist/analytics/dexscreener/search-category.d.ts +3 -0
- package/dist/analytics/dexscreener/service.d.ts +34 -0
- package/dist/analytics/dexscreener/types.d.ts +131 -0
- package/dist/analytics/lpinfo/index.d.ts +31 -0
- package/dist/analytics/lpinfo/kamino/index.d.ts +7 -0
- package/dist/analytics/lpinfo/kamino/providers/kaminoLiquidityProvider.d.ts +6 -0
- package/dist/analytics/lpinfo/kamino/providers/kaminoPoolProvider.d.ts +6 -0
- package/dist/analytics/lpinfo/kamino/providers/kaminoProvider.d.ts +6 -0
- package/dist/analytics/lpinfo/kamino/services/kaminoLiquidityService.d.ts +203 -0
- package/dist/analytics/lpinfo/kamino/services/kaminoService.d.ts +171 -0
- package/dist/analytics/lpinfo/steer/index.d.ts +7 -0
- package/dist/analytics/lpinfo/steer/providers/steerLiquidityProvider.d.ts +6 -0
- package/dist/analytics/lpinfo/steer/services/steerLiquidityService.d.ts +208 -0
- package/dist/analytics/lpinfo/steer/steer-display-types.d.ts +97 -0
- package/dist/analytics/news/index.d.ts +32 -0
- package/dist/analytics/news/interfaces/types.d.ts +177 -0
- package/dist/analytics/news/providers/defiNewsProvider.d.ts +106 -0
- package/dist/analytics/news/services/newsDataService.d.ts +72 -0
- package/dist/analytics/news/utils/formatters.d.ts +54 -0
- package/dist/analytics/token-info/action.d.ts +6 -0
- package/dist/analytics/token-info/index.d.ts +3 -0
- package/dist/analytics/token-info/params.d.ts +10 -0
- package/dist/analytics/token-info/providers.d.ts +4 -0
- package/dist/analytics/token-info/service.d.ts +19 -0
- package/dist/analytics/token-info/types.d.ts +45 -0
- package/dist/api/wallet-routes.d.ts +100 -0
- package/dist/audit/audit-log.d.ts +29 -0
- package/dist/browser-shim/build-shim.d.ts +31 -0
- package/dist/browser-shim/index.d.ts +1 -0
- package/dist/chains/evm/actions/helpers.d.ts +31 -0
- package/dist/chains/evm/actions/swap.d.ts +53 -0
- package/dist/chains/evm/actions/transfer.d.ts +10 -0
- package/dist/chains/evm/bridge-router.d.ts +44 -0
- package/dist/chains/evm/build.d.ts +2 -0
- package/dist/chains/evm/chain-handler.d.ts +37 -0
- package/dist/chains/evm/constants.d.ts +16 -0
- package/dist/chains/evm/dex/aerodrome/index.d.ts +6 -0
- package/dist/chains/evm/dex/aerodrome/services/AerodromeLpService.d.ts +27 -0
- package/dist/chains/evm/dex/aerodrome/types.d.ts +435 -0
- package/dist/chains/evm/dex/pancakeswp/index.d.ts +6 -0
- package/dist/chains/evm/dex/pancakeswp/services/PancakeSwapV3LpService.d.ts +28 -0
- package/dist/chains/evm/dex/pancakeswp/types.d.ts +19 -0
- package/dist/chains/evm/dex/uniswap/index.d.ts +6 -0
- package/dist/chains/evm/dex/uniswap/services/UniswapV3LpService.d.ts +28 -0
- package/dist/chains/evm/dex/uniswap/types.d.ts +458 -0
- package/dist/chains/evm/generated/specs/spec-helpers.d.ts +35 -0
- package/dist/chains/evm/generated/specs/specs.d.ts +99 -0
- package/dist/chains/evm/gov-router.d.ts +6 -0
- package/dist/chains/evm/index.browser.d.ts +3 -0
- package/dist/chains/evm/index.d.ts +6 -0
- package/dist/chains/evm/prompts.d.ts +24 -0
- package/dist/chains/evm/providers/get-balance.d.ts +2 -0
- package/dist/chains/evm/providers/wallet.d.ts +35 -0
- package/dist/chains/evm/routes/sign.d.ts +13 -0
- package/dist/chains/evm/rpc-providers.d.ts +26 -0
- package/dist/chains/evm/service.d.ts +26 -0
- package/dist/chains/evm/templates/index.d.ts +1 -0
- package/dist/chains/evm/types/index.d.ts +296 -0
- package/dist/chains/evm/vitest.config.d.ts +2 -0
- package/dist/chains/registry.d.ts +3 -0
- package/dist/chains/solana/actions/confirmation.d.ts +9 -0
- package/dist/chains/solana/bn.d.ts +6 -0
- package/dist/chains/solana/build.d.ts +2 -0
- package/dist/chains/solana/constants.d.ts +2 -0
- package/dist/chains/solana/dex/meteora/e2e/scenarios.d.ts +10 -0
- package/dist/chains/solana/dex/meteora/e2e/test-utils.d.ts +28 -0
- package/dist/chains/solana/dex/meteora/index.d.ts +3 -0
- package/dist/chains/solana/dex/meteora/providers/positionProvider.d.ts +9 -0
- package/dist/chains/solana/dex/meteora/services/MeteoraLpService.d.ts +37 -0
- package/dist/chains/solana/dex/meteora/utils/dlmm.d.ts +6 -0
- package/dist/chains/solana/dex/meteora/utils/loadWallet.d.ts +14 -0
- package/dist/chains/solana/dex/meteora/utils/sendTransaction.d.ts +2 -0
- package/dist/chains/solana/dex/orca/index.d.ts +6 -0
- package/dist/chains/solana/dex/orca/providers/positionProvider.d.ts +10 -0
- package/dist/chains/solana/dex/orca/services/srv_orca.d.ts +10 -0
- package/dist/chains/solana/dex/orca/types.d.ts +61 -0
- package/dist/chains/solana/dex/orca/utils/loadWallet.d.ts +1 -0
- package/dist/chains/solana/dex/orca/utils/sendTransaction.d.ts +2 -0
- package/dist/chains/solana/dex/raydium/index.d.ts +6 -0
- package/dist/chains/solana/dex/raydium/providers/positionProvider.d.ts +10 -0
- package/dist/chains/solana/dex/raydium/services/srv_raydium.d.ts +104 -0
- package/dist/chains/solana/dex/raydium/types.d.ts +42 -0
- package/dist/chains/solana/environment.d.ts +15 -0
- package/dist/chains/solana/generated/specs/spec-helpers.d.ts +35 -0
- package/dist/chains/solana/generated/specs/specs.d.ts +73 -0
- package/dist/chains/solana/index.browser.d.ts +3 -0
- package/dist/chains/solana/index.d.ts +7 -0
- package/dist/chains/solana/keypairUtils.d.ts +7 -0
- package/dist/chains/solana/prompts.d.ts +12 -0
- package/dist/chains/solana/providers/wallet.d.ts +2 -0
- package/dist/chains/solana/routes/index.d.ts +2 -0
- package/dist/chains/solana/routes/sign.d.ts +16 -0
- package/dist/chains/solana/service.d.ts +237 -0
- package/dist/chains/solana/types.d.ts +377 -0
- package/dist/chains/solana/vitest.config.d.ts +2 -0
- package/dist/chains/wallet-action.d.ts +3 -0
- package/dist/contracts.d.ts +58 -0
- package/dist/core-augmentation.d.ts +9 -0
- package/dist/index.d.mts +27 -34727
- package/dist/index.d.ts +27 -0
- package/dist/index.mjs +28246 -21186
- package/dist/index.mjs.map +153 -0
- package/dist/lib/server-wallet-trade.d.ts +22 -0
- package/dist/lib/server-wallet-trade.js +333 -0
- package/dist/lib/server-wallet-trade.js.map +11 -0
- package/dist/lib/wallet-export-guard.d.ts +45 -0
- package/dist/lp/actions/liquidity.d.ts +2 -0
- package/dist/lp/e2e/real-token-tests.d.ts +6 -0
- package/dist/lp/e2e/scenarios.d.ts +9 -0
- package/dist/lp/e2e/test-utils.d.ts +28 -0
- package/dist/lp/lp-manager-entry.d.ts +18 -0
- package/dist/lp/services/ConcentratedLiquidityService.d.ts +32 -0
- package/dist/lp/services/DexInteractionService.d.ts +34 -0
- package/dist/lp/services/LpManagementService.d.ts +116 -0
- package/dist/lp/services/UserLpProfileService.d.ts +18 -0
- package/dist/lp/services/VaultService.d.ts +21 -0
- package/dist/lp/services/YieldOptimizationService.d.ts +59 -0
- package/dist/lp/services/__tests__/MockLpService.d.ts +17 -0
- package/dist/lp/types.d.ts +439 -0
- package/dist/lp/utils/solanaClient.d.ts +26 -0
- package/dist/plugin.d.ts +7 -0
- package/dist/policy/policy.d.ts +14 -0
- package/dist/providers/canonical-provider.d.ts +19 -0
- package/dist/providers/wallet-provider.d.ts +5 -0
- package/dist/register-routes.d.ts +1 -0
- package/dist/routes/plugin.d.ts +14 -0
- package/dist/routes/wallet-market-overview-route.d.ts +7 -0
- package/dist/sdk/abi.d.ts +396 -0
- package/dist/sdk/bridge/abis.d.ts +63 -0
- package/dist/sdk/bridge/client.d.ts +48 -0
- package/dist/sdk/bridge/index.d.ts +14 -0
- package/dist/sdk/bridge/solana.d.ts +131 -0
- package/dist/sdk/bridge/types.d.ts +92 -0
- package/dist/sdk/convenience.d.ts +104 -0
- package/dist/sdk/escrow/MutualStakeEscrow.d.ts +75 -0
- package/dist/sdk/escrow/types.d.ts +58 -0
- package/dist/sdk/escrow/verifiers.d.ts +25 -0
- package/dist/sdk/identity/erc8004.d.ts +304 -0
- package/dist/sdk/identity/reputation.d.ts +317 -0
- package/dist/sdk/identity/uaid.d.ts +192 -0
- package/dist/sdk/identity/validation.d.ts +282 -0
- package/dist/sdk/index.d.ts +133 -0
- package/dist/sdk/index.js +5284 -0
- package/dist/sdk/index.js.map +40 -0
- package/dist/sdk/policy/SpendingPolicy.d.ts +105 -0
- package/dist/sdk/policy/UptoBillingPolicy.d.ts +87 -0
- package/dist/sdk/router/PaymentRouter.d.ts +77 -0
- package/dist/sdk/router/index.d.ts +2 -0
- package/dist/sdk/swap/SwapModule.d.ts +47 -0
- package/dist/sdk/swap/abi.d.ts +50 -0
- package/dist/sdk/swap/index.d.ts +11 -0
- package/dist/sdk/swap/types.d.ts +101 -0
- package/dist/sdk/tokens/decimals.d.ts +64 -0
- package/dist/sdk/tokens/registry.d.ts +81 -0
- package/dist/sdk/tokens/solana.d.ts +107 -0
- package/dist/sdk/tokens/transfers.d.ts +94 -0
- package/dist/sdk/types.d.ts +129 -0
- package/dist/sdk/wallet-core.d.ts +29450 -0
- package/dist/sdk/x402/budget.d.ts +51 -0
- package/dist/sdk/x402/chains/abstract/index.d.ts +134 -0
- package/dist/sdk/x402/client.d.ts +66 -0
- package/dist/sdk/x402/index.d.ts +8 -0
- package/dist/sdk/x402/middleware.d.ts +37 -0
- package/dist/sdk/x402/multi-asset.d.ts +53 -0
- package/dist/sdk/x402/types.d.ts +109 -0
- package/dist/security/wallet-context-safety.d.ts +7 -0
- package/dist/security/wallet-financial-confirmation.d.ts +23 -0
- package/dist/services/wallet-backend-service.d.ts +39 -0
- package/dist/types/wallet-router.d.ts +130 -0
- package/dist/utils/intent-trajectory.d.ts +34 -0
- package/dist/wallet/backend.d.ts +41 -0
- package/dist/wallet/errors.d.ts +17 -0
- package/dist/wallet/index.d.ts +6 -0
- package/dist/wallet/local-eoa-backend.d.ts +37 -0
- package/dist/wallet/pending.d.ts +47 -0
- package/dist/wallet/select-backend.d.ts +11 -0
- package/dist/wallet/steward-backend.d.ts +22 -0
- package/dist/wallet-action.d.ts +1 -0
- package/dist/wallet-action.js +6292 -0
- package/dist/wallet-action.js.map +44 -0
- package/package.json +35 -21
- package/registry-entry.json +134 -0
- package/src/analytics/birdeye/actions/wallet-search-address.ts +85 -5
- package/src/analytics/birdeye/birdeye-task.ts +25 -9
- package/src/analytics/birdeye/birdeye.ts +6 -7
- package/src/analytics/birdeye/constants.ts +0 -1
- package/src/analytics/birdeye/providers/agent-portfolio-provider.ts +0 -1
- package/src/analytics/birdeye/providers/market.ts +51 -45
- package/src/analytics/birdeye/providers/portfolio-factory.ts +79 -38
- package/src/analytics/birdeye/providers/trending.ts +43 -46
- package/src/analytics/birdeye/providers/wallet.ts +0 -1
- package/src/analytics/birdeye/search-category.test.ts +1 -1
- package/src/analytics/birdeye/search-category.ts +77 -12
- package/src/analytics/birdeye/service.test.ts +146 -0
- package/src/analytics/birdeye/service.ts +220 -105
- package/src/analytics/birdeye/types/api/common.ts +0 -1
- package/src/analytics/birdeye/types/api/defi.ts +0 -1
- package/src/analytics/birdeye/types/api/pair.ts +0 -1
- package/src/analytics/birdeye/types/api/search.ts +0 -1
- package/src/analytics/birdeye/types/api/token.ts +0 -1
- package/src/analytics/birdeye/types/api/trader.ts +0 -1
- package/src/analytics/birdeye/types/api/wallet.ts +0 -1
- package/src/analytics/birdeye/types/shared.ts +0 -11
- package/src/analytics/birdeye/utils.test.ts +69 -0
- package/src/analytics/birdeye/utils.ts +11 -8
- package/src/analytics/dexscreener/search-category.ts +0 -1
- package/src/analytics/dexscreener/service.ts +7 -12
- package/src/analytics/dexscreener/types.ts +0 -1
- package/src/analytics/lpinfo/index.ts +5 -2
- package/src/analytics/lpinfo/kamino/README.md +2 -2
- package/src/analytics/lpinfo/kamino/index.ts +9 -2
- package/src/analytics/lpinfo/kamino/providers/kaminoLiquidityProvider.ts +6 -26
- package/src/analytics/lpinfo/kamino/providers/kaminoPoolProvider.ts +11 -12
- package/src/analytics/lpinfo/kamino/providers/kaminoProvider.ts +76 -32
- package/src/analytics/lpinfo/kamino/services/kaminoLiquidityService.ts +78 -38
- package/src/analytics/lpinfo/kamino/services/kaminoService.ts +71 -31
- package/src/analytics/lpinfo/steer/index.ts +7 -2
- package/src/analytics/lpinfo/steer/providers/steerLiquidityProvider.ts +25 -26
- package/src/analytics/lpinfo/steer/services/steerLiquidityService.ts +367 -149
- package/src/analytics/news/index.ts +7 -2
- package/src/analytics/news/interfaces/types.ts +0 -1
- package/src/analytics/news/providers/defiNewsProvider.ts +17 -44
- package/src/analytics/news/services/newsDataService.ts +1 -22
- package/src/analytics/news/utils/formatters.test.ts +60 -0
- package/src/analytics/news/utils/formatters.ts +0 -1
- package/src/analytics/token-info/action.ts +52 -212
- package/src/analytics/token-info/index.ts +1 -1
- package/src/analytics/token-info/params.test.ts +69 -0
- package/src/analytics/token-info/params.ts +13 -11
- package/src/analytics/token-info/providers.ts +46 -17
- package/src/analytics/token-info/service.ts +3 -3
- package/src/analytics/token-info/types.ts +2 -2
- package/src/api/wallet-routes.test.ts +56 -0
- package/src/api/wallet-routes.ts +1728 -0
- package/src/audit/audit-log.ts +57 -2
- package/src/browser-shim/build-shim.ts +1 -1
- package/src/browser-shim/shim.template.js +107 -117
- package/src/chains/{wallet-router.test.ts → __tests__/wallet-router.test.ts} +57 -10
- package/src/chains/evm/actions/helpers.ts +9 -7
- package/src/chains/evm/actions/swap.ts +176 -22
- package/src/chains/evm/actions/transfer.ts +29 -22
- package/src/chains/evm/biome.json +1 -1
- package/src/chains/evm/build.ts +6 -1
- package/src/chains/evm/constants.ts +19 -0
- package/src/chains/evm/contracts/artifacts/OZGovernor.json +25 -1682
- package/src/chains/evm/dex/aerodrome/index.ts +6 -1
- package/src/chains/evm/dex/aerodrome/services/AerodromeLpService.ts +41 -15
- package/src/chains/evm/dex/aerodrome/types.ts +1 -2
- package/src/chains/evm/dex/pancakeswp/index.ts +6 -1
- package/src/chains/evm/dex/pancakeswp/services/PancakeSwapV3LpService.ts +54 -17
- package/src/chains/evm/dex/pancakeswp/types.ts +1 -2
- package/src/chains/evm/dex/uniswap/index.ts +6 -1
- package/src/chains/evm/dex/uniswap/services/UniswapV3LpService.ts +20 -9
- package/src/chains/evm/dex/uniswap/types.ts +1 -2
- package/src/chains/evm/gov-router.ts +3 -1
- package/src/chains/evm/index.browser.ts +1 -1
- package/src/chains/evm/index.ts +5 -1
- package/src/chains/evm/prompts.ts +5 -0
- package/src/chains/evm/providers/get-balance.ts +1 -1
- package/src/chains/evm/providers/wallet.ts +80 -9
- package/src/chains/evm/routes/sign.ts +35 -26
- package/src/chains/evm/rpc-providers.ts +1 -1
- package/src/chains/evm/types/index.ts +22 -2
- package/src/chains/registry.ts +1 -1
- package/src/chains/wallet-action.ts +301 -91
- package/src/index.ts +9 -5
- package/src/lib/wallet-export-guard.test.ts +233 -0
- package/src/lib/wallet-export-guard.ts +1 -1
- package/src/lp/actions/liquidity.ts +53 -26
- package/src/lp/e2e/real-token-tests.ts +0 -1
- package/src/lp/e2e/scenarios.ts +1 -2
- package/src/lp/e2e/test-utils.ts +20 -7
- package/src/lp/lp-manager-entry.ts +2 -5
- package/src/lp/services/ConcentratedLiquidityService.ts +3 -10
- package/src/lp/services/DexInteractionService.ts +1 -2
- package/src/lp/services/LpManagementService.test.ts +0 -1
- package/src/lp/services/LpManagementService.ts +75 -35
- package/src/lp/services/UserLpProfileService.ts +2 -3
- package/src/lp/services/VaultService.ts +10 -4
- package/src/lp/services/YieldOptimizationService.ts +29 -13
- package/src/lp/services/__tests__/MockLpService.ts +1 -2
- package/src/lp/types.ts +9 -13
- package/src/lp/utils/solanaClient.ts +4 -2
- package/src/plugin.routes.test.ts +24 -0
- package/src/plugin.ts +30 -13
- package/src/providers/canonical-provider.ts +1 -1
- package/src/providers/{unified-wallet-provider.ts → wallet-provider.ts} +3 -3
- package/src/routes/__fixtures__/coingecko-markets.recorded.json +97 -0
- package/src/routes/wallet-market-overview-route.ts +1 -1
- package/src/routes/wallet-market-overview.contract.test.ts +139 -0
- package/src/routes/wallet-market-overview.real.test.ts +83 -0
- package/src/sdk/escrow/MutualStakeEscrow.ts +1 -2
- package/src/sdk/identity/erc8004.ts +1 -1
- package/src/sdk/identity/validation.ts +3 -4
- package/src/sdk/index.ts +2 -2
- package/src/sdk/policy/SpendingPolicy.ts +1 -1
- package/src/sdk/router/PaymentRouter.ts +8 -11
- package/src/sdk/swap/SwapModule.ts +1 -1
- package/src/sdk/tokens/registry.ts +1 -1
- package/src/sdk/x402/middleware.ts +2 -8
- package/src/security/__tests__/wallet-context-safety.test.ts +79 -0
- package/src/security/__tests__/wallet-financial-confirmation.test.ts +88 -0
- package/src/security/wallet-context-safety.ts +128 -0
- package/src/security/wallet-financial-confirmation.ts +150 -0
- package/src/services/wallet-backend-service.ts +15 -1
- package/src/utils/intent-trajectory.ts +2 -2
- package/src/wallet/steward-backend.ts +4 -4
- package/dist/LpManagementService-BWrQ5-cO.mjs +0 -353
- package/dist/MockLpService-D_Apn4Fd.mjs +0 -99
- package/dist/aerodrome-CfnESC32.mjs +0 -890
- package/dist/chunk-hT5z_Zn9.mjs +0 -35
- package/dist/lib/server-wallet-trade.d.mts +0 -34
- package/dist/lib/server-wallet-trade.mjs +0 -306
- package/dist/meteora-BPX39hZo.mjs +0 -22640
- package/dist/orca-Bybp1HXO.mjs +0 -249
- package/dist/pancakeswp-CkEXlXti.mjs +0 -604
- package/dist/plugin-ZO_MTyd0.mjs +0 -529
- package/dist/raydium-rfaM9yEf.mjs +0 -539
- package/dist/sdk/index.d.mts +0 -32492
- package/dist/sdk/index.mjs +0 -6415
- package/dist/types-D5252NZk.mjs +0 -487
- package/dist/uniswap-CReXgXVN.mjs +0 -573
- package/dist/wallet-action.d.mts +0 -6
- package/dist/wallet-action.mjs +0 -820
- package/src/analytics/birdeye/tasks/birdeye.ts +0 -232
- package/src/analytics/lpinfo/index.d.ts +0 -7
- package/src/chains/evm/contracts/artifacts/TimelockController.json +0 -1007
- package/src/chains/evm/contracts/artifacts/VoteToken.json +0 -895
- package/src/lp/tasks/LpAutoRebalanceTask.ts +0 -117
- package/src/lp/tasks/__tests__/LpAutoRebalanceTask.test.ts +0 -370
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import type { Route, Token } from "@lifi/sdk";
|
|
2
|
+
import type { Account, Address, Chain, Hash, Hex, HttpTransport, Log, PublicClient, WalletClient } from "viem";
|
|
3
|
+
import * as viemChains from "viem/chains";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
export type SupportedChain = keyof typeof viemChains;
|
|
6
|
+
export declare const SupportedChainSchema: z.ZodType<SupportedChain>;
|
|
7
|
+
export declare function getChainByName(chainName: string): Chain;
|
|
8
|
+
export declare const AddressSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
9
|
+
export declare const HashSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
10
|
+
export declare const HexSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
11
|
+
export declare const PrivateKeySchema: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
12
|
+
export declare const AmountSchema: z.ZodString;
|
|
13
|
+
export declare const OptionalAmountSchema: z.ZodOptional<z.ZodString>;
|
|
14
|
+
export interface Transaction {
|
|
15
|
+
readonly hash: Hash;
|
|
16
|
+
readonly from: Address;
|
|
17
|
+
readonly to: Address;
|
|
18
|
+
readonly value: bigint;
|
|
19
|
+
readonly data?: Hex;
|
|
20
|
+
readonly chainId?: number;
|
|
21
|
+
readonly logs?: readonly Log[];
|
|
22
|
+
}
|
|
23
|
+
export declare const TransactionSchema: z.ZodObject<{
|
|
24
|
+
hash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
25
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
26
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
27
|
+
value: z.ZodBigInt;
|
|
28
|
+
data: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
29
|
+
chainId: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
logs: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export interface TokenWithBalance {
|
|
33
|
+
readonly token: Token;
|
|
34
|
+
readonly balance: bigint;
|
|
35
|
+
readonly formattedBalance: string;
|
|
36
|
+
readonly priceUSD: string;
|
|
37
|
+
readonly valueUSD: string;
|
|
38
|
+
}
|
|
39
|
+
export interface WalletBalance {
|
|
40
|
+
readonly chain: SupportedChain;
|
|
41
|
+
readonly address: Address;
|
|
42
|
+
readonly totalValueUSD: string;
|
|
43
|
+
readonly tokens: readonly TokenWithBalance[];
|
|
44
|
+
}
|
|
45
|
+
export interface TokenData extends Token {
|
|
46
|
+
readonly symbol: string;
|
|
47
|
+
readonly decimals: number;
|
|
48
|
+
readonly address: Address;
|
|
49
|
+
readonly name: string;
|
|
50
|
+
readonly logoURI?: string;
|
|
51
|
+
readonly chainId: number;
|
|
52
|
+
}
|
|
53
|
+
export interface TransferParams {
|
|
54
|
+
readonly fromChain: SupportedChain;
|
|
55
|
+
readonly toAddress: Address;
|
|
56
|
+
readonly amount: string;
|
|
57
|
+
readonly data?: Hex;
|
|
58
|
+
readonly token?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare const TransferParamsSchema: z.ZodObject<{
|
|
61
|
+
fromChain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
62
|
+
toAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
63
|
+
amount: z.ZodString;
|
|
64
|
+
data: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
65
|
+
token: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
export declare function parseTransferParams(input: unknown): TransferParams;
|
|
68
|
+
export interface SwapParams {
|
|
69
|
+
readonly chain: SupportedChain;
|
|
70
|
+
readonly fromToken: Address;
|
|
71
|
+
readonly toToken: Address;
|
|
72
|
+
readonly amount: string;
|
|
73
|
+
}
|
|
74
|
+
export declare const SwapParamsSchema: z.ZodObject<{
|
|
75
|
+
chain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
76
|
+
fromToken: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodString]>;
|
|
77
|
+
toToken: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodString]>;
|
|
78
|
+
amount: z.ZodString;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
export declare function parseSwapParams(input: unknown): SwapParams;
|
|
81
|
+
export interface BebopRoute {
|
|
82
|
+
readonly data: string;
|
|
83
|
+
readonly approvalTarget: Address;
|
|
84
|
+
readonly sellAmount: string;
|
|
85
|
+
readonly from: Address;
|
|
86
|
+
readonly to: Address;
|
|
87
|
+
readonly value: string;
|
|
88
|
+
readonly gas: string;
|
|
89
|
+
readonly gasPrice: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const BebopRouteSchema: z.ZodObject<{
|
|
92
|
+
data: z.ZodString;
|
|
93
|
+
approvalTarget: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
94
|
+
sellAmount: z.ZodString;
|
|
95
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
96
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
97
|
+
value: z.ZodString;
|
|
98
|
+
gas: z.ZodString;
|
|
99
|
+
gasPrice: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
export interface SwapQuote {
|
|
102
|
+
readonly aggregator: "lifi" | "bebop" | "kyberswap";
|
|
103
|
+
readonly minOutputAmount: string;
|
|
104
|
+
readonly swapData: Route | BebopRoute | KyberSwapRouteData;
|
|
105
|
+
}
|
|
106
|
+
export interface BridgeParams {
|
|
107
|
+
readonly fromChain: SupportedChain;
|
|
108
|
+
readonly toChain: SupportedChain;
|
|
109
|
+
readonly fromToken: Address;
|
|
110
|
+
readonly toToken: Address;
|
|
111
|
+
readonly amount: string;
|
|
112
|
+
readonly toAddress?: Address;
|
|
113
|
+
}
|
|
114
|
+
export declare const BridgeParamsSchema: z.ZodObject<{
|
|
115
|
+
fromChain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
116
|
+
toChain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
117
|
+
fromToken: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodString]>;
|
|
118
|
+
toToken: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodString]>;
|
|
119
|
+
amount: z.ZodString;
|
|
120
|
+
toAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
export declare function parseBridgeParams(input: unknown): BridgeParams;
|
|
123
|
+
export interface ChainMetadata {
|
|
124
|
+
readonly chainId: number;
|
|
125
|
+
readonly name: string;
|
|
126
|
+
readonly chain: Chain;
|
|
127
|
+
readonly rpcUrl: string;
|
|
128
|
+
readonly nativeCurrency: {
|
|
129
|
+
readonly name: string;
|
|
130
|
+
readonly symbol: string;
|
|
131
|
+
readonly decimals: number;
|
|
132
|
+
};
|
|
133
|
+
readonly blockExplorerUrl: string;
|
|
134
|
+
}
|
|
135
|
+
export interface ChainConfig {
|
|
136
|
+
readonly chain: Chain;
|
|
137
|
+
readonly publicClient: PublicClient<HttpTransport, Chain, Account | undefined>;
|
|
138
|
+
readonly walletClient?: WalletClient;
|
|
139
|
+
}
|
|
140
|
+
export interface RpcUrlConfig {
|
|
141
|
+
readonly ethereum?: string;
|
|
142
|
+
readonly base?: string;
|
|
143
|
+
readonly arbitrum?: string;
|
|
144
|
+
readonly optimism?: string;
|
|
145
|
+
readonly polygon?: string;
|
|
146
|
+
readonly avalanche?: string;
|
|
147
|
+
readonly bsc?: string;
|
|
148
|
+
readonly sepolia?: string;
|
|
149
|
+
readonly [key: string]: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface EvmPluginConfig {
|
|
152
|
+
readonly rpcUrl?: RpcUrlConfig;
|
|
153
|
+
readonly secrets?: {
|
|
154
|
+
readonly EVM_PRIVATE_KEY: string;
|
|
155
|
+
};
|
|
156
|
+
readonly testMode?: boolean;
|
|
157
|
+
readonly multicall?: {
|
|
158
|
+
readonly batchSize?: number;
|
|
159
|
+
readonly wait?: number;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
export declare const EvmPluginConfigSchema: z.ZodObject<{
|
|
163
|
+
rpcUrl: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
164
|
+
secrets: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
EVM_PRIVATE_KEY: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
testMode: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
multicall: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
wait: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare enum VoteType {
|
|
174
|
+
AGAINST = 0,
|
|
175
|
+
FOR = 1,
|
|
176
|
+
ABSTAIN = 2
|
|
177
|
+
}
|
|
178
|
+
export declare const VoteTypeSchema: z.ZodEnum<typeof VoteType>;
|
|
179
|
+
export interface Proposal {
|
|
180
|
+
readonly targets: readonly Address[];
|
|
181
|
+
readonly values: readonly bigint[];
|
|
182
|
+
readonly calldatas: readonly Hex[];
|
|
183
|
+
readonly description: string;
|
|
184
|
+
}
|
|
185
|
+
export declare const ProposalSchema: z.ZodObject<{
|
|
186
|
+
targets: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
187
|
+
values: z.ZodArray<z.ZodBigInt>;
|
|
188
|
+
calldatas: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
189
|
+
description: z.ZodString;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export interface VoteParams {
|
|
192
|
+
readonly chain: SupportedChain;
|
|
193
|
+
readonly governor: Address;
|
|
194
|
+
readonly proposalId: string;
|
|
195
|
+
readonly support: VoteType;
|
|
196
|
+
}
|
|
197
|
+
export declare const VoteParamsSchema: z.ZodObject<{
|
|
198
|
+
chain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
199
|
+
governor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
200
|
+
proposalId: z.ZodString;
|
|
201
|
+
support: z.ZodEnum<typeof VoteType>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
export declare function parseVoteParams(input: unknown): VoteParams;
|
|
204
|
+
export interface QueueProposalParams extends Proposal {
|
|
205
|
+
readonly chain: SupportedChain;
|
|
206
|
+
readonly governor: Address;
|
|
207
|
+
}
|
|
208
|
+
export declare const QueueProposalParamsSchema: z.ZodObject<{
|
|
209
|
+
targets: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
210
|
+
values: z.ZodArray<z.ZodBigInt>;
|
|
211
|
+
calldatas: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
212
|
+
description: z.ZodString;
|
|
213
|
+
chain: z.ZodType<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown, z.core.$ZodTypeInternals<"arbitrum" | "avalanche" | "bsc" | "optimism" | "polygon" | "base" | "zksync" | "mode" | "mainnet" | "zeroG" | "zeroGGalileoTestnet" | "zeroGMainnet" | "zeroGTestnet" | "fireChain" | "abey" | "abstract" | "abstractTestnet" | "acala" | "acria" | "adf" | "adi" | "agungTestnet" | "aioz" | "alephZero" | "alephZeroTestnet" | "alienx" | "alienxHalTestnet" | "alpenTestnet" | "ancient8" | "ancient8Sepolia" | "anvil" | "apeChain" | "apexTestnet" | "apollo" | "arbitrumGoerli" | "arbitrumNova" | "arbitrumSepolia" | "arc" | "arcTestnet" | "arenaz" | "areonNetwork" | "areonNetworkTestnet" | "areum" | "artelaTestnet" | "arthera" | "artheraTestnet" | "assetChain" | "assetChainTestnet" | "astar" | "astarZkEVM" | "astarZkyoto" | "atletaOlympia" | "aurora" | "auroraTestnet" | "auroria" | "autheoTestnet" | "avalancheFuji" | "b3" | "b3Sepolia" | "bahamut" | "basePreconf" | "basecampTestnet" | "baseGoerli" | "baseSepolia" | "baseSepoliaPreconf" | "battlechainTestnet" | "beam" | "beamTestnet" | "bearNetworkChainMainnet" | "bearNetworkChainTestnet" | "berachain" | "berachainBepolia" | "berachainTestnet" | "berachainTestnetbArtio" | "bevmMainnet" | "bifrost" | "birdlayer" | "bitgert" | "bitkub" | "bitkubTestnet" | "bitlayer" | "bitlayerTestnet" | "bitrock" | "bitTorrent" | "bitTorrentTestnet" | "blast" | "blastSepolia" | "bob" | "boba" | "bobaSepolia" | "bobSepolia" | "boolBetaMainnet" | "botanix" | "botanixTestnet" | "bounceBit" | "bounceBitTestnet" | "bronos" | "bronosTestnet" | "bscGreenfield" | "bscTestnet" | "bsquared" | "bsquaredTestnet" | "btr" | "btrTestnet" | "bxn" | "bxnTestnet" | "cannon" | "canto" | "celo" | "celoAlfajores" | "celoSepolia" | "chang" | "chiliz" | "chips" | "citrea" | "citreaTestnet" | "classic" | "codex" | "codexTestnet" | "coinbit" | "coinex" | "confluxESpace" | "confluxESpaceTestnet" | "coreDao" | "coreTestnet1" | "coreTestnet2" | "corn" | "cornTestnet" | "cpchain" | "crab" | "creatorTestnet" | "creditCoin3Devnet" | "creditCoin3Mainnet" | "creditCoin3Testnet" | "cronos" | "cronosTestnet" | "cronoszkEVM" | "cronoszkEVMTestnet" | "crossbell" | "crossfi" | "curtis" | "cyber" | "cyberTestnet" | "dailyNetwork" | "dailyNetworkTestnet" | "darwinia" | "datahavenTestnet" | "dbkchain" | "dchain" | "dchainTestnet" | "defichainEvm" | "defichainEvmTestnet" | "degen" | "dfk" | "diode" | "disChain" | "dodochainTestnet" | "dogechain" | "domaTestnet" | "donatuz" | "dosChain" | "dosChainTestnet" | "dreyerxMainnet" | "dreyerxTestnet" | "dustboyIoT" | "dymension" | "eden" | "edexa" | "edexaTestnet" | "edgeless" | "edgelessTestnet" | "edgeware" | "edgewareTestnet" | "eduChain" | "eduChainTestnet" | "elastos" | "elastosTestnet" | "electroneum" | "electroneumTestnet" | "elysiumTestnet" | "energy" | "eni" | "eniTestnet" | "enuls" | "eon" | "eos" | "eosTestnet" | "eteria" | "etherlink" | "etherlinkShadownetTestnet" | "etherlinkTestnet" | "ethernity" | "etp" | "evmos" | "evmosTestnet" | "excelonMainnet" | "expanse" | "exsat" | "exsatTestnet" | "fantom" | "fantomSonicTestnet" | "fantomTestnet" | "fibo" | "filecoin" | "filecoinCalibration" | "filecoinHyperspace" | "flame" | "flare" | "flareTestnet" | "flowMainnet" | "flowPreviewnet" | "flowTestnet" | "fluence" | "fluenceStage" | "fluenceTestnet" | "fluent" | "fluentDevnet" | "fluentTestnet" | "form" | "forma" | "formTestnet" | "forta" | "foundry" | "fraxtal" | "fraxtalTestnet" | "funkiMainnet" | "funkiSepolia" | "fuse" | "fuseSparknet" | "fusion" | "fusionTestnet" | "garnet" | "gatechain" | "geist" | "genesys" | "gensyn" | "giwaSepolia" | "giwaSepoliaPreconf" | "glideL1Protocol" | "glideL2Protocol" | "gnosis" | "gnosisChiado" | "goat" | "gobi" | "goChain" | "godwoken" | "goerli" | "graphite" | "graphiteTestnet" | "gravity" | "gunz" | "guruNetwork" | "guruTestnet" | "ham" | "happychainTestnet" | "haqqMainnet" | "haqqTestedge2" | "hardhat" | "harmonyOne" | "hashkey" | "hashkeyTestnet" | "haustTestnet" | "hedera" | "hederaPreviewnet" | "hederaTestnet" | "hela" | "heliosTestnet" | "hemi" | "hemiSepolia" | "henesys" | "holesky" | "hoodi" | "horizenTestnet" | "hpb" | "hpp" | "hppSepolia" | "huddle01Mainnet" | "huddle01Testnet" | "humanity" | "humanityTestnet" | "humanode" | "humanodeTestnet5" | "hychain" | "hychainTestnet" | "hyperEvm" | "hyperliquid" | "hyperliquidEvmTestnet" | "icbNetwork" | "idchain" | "igra" | "immutableZkEvm" | "immutableZkEvmTestnet" | "inEVM" | "initVerse" | "initVerseGenesis" | "injective" | "injectiveTestnet" | "ink" | "inkSepolia" | "iota" | "iotaTestnet" | "iotex" | "iotexTestnet" | "iSunCoin" | "jasmyChain" | "jasmyChainTestnet" | "jbc" | "jbcTestnet" | "jocMainnet" | "jocTestnet" | "jovay" | "jovaySepolia" | "juneo" | "juneoBCH1Chain" | "juneoDAI1Chain" | "juneoDOGE1Chain" | "juneoEUR1Chain" | "juneoGLD1Chain" | "juneoLINK1Chain" | "juneoLTC1Chain" | "juneomBTC1Chain" | "juneoSGD1Chain" | "juneoSocotraTestnet" | "juneoUSD1Chain" | "juneoUSDT1Chain" | "kaia" | "kairos" | "kakarotSepolia" | "kakarotStarknetSepolia" | "kardiaChain" | "karura" | "katana" | "kava" | "kavaTestnet" | "kcc" | "kii" | "kiiTestnetOro" | "kinto" | "klaytn" | "klaytnBaobab" | "koi" | "kroma" | "kromaSepolia" | "krown" | "l3x" | "l3xTestnet" | "lavita" | "lens" | "lensTestnet" | "lestnet" | "lightlinkPegasus" | "lightlinkPhoenix" | "linea" | "lineaGoerli" | "lineaSepolia" | "lineaTestnet" | "lisk" | "liskSepolia" | "loadAlphanet" | "localhost" | "loop" | "lukso" | "luksoTestnet" | "lumiaMainnet" | "lumiaTestnet" | "lumoz" | "lumozTestnet" | "luxeports" | "lycan" | "lyra" | "mandala" | "manta" | "mantaSepoliaTestnet" | "mantaTestnet" | "mantle" | "mantleSepoliaTestnet" | "mantleTestnet" | "mantraDuKongEVMTestnet" | "mantraEVM" | "mapProtocol" | "matchain" | "matchainTestnet" | "mchVerse" | "megaeth" | "megaethTestnet" | "mekong" | "meld" | "memecore" | "formicarium" | "merlin" | "merlinErigonTestnet" | "metachain" | "metachainIstanbul" | "metadium" | "metalL2" | "meter" | "meterTestnet" | "metis" | "metisGoerli" | "metisSepolia" | "mev" | "mevTestnet" | "mezo" | "mezoTestnet" | "mint" | "mintSepoliaTestnet" | "mitosisTestnet" | "modeTestnet" | "monad" | "monadTestnet" | "moonbaseAlpha" | "moonbeam" | "moonbeamDev" | "moonriver" | "morph" | "morphHolesky" | "morphSepolia" | "nahmii" | "nautilus" | "near" | "nearTestnet" | "neonDevnet" | "neonMainnet" | "neoxMainnet" | "neoxT4" | "newton" | "nexi" | "nexilix" | "nibiru" | "nitrographTestnet" | "nomina" | "oasisTestnet" | "oasys" | "odysseyTestnet" | "okc" | "omax" | "omni" | "omniOmega" | "oneWorld" | "oortMainnetDev" | "opBNB" | "opBNBTestnet" | "openledger" | "optimismGoerli" | "optimismSepolia" | "optopia" | "optopiaTestnet" | "orderly" | "orderlySepolia" | "otimDevnet" | "palm" | "palmTestnet" | "paseoPassetHub" | "peaq" | "pgn" | "pgnTestnet" | "phoenix" | "planq" | "plasma" | "plasmaDevnet" | "plasmaTestnet" | "playfiAlbireo" | "plinga" | "plume" | "plumeDevnet" | "plumeMainnet" | "plumeSepolia" | "plumeTestnet" | "polterTestnet" | "polygonAmoy" | "polygonMumbai" | "polygonZkEvm" | "polygonZkEvmCardona" | "polygonZkEvmTestnet" | "polynomial" | "polynomialSepolia" | "potos" | "potosTestnet" | "premiumBlockTestnet" | "pulsechain" | "pulsechainV4" | "pumpfiTestnet" | "pyrope" | "ql1" | "qMainnet" | "qTestnet" | "quai" | "quaiTestnet" | "radius" | "radiusTestnet" | "reactiveTestnet" | "real" | "redbellyMainnet" | "redbellyTestnet" | "reddio" | "reddioSepolia" | "redstone" | "rei" | "reyaNetwork" | "rise" | "riseTestnet" | "rivalz" | "rollux" | "rolluxTestnet" | "ronin" | "root" | "rootPorcini" | "rootstock" | "rootstockTestnet" | "rss3" | "rss3Sepolia" | "saakuru" | "saga" | "saigon" | "sanko" | "sapphire" | "sapphireTestnet" | "satoshiVM" | "satoshiVMTestnet" | "scroll" | "scrollSepolia" | "sei" | "seismicDevnet" | "seiTestnet" | "sepolia" | "shape" | "shapeSepolia" | "shardeum" | "shardeumSphinx" | "shibarium" | "shibariumTestnet" | "shiden" | "shimmer" | "shimmerTestnet" | "sidraChain" | "silentData" | "silicon" | "siliconSepolia" | "sixProtocol" | "skaleBlockBrawlers" | "skaleCalypso" | "skaleCalypsoTestnet" | "skaleCryptoBlades" | "skaleCryptoColosseum" | "skaleEuropa" | "skaleEuropaTestnet" | "skaleExorde" | "skaleHumanProtocol" | "skaleNebula" | "skaleNebulaTestnet" | "skaleRazor" | "skaleBase" | "skaleBaseSepoliaTestnet" | "skaleTitan" | "skaleTitanTestnet" | "sketchpad" | "snax" | "snaxTestnet" | "somnia" | "somniaTestnet" | "soneium" | "soneiumMinato" | "songbird" | "songbirdTestnet" | "sonic" | "sonicBlazeTestnet" | "sonicTestnet" | "sophon" | "sophonTestnet" | "sova" | "sovaSepolia" | "spicy" | "stable" | "stableTestnet" | "statusSepolia" | "statusNetworkSepolia" | "step" | "story" | "storyAeneid" | "storyOdyssey" | "storyTestnet" | "stratis" | "subtensorEvm" | "superlumio" | "superposition" | "superseed" | "superseedSepolia" | "surgeTestnet" | "swan" | "swanProximaTestnet" | "swanSaturnTestnet" | "swellchain" | "swellchainTestnet" | "swissdlt" | "syscoin" | "syscoinTestnet" | "tac" | "tacSPB" | "taiko" | "taikoHekla" | "taikoHoodi" | "taikoJolnir" | "taikoKatla" | "taikoTestnetSepolia" | "taraxa" | "taraxaTestnet" | "teaSepolia" | "telcoinTestnet" | "telos" | "telosTestnet" | "tempo" | "tempoMainnet" | "tempoDevnet" | "tempoLocalnet" | "tempoModerato" | "tempoTestnet" | "tenet" | "ternoa" | "thaiChain" | "that" | "theta" | "thetaTestnet" | "thunderCore" | "thunderTestnet" | "tiktrixTestnet" | "tomb" | "treasure" | "treasureTopaz" | "tron" | "tronNile" | "tronShasta" | "ubiq" | "ultra" | "ultraTestnet" | "ultron" | "ultronTestnet" | "unichain" | "unichainSepolia" | "unique" | "uniqueOpal" | "uniqueQuartz" | "unreal" | "vana" | "vanaMoksha" | "vanar" | "vechain" | "velas" | "viction" | "victionTestnet" | "vision" | "visionTestnet" | "wanchain" | "wanchainTestnet" | "weaveVMAlphanet" | "wemix" | "wemixTestnet" | "westendAssetHub" | "whitechain" | "whitechainTestnet" | "wmcTestnet" | "worldchain" | "worldchainSepolia" | "worldLand" | "xai" | "xaiTestnet" | "xdc" | "xdcTestnet" | "xgr" | "xLayer" | "x1Testnet" | "xLayerTestnet" | "xoneMainnet" | "xoneTestnet" | "xphereMainnet" | "xphereTestnet" | "xpla" | "xrOne" | "xrplevm" | "xrplevmDevnet" | "xrplevmTestnet" | "xrSepolia" | "yooldoVerse" | "yooldoVerseTestnet" | "zenchainTestnet" | "zeniq" | "zeroNetwork" | "zetachain" | "zetachainAthensTestnet" | "zhejiang" | "zilliqa" | "zilliqaTestnet" | "zircuit" | "zircuitGarfieldTestnet" | "zkFair" | "zkFairTestnet" | "zkLinkNova" | "zkLinkNovaSepoliaTestnet" | "zkSync" | "zkSyncInMemoryNode" | "zksyncInMemoryNode" | "zksyncLocalCustomHyperchain" | "zksyncLocalHyperchain" | "zksyncLocalHyperchainL1" | "zkSyncLocalNode" | "zksyncLocalNode" | "zkSyncSepoliaTestnet" | "zksyncSepoliaTestnet" | "zkXPLA" | "zkXPLATestnet" | "zora" | "zoraSepolia" | "zoraTestnet", unknown>>;
|
|
214
|
+
governor: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
export interface ExecuteProposalParams extends Proposal {
|
|
217
|
+
readonly chain: SupportedChain;
|
|
218
|
+
readonly governor: Address;
|
|
219
|
+
readonly proposalId: string;
|
|
220
|
+
}
|
|
221
|
+
export interface ProposeProposalParams extends Proposal {
|
|
222
|
+
readonly chain: SupportedChain;
|
|
223
|
+
readonly governor: Address;
|
|
224
|
+
}
|
|
225
|
+
export interface LiFiStatus {
|
|
226
|
+
readonly status: "PENDING" | "DONE" | "FAILED";
|
|
227
|
+
readonly substatus?: string;
|
|
228
|
+
readonly error?: Error;
|
|
229
|
+
}
|
|
230
|
+
export declare const LiFiStatusSchema: z.ZodObject<{
|
|
231
|
+
status: z.ZodEnum<{
|
|
232
|
+
PENDING: "PENDING";
|
|
233
|
+
DONE: "DONE";
|
|
234
|
+
FAILED: "FAILED";
|
|
235
|
+
}>;
|
|
236
|
+
substatus: z.ZodOptional<z.ZodString>;
|
|
237
|
+
error: z.ZodOptional<z.ZodCustom<Error, Error>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
export interface LiFiRoute {
|
|
240
|
+
readonly transactionHash: Hash;
|
|
241
|
+
readonly transactionData: Hex;
|
|
242
|
+
readonly toAddress: Address;
|
|
243
|
+
readonly status: LiFiStatus;
|
|
244
|
+
}
|
|
245
|
+
export interface TokenPriceResponse {
|
|
246
|
+
readonly priceUSD: string;
|
|
247
|
+
readonly token: TokenData;
|
|
248
|
+
}
|
|
249
|
+
export interface TokenListResponse {
|
|
250
|
+
readonly tokens: readonly TokenData[];
|
|
251
|
+
}
|
|
252
|
+
export interface ProviderError extends Error {
|
|
253
|
+
readonly code?: number;
|
|
254
|
+
readonly data?: Record<string, unknown>;
|
|
255
|
+
}
|
|
256
|
+
export declare const EVMErrorCode: {
|
|
257
|
+
readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS";
|
|
258
|
+
readonly USER_REJECTED: "USER_REJECTED";
|
|
259
|
+
readonly NETWORK_ERROR: "NETWORK_ERROR";
|
|
260
|
+
readonly CONTRACT_REVERT: "CONTRACT_REVERT";
|
|
261
|
+
readonly GAS_ESTIMATION_FAILED: "GAS_ESTIMATION_FAILED";
|
|
262
|
+
readonly INVALID_PARAMS: "INVALID_PARAMS";
|
|
263
|
+
readonly CHAIN_NOT_CONFIGURED: "CHAIN_NOT_CONFIGURED";
|
|
264
|
+
readonly WALLET_NOT_INITIALIZED: "WALLET_NOT_INITIALIZED";
|
|
265
|
+
};
|
|
266
|
+
export type EVMErrorCode = (typeof EVMErrorCode)[keyof typeof EVMErrorCode];
|
|
267
|
+
export declare class EVMError extends Error {
|
|
268
|
+
readonly code: EVMErrorCode;
|
|
269
|
+
readonly cause?: Error | undefined;
|
|
270
|
+
constructor(code: EVMErrorCode, message: string, cause?: Error | undefined);
|
|
271
|
+
}
|
|
272
|
+
export declare function assertDefined<T>(value: T | null | undefined, message: string): asserts value is T;
|
|
273
|
+
export declare function assertChainConfigured(chains: Record<string, Chain>, chainName: string): asserts chains is Record<string, Chain> & {
|
|
274
|
+
[K in typeof chainName]: Chain;
|
|
275
|
+
};
|
|
276
|
+
export declare function validateAddress(address: string): Address;
|
|
277
|
+
export declare function validateHash(hash: string): Hash;
|
|
278
|
+
export type { Address, Chain, Hash, Hex, Log } from "viem";
|
|
279
|
+
export interface KyberSwapRouteSummary {
|
|
280
|
+
amountOut: string;
|
|
281
|
+
amountOutUsd?: string;
|
|
282
|
+
gas?: string;
|
|
283
|
+
gasUsd?: string;
|
|
284
|
+
gasPrice?: string;
|
|
285
|
+
[key: string]: unknown;
|
|
286
|
+
}
|
|
287
|
+
export interface KyberSwapRouteData {
|
|
288
|
+
routeSummary: KyberSwapRouteSummary;
|
|
289
|
+
routerAddress: string;
|
|
290
|
+
chainSlug: string;
|
|
291
|
+
fromToken: string;
|
|
292
|
+
toToken: string;
|
|
293
|
+
amountIn: string;
|
|
294
|
+
slippageBps: number;
|
|
295
|
+
fromAddress: string;
|
|
296
|
+
}
|