juno-network 0.15.0 → 0.17.0
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 +1 -4
- package/main/codegen/JunoSwap.client.js +165 -184
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/binary.js +478 -0
- package/main/codegen/confio/proofs.js +836 -72
- package/main/codegen/contracts.js +8 -4
- package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
- package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
- package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
- package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
- package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
- package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
- package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
- package/main/codegen/cosmos/bundle.js +274 -105
- package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
- package/main/codegen/cosmos/client.js +37 -23
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
- package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
- package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
- package/main/codegen/cosmos/gov/v1/gov.js +497 -58
- package/main/codegen/cosmos/gov/v1/query.js +770 -56
- package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
- package/main/codegen/cosmos/gov/v1/tx.js +511 -38
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
- package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
- package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
- package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/group/v1/events.js +729 -0
- package/main/codegen/cosmos/group/v1/genesis.js +259 -0
- package/main/codegen/cosmos/group/v1/query.js +2377 -0
- package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
- package/main/codegen/cosmos/group/v1/tx.js +2590 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
- package/main/codegen/cosmos/group/v1/types.js +1607 -0
- package/main/codegen/cosmos/lcd.js +255 -128
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/orm/v1/orm.js +400 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
- package/main/codegen/cosmos/rpc.query.js +198 -97
- package/main/codegen/cosmos/rpc.tx.js +178 -96
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
- package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
- package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
- package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
- package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
- package/main/codegen/cosmos_proto/bundle.js +6 -6
- package/main/codegen/cosmos_proto/cosmos.js +129 -21
- package/main/codegen/cosmwasm/bundle.js +21 -21
- package/main/codegen/cosmwasm/client.js +21 -23
- package/main/codegen/cosmwasm/lcd.js +272 -145
- package/main/codegen/cosmwasm/rpc.query.js +211 -110
- package/main/codegen/cosmwasm/rpc.tx.js +193 -111
- package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
- package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
- package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
- package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
- package/main/codegen/gaia/bundle.js +12 -12
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
- package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
- package/main/codegen/gaia/lcd.js +272 -145
- package/main/codegen/gaia/rpc.query.js +211 -110
- package/main/codegen/gogoproto/bundle.js +6 -6
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +1216 -0
- package/main/codegen/google/bundle.js +13 -10
- package/main/codegen/google/protobuf/any.js +278 -6
- package/main/codegen/google/protobuf/descriptor.js +1691 -171
- package/main/codegen/google/protobuf/duration.js +215 -10
- package/main/codegen/google/protobuf/empty.js +63 -6
- package/main/codegen/google/protobuf/timestamp.js +283 -9
- package/main/codegen/helpers.js +19 -53
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
- package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
- package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
- package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
- package/main/codegen/ibc/bundle.js +71 -60
- package/main/codegen/ibc/client.js +21 -23
- package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
- package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
- package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
- package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
- package/main/codegen/ibc/core/client/v1/client.js +438 -28
- package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
- package/main/codegen/ibc/core/client/v1/query.js +874 -45
- package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
- package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
- package/main/codegen/ibc/core/client/v1/tx.js +402 -20
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
- package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
- package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
- package/main/codegen/ibc/core/connection/v1/query.js +592 -36
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
- package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/port/v1/query.js +224 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
- package/main/codegen/ibc/lcd.js +320 -193
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
- package/main/codegen/ibc/rpc.query.js +257 -146
- package/main/codegen/ibc/rpc.tx.js +235 -153
- package/main/codegen/ics23/bundle.js +6 -6
- package/main/codegen/index.js +74 -41
- package/main/codegen/juno/bundle.js +77 -24
- package/main/codegen/juno/client.js +33 -25
- package/main/codegen/juno/clock/v1/genesis.js +183 -0
- package/main/codegen/juno/clock/v1/query.js +288 -0
- package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
- package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
- package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
- package/main/codegen/juno/clock/v1/tx.js +177 -0
- package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
- package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
- package/main/codegen/juno/cwhooks/v1/query.js +436 -0
- package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
- package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
- package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
- package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
- package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
- package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/drip/v1/genesis.js +183 -0
- package/main/codegen/juno/drip/v1/query.js +137 -0
- package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
- package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
- package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
- package/main/codegen/juno/drip/v1/tx.js +326 -0
- package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
- package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
- package/main/codegen/juno/feepay/v1/feepay.js +217 -0
- package/main/codegen/juno/feepay/v1/genesis.js +185 -0
- package/main/codegen/juno/feepay/v1/query.js +769 -0
- package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
- package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
- package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
- package/main/codegen/juno/feepay/v1/tx.js +792 -0
- package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
- package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
- package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
- package/main/codegen/juno/feeshare/v1/query.js +446 -27
- package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
- package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
- package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
- package/main/codegen/juno/feeshare/v1/tx.js +406 -18
- package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
- package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
- package/main/codegen/juno/lcd.js +339 -156
- package/main/codegen/juno/mint/genesis.js +43 -8
- package/main/codegen/juno/mint/mint.js +117 -24
- package/main/codegen/juno/mint/query.js +384 -19
- package/main/codegen/juno/mint/query.lcd.js +61 -39
- package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
- package/main/codegen/juno/mint/tx.amino.js +15 -0
- package/main/codegen/juno/mint/tx.js +177 -0
- package/main/codegen/juno/mint/tx.registry.js +47 -0
- package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/rpc.query.js +258 -117
- package/main/codegen/juno/rpc.tx.js +250 -111
- package/main/codegen/osmosis/bundle.js +19 -19
- package/main/codegen/osmosis/client.js +21 -23
- package/main/codegen/osmosis/lcd.js +272 -145
- package/main/codegen/osmosis/rpc.query.js +211 -110
- package/main/codegen/osmosis/rpc.tx.js +193 -111
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
- package/main/codegen/router/bundle.js +12 -12
- package/main/codegen/router/lcd.js +269 -142
- package/main/codegen/router/rpc.query.js +208 -107
- package/main/codegen/router/v1/genesis.js +221 -24
- package/main/codegen/router/v1/query.js +69 -8
- package/main/codegen/router/v1/query.lcd.js +11 -13
- package/main/codegen/router/v1/query.rpc.Query.js +3 -5
- package/main/codegen/tendermint/abci/types.js +2058 -229
- package/main/codegen/tendermint/bundle.js +21 -21
- package/main/codegen/tendermint/crypto/keys.js +42 -6
- package/main/codegen/tendermint/crypto/proof.js +228 -21
- package/main/codegen/tendermint/libs/bits/types.js +47 -12
- package/main/codegen/tendermint/p2p/types.js +230 -26
- package/main/codegen/tendermint/types/block.js +46 -9
- package/main/codegen/tendermint/types/evidence.js +198 -27
- package/main/codegen/tendermint/types/params.js +316 -47
- package/main/codegen/tendermint/types/types.js +680 -87
- package/main/codegen/tendermint/types/validator.js +136 -24
- package/main/codegen/tendermint/version/types.js +114 -18
- package/main/codegen/utf8.js +129 -0
- package/main/codegen/varint.js +440 -0
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/binary.js +374 -0
- package/module/codegen/confio/proofs.js +806 -67
- package/module/codegen/contracts.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
- package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
- package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
- package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
- package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
- package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
- package/module/codegen/cosmos/bundle.js +272 -103
- package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
- package/module/codegen/cosmos/client.js +21 -5
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
- package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
- package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
- package/module/codegen/cosmos/gov/v1/gov.js +471 -56
- package/module/codegen/cosmos/gov/v1/query.js +756 -53
- package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
- package/module/codegen/cosmos/gov/v1/tx.js +490 -35
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
- package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
- package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
- package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/group/v1/events.js +705 -0
- package/module/codegen/cosmos/group/v1/genesis.js +173 -0
- package/module/codegen/cosmos/group/v1/query.js +2196 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
- package/module/codegen/cosmos/group/v1/tx.js +2445 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1511 -0
- package/module/codegen/cosmos/lcd.js +48 -1
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/v1/orm.js +368 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/rpc.query.js +32 -0
- package/module/codegen/cosmos/rpc.tx.js +21 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
- package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
- package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
- package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
- package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
- package/module/codegen/cosmos_proto/bundle.js +4 -4
- package/module/codegen/cosmos_proto/cosmos.js +121 -15
- package/module/codegen/cosmwasm/bundle.js +19 -19
- package/module/codegen/cosmwasm/client.js +3 -3
- package/module/codegen/cosmwasm/lcd.js +48 -1
- package/module/codegen/cosmwasm/rpc.query.js +32 -0
- package/module/codegen/cosmwasm/rpc.tx.js +21 -0
- package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
- package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
- package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
- package/module/codegen/gaia/bundle.js +10 -10
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
- package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
- package/module/codegen/gaia/lcd.js +48 -1
- package/module/codegen/gaia/rpc.query.js +32 -0
- package/module/codegen/gogoproto/bundle.js +4 -4
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +1171 -0
- package/module/codegen/google/bundle.js +11 -8
- package/module/codegen/google/protobuf/any.js +278 -3
- package/module/codegen/google/protobuf/descriptor.js +1534 -165
- package/module/codegen/google/protobuf/duration.js +154 -7
- package/module/codegen/google/protobuf/empty.js +63 -3
- package/module/codegen/google/protobuf/timestamp.js +199 -7
- package/module/codegen/helpers.js +19 -46
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
- package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
- package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
- package/module/codegen/ibc/bundle.js +69 -58
- package/module/codegen/ibc/client.js +3 -3
- package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
- package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
- package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
- package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
- package/module/codegen/ibc/core/client/v1/client.js +424 -24
- package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
- package/module/codegen/ibc/core/client/v1/query.js +861 -42
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
- package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
- package/module/codegen/ibc/core/client/v1/tx.js +402 -17
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
- package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
- package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
- package/module/codegen/ibc/core/connection/v1/query.js +579 -33
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
- package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/port/v1/query.js +214 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
- package/module/codegen/ibc/lcd.js +48 -1
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
- package/module/codegen/ibc/rpc.query.js +35 -0
- package/module/codegen/ibc/rpc.tx.js +21 -0
- package/module/codegen/ics23/bundle.js +4 -4
- package/module/codegen/index.js +5 -2
- package/module/codegen/juno/bundle.js +75 -22
- package/module/codegen/juno/client.js +15 -5
- package/module/codegen/juno/clock/v1/genesis.js +155 -0
- package/module/codegen/juno/clock/v1/query.js +256 -0
- package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
- package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
- package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
- package/module/codegen/juno/clock/v1/tx.js +167 -0
- package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
- package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
- package/module/codegen/juno/cwhooks/v1/query.js +385 -0
- package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
- package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
- package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
- package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
- package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
- package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/drip/v1/genesis.js +155 -0
- package/module/codegen/juno/drip/v1/query.js +127 -0
- package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
- package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
- package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
- package/module/codegen/juno/drip/v1/tx.js +294 -0
- package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
- package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
- package/module/codegen/juno/feepay/v1/feepay.js +207 -0
- package/module/codegen/juno/feepay/v1/genesis.js +157 -0
- package/module/codegen/juno/feepay/v1/query.js +725 -0
- package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
- package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
- package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
- package/module/codegen/juno/feepay/v1/tx.js +748 -0
- package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
- package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
- package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
- package/module/codegen/juno/feeshare/v1/query.js +433 -23
- package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
- package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
- package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
- package/module/codegen/juno/feeshare/v1/tx.js +400 -13
- package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
- package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
- package/module/codegen/juno/lcd.js +68 -1
- package/module/codegen/juno/mint/genesis.js +43 -5
- package/module/codegen/juno/mint/mint.js +115 -21
- package/module/codegen/juno/mint/query.js +378 -14
- package/module/codegen/juno/mint/query.lcd.js +6 -3
- package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
- package/module/codegen/juno/mint/tx.amino.js +8 -0
- package/module/codegen/juno/mint/tx.js +167 -0
- package/module/codegen/juno/mint/tx.registry.js +33 -0
- package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/rpc.query.js +44 -0
- package/module/codegen/juno/rpc.tx.js +35 -1
- package/module/codegen/osmosis/bundle.js +17 -17
- package/module/codegen/osmosis/client.js +3 -3
- package/module/codegen/osmosis/lcd.js +48 -1
- package/module/codegen/osmosis/rpc.query.js +32 -0
- package/module/codegen/osmosis/rpc.tx.js +21 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
- package/module/codegen/router/bundle.js +10 -10
- package/module/codegen/router/lcd.js +48 -1
- package/module/codegen/router/rpc.query.js +32 -0
- package/module/codegen/router/v1/genesis.js +217 -22
- package/module/codegen/router/v1/query.js +69 -5
- package/module/codegen/router/v1/query.lcd.js +0 -1
- package/module/codegen/router/v1/query.rpc.Query.js +2 -2
- package/module/codegen/tendermint/abci/types.js +1996 -220
- package/module/codegen/tendermint/bundle.js +19 -19
- package/module/codegen/tendermint/crypto/keys.js +42 -3
- package/module/codegen/tendermint/crypto/proof.js +221 -18
- package/module/codegen/tendermint/libs/bits/types.js +42 -8
- package/module/codegen/tendermint/p2p/types.js +226 -23
- package/module/codegen/tendermint/types/block.js +46 -6
- package/module/codegen/tendermint/types/evidence.js +191 -24
- package/module/codegen/tendermint/types/params.js +306 -43
- package/module/codegen/tendermint/types/types.js +666 -85
- package/module/codegen/tendermint/types/validator.js +132 -21
- package/module/codegen/tendermint/version/types.js +108 -15
- package/module/codegen/utf8.js +121 -0
- package/module/codegen/varint.js +420 -0
- package/package.json +8 -9
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +4 -0
- package/src/codegen/binary.ts +534 -0
- package/src/codegen/confio/proofs.ts +828 -387
- package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
- package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
- package/src/codegen/cosmos/bundle.ts +439 -157
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
- package/src/codegen/cosmos/client.ts +31 -5
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
- package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1/query.ts +929 -365
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
- package/src/codegen/cosmos/group/v1/events.ts +855 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
- package/src/codegen/cosmos/group/v1/query.ts +2674 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
- package/src/codegen/cosmos/group/v1/types.ts +1964 -0
- package/src/codegen/cosmos/lcd.ts +48 -1
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
- package/src/codegen/cosmos/rpc.query.ts +32 -0
- package/src/codegen/cosmos/rpc.tx.ts +21 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
- package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -2
- package/src/codegen/cosmos_proto/cosmos.ts +125 -67
- package/src/codegen/cosmwasm/bundle.ts +32 -30
- package/src/codegen/cosmwasm/client.ts +5 -3
- package/src/codegen/cosmwasm/lcd.ts +48 -1
- package/src/codegen/cosmwasm/rpc.query.ts +32 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
- package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
- package/src/codegen/gaia/bundle.ts +14 -12
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
- package/src/codegen/gaia/lcd.ts +48 -1
- package/src/codegen/gaia/rpc.query.ts +32 -0
- package/src/codegen/gogoproto/bundle.ts +3 -2
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +1351 -0
- package/src/codegen/google/bundle.ts +17 -10
- package/src/codegen/google/protobuf/any.ts +131 -24
- package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
- package/src/codegen/google/protobuf/duration.ts +106 -41
- package/src/codegen/google/protobuf/empty.ts +49 -16
- package/src/codegen/google/protobuf/timestamp.ts +127 -39
- package/src/codegen/helpers.ts +174 -166
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
- package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
- package/src/codegen/ibc/bundle.ts +115 -90
- package/src/codegen/ibc/client.ts +5 -3
- package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
- package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
- package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
- package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
- package/src/codegen/ibc/core/client/v1/client.ts +463 -184
- package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/ibc/core/client/v1/query.ts +929 -333
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
- package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
- package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/ibc/core/port/v1/query.ts +269 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
- package/src/codegen/ibc/lcd.ts +48 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
- package/src/codegen/ibc/rpc.query.ts +35 -0
- package/src/codegen/ibc/rpc.tx.ts +21 -0
- package/src/codegen/ics23/bundle.ts +3 -2
- package/src/codegen/index.ts +5 -2
- package/src/codegen/juno/bundle.ts +127 -34
- package/src/codegen/juno/client.ts +21 -4
- package/src/codegen/juno/clock/v1/genesis.ts +188 -0
- package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
- package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
- package/src/codegen/juno/clock/v1/query.ts +298 -0
- package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
- package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
- package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/clock/v1/tx.ts +203 -0
- package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
- package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
- package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
- package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
- package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
- package/src/codegen/juno/drip/v1/genesis.ts +190 -0
- package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
- package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/juno/drip/v1/query.ts +151 -0
- package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
- package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
- package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
- package/src/codegen/juno/drip/v1/tx.ts +360 -0
- package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
- package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
- package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
- package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
- package/src/codegen/juno/feepay/v1/query.ts +886 -0
- package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
- package/src/codegen/juno/feepay/v1/tx.ts +905 -0
- package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
- package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
- package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/juno/feeshare/v1/query.ts +504 -203
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
- package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
- package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
- package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
- package/src/codegen/juno/lcd.ts +68 -1
- package/src/codegen/juno/mint/genesis.ts +58 -30
- package/src/codegen/juno/mint/mint.ts +152 -73
- package/src/codegen/juno/mint/query.lcd.ts +8 -10
- package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
- package/src/codegen/juno/mint/query.ts +431 -99
- package/src/codegen/juno/mint/tx.amino.ts +8 -0
- package/src/codegen/juno/mint/tx.registry.ts +34 -0
- package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/mint/tx.ts +203 -0
- package/src/codegen/juno/rpc.query.ts +44 -0
- package/src/codegen/juno/rpc.tx.ts +35 -1
- package/src/codegen/osmosis/bundle.ts +28 -26
- package/src/codegen/osmosis/client.ts +5 -3
- package/src/codegen/osmosis/lcd.ts +48 -1
- package/src/codegen/osmosis/rpc.query.ts +32 -0
- package/src/codegen/osmosis/rpc.tx.ts +21 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
- package/src/codegen/router/bundle.ts +14 -12
- package/src/codegen/router/lcd.ts +48 -1
- package/src/codegen/router/rpc.query.ts +32 -0
- package/src/codegen/router/v1/genesis.ts +276 -119
- package/src/codegen/router/v1/query.lcd.ts +1 -5
- package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
- package/src/codegen/router/v1/query.ts +85 -34
- package/src/codegen/tendermint/abci/types.ts +2651 -1184
- package/src/codegen/tendermint/bundle.ts +28 -22
- package/src/codegen/tendermint/crypto/keys.ts +51 -20
- package/src/codegen/tendermint/crypto/proof.ts +281 -108
- package/src/codegen/tendermint/libs/bits/types.ts +62 -32
- package/src/codegen/tendermint/p2p/types.ts +318 -126
- package/src/codegen/tendermint/types/block.ts +70 -33
- package/src/codegen/tendermint/types/evidence.ts +257 -112
- package/src/codegen/tendermint/types/params.ts +383 -188
- package/src/codegen/tendermint/types/types.ts +886 -437
- package/src/codegen/tendermint/types/validator.ts +191 -84
- package/src/codegen/tendermint/version/types.ts +125 -56
- package/src/codegen/utf8.ts +148 -0
- package/src/codegen/varint.ts +488 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
|
@@ -1,55 +1,22 @@
|
|
|
1
|
-
import { Height, HeightSDKType } from "../../client/v1/client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { Height, HeightAmino, HeightSDKType } from "../../client/v1/client";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
4
4
|
/**
|
|
5
5
|
* State defines if a channel is in one of the following states:
|
|
6
6
|
* CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
export enum State {
|
|
10
9
|
/** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
|
|
11
10
|
STATE_UNINITIALIZED_UNSPECIFIED = 0,
|
|
12
|
-
|
|
13
11
|
/** STATE_INIT - A channel has just started the opening handshake. */
|
|
14
12
|
STATE_INIT = 1,
|
|
15
|
-
|
|
16
13
|
/** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */
|
|
17
14
|
STATE_TRYOPEN = 2,
|
|
18
|
-
|
|
19
15
|
/**
|
|
20
16
|
* STATE_OPEN - A channel has completed the handshake. Open channels are
|
|
21
17
|
* ready to send and receive packets.
|
|
22
18
|
*/
|
|
23
19
|
STATE_OPEN = 3,
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* STATE_CLOSED - A channel has been closed and can no longer be used to send or receive
|
|
27
|
-
* packets.
|
|
28
|
-
*/
|
|
29
|
-
STATE_CLOSED = 4,
|
|
30
|
-
UNRECOGNIZED = -1,
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* State defines if a channel is in one of the following states:
|
|
34
|
-
* CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED.
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
export enum StateSDKType {
|
|
38
|
-
/** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
|
|
39
|
-
STATE_UNINITIALIZED_UNSPECIFIED = 0,
|
|
40
|
-
|
|
41
|
-
/** STATE_INIT - A channel has just started the opening handshake. */
|
|
42
|
-
STATE_INIT = 1,
|
|
43
|
-
|
|
44
|
-
/** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */
|
|
45
|
-
STATE_TRYOPEN = 2,
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* STATE_OPEN - A channel has completed the handshake. Open channels are
|
|
49
|
-
* ready to send and receive packets.
|
|
50
|
-
*/
|
|
51
|
-
STATE_OPEN = 3,
|
|
52
|
-
|
|
53
20
|
/**
|
|
54
21
|
* STATE_CLOSED - A channel has been closed and can no longer be used to send or receive
|
|
55
22
|
* packets.
|
|
@@ -57,28 +24,25 @@ export enum StateSDKType {
|
|
|
57
24
|
STATE_CLOSED = 4,
|
|
58
25
|
UNRECOGNIZED = -1,
|
|
59
26
|
}
|
|
27
|
+
export const StateSDKType = State;
|
|
28
|
+
export const StateAmino = State;
|
|
60
29
|
export function stateFromJSON(object: any): State {
|
|
61
30
|
switch (object) {
|
|
62
31
|
case 0:
|
|
63
32
|
case "STATE_UNINITIALIZED_UNSPECIFIED":
|
|
64
33
|
return State.STATE_UNINITIALIZED_UNSPECIFIED;
|
|
65
|
-
|
|
66
34
|
case 1:
|
|
67
35
|
case "STATE_INIT":
|
|
68
36
|
return State.STATE_INIT;
|
|
69
|
-
|
|
70
37
|
case 2:
|
|
71
38
|
case "STATE_TRYOPEN":
|
|
72
39
|
return State.STATE_TRYOPEN;
|
|
73
|
-
|
|
74
40
|
case 3:
|
|
75
41
|
case "STATE_OPEN":
|
|
76
42
|
return State.STATE_OPEN;
|
|
77
|
-
|
|
78
43
|
case 4:
|
|
79
44
|
case "STATE_CLOSED":
|
|
80
45
|
return State.STATE_CLOSED;
|
|
81
|
-
|
|
82
46
|
case -1:
|
|
83
47
|
case "UNRECOGNIZED":
|
|
84
48
|
default:
|
|
@@ -89,70 +53,45 @@ export function stateToJSON(object: State): string {
|
|
|
89
53
|
switch (object) {
|
|
90
54
|
case State.STATE_UNINITIALIZED_UNSPECIFIED:
|
|
91
55
|
return "STATE_UNINITIALIZED_UNSPECIFIED";
|
|
92
|
-
|
|
93
56
|
case State.STATE_INIT:
|
|
94
57
|
return "STATE_INIT";
|
|
95
|
-
|
|
96
58
|
case State.STATE_TRYOPEN:
|
|
97
59
|
return "STATE_TRYOPEN";
|
|
98
|
-
|
|
99
60
|
case State.STATE_OPEN:
|
|
100
61
|
return "STATE_OPEN";
|
|
101
|
-
|
|
102
62
|
case State.STATE_CLOSED:
|
|
103
63
|
return "STATE_CLOSED";
|
|
104
|
-
|
|
105
64
|
case State.UNRECOGNIZED:
|
|
106
65
|
default:
|
|
107
66
|
return "UNRECOGNIZED";
|
|
108
67
|
}
|
|
109
68
|
}
|
|
110
69
|
/** Order defines if a channel is ORDERED or UNORDERED */
|
|
111
|
-
|
|
112
70
|
export enum Order {
|
|
113
71
|
/** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */
|
|
114
72
|
ORDER_NONE_UNSPECIFIED = 0,
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in
|
|
118
|
-
* which they were sent.
|
|
119
|
-
*/
|
|
120
|
-
ORDER_UNORDERED = 1,
|
|
121
|
-
|
|
122
|
-
/** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */
|
|
123
|
-
ORDER_ORDERED = 2,
|
|
124
|
-
UNRECOGNIZED = -1,
|
|
125
|
-
}
|
|
126
|
-
/** Order defines if a channel is ORDERED or UNORDERED */
|
|
127
|
-
|
|
128
|
-
export enum OrderSDKType {
|
|
129
|
-
/** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */
|
|
130
|
-
ORDER_NONE_UNSPECIFIED = 0,
|
|
131
|
-
|
|
132
73
|
/**
|
|
133
74
|
* ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in
|
|
134
75
|
* which they were sent.
|
|
135
76
|
*/
|
|
136
77
|
ORDER_UNORDERED = 1,
|
|
137
|
-
|
|
138
78
|
/** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */
|
|
139
79
|
ORDER_ORDERED = 2,
|
|
140
80
|
UNRECOGNIZED = -1,
|
|
141
81
|
}
|
|
82
|
+
export const OrderSDKType = Order;
|
|
83
|
+
export const OrderAmino = Order;
|
|
142
84
|
export function orderFromJSON(object: any): Order {
|
|
143
85
|
switch (object) {
|
|
144
86
|
case 0:
|
|
145
87
|
case "ORDER_NONE_UNSPECIFIED":
|
|
146
88
|
return Order.ORDER_NONE_UNSPECIFIED;
|
|
147
|
-
|
|
148
89
|
case 1:
|
|
149
90
|
case "ORDER_UNORDERED":
|
|
150
91
|
return Order.ORDER_UNORDERED;
|
|
151
|
-
|
|
152
92
|
case 2:
|
|
153
93
|
case "ORDER_ORDERED":
|
|
154
94
|
return Order.ORDER_ORDERED;
|
|
155
|
-
|
|
156
95
|
case -1:
|
|
157
96
|
case "UNRECOGNIZED":
|
|
158
97
|
default:
|
|
@@ -163,13 +102,10 @@ export function orderToJSON(object: Order): string {
|
|
|
163
102
|
switch (object) {
|
|
164
103
|
case Order.ORDER_NONE_UNSPECIFIED:
|
|
165
104
|
return "ORDER_NONE_UNSPECIFIED";
|
|
166
|
-
|
|
167
105
|
case Order.ORDER_UNORDERED:
|
|
168
106
|
return "ORDER_UNORDERED";
|
|
169
|
-
|
|
170
107
|
case Order.ORDER_ORDERED:
|
|
171
108
|
return "ORDER_ORDERED";
|
|
172
|
-
|
|
173
109
|
case Order.UNRECOGNIZED:
|
|
174
110
|
default:
|
|
175
111
|
return "UNRECOGNIZED";
|
|
@@ -180,190 +116,219 @@ export function orderToJSON(object: Order): string {
|
|
|
180
116
|
* modules on separate blockchains, which has at least one end capable of
|
|
181
117
|
* sending packets and one end capable of receiving packets.
|
|
182
118
|
*/
|
|
183
|
-
|
|
184
119
|
export interface Channel {
|
|
185
120
|
/** current state of the channel end */
|
|
186
121
|
state: State;
|
|
187
122
|
/** whether the channel is ordered or unordered */
|
|
188
|
-
|
|
189
123
|
ordering: Order;
|
|
190
124
|
/** counterparty channel end */
|
|
191
|
-
|
|
192
|
-
counterparty?: Counterparty;
|
|
125
|
+
counterparty: Counterparty;
|
|
193
126
|
/**
|
|
194
127
|
* list of connection identifiers, in order, along which packets sent on
|
|
195
128
|
* this channel will travel
|
|
196
129
|
*/
|
|
197
|
-
|
|
198
130
|
connectionHops: string[];
|
|
199
131
|
/** opaque channel version, which is agreed upon during the handshake */
|
|
200
|
-
|
|
201
132
|
version: string;
|
|
202
133
|
}
|
|
134
|
+
export interface ChannelProtoMsg {
|
|
135
|
+
typeUrl: "/ibc.core.channel.v1.Channel";
|
|
136
|
+
value: Uint8Array;
|
|
137
|
+
}
|
|
203
138
|
/**
|
|
204
139
|
* Channel defines pipeline for exactly-once packet delivery between specific
|
|
205
140
|
* modules on separate blockchains, which has at least one end capable of
|
|
206
141
|
* sending packets and one end capable of receiving packets.
|
|
207
142
|
*/
|
|
208
|
-
|
|
209
|
-
export interface ChannelSDKType {
|
|
143
|
+
export interface ChannelAmino {
|
|
210
144
|
/** current state of the channel end */
|
|
211
|
-
state
|
|
145
|
+
state?: State;
|
|
212
146
|
/** whether the channel is ordered or unordered */
|
|
213
|
-
|
|
214
|
-
ordering: OrderSDKType;
|
|
147
|
+
ordering?: Order;
|
|
215
148
|
/** counterparty channel end */
|
|
216
|
-
|
|
217
|
-
counterparty?: CounterpartySDKType;
|
|
149
|
+
counterparty?: CounterpartyAmino;
|
|
218
150
|
/**
|
|
219
151
|
* list of connection identifiers, in order, along which packets sent on
|
|
220
152
|
* this channel will travel
|
|
221
153
|
*/
|
|
222
|
-
|
|
223
|
-
connection_hops: string[];
|
|
154
|
+
connection_hops?: string[];
|
|
224
155
|
/** opaque channel version, which is agreed upon during the handshake */
|
|
225
|
-
|
|
156
|
+
version?: string;
|
|
157
|
+
}
|
|
158
|
+
export interface ChannelAminoMsg {
|
|
159
|
+
type: "cosmos-sdk/Channel";
|
|
160
|
+
value: ChannelAmino;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Channel defines pipeline for exactly-once packet delivery between specific
|
|
164
|
+
* modules on separate blockchains, which has at least one end capable of
|
|
165
|
+
* sending packets and one end capable of receiving packets.
|
|
166
|
+
*/
|
|
167
|
+
export interface ChannelSDKType {
|
|
168
|
+
state: State;
|
|
169
|
+
ordering: Order;
|
|
170
|
+
counterparty: CounterpartySDKType;
|
|
171
|
+
connection_hops: string[];
|
|
226
172
|
version: string;
|
|
227
173
|
}
|
|
228
174
|
/**
|
|
229
175
|
* IdentifiedChannel defines a channel with additional port and channel
|
|
230
176
|
* identifier fields.
|
|
231
177
|
*/
|
|
232
|
-
|
|
233
178
|
export interface IdentifiedChannel {
|
|
234
179
|
/** current state of the channel end */
|
|
235
180
|
state: State;
|
|
236
181
|
/** whether the channel is ordered or unordered */
|
|
237
|
-
|
|
238
182
|
ordering: Order;
|
|
239
183
|
/** counterparty channel end */
|
|
240
|
-
|
|
241
|
-
counterparty?: Counterparty;
|
|
184
|
+
counterparty: Counterparty;
|
|
242
185
|
/**
|
|
243
186
|
* list of connection identifiers, in order, along which packets sent on
|
|
244
187
|
* this channel will travel
|
|
245
188
|
*/
|
|
246
|
-
|
|
247
189
|
connectionHops: string[];
|
|
248
190
|
/** opaque channel version, which is agreed upon during the handshake */
|
|
249
|
-
|
|
250
191
|
version: string;
|
|
251
192
|
/** port identifier */
|
|
252
|
-
|
|
253
193
|
portId: string;
|
|
254
194
|
/** channel identifier */
|
|
255
|
-
|
|
256
195
|
channelId: string;
|
|
257
196
|
}
|
|
197
|
+
export interface IdentifiedChannelProtoMsg {
|
|
198
|
+
typeUrl: "/ibc.core.channel.v1.IdentifiedChannel";
|
|
199
|
+
value: Uint8Array;
|
|
200
|
+
}
|
|
258
201
|
/**
|
|
259
202
|
* IdentifiedChannel defines a channel with additional port and channel
|
|
260
203
|
* identifier fields.
|
|
261
204
|
*/
|
|
262
|
-
|
|
263
|
-
export interface IdentifiedChannelSDKType {
|
|
205
|
+
export interface IdentifiedChannelAmino {
|
|
264
206
|
/** current state of the channel end */
|
|
265
|
-
state
|
|
207
|
+
state?: State;
|
|
266
208
|
/** whether the channel is ordered or unordered */
|
|
267
|
-
|
|
268
|
-
ordering: OrderSDKType;
|
|
209
|
+
ordering?: Order;
|
|
269
210
|
/** counterparty channel end */
|
|
270
|
-
|
|
271
|
-
counterparty?: CounterpartySDKType;
|
|
211
|
+
counterparty?: CounterpartyAmino;
|
|
272
212
|
/**
|
|
273
213
|
* list of connection identifiers, in order, along which packets sent on
|
|
274
214
|
* this channel will travel
|
|
275
215
|
*/
|
|
276
|
-
|
|
277
|
-
connection_hops: string[];
|
|
216
|
+
connection_hops?: string[];
|
|
278
217
|
/** opaque channel version, which is agreed upon during the handshake */
|
|
279
|
-
|
|
280
|
-
version: string;
|
|
218
|
+
version?: string;
|
|
281
219
|
/** port identifier */
|
|
282
|
-
|
|
283
|
-
port_id: string;
|
|
220
|
+
port_id?: string;
|
|
284
221
|
/** channel identifier */
|
|
285
|
-
|
|
222
|
+
channel_id?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface IdentifiedChannelAminoMsg {
|
|
225
|
+
type: "cosmos-sdk/IdentifiedChannel";
|
|
226
|
+
value: IdentifiedChannelAmino;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* IdentifiedChannel defines a channel with additional port and channel
|
|
230
|
+
* identifier fields.
|
|
231
|
+
*/
|
|
232
|
+
export interface IdentifiedChannelSDKType {
|
|
233
|
+
state: State;
|
|
234
|
+
ordering: Order;
|
|
235
|
+
counterparty: CounterpartySDKType;
|
|
236
|
+
connection_hops: string[];
|
|
237
|
+
version: string;
|
|
238
|
+
port_id: string;
|
|
286
239
|
channel_id: string;
|
|
287
240
|
}
|
|
288
241
|
/** Counterparty defines a channel end counterparty */
|
|
289
|
-
|
|
290
242
|
export interface Counterparty {
|
|
291
243
|
/** port on the counterparty chain which owns the other end of the channel. */
|
|
292
244
|
portId: string;
|
|
293
245
|
/** channel end on the counterparty chain */
|
|
294
|
-
|
|
295
246
|
channelId: string;
|
|
296
247
|
}
|
|
248
|
+
export interface CounterpartyProtoMsg {
|
|
249
|
+
typeUrl: "/ibc.core.channel.v1.Counterparty";
|
|
250
|
+
value: Uint8Array;
|
|
251
|
+
}
|
|
297
252
|
/** Counterparty defines a channel end counterparty */
|
|
298
|
-
|
|
299
|
-
export interface CounterpartySDKType {
|
|
253
|
+
export interface CounterpartyAmino {
|
|
300
254
|
/** port on the counterparty chain which owns the other end of the channel. */
|
|
301
|
-
port_id
|
|
255
|
+
port_id?: string;
|
|
302
256
|
/** channel end on the counterparty chain */
|
|
303
|
-
|
|
257
|
+
channel_id?: string;
|
|
258
|
+
}
|
|
259
|
+
export interface CounterpartyAminoMsg {
|
|
260
|
+
type: "cosmos-sdk/Counterparty";
|
|
261
|
+
value: CounterpartyAmino;
|
|
262
|
+
}
|
|
263
|
+
/** Counterparty defines a channel end counterparty */
|
|
264
|
+
export interface CounterpartySDKType {
|
|
265
|
+
port_id: string;
|
|
304
266
|
channel_id: string;
|
|
305
267
|
}
|
|
306
268
|
/** Packet defines a type that carries data across different chains through IBC */
|
|
307
|
-
|
|
308
269
|
export interface Packet {
|
|
309
270
|
/**
|
|
310
271
|
* number corresponds to the order of sends and receives, where a Packet
|
|
311
272
|
* with an earlier sequence number must be sent and received before a Packet
|
|
312
273
|
* with a later sequence number.
|
|
313
274
|
*/
|
|
314
|
-
sequence:
|
|
275
|
+
sequence: bigint;
|
|
315
276
|
/** identifies the port on the sending chain. */
|
|
316
|
-
|
|
317
277
|
sourcePort: string;
|
|
318
278
|
/** identifies the channel end on the sending chain. */
|
|
319
|
-
|
|
320
279
|
sourceChannel: string;
|
|
321
280
|
/** identifies the port on the receiving chain. */
|
|
322
|
-
|
|
323
281
|
destinationPort: string;
|
|
324
282
|
/** identifies the channel end on the receiving chain. */
|
|
325
|
-
|
|
326
283
|
destinationChannel: string;
|
|
327
284
|
/** actual opaque bytes transferred directly to the application module */
|
|
328
|
-
|
|
329
285
|
data: Uint8Array;
|
|
330
286
|
/** block height after which the packet times out */
|
|
331
|
-
|
|
332
|
-
timeoutHeight?: Height;
|
|
287
|
+
timeoutHeight: Height;
|
|
333
288
|
/** block timestamp (in nanoseconds) after which the packet times out */
|
|
334
|
-
|
|
335
|
-
|
|
289
|
+
timeoutTimestamp: bigint;
|
|
290
|
+
}
|
|
291
|
+
export interface PacketProtoMsg {
|
|
292
|
+
typeUrl: "/ibc.core.channel.v1.Packet";
|
|
293
|
+
value: Uint8Array;
|
|
336
294
|
}
|
|
337
295
|
/** Packet defines a type that carries data across different chains through IBC */
|
|
338
|
-
|
|
339
|
-
export interface PacketSDKType {
|
|
296
|
+
export interface PacketAmino {
|
|
340
297
|
/**
|
|
341
298
|
* number corresponds to the order of sends and receives, where a Packet
|
|
342
299
|
* with an earlier sequence number must be sent and received before a Packet
|
|
343
300
|
* with a later sequence number.
|
|
344
301
|
*/
|
|
345
|
-
sequence
|
|
302
|
+
sequence?: string;
|
|
346
303
|
/** identifies the port on the sending chain. */
|
|
347
|
-
|
|
348
|
-
source_port: string;
|
|
304
|
+
source_port?: string;
|
|
349
305
|
/** identifies the channel end on the sending chain. */
|
|
350
|
-
|
|
351
|
-
source_channel: string;
|
|
306
|
+
source_channel?: string;
|
|
352
307
|
/** identifies the port on the receiving chain. */
|
|
353
|
-
|
|
354
|
-
destination_port: string;
|
|
308
|
+
destination_port?: string;
|
|
355
309
|
/** identifies the channel end on the receiving chain. */
|
|
356
|
-
|
|
357
|
-
destination_channel: string;
|
|
310
|
+
destination_channel?: string;
|
|
358
311
|
/** actual opaque bytes transferred directly to the application module */
|
|
359
|
-
|
|
360
|
-
data: Uint8Array;
|
|
312
|
+
data?: string;
|
|
361
313
|
/** block height after which the packet times out */
|
|
362
|
-
|
|
363
|
-
timeout_height?: HeightSDKType;
|
|
314
|
+
timeout_height?: HeightAmino;
|
|
364
315
|
/** block timestamp (in nanoseconds) after which the packet times out */
|
|
365
|
-
|
|
366
|
-
|
|
316
|
+
timeout_timestamp?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface PacketAminoMsg {
|
|
319
|
+
type: "cosmos-sdk/Packet";
|
|
320
|
+
value: PacketAmino;
|
|
321
|
+
}
|
|
322
|
+
/** Packet defines a type that carries data across different chains through IBC */
|
|
323
|
+
export interface PacketSDKType {
|
|
324
|
+
sequence: bigint;
|
|
325
|
+
source_port: string;
|
|
326
|
+
source_channel: string;
|
|
327
|
+
destination_port: string;
|
|
328
|
+
destination_channel: string;
|
|
329
|
+
data: Uint8Array;
|
|
330
|
+
timeout_height: HeightSDKType;
|
|
331
|
+
timeout_timestamp: bigint;
|
|
367
332
|
}
|
|
368
333
|
/**
|
|
369
334
|
* PacketState defines the generic type necessary to retrieve and store
|
|
@@ -371,38 +336,50 @@ export interface PacketSDKType {
|
|
|
371
336
|
* Caller is responsible for knowing the context necessary to interpret this
|
|
372
337
|
* state as a commitment, acknowledgement, or a receipt.
|
|
373
338
|
*/
|
|
374
|
-
|
|
375
339
|
export interface PacketState {
|
|
376
340
|
/** channel port identifier. */
|
|
377
341
|
portId: string;
|
|
378
342
|
/** channel unique identifier. */
|
|
379
|
-
|
|
380
343
|
channelId: string;
|
|
381
344
|
/** packet sequence. */
|
|
382
|
-
|
|
383
|
-
sequence: Long;
|
|
345
|
+
sequence: bigint;
|
|
384
346
|
/** embedded data that represents packet state. */
|
|
385
|
-
|
|
386
347
|
data: Uint8Array;
|
|
387
348
|
}
|
|
349
|
+
export interface PacketStateProtoMsg {
|
|
350
|
+
typeUrl: "/ibc.core.channel.v1.PacketState";
|
|
351
|
+
value: Uint8Array;
|
|
352
|
+
}
|
|
388
353
|
/**
|
|
389
354
|
* PacketState defines the generic type necessary to retrieve and store
|
|
390
355
|
* packet commitments, acknowledgements, and receipts.
|
|
391
356
|
* Caller is responsible for knowing the context necessary to interpret this
|
|
392
357
|
* state as a commitment, acknowledgement, or a receipt.
|
|
393
358
|
*/
|
|
394
|
-
|
|
395
|
-
export interface PacketStateSDKType {
|
|
359
|
+
export interface PacketStateAmino {
|
|
396
360
|
/** channel port identifier. */
|
|
397
|
-
port_id
|
|
361
|
+
port_id?: string;
|
|
398
362
|
/** channel unique identifier. */
|
|
399
|
-
|
|
400
|
-
channel_id: string;
|
|
363
|
+
channel_id?: string;
|
|
401
364
|
/** packet sequence. */
|
|
402
|
-
|
|
403
|
-
sequence: Long;
|
|
365
|
+
sequence?: string;
|
|
404
366
|
/** embedded data that represents packet state. */
|
|
405
|
-
|
|
367
|
+
data?: string;
|
|
368
|
+
}
|
|
369
|
+
export interface PacketStateAminoMsg {
|
|
370
|
+
type: "cosmos-sdk/PacketState";
|
|
371
|
+
value: PacketStateAmino;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* PacketState defines the generic type necessary to retrieve and store
|
|
375
|
+
* packet commitments, acknowledgements, and receipts.
|
|
376
|
+
* Caller is responsible for knowing the context necessary to interpret this
|
|
377
|
+
* state as a commitment, acknowledgement, or a receipt.
|
|
378
|
+
*/
|
|
379
|
+
export interface PacketStateSDKType {
|
|
380
|
+
port_id: string;
|
|
381
|
+
channel_id: string;
|
|
382
|
+
sequence: bigint;
|
|
406
383
|
data: Uint8Array;
|
|
407
384
|
}
|
|
408
385
|
/**
|
|
@@ -414,11 +391,31 @@ export interface PacketStateSDKType {
|
|
|
414
391
|
* `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS:
|
|
415
392
|
* https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope
|
|
416
393
|
*/
|
|
417
|
-
|
|
418
394
|
export interface Acknowledgement {
|
|
419
395
|
result?: Uint8Array;
|
|
420
396
|
error?: string;
|
|
421
397
|
}
|
|
398
|
+
export interface AcknowledgementProtoMsg {
|
|
399
|
+
typeUrl: "/ibc.core.channel.v1.Acknowledgement";
|
|
400
|
+
value: Uint8Array;
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Acknowledgement is the recommended acknowledgement format to be used by
|
|
404
|
+
* app-specific protocols.
|
|
405
|
+
* NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental
|
|
406
|
+
* conflicts with other protobuf message formats used for acknowledgements.
|
|
407
|
+
* The first byte of any message with this format will be the non-ASCII values
|
|
408
|
+
* `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS:
|
|
409
|
+
* https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope
|
|
410
|
+
*/
|
|
411
|
+
export interface AcknowledgementAmino {
|
|
412
|
+
result?: string;
|
|
413
|
+
error?: string;
|
|
414
|
+
}
|
|
415
|
+
export interface AcknowledgementAminoMsg {
|
|
416
|
+
type: "cosmos-sdk/Acknowledgement";
|
|
417
|
+
value: AcknowledgementAmino;
|
|
418
|
+
}
|
|
422
419
|
/**
|
|
423
420
|
* Acknowledgement is the recommended acknowledgement format to be used by
|
|
424
421
|
* app-specific protocols.
|
|
@@ -428,86 +425,69 @@ export interface Acknowledgement {
|
|
|
428
425
|
* `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS:
|
|
429
426
|
* https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope
|
|
430
427
|
*/
|
|
431
|
-
|
|
432
428
|
export interface AcknowledgementSDKType {
|
|
433
429
|
result?: Uint8Array;
|
|
434
430
|
error?: string;
|
|
435
431
|
}
|
|
436
|
-
|
|
437
432
|
function createBaseChannel(): Channel {
|
|
438
433
|
return {
|
|
439
434
|
state: 0,
|
|
440
435
|
ordering: 0,
|
|
441
|
-
counterparty:
|
|
436
|
+
counterparty: Counterparty.fromPartial({}),
|
|
442
437
|
connectionHops: [],
|
|
443
438
|
version: ""
|
|
444
439
|
};
|
|
445
440
|
}
|
|
446
|
-
|
|
447
441
|
export const Channel = {
|
|
448
|
-
|
|
442
|
+
typeUrl: "/ibc.core.channel.v1.Channel",
|
|
443
|
+
encode(message: Channel, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
449
444
|
if (message.state !== 0) {
|
|
450
445
|
writer.uint32(8).int32(message.state);
|
|
451
446
|
}
|
|
452
|
-
|
|
453
447
|
if (message.ordering !== 0) {
|
|
454
448
|
writer.uint32(16).int32(message.ordering);
|
|
455
449
|
}
|
|
456
|
-
|
|
457
450
|
if (message.counterparty !== undefined) {
|
|
458
451
|
Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim();
|
|
459
452
|
}
|
|
460
|
-
|
|
461
453
|
for (const v of message.connectionHops) {
|
|
462
454
|
writer.uint32(34).string(v!);
|
|
463
455
|
}
|
|
464
|
-
|
|
465
456
|
if (message.version !== "") {
|
|
466
457
|
writer.uint32(42).string(message.version);
|
|
467
458
|
}
|
|
468
|
-
|
|
469
459
|
return writer;
|
|
470
460
|
},
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
461
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Channel {
|
|
462
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
474
463
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
475
464
|
const message = createBaseChannel();
|
|
476
|
-
|
|
477
465
|
while (reader.pos < end) {
|
|
478
466
|
const tag = reader.uint32();
|
|
479
|
-
|
|
480
467
|
switch (tag >>> 3) {
|
|
481
468
|
case 1:
|
|
482
469
|
message.state = (reader.int32() as any);
|
|
483
470
|
break;
|
|
484
|
-
|
|
485
471
|
case 2:
|
|
486
472
|
message.ordering = (reader.int32() as any);
|
|
487
473
|
break;
|
|
488
|
-
|
|
489
474
|
case 3:
|
|
490
475
|
message.counterparty = Counterparty.decode(reader, reader.uint32());
|
|
491
476
|
break;
|
|
492
|
-
|
|
493
477
|
case 4:
|
|
494
478
|
message.connectionHops.push(reader.string());
|
|
495
479
|
break;
|
|
496
|
-
|
|
497
480
|
case 5:
|
|
498
481
|
message.version = reader.string();
|
|
499
482
|
break;
|
|
500
|
-
|
|
501
483
|
default:
|
|
502
484
|
reader.skipType(tag & 7);
|
|
503
485
|
break;
|
|
504
486
|
}
|
|
505
487
|
}
|
|
506
|
-
|
|
507
488
|
return message;
|
|
508
489
|
},
|
|
509
|
-
|
|
510
|
-
fromPartial(object: DeepPartial<Channel>): Channel {
|
|
490
|
+
fromPartial(object: Partial<Channel>): Channel {
|
|
511
491
|
const message = createBaseChannel();
|
|
512
492
|
message.state = object.state ?? 0;
|
|
513
493
|
message.ordering = object.ordering ?? 0;
|
|
@@ -515,102 +495,132 @@ export const Channel = {
|
|
|
515
495
|
message.connectionHops = object.connectionHops?.map(e => e) || [];
|
|
516
496
|
message.version = object.version ?? "";
|
|
517
497
|
return message;
|
|
498
|
+
},
|
|
499
|
+
fromAmino(object: ChannelAmino): Channel {
|
|
500
|
+
const message = createBaseChannel();
|
|
501
|
+
if (object.state !== undefined && object.state !== null) {
|
|
502
|
+
message.state = stateFromJSON(object.state);
|
|
503
|
+
}
|
|
504
|
+
if (object.ordering !== undefined && object.ordering !== null) {
|
|
505
|
+
message.ordering = orderFromJSON(object.ordering);
|
|
506
|
+
}
|
|
507
|
+
if (object.counterparty !== undefined && object.counterparty !== null) {
|
|
508
|
+
message.counterparty = Counterparty.fromAmino(object.counterparty);
|
|
509
|
+
}
|
|
510
|
+
message.connectionHops = object.connection_hops?.map(e => e) || [];
|
|
511
|
+
if (object.version !== undefined && object.version !== null) {
|
|
512
|
+
message.version = object.version;
|
|
513
|
+
}
|
|
514
|
+
return message;
|
|
515
|
+
},
|
|
516
|
+
toAmino(message: Channel): ChannelAmino {
|
|
517
|
+
const obj: any = {};
|
|
518
|
+
obj.state = stateToJSON(message.state);
|
|
519
|
+
obj.ordering = orderToJSON(message.ordering);
|
|
520
|
+
obj.counterparty = message.counterparty ? Counterparty.toAmino(message.counterparty) : undefined;
|
|
521
|
+
if (message.connectionHops) {
|
|
522
|
+
obj.connection_hops = message.connectionHops.map(e => e);
|
|
523
|
+
} else {
|
|
524
|
+
obj.connection_hops = [];
|
|
525
|
+
}
|
|
526
|
+
obj.version = message.version;
|
|
527
|
+
return obj;
|
|
528
|
+
},
|
|
529
|
+
fromAminoMsg(object: ChannelAminoMsg): Channel {
|
|
530
|
+
return Channel.fromAmino(object.value);
|
|
531
|
+
},
|
|
532
|
+
toAminoMsg(message: Channel): ChannelAminoMsg {
|
|
533
|
+
return {
|
|
534
|
+
type: "cosmos-sdk/Channel",
|
|
535
|
+
value: Channel.toAmino(message)
|
|
536
|
+
};
|
|
537
|
+
},
|
|
538
|
+
fromProtoMsg(message: ChannelProtoMsg): Channel {
|
|
539
|
+
return Channel.decode(message.value);
|
|
540
|
+
},
|
|
541
|
+
toProto(message: Channel): Uint8Array {
|
|
542
|
+
return Channel.encode(message).finish();
|
|
543
|
+
},
|
|
544
|
+
toProtoMsg(message: Channel): ChannelProtoMsg {
|
|
545
|
+
return {
|
|
546
|
+
typeUrl: "/ibc.core.channel.v1.Channel",
|
|
547
|
+
value: Channel.encode(message).finish()
|
|
548
|
+
};
|
|
518
549
|
}
|
|
519
|
-
|
|
520
550
|
};
|
|
521
|
-
|
|
522
551
|
function createBaseIdentifiedChannel(): IdentifiedChannel {
|
|
523
552
|
return {
|
|
524
553
|
state: 0,
|
|
525
554
|
ordering: 0,
|
|
526
|
-
counterparty:
|
|
555
|
+
counterparty: Counterparty.fromPartial({}),
|
|
527
556
|
connectionHops: [],
|
|
528
557
|
version: "",
|
|
529
558
|
portId: "",
|
|
530
559
|
channelId: ""
|
|
531
560
|
};
|
|
532
561
|
}
|
|
533
|
-
|
|
534
562
|
export const IdentifiedChannel = {
|
|
535
|
-
|
|
563
|
+
typeUrl: "/ibc.core.channel.v1.IdentifiedChannel",
|
|
564
|
+
encode(message: IdentifiedChannel, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
536
565
|
if (message.state !== 0) {
|
|
537
566
|
writer.uint32(8).int32(message.state);
|
|
538
567
|
}
|
|
539
|
-
|
|
540
568
|
if (message.ordering !== 0) {
|
|
541
569
|
writer.uint32(16).int32(message.ordering);
|
|
542
570
|
}
|
|
543
|
-
|
|
544
571
|
if (message.counterparty !== undefined) {
|
|
545
572
|
Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim();
|
|
546
573
|
}
|
|
547
|
-
|
|
548
574
|
for (const v of message.connectionHops) {
|
|
549
575
|
writer.uint32(34).string(v!);
|
|
550
576
|
}
|
|
551
|
-
|
|
552
577
|
if (message.version !== "") {
|
|
553
578
|
writer.uint32(42).string(message.version);
|
|
554
579
|
}
|
|
555
|
-
|
|
556
580
|
if (message.portId !== "") {
|
|
557
581
|
writer.uint32(50).string(message.portId);
|
|
558
582
|
}
|
|
559
|
-
|
|
560
583
|
if (message.channelId !== "") {
|
|
561
584
|
writer.uint32(58).string(message.channelId);
|
|
562
585
|
}
|
|
563
|
-
|
|
564
586
|
return writer;
|
|
565
587
|
},
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
588
|
+
decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedChannel {
|
|
589
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
569
590
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
570
591
|
const message = createBaseIdentifiedChannel();
|
|
571
|
-
|
|
572
592
|
while (reader.pos < end) {
|
|
573
593
|
const tag = reader.uint32();
|
|
574
|
-
|
|
575
594
|
switch (tag >>> 3) {
|
|
576
595
|
case 1:
|
|
577
596
|
message.state = (reader.int32() as any);
|
|
578
597
|
break;
|
|
579
|
-
|
|
580
598
|
case 2:
|
|
581
599
|
message.ordering = (reader.int32() as any);
|
|
582
600
|
break;
|
|
583
|
-
|
|
584
601
|
case 3:
|
|
585
602
|
message.counterparty = Counterparty.decode(reader, reader.uint32());
|
|
586
603
|
break;
|
|
587
|
-
|
|
588
604
|
case 4:
|
|
589
605
|
message.connectionHops.push(reader.string());
|
|
590
606
|
break;
|
|
591
|
-
|
|
592
607
|
case 5:
|
|
593
608
|
message.version = reader.string();
|
|
594
609
|
break;
|
|
595
|
-
|
|
596
610
|
case 6:
|
|
597
611
|
message.portId = reader.string();
|
|
598
612
|
break;
|
|
599
|
-
|
|
600
613
|
case 7:
|
|
601
614
|
message.channelId = reader.string();
|
|
602
615
|
break;
|
|
603
|
-
|
|
604
616
|
default:
|
|
605
617
|
reader.skipType(tag & 7);
|
|
606
618
|
break;
|
|
607
619
|
}
|
|
608
620
|
}
|
|
609
|
-
|
|
610
621
|
return message;
|
|
611
622
|
},
|
|
612
|
-
|
|
613
|
-
fromPartial(object: DeepPartial<IdentifiedChannel>): IdentifiedChannel {
|
|
623
|
+
fromPartial(object: Partial<IdentifiedChannel>): IdentifiedChannel {
|
|
614
624
|
const message = createBaseIdentifiedChannel();
|
|
615
625
|
message.state = object.state ?? 0;
|
|
616
626
|
message.ordering = object.ordering ?? 0;
|
|
@@ -620,306 +630,484 @@ export const IdentifiedChannel = {
|
|
|
620
630
|
message.portId = object.portId ?? "";
|
|
621
631
|
message.channelId = object.channelId ?? "";
|
|
622
632
|
return message;
|
|
633
|
+
},
|
|
634
|
+
fromAmino(object: IdentifiedChannelAmino): IdentifiedChannel {
|
|
635
|
+
const message = createBaseIdentifiedChannel();
|
|
636
|
+
if (object.state !== undefined && object.state !== null) {
|
|
637
|
+
message.state = stateFromJSON(object.state);
|
|
638
|
+
}
|
|
639
|
+
if (object.ordering !== undefined && object.ordering !== null) {
|
|
640
|
+
message.ordering = orderFromJSON(object.ordering);
|
|
641
|
+
}
|
|
642
|
+
if (object.counterparty !== undefined && object.counterparty !== null) {
|
|
643
|
+
message.counterparty = Counterparty.fromAmino(object.counterparty);
|
|
644
|
+
}
|
|
645
|
+
message.connectionHops = object.connection_hops?.map(e => e) || [];
|
|
646
|
+
if (object.version !== undefined && object.version !== null) {
|
|
647
|
+
message.version = object.version;
|
|
648
|
+
}
|
|
649
|
+
if (object.port_id !== undefined && object.port_id !== null) {
|
|
650
|
+
message.portId = object.port_id;
|
|
651
|
+
}
|
|
652
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
653
|
+
message.channelId = object.channel_id;
|
|
654
|
+
}
|
|
655
|
+
return message;
|
|
656
|
+
},
|
|
657
|
+
toAmino(message: IdentifiedChannel): IdentifiedChannelAmino {
|
|
658
|
+
const obj: any = {};
|
|
659
|
+
obj.state = stateToJSON(message.state);
|
|
660
|
+
obj.ordering = orderToJSON(message.ordering);
|
|
661
|
+
obj.counterparty = message.counterparty ? Counterparty.toAmino(message.counterparty) : undefined;
|
|
662
|
+
if (message.connectionHops) {
|
|
663
|
+
obj.connection_hops = message.connectionHops.map(e => e);
|
|
664
|
+
} else {
|
|
665
|
+
obj.connection_hops = [];
|
|
666
|
+
}
|
|
667
|
+
obj.version = message.version;
|
|
668
|
+
obj.port_id = message.portId;
|
|
669
|
+
obj.channel_id = message.channelId;
|
|
670
|
+
return obj;
|
|
671
|
+
},
|
|
672
|
+
fromAminoMsg(object: IdentifiedChannelAminoMsg): IdentifiedChannel {
|
|
673
|
+
return IdentifiedChannel.fromAmino(object.value);
|
|
674
|
+
},
|
|
675
|
+
toAminoMsg(message: IdentifiedChannel): IdentifiedChannelAminoMsg {
|
|
676
|
+
return {
|
|
677
|
+
type: "cosmos-sdk/IdentifiedChannel",
|
|
678
|
+
value: IdentifiedChannel.toAmino(message)
|
|
679
|
+
};
|
|
680
|
+
},
|
|
681
|
+
fromProtoMsg(message: IdentifiedChannelProtoMsg): IdentifiedChannel {
|
|
682
|
+
return IdentifiedChannel.decode(message.value);
|
|
683
|
+
},
|
|
684
|
+
toProto(message: IdentifiedChannel): Uint8Array {
|
|
685
|
+
return IdentifiedChannel.encode(message).finish();
|
|
686
|
+
},
|
|
687
|
+
toProtoMsg(message: IdentifiedChannel): IdentifiedChannelProtoMsg {
|
|
688
|
+
return {
|
|
689
|
+
typeUrl: "/ibc.core.channel.v1.IdentifiedChannel",
|
|
690
|
+
value: IdentifiedChannel.encode(message).finish()
|
|
691
|
+
};
|
|
623
692
|
}
|
|
624
|
-
|
|
625
693
|
};
|
|
626
|
-
|
|
627
694
|
function createBaseCounterparty(): Counterparty {
|
|
628
695
|
return {
|
|
629
696
|
portId: "",
|
|
630
697
|
channelId: ""
|
|
631
698
|
};
|
|
632
699
|
}
|
|
633
|
-
|
|
634
700
|
export const Counterparty = {
|
|
635
|
-
|
|
701
|
+
typeUrl: "/ibc.core.channel.v1.Counterparty",
|
|
702
|
+
encode(message: Counterparty, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
636
703
|
if (message.portId !== "") {
|
|
637
704
|
writer.uint32(10).string(message.portId);
|
|
638
705
|
}
|
|
639
|
-
|
|
640
706
|
if (message.channelId !== "") {
|
|
641
707
|
writer.uint32(18).string(message.channelId);
|
|
642
708
|
}
|
|
643
|
-
|
|
644
709
|
return writer;
|
|
645
710
|
},
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
711
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Counterparty {
|
|
712
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
649
713
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
650
714
|
const message = createBaseCounterparty();
|
|
651
|
-
|
|
652
715
|
while (reader.pos < end) {
|
|
653
716
|
const tag = reader.uint32();
|
|
654
|
-
|
|
655
717
|
switch (tag >>> 3) {
|
|
656
718
|
case 1:
|
|
657
719
|
message.portId = reader.string();
|
|
658
720
|
break;
|
|
659
|
-
|
|
660
721
|
case 2:
|
|
661
722
|
message.channelId = reader.string();
|
|
662
723
|
break;
|
|
663
|
-
|
|
664
724
|
default:
|
|
665
725
|
reader.skipType(tag & 7);
|
|
666
726
|
break;
|
|
667
727
|
}
|
|
668
728
|
}
|
|
669
|
-
|
|
670
729
|
return message;
|
|
671
730
|
},
|
|
672
|
-
|
|
673
|
-
fromPartial(object: DeepPartial<Counterparty>): Counterparty {
|
|
731
|
+
fromPartial(object: Partial<Counterparty>): Counterparty {
|
|
674
732
|
const message = createBaseCounterparty();
|
|
675
733
|
message.portId = object.portId ?? "";
|
|
676
734
|
message.channelId = object.channelId ?? "";
|
|
677
735
|
return message;
|
|
736
|
+
},
|
|
737
|
+
fromAmino(object: CounterpartyAmino): Counterparty {
|
|
738
|
+
const message = createBaseCounterparty();
|
|
739
|
+
if (object.port_id !== undefined && object.port_id !== null) {
|
|
740
|
+
message.portId = object.port_id;
|
|
741
|
+
}
|
|
742
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
743
|
+
message.channelId = object.channel_id;
|
|
744
|
+
}
|
|
745
|
+
return message;
|
|
746
|
+
},
|
|
747
|
+
toAmino(message: Counterparty): CounterpartyAmino {
|
|
748
|
+
const obj: any = {};
|
|
749
|
+
obj.port_id = message.portId;
|
|
750
|
+
obj.channel_id = message.channelId;
|
|
751
|
+
return obj;
|
|
752
|
+
},
|
|
753
|
+
fromAminoMsg(object: CounterpartyAminoMsg): Counterparty {
|
|
754
|
+
return Counterparty.fromAmino(object.value);
|
|
755
|
+
},
|
|
756
|
+
toAminoMsg(message: Counterparty): CounterpartyAminoMsg {
|
|
757
|
+
return {
|
|
758
|
+
type: "cosmos-sdk/Counterparty",
|
|
759
|
+
value: Counterparty.toAmino(message)
|
|
760
|
+
};
|
|
761
|
+
},
|
|
762
|
+
fromProtoMsg(message: CounterpartyProtoMsg): Counterparty {
|
|
763
|
+
return Counterparty.decode(message.value);
|
|
764
|
+
},
|
|
765
|
+
toProto(message: Counterparty): Uint8Array {
|
|
766
|
+
return Counterparty.encode(message).finish();
|
|
767
|
+
},
|
|
768
|
+
toProtoMsg(message: Counterparty): CounterpartyProtoMsg {
|
|
769
|
+
return {
|
|
770
|
+
typeUrl: "/ibc.core.channel.v1.Counterparty",
|
|
771
|
+
value: Counterparty.encode(message).finish()
|
|
772
|
+
};
|
|
678
773
|
}
|
|
679
|
-
|
|
680
774
|
};
|
|
681
|
-
|
|
682
775
|
function createBasePacket(): Packet {
|
|
683
776
|
return {
|
|
684
|
-
sequence:
|
|
777
|
+
sequence: BigInt(0),
|
|
685
778
|
sourcePort: "",
|
|
686
779
|
sourceChannel: "",
|
|
687
780
|
destinationPort: "",
|
|
688
781
|
destinationChannel: "",
|
|
689
782
|
data: new Uint8Array(),
|
|
690
|
-
timeoutHeight:
|
|
691
|
-
timeoutTimestamp:
|
|
783
|
+
timeoutHeight: Height.fromPartial({}),
|
|
784
|
+
timeoutTimestamp: BigInt(0)
|
|
692
785
|
};
|
|
693
786
|
}
|
|
694
|
-
|
|
695
787
|
export const Packet = {
|
|
696
|
-
|
|
697
|
-
|
|
788
|
+
typeUrl: "/ibc.core.channel.v1.Packet",
|
|
789
|
+
encode(message: Packet, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
790
|
+
if (message.sequence !== BigInt(0)) {
|
|
698
791
|
writer.uint32(8).uint64(message.sequence);
|
|
699
792
|
}
|
|
700
|
-
|
|
701
793
|
if (message.sourcePort !== "") {
|
|
702
794
|
writer.uint32(18).string(message.sourcePort);
|
|
703
795
|
}
|
|
704
|
-
|
|
705
796
|
if (message.sourceChannel !== "") {
|
|
706
797
|
writer.uint32(26).string(message.sourceChannel);
|
|
707
798
|
}
|
|
708
|
-
|
|
709
799
|
if (message.destinationPort !== "") {
|
|
710
800
|
writer.uint32(34).string(message.destinationPort);
|
|
711
801
|
}
|
|
712
|
-
|
|
713
802
|
if (message.destinationChannel !== "") {
|
|
714
803
|
writer.uint32(42).string(message.destinationChannel);
|
|
715
804
|
}
|
|
716
|
-
|
|
717
805
|
if (message.data.length !== 0) {
|
|
718
806
|
writer.uint32(50).bytes(message.data);
|
|
719
807
|
}
|
|
720
|
-
|
|
721
808
|
if (message.timeoutHeight !== undefined) {
|
|
722
809
|
Height.encode(message.timeoutHeight, writer.uint32(58).fork()).ldelim();
|
|
723
810
|
}
|
|
724
|
-
|
|
725
|
-
if (!message.timeoutTimestamp.isZero()) {
|
|
811
|
+
if (message.timeoutTimestamp !== BigInt(0)) {
|
|
726
812
|
writer.uint32(64).uint64(message.timeoutTimestamp);
|
|
727
813
|
}
|
|
728
|
-
|
|
729
814
|
return writer;
|
|
730
815
|
},
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
816
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Packet {
|
|
817
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
734
818
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
735
819
|
const message = createBasePacket();
|
|
736
|
-
|
|
737
820
|
while (reader.pos < end) {
|
|
738
821
|
const tag = reader.uint32();
|
|
739
|
-
|
|
740
822
|
switch (tag >>> 3) {
|
|
741
823
|
case 1:
|
|
742
|
-
message.sequence =
|
|
824
|
+
message.sequence = reader.uint64();
|
|
743
825
|
break;
|
|
744
|
-
|
|
745
826
|
case 2:
|
|
746
827
|
message.sourcePort = reader.string();
|
|
747
828
|
break;
|
|
748
|
-
|
|
749
829
|
case 3:
|
|
750
830
|
message.sourceChannel = reader.string();
|
|
751
831
|
break;
|
|
752
|
-
|
|
753
832
|
case 4:
|
|
754
833
|
message.destinationPort = reader.string();
|
|
755
834
|
break;
|
|
756
|
-
|
|
757
835
|
case 5:
|
|
758
836
|
message.destinationChannel = reader.string();
|
|
759
837
|
break;
|
|
760
|
-
|
|
761
838
|
case 6:
|
|
762
839
|
message.data = reader.bytes();
|
|
763
840
|
break;
|
|
764
|
-
|
|
765
841
|
case 7:
|
|
766
842
|
message.timeoutHeight = Height.decode(reader, reader.uint32());
|
|
767
843
|
break;
|
|
768
|
-
|
|
769
844
|
case 8:
|
|
770
|
-
message.timeoutTimestamp =
|
|
845
|
+
message.timeoutTimestamp = reader.uint64();
|
|
771
846
|
break;
|
|
772
|
-
|
|
773
847
|
default:
|
|
774
848
|
reader.skipType(tag & 7);
|
|
775
849
|
break;
|
|
776
850
|
}
|
|
777
851
|
}
|
|
778
|
-
|
|
779
852
|
return message;
|
|
780
853
|
},
|
|
781
|
-
|
|
782
|
-
fromPartial(object: DeepPartial<Packet>): Packet {
|
|
854
|
+
fromPartial(object: Partial<Packet>): Packet {
|
|
783
855
|
const message = createBasePacket();
|
|
784
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
|
856
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
785
857
|
message.sourcePort = object.sourcePort ?? "";
|
|
786
858
|
message.sourceChannel = object.sourceChannel ?? "";
|
|
787
859
|
message.destinationPort = object.destinationPort ?? "";
|
|
788
860
|
message.destinationChannel = object.destinationChannel ?? "";
|
|
789
861
|
message.data = object.data ?? new Uint8Array();
|
|
790
862
|
message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined;
|
|
791
|
-
message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ?
|
|
863
|
+
message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? BigInt(object.timeoutTimestamp.toString()) : BigInt(0);
|
|
792
864
|
return message;
|
|
865
|
+
},
|
|
866
|
+
fromAmino(object: PacketAmino): Packet {
|
|
867
|
+
const message = createBasePacket();
|
|
868
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
|
869
|
+
message.sequence = BigInt(object.sequence);
|
|
870
|
+
}
|
|
871
|
+
if (object.source_port !== undefined && object.source_port !== null) {
|
|
872
|
+
message.sourcePort = object.source_port;
|
|
873
|
+
}
|
|
874
|
+
if (object.source_channel !== undefined && object.source_channel !== null) {
|
|
875
|
+
message.sourceChannel = object.source_channel;
|
|
876
|
+
}
|
|
877
|
+
if (object.destination_port !== undefined && object.destination_port !== null) {
|
|
878
|
+
message.destinationPort = object.destination_port;
|
|
879
|
+
}
|
|
880
|
+
if (object.destination_channel !== undefined && object.destination_channel !== null) {
|
|
881
|
+
message.destinationChannel = object.destination_channel;
|
|
882
|
+
}
|
|
883
|
+
if (object.data !== undefined && object.data !== null) {
|
|
884
|
+
message.data = bytesFromBase64(object.data);
|
|
885
|
+
}
|
|
886
|
+
if (object.timeout_height !== undefined && object.timeout_height !== null) {
|
|
887
|
+
message.timeoutHeight = Height.fromAmino(object.timeout_height);
|
|
888
|
+
}
|
|
889
|
+
if (object.timeout_timestamp !== undefined && object.timeout_timestamp !== null) {
|
|
890
|
+
message.timeoutTimestamp = BigInt(object.timeout_timestamp);
|
|
891
|
+
}
|
|
892
|
+
return message;
|
|
893
|
+
},
|
|
894
|
+
toAmino(message: Packet): PacketAmino {
|
|
895
|
+
const obj: any = {};
|
|
896
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
|
897
|
+
obj.source_port = message.sourcePort;
|
|
898
|
+
obj.source_channel = message.sourceChannel;
|
|
899
|
+
obj.destination_port = message.destinationPort;
|
|
900
|
+
obj.destination_channel = message.destinationChannel;
|
|
901
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
902
|
+
obj.timeout_height = message.timeoutHeight ? Height.toAmino(message.timeoutHeight) : {};
|
|
903
|
+
obj.timeout_timestamp = message.timeoutTimestamp ? message.timeoutTimestamp.toString() : undefined;
|
|
904
|
+
return obj;
|
|
905
|
+
},
|
|
906
|
+
fromAminoMsg(object: PacketAminoMsg): Packet {
|
|
907
|
+
return Packet.fromAmino(object.value);
|
|
908
|
+
},
|
|
909
|
+
toAminoMsg(message: Packet): PacketAminoMsg {
|
|
910
|
+
return {
|
|
911
|
+
type: "cosmos-sdk/Packet",
|
|
912
|
+
value: Packet.toAmino(message)
|
|
913
|
+
};
|
|
914
|
+
},
|
|
915
|
+
fromProtoMsg(message: PacketProtoMsg): Packet {
|
|
916
|
+
return Packet.decode(message.value);
|
|
917
|
+
},
|
|
918
|
+
toProto(message: Packet): Uint8Array {
|
|
919
|
+
return Packet.encode(message).finish();
|
|
920
|
+
},
|
|
921
|
+
toProtoMsg(message: Packet): PacketProtoMsg {
|
|
922
|
+
return {
|
|
923
|
+
typeUrl: "/ibc.core.channel.v1.Packet",
|
|
924
|
+
value: Packet.encode(message).finish()
|
|
925
|
+
};
|
|
793
926
|
}
|
|
794
|
-
|
|
795
927
|
};
|
|
796
|
-
|
|
797
928
|
function createBasePacketState(): PacketState {
|
|
798
929
|
return {
|
|
799
930
|
portId: "",
|
|
800
931
|
channelId: "",
|
|
801
|
-
sequence:
|
|
932
|
+
sequence: BigInt(0),
|
|
802
933
|
data: new Uint8Array()
|
|
803
934
|
};
|
|
804
935
|
}
|
|
805
|
-
|
|
806
936
|
export const PacketState = {
|
|
807
|
-
|
|
937
|
+
typeUrl: "/ibc.core.channel.v1.PacketState",
|
|
938
|
+
encode(message: PacketState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
808
939
|
if (message.portId !== "") {
|
|
809
940
|
writer.uint32(10).string(message.portId);
|
|
810
941
|
}
|
|
811
|
-
|
|
812
942
|
if (message.channelId !== "") {
|
|
813
943
|
writer.uint32(18).string(message.channelId);
|
|
814
944
|
}
|
|
815
|
-
|
|
816
|
-
if (!message.sequence.isZero()) {
|
|
945
|
+
if (message.sequence !== BigInt(0)) {
|
|
817
946
|
writer.uint32(24).uint64(message.sequence);
|
|
818
947
|
}
|
|
819
|
-
|
|
820
948
|
if (message.data.length !== 0) {
|
|
821
949
|
writer.uint32(34).bytes(message.data);
|
|
822
950
|
}
|
|
823
|
-
|
|
824
951
|
return writer;
|
|
825
952
|
},
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
953
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PacketState {
|
|
954
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
829
955
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
830
956
|
const message = createBasePacketState();
|
|
831
|
-
|
|
832
957
|
while (reader.pos < end) {
|
|
833
958
|
const tag = reader.uint32();
|
|
834
|
-
|
|
835
959
|
switch (tag >>> 3) {
|
|
836
960
|
case 1:
|
|
837
961
|
message.portId = reader.string();
|
|
838
962
|
break;
|
|
839
|
-
|
|
840
963
|
case 2:
|
|
841
964
|
message.channelId = reader.string();
|
|
842
965
|
break;
|
|
843
|
-
|
|
844
966
|
case 3:
|
|
845
|
-
message.sequence =
|
|
967
|
+
message.sequence = reader.uint64();
|
|
846
968
|
break;
|
|
847
|
-
|
|
848
969
|
case 4:
|
|
849
970
|
message.data = reader.bytes();
|
|
850
971
|
break;
|
|
851
|
-
|
|
852
972
|
default:
|
|
853
973
|
reader.skipType(tag & 7);
|
|
854
974
|
break;
|
|
855
975
|
}
|
|
856
976
|
}
|
|
857
|
-
|
|
858
977
|
return message;
|
|
859
978
|
},
|
|
860
|
-
|
|
861
|
-
fromPartial(object: DeepPartial<PacketState>): PacketState {
|
|
979
|
+
fromPartial(object: Partial<PacketState>): PacketState {
|
|
862
980
|
const message = createBasePacketState();
|
|
863
981
|
message.portId = object.portId ?? "";
|
|
864
982
|
message.channelId = object.channelId ?? "";
|
|
865
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
|
983
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
866
984
|
message.data = object.data ?? new Uint8Array();
|
|
867
985
|
return message;
|
|
986
|
+
},
|
|
987
|
+
fromAmino(object: PacketStateAmino): PacketState {
|
|
988
|
+
const message = createBasePacketState();
|
|
989
|
+
if (object.port_id !== undefined && object.port_id !== null) {
|
|
990
|
+
message.portId = object.port_id;
|
|
991
|
+
}
|
|
992
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
993
|
+
message.channelId = object.channel_id;
|
|
994
|
+
}
|
|
995
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
|
996
|
+
message.sequence = BigInt(object.sequence);
|
|
997
|
+
}
|
|
998
|
+
if (object.data !== undefined && object.data !== null) {
|
|
999
|
+
message.data = bytesFromBase64(object.data);
|
|
1000
|
+
}
|
|
1001
|
+
return message;
|
|
1002
|
+
},
|
|
1003
|
+
toAmino(message: PacketState): PacketStateAmino {
|
|
1004
|
+
const obj: any = {};
|
|
1005
|
+
obj.port_id = message.portId;
|
|
1006
|
+
obj.channel_id = message.channelId;
|
|
1007
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
|
1008
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
1009
|
+
return obj;
|
|
1010
|
+
},
|
|
1011
|
+
fromAminoMsg(object: PacketStateAminoMsg): PacketState {
|
|
1012
|
+
return PacketState.fromAmino(object.value);
|
|
1013
|
+
},
|
|
1014
|
+
toAminoMsg(message: PacketState): PacketStateAminoMsg {
|
|
1015
|
+
return {
|
|
1016
|
+
type: "cosmos-sdk/PacketState",
|
|
1017
|
+
value: PacketState.toAmino(message)
|
|
1018
|
+
};
|
|
1019
|
+
},
|
|
1020
|
+
fromProtoMsg(message: PacketStateProtoMsg): PacketState {
|
|
1021
|
+
return PacketState.decode(message.value);
|
|
1022
|
+
},
|
|
1023
|
+
toProto(message: PacketState): Uint8Array {
|
|
1024
|
+
return PacketState.encode(message).finish();
|
|
1025
|
+
},
|
|
1026
|
+
toProtoMsg(message: PacketState): PacketStateProtoMsg {
|
|
1027
|
+
return {
|
|
1028
|
+
typeUrl: "/ibc.core.channel.v1.PacketState",
|
|
1029
|
+
value: PacketState.encode(message).finish()
|
|
1030
|
+
};
|
|
868
1031
|
}
|
|
869
|
-
|
|
870
1032
|
};
|
|
871
|
-
|
|
872
1033
|
function createBaseAcknowledgement(): Acknowledgement {
|
|
873
1034
|
return {
|
|
874
1035
|
result: undefined,
|
|
875
1036
|
error: undefined
|
|
876
1037
|
};
|
|
877
1038
|
}
|
|
878
|
-
|
|
879
1039
|
export const Acknowledgement = {
|
|
880
|
-
|
|
1040
|
+
typeUrl: "/ibc.core.channel.v1.Acknowledgement",
|
|
1041
|
+
encode(message: Acknowledgement, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
881
1042
|
if (message.result !== undefined) {
|
|
882
1043
|
writer.uint32(170).bytes(message.result);
|
|
883
1044
|
}
|
|
884
|
-
|
|
885
1045
|
if (message.error !== undefined) {
|
|
886
1046
|
writer.uint32(178).string(message.error);
|
|
887
1047
|
}
|
|
888
|
-
|
|
889
1048
|
return writer;
|
|
890
1049
|
},
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1050
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Acknowledgement {
|
|
1051
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
894
1052
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
895
1053
|
const message = createBaseAcknowledgement();
|
|
896
|
-
|
|
897
1054
|
while (reader.pos < end) {
|
|
898
1055
|
const tag = reader.uint32();
|
|
899
|
-
|
|
900
1056
|
switch (tag >>> 3) {
|
|
901
1057
|
case 21:
|
|
902
1058
|
message.result = reader.bytes();
|
|
903
1059
|
break;
|
|
904
|
-
|
|
905
1060
|
case 22:
|
|
906
1061
|
message.error = reader.string();
|
|
907
1062
|
break;
|
|
908
|
-
|
|
909
1063
|
default:
|
|
910
1064
|
reader.skipType(tag & 7);
|
|
911
1065
|
break;
|
|
912
1066
|
}
|
|
913
1067
|
}
|
|
914
|
-
|
|
915
1068
|
return message;
|
|
916
1069
|
},
|
|
917
|
-
|
|
918
|
-
fromPartial(object: DeepPartial<Acknowledgement>): Acknowledgement {
|
|
1070
|
+
fromPartial(object: Partial<Acknowledgement>): Acknowledgement {
|
|
919
1071
|
const message = createBaseAcknowledgement();
|
|
920
1072
|
message.result = object.result ?? undefined;
|
|
921
1073
|
message.error = object.error ?? undefined;
|
|
922
1074
|
return message;
|
|
1075
|
+
},
|
|
1076
|
+
fromAmino(object: AcknowledgementAmino): Acknowledgement {
|
|
1077
|
+
const message = createBaseAcknowledgement();
|
|
1078
|
+
if (object.result !== undefined && object.result !== null) {
|
|
1079
|
+
message.result = bytesFromBase64(object.result);
|
|
1080
|
+
}
|
|
1081
|
+
if (object.error !== undefined && object.error !== null) {
|
|
1082
|
+
message.error = object.error;
|
|
1083
|
+
}
|
|
1084
|
+
return message;
|
|
1085
|
+
},
|
|
1086
|
+
toAmino(message: Acknowledgement): AcknowledgementAmino {
|
|
1087
|
+
const obj: any = {};
|
|
1088
|
+
obj.result = message.result ? base64FromBytes(message.result) : undefined;
|
|
1089
|
+
obj.error = message.error;
|
|
1090
|
+
return obj;
|
|
1091
|
+
},
|
|
1092
|
+
fromAminoMsg(object: AcknowledgementAminoMsg): Acknowledgement {
|
|
1093
|
+
return Acknowledgement.fromAmino(object.value);
|
|
1094
|
+
},
|
|
1095
|
+
toAminoMsg(message: Acknowledgement): AcknowledgementAminoMsg {
|
|
1096
|
+
return {
|
|
1097
|
+
type: "cosmos-sdk/Acknowledgement",
|
|
1098
|
+
value: Acknowledgement.toAmino(message)
|
|
1099
|
+
};
|
|
1100
|
+
},
|
|
1101
|
+
fromProtoMsg(message: AcknowledgementProtoMsg): Acknowledgement {
|
|
1102
|
+
return Acknowledgement.decode(message.value);
|
|
1103
|
+
},
|
|
1104
|
+
toProto(message: Acknowledgement): Uint8Array {
|
|
1105
|
+
return Acknowledgement.encode(message).finish();
|
|
1106
|
+
},
|
|
1107
|
+
toProtoMsg(message: Acknowledgement): AcknowledgementProtoMsg {
|
|
1108
|
+
return {
|
|
1109
|
+
typeUrl: "/ibc.core.channel.v1.Acknowledgement",
|
|
1110
|
+
value: Acknowledgement.encode(message).finish()
|
|
1111
|
+
};
|
|
923
1112
|
}
|
|
924
|
-
|
|
925
1113
|
};
|