@initia/initia.js 1.0.21 → 2.0.0-rc.1
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 +231 -163
- package/dist/abi-helpers-DdwdqhMQ.mjs +51 -0
- package/dist/abi-helpers-DdwdqhMQ.mjs.map +1 -0
- package/dist/address-DwAkzgJk.mjs +156 -0
- package/dist/address-DwAkzgJk.mjs.map +1 -0
- package/dist/address-profile-DjdaEBxo.d.mts +112 -0
- package/dist/address-profile-DlAFvgdg.mjs +241 -0
- package/dist/address-profile-DlAFvgdg.mjs.map +1 -0
- package/dist/amino-CMQN7Frn.mjs +220 -0
- package/dist/amino-CMQN7Frn.mjs.map +1 -0
- package/dist/amino_pb-Bi6YDY_U.mjs +88 -0
- package/dist/amino_pb-Bi6YDY_U.mjs.map +1 -0
- package/dist/amount-B0J9TTNF.mjs +90 -0
- package/dist/amount-B0J9TTNF.mjs.map +1 -0
- package/dist/any-DElm7qF7.mjs +19 -0
- package/dist/any-DElm7qF7.mjs.map +1 -0
- package/dist/auth_pb-DN4URGLh.mjs +26 -0
- package/dist/auth_pb-DN4URGLh.mjs.map +1 -0
- package/dist/auth_pb-DfXfdvrY.mjs +16 -0
- package/dist/auth_pb-DfXfdvrY.mjs.map +1 -0
- package/dist/base-provider-CLnd7kte.d.mts +68 -0
- package/dist/base-provider-LNp6K7Mt.mjs +96 -0
- package/dist/base-provider-LNp6K7Mt.mjs.map +1 -0
- package/dist/bcs-DiRcL4n9.mjs +533 -0
- package/dist/bcs-DiRcL4n9.mjs.map +1 -0
- package/dist/bridge-DL-q-7P7.mjs +1222 -0
- package/dist/bridge-DL-q-7P7.mjs.map +1 -0
- package/dist/bridge-cQoOjppA.d.mts +606 -0
- package/dist/broadcast-De8MdmYa.mjs +974 -0
- package/dist/broadcast-De8MdmYa.mjs.map +1 -0
- package/dist/chain-utils-C61cU5nd.mjs +139 -0
- package/dist/chain-utils-C61cU5nd.mjs.map +1 -0
- package/dist/codegen/cli.d.mts +1 -0
- package/dist/codegen/cli.mjs +274 -0
- package/dist/codegen/cli.mjs.map +1 -0
- package/dist/coin-DPWbtAFA.mjs +543 -0
- package/dist/coin-DPWbtAFA.mjs.map +1 -0
- package/dist/coin_pb--WuIu4sX.mjs +25 -0
- package/dist/coin_pb--WuIu4sX.mjs.map +1 -0
- package/dist/composite-provider-DbxNrdny.mjs +203 -0
- package/dist/composite-provider-DbxNrdny.mjs.map +1 -0
- package/dist/constants-W6V0E-3W.mjs +42 -0
- package/dist/constants-W6V0E-3W.mjs.map +1 -0
- package/dist/contract-Dpvu4wLO.mjs +657 -0
- package/dist/contract-Dpvu4wLO.mjs.map +1 -0
- package/dist/cosmos-Bqh8qNfP.mjs +540 -0
- package/dist/cosmos-Bqh8qNfP.mjs.map +1 -0
- package/dist/cosmos-registry-provider-DCrEEhJ-.d.mts +123 -0
- package/dist/cw20-BTpdgMXC.mjs +63 -0
- package/dist/cw20-BTpdgMXC.mjs.map +1 -0
- package/dist/decode-CXGawqIZ.mjs +29 -0
- package/dist/decode-CXGawqIZ.mjs.map +1 -0
- package/dist/entry.bridge.browser.d.mts +21 -0
- package/dist/entry.bridge.browser.mjs +25 -0
- package/dist/entry.bridge.browser.mjs.map +1 -0
- package/dist/entry.bridge.node.d.mts +21 -0
- package/dist/entry.bridge.node.mjs +25 -0
- package/dist/entry.bridge.node.mjs.map +1 -0
- package/dist/entry.browser.d.mts +49 -0
- package/dist/entry.browser.mjs +46 -0
- package/dist/entry.browser.mjs.map +1 -0
- package/dist/entry.chain.initia.browser.d.mts +8 -0
- package/dist/entry.chain.initia.browser.mjs +17 -0
- package/dist/entry.chain.initia.browser.mjs.map +1 -0
- package/dist/entry.chain.initia.node.d.mts +8 -0
- package/dist/entry.chain.initia.node.mjs +17 -0
- package/dist/entry.chain.initia.node.mjs.map +1 -0
- package/dist/entry.chain.minievm.browser.d.mts +8 -0
- package/dist/entry.chain.minievm.browser.mjs +17 -0
- package/dist/entry.chain.minievm.browser.mjs.map +1 -0
- package/dist/entry.chain.minievm.node.d.mts +8 -0
- package/dist/entry.chain.minievm.node.mjs +17 -0
- package/dist/entry.chain.minievm.node.mjs.map +1 -0
- package/dist/entry.chain.minimove.browser.d.mts +8 -0
- package/dist/entry.chain.minimove.browser.mjs +17 -0
- package/dist/entry.chain.minimove.browser.mjs.map +1 -0
- package/dist/entry.chain.minimove.node.d.mts +8 -0
- package/dist/entry.chain.minimove.node.mjs +17 -0
- package/dist/entry.chain.minimove.node.mjs.map +1 -0
- package/dist/entry.chain.miniwasm.browser.d.mts +8 -0
- package/dist/entry.chain.miniwasm.browser.mjs +17 -0
- package/dist/entry.chain.miniwasm.browser.mjs.map +1 -0
- package/dist/entry.chain.miniwasm.node.d.mts +8 -0
- package/dist/entry.chain.miniwasm.node.mjs +17 -0
- package/dist/entry.chain.miniwasm.node.mjs.map +1 -0
- package/dist/entry.client.browser.d.mts +3 -0
- package/dist/entry.client.browser.mjs +6 -0
- package/dist/entry.client.node-clFi8rmF.d.mts +1 -0
- package/dist/entry.client.node.d.mts +3 -0
- package/dist/entry.client.node.mjs +6 -0
- package/dist/entry.codegen.d.mts +251 -0
- package/dist/entry.codegen.mjs +2 -0
- package/dist/entry.cosmos.d.mts +2 -0
- package/dist/entry.cosmos.mjs +355 -0
- package/dist/entry.cosmos.mjs.map +1 -0
- package/dist/entry.events.d.mts +338 -0
- package/dist/entry.events.mjs +383 -0
- package/dist/entry.events.mjs.map +1 -0
- package/dist/entry.evm.d.mts +544 -0
- package/dist/entry.evm.mjs +761 -0
- package/dist/entry.evm.mjs.map +1 -0
- package/dist/entry.modules.d.mts +2 -0
- package/dist/entry.modules.mjs +7 -0
- package/dist/entry.move.d.mts +523 -0
- package/dist/entry.move.mjs +7 -0
- package/dist/entry.msgs.d.mts +2 -0
- package/dist/entry.msgs.mjs +3 -0
- package/dist/entry.node.d.mts +118 -0
- package/dist/entry.node.mjs +278 -0
- package/dist/entry.node.mjs.map +1 -0
- package/dist/entry.provider.d.mts +355 -0
- package/dist/entry.provider.mjs +416 -0
- package/dist/entry.provider.mjs.map +1 -0
- package/dist/entry.signer.d.mts +2 -0
- package/dist/entry.signer.mjs +674 -0
- package/dist/entry.signer.mjs.map +1 -0
- package/dist/entry.tx.d.mts +2 -0
- package/dist/entry.tx.mjs +6 -0
- package/dist/entry.usernames.d.mts +42 -0
- package/dist/entry.usernames.mjs +2 -0
- package/dist/entry.util.d.mts +103 -0
- package/dist/entry.util.mjs +70 -0
- package/dist/entry.util.mjs.map +1 -0
- package/dist/entry.vip.d.mts +1917 -0
- package/dist/entry.vip.mjs +3793 -0
- package/dist/entry.vip.mjs.map +1 -0
- package/dist/entry.wasm.d.mts +447 -0
- package/dist/entry.wasm.mjs +600 -0
- package/dist/entry.wasm.mjs.map +1 -0
- package/dist/erc20-CDs3j7vt.mjs +168 -0
- package/dist/erc20-CDs3j7vt.mjs.map +1 -0
- package/dist/errors-CN1MFOLv.mjs +253 -0
- package/dist/errors-CN1MFOLv.mjs.map +1 -0
- package/dist/evm-rpc-BxpgXIAF.mjs +338 -0
- package/dist/evm-rpc-BxpgXIAF.mjs.map +1 -0
- package/dist/fetch-Bq_aay6V.mjs +55 -0
- package/dist/fetch-Bq_aay6V.mjs.map +1 -0
- package/dist/fungible-asset-aHBTYpoT.mjs +64 -0
- package/dist/fungible-asset-aHBTYpoT.mjs.map +1 -0
- package/dist/get-tx-0P40z_A4.mjs +99 -0
- package/dist/get-tx-0P40z_A4.mjs.map +1 -0
- package/dist/grpc-client-DGyZjGcT.mjs +254 -0
- package/dist/grpc-client-DGyZjGcT.mjs.map +1 -0
- package/dist/hash-D40mxOlF.mjs +14 -0
- package/dist/hash-D40mxOlF.mjs.map +1 -0
- package/dist/hash-Doo89wm3.d.mts +31 -0
- package/dist/headers-CMO7ia_D.mjs +83 -0
- package/dist/headers-CMO7ia_D.mjs.map +1 -0
- package/dist/http-client-BrdVurTg.mjs +40 -0
- package/dist/http-client-BrdVurTg.mjs.map +1 -0
- package/dist/initia-B8l_x6sT.mjs +426 -0
- package/dist/initia-B8l_x6sT.mjs.map +1 -0
- package/dist/initia-Cj4bZ1dR.mjs +26 -0
- package/dist/initia-Cj4bZ1dR.mjs.map +1 -0
- package/dist/json-CGak0DqP.mjs +41 -0
- package/dist/json-CGak0DqP.mjs.map +1 -0
- package/dist/minievm-BAnGHa00.mjs +39 -0
- package/dist/minievm-BAnGHa00.mjs.map +1 -0
- package/dist/minievm-DZ8AhnD8.mjs +61 -0
- package/dist/minievm-DZ8AhnD8.mjs.map +1 -0
- package/dist/minimove-B8U85g-_.mjs +23 -0
- package/dist/minimove-B8U85g-_.mjs.map +1 -0
- package/dist/minimove-BBXTyhIv.mjs +24 -0
- package/dist/minimove-BBXTyhIv.mjs.map +1 -0
- package/dist/miniwasm-CB0XfStg.mjs +50 -0
- package/dist/miniwasm-CB0XfStg.mjs.map +1 -0
- package/dist/miniwasm-QdyYzmQ1.mjs +139 -0
- package/dist/miniwasm-QdyYzmQ1.mjs.map +1 -0
- package/dist/move-BaCv0oRX.mjs +64 -0
- package/dist/move-BaCv0oRX.mjs.map +1 -0
- package/dist/msg_pb-DxYxctLM.mjs +11 -0
- package/dist/msg_pb-DxYxctLM.mjs.map +1 -0
- package/dist/pagination_pb-DlkDYAcN.mjs +18 -0
- package/dist/pagination_pb-DlkDYAcN.mjs.map +1 -0
- package/dist/public-key-DV-uGaUC.mjs +550 -0
- package/dist/public-key-DV-uGaUC.mjs.map +1 -0
- package/dist/query_pb-cZ3szo3y.mjs +20 -0
- package/dist/query_pb-cZ3szo3y.mjs.map +1 -0
- package/dist/registry-provider-NzblVZQr.mjs +368 -0
- package/dist/registry-provider-NzblVZQr.mjs.map +1 -0
- package/dist/resolve-DdtY7KDz.mjs +50 -0
- package/dist/resolve-DdtY7KDz.mjs.map +1 -0
- package/dist/rolldown-runtime-wcPFST8Q.mjs +13 -0
- package/dist/service-BaMjxPNo.mjs +412 -0
- package/dist/service-BaMjxPNo.mjs.map +1 -0
- package/dist/service-CVFxsMp_.d.mts +151 -0
- package/dist/service_pb-Be-O-2-c.mjs +121 -0
- package/dist/service_pb-Be-O-2-c.mjs.map +1 -0
- package/dist/sign-DqagxLcg.mjs +212 -0
- package/dist/sign-DqagxLcg.mjs.map +1 -0
- package/dist/transport-common-BsPYcFQl.mjs +182 -0
- package/dist/transport-common-BsPYcFQl.mjs.map +1 -0
- package/dist/transport.browser-CCUWv3ta.mjs +31 -0
- package/dist/transport.browser-CCUWv3ta.mjs.map +1 -0
- package/dist/transport.node-DXcJtCnx.mjs +33 -0
- package/dist/transport.node-DXcJtCnx.mjs.map +1 -0
- package/dist/tx_pb-BJzY8SXE.mjs +38 -0
- package/dist/tx_pb-BJzY8SXE.mjs.map +1 -0
- package/dist/tx_pb-BVCXH992.mjs +39 -0
- package/dist/tx_pb-BVCXH992.mjs.map +1 -0
- package/dist/tx_pb-CnFNMLIq.mjs +107 -0
- package/dist/tx_pb-CnFNMLIq.mjs.map +1 -0
- package/dist/tx_pb-DYspoJTt.mjs +50 -0
- package/dist/tx_pb-DYspoJTt.mjs.map +1 -0
- package/dist/tx_pb-u3CoQYge.mjs +79 -0
- package/dist/tx_pb-u3CoQYge.mjs.map +1 -0
- package/dist/typed-context-Cg0If0M9.mjs +118 -0
- package/dist/typed-context-Cg0If0M9.mjs.map +1 -0
- package/dist/types-CLfdsa48.mjs +41 -0
- package/dist/types-CLfdsa48.mjs.map +1 -0
- package/dist/types-CSS5rfW1.mjs +303 -0
- package/dist/types-CSS5rfW1.mjs.map +1 -0
- package/dist/types-DGrP9Ro_.d.mts +39609 -0
- package/dist/types_pb-CrjtO9sB.mjs +21 -0
- package/dist/types_pb-CrjtO9sB.mjs.map +1 -0
- package/dist/types_pb-K7pKBvcg.mjs +1433 -0
- package/dist/types_pb-K7pKBvcg.mjs.map +1 -0
- package/dist/utils-B2carKSi.mjs +2 -0
- package/dist/waiting-BigHYRNN.mjs +1081 -0
- package/dist/waiting-BigHYRNN.mjs.map +1 -0
- package/dist/wasm-DdunGtLM.mjs +396 -0
- package/dist/wasm-DdunGtLM.mjs.map +1 -0
- package/package.json +195 -66
- package/dist/client/WebSocketClient.d.ts +0 -30
- package/dist/client/index.d.ts +0 -5
- package/dist/client/rest/APIRequester.d.ts +0 -27
- package/dist/client/rest/RESTClient.d.ts +0 -48
- package/dist/client/rest/Wallet.d.ts +0 -26
- package/dist/client/rest/api/AuctionAPI.d.ts +0 -6
- package/dist/client/rest/api/AuthAPI.d.ts +0 -8
- package/dist/client/rest/api/AuthzAPI.d.ts +0 -8
- package/dist/client/rest/api/BankAPI.d.ts +0 -10
- package/dist/client/rest/api/BaseAPI.d.ts +0 -5
- package/dist/client/rest/api/DistributionAPI.d.ts +0 -35
- package/dist/client/rest/api/EvidenceAPI.d.ts +0 -7
- package/dist/client/rest/api/EvmAPI.d.ts +0 -45
- package/dist/client/rest/api/FeeGrantAPI.d.ts +0 -22
- package/dist/client/rest/api/ForwardingAPI.d.ts +0 -20
- package/dist/client/rest/api/GovAPI.d.ts +0 -12
- package/dist/client/rest/api/GroupAPI.d.ts +0 -19
- package/dist/client/rest/api/IbcAPI.d.ts +0 -48
- package/dist/client/rest/api/IbcHooksAPI.d.ts +0 -8
- package/dist/client/rest/api/IbcNftAPI.d.ts +0 -11
- package/dist/client/rest/api/IbcPermAPI.d.ts +0 -12
- package/dist/client/rest/api/IbcTransferAPI.d.ts +0 -10
- package/dist/client/rest/api/InterTxAPI.d.ts +0 -6
- package/dist/client/rest/api/MarketmapAPI.d.ts +0 -18
- package/dist/client/rest/api/MoveAPI.d.ts +0 -62
- package/dist/client/rest/api/MstakingAPI.d.ts +0 -28
- package/dist/client/rest/api/OpchildAPI.d.ts +0 -23
- package/dist/client/rest/api/OphostAPI.d.ts +0 -34
- package/dist/client/rest/api/OracleAPI.d.ts +0 -22
- package/dist/client/rest/api/RewardAPI.d.ts +0 -8
- package/dist/client/rest/api/SlashingAPI.d.ts +0 -8
- package/dist/client/rest/api/TendermintAPI.d.ts +0 -16
- package/dist/client/rest/api/TokenfactoryAPI.d.ts +0 -12
- package/dist/client/rest/api/TxAPI.d.ts +0 -190
- package/dist/client/rest/api/UpgradeAPI.d.ts +0 -18
- package/dist/client/rest/api/WasmAPI.d.ts +0 -78
- package/dist/client/rest/api/index.d.ts +0 -30
- package/dist/core/Block.d.ts +0 -55
- package/dist/core/Coin.d.ts +0 -42
- package/dist/core/Coins.d.ts +0 -45
- package/dist/core/Denom.d.ts +0 -1
- package/dist/core/Duration.d.ts +0 -19
- package/dist/core/Msg.d.ts +0 -45
- package/dist/core/PublicKey.d.ts +0 -122
- package/dist/core/auction/AuctionParams.d.ts +0 -41
- package/dist/core/auction/index.d.ts +0 -2
- package/dist/core/auction/msgs/MsgAuctionBid.d.ts +0 -36
- package/dist/core/auction/msgs/MsgUpdateAuctionParams.d.ts +0 -33
- package/dist/core/auction/msgs/index.d.ts +0 -10
- package/dist/core/auth/Account.d.ts +0 -12
- package/dist/core/auth/AuthParams.d.ts +0 -37
- package/dist/core/auth/BaseAccount.d.ts +0 -45
- package/dist/core/auth/ModuleAccount.d.ts +0 -39
- package/dist/core/auth/index.d.ts +0 -5
- package/dist/core/auth/msgs/MsgUpdateAuthParams.d.ts +0 -33
- package/dist/core/auth/msgs/index.d.ts +0 -8
- package/dist/core/authz/authorizations/Authorization.d.ts +0 -42
- package/dist/core/authz/authorizations/CallAuthorization.d.ts +0 -28
- package/dist/core/authz/authorizations/ExecuteAuthorization.d.ts +0 -54
- package/dist/core/authz/authorizations/GenericAuthorization.d.ts +0 -28
- package/dist/core/authz/authorizations/PublishAuthorization.d.ts +0 -28
- package/dist/core/authz/authorizations/SendAuthorization.d.ts +0 -33
- package/dist/core/authz/authorizations/StakeAuthorization.d.ts +0 -60
- package/dist/core/authz/authorizations/index.d.ts +0 -7
- package/dist/core/authz/index.d.ts +0 -2
- package/dist/core/authz/msgs/MsgExecAuthorized.d.ts +0 -33
- package/dist/core/authz/msgs/MsgGrantAuthorization.d.ts +0 -36
- package/dist/core/authz/msgs/MsgRevokeAuthorization.d.ts +0 -35
- package/dist/core/authz/msgs/index.d.ts +0 -12
- package/dist/core/bank/BankParams.d.ts +0 -29
- package/dist/core/bank/DenomMetadata.d.ts +0 -43
- package/dist/core/bank/DenomUnit.d.ts +0 -28
- package/dist/core/bank/SendEnabled.d.ts +0 -25
- package/dist/core/bank/index.d.ts +0 -5
- package/dist/core/bank/msgs/MsgMultiSend.d.ts +0 -78
- package/dist/core/bank/msgs/MsgSend.d.ts +0 -36
- package/dist/core/bank/msgs/MsgSetDenomMetadata.d.ts +0 -33
- package/dist/core/bank/msgs/MsgSetSendEnabled.d.ts +0 -37
- package/dist/core/bank/msgs/MsgUpdateBankParams.d.ts +0 -33
- package/dist/core/bank/msgs/index.d.ts +0 -16
- package/dist/core/bech32.d.ts +0 -27
- package/dist/core/celestia/Blob.d.ts +0 -24
- package/dist/core/celestia/BlobTx.d.ts +0 -25
- package/dist/core/celestia/index.d.ts +0 -3
- package/dist/core/celestia/msgs/MsgPayForBlobs.d.ts +0 -31
- package/dist/core/celestia/msgs/index.d.ts +0 -7
- package/dist/core/consensus/ABCIParams.d.ts +0 -21
- package/dist/core/consensus/BlockParams.d.ts +0 -24
- package/dist/core/consensus/EvidenceParams.d.ts +0 -28
- package/dist/core/consensus/ValidatorParams.d.ts +0 -21
- package/dist/core/consensus/index.d.ts +0 -5
- package/dist/core/consensus/msgs/MsgUpdateConsensusParams.d.ts +0 -45
- package/dist/core/consensus/msgs/index.d.ts +0 -8
- package/dist/core/crisis/index.d.ts +0 -1
- package/dist/core/crisis/msgs/MsgUpdateCrisisParams.d.ts +0 -33
- package/dist/core/crisis/msgs/MsgVerifyInvariant.d.ts +0 -35
- package/dist/core/crisis/msgs/index.d.ts +0 -10
- package/dist/core/distribution/DistributionParams.d.ts +0 -32
- package/dist/core/distribution/RewardWeight.d.ts +0 -25
- package/dist/core/distribution/index.d.ts +0 -3
- package/dist/core/distribution/msgs/MsgCommunityPoolSpend.d.ts +0 -36
- package/dist/core/distribution/msgs/MsgDepositValidatorRewardsPool.d.ts +0 -40
- package/dist/core/distribution/msgs/MsgFundCommunityPool.d.ts +0 -33
- package/dist/core/distribution/msgs/MsgSetWithdrawAddress.d.ts +0 -32
- package/dist/core/distribution/msgs/MsgUpdateDistrParams.d.ts +0 -33
- package/dist/core/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +0 -32
- package/dist/core/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +0 -29
- package/dist/core/distribution/msgs/index.d.ts +0 -20
- package/dist/core/evidence/Equivocation.d.ts +0 -38
- package/dist/core/evidence/Evidence.d.ts +0 -11
- package/dist/core/evidence/index.d.ts +0 -3
- package/dist/core/evidence/msgs/MsgSubmitEvidence.d.ts +0 -33
- package/dist/core/evidence/msgs/index.d.ts +0 -8
- package/dist/core/evm/AccessTuple.d.ts +0 -25
- package/dist/core/evm/EvmParams.d.ts +0 -43
- package/dist/core/evm/GasEnforcement.d.ts +0 -27
- package/dist/core/evm/SetCodeAuthorization.d.ts +0 -30
- package/dist/core/evm/index.d.ts +0 -5
- package/dist/core/evm/msgs/MsgCall.d.ts +0 -46
- package/dist/core/evm/msgs/MsgCreate.d.ts +0 -39
- package/dist/core/evm/msgs/MsgCreate2.d.ts +0 -42
- package/dist/core/evm/msgs/MsgUpdateEvmParams.d.ts +0 -33
- package/dist/core/evm/msgs/index.d.ts +0 -14
- package/dist/core/feegrant/allowances/AllowedMsgAllowance.d.ts +0 -33
- package/dist/core/feegrant/allowances/BasicAllowance.d.ts +0 -32
- package/dist/core/feegrant/allowances/PeriodicAllowance.d.ts +0 -43
- package/dist/core/feegrant/allowances/index.d.ts +0 -16
- package/dist/core/feegrant/index.d.ts +0 -2
- package/dist/core/feegrant/msgs/MsgGrantAllowance.d.ts +0 -36
- package/dist/core/feegrant/msgs/MsgRevokeAllowance.d.ts +0 -32
- package/dist/core/feegrant/msgs/index.d.ts +0 -10
- package/dist/core/forwarding/index.d.ts +0 -1
- package/dist/core/forwarding/msgs/MsgClearForwardingAccount.d.ts +0 -32
- package/dist/core/forwarding/msgs/MsgRegisterForwardingAccount.d.ts +0 -38
- package/dist/core/forwarding/msgs/MsgSetAllowedDenoms.d.ts +0 -32
- package/dist/core/forwarding/msgs/MsgSetMemo.d.ts +0 -44
- package/dist/core/forwarding/msgs/index.d.ts +0 -14
- package/dist/core/gov/Deposit.d.ts +0 -29
- package/dist/core/gov/GovParams.d.ts +0 -85
- package/dist/core/gov/TallyResult.d.ts +0 -36
- package/dist/core/gov/Vesting.d.ts +0 -28
- package/dist/core/gov/Vote.d.ts +0 -55
- package/dist/core/gov/index.d.ts +0 -6
- package/dist/core/gov/msgs/MsgActivateEmergencyProposal.d.ts +0 -32
- package/dist/core/gov/msgs/MsgAddEmergencySubmitters.d.ts +0 -32
- package/dist/core/gov/msgs/MsgCancelProposal.d.ts +0 -32
- package/dist/core/gov/msgs/MsgDeposit.d.ts +0 -36
- package/dist/core/gov/msgs/MsgDepositLegacy.d.ts +0 -36
- package/dist/core/gov/msgs/MsgRemoveEmergencySubmitters.d.ts +0 -32
- package/dist/core/gov/msgs/MsgSubmitProposal.d.ts +0 -49
- package/dist/core/gov/msgs/MsgSubmitProposalLegacy.d.ts +0 -37
- package/dist/core/gov/msgs/MsgUpdateGovParams.d.ts +0 -33
- package/dist/core/gov/msgs/MsgVote.d.ts +0 -41
- package/dist/core/gov/msgs/MsgVoteLegacy.d.ts +0 -38
- package/dist/core/gov/msgs/MsgVoteWeighted.d.ts +0 -39
- package/dist/core/gov/msgs/MsgVoteWeightedLegacy.d.ts +0 -36
- package/dist/core/gov/msgs/index.d.ts +0 -32
- package/dist/core/gov/proposals/Content.d.ts +0 -12
- package/dist/core/gov/proposals/Proposal.d.ts +0 -79
- package/dist/core/gov/proposals/TextProposal.d.ts +0 -31
- package/dist/core/gov/proposals/index.d.ts +0 -3
- package/dist/core/group/GroupInfo.d.ts +0 -37
- package/dist/core/group/GroupMember.d.ts +0 -78
- package/dist/core/group/GroupPolicyInfo.d.ts +0 -41
- package/dist/core/group/GroupProposal.d.ts +0 -82
- package/dist/core/group/GroupVote.d.ts +0 -36
- package/dist/core/group/index.d.ts +0 -7
- package/dist/core/group/msgs/MsgCreateGroup.d.ts +0 -36
- package/dist/core/group/msgs/MsgCreateGroupPolicy.d.ts +0 -39
- package/dist/core/group/msgs/MsgCreateGroupWithPolicy.d.ts +0 -46
- package/dist/core/group/msgs/MsgGroupExec.d.ts +0 -32
- package/dist/core/group/msgs/MsgGroupVote.d.ts +0 -46
- package/dist/core/group/msgs/MsgLeaveGroup.d.ts +0 -32
- package/dist/core/group/msgs/MsgSubmitGroupProposal.d.ts +0 -50
- package/dist/core/group/msgs/MsgUpdateGroupAdmin.d.ts +0 -35
- package/dist/core/group/msgs/MsgUpdateGroupDecisionPolicy.d.ts +0 -36
- package/dist/core/group/msgs/MsgUpdateGroupMembers.d.ts +0 -36
- package/dist/core/group/msgs/MsgUpdateGroupMetadata.d.ts +0 -35
- package/dist/core/group/msgs/MsgUpdateGroupPolicyAdmin.d.ts +0 -35
- package/dist/core/group/msgs/MsgUpdateGroupPolicyMetadata.d.ts +0 -35
- package/dist/core/group/msgs/MsgWithdrawProposal.d.ts +0 -32
- package/dist/core/group/msgs/index.d.ts +0 -32
- package/dist/core/group/policies/DecisionPolicyWindows.d.ts +0 -25
- package/dist/core/group/policies/PercentageDecisionPolicy.d.ts +0 -32
- package/dist/core/group/policies/ThresholdDecisionPolicy.d.ts +0 -32
- package/dist/core/group/policies/index.d.ts +0 -15
- package/dist/core/ibc/applications/fee/IbcFee.d.ts +0 -28
- package/dist/core/ibc/applications/fee/IdentifiedPacketFee.d.ts +0 -26
- package/dist/core/ibc/applications/fee/Metadata.d.ts +0 -24
- package/dist/core/ibc/applications/fee/PacketFee.d.ts +0 -29
- package/dist/core/ibc/applications/fee/index.d.ts +0 -5
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFee.d.ts +0 -31
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFeeAsync.d.ts +0 -26
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.d.ts +0 -28
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterPayee.d.ts +0 -28
- package/dist/core/ibc/applications/fee/msgs/index.d.ts +0 -13
- package/dist/core/ibc/applications/index.d.ts +0 -4
- package/dist/core/ibc/applications/interchain-account/Account.d.ts +0 -25
- package/dist/core/ibc/applications/interchain-account/Metadata.d.ts +0 -36
- package/dist/core/ibc/applications/interchain-account/controller/Params.d.ts +0 -21
- package/dist/core/ibc/applications/interchain-account/host/Params.d.ts +0 -24
- package/dist/core/ibc/applications/interchain-account/index.d.ts +0 -4
- package/dist/core/ibc/applications/nft-transfer/IbcNftParams.d.ts +0 -28
- package/dist/core/ibc/applications/nft-transfer/NftClassTrace.d.ts +0 -24
- package/dist/core/ibc/applications/nft-transfer/NonFungibleTokenPacketData.d.ts +0 -45
- package/dist/core/ibc/applications/nft-transfer/index.d.ts +0 -4
- package/dist/core/ibc/applications/nft-transfer/msgs/MsgNftTransfer.d.ts +0 -54
- package/dist/core/ibc/applications/nft-transfer/msgs/MsgUpdateIbcNftParams.d.ts +0 -33
- package/dist/core/ibc/applications/nft-transfer/msgs/index.d.ts +0 -10
- package/dist/core/ibc/applications/perm/index.d.ts +0 -1
- package/dist/core/ibc/applications/perm/msgs/MsgUpdateIbcPermAdmin.d.ts +0 -38
- package/dist/core/ibc/applications/perm/msgs/MsgUpdatePermissionedRelayers.d.ts +0 -38
- package/dist/core/ibc/applications/perm/msgs/index.d.ts +0 -10
- package/dist/core/ibc/applications/transfer/DenomTrace.d.ts +0 -24
- package/dist/core/ibc/applications/transfer/FungibleTokenPacketData.d.ts +0 -33
- package/dist/core/ibc/applications/transfer/IbcTransferParams.d.ts +0 -24
- package/dist/core/ibc/applications/transfer/authorizations/Allocation.d.ts +0 -34
- package/dist/core/ibc/applications/transfer/authorizations/TransferAuthorization.d.ts +0 -23
- package/dist/core/ibc/applications/transfer/authorizations/index.d.ts +0 -2
- package/dist/core/ibc/applications/transfer/index.d.ts +0 -5
- package/dist/core/ibc/applications/transfer/msgs/MsgTransfer.d.ts +0 -52
- package/dist/core/ibc/applications/transfer/msgs/MsgUpdateIbcTransferParams.d.ts +0 -26
- package/dist/core/ibc/applications/transfer/msgs/index.d.ts +0 -10
- package/dist/core/ibc/core/channel/Channel.d.ts +0 -39
- package/dist/core/ibc/core/channel/ChannelCounterparty.d.ts +0 -24
- package/dist/core/ibc/core/channel/ChannelOrder.d.ts +0 -3
- package/dist/core/ibc/core/channel/ChannelState.d.ts +0 -3
- package/dist/core/ibc/core/channel/ErrorReceipt.d.ts +0 -20
- package/dist/core/ibc/core/channel/IbcChannelParams.d.ts +0 -22
- package/dist/core/ibc/core/channel/IdentifiedChannel.d.ts +0 -45
- package/dist/core/ibc/core/channel/Packet.d.ts +0 -43
- package/dist/core/ibc/core/channel/PacketId.d.ts +0 -27
- package/dist/core/ibc/core/channel/Timeout.d.ts +0 -25
- package/dist/core/ibc/core/channel/Upgrade.d.ts +0 -24
- package/dist/core/ibc/core/channel/UpgradeFields.d.ts +0 -23
- package/dist/core/ibc/core/channel/index.d.ts +0 -13
- package/dist/core/ibc/core/channel/msgs/MsgChannelCloseConfirm.d.ts +0 -32
- package/dist/core/ibc/core/channel/msgs/MsgChannelCloseInit.d.ts +0 -27
- package/dist/core/ibc/core/channel/msgs/MsgChannelOpenAck.d.ts +0 -36
- package/dist/core/ibc/core/channel/msgs/MsgChannelOpenConfirm.d.ts +0 -32
- package/dist/core/ibc/core/channel/msgs/MsgChannelOpenInit.d.ts +0 -28
- package/dist/core/ibc/core/channel/msgs/MsgChannelOpenTry.d.ts +0 -36
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeAck.d.ts +0 -37
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeCancel.d.ts +0 -35
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeConfirm.d.ts +0 -40
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeInit.d.ts +0 -30
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeOpen.d.ts +0 -37
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeTimeout.d.ts +0 -35
- package/dist/core/ibc/core/channel/msgs/MsgChannelUpgradeTry.d.ts +0 -41
- package/dist/core/ibc/core/channel/msgs/MsgRecvAcknowledgement.d.ts +0 -32
- package/dist/core/ibc/core/channel/msgs/MsgRecvPacket.d.ts +0 -30
- package/dist/core/ibc/core/channel/msgs/MsgTimeout.d.ts +0 -32
- package/dist/core/ibc/core/channel/msgs/MsgTimeoutClose.d.ts +0 -34
- package/dist/core/ibc/core/channel/msgs/MsgUpdateIbcChannelParams.d.ts +0 -26
- package/dist/core/ibc/core/channel/msgs/index.d.ts +0 -41
- package/dist/core/ibc/core/client/ClientConsensusStates.d.ts +0 -25
- package/dist/core/ibc/core/client/ConsensusStateWithHeight.d.ts +0 -25
- package/dist/core/ibc/core/client/Height.d.ts +0 -24
- package/dist/core/ibc/core/client/IbcClientParams.d.ts +0 -21
- package/dist/core/ibc/core/client/IdentifiedClient.d.ts +0 -24
- package/dist/core/ibc/core/client/index.d.ts +0 -6
- package/dist/core/ibc/core/client/msgs/MsgCreateClient.d.ts +0 -27
- package/dist/core/ibc/core/client/msgs/MsgIBCSoftwareUpgrade.d.ts +0 -28
- package/dist/core/ibc/core/client/msgs/MsgRecoverClient.d.ts +0 -27
- package/dist/core/ibc/core/client/msgs/MsgSubmitMisbehaviour.d.ts +0 -27
- package/dist/core/ibc/core/client/msgs/MsgUpdateClient.d.ts +0 -27
- package/dist/core/ibc/core/client/msgs/MsgUpdateIbcClientParams.d.ts +0 -26
- package/dist/core/ibc/core/client/msgs/MsgUpgradeClient.d.ts +0 -33
- package/dist/core/ibc/core/client/msgs/index.d.ts +0 -19
- package/dist/core/ibc/core/client/msgs/tendermint/crypto.d.ts +0 -43
- package/dist/core/ibc/core/client/msgs/tendermint/types.d.ts +0 -187
- package/dist/core/ibc/core/client/msgs/tendermint/version.d.ts +0 -38
- package/dist/core/ibc/core/commitment/MerklePrefix.d.ts +0 -21
- package/dist/core/ibc/core/commitment/MerkleRoot.d.ts +0 -21
- package/dist/core/ibc/core/commitment/index.d.ts +0 -2
- package/dist/core/ibc/core/connection/ConnectionCounterparty.d.ts +0 -28
- package/dist/core/ibc/core/connection/ConnectionState.d.ts +0 -3
- package/dist/core/ibc/core/connection/IbcConnectionParams.d.ts +0 -21
- package/dist/core/ibc/core/connection/IbcVersion.d.ts +0 -24
- package/dist/core/ibc/core/connection/IdentifiedConnection.d.ts +0 -39
- package/dist/core/ibc/core/connection/index.d.ts +0 -5
- package/dist/core/ibc/core/connection/msgs/MsgConnectionOpenAck.d.ts +0 -42
- package/dist/core/ibc/core/connection/msgs/MsgConnectionOpenConfirm.d.ts +0 -30
- package/dist/core/ibc/core/connection/msgs/MsgConnectionOpenInit.d.ts +0 -33
- package/dist/core/ibc/core/connection/msgs/MsgConnectionOpenTry.d.ts +0 -46
- package/dist/core/ibc/core/connection/msgs/MsgUpdateIbcConnectionParams.d.ts +0 -26
- package/dist/core/ibc/core/connection/msgs/index.d.ts +0 -15
- package/dist/core/ibc/core/index.d.ts +0 -4
- package/dist/core/ibc/index.d.ts +0 -2
- package/dist/core/ibc/lightclient/index.d.ts +0 -1
- package/dist/core/ibc/lightclient/tendermint/Header.d.ts +0 -29
- package/dist/core/ibchooks/ACL.d.ts +0 -25
- package/dist/core/ibchooks/IbcHooksParams.d.ts +0 -25
- package/dist/core/ibchooks/index.d.ts +0 -3
- package/dist/core/ibchooks/msgs/MsgUpdateACL.d.ts +0 -35
- package/dist/core/ibchooks/msgs/MsgUpdateIbcHooksParams.d.ts +0 -33
- package/dist/core/ibchooks/msgs/index.d.ts +0 -10
- package/dist/core/index.d.ts +0 -40
- package/dist/core/intertx/index.d.ts +0 -1
- package/dist/core/intertx/msgs/MsgRegisterAccount.d.ts +0 -39
- package/dist/core/intertx/msgs/MsgSubmitTx.d.ts +0 -36
- package/dist/core/intertx/msgs/index.d.ts +0 -10
- package/dist/core/marketmap/Market.d.ts +0 -26
- package/dist/core/marketmap/MarketmapParams.d.ts +0 -25
- package/dist/core/marketmap/ProviderConfig.d.ts +0 -34
- package/dist/core/marketmap/Ticker.d.ts +0 -34
- package/dist/core/marketmap/index.d.ts +0 -5
- package/dist/core/marketmap/msgs/MsgCreateMarkets.d.ts +0 -33
- package/dist/core/marketmap/msgs/MsgRemoveMarketAuthorities.d.ts +0 -32
- package/dist/core/marketmap/msgs/MsgRemoveMarkets.d.ts +0 -32
- package/dist/core/marketmap/msgs/MsgUpdateMarketmapParams.d.ts +0 -33
- package/dist/core/marketmap/msgs/MsgUpdateMarkets.d.ts +0 -33
- package/dist/core/marketmap/msgs/MsgUpsertMarkets.d.ts +0 -33
- package/dist/core/marketmap/msgs/index.d.ts +0 -18
- package/dist/core/move/Module.d.ts +0 -36
- package/dist/core/move/MoveParams.d.ts +0 -37
- package/dist/core/move/index.d.ts +0 -3
- package/dist/core/move/msgs/MsgDelist.d.ts +0 -32
- package/dist/core/move/msgs/MsgExecute.d.ts +0 -44
- package/dist/core/move/msgs/MsgExecuteJSON.d.ts +0 -44
- package/dist/core/move/msgs/MsgGovExecute.d.ts +0 -47
- package/dist/core/move/msgs/MsgGovExecuteJSON.d.ts +0 -47
- package/dist/core/move/msgs/MsgGovPublish.d.ts +0 -41
- package/dist/core/move/msgs/MsgGovScript.d.ts +0 -41
- package/dist/core/move/msgs/MsgGovScriptJSON.d.ts +0 -41
- package/dist/core/move/msgs/MsgPublish.d.ts +0 -38
- package/dist/core/move/msgs/MsgScript.d.ts +0 -38
- package/dist/core/move/msgs/MsgScriptJSON.d.ts +0 -38
- package/dist/core/move/msgs/MsgUpdateMoveParams.d.ts +0 -33
- package/dist/core/move/msgs/MsgWhitelist.d.ts +0 -35
- package/dist/core/move/msgs/index.d.ts +0 -32
- package/dist/core/mstaking/Delegation.d.ts +0 -36
- package/dist/core/mstaking/MstakingParams.d.ts +0 -44
- package/dist/core/mstaking/Redelegation.d.ts +0 -71
- package/dist/core/mstaking/UnbondingDelegation.d.ts +0 -57
- package/dist/core/mstaking/Validator.d.ts +0 -137
- package/dist/core/mstaking/index.d.ts +0 -6
- package/dist/core/mstaking/msgs/MsgBeginRedelegate.d.ts +0 -39
- package/dist/core/mstaking/msgs/MsgCancelUnbondingDelegation.d.ts +0 -39
- package/dist/core/mstaking/msgs/MsgCreateValidator.d.ts +0 -44
- package/dist/core/mstaking/msgs/MsgDelegate.d.ts +0 -36
- package/dist/core/mstaking/msgs/MsgEditValidator.d.ts +0 -37
- package/dist/core/mstaking/msgs/MsgUndelegate.d.ts +0 -36
- package/dist/core/mstaking/msgs/MsgUpdateMstakingParams.d.ts +0 -33
- package/dist/core/mstaking/msgs/index.d.ts +0 -20
- package/dist/core/num.d.ts +0 -2
- package/dist/core/opchild/BridgeInfo.d.ts +0 -34
- package/dist/core/opchild/L2MigrationInfo.d.ts +0 -27
- package/dist/core/opchild/OpValidator.d.ts +0 -32
- package/dist/core/opchild/OpchildParams.d.ts +0 -45
- package/dist/core/opchild/index.d.ts +0 -5
- package/dist/core/opchild/msgs/MsgAddAttestor.d.ts +0 -39
- package/dist/core/opchild/msgs/MsgAddBridgeExecutor.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgAddFeeWhitelistAddresses.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgExecuteMessages.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgFinalizeTokenDeposit.d.ts +0 -52
- package/dist/core/opchild/msgs/MsgInitiateTokenWithdrawal.d.ts +0 -36
- package/dist/core/opchild/msgs/MsgMigrateToken.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgRegisterL2MigrationInfo.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgRemoveAttestor.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgRemoveBridgeExecutor.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgRemoveFeeWhitelistAddresses.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgSetBridgeInfo.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgSpendFeePool.d.ts +0 -36
- package/dist/core/opchild/msgs/MsgUpdateMinGasPrices.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgUpdateOpchildAdmin.d.ts +0 -32
- package/dist/core/opchild/msgs/MsgUpdateOpchildParams.d.ts +0 -33
- package/dist/core/opchild/msgs/MsgUpdateOracle.d.ts +0 -35
- package/dist/core/opchild/msgs/MsgUpdateSequencer.d.ts +0 -39
- package/dist/core/opchild/msgs/index.d.ts +0 -42
- package/dist/core/ophost/BatchInfo.d.ts +0 -25
- package/dist/core/ophost/BatchInfoWithOutput.d.ts +0 -26
- package/dist/core/ophost/BridgeConfig.d.ts +0 -51
- package/dist/core/ophost/L1MigrationInfo.d.ts +0 -30
- package/dist/core/ophost/OphostParams.d.ts +0 -26
- package/dist/core/ophost/Output.d.ts +0 -30
- package/dist/core/ophost/index.d.ts +0 -7
- package/dist/core/ophost/msgs/MsgCreateBridge.d.ts +0 -33
- package/dist/core/ophost/msgs/MsgDeleteOutput.d.ts +0 -35
- package/dist/core/ophost/msgs/MsgDisableBridge.d.ts +0 -32
- package/dist/core/ophost/msgs/MsgFinalizeTokenWithdrawal.d.ts +0 -60
- package/dist/core/ophost/msgs/MsgInitiateTokenDeposit.d.ts +0 -42
- package/dist/core/ophost/msgs/MsgProposeOutput.d.ts +0 -41
- package/dist/core/ophost/msgs/MsgRecordBatch.d.ts +0 -35
- package/dist/core/ophost/msgs/MsgRegisterL1MigrationInfo.d.ts +0 -33
- package/dist/core/ophost/msgs/MsgUpdateBatchInfo.d.ts +0 -36
- package/dist/core/ophost/msgs/MsgUpdateChallenger.d.ts +0 -35
- package/dist/core/ophost/msgs/MsgUpdateFinalizationPeriod.d.ts +0 -36
- package/dist/core/ophost/msgs/MsgUpdateMetadata.d.ts +0 -35
- package/dist/core/ophost/msgs/MsgUpdateOphostParams.d.ts +0 -33
- package/dist/core/ophost/msgs/MsgUpdateOracleConfig.d.ts +0 -35
- package/dist/core/ophost/msgs/MsgUpdateProposer.d.ts +0 -35
- package/dist/core/ophost/msgs/index.d.ts +0 -36
- package/dist/core/oracle/CurrencyPair.d.ts +0 -25
- package/dist/core/oracle/QuotePrice.d.ts +0 -27
- package/dist/core/oracle/index.d.ts +0 -3
- package/dist/core/oracle/msgs/MsgAddCurrencyPairs.d.ts +0 -33
- package/dist/core/oracle/msgs/MsgRemoveCurrencyPairs.d.ts +0 -32
- package/dist/core/oracle/msgs/index.d.ts +0 -10
- package/dist/core/params/ParamChange.d.ts +0 -42
- package/dist/core/params/index.d.ts +0 -2
- package/dist/core/params/proposals/ParameterChangeProposal.d.ts +0 -35
- package/dist/core/params/proposals/index.d.ts +0 -1
- package/dist/core/reward/RewardParams.d.ts +0 -38
- package/dist/core/reward/index.d.ts +0 -2
- package/dist/core/reward/msgs/MsgFundCommunityPoolReward.d.ts +0 -33
- package/dist/core/reward/msgs/MsgUpdateRewardParams.d.ts +0 -33
- package/dist/core/reward/msgs/index.d.ts +0 -10
- package/dist/core/slashing/SlashingParams.d.ts +0 -38
- package/dist/core/slashing/ValidatorSigningInfo.d.ts +0 -37
- package/dist/core/slashing/index.d.ts +0 -3
- package/dist/core/slashing/msgs/MsgUnjail.d.ts +0 -29
- package/dist/core/slashing/msgs/MsgUpdateSlashingParams.d.ts +0 -33
- package/dist/core/slashing/msgs/index.d.ts +0 -10
- package/dist/core/tokenfactory/TokenfactoryParams.d.ts +0 -25
- package/dist/core/tokenfactory/index.d.ts +0 -2
- package/dist/core/tokenfactory/msgs/MsgBurn.d.ts +0 -33
- package/dist/core/tokenfactory/msgs/MsgChangeAdmin.d.ts +0 -35
- package/dist/core/tokenfactory/msgs/MsgCreateDenom.d.ts +0 -32
- package/dist/core/tokenfactory/msgs/MsgMint.d.ts +0 -36
- package/dist/core/tokenfactory/msgs/MsgSetBeforeSendHook.d.ts +0 -35
- package/dist/core/tokenfactory/msgs/MsgSetDenomMetadataWasm.d.ts +0 -33
- package/dist/core/tokenfactory/msgs/MsgUpdateTokenfactoryParams.d.ts +0 -33
- package/dist/core/tokenfactory/msgs/index.d.ts +0 -20
- package/dist/core/tx/CompactBitArray.d.ts +0 -22
- package/dist/core/tx/Fee.d.ts +0 -31
- package/dist/core/tx/MultiSignature.d.ts +0 -13
- package/dist/core/tx/SignDoc.d.ts +0 -36
- package/dist/core/tx/SignMode.d.ts +0 -3
- package/dist/core/tx/SignatureV2.d.ts +0 -66
- package/dist/core/tx/Tx.d.ts +0 -146
- package/dist/core/tx/TxInfo.d.ts +0 -74
- package/dist/core/tx/index.d.ts +0 -7
- package/dist/core/upgrade/Plan.d.ts +0 -27
- package/dist/core/upgrade/index.d.ts +0 -2
- package/dist/core/upgrade/msgs/MsgCancelUpgrade.d.ts +0 -29
- package/dist/core/upgrade/msgs/MsgSoftwareUpgrade.d.ts +0 -33
- package/dist/core/upgrade/msgs/index.d.ts +0 -10
- package/dist/core/wasm/AbsoluteTxPosition.d.ts +0 -24
- package/dist/core/wasm/AccessConfig.d.ts +0 -27
- package/dist/core/wasm/WasmParams.d.ts +0 -32
- package/dist/core/wasm/authorizations/AcceptedMessageKeysFilter.d.ts +0 -28
- package/dist/core/wasm/authorizations/AcceptedMessagesFilter.d.ts +0 -28
- package/dist/core/wasm/authorizations/AllowAllMessagesFilter.d.ts +0 -24
- package/dist/core/wasm/authorizations/CodeGrant.d.ts +0 -25
- package/dist/core/wasm/authorizations/CombinedLimit.d.ts +0 -32
- package/dist/core/wasm/authorizations/ContractExecutionAuthorization.d.ts +0 -29
- package/dist/core/wasm/authorizations/ContractFilter.d.ts +0 -13
- package/dist/core/wasm/authorizations/ContractGrant.d.ts +0 -30
- package/dist/core/wasm/authorizations/ContractLimit.d.ts +0 -13
- package/dist/core/wasm/authorizations/ContractMigrationAuthorization.d.ts +0 -29
- package/dist/core/wasm/authorizations/MaxCallsLimit.d.ts +0 -28
- package/dist/core/wasm/authorizations/MaxFundsLimit.d.ts +0 -29
- package/dist/core/wasm/authorizations/StoreCodeAuthorization.d.ts +0 -29
- package/dist/core/wasm/authorizations/index.d.ts +0 -11
- package/dist/core/wasm/index.d.ts +0 -5
- package/dist/core/wasm/msgs/MsgAddCodeUploadParamsAddresses.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgClearAdmin.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgExecuteContract.d.ts +0 -39
- package/dist/core/wasm/msgs/MsgInstantiateContract.d.ts +0 -45
- package/dist/core/wasm/msgs/MsgInstantiateContractV2.d.ts +0 -51
- package/dist/core/wasm/msgs/MsgMigrateContract.d.ts +0 -38
- package/dist/core/wasm/msgs/MsgPinCodes.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgRemoveCodeUploadParamsAddresses.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgStoreAndInstantiateContract.d.ts +0 -61
- package/dist/core/wasm/msgs/MsgStoreAndMigrateContract.d.ts +0 -42
- package/dist/core/wasm/msgs/MsgStoreCode.d.ts +0 -36
- package/dist/core/wasm/msgs/MsgSudoContract.d.ts +0 -35
- package/dist/core/wasm/msgs/MsgUnpinCodes.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgUpdateAdmin.d.ts +0 -35
- package/dist/core/wasm/msgs/MsgUpdateContractLabel.d.ts +0 -35
- package/dist/core/wasm/msgs/MsgUpdateInstantiateConfig.d.ts +0 -36
- package/dist/core/wasm/msgs/MsgUpdateMaxWasmSize.d.ts +0 -32
- package/dist/core/wasm/msgs/MsgUpdateWasmParams.d.ts +0 -33
- package/dist/core/wasm/msgs/index.d.ts +0 -42
- package/dist/core/wasmextension/AccessConfigExt.d.ts +0 -28
- package/dist/core/wasmextension/index.d.ts +0 -2
- package/dist/core/wasmextension/msgs/MsgStoreCodeAdmin.d.ts +0 -39
- package/dist/core/wasmextension/msgs/index.d.ts +0 -8
- package/dist/index.cjs +0 -6
- package/dist/index.d.ts +0 -4
- package/dist/index.mjs +0 -103590
- package/dist/key/Key.d.ts +0 -20
- package/dist/key/MnemonicKey.d.ts +0 -14
- package/dist/key/RawKey.d.ts +0 -9
- package/dist/key/index.d.ts +0 -3
- package/dist/util/bcs.d.ts +0 -44
- package/dist/util/hash.d.ts +0 -4
- package/dist/util/index.d.ts +0 -3
- package/dist/util/json.d.ts +0 -9
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
import { Ca as Message, Mo as Signer, T as SignModeType, a as ChainInfoProvider, ls as Numeric, r as ChainInfo, ts as Coin, ys as TransportFactory } from "./types-DGrP9Ro_.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/bridge/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Deposit options for L1 → L2 token transfer.
|
|
6
|
+
*
|
|
7
|
+
* Use `toChain` for automatic bridgeId resolution from provider,
|
|
8
|
+
* or `bridgeId` for direct specification.
|
|
9
|
+
*/
|
|
10
|
+
type DepositOptions = {
|
|
11
|
+
sender: string; /** L2 recipient address. Defaults to sender if omitted. */
|
|
12
|
+
to?: string; /** Amount to deposit. String format parsed via parseCoin (e.g., '1000000uinit'). */
|
|
13
|
+
amount: Coin | string; /** Hook data for L2 execution. Defaults to empty bytes. */
|
|
14
|
+
data?: Uint8Array;
|
|
15
|
+
} & ({
|
|
16
|
+
toChain: string;
|
|
17
|
+
bridgeId?: never;
|
|
18
|
+
} | {
|
|
19
|
+
toChain?: never;
|
|
20
|
+
bridgeId: Numeric;
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Withdrawal options for L2 → L1 token transfer.
|
|
24
|
+
*/
|
|
25
|
+
interface WithdrawOptions {
|
|
26
|
+
sender: string;
|
|
27
|
+
/** L1 recipient address. Defaults to sender if omitted. */
|
|
28
|
+
to?: string;
|
|
29
|
+
/** Amount to withdraw. String format parsed via parseCoin. */
|
|
30
|
+
amount: Coin | string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Claim options for finalizing a withdrawal on L1.
|
|
34
|
+
*/
|
|
35
|
+
interface ClaimOptions {
|
|
36
|
+
/** Claim executor address (usually the withdrawal recipient). */
|
|
37
|
+
sender: string;
|
|
38
|
+
/** Withdrawal data obtained from getWithdrawals(). Must have status 'claimable'. */
|
|
39
|
+
withdrawal: WithdrawalInfo;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Withdrawal information including Executor-provided proof data.
|
|
43
|
+
*
|
|
44
|
+
* Populated by Executor API (basic fields + proof data) and
|
|
45
|
+
* L1 ophost queries (status determination).
|
|
46
|
+
*/
|
|
47
|
+
interface WithdrawalInfo {
|
|
48
|
+
sequence: bigint;
|
|
49
|
+
/** L2 sender address. */
|
|
50
|
+
from: string;
|
|
51
|
+
/** L1 recipient address. */
|
|
52
|
+
to: string;
|
|
53
|
+
amount: Coin;
|
|
54
|
+
outputIndex: bigint;
|
|
55
|
+
bridgeId: bigint;
|
|
56
|
+
txHash: string;
|
|
57
|
+
/** Withdrawal lifecycle status, determined by L1 queries. */
|
|
58
|
+
status: WithdrawalStatus;
|
|
59
|
+
/** Merkle proofs from Executor (hex-encoded). */
|
|
60
|
+
withdrawalProofs: string[];
|
|
61
|
+
/** Output version from Executor (hex-encoded). */
|
|
62
|
+
version: string;
|
|
63
|
+
/** Storage root from Executor (hex-encoded). */
|
|
64
|
+
storageRoot: string;
|
|
65
|
+
/** Last block hash from Executor (hex-encoded). */
|
|
66
|
+
lastBlockHash: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Withdrawal lifecycle status.
|
|
70
|
+
*
|
|
71
|
+
* - pending: Not yet included in any proposed output.
|
|
72
|
+
* - waiting: Included in output, awaiting finalization period.
|
|
73
|
+
* - claimable: Finalization period passed, ready to claim on L1.
|
|
74
|
+
* - claimed: Already finalized on L1.
|
|
75
|
+
*/
|
|
76
|
+
type WithdrawalStatus = {
|
|
77
|
+
status: 'pending';
|
|
78
|
+
} | {
|
|
79
|
+
status: 'waiting';
|
|
80
|
+
claimableAt: Date;
|
|
81
|
+
} | {
|
|
82
|
+
status: 'claimable';
|
|
83
|
+
} | {
|
|
84
|
+
status: 'claimed';
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Options for finding a transfer route.
|
|
88
|
+
*/
|
|
89
|
+
interface RouteOptions {
|
|
90
|
+
/** Transfer amount in minimal denomination (e.g., '1000000'). */
|
|
91
|
+
amount: string;
|
|
92
|
+
/** Source chain and asset. */
|
|
93
|
+
source: {
|
|
94
|
+
chainId: string;
|
|
95
|
+
denom: string;
|
|
96
|
+
};
|
|
97
|
+
/** Destination chain and asset. */
|
|
98
|
+
dest: {
|
|
99
|
+
chainId: string;
|
|
100
|
+
denom: string;
|
|
101
|
+
};
|
|
102
|
+
/** Allow routes that may involve risk (default: true). */
|
|
103
|
+
allowUnsafe?: boolean;
|
|
104
|
+
/** Prefer faster routes (default: false). */
|
|
105
|
+
goFast?: boolean;
|
|
106
|
+
/** Force an Optimistic withdrawal route. */
|
|
107
|
+
isOpWithdraw?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* A resolved transfer route from the Router API.
|
|
111
|
+
*
|
|
112
|
+
* Contains amounts, operations, and the raw server response needed
|
|
113
|
+
* for buildTransferMsgs().
|
|
114
|
+
*/
|
|
115
|
+
interface Route {
|
|
116
|
+
amountIn: string;
|
|
117
|
+
amountOut: string;
|
|
118
|
+
source: {
|
|
119
|
+
chainId: string;
|
|
120
|
+
denom: string;
|
|
121
|
+
symbol?: string;
|
|
122
|
+
};
|
|
123
|
+
dest: {
|
|
124
|
+
chainId: string;
|
|
125
|
+
denom: string;
|
|
126
|
+
symbol?: string;
|
|
127
|
+
};
|
|
128
|
+
/** Normalized operations (for display purposes). */
|
|
129
|
+
operations: RouteOperation[];
|
|
130
|
+
estimatedDurationSeconds?: number;
|
|
131
|
+
usdAmountIn?: string;
|
|
132
|
+
usdAmountOut?: string;
|
|
133
|
+
warnings?: string[];
|
|
134
|
+
extraInfos?: string[];
|
|
135
|
+
extraWarnings?: string[];
|
|
136
|
+
/** True if getOpHook() + signOpHook() must be called before buildTransferMsgs(). */
|
|
137
|
+
requiresOpHook?: boolean;
|
|
138
|
+
/** @internal Server's original response. Used by buildTransferMsgs(); not intended for user access. */
|
|
139
|
+
_raw: unknown;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* A single operation within a route.
|
|
143
|
+
*/
|
|
144
|
+
type RouteOperation = {
|
|
145
|
+
type: 'transfer';
|
|
146
|
+
chainId: string;
|
|
147
|
+
channel: string;
|
|
148
|
+
denomIn: string;
|
|
149
|
+
denomOut: string;
|
|
150
|
+
} | {
|
|
151
|
+
type: 'swap';
|
|
152
|
+
poolId: string;
|
|
153
|
+
denomIn: string;
|
|
154
|
+
denomOut: string;
|
|
155
|
+
} | {
|
|
156
|
+
type: 'op_init_transfer';
|
|
157
|
+
denomIn: string;
|
|
158
|
+
denomOut: string;
|
|
159
|
+
} | {
|
|
160
|
+
type: 'axelar_transfer';
|
|
161
|
+
denomIn: string;
|
|
162
|
+
denomOut: string;
|
|
163
|
+
} | {
|
|
164
|
+
type: 'cctp_transfer';
|
|
165
|
+
denomIn: string;
|
|
166
|
+
denomOut: string;
|
|
167
|
+
} | {
|
|
168
|
+
type: 'layer_zero_transfer';
|
|
169
|
+
denomIn: string;
|
|
170
|
+
denomOut: string;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Options for building transfer messages from a route.
|
|
174
|
+
*/
|
|
175
|
+
interface BuildTransferMsgsOptions {
|
|
176
|
+
route: Route;
|
|
177
|
+
/** Addresses for each chain in the path: [source, ...hops, dest]. */
|
|
178
|
+
addresses: string[];
|
|
179
|
+
/** Slippage tolerance as percentage string (default: '1' = 1%). */
|
|
180
|
+
slippageTolerance?: string;
|
|
181
|
+
/** Signed OP Hook data. Required when route.requiresOpHook is true. */
|
|
182
|
+
signedOpHook?: SignedOpHook;
|
|
183
|
+
/** Include blacklisted networks (default: false). */
|
|
184
|
+
ignoreBlacklist?: boolean;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* A transaction to execute as part of a multi-hop transfer.
|
|
188
|
+
*/
|
|
189
|
+
interface TransferTx {
|
|
190
|
+
/** Chain where this transaction should be signed and broadcast. */
|
|
191
|
+
chainId: string;
|
|
192
|
+
/** Cosmos messages for signAndBroadcast. */
|
|
193
|
+
cosmosMsgs?: Message[];
|
|
194
|
+
/** EVM transaction data (for native EVM chains). */
|
|
195
|
+
evmTx?: {
|
|
196
|
+
to: string;
|
|
197
|
+
data: string;
|
|
198
|
+
value?: string;
|
|
199
|
+
};
|
|
200
|
+
/** Address that must sign this transaction. */
|
|
201
|
+
signerAddress: string;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Options for requesting OP Hook data.
|
|
205
|
+
*/
|
|
206
|
+
interface OpHookOptions {
|
|
207
|
+
sourceAddress: string;
|
|
208
|
+
sourceChainId: string;
|
|
209
|
+
sourceDenom: string;
|
|
210
|
+
destAddress: string;
|
|
211
|
+
destChainId: string;
|
|
212
|
+
destDenom: string;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Cosmos message in Router API format.
|
|
216
|
+
*/
|
|
217
|
+
interface CosmosMsgJson {
|
|
218
|
+
/** JSON-stringified message body */
|
|
219
|
+
msg: string;
|
|
220
|
+
/** Protobuf typeUrl (e.g., "/minievm.evm.v1.MsgCall") */
|
|
221
|
+
msg_type_url: string;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* OP Hook data returned by the Router API.
|
|
225
|
+
*/
|
|
226
|
+
interface OpHookResult {
|
|
227
|
+
chainId: string;
|
|
228
|
+
hook: CosmosMsgJson[];
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Signed OP Hook data to pass to buildTransferMsgs().
|
|
232
|
+
*/
|
|
233
|
+
interface SignedOpHook {
|
|
234
|
+
hook: string;
|
|
235
|
+
signer: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Overall transaction state from the Router API.
|
|
239
|
+
*/
|
|
240
|
+
type TransferState = 'STATE_SUBMITTED' | 'STATE_PENDING' | 'STATE_COMPLETED_SUCCESS' | 'STATE_COMPLETED_ERROR' | 'STATE_ABANDONED' | 'STATE_PENDING_ERROR';
|
|
241
|
+
/**
|
|
242
|
+
* A single hop in the transfer sequence.
|
|
243
|
+
*/
|
|
244
|
+
interface TransferHop {
|
|
245
|
+
srcChainId: string;
|
|
246
|
+
dstChainId: string;
|
|
247
|
+
state: string;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Asset release info for completed transfers.
|
|
251
|
+
*/
|
|
252
|
+
interface TransferAssetRelease {
|
|
253
|
+
chainId: string;
|
|
254
|
+
denom: string;
|
|
255
|
+
amount?: string;
|
|
256
|
+
released: boolean;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Transfer tracking status from the Router API.
|
|
260
|
+
*/
|
|
261
|
+
interface TransferStatus {
|
|
262
|
+
/** Overall end-to-end state. */
|
|
263
|
+
state: TransferState;
|
|
264
|
+
/** Detailed transfer status for each hop. */
|
|
265
|
+
transfers: unknown[];
|
|
266
|
+
/** Flat list of transfer events in sequence order. */
|
|
267
|
+
transferSequence: TransferHop[];
|
|
268
|
+
/** Next transfer blocking progress, if any. */
|
|
269
|
+
nextBlockingTransfer?: {
|
|
270
|
+
transferSequenceIndex: number;
|
|
271
|
+
};
|
|
272
|
+
/** Info about released assets at destination. */
|
|
273
|
+
transferAssetRelease?: TransferAssetRelease;
|
|
274
|
+
/** Error details if the transaction failed. */
|
|
275
|
+
error?: unknown;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* A routable asset from the Router API.
|
|
279
|
+
* Based on @skip-go/client AssetJson + router-api RouterAsset extensions.
|
|
280
|
+
*/
|
|
281
|
+
interface RoutableAsset {
|
|
282
|
+
denom: string;
|
|
283
|
+
chainId: string;
|
|
284
|
+
originDenom: string;
|
|
285
|
+
originChainId: string;
|
|
286
|
+
symbol?: string;
|
|
287
|
+
name?: string;
|
|
288
|
+
decimals?: number;
|
|
289
|
+
logoUri?: string;
|
|
290
|
+
recommendedSymbol?: string;
|
|
291
|
+
description?: string;
|
|
292
|
+
coingeckoId?: string;
|
|
293
|
+
trace: string;
|
|
294
|
+
isCw20: boolean;
|
|
295
|
+
isEvm: boolean;
|
|
296
|
+
isSvm: boolean;
|
|
297
|
+
tokenContract?: string;
|
|
298
|
+
hidden?: boolean;
|
|
299
|
+
forwardContract?: string;
|
|
300
|
+
oftOwner?: string;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Query input for cross-chain balance lookup.
|
|
304
|
+
*/
|
|
305
|
+
interface BalanceQuery {
|
|
306
|
+
address: string;
|
|
307
|
+
denoms: string[];
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Balance result for a single denom.
|
|
311
|
+
*/
|
|
312
|
+
interface BalanceResult {
|
|
313
|
+
amount: string;
|
|
314
|
+
priceUsd?: string;
|
|
315
|
+
valueUsd?: string;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Cross-chain balance response from the Router API.
|
|
319
|
+
* Map of chainId → denom → balance info.
|
|
320
|
+
*/
|
|
321
|
+
type RouterBalances = Record<string, Record<string, BalanceResult>>;
|
|
322
|
+
/**
|
|
323
|
+
* A chain supported by the Router API.
|
|
324
|
+
*/
|
|
325
|
+
interface RouterChain {
|
|
326
|
+
chainId: string;
|
|
327
|
+
chainName: string;
|
|
328
|
+
chainType: string;
|
|
329
|
+
pfmEnabled: boolean;
|
|
330
|
+
supportsMemo: boolean;
|
|
331
|
+
logoUri?: string;
|
|
332
|
+
bech32Prefix?: string;
|
|
333
|
+
rest?: string;
|
|
334
|
+
rpc?: string;
|
|
335
|
+
evmFeeAsset?: {
|
|
336
|
+
decimals: number;
|
|
337
|
+
name: string;
|
|
338
|
+
symbol: string;
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Options for cross-chain NFT transfer.
|
|
343
|
+
*/
|
|
344
|
+
interface NftTransferOptions {
|
|
345
|
+
fromAddress: string;
|
|
346
|
+
fromChainId: string;
|
|
347
|
+
toAddress: string;
|
|
348
|
+
toChainId: string;
|
|
349
|
+
/** Token IDs to transfer (maximum 30). */
|
|
350
|
+
tokenIds: string[];
|
|
351
|
+
/** NFT collection contract address. Pass empty string for Move chains. */
|
|
352
|
+
collectionAddress: string;
|
|
353
|
+
/** IBC class ID. Required for cross-chain transfers. */
|
|
354
|
+
classId?: string;
|
|
355
|
+
/** IBC class trace for multi-hop transfers. */
|
|
356
|
+
classTrace?: {
|
|
357
|
+
path: string;
|
|
358
|
+
baseClassId: string;
|
|
359
|
+
};
|
|
360
|
+
/** Move object addresses (maximum 30). Required for same-chain Move transfers. */
|
|
361
|
+
objectAddresses?: string[];
|
|
362
|
+
/** L1 recovery address for L2→L1→L2 transfers. Defaults to fromAddress. */
|
|
363
|
+
l1RecoverAddress?: string;
|
|
364
|
+
/** Outgoing proxy contract address (Wasm chains). */
|
|
365
|
+
outgoingProxy?: string;
|
|
366
|
+
/** IBC timeout in seconds (default: 1800). */
|
|
367
|
+
timeout?: number;
|
|
368
|
+
/** Include blacklisted networks (default: false). */
|
|
369
|
+
ignoreBlacklist?: boolean;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Result of an NFT transfer message generation.
|
|
373
|
+
*/
|
|
374
|
+
interface NftTransferResult {
|
|
375
|
+
msgs: Array<{
|
|
376
|
+
typeUrl: string;
|
|
377
|
+
value: Record<string, unknown>;
|
|
378
|
+
}>;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Options for depositAndWait — deposit L1 → L2 and wait for finalization.
|
|
382
|
+
*/
|
|
383
|
+
interface DepositAndWaitOptions {
|
|
384
|
+
sender: string;
|
|
385
|
+
/** L2 recipient address. Defaults to sender. */
|
|
386
|
+
to?: string;
|
|
387
|
+
/** Target L2 chain (required for watching finalization). */
|
|
388
|
+
toChain: string;
|
|
389
|
+
/** Amount to deposit. */
|
|
390
|
+
amount: Coin | string;
|
|
391
|
+
/** Hook data for L2 execution. */
|
|
392
|
+
data?: Uint8Array;
|
|
393
|
+
/** Sign and broadcast on L1. */
|
|
394
|
+
signAndBroadcast: (msgs: Message[]) => Promise<unknown>;
|
|
395
|
+
/** Timeout in milliseconds (default: 5 minutes). */
|
|
396
|
+
timeout?: number;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Options for withdrawAndClaim — withdraw L2 → L1, wait for finalization, and auto-claim.
|
|
400
|
+
*/
|
|
401
|
+
interface WithdrawAndClaimOptions {
|
|
402
|
+
sender: string;
|
|
403
|
+
/** L1 recipient address. Defaults to sender. */
|
|
404
|
+
to?: string;
|
|
405
|
+
/** Amount to withdraw. */
|
|
406
|
+
amount: Coin | string;
|
|
407
|
+
/** L2 chain ID. */
|
|
408
|
+
l2ChainId: string;
|
|
409
|
+
/** Sign and broadcast withdrawal on L2. */
|
|
410
|
+
signAndBroadcastL2: (msgs: Message[]) => Promise<unknown>;
|
|
411
|
+
/** Sign and broadcast claim on L1. */
|
|
412
|
+
signAndBroadcastL1: (msgs: Message[]) => Promise<unknown>;
|
|
413
|
+
/** Timeout in milliseconds (default: 2 hours). */
|
|
414
|
+
timeout?: number;
|
|
415
|
+
}
|
|
416
|
+
type DepositEvent = {
|
|
417
|
+
status: 'initiated';
|
|
418
|
+
l1Sequence: bigint;
|
|
419
|
+
from: string;
|
|
420
|
+
to: string;
|
|
421
|
+
amount: string;
|
|
422
|
+
bridgeId: bigint;
|
|
423
|
+
} | {
|
|
424
|
+
status: 'finalized';
|
|
425
|
+
l1Sequence: bigint;
|
|
426
|
+
recipient: string;
|
|
427
|
+
amount: string;
|
|
428
|
+
success: boolean;
|
|
429
|
+
reason?: string;
|
|
430
|
+
};
|
|
431
|
+
type WithdrawalEvent = {
|
|
432
|
+
status: 'initiated';
|
|
433
|
+
l2Sequence: bigint;
|
|
434
|
+
from: string;
|
|
435
|
+
to: string;
|
|
436
|
+
amount: string;
|
|
437
|
+
} | {
|
|
438
|
+
status: 'proposed';
|
|
439
|
+
outputIndex: bigint;
|
|
440
|
+
l2BlockNumber: bigint;
|
|
441
|
+
} | {
|
|
442
|
+
status: 'waiting';
|
|
443
|
+
claimableAt: Date;
|
|
444
|
+
} | {
|
|
445
|
+
status: 'claimable';
|
|
446
|
+
} | {
|
|
447
|
+
status: 'claimed';
|
|
448
|
+
l2Sequence: bigint;
|
|
449
|
+
from: string;
|
|
450
|
+
to: string;
|
|
451
|
+
amount: string;
|
|
452
|
+
};
|
|
453
|
+
interface WatchDepositOptions {
|
|
454
|
+
l2ChainId: string;
|
|
455
|
+
l1Sequence?: Numeric;
|
|
456
|
+
sender?: string;
|
|
457
|
+
recipient?: string;
|
|
458
|
+
/** Called on error. If not provided, the watcher logs to console.error and terminates. */
|
|
459
|
+
onError?: (error: unknown) => void;
|
|
460
|
+
}
|
|
461
|
+
interface WatchWithdrawalOptions {
|
|
462
|
+
l2ChainId: string;
|
|
463
|
+
l2Sequence?: Numeric;
|
|
464
|
+
sender?: string;
|
|
465
|
+
timeout?: number;
|
|
466
|
+
/** Called on error. If not provided, the watcher logs to console.error and terminates. */
|
|
467
|
+
onError?: (error: unknown) => void;
|
|
468
|
+
}
|
|
469
|
+
interface BridgeWatchHandle {
|
|
470
|
+
unsubscribe(): void;
|
|
471
|
+
}
|
|
472
|
+
//#endregion
|
|
473
|
+
//#region src/bridge/executor.d.ts
|
|
474
|
+
/**
|
|
475
|
+
* Pagination options for withdrawal list queries.
|
|
476
|
+
*/
|
|
477
|
+
interface FetchWithdrawalsOptions {
|
|
478
|
+
limit?: number;
|
|
479
|
+
offset?: number;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Fetch paginated withdrawal list from Executor API.
|
|
483
|
+
*
|
|
484
|
+
* @param executorUri - Executor API base URL (e.g., 'https://executor.minimove-2.initia.xyz')
|
|
485
|
+
* @param address - L2 sender address to query withdrawals for
|
|
486
|
+
* @param options - Pagination options
|
|
487
|
+
* @returns Array of WithdrawalInfo without status (status determined separately by L1 queries)
|
|
488
|
+
*/
|
|
489
|
+
declare function fetchWithdrawals(executorUri: string, address: string, options?: FetchWithdrawalsOptions): Promise<Omit<WithdrawalInfo, 'status'>[]>;
|
|
490
|
+
/**
|
|
491
|
+
* Fetch a single withdrawal by sequence from Executor API.
|
|
492
|
+
*
|
|
493
|
+
* @param executorUri - Executor API base URL
|
|
494
|
+
* @param sequence - Withdrawal sequence number
|
|
495
|
+
* @returns WithdrawalInfo without status (status determined separately by L1 queries)
|
|
496
|
+
*/
|
|
497
|
+
declare function fetchWithdrawal(executorUri: string, sequence: Numeric): Promise<Omit<WithdrawalInfo, 'status'>>;
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/bridge/bridge.d.ts
|
|
500
|
+
declare class Bridge {
|
|
501
|
+
private provider;
|
|
502
|
+
private createTransport;
|
|
503
|
+
private opBridge;
|
|
504
|
+
private router?;
|
|
505
|
+
constructor(provider: ChainInfoProvider, createTransport: TransportFactory, routerUrl?: string);
|
|
506
|
+
deposit(options: DepositOptions): Message;
|
|
507
|
+
withdraw(options: WithdrawOptions): Message;
|
|
508
|
+
claim(options: ClaimOptions): Message;
|
|
509
|
+
getWithdrawals(l2ChainId: string, address: string, options?: FetchWithdrawalsOptions): Promise<WithdrawalInfo[]>;
|
|
510
|
+
getWithdrawalStatus(l2ChainId: string, sequence: Numeric): Promise<WithdrawalInfo>;
|
|
511
|
+
listBridgeableChains(): ChainInfo[];
|
|
512
|
+
getBridgeId(l2ChainId: string): bigint;
|
|
513
|
+
private requireRouter;
|
|
514
|
+
route(options: RouteOptions): Promise<Route>;
|
|
515
|
+
getRoutableAssets(chainIds?: string[]): Promise<Record<string, RoutableAsset[]>>;
|
|
516
|
+
/**
|
|
517
|
+
* Resolve an asset by symbol on a specific chain.
|
|
518
|
+
*
|
|
519
|
+
* @returns The matching asset with denom, decimals, symbol, etc.
|
|
520
|
+
* @throws If the symbol is not found or ambiguous (multiple matches).
|
|
521
|
+
*
|
|
522
|
+
* @example
|
|
523
|
+
* ```typescript
|
|
524
|
+
* const asset = await provider.bridge.resolveAsset('evm-1', 'INIT')
|
|
525
|
+
* // → { denom: 'evm/2eE7...', decimals: 18, symbol: 'INIT', ... }
|
|
526
|
+
* ```
|
|
527
|
+
*/
|
|
528
|
+
resolveAsset(chainId: string, symbol: string): Promise<RoutableAsset>;
|
|
529
|
+
getRoutableChains(chainIds?: string[]): Promise<RouterChain[]>;
|
|
530
|
+
getBalances(queries: Record<string, BalanceQuery>): Promise<RouterBalances>;
|
|
531
|
+
nftTransfer(options: NftTransferOptions): Promise<NftTransferResult>;
|
|
532
|
+
buildTransferMsgs(options: BuildTransferMsgsOptions): Promise<TransferTx[]>;
|
|
533
|
+
getOpHook(options: OpHookOptions): Promise<OpHookResult>;
|
|
534
|
+
/**
|
|
535
|
+
* Build and sign a Cosmos transaction from OP Hook messages.
|
|
536
|
+
*
|
|
537
|
+
* The hook messages (from getOpHook) are assembled into a Cosmos TxRaw,
|
|
538
|
+
* signed with the appropriate sign mode, and returned as base64.
|
|
539
|
+
* The L2's handleBridgeHook decodes and executes this transaction.
|
|
540
|
+
*
|
|
541
|
+
* opHook is minievm-only (ERC-20 6d↔18d wrapping). Default sign mode
|
|
542
|
+
* is eip191 if the signer supports it, otherwise direct, then amino.
|
|
543
|
+
*
|
|
544
|
+
* @param hookResult - OP Hook data from getOpHook()
|
|
545
|
+
* @param signer - Any Signer (Key, Keplr, WalletConnect, etc.)
|
|
546
|
+
* @param options - Optional sign mode override and source chain ID
|
|
547
|
+
*/
|
|
548
|
+
signOpHook(hookResult: OpHookResult, signer: Signer, options?: {
|
|
549
|
+
/** Override auto-detected sign mode */signMode?: SignModeType; /** Source chain ID — if same as hook chain, sequence is incremented by 2 (minievm MsgCall accounting) */
|
|
550
|
+
sourceChainId?: string;
|
|
551
|
+
}): Promise<SignedOpHook>;
|
|
552
|
+
trackTransfer(txHash: string, chainId: string): Promise<void>;
|
|
553
|
+
getTransferStatus(txHash: string, chainId: string): Promise<TransferStatus>;
|
|
554
|
+
watchDeposit(options: WatchDepositOptions, callback: (event: DepositEvent) => void): BridgeWatchHandle;
|
|
555
|
+
watchWithdrawal(options: WatchWithdrawalOptions, callback: (event: WithdrawalEvent) => void): BridgeWatchHandle;
|
|
556
|
+
waitForDeposit(options: WatchDepositOptions & {
|
|
557
|
+
timeout?: number;
|
|
558
|
+
}): Promise<DepositEvent & {
|
|
559
|
+
status: 'finalized';
|
|
560
|
+
}>;
|
|
561
|
+
waitForClaimable(options: WatchWithdrawalOptions & {
|
|
562
|
+
timeout?: number;
|
|
563
|
+
}): Promise<WithdrawalEvent & {
|
|
564
|
+
status: 'claimable';
|
|
565
|
+
}>;
|
|
566
|
+
/**
|
|
567
|
+
* Deposit L1 → L2 and wait for finalization on L2.
|
|
568
|
+
*
|
|
569
|
+
* Combines `deposit()` + `signAndBroadcast()` + `waitForDeposit()` into one call.
|
|
570
|
+
*
|
|
571
|
+
* @example
|
|
572
|
+
* ```typescript
|
|
573
|
+
* const event = await bridge.depositAndWait({
|
|
574
|
+
* sender: key.address,
|
|
575
|
+
* toChain: 'rollup-1',
|
|
576
|
+
* amount: coin('uinit', 1_000_000),
|
|
577
|
+
* signAndBroadcast: (msgs) => l1.signAndBroadcast(msgs),
|
|
578
|
+
* })
|
|
579
|
+
* console.log(event.status) // 'finalized'
|
|
580
|
+
* ```
|
|
581
|
+
*/
|
|
582
|
+
depositAndWait(options: DepositAndWaitOptions): Promise<DepositEvent & {
|
|
583
|
+
status: 'finalized';
|
|
584
|
+
}>;
|
|
585
|
+
/**
|
|
586
|
+
* Withdraw L2 → L1, wait for finalization, and auto-claim on L1.
|
|
587
|
+
*
|
|
588
|
+
* Combines `withdraw()` + `signAndBroadcastL2()` + `waitForClaimable()` +
|
|
589
|
+
* `getWithdrawals()` + `claim()` + `signAndBroadcastL1()`.
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* ```typescript
|
|
593
|
+
* const withdrawal = await bridge.withdrawAndClaim({
|
|
594
|
+
* sender: key.address,
|
|
595
|
+
* amount: coin('uinit', 1_000_000),
|
|
596
|
+
* l2ChainId: 'rollup-1',
|
|
597
|
+
* signAndBroadcastL2: (msgs) => l2.signAndBroadcast(msgs),
|
|
598
|
+
* signAndBroadcastL1: (msgs) => l1.signAndBroadcast(msgs),
|
|
599
|
+
* })
|
|
600
|
+
* ```
|
|
601
|
+
*/
|
|
602
|
+
withdrawAndClaim(options: WithdrawAndClaimOptions): Promise<WithdrawalInfo>;
|
|
603
|
+
}
|
|
604
|
+
//#endregion
|
|
605
|
+
export { WithdrawOptions as C, WithdrawalStatus as E, WithdrawAndClaimOptions as S, WithdrawalInfo as T, SignedOpHook as _, BridgeWatchHandle as a, WatchDepositOptions as b, DepositAndWaitOptions as c, OpHookOptions as d, OpHookResult as f, RouteOptions as g, RouteOperation as h, fetchWithdrawals as i, DepositEvent as l, Route as m, FetchWithdrawalsOptions as n, BuildTransferMsgsOptions as o, RoutableAsset as p, fetchWithdrawal as r, ClaimOptions as s, Bridge as t, DepositOptions as u, TransferStatus as v, WithdrawalEvent as w, WatchWithdrawalOptions as x, TransferTx as y };
|
|
606
|
+
//# sourceMappingURL=bridge-cQoOjppA.d.mts.map
|