@initia/initia.js 0.0.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/LICENSE +201 -0
- package/README.md +2 -0
- package/dist/bundle.js +3 -0
- package/dist/bundle.js.LICENSE.txt +39 -0
- package/dist/bundle.js.map +1 -0
- package/dist/bundle.node.js +3 -0
- package/dist/bundle.node.js.LICENSE.txt +33 -0
- package/dist/bundle.node.js.map +1 -0
- package/dist/client/LocalInitia.d.ts +18 -0
- package/dist/client/LocalInitia.js +59 -0
- package/dist/client/LocalInitia.js.map +1 -0
- package/dist/client/WebSocketClient.d.ts +83 -0
- package/dist/client/WebSocketClient.js +216 -0
- package/dist/client/WebSocketClient.js.map +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.js +25 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/lcd/APIRequester.d.ts +25 -0
- package/dist/client/lcd/APIRequester.js +95 -0
- package/dist/client/lcd/APIRequester.js.map +1 -0
- package/dist/client/lcd/LCDClient.d.ts +67 -0
- package/dist/client/lcd/LCDClient.js +77 -0
- package/dist/client/lcd/LCDClient.js.map +1 -0
- package/dist/client/lcd/LCDUtils.d.ts +18 -0
- package/dist/client/lcd/LCDUtils.js +93 -0
- package/dist/client/lcd/LCDUtils.js.map +1 -0
- package/dist/client/lcd/Wallet.d.ts +24 -0
- package/dist/client/lcd/Wallet.js +127 -0
- package/dist/client/lcd/Wallet.js.map +1 -0
- package/dist/client/lcd/api/AuthAPI.d.ts +29 -0
- package/dist/client/lcd/api/AuthAPI.js +104 -0
- package/dist/client/lcd/api/AuthAPI.js.map +1 -0
- package/dist/client/lcd/api/AuthzAPI.d.ts +18 -0
- package/dist/client/lcd/api/AuthzAPI.js +108 -0
- package/dist/client/lcd/api/AuthzAPI.js.map +1 -0
- package/dist/client/lcd/api/BankAPI.d.ts +40 -0
- package/dist/client/lcd/api/BankAPI.js +122 -0
- package/dist/client/lcd/api/BankAPI.js.map +1 -0
- package/dist/client/lcd/api/BaseAPI.d.ts +5 -0
- package/dist/client/lcd/api/BaseAPI.js +11 -0
- package/dist/client/lcd/api/BaseAPI.js.map +1 -0
- package/dist/client/lcd/api/DistributionAPI.d.ts +78 -0
- package/dist/client/lcd/api/DistributionAPI.js +156 -0
- package/dist/client/lcd/api/DistributionAPI.js.map +1 -0
- package/dist/client/lcd/api/FeeGrantAPI.d.ts +23 -0
- package/dist/client/lcd/api/FeeGrantAPI.js +108 -0
- package/dist/client/lcd/api/FeeGrantAPI.js.map +1 -0
- package/dist/client/lcd/api/GovAPI.d.ts +119 -0
- package/dist/client/lcd/api/GovAPI.js +343 -0
- package/dist/client/lcd/api/GovAPI.js.map +1 -0
- package/dist/client/lcd/api/IbcAPI.d.ts +87 -0
- package/dist/client/lcd/api/IbcAPI.js +229 -0
- package/dist/client/lcd/api/IbcAPI.js.map +1 -0
- package/dist/client/lcd/api/IbcTransferAPI.d.ts +25 -0
- package/dist/client/lcd/api/IbcTransferAPI.js +117 -0
- package/dist/client/lcd/api/IbcTransferAPI.js.map +1 -0
- package/dist/client/lcd/api/MintAPI.d.ts +35 -0
- package/dist/client/lcd/api/MintAPI.js +113 -0
- package/dist/client/lcd/api/MintAPI.js.map +1 -0
- package/dist/client/lcd/api/MoveAPI.d.ts +29 -0
- package/dist/client/lcd/api/MoveAPI.js +148 -0
- package/dist/client/lcd/api/MoveAPI.js.map +1 -0
- package/dist/client/lcd/api/SlashingAPI.d.ts +56 -0
- package/dist/client/lcd/api/SlashingAPI.js +125 -0
- package/dist/client/lcd/api/SlashingAPI.js.map +1 -0
- package/dist/client/lcd/api/StakingAPI.d.ts +98 -0
- package/dist/client/lcd/api/StakingAPI.js +296 -0
- package/dist/client/lcd/api/StakingAPI.js.map +1 -0
- package/dist/client/lcd/api/TendermintAPI.d.ts +23 -0
- package/dist/client/lcd/api/TendermintAPI.js +122 -0
- package/dist/client/lcd/api/TendermintAPI.js.map +1 -0
- package/dist/client/lcd/api/TxAPI.d.ts +243 -0
- package/dist/client/lcd/api/TxAPI.js +491 -0
- package/dist/client/lcd/api/TxAPI.js.map +1 -0
- package/dist/client/lcd/api/UpgradeAPI.d.ts +28 -0
- package/dist/client/lcd/api/UpgradeAPI.js +109 -0
- package/dist/client/lcd/api/UpgradeAPI.js.map +1 -0
- package/dist/client/lcd/api/index.d.ts +15 -0
- package/dist/client/lcd/api/index.js +32 -0
- package/dist/client/lcd/api/index.js.map +1 -0
- package/dist/core/Block.d.ts +58 -0
- package/dist/core/Block.js +3 -0
- package/dist/core/Block.js.map +1 -0
- package/dist/core/Coin.d.ts +87 -0
- package/dist/core/Coin.js +195 -0
- package/dist/core/Coin.js.map +1 -0
- package/dist/core/Coins.d.ts +120 -0
- package/dist/core/Coins.js +259 -0
- package/dist/core/Coins.js.map +1 -0
- package/dist/core/CompactBitArray.d.ts +23 -0
- package/dist/core/CompactBitArray.js +94 -0
- package/dist/core/CompactBitArray.js.map +1 -0
- package/dist/core/Denom.d.ts +1 -0
- package/dist/core/Denom.js +3 -0
- package/dist/core/Denom.js.map +1 -0
- package/dist/core/Deposit.d.ts +37 -0
- package/dist/core/Deposit.js +81 -0
- package/dist/core/Deposit.js.map +1 -0
- package/dist/core/Fee.d.ts +42 -0
- package/dist/core/Fee.js +88 -0
- package/dist/core/Fee.js.map +1 -0
- package/dist/core/Msg.d.ts +24 -0
- package/dist/core/Msg.js +335 -0
- package/dist/core/Msg.js.map +1 -0
- package/dist/core/MultiSignature.d.ts +17 -0
- package/dist/core/MultiSignature.js +57 -0
- package/dist/core/MultiSignature.js.map +1 -0
- package/dist/core/PublicKey.d.ts +99 -0
- package/dist/core/PublicKey.js +274 -0
- package/dist/core/PublicKey.js.map +1 -0
- package/dist/core/SignDoc.d.ts +54 -0
- package/dist/core/SignDoc.js +96 -0
- package/dist/core/SignDoc.js.map +1 -0
- package/dist/core/SignatureV2.d.ts +66 -0
- package/dist/core/SignatureV2.js +131 -0
- package/dist/core/SignatureV2.js.map +1 -0
- package/dist/core/Tx.d.ts +147 -0
- package/dist/core/Tx.js +279 -0
- package/dist/core/Tx.js.map +1 -0
- package/dist/core/TxInfo.d.ts +91 -0
- package/dist/core/TxInfo.js +115 -0
- package/dist/core/TxInfo.js.map +1 -0
- package/dist/core/ValidatorSet.d.ts +11 -0
- package/dist/core/ValidatorSet.js +3 -0
- package/dist/core/ValidatorSet.js.map +1 -0
- package/dist/core/auth/Account.d.ts +18 -0
- package/dist/core/auth/Account.js +62 -0
- package/dist/core/auth/Account.js.map +1 -0
- package/dist/core/auth/BaseAccount.d.ts +57 -0
- package/dist/core/auth/BaseAccount.js +113 -0
- package/dist/core/auth/BaseAccount.js.map +1 -0
- package/dist/core/auth/BaseVestingAccount.d.ts +58 -0
- package/dist/core/auth/BaseVestingAccount.js +123 -0
- package/dist/core/auth/BaseVestingAccount.js.map +1 -0
- package/dist/core/auth/ContinuousVestingAccount.d.ts +45 -0
- package/dist/core/auth/ContinuousVestingAccount.js +116 -0
- package/dist/core/auth/ContinuousVestingAccount.js.map +1 -0
- package/dist/core/auth/DelayedVestingAccount.d.ts +42 -0
- package/dist/core/auth/DelayedVestingAccount.js +108 -0
- package/dist/core/auth/DelayedVestingAccount.js.map +1 -0
- package/dist/core/auth/PeriodicVestingAccount.d.ts +72 -0
- package/dist/core/auth/PeriodicVestingAccount.js +170 -0
- package/dist/core/auth/PeriodicVestingAccount.js.map +1 -0
- package/dist/core/auth/index.d.ts +6 -0
- package/dist/core/auth/index.js +23 -0
- package/dist/core/auth/index.js.map +1 -0
- package/dist/core/authz/authorizations/Authorization.d.ts +37 -0
- package/dist/core/authz/authorizations/Authorization.js +103 -0
- package/dist/core/authz/authorizations/Authorization.js.map +1 -0
- package/dist/core/authz/authorizations/GenericAuthorization.d.ts +28 -0
- package/dist/core/authz/authorizations/GenericAuthorization.js +71 -0
- package/dist/core/authz/authorizations/GenericAuthorization.js.map +1 -0
- package/dist/core/authz/authorizations/SendAuthorization.d.ts +29 -0
- package/dist/core/authz/authorizations/SendAuthorization.js +72 -0
- package/dist/core/authz/authorizations/SendAuthorization.js.map +1 -0
- package/dist/core/authz/authorizations/StakeAuthorization.d.ts +48 -0
- package/dist/core/authz/authorizations/StakeAuthorization.js +122 -0
- package/dist/core/authz/authorizations/StakeAuthorization.js.map +1 -0
- package/dist/core/authz/authorizations/index.d.ts +4 -0
- package/dist/core/authz/authorizations/index.js +21 -0
- package/dist/core/authz/authorizations/index.js.map +1 -0
- package/dist/core/authz/msgs/MsgExecAuthorized.d.ts +37 -0
- package/dist/core/authz/msgs/MsgExecAuthorized.js +85 -0
- package/dist/core/authz/msgs/MsgExecAuthorized.js.map +1 -0
- package/dist/core/authz/msgs/MsgGrantAuthorization.d.ts +40 -0
- package/dist/core/authz/msgs/MsgGrantAuthorization.js +87 -0
- package/dist/core/authz/msgs/MsgGrantAuthorization.js.map +1 -0
- package/dist/core/authz/msgs/MsgRevokeAuthorization.d.ts +40 -0
- package/dist/core/authz/msgs/MsgRevokeAuthorization.js +87 -0
- package/dist/core/authz/msgs/MsgRevokeAuthorization.js.map +1 -0
- package/dist/core/authz/msgs/index.d.ts +12 -0
- package/dist/core/authz/msgs/index.js +20 -0
- package/dist/core/authz/msgs/index.js.map +1 -0
- package/dist/core/bank/msgs/MsgMultiSend.d.ts +136 -0
- package/dist/core/bank/msgs/MsgMultiSend.js +221 -0
- package/dist/core/bank/msgs/MsgMultiSend.js.map +1 -0
- package/dist/core/bank/msgs/MsgSend.d.ts +47 -0
- package/dist/core/bank/msgs/MsgSend.js +91 -0
- package/dist/core/bank/msgs/MsgSend.js.map +1 -0
- package/dist/core/bank/msgs/index.d.ts +10 -0
- package/dist/core/bank/msgs/index.js +19 -0
- package/dist/core/bank/msgs/index.js.map +1 -0
- package/dist/core/bech32.d.ts +68 -0
- package/dist/core/bech32.js +108 -0
- package/dist/core/bech32.js.map +1 -0
- package/dist/core/crisis/MsgVerifyInvariant.d.ts +43 -0
- package/dist/core/crisis/MsgVerifyInvariant.js +77 -0
- package/dist/core/crisis/MsgVerifyInvariant.js.map +1 -0
- package/dist/core/crisis/index.d.ts +8 -0
- package/dist/core/crisis/index.js +18 -0
- package/dist/core/crisis/index.js.map +1 -0
- package/dist/core/distribution/msgs/MsgFundCommunityPool.d.ts +37 -0
- package/dist/core/distribution/msgs/MsgFundCommunityPool.js +83 -0
- package/dist/core/distribution/msgs/MsgFundCommunityPool.js.map +1 -0
- package/dist/core/distribution/msgs/MsgSetWithdrawAddress.d.ts +41 -0
- package/dist/core/distribution/msgs/MsgSetWithdrawAddress.js +87 -0
- package/dist/core/distribution/msgs/MsgSetWithdrawAddress.js.map +1 -0
- package/dist/core/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +43 -0
- package/dist/core/distribution/msgs/MsgWithdrawDelegatorReward.js +89 -0
- package/dist/core/distribution/msgs/MsgWithdrawDelegatorReward.js.map +1 -0
- package/dist/core/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +37 -0
- package/dist/core/distribution/msgs/MsgWithdrawValidatorCommission.js +82 -0
- package/dist/core/distribution/msgs/MsgWithdrawValidatorCommission.js.map +1 -0
- package/dist/core/distribution/msgs/index.d.ts +14 -0
- package/dist/core/distribution/msgs/index.js +21 -0
- package/dist/core/distribution/msgs/index.js.map +1 -0
- package/dist/core/distribution/proposals/CommunityPoolSpendProposal.d.ts +49 -0
- package/dist/core/distribution/proposals/CommunityPoolSpendProposal.js +97 -0
- package/dist/core/distribution/proposals/CommunityPoolSpendProposal.js.map +1 -0
- package/dist/core/distribution/proposals/index.d.ts +1 -0
- package/dist/core/distribution/proposals/index.js +18 -0
- package/dist/core/distribution/proposals/index.js.map +1 -0
- package/dist/core/feegrant/allowances/AllowedMsgAllowance.d.ts +40 -0
- package/dist/core/feegrant/allowances/AllowedMsgAllowance.js +94 -0
- package/dist/core/feegrant/allowances/AllowedMsgAllowance.js.map +1 -0
- package/dist/core/feegrant/allowances/BasicAllowance.d.ts +40 -0
- package/dist/core/feegrant/allowances/BasicAllowance.js +103 -0
- package/dist/core/feegrant/allowances/BasicAllowance.js.map +1 -0
- package/dist/core/feegrant/allowances/PeriodicAllowance.d.ts +53 -0
- package/dist/core/feegrant/allowances/PeriodicAllowance.js +108 -0
- package/dist/core/feegrant/allowances/PeriodicAllowance.js.map +1 -0
- package/dist/core/feegrant/allowances/index.d.ts +16 -0
- package/dist/core/feegrant/allowances/index.js +61 -0
- package/dist/core/feegrant/allowances/index.js.map +1 -0
- package/dist/core/feegrant/msgs/MsgGrantAllowance.d.ts +46 -0
- package/dist/core/feegrant/msgs/MsgGrantAllowance.js +93 -0
- package/dist/core/feegrant/msgs/MsgGrantAllowance.js.map +1 -0
- package/dist/core/feegrant/msgs/MsgRevokeAllowance.d.ts +40 -0
- package/dist/core/feegrant/msgs/MsgRevokeAllowance.js +86 -0
- package/dist/core/feegrant/msgs/MsgRevokeAllowance.js.map +1 -0
- package/dist/core/feegrant/msgs/index.d.ts +10 -0
- package/dist/core/feegrant/msgs/index.js +19 -0
- package/dist/core/feegrant/msgs/index.js.map +1 -0
- package/dist/core/gov/Proposal.d.ts +96 -0
- package/dist/core/gov/Proposal.js +232 -0
- package/dist/core/gov/Proposal.js.map +1 -0
- package/dist/core/gov/Vote.d.ts +61 -0
- package/dist/core/gov/Vote.js +131 -0
- package/dist/core/gov/Vote.js.map +1 -0
- package/dist/core/gov/msgs/MsgDeposit.d.ts +44 -0
- package/dist/core/gov/msgs/MsgDeposit.js +95 -0
- package/dist/core/gov/msgs/MsgDeposit.js.map +1 -0
- package/dist/core/gov/msgs/MsgSubmitProposal.d.ts +45 -0
- package/dist/core/gov/msgs/MsgSubmitProposal.js +92 -0
- package/dist/core/gov/msgs/MsgSubmitProposal.js.map +1 -0
- package/dist/core/gov/msgs/MsgVote.d.ts +46 -0
- package/dist/core/gov/msgs/MsgVote.js +99 -0
- package/dist/core/gov/msgs/MsgVote.js.map +1 -0
- package/dist/core/gov/msgs/MsgVoteWeighted.d.ts +44 -0
- package/dist/core/gov/msgs/MsgVoteWeighted.js +95 -0
- package/dist/core/gov/msgs/MsgVoteWeighted.js.map +1 -0
- package/dist/core/gov/msgs/index.d.ts +14 -0
- package/dist/core/gov/msgs/index.js +21 -0
- package/dist/core/gov/msgs/index.js.map +1 -0
- package/dist/core/gov/proposals/TextProposal.d.ts +40 -0
- package/dist/core/gov/proposals/TextProposal.js +87 -0
- package/dist/core/gov/proposals/TextProposal.js.map +1 -0
- package/dist/core/gov/proposals/index.d.ts +1 -0
- package/dist/core/gov/proposals/index.js +18 -0
- package/dist/core/gov/proposals/index.js.map +1 -0
- package/dist/core/ibc/applications/fee/Fee.d.ts +39 -0
- package/dist/core/ibc/applications/fee/Fee.js +79 -0
- package/dist/core/ibc/applications/fee/Fee.js.map +1 -0
- package/dist/core/ibc/applications/fee/IdentifiedPacketFee.d.ts +33 -0
- package/dist/core/ibc/applications/fee/IdentifiedPacketFee.js +76 -0
- package/dist/core/ibc/applications/fee/IdentifiedPacketFee.js.map +1 -0
- package/dist/core/ibc/applications/fee/Metadata.d.ts +32 -0
- package/dist/core/ibc/applications/fee/Metadata.js +74 -0
- package/dist/core/ibc/applications/fee/Metadata.js.map +1 -0
- package/dist/core/ibc/applications/fee/PacketFee.d.ts +37 -0
- package/dist/core/ibc/applications/fee/PacketFee.js +80 -0
- package/dist/core/ibc/applications/fee/PacketFee.js.map +1 -0
- package/dist/core/ibc/applications/fee/index.d.ts +7 -0
- package/dist/core/ibc/applications/fee/index.js +24 -0
- package/dist/core/ibc/applications/fee/index.js.map +1 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFee.d.ts +42 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFee.js +92 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFee.js.map +1 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFeeAsync.d.ts +34 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFeeAsync.js +81 -0
- package/dist/core/ibc/applications/fee/msgs/MsgPayPacketFeeAsync.js.map +1 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartAddress.d.ts +34 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartAddress.js +82 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartAddress.js.map +1 -0
- package/dist/core/ibc/applications/interchain-account/Account.d.ts +32 -0
- package/dist/core/ibc/applications/interchain-account/Account.js +74 -0
- package/dist/core/ibc/applications/interchain-account/Account.js.map +1 -0
- package/dist/core/ibc/applications/interchain-account/Metadata.d.ts +48 -0
- package/dist/core/ibc/applications/interchain-account/Metadata.js +94 -0
- package/dist/core/ibc/applications/interchain-account/Metadata.js.map +1 -0
- package/dist/core/ibc/applications/interchain-account/controller/Params.d.ts +28 -0
- package/dist/core/ibc/applications/interchain-account/controller/Params.js +69 -0
- package/dist/core/ibc/applications/interchain-account/controller/Params.js.map +1 -0
- package/dist/core/ibc/applications/interchain-account/host/Params.d.ts +31 -0
- package/dist/core/ibc/applications/interchain-account/host/Params.js +73 -0
- package/dist/core/ibc/applications/interchain-account/host/Params.js.map +1 -0
- package/dist/core/ibc/applications/interchain-account/index.d.ts +4 -0
- package/dist/core/ibc/applications/interchain-account/index.js +24 -0
- package/dist/core/ibc/applications/interchain-account/index.js.map +1 -0
- package/dist/core/ibc/applications/transfer/index.d.ts +10 -0
- package/dist/core/ibc/applications/transfer/index.js +20 -0
- package/dist/core/ibc/applications/transfer/index.js.map +1 -0
- package/dist/core/ibc/applications/transfer/v1/DenomTrace.d.ts +40 -0
- package/dist/core/ibc/applications/transfer/v1/DenomTrace.js +79 -0
- package/dist/core/ibc/applications/transfer/v1/DenomTrace.js.map +1 -0
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.d.ts +61 -0
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.js +130 -0
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.js.map +1 -0
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.d.ts +41 -0
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.js +85 -0
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.js.map +1 -0
- package/dist/core/ibc/core/channel/Channel.d.ts +53 -0
- package/dist/core/ibc/core/channel/Channel.js +100 -0
- package/dist/core/ibc/core/channel/Channel.js.map +1 -0
- package/dist/core/ibc/core/channel/Counterparty.d.ts +29 -0
- package/dist/core/ibc/core/channel/Counterparty.js +71 -0
- package/dist/core/ibc/core/channel/Counterparty.js.map +1 -0
- package/dist/core/ibc/core/channel/Packet.d.ts +48 -0
- package/dist/core/ibc/core/channel/Packet.js +100 -0
- package/dist/core/ibc/core/channel/Packet.js.map +1 -0
- package/dist/core/ibc/core/channel/PacketId.d.ts +37 -0
- package/dist/core/ibc/core/channel/PacketId.js +84 -0
- package/dist/core/ibc/core/channel/PacketId.js.map +1 -0
- package/dist/core/ibc/core/channel/index.d.ts +2 -0
- package/dist/core/ibc/core/channel/index.js +19 -0
- package/dist/core/ibc/core/channel/index.js.map +1 -0
- package/dist/core/ibc/core/client/ClientConsensusStates.d.ts +32 -0
- package/dist/core/ibc/core/client/ClientConsensusStates.js +76 -0
- package/dist/core/ibc/core/client/ClientConsensusStates.js.map +1 -0
- package/dist/core/ibc/core/client/ConsensusStateWithHeight.d.ts +32 -0
- package/dist/core/ibc/core/client/ConsensusStateWithHeight.js +74 -0
- package/dist/core/ibc/core/client/ConsensusStateWithHeight.js.map +1 -0
- package/dist/core/ibc/core/client/Height.d.ts +40 -0
- package/dist/core/ibc/core/client/Height.js +86 -0
- package/dist/core/ibc/core/client/Height.js.map +1 -0
- package/dist/core/ibc/core/client/IdentifiedClient.d.ts +31 -0
- package/dist/core/ibc/core/client/IdentifiedClient.js +73 -0
- package/dist/core/ibc/core/client/IdentifiedClient.js.map +1 -0
- package/dist/core/ibc/core/commitment/MerklePrefix.d.ts +24 -0
- package/dist/core/ibc/core/commitment/MerklePrefix.js +70 -0
- package/dist/core/ibc/core/commitment/MerklePrefix.js.map +1 -0
- package/dist/core/ibc/core/commitment/MerkleRoot.d.ts +24 -0
- package/dist/core/ibc/core/commitment/MerkleRoot.js +60 -0
- package/dist/core/ibc/core/commitment/MerkleRoot.js.map +1 -0
- package/dist/core/ibc/core/commitment/index.d.ts +2 -0
- package/dist/core/ibc/core/commitment/index.js +19 -0
- package/dist/core/ibc/core/commitment/index.js.map +1 -0
- package/dist/core/ibc/core/connection/Counterparty.d.ts +34 -0
- package/dist/core/ibc/core/connection/Counterparty.js +77 -0
- package/dist/core/ibc/core/connection/Counterparty.js.map +1 -0
- package/dist/core/ibc/core/connection/IdentifiedConnection.d.ts +51 -0
- package/dist/core/ibc/core/connection/IdentifiedConnection.js +105 -0
- package/dist/core/ibc/core/connection/IdentifiedConnection.js.map +1 -0
- package/dist/core/ibc/core/connection/Version.d.ts +28 -0
- package/dist/core/ibc/core/connection/Version.js +70 -0
- package/dist/core/ibc/core/connection/Version.js.map +1 -0
- package/dist/core/ibc/core/connection/index.d.ts +3 -0
- package/dist/core/ibc/core/connection/index.js +20 -0
- package/dist/core/ibc/core/connection/index.js.map +1 -0
- package/dist/core/ibc/core/index.d.ts +3 -0
- package/dist/core/ibc/core/index.js +20 -0
- package/dist/core/ibc/core/index.js.map +1 -0
- package/dist/core/ibc/lightclient/index.d.ts +1 -0
- package/dist/core/ibc/lightclient/index.js +18 -0
- package/dist/core/ibc/lightclient/index.js.map +1 -0
- package/dist/core/ibc/lightclient/tendermint/Header.d.ts +49 -0
- package/dist/core/ibc/lightclient/tendermint/Header.js +99 -0
- package/dist/core/ibc/lightclient/tendermint/Header.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseConfirm.d.ts +42 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseConfirm.js +91 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseConfirm.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseInit.d.ts +35 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseInit.js +82 -0
- package/dist/core/ibc/msgs/channel/MsgChannelCloseInit.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenAck.d.ts +48 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenAck.js +99 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenAck.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenConfirm.d.ts +42 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenConfirm.js +91 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenConfirm.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenInit.d.ts +36 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenInit.js +83 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenInit.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenTry.d.ts +49 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenTry.js +100 -0
- package/dist/core/ibc/msgs/channel/MsgChannelOpenTry.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgRecvAcknowledgement.d.ts +43 -0
- package/dist/core/ibc/msgs/channel/MsgRecvAcknowledgement.js +92 -0
- package/dist/core/ibc/msgs/channel/MsgRecvAcknowledgement.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgRecvPacket.d.ts +40 -0
- package/dist/core/ibc/msgs/channel/MsgRecvPacket.js +88 -0
- package/dist/core/ibc/msgs/channel/MsgRecvPacket.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgTimeout.d.ts +43 -0
- package/dist/core/ibc/msgs/channel/MsgTimeout.js +96 -0
- package/dist/core/ibc/msgs/channel/MsgTimeout.js.map +1 -0
- package/dist/core/ibc/msgs/channel/MsgTimeoutClose.d.ts +46 -0
- package/dist/core/ibc/msgs/channel/MsgTimeoutClose.js +100 -0
- package/dist/core/ibc/msgs/channel/MsgTimeoutClose.js.map +1 -0
- package/dist/core/ibc/msgs/channel/index.d.ts +25 -0
- package/dist/core/ibc/msgs/channel/index.js +27 -0
- package/dist/core/ibc/msgs/channel/index.js.map +1 -0
- package/dist/core/ibc/msgs/client/MsgCreateClient.d.ts +35 -0
- package/dist/core/ibc/msgs/client/MsgCreateClient.js +82 -0
- package/dist/core/ibc/msgs/client/MsgCreateClient.js.map +1 -0
- package/dist/core/ibc/msgs/client/MsgSubmitMisbehaviour.d.ts +35 -0
- package/dist/core/ibc/msgs/client/MsgSubmitMisbehaviour.js +82 -0
- package/dist/core/ibc/msgs/client/MsgSubmitMisbehaviour.js.map +1 -0
- package/dist/core/ibc/msgs/client/MsgUpdateClient.d.ts +36 -0
- package/dist/core/ibc/msgs/client/MsgUpdateClient.js +83 -0
- package/dist/core/ibc/msgs/client/MsgUpdateClient.js.map +1 -0
- package/dist/core/ibc/msgs/client/MsgUpgradeClient.d.ts +44 -0
- package/dist/core/ibc/msgs/client/MsgUpgradeClient.js +94 -0
- package/dist/core/ibc/msgs/client/MsgUpgradeClient.js.map +1 -0
- package/dist/core/ibc/msgs/client/Params.d.ts +27 -0
- package/dist/core/ibc/msgs/client/Params.js +68 -0
- package/dist/core/ibc/msgs/client/Params.js.map +1 -0
- package/dist/core/ibc/msgs/client/index.d.ts +13 -0
- package/dist/core/ibc/msgs/client/index.js +21 -0
- package/dist/core/ibc/msgs/client/index.js.map +1 -0
- package/dist/core/ibc/msgs/client/tendermint/crypto.d.ts +54 -0
- package/dist/core/ibc/msgs/client/tendermint/crypto.js +124 -0
- package/dist/core/ibc/msgs/client/tendermint/crypto.js.map +1 -0
- package/dist/core/ibc/msgs/client/tendermint/types.d.ts +233 -0
- package/dist/core/ibc/msgs/client/tendermint/types.js +461 -0
- package/dist/core/ibc/msgs/client/tendermint/types.js.map +1 -0
- package/dist/core/ibc/msgs/client/tendermint/version.d.ts +57 -0
- package/dist/core/ibc/msgs/client/tendermint/version.js +124 -0
- package/dist/core/ibc/msgs/client/tendermint/version.js.map +1 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenAck.d.ts +59 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenAck.js +119 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenAck.js.map +1 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenConfirm.d.ts +40 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenConfirm.js +88 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenConfirm.js.map +1 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenInit.d.ts +43 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenInit.js +98 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenInit.js.map +1 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenTry.d.ts +65 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenTry.js +141 -0
- package/dist/core/ibc/msgs/connection/MsgConnectionOpenTry.js.map +1 -0
- package/dist/core/ibc/msgs/connection/index.d.ts +13 -0
- package/dist/core/ibc/msgs/connection/index.js +21 -0
- package/dist/core/ibc/msgs/connection/index.js.map +1 -0
- package/dist/core/ibc/proposals/ClientUpdateProposal.d.ts +47 -0
- package/dist/core/ibc/proposals/ClientUpdateProposal.js +96 -0
- package/dist/core/ibc/proposals/ClientUpdateProposal.js.map +1 -0
- package/dist/core/ibc/proposals/index.d.ts +1 -0
- package/dist/core/ibc/proposals/index.js +18 -0
- package/dist/core/ibc/proposals/index.js.map +1 -0
- package/dist/core/index.d.ts +48 -0
- package/dist/core/index.js +80 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/move/MoveCoin.d.ts +28 -0
- package/dist/core/move/MoveCoin.js +67 -0
- package/dist/core/move/MoveCoin.js.map +1 -0
- package/dist/core/move/msgs/MsgConvertMoveCoin.d.ts +37 -0
- package/dist/core/move/msgs/MsgConvertMoveCoin.js +83 -0
- package/dist/core/move/msgs/MsgConvertMoveCoin.js.map +1 -0
- package/dist/core/move/msgs/MsgConvertNativeCoin.d.ts +37 -0
- package/dist/core/move/msgs/MsgConvertNativeCoin.js +83 -0
- package/dist/core/move/msgs/MsgConvertNativeCoin.js.map +1 -0
- package/dist/core/move/msgs/MsgExecuteEntryFunction.d.ts +52 -0
- package/dist/core/move/msgs/MsgExecuteEntryFunction.js +102 -0
- package/dist/core/move/msgs/MsgExecuteEntryFunction.js.map +1 -0
- package/dist/core/move/msgs/MsgExecuteScript.d.ts +44 -0
- package/dist/core/move/msgs/MsgExecuteScript.js +92 -0
- package/dist/core/move/msgs/MsgExecuteScript.js.map +1 -0
- package/dist/core/move/msgs/MsgPublishModuleBundle.d.ts +36 -0
- package/dist/core/move/msgs/MsgPublishModuleBundle.js +82 -0
- package/dist/core/move/msgs/MsgPublishModuleBundle.js.map +1 -0
- package/dist/core/move/msgs/index.d.ts +16 -0
- package/dist/core/move/msgs/index.js +22 -0
- package/dist/core/move/msgs/index.js.map +1 -0
- package/dist/core/move/proposals/PublishStdModuleProposal.d.ts +42 -0
- package/dist/core/move/proposals/PublishStdModuleProposal.js +90 -0
- package/dist/core/move/proposals/PublishStdModuleProposal.js.map +1 -0
- package/dist/core/move/proposals/index.d.ts +1 -0
- package/dist/core/move/proposals/index.js +18 -0
- package/dist/core/move/proposals/index.js.map +1 -0
- package/dist/core/num.d.ts +4 -0
- package/dist/core/num.js +28 -0
- package/dist/core/num.js.map +1 -0
- package/dist/core/params/ParamChange.d.ts +42 -0
- package/dist/core/params/ParamChange.js +96 -0
- package/dist/core/params/ParamChange.js.map +1 -0
- package/dist/core/params/proposals/ParameterChangeProposal.d.ts +68 -0
- package/dist/core/params/proposals/ParameterChangeProposal.js +121 -0
- package/dist/core/params/proposals/ParameterChangeProposal.js.map +1 -0
- package/dist/core/params/proposals/index.d.ts +1 -0
- package/dist/core/params/proposals/index.js +18 -0
- package/dist/core/params/proposals/index.js.map +1 -0
- package/dist/core/slashing/msgs/MsgUnjail.d.ts +40 -0
- package/dist/core/slashing/msgs/MsgUnjail.js +85 -0
- package/dist/core/slashing/msgs/MsgUnjail.js.map +1 -0
- package/dist/core/slashing/msgs/index.d.ts +8 -0
- package/dist/core/slashing/msgs/index.js +18 -0
- package/dist/core/slashing/msgs/index.js.map +1 -0
- package/dist/core/staking/Delegation.d.ts +45 -0
- package/dist/core/staking/Delegation.js +91 -0
- package/dist/core/staking/Delegation.js.map +1 -0
- package/dist/core/staking/Redelegation.d.ts +96 -0
- package/dist/core/staking/Redelegation.js +177 -0
- package/dist/core/staking/Redelegation.js.map +1 -0
- package/dist/core/staking/UnbondingDelegation.d.ts +74 -0
- package/dist/core/staking/UnbondingDelegation.js +145 -0
- package/dist/core/staking/UnbondingDelegation.js.map +1 -0
- package/dist/core/staking/Validator.d.ts +169 -0
- package/dist/core/staking/Validator.js +283 -0
- package/dist/core/staking/Validator.js.map +1 -0
- package/dist/core/staking/msgs/MsgBeginRedelegate.d.ts +51 -0
- package/dist/core/staking/msgs/MsgBeginRedelegate.js +99 -0
- package/dist/core/staking/msgs/MsgBeginRedelegate.js.map +1 -0
- package/dist/core/staking/msgs/MsgCreateValidator.d.ts +64 -0
- package/dist/core/staking/msgs/MsgCreateValidator.js +117 -0
- package/dist/core/staking/msgs/MsgCreateValidator.js.map +1 -0
- package/dist/core/staking/msgs/MsgDelegate.d.ts +46 -0
- package/dist/core/staking/msgs/MsgDelegate.js +93 -0
- package/dist/core/staking/msgs/MsgDelegate.js.map +1 -0
- package/dist/core/staking/msgs/MsgEditValidator.d.ts +54 -0
- package/dist/core/staking/msgs/MsgEditValidator.js +120 -0
- package/dist/core/staking/msgs/MsgEditValidator.js.map +1 -0
- package/dist/core/staking/msgs/MsgUndelegate.d.ts +46 -0
- package/dist/core/staking/msgs/MsgUndelegate.js +93 -0
- package/dist/core/staking/msgs/MsgUndelegate.js.map +1 -0
- package/dist/core/staking/msgs/index.d.ts +16 -0
- package/dist/core/staking/msgs/index.js +22 -0
- package/dist/core/staking/msgs/index.js.map +1 -0
- package/dist/core/upgrade/Plan.d.ts +40 -0
- package/dist/core/upgrade/Plan.js +92 -0
- package/dist/core/upgrade/Plan.js.map +1 -0
- package/dist/core/upgrade/index.d.ts +2 -0
- package/dist/core/upgrade/index.js +19 -0
- package/dist/core/upgrade/index.js.map +1 -0
- package/dist/core/upgrade/proposals/CancelSoftwareUpgradeProposal.d.ts +39 -0
- package/dist/core/upgrade/proposals/CancelSoftwareUpgradeProposal.js +86 -0
- package/dist/core/upgrade/proposals/CancelSoftwareUpgradeProposal.js.map +1 -0
- package/dist/core/upgrade/proposals/SoftwareUpgradeProposal.d.ts +44 -0
- package/dist/core/upgrade/proposals/SoftwareUpgradeProposal.js +92 -0
- package/dist/core/upgrade/proposals/SoftwareUpgradeProposal.js.map +1 -0
- package/dist/core/upgrade/proposals/index.d.ts +2 -0
- package/dist/core/upgrade/proposals/index.js +19 -0
- package/dist/core/upgrade/proposals/index.js.map +1 -0
- package/dist/core/vesting/Period.d.ts +32 -0
- package/dist/core/vesting/Period.js +78 -0
- package/dist/core/vesting/Period.js.map +1 -0
- package/dist/core/vesting/index.d.ts +2 -0
- package/dist/core/vesting/index.js +19 -0
- package/dist/core/vesting/index.js.map +1 -0
- package/dist/core/vesting/msgs/MsgCreatePeriodicVestingAccount.d.ts +46 -0
- package/dist/core/vesting/msgs/MsgCreatePeriodicVestingAccount.js +98 -0
- package/dist/core/vesting/msgs/MsgCreatePeriodicVestingAccount.js.map +1 -0
- package/dist/core/vesting/msgs/MsgCreateVestingAccount.d.ts +50 -0
- package/dist/core/vesting/msgs/MsgCreateVestingAccount.js +103 -0
- package/dist/core/vesting/msgs/MsgCreateVestingAccount.js.map +1 -0
- package/dist/core/vesting/msgs/MsgDonateAllVestingTokens.d.ts +35 -0
- package/dist/core/vesting/msgs/MsgDonateAllVestingTokens.js +75 -0
- package/dist/core/vesting/msgs/MsgDonateAllVestingTokens.js.map +1 -0
- package/dist/core/vesting/msgs/index.d.ts +12 -0
- package/dist/core/vesting/msgs/index.js +20 -0
- package/dist/core/vesting/msgs/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/key/CLIKey.d.ts +44 -0
- package/dist/key/CLIKey.js +164 -0
- package/dist/key/CLIKey.js.map +1 -0
- package/dist/key/Key.d.ts +60 -0
- package/dist/key/Key.js +185 -0
- package/dist/key/Key.js.map +1 -0
- package/dist/key/MnemonicKey.d.ts +55 -0
- package/dist/key/MnemonicKey.js +114 -0
- package/dist/key/MnemonicKey.js.map +1 -0
- package/dist/key/RawKey.d.ts +17 -0
- package/dist/key/RawKey.js +110 -0
- package/dist/key/RawKey.js.map +1 -0
- package/dist/key/index.d.ts +4 -0
- package/dist/key/index.js +21 -0
- package/dist/key/index.js.map +1 -0
- package/dist/util/bcs.d.ts +11 -0
- package/dist/util/bcs.js +102 -0
- package/dist/util/bcs.js.map +1 -0
- package/dist/util/contract.d.ts +9 -0
- package/dist/util/contract.js +57 -0
- package/dist/util/contract.js.map +1 -0
- package/dist/util/convert.d.ts +8 -0
- package/dist/util/convert.js +12 -0
- package/dist/util/convert.js.map +1 -0
- package/dist/util/hash.d.ts +11 -0
- package/dist/util/hash.js +37 -0
- package/dist/util/hash.js.map +1 -0
- package/dist/util/index.d.ts +2 -0
- package/dist/util/index.js +19 -0
- package/dist/util/index.js.map +1 -0
- package/dist/util/json.d.ts +9 -0
- package/dist/util/json.js +62 -0
- package/dist/util/json.js.map +1 -0
- package/package.json +110 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.Version = void 0;
|
|
19
|
+
var connection_1 = require("@initia/initia.proto/ibc/core/connection/v1/connection");
|
|
20
|
+
var json_1 = require("../../../../util/json");
|
|
21
|
+
/*
|
|
22
|
+
* Version defines the versioning scheme used to negotiate the IBC verison in the connection handshake.
|
|
23
|
+
*/
|
|
24
|
+
var Version = /** @class */ (function (_super) {
|
|
25
|
+
__extends(Version, _super);
|
|
26
|
+
/**
|
|
27
|
+
* @param identifier unique version identifier
|
|
28
|
+
* @param features list of features compatible with the specified identifier
|
|
29
|
+
*/
|
|
30
|
+
function Version(identifier, features) {
|
|
31
|
+
var _this = _super.call(this) || this;
|
|
32
|
+
_this.identifier = identifier;
|
|
33
|
+
_this.features = features;
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
Version.fromAmino = function (data) {
|
|
37
|
+
var identifier = data.identifier, features = data.features;
|
|
38
|
+
return new Version(identifier, features);
|
|
39
|
+
};
|
|
40
|
+
Version.prototype.toAmino = function () {
|
|
41
|
+
var _a = this, identifier = _a.identifier, features = _a.features;
|
|
42
|
+
var res = {
|
|
43
|
+
identifier: identifier,
|
|
44
|
+
features: features,
|
|
45
|
+
};
|
|
46
|
+
return res;
|
|
47
|
+
};
|
|
48
|
+
Version.fromData = function (data) {
|
|
49
|
+
var identifier = data.identifier, features = data.features;
|
|
50
|
+
return new Version(identifier, features);
|
|
51
|
+
};
|
|
52
|
+
Version.prototype.toData = function () {
|
|
53
|
+
var _a = this, identifier = _a.identifier, features = _a.features;
|
|
54
|
+
var res = {
|
|
55
|
+
identifier: identifier,
|
|
56
|
+
features: features,
|
|
57
|
+
};
|
|
58
|
+
return res;
|
|
59
|
+
};
|
|
60
|
+
Version.fromProto = function (proto) {
|
|
61
|
+
return new Version(proto.identifier, proto.features);
|
|
62
|
+
};
|
|
63
|
+
Version.prototype.toProto = function () {
|
|
64
|
+
var _a = this, identifier = _a.identifier, features = _a.features;
|
|
65
|
+
return connection_1.Version.fromPartial({ identifier: identifier, features: features });
|
|
66
|
+
};
|
|
67
|
+
return Version;
|
|
68
|
+
}(json_1.JSONSerializable));
|
|
69
|
+
exports.Version = Version;
|
|
70
|
+
//# sourceMappingURL=Version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Version.js","sourceRoot":"","sources":["../../../../../src/core/ibc/core/connection/Version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qFAA+F;AAC/F,8CAAyD;AAEzD;;GAEG;AACH;IAA6B,2BAI5B;IACC;;;OAGG;IACH,iBAAmB,UAAkB,EAAS,QAAkB;QAAhE,YACE,iBAAO,SACR;QAFkB,gBAAU,GAAV,UAAU,CAAQ;QAAS,cAAQ,GAAR,QAAQ,CAAU;;IAEhE,CAAC;IAEa,iBAAS,GAAvB,UAAwB,IAAmB;QACjC,IAAA,UAAU,GAAe,IAAI,WAAnB,EAAE,QAAQ,GAAK,IAAI,SAAT,CAAU;QACtC,OAAO,IAAI,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAEM,yBAAO,GAAd;QACQ,IAAA,KAA2B,IAAI,EAA7B,UAAU,gBAAA,EAAE,QAAQ,cAAS,CAAC;QACtC,IAAM,GAAG,GAAkB;YACzB,UAAU,YAAA;YACV,QAAQ,UAAA;SACT,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;IAEa,gBAAQ,GAAtB,UAAuB,IAAkB;QAC/B,IAAA,UAAU,GAAe,IAAI,WAAnB,EAAE,QAAQ,GAAK,IAAI,SAAT,CAAU;QACtC,OAAO,IAAI,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAEM,wBAAM,GAAb;QACQ,IAAA,KAA2B,IAAI,EAA7B,UAAU,gBAAA,EAAE,QAAQ,cAAS,CAAC;QACtC,IAAM,GAAG,GAAiB;YACxB,UAAU,YAAA;YACV,QAAQ,UAAA;SACT,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;IAEa,iBAAS,GAAvB,UAAwB,KAAoB;QAC1C,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACvD,CAAC;IAEM,yBAAO,GAAd;QACQ,IAAA,KAA2B,IAAI,EAA7B,UAAU,gBAAA,EAAE,QAAQ,cAAS,CAAC;QACtC,OAAO,oBAAU,CAAC,WAAW,CAAC,EAAE,UAAU,YAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC;IAC1D,CAAC;IACH,cAAC;AAAD,CAAC,AAjDD,CAA6B,uBAAgB,GAiD5C;AAjDY,0BAAO"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Counterparty"), exports);
|
|
18
|
+
__exportStar(require("./Version"), exports);
|
|
19
|
+
__exportStar(require("./IdentifiedConnection"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/core/ibc/core/connection/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,4CAA0B;AAC1B,yDAAuC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./channel"), exports);
|
|
18
|
+
__exportStar(require("./commitment"), exports);
|
|
19
|
+
__exportStar(require("./connection"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/ibc/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tendermint/Header';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./tendermint/Header"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/ibc/lightclient/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../../util/json';
|
|
2
|
+
import { Header as Header_pb } from '@initia/initia.proto/ibc/lightclients/tendermint/v1/tendermint';
|
|
3
|
+
import { Height } from '../../core/client/Height';
|
|
4
|
+
import { SignedHeader, ValidatorSet } from '../../msgs/client/tendermint/types';
|
|
5
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
6
|
+
/**
|
|
7
|
+
* Header defines the Tendermint client consensus Header.
|
|
8
|
+
* It encapsulates all the information necessary to update from a trusted
|
|
9
|
+
* Tendermint ConsensusState. The inclusion of TrustedHeight and
|
|
10
|
+
* TrustedValidators allows this update to process correctly, so long as the
|
|
11
|
+
* ConsensusState for the TrustedHeight exists, this removes race conditions
|
|
12
|
+
* among relayers The SignedHeader and ValidatorSet are the new untrusted update
|
|
13
|
+
* fields for the client. The TrustedHeight is the height of a stored
|
|
14
|
+
* ConsensusState on the client that will be used to verify the new untrusted
|
|
15
|
+
* header. The Trusted ConsensusState must be within the unbonding period of
|
|
16
|
+
* current time in order to correctly verify, and the TrustedValidators must
|
|
17
|
+
* hash to TrustedConsensusState.NextValidatorsHash since that is the last
|
|
18
|
+
* trusted validator set at the TrustedHeight.
|
|
19
|
+
*/
|
|
20
|
+
export declare class Header extends JSONSerializable<any, Header.Data, Header.Proto> {
|
|
21
|
+
signedHeader?: SignedHeader | undefined;
|
|
22
|
+
validatorSet?: ValidatorSet | undefined;
|
|
23
|
+
trustedHeight?: Height | undefined;
|
|
24
|
+
trustedValidators?: ValidatorSet | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @param signedHeader
|
|
27
|
+
* @param validatorSet
|
|
28
|
+
* @param trustedHeight
|
|
29
|
+
* @param trustedValidators
|
|
30
|
+
*/
|
|
31
|
+
constructor(signedHeader?: SignedHeader | undefined, validatorSet?: ValidatorSet | undefined, trustedHeight?: Height | undefined, trustedValidators?: ValidatorSet | undefined);
|
|
32
|
+
static fromAmino(_: any): Header;
|
|
33
|
+
toAmino(): any;
|
|
34
|
+
static fromData(data: Header.Data): Header;
|
|
35
|
+
toData(): Header.Data;
|
|
36
|
+
static fromProto(proto: Header.Proto): Header;
|
|
37
|
+
toProto(): Header.Proto;
|
|
38
|
+
packAny(): Any;
|
|
39
|
+
static unpackAny(msgAny: Any): Header;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace Header {
|
|
42
|
+
interface Data {
|
|
43
|
+
signed_header?: SignedHeader.Data;
|
|
44
|
+
validator_set?: ValidatorSet.Data;
|
|
45
|
+
trusted_height?: Height.Data;
|
|
46
|
+
trusted_validators?: ValidatorSet.Data;
|
|
47
|
+
}
|
|
48
|
+
type Proto = Header_pb;
|
|
49
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.Header = void 0;
|
|
19
|
+
var json_1 = require("../../../../util/json");
|
|
20
|
+
var tendermint_1 = require("@initia/initia.proto/ibc/lightclients/tendermint/v1/tendermint");
|
|
21
|
+
var Height_1 = require("../../core/client/Height");
|
|
22
|
+
var types_1 = require("../../msgs/client/tendermint/types");
|
|
23
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
24
|
+
/**
|
|
25
|
+
* Header defines the Tendermint client consensus Header.
|
|
26
|
+
* It encapsulates all the information necessary to update from a trusted
|
|
27
|
+
* Tendermint ConsensusState. The inclusion of TrustedHeight and
|
|
28
|
+
* TrustedValidators allows this update to process correctly, so long as the
|
|
29
|
+
* ConsensusState for the TrustedHeight exists, this removes race conditions
|
|
30
|
+
* among relayers The SignedHeader and ValidatorSet are the new untrusted update
|
|
31
|
+
* fields for the client. The TrustedHeight is the height of a stored
|
|
32
|
+
* ConsensusState on the client that will be used to verify the new untrusted
|
|
33
|
+
* header. The Trusted ConsensusState must be within the unbonding period of
|
|
34
|
+
* current time in order to correctly verify, and the TrustedValidators must
|
|
35
|
+
* hash to TrustedConsensusState.NextValidatorsHash since that is the last
|
|
36
|
+
* trusted validator set at the TrustedHeight.
|
|
37
|
+
*/
|
|
38
|
+
var Header = /** @class */ (function (_super) {
|
|
39
|
+
__extends(Header, _super);
|
|
40
|
+
/**
|
|
41
|
+
* @param signedHeader
|
|
42
|
+
* @param validatorSet
|
|
43
|
+
* @param trustedHeight
|
|
44
|
+
* @param trustedValidators
|
|
45
|
+
*/
|
|
46
|
+
function Header(signedHeader, validatorSet, trustedHeight, trustedValidators) {
|
|
47
|
+
var _this = _super.call(this) || this;
|
|
48
|
+
_this.signedHeader = signedHeader;
|
|
49
|
+
_this.validatorSet = validatorSet;
|
|
50
|
+
_this.trustedHeight = trustedHeight;
|
|
51
|
+
_this.trustedValidators = trustedValidators;
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
Header.fromAmino = function (_) {
|
|
55
|
+
_;
|
|
56
|
+
throw new Error('Amino not supported');
|
|
57
|
+
};
|
|
58
|
+
Header.prototype.toAmino = function () {
|
|
59
|
+
throw new Error('Amino not supported');
|
|
60
|
+
};
|
|
61
|
+
Header.fromData = function (data) {
|
|
62
|
+
var signedHeader = data.signed_header, validatorSet = data.validator_set, trustedHeight = data.trusted_height, trustedValidators = data.trusted_validators;
|
|
63
|
+
return new Header(signedHeader ? types_1.SignedHeader.fromData(signedHeader) : undefined, validatorSet ? types_1.ValidatorSet.fromData(validatorSet) : undefined, trustedHeight ? Height_1.Height.fromData(trustedHeight) : undefined, trustedValidators ? types_1.ValidatorSet.fromData(trustedValidators) : undefined);
|
|
64
|
+
};
|
|
65
|
+
Header.prototype.toData = function () {
|
|
66
|
+
var _a = this, signedHeader = _a.signedHeader, validatorSet = _a.validatorSet, trustedHeight = _a.trustedHeight, trustedValidators = _a.trustedValidators;
|
|
67
|
+
return {
|
|
68
|
+
signed_header: (signedHeader === null || signedHeader === void 0 ? void 0 : signedHeader.toData()) || undefined,
|
|
69
|
+
validator_set: (validatorSet === null || validatorSet === void 0 ? void 0 : validatorSet.toData()) || undefined,
|
|
70
|
+
trusted_height: (trustedHeight === null || trustedHeight === void 0 ? void 0 : trustedHeight.toData()) || undefined,
|
|
71
|
+
trusted_validators: (trustedValidators === null || trustedValidators === void 0 ? void 0 : trustedValidators.toData()) || undefined,
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
Header.fromProto = function (proto) {
|
|
75
|
+
var signedHeader = proto.signedHeader, validatorSet = proto.validatorSet, trustedHeight = proto.trustedHeight, trustedValidators = proto.trustedValidators;
|
|
76
|
+
return new Header(signedHeader ? types_1.SignedHeader.fromProto(signedHeader) : undefined, validatorSet ? types_1.ValidatorSet.fromProto(validatorSet) : undefined, trustedHeight ? Height_1.Height.fromProto(trustedHeight) : undefined, trustedValidators ? types_1.ValidatorSet.fromProto(trustedValidators) : undefined);
|
|
77
|
+
};
|
|
78
|
+
Header.prototype.toProto = function () {
|
|
79
|
+
var _a = this, signedHeader = _a.signedHeader, validatorSet = _a.validatorSet, trustedHeight = _a.trustedHeight, trustedValidators = _a.trustedValidators;
|
|
80
|
+
return tendermint_1.Header.fromPartial({
|
|
81
|
+
signedHeader: (signedHeader === null || signedHeader === void 0 ? void 0 : signedHeader.toProto()) || undefined,
|
|
82
|
+
validatorSet: (validatorSet === null || validatorSet === void 0 ? void 0 : validatorSet.toProto()) || undefined,
|
|
83
|
+
trustedHeight: (trustedHeight === null || trustedHeight === void 0 ? void 0 : trustedHeight.toProto()) || undefined,
|
|
84
|
+
trustedValidators: (trustedValidators === null || trustedValidators === void 0 ? void 0 : trustedValidators.toProto()) || undefined,
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
Header.prototype.packAny = function () {
|
|
88
|
+
return any_1.Any.fromPartial({
|
|
89
|
+
typeUrl: 'ibc.lightclients.tendermint.v1.Header',
|
|
90
|
+
value: tendermint_1.Header.encode(this.toProto()).finish(),
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
Header.unpackAny = function (msgAny) {
|
|
94
|
+
return Header.fromProto(tendermint_1.Header.decode(msgAny.value));
|
|
95
|
+
};
|
|
96
|
+
return Header;
|
|
97
|
+
}(json_1.JSONSerializable));
|
|
98
|
+
exports.Header = Header;
|
|
99
|
+
//# sourceMappingURL=Header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../../src/core/ibc/lightclient/tendermint/Header.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../../util/json';
|
|
2
|
+
import { AccAddress } from '../../../bech32';
|
|
3
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
+
import { Height } from '../../core/client/Height';
|
|
5
|
+
import { MsgChannelCloseConfirm as MsgChannelCloseConfirm_pb } from '@initia/initia.proto/ibc/core/channel/v1/tx';
|
|
6
|
+
/**
|
|
7
|
+
* MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B to acknowledge the change of channel state to CLOSED on Chain A.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MsgChannelCloseConfirm extends JSONSerializable<any, MsgChannelCloseConfirm.Data, MsgChannelCloseConfirm.Proto> {
|
|
10
|
+
port_id: string;
|
|
11
|
+
channel_id: string;
|
|
12
|
+
proof_init: string;
|
|
13
|
+
proof_height: Height | undefined;
|
|
14
|
+
signer: AccAddress;
|
|
15
|
+
/**
|
|
16
|
+
* @param port_id identifier of the port to use
|
|
17
|
+
* @param channel_id
|
|
18
|
+
* @param proof_init
|
|
19
|
+
* @param proof_height
|
|
20
|
+
* @param signer signer address
|
|
21
|
+
*/
|
|
22
|
+
constructor(port_id: string, channel_id: string, proof_init: string, proof_height: Height | undefined, signer: AccAddress);
|
|
23
|
+
static fromAmino(_: any): MsgChannelCloseConfirm;
|
|
24
|
+
toAmino(): any;
|
|
25
|
+
static fromData(data: MsgChannelCloseConfirm.Data): MsgChannelCloseConfirm;
|
|
26
|
+
toData(): MsgChannelCloseConfirm.Data;
|
|
27
|
+
static fromProto(proto: MsgChannelCloseConfirm.Proto): MsgChannelCloseConfirm;
|
|
28
|
+
toProto(): MsgChannelCloseConfirm.Proto;
|
|
29
|
+
packAny(): Any;
|
|
30
|
+
static unpackAny(msgAny: Any): MsgChannelCloseConfirm;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace MsgChannelCloseConfirm {
|
|
33
|
+
interface Data {
|
|
34
|
+
'@type': '/ibc.core.channel.v1.MsgChannelCloseConfirm';
|
|
35
|
+
port_id: string;
|
|
36
|
+
channel_id: string;
|
|
37
|
+
proof_init: string;
|
|
38
|
+
proof_height?: Height.Data;
|
|
39
|
+
signer: AccAddress;
|
|
40
|
+
}
|
|
41
|
+
type Proto = MsgChannelCloseConfirm_pb;
|
|
42
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MsgChannelCloseConfirm = void 0;
|
|
19
|
+
var json_1 = require("../../../../util/json");
|
|
20
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
21
|
+
var Height_1 = require("../../core/client/Height");
|
|
22
|
+
var tx_1 = require("@initia/initia.proto/ibc/core/channel/v1/tx");
|
|
23
|
+
/**
|
|
24
|
+
* MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B to acknowledge the change of channel state to CLOSED on Chain A.
|
|
25
|
+
*/
|
|
26
|
+
var MsgChannelCloseConfirm = /** @class */ (function (_super) {
|
|
27
|
+
__extends(MsgChannelCloseConfirm, _super);
|
|
28
|
+
/**
|
|
29
|
+
* @param port_id identifier of the port to use
|
|
30
|
+
* @param channel_id
|
|
31
|
+
* @param proof_init
|
|
32
|
+
* @param proof_height
|
|
33
|
+
* @param signer signer address
|
|
34
|
+
*/
|
|
35
|
+
function MsgChannelCloseConfirm(port_id, channel_id, proof_init, proof_height, signer) {
|
|
36
|
+
var _this = _super.call(this) || this;
|
|
37
|
+
_this.port_id = port_id;
|
|
38
|
+
_this.channel_id = channel_id;
|
|
39
|
+
_this.proof_init = proof_init;
|
|
40
|
+
_this.proof_height = proof_height;
|
|
41
|
+
_this.signer = signer;
|
|
42
|
+
return _this;
|
|
43
|
+
}
|
|
44
|
+
MsgChannelCloseConfirm.fromAmino = function (_) {
|
|
45
|
+
_;
|
|
46
|
+
throw new Error('Amino not supported');
|
|
47
|
+
};
|
|
48
|
+
MsgChannelCloseConfirm.prototype.toAmino = function () {
|
|
49
|
+
throw new Error('Amino not supported');
|
|
50
|
+
};
|
|
51
|
+
MsgChannelCloseConfirm.fromData = function (data) {
|
|
52
|
+
var port_id = data.port_id, channel_id = data.channel_id, proof_init = data.proof_init, proof_height = data.proof_height, signer = data.signer;
|
|
53
|
+
return new MsgChannelCloseConfirm(port_id, channel_id, proof_init, proof_height ? Height_1.Height.fromData(proof_height) : undefined, signer);
|
|
54
|
+
};
|
|
55
|
+
MsgChannelCloseConfirm.prototype.toData = function () {
|
|
56
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, proof_init = _a.proof_init, proof_height = _a.proof_height, signer = _a.signer;
|
|
57
|
+
return {
|
|
58
|
+
'@type': '/ibc.core.channel.v1.MsgChannelCloseConfirm',
|
|
59
|
+
port_id: port_id,
|
|
60
|
+
channel_id: channel_id,
|
|
61
|
+
proof_init: proof_init,
|
|
62
|
+
proof_height: proof_height ? proof_height.toData() : undefined,
|
|
63
|
+
signer: signer,
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
MsgChannelCloseConfirm.fromProto = function (proto) {
|
|
67
|
+
return new MsgChannelCloseConfirm(proto.portId, proto.channelId, Buffer.from(proto.proofInit).toString('base64'), proto.proofHeight ? Height_1.Height.fromProto(proto.proofHeight) : undefined, proto.signer);
|
|
68
|
+
};
|
|
69
|
+
MsgChannelCloseConfirm.prototype.toProto = function () {
|
|
70
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, proof_init = _a.proof_init, proof_height = _a.proof_height, signer = _a.signer;
|
|
71
|
+
return tx_1.MsgChannelCloseConfirm.fromPartial({
|
|
72
|
+
portId: port_id,
|
|
73
|
+
channelId: channel_id,
|
|
74
|
+
proofInit: Buffer.from(proof_init, 'base64'),
|
|
75
|
+
proofHeight: proof_height ? proof_height.toProto() : undefined,
|
|
76
|
+
signer: signer,
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
MsgChannelCloseConfirm.prototype.packAny = function () {
|
|
80
|
+
return any_1.Any.fromPartial({
|
|
81
|
+
typeUrl: '/ibc.core.channel.v1.MsgChannelCloseConfirm',
|
|
82
|
+
value: tx_1.MsgChannelCloseConfirm.encode(this.toProto()).finish(),
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
MsgChannelCloseConfirm.unpackAny = function (msgAny) {
|
|
86
|
+
return MsgChannelCloseConfirm.fromProto(tx_1.MsgChannelCloseConfirm.decode(msgAny.value));
|
|
87
|
+
};
|
|
88
|
+
return MsgChannelCloseConfirm;
|
|
89
|
+
}(json_1.JSONSerializable));
|
|
90
|
+
exports.MsgChannelCloseConfirm = MsgChannelCloseConfirm;
|
|
91
|
+
//# sourceMappingURL=MsgChannelCloseConfirm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgChannelCloseConfirm.js","sourceRoot":"","sources":["../../../../../src/core/ibc/msgs/channel/MsgChannelCloseConfirm.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../../util/json';
|
|
2
|
+
import { AccAddress } from '../../../bech32';
|
|
3
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
+
import { MsgChannelCloseInit as MsgChannelCloseInit_pb } from '@initia/initia.proto/ibc/core/channel/v1/tx';
|
|
5
|
+
/**
|
|
6
|
+
* MsgChannelCloseInit defines a msg sent by a Relayer to Chain A to close a channel with Chain B.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MsgChannelCloseInit extends JSONSerializable<any, MsgChannelCloseInit.Data, MsgChannelCloseInit.Proto> {
|
|
9
|
+
port_id: string;
|
|
10
|
+
channel_id: string;
|
|
11
|
+
signer: AccAddress;
|
|
12
|
+
/**
|
|
13
|
+
* @param port_id identifier of the port to use
|
|
14
|
+
* @param channel channel info
|
|
15
|
+
* @param signer signer address
|
|
16
|
+
*/
|
|
17
|
+
constructor(port_id: string, channel_id: string, signer: AccAddress);
|
|
18
|
+
static fromAmino(_: any): MsgChannelCloseInit;
|
|
19
|
+
toAmino(): any;
|
|
20
|
+
static fromData(data: MsgChannelCloseInit.Data): MsgChannelCloseInit;
|
|
21
|
+
toData(): MsgChannelCloseInit.Data;
|
|
22
|
+
static fromProto(proto: MsgChannelCloseInit.Proto): MsgChannelCloseInit;
|
|
23
|
+
toProto(): MsgChannelCloseInit.Proto;
|
|
24
|
+
packAny(): Any;
|
|
25
|
+
static unpackAny(msgAny: Any): MsgChannelCloseInit;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace MsgChannelCloseInit {
|
|
28
|
+
interface Data {
|
|
29
|
+
'@type': '/ibc.core.channel.v1.MsgChannelCloseInit';
|
|
30
|
+
port_id: string;
|
|
31
|
+
channel_id: string;
|
|
32
|
+
signer: AccAddress;
|
|
33
|
+
}
|
|
34
|
+
type Proto = MsgChannelCloseInit_pb;
|
|
35
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MsgChannelCloseInit = void 0;
|
|
19
|
+
var json_1 = require("../../../../util/json");
|
|
20
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
21
|
+
var tx_1 = require("@initia/initia.proto/ibc/core/channel/v1/tx");
|
|
22
|
+
/**
|
|
23
|
+
* MsgChannelCloseInit defines a msg sent by a Relayer to Chain A to close a channel with Chain B.
|
|
24
|
+
*/
|
|
25
|
+
var MsgChannelCloseInit = /** @class */ (function (_super) {
|
|
26
|
+
__extends(MsgChannelCloseInit, _super);
|
|
27
|
+
/**
|
|
28
|
+
* @param port_id identifier of the port to use
|
|
29
|
+
* @param channel channel info
|
|
30
|
+
* @param signer signer address
|
|
31
|
+
*/
|
|
32
|
+
function MsgChannelCloseInit(port_id, channel_id, signer) {
|
|
33
|
+
var _this = _super.call(this) || this;
|
|
34
|
+
_this.port_id = port_id;
|
|
35
|
+
_this.channel_id = channel_id;
|
|
36
|
+
_this.signer = signer;
|
|
37
|
+
return _this;
|
|
38
|
+
}
|
|
39
|
+
MsgChannelCloseInit.fromAmino = function (_) {
|
|
40
|
+
_;
|
|
41
|
+
throw new Error('Amino not supported');
|
|
42
|
+
};
|
|
43
|
+
MsgChannelCloseInit.prototype.toAmino = function () {
|
|
44
|
+
throw new Error('Amino not supported');
|
|
45
|
+
};
|
|
46
|
+
MsgChannelCloseInit.fromData = function (data) {
|
|
47
|
+
var port_id = data.port_id, channel_id = data.channel_id, signer = data.signer;
|
|
48
|
+
return new MsgChannelCloseInit(port_id, channel_id, signer);
|
|
49
|
+
};
|
|
50
|
+
MsgChannelCloseInit.prototype.toData = function () {
|
|
51
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, signer = _a.signer;
|
|
52
|
+
return {
|
|
53
|
+
'@type': '/ibc.core.channel.v1.MsgChannelCloseInit',
|
|
54
|
+
port_id: port_id,
|
|
55
|
+
channel_id: channel_id,
|
|
56
|
+
signer: signer,
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
MsgChannelCloseInit.fromProto = function (proto) {
|
|
60
|
+
return new MsgChannelCloseInit(proto.portId, proto.channelId, proto.signer);
|
|
61
|
+
};
|
|
62
|
+
MsgChannelCloseInit.prototype.toProto = function () {
|
|
63
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, signer = _a.signer;
|
|
64
|
+
return tx_1.MsgChannelCloseInit.fromPartial({
|
|
65
|
+
portId: port_id,
|
|
66
|
+
channelId: channel_id,
|
|
67
|
+
signer: signer,
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
MsgChannelCloseInit.prototype.packAny = function () {
|
|
71
|
+
return any_1.Any.fromPartial({
|
|
72
|
+
typeUrl: '/ibc.core.channel.v1.MsgChannelCloseInit',
|
|
73
|
+
value: tx_1.MsgChannelCloseInit.encode(this.toProto()).finish(),
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
MsgChannelCloseInit.unpackAny = function (msgAny) {
|
|
77
|
+
return MsgChannelCloseInit.fromProto(tx_1.MsgChannelCloseInit.decode(msgAny.value));
|
|
78
|
+
};
|
|
79
|
+
return MsgChannelCloseInit;
|
|
80
|
+
}(json_1.JSONSerializable));
|
|
81
|
+
exports.MsgChannelCloseInit = MsgChannelCloseInit;
|
|
82
|
+
//# sourceMappingURL=MsgChannelCloseInit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgChannelCloseInit.js","sourceRoot":"","sources":["../../../../../src/core/ibc/msgs/channel/MsgChannelCloseInit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,8CAAyD;AAEzD,gEAA+D;AAC/D,kEAA4G;AAE5G;;GAEG;AACH;IAAyC,uCAIxC;IACC;;;;OAIG;IACH,6BACS,OAAe,EACf,UAAkB,EAClB,MAAkB;QAH3B,YAKE,iBAAO,SACR;QALQ,aAAO,GAAP,OAAO,CAAQ;QACf,gBAAU,GAAV,UAAU,CAAQ;QAClB,YAAM,GAAN,MAAM,CAAY;;IAG3B,CAAC;IAEa,6BAAS,GAAvB,UAAwB,CAAM;QAC5B,CAAC,CAAC;QACF,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEM,qCAAO,GAAd;QACE,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEa,4BAAQ,GAAtB,UAAuB,IAA8B;QAC3C,IAAA,OAAO,GAAyB,IAAI,QAA7B,EAAE,UAAU,GAAa,IAAI,WAAjB,EAAE,MAAM,GAAK,IAAI,OAAT,CAAU;QAC7C,OAAO,IAAI,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC9D,CAAC;IAEM,oCAAM,GAAb;QACQ,IAAA,KAAkC,IAAI,EAApC,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,MAAM,YAAS,CAAC;QAC7C,OAAO;YACL,OAAO,EAAE,0CAA0C;YACnD,OAAO,SAAA;YACP,UAAU,YAAA;YACV,MAAM,QAAA;SACP,CAAC;IACJ,CAAC;IAEa,6BAAS,GAAvB,UAAwB,KAAgC;QACtD,OAAO,IAAI,mBAAmB,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9E,CAAC;IAEM,qCAAO,GAAd;QACQ,IAAA,KAAkC,IAAI,EAApC,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,MAAM,YAAS,CAAC;QAC7C,OAAO,wBAAsB,CAAC,WAAW,CAAC;YACxC,MAAM,EAAE,OAAO;YACf,SAAS,EAAE,UAAU;YACrB,MAAM,QAAA;SACP,CAAC,CAAC;IACL,CAAC;IAEM,qCAAO,GAAd;QACE,OAAO,SAAG,CAAC,WAAW,CAAC;YACrB,OAAO,EAAE,0CAA0C;YACnD,KAAK,EAAE,wBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;SAC9D,CAAC,CAAC;IACL,CAAC;IAEa,6BAAS,GAAvB,UAAwB,MAAW;QACjC,OAAO,mBAAmB,CAAC,SAAS,CAClC,wBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAC5C,CAAC;IACJ,CAAC;IACH,0BAAC;AAAD,CAAC,AAnED,CAAyC,uBAAgB,GAmExD;AAnEY,kDAAmB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../../util/json';
|
|
2
|
+
import { AccAddress } from '../../../bech32';
|
|
3
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
+
import { Height } from '../../core/client/Height';
|
|
5
|
+
import { MsgChannelOpenAck as MsgChannelOpenAck_pb } from '@initia/initia.proto/ibc/core/channel/v1/tx';
|
|
6
|
+
/**
|
|
7
|
+
* MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge the change of channel state to TRYOPEN on Chain B.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MsgChannelOpenAck extends JSONSerializable<any, MsgChannelOpenAck.Data, MsgChannelOpenAck.Proto> {
|
|
10
|
+
port_id: string;
|
|
11
|
+
channel_id: string;
|
|
12
|
+
counterparty_channel_id: string;
|
|
13
|
+
counterparty_version: string;
|
|
14
|
+
proof_try: string;
|
|
15
|
+
proof_height: Height | undefined;
|
|
16
|
+
signer: AccAddress;
|
|
17
|
+
/**
|
|
18
|
+
* @param port_id identifier of the port to use
|
|
19
|
+
* @param channel_id
|
|
20
|
+
* @param counterparty_channel_id
|
|
21
|
+
* @param counterparty_version
|
|
22
|
+
* @param proof_try
|
|
23
|
+
* @param proof_height
|
|
24
|
+
* @param signer signer address
|
|
25
|
+
*/
|
|
26
|
+
constructor(port_id: string, channel_id: string, counterparty_channel_id: string, counterparty_version: string, proof_try: string, proof_height: Height | undefined, signer: AccAddress);
|
|
27
|
+
static fromAmino(_: any): MsgChannelOpenAck;
|
|
28
|
+
toAmino(): any;
|
|
29
|
+
static fromData(data: MsgChannelOpenAck.Data): MsgChannelOpenAck;
|
|
30
|
+
toData(): MsgChannelOpenAck.Data;
|
|
31
|
+
static fromProto(proto: MsgChannelOpenAck.Proto): MsgChannelOpenAck;
|
|
32
|
+
toProto(): MsgChannelOpenAck.Proto;
|
|
33
|
+
packAny(): Any;
|
|
34
|
+
static unpackAny(msgAny: Any): MsgChannelOpenAck;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace MsgChannelOpenAck {
|
|
37
|
+
interface Data {
|
|
38
|
+
'@type': '/ibc.core.channel.v1.MsgChannelOpenAck';
|
|
39
|
+
port_id: string;
|
|
40
|
+
channel_id: string;
|
|
41
|
+
counterparty_channel_id: string;
|
|
42
|
+
counterparty_version: string;
|
|
43
|
+
proof_try: string;
|
|
44
|
+
proof_height?: Height.Data;
|
|
45
|
+
signer: AccAddress;
|
|
46
|
+
}
|
|
47
|
+
type Proto = MsgChannelOpenAck_pb;
|
|
48
|
+
}
|