@sparkdreamnft/sparkdreamjs 0.0.2 → 0.0.4
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/cosmos/app/runtime/v1alpha1/module.d.ts +5 -22
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +7 -21
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +5 -13
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +10 -43
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +5 -8
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +44 -159
- package/cosmos/auth/v1beta1/query.js +20 -0
- package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +6 -20
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/auth/v1beta1/tx.registry.js +1 -33
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +3 -4
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +13 -39
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +5 -14
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +4 -6
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +15 -40
- package/cosmos/authz/v1beta1/query.js +6 -0
- package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +15 -45
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/authz/v1beta1/tx.registry.js +1 -69
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +3 -7
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +4 -14
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +16 -66
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +7 -20
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +58 -226
- package/cosmos/bank/v1beta1/query.js +27 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
- package/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +15 -15
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +19 -65
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/bank/v1beta1/tx.registry.js +1 -87
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +26 -112
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +9 -25
- package/cosmos/base/node/v1beta1/query.js +4 -0
- package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +4 -4
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +5 -31
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +53 -154
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +9 -38
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +5 -20
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +3 -11
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +6 -13
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.registry.d.ts +2 -24
- package/cosmos/benchmark/v1/tx.registry.js +1 -33
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +1344 -1649
- package/cosmos/circuit/module/v1/module.d.ts +3 -5
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +15 -32
- package/cosmos/circuit/v1/query.js +6 -0
- package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
- package/cosmos/circuit/v1/query.lcd.js +7 -10
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +5 -5
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +14 -35
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +2 -48
- package/cosmos/circuit/v1/tx.registry.js +1 -69
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +7 -22
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +3 -5
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +6 -10
- package/cosmos/consensus/v1/query.js +2 -0
- package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
- package/cosmos/consensus/v1/query.lcd.js +2 -3
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +6 -17
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +2 -24
- package/cosmos/consensus/v1/tx.registry.js +1 -33
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +3 -5
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +5 -9
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +5 -11
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.registry.d.ts +2 -24
- package/cosmos/counter/v1/tx.registry.js +1 -33
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +3 -6
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +5 -19
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +3 -9
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +13 -33
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +4 -11
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +5 -20
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +5 -16
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +5 -10
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +3 -6
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +26 -134
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +19 -72
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +44 -157
- package/cosmos/distribution/v1beta1/query.js +20 -0
- package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +31 -126
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +3 -4
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +5 -11
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +6 -20
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +10 -32
- package/cosmos/epochs/v1beta1/query.js +4 -0
- package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +3 -4
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +3 -4
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +12 -43
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +4 -6
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +15 -45
- package/cosmos/feegrant/v1beta1/query.js +6 -0
- package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +15 -43
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +3 -4
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +3 -6
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +4 -17
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +22 -104
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +39 -110
- package/cosmos/gov/v1/query.js +18 -0
- package/cosmos/gov/v1/query.lcd.d.ts +10 -10
- package/cosmos/gov/v1/query.lcd.js +18 -27
- package/cosmos/gov/v1/query.rpc.Query.d.ts +11 -11
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +36 -115
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.registry.d.ts +2 -96
- package/cosmos/gov/v1/tx.registry.js +1 -141
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +4 -12
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +25 -90
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +35 -97
- package/cosmos/gov/v1beta1/query.js +16 -0
- package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
- package/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +23 -62
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/gov/v1beta1/tx.registry.js +1 -87
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +4 -7
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +24 -62
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +4 -13
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +59 -168
- package/cosmos/group/v1/query.js +28 -0
- package/cosmos/group/v1/query.lcd.d.ts +15 -15
- package/cosmos/group/v1/query.lcd.js +29 -43
- package/cosmos/group/v1/query.rpc.Query.d.ts +16 -16
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +59 -170
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.registry.d.ts +2 -180
- package/cosmos/group/v1/tx.registry.js +1 -267
- package/cosmos/group/v1/tx.rpc.msg.d.ts +17 -16
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +25 -130
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +27 -170
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +3 -6
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +4 -7
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +5 -16
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +14 -37
- package/cosmos/mint/v1beta1/query.js +6 -0
- package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +6 -20
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/mint/v1beta1/tx.registry.js +1 -33
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +3 -4
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +3 -8
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +18 -53
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +4 -4
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +3 -4
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +5 -19
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +12 -42
- package/cosmos/params/v1beta1/query.js +5 -0
- package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +3 -5
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +4 -7
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +19 -57
- package/cosmos/protocolpool/v1/query.js +8 -0
- package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
- package/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +6 -6
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +23 -77
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +2 -72
- package/cosmos/protocolpool/v1/tx.registry.js +1 -105
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +5 -13
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +6 -10
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +3 -5
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +3 -8
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +6 -21
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +6 -19
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +59 -213
- package/cosmos/staking/v1beta1/query.js +28 -0
- package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
- package/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +16 -16
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +48 -214
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +32 -116
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/staking/v1beta1/tx.registry.js +1 -141
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +5 -11
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +15 -66
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +11 -23
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +7 -28
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +6 -25
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +3 -6
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +13 -38
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +42 -188
- package/cosmos/tx/v1beta1/service.js +19 -3
- package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
- package/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +11 -11
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +30 -136
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +3 -5
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +22 -87
- package/cosmos/upgrade/v1beta1/query.js +10 -0
- package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
- package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +7 -7
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +10 -36
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -36
- package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +10 -51
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +3 -4
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +15 -60
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +15 -59
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +2 -3
- package/cosmos_proto/cosmos.d.ts +3 -25
- package/cosmos_proto/cosmos.js +1 -2
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/esm/cosmos/app/v1alpha1/module.js +3 -0
- package/esm/cosmos/auth/module/v1/module.js +2 -0
- package/esm/cosmos/auth/v1beta1/auth.js +4 -2
- package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
- package/esm/cosmos/auth/v1beta1/query.js +20 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/esm/cosmos/auth/v1beta1/tx.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.registry.js +0 -31
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.registry.js +0 -139
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.registry.js +0 -265
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +4 -24
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +0 -67
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.registry.js +0 -157
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.registry.js +0 -49
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/index.js +1 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.registry.js +0 -85
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/esm/types.js +7 -0
- package/google/api/http.d.ts +4 -295
- package/google/bundle.d.ts +37 -57
- package/google/protobuf/any.d.ts +2 -94
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +35 -370
- package/google/protobuf/descriptor.js +6 -26
- package/google/protobuf/duration.d.ts +2 -65
- package/google/protobuf/timestamp.d.ts +2 -96
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +3 -8
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +10 -21
- package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +15 -39
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -48
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +11 -42
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +5 -18
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +6 -10
- package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +3 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +10 -23
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +4 -9
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +3 -13
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +6 -14
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +6 -31
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +6 -20
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +3 -10
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +6 -11
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +3 -13
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +29 -83
- package/ibc/applications/transfer/v1/query.js +12 -0
- package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
- package/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +7 -18
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +3 -11
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +11 -37
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/transfer/v1/tx.registry.js +1 -51
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +581 -848
- package/ibc/core/channel/v1/channel.d.ts +18 -96
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +6 -23
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +61 -273
- package/ibc/core/channel/v1/query.js +28 -0
- package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
- package/ibc/core/channel/v1/query.lcd.js +29 -43
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +16 -16
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +43 -167
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.registry.d.ts +2 -132
- package/ibc/core/channel/v1/tx.registry.js +1 -195
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +13 -12
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +7 -27
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +9 -37
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +36 -117
- package/ibc/core/channel/v2/query.js +16 -0
- package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
- package/ibc/core/channel/v2/query.lcd.js +16 -24
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +10 -10
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +19 -56
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.registry.d.ts +2 -60
- package/ibc/core/channel/v2/tx.registry.js +1 -87
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +7 -6
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +12 -53
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +8 -30
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +49 -191
- package/ibc/core/client/v1/query.js +22 -0
- package/ibc/core/client/v1/query.lcd.d.ts +11 -11
- package/ibc/core/client/v1/query.lcd.js +21 -31
- package/ibc/core/client/v1/query.rpc.Query.d.ts +13 -13
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +36 -107
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.registry.d.ts +2 -108
- package/ibc/core/client/v1/tx.registry.js +1 -159
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +3 -10
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +3 -6
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +6 -12
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +11 -28
- package/ibc/core/client/v2/query.js +4 -0
- package/ibc/core/client/v2/query.lcd.d.ts +3 -3
- package/ibc/core/client/v2/query.lcd.js +4 -6
- package/ibc/core/client/v2/query.rpc.Query.d.ts +4 -4
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +10 -24
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.registry.d.ts +2 -36
- package/ibc/core/client/v2/tx.registry.js +1 -51
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +8 -29
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +3 -37
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +16 -61
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +4 -9
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +29 -107
- package/ibc/core/connection/v1/query.js +12 -0
- package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
- package/ibc/core/connection/v1/query.lcd.js +13 -19
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +24 -107
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +2 -72
- package/ibc/core/connection/v1/tx.registry.js +1 -105
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +8 -7
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +36 -149
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +18 -75
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +17 -74
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +5 -10
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +10 -22
- package/ibc/lightclients/wasm/v1/query.js +4 -0
- package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +13 -33
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -48
- package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +10 -29
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +3 -6
- package/sparkdream/blog/module/module.d.ts +2 -5
- package/sparkdream/blog/params.d.ts +3 -4
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +2 -7
- package/sparkdream/blog/query.d.ts +10 -29
- package/sparkdream/blog/query.lcd.d.ts +4 -4
- package/sparkdream/blog/query.lcd.js +7 -10
- package/sparkdream/blog/query.rpc.Query.d.ts +5 -5
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +11 -42
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.registry.d.ts +2 -60
- package/sparkdream/blog/tx.registry.js +1 -87
- package/sparkdream/blog/tx.rpc.msg.d.ts +7 -6
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +31 -103
- package/sparkdream/sparkdream/genesis.d.ts +3 -6
- package/sparkdream/sparkdream/module/module.d.ts +2 -5
- package/sparkdream/sparkdream/params.d.ts +3 -4
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +4 -10
- package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
- package/sparkdream/sparkdream/query.lcd.js +2 -3
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +3 -3
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +5 -14
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.registry.d.ts +2 -24
- package/sparkdream/sparkdream/tx.registry.js +1 -33
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +4 -3
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +51 -356
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +89 -97
- package/tendermint/crypto/keys.d.ts +2 -6
- package/tendermint/crypto/proof.d.ts +6 -34
- package/tendermint/p2p/types.d.ts +5 -28
- package/tendermint/types/block.d.ts +4 -9
- package/tendermint/types/evidence.d.ts +7 -29
- package/tendermint/types/params.d.ts +9 -54
- package/tendermint/types/types.d.ts +19 -133
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +5 -20
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +3 -20
- package/types.d.ts +74 -0
- package/types.js +8 -0
|
@@ -4,65 +4,69 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.channelOpenInit = this.channelOpenInit.bind(this);
|
|
8
|
-
this.channelOpenTry = this.channelOpenTry.bind(this);
|
|
9
|
-
this.channelOpenAck = this.channelOpenAck.bind(this);
|
|
10
|
-
this.channelOpenConfirm = this.channelOpenConfirm.bind(this);
|
|
11
|
-
this.channelCloseInit = this.channelCloseInit.bind(this);
|
|
12
|
-
this.channelCloseConfirm = this.channelCloseConfirm.bind(this);
|
|
13
|
-
this.recvPacket = this.recvPacket.bind(this);
|
|
14
|
-
this.timeout = this.timeout.bind(this);
|
|
15
|
-
this.timeoutOnClose = this.timeoutOnClose.bind(this);
|
|
16
|
-
this.acknowledgement = this.acknowledgement.bind(this);
|
|
17
7
|
}
|
|
18
|
-
|
|
8
|
+
/* ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */
|
|
9
|
+
channelOpenInit = async (request) => {
|
|
19
10
|
const data = MsgChannelOpenInit.encode(request).finish();
|
|
20
11
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data);
|
|
21
12
|
return promise.then(data => MsgChannelOpenInitResponse.decode(new BinaryReader(data)));
|
|
22
|
-
}
|
|
23
|
-
|
|
13
|
+
};
|
|
14
|
+
/* ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */
|
|
15
|
+
channelOpenTry = async (request) => {
|
|
24
16
|
const data = MsgChannelOpenTry.encode(request).finish();
|
|
25
17
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data);
|
|
26
18
|
return promise.then(data => MsgChannelOpenTryResponse.decode(new BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
|
|
19
|
+
};
|
|
20
|
+
/* ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */
|
|
21
|
+
channelOpenAck = async (request) => {
|
|
29
22
|
const data = MsgChannelOpenAck.encode(request).finish();
|
|
30
23
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data);
|
|
31
24
|
return promise.then(data => MsgChannelOpenAckResponse.decode(new BinaryReader(data)));
|
|
32
|
-
}
|
|
33
|
-
|
|
25
|
+
};
|
|
26
|
+
/* ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */
|
|
27
|
+
channelOpenConfirm = async (request) => {
|
|
34
28
|
const data = MsgChannelOpenConfirm.encode(request).finish();
|
|
35
29
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data);
|
|
36
30
|
return promise.then(data => MsgChannelOpenConfirmResponse.decode(new BinaryReader(data)));
|
|
37
|
-
}
|
|
38
|
-
|
|
31
|
+
};
|
|
32
|
+
/* ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */
|
|
33
|
+
channelCloseInit = async (request) => {
|
|
39
34
|
const data = MsgChannelCloseInit.encode(request).finish();
|
|
40
35
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data);
|
|
41
36
|
return promise.then(data => MsgChannelCloseInitResponse.decode(new BinaryReader(data)));
|
|
42
|
-
}
|
|
43
|
-
|
|
37
|
+
};
|
|
38
|
+
/* ChannelCloseConfirm defines a rpc handler method for
|
|
39
|
+
MsgChannelCloseConfirm. */
|
|
40
|
+
channelCloseConfirm = async (request) => {
|
|
44
41
|
const data = MsgChannelCloseConfirm.encode(request).finish();
|
|
45
42
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data);
|
|
46
43
|
return promise.then(data => MsgChannelCloseConfirmResponse.decode(new BinaryReader(data)));
|
|
47
|
-
}
|
|
48
|
-
|
|
44
|
+
};
|
|
45
|
+
/* RecvPacket defines a rpc handler method for MsgRecvPacket. */
|
|
46
|
+
recvPacket = async (request) => {
|
|
49
47
|
const data = MsgRecvPacket.encode(request).finish();
|
|
50
48
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data);
|
|
51
49
|
return promise.then(data => MsgRecvPacketResponse.decode(new BinaryReader(data)));
|
|
52
|
-
}
|
|
53
|
-
|
|
50
|
+
};
|
|
51
|
+
/* Timeout defines a rpc handler method for MsgTimeout. */
|
|
52
|
+
timeout = async (request) => {
|
|
54
53
|
const data = MsgTimeout.encode(request).finish();
|
|
55
54
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data);
|
|
56
55
|
return promise.then(data => MsgTimeoutResponse.decode(new BinaryReader(data)));
|
|
57
|
-
}
|
|
58
|
-
|
|
56
|
+
};
|
|
57
|
+
/* TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */
|
|
58
|
+
timeoutOnClose = async (request) => {
|
|
59
59
|
const data = MsgTimeoutOnClose.encode(request).finish();
|
|
60
60
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data);
|
|
61
61
|
return promise.then(data => MsgTimeoutOnCloseResponse.decode(new BinaryReader(data)));
|
|
62
|
-
}
|
|
63
|
-
|
|
62
|
+
};
|
|
63
|
+
/* Acknowledgement defines a rpc handler method for MsgAcknowledgement. */
|
|
64
|
+
acknowledgement = async (request) => {
|
|
64
65
|
const data = MsgAcknowledgement.encode(request).finish();
|
|
65
66
|
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data);
|
|
66
67
|
return promise.then(data => MsgAcknowledgementResponse.decode(new BinaryReader(data)));
|
|
67
|
-
}
|
|
68
|
+
};
|
|
68
69
|
}
|
|
70
|
+
export const createClientImpl = (rpc) => {
|
|
71
|
+
return new MsgClientImpl(rpc);
|
|
72
|
+
};
|
|
@@ -12,6 +12,7 @@ function createBaseGenesisState() {
|
|
|
12
12
|
}
|
|
13
13
|
export const GenesisState = {
|
|
14
14
|
typeUrl: "/ibc.core.channel.v2.GenesisState",
|
|
15
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
for (const v of message.acknowledgements) {
|
|
17
18
|
PacketState.encode(v, writer.uint32(18).fork()).ldelim();
|
|
@@ -142,6 +143,7 @@ function createBasePacketState() {
|
|
|
142
143
|
}
|
|
143
144
|
export const PacketState = {
|
|
144
145
|
typeUrl: "/ibc.core.channel.v2.PacketState",
|
|
146
|
+
aminoType: "cosmos-sdk/PacketState",
|
|
145
147
|
encode(message, writer = BinaryWriter.create()) {
|
|
146
148
|
if (message.clientId !== "") {
|
|
147
149
|
writer.uint32(10).string(message.clientId);
|
|
@@ -234,6 +236,7 @@ function createBasePacketSequence() {
|
|
|
234
236
|
}
|
|
235
237
|
export const PacketSequence = {
|
|
236
238
|
typeUrl: "/ibc.core.channel.v2.PacketSequence",
|
|
239
|
+
aminoType: "cosmos-sdk/PacketSequence",
|
|
237
240
|
encode(message, writer = BinaryWriter.create()) {
|
|
238
241
|
if (message.clientId !== "") {
|
|
239
242
|
writer.uint32(10).string(message.clientId);
|
|
@@ -14,7 +14,6 @@ export var PacketStatus;
|
|
|
14
14
|
PacketStatus[PacketStatus["PACKET_STATUS_ASYNC"] = 3] = "PACKET_STATUS_ASYNC";
|
|
15
15
|
PacketStatus[PacketStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
16
16
|
})(PacketStatus || (PacketStatus = {}));
|
|
17
|
-
export const PacketStatusSDKType = PacketStatus;
|
|
18
17
|
export const PacketStatusAmino = PacketStatus;
|
|
19
18
|
export function packetStatusFromJSON(object) {
|
|
20
19
|
switch (object) {
|
|
@@ -62,6 +61,7 @@ function createBasePacket() {
|
|
|
62
61
|
}
|
|
63
62
|
export const Packet = {
|
|
64
63
|
typeUrl: "/ibc.core.channel.v2.Packet",
|
|
64
|
+
aminoType: "cosmos-sdk/Packet",
|
|
65
65
|
encode(message, writer = BinaryWriter.create()) {
|
|
66
66
|
if (message.sequence !== BigInt(0)) {
|
|
67
67
|
writer.uint32(8).uint64(message.sequence);
|
|
@@ -182,6 +182,7 @@ function createBasePayload() {
|
|
|
182
182
|
}
|
|
183
183
|
export const Payload = {
|
|
184
184
|
typeUrl: "/ibc.core.channel.v2.Payload",
|
|
185
|
+
aminoType: "cosmos-sdk/Payload",
|
|
185
186
|
encode(message, writer = BinaryWriter.create()) {
|
|
186
187
|
if (message.sourcePort !== "") {
|
|
187
188
|
writer.uint32(10).string(message.sourcePort);
|
|
@@ -295,6 +296,7 @@ function createBaseAcknowledgement() {
|
|
|
295
296
|
}
|
|
296
297
|
export const Acknowledgement = {
|
|
297
298
|
typeUrl: "/ibc.core.channel.v2.Acknowledgement",
|
|
299
|
+
aminoType: "cosmos-sdk/Acknowledgement",
|
|
298
300
|
encode(message, writer = BinaryWriter.create()) {
|
|
299
301
|
for (const v of message.appAcknowledgements) {
|
|
300
302
|
writer.uint32(10).bytes(v);
|
|
@@ -368,6 +370,7 @@ function createBaseRecvPacketResult() {
|
|
|
368
370
|
}
|
|
369
371
|
export const RecvPacketResult = {
|
|
370
372
|
typeUrl: "/ibc.core.channel.v2.RecvPacketResult",
|
|
373
|
+
aminoType: "cosmos-sdk/RecvPacketResult",
|
|
371
374
|
encode(message, writer = BinaryWriter.create()) {
|
|
372
375
|
if (message.status !== 0) {
|
|
373
376
|
writer.uint32(8).int32(message.status);
|
|
@@ -11,6 +11,7 @@ function createBaseQueryNextSequenceSendRequest() {
|
|
|
11
11
|
}
|
|
12
12
|
export const QueryNextSequenceSendRequest = {
|
|
13
13
|
typeUrl: "/ibc.core.channel.v2.QueryNextSequenceSendRequest",
|
|
14
|
+
aminoType: "cosmos-sdk/QueryNextSequenceSendRequest",
|
|
14
15
|
encode(message, writer = BinaryWriter.create()) {
|
|
15
16
|
if (message.clientId !== "") {
|
|
16
17
|
writer.uint32(10).string(message.clientId);
|
|
@@ -82,6 +83,7 @@ function createBaseQueryNextSequenceSendResponse() {
|
|
|
82
83
|
}
|
|
83
84
|
export const QueryNextSequenceSendResponse = {
|
|
84
85
|
typeUrl: "/ibc.core.channel.v2.QueryNextSequenceSendResponse",
|
|
86
|
+
aminoType: "cosmos-sdk/QueryNextSequenceSendResponse",
|
|
85
87
|
encode(message, writer = BinaryWriter.create()) {
|
|
86
88
|
if (message.nextSequenceSend !== BigInt(0)) {
|
|
87
89
|
writer.uint32(8).uint64(message.nextSequenceSend);
|
|
@@ -174,6 +176,7 @@ function createBaseQueryPacketCommitmentRequest() {
|
|
|
174
176
|
}
|
|
175
177
|
export const QueryPacketCommitmentRequest = {
|
|
176
178
|
typeUrl: "/ibc.core.channel.v2.QueryPacketCommitmentRequest",
|
|
179
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentRequest",
|
|
177
180
|
encode(message, writer = BinaryWriter.create()) {
|
|
178
181
|
if (message.clientId !== "") {
|
|
179
182
|
writer.uint32(10).string(message.clientId);
|
|
@@ -256,6 +259,7 @@ function createBaseQueryPacketCommitmentResponse() {
|
|
|
256
259
|
}
|
|
257
260
|
export const QueryPacketCommitmentResponse = {
|
|
258
261
|
typeUrl: "/ibc.core.channel.v2.QueryPacketCommitmentResponse",
|
|
262
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentResponse",
|
|
259
263
|
encode(message, writer = BinaryWriter.create()) {
|
|
260
264
|
if (message.commitment.length !== 0) {
|
|
261
265
|
writer.uint32(10).bytes(message.commitment);
|
|
@@ -348,6 +352,7 @@ function createBaseQueryPacketCommitmentsRequest() {
|
|
|
348
352
|
}
|
|
349
353
|
export const QueryPacketCommitmentsRequest = {
|
|
350
354
|
typeUrl: "/ibc.core.channel.v2.QueryPacketCommitmentsRequest",
|
|
355
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentsRequest",
|
|
351
356
|
encode(message, writer = BinaryWriter.create()) {
|
|
352
357
|
if (message.clientId !== "") {
|
|
353
358
|
writer.uint32(10).string(message.clientId);
|
|
@@ -430,6 +435,7 @@ function createBaseQueryPacketCommitmentsResponse() {
|
|
|
430
435
|
}
|
|
431
436
|
export const QueryPacketCommitmentsResponse = {
|
|
432
437
|
typeUrl: "/ibc.core.channel.v2.QueryPacketCommitmentsResponse",
|
|
438
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentsResponse",
|
|
433
439
|
encode(message, writer = BinaryWriter.create()) {
|
|
434
440
|
for (const v of message.commitments) {
|
|
435
441
|
PacketState.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -525,6 +531,7 @@ function createBaseQueryPacketAcknowledgementRequest() {
|
|
|
525
531
|
}
|
|
526
532
|
export const QueryPacketAcknowledgementRequest = {
|
|
527
533
|
typeUrl: "/ibc.core.channel.v2.QueryPacketAcknowledgementRequest",
|
|
534
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementRequest",
|
|
528
535
|
encode(message, writer = BinaryWriter.create()) {
|
|
529
536
|
if (message.clientId !== "") {
|
|
530
537
|
writer.uint32(10).string(message.clientId);
|
|
@@ -607,6 +614,7 @@ function createBaseQueryPacketAcknowledgementResponse() {
|
|
|
607
614
|
}
|
|
608
615
|
export const QueryPacketAcknowledgementResponse = {
|
|
609
616
|
typeUrl: "/ibc.core.channel.v2.QueryPacketAcknowledgementResponse",
|
|
617
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementResponse",
|
|
610
618
|
encode(message, writer = BinaryWriter.create()) {
|
|
611
619
|
if (message.acknowledgement.length !== 0) {
|
|
612
620
|
writer.uint32(10).bytes(message.acknowledgement);
|
|
@@ -700,6 +708,7 @@ function createBaseQueryPacketAcknowledgementsRequest() {
|
|
|
700
708
|
}
|
|
701
709
|
export const QueryPacketAcknowledgementsRequest = {
|
|
702
710
|
typeUrl: "/ibc.core.channel.v2.QueryPacketAcknowledgementsRequest",
|
|
711
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementsRequest",
|
|
703
712
|
encode(message, writer = BinaryWriter.create()) {
|
|
704
713
|
if (message.clientId !== "") {
|
|
705
714
|
writer.uint32(10).string(message.clientId);
|
|
@@ -806,6 +815,7 @@ function createBaseQueryPacketAcknowledgementsResponse() {
|
|
|
806
815
|
}
|
|
807
816
|
export const QueryPacketAcknowledgementsResponse = {
|
|
808
817
|
typeUrl: "/ibc.core.channel.v2.QueryPacketAcknowledgementsResponse",
|
|
818
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementsResponse",
|
|
809
819
|
encode(message, writer = BinaryWriter.create()) {
|
|
810
820
|
for (const v of message.acknowledgements) {
|
|
811
821
|
PacketState.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -901,6 +911,7 @@ function createBaseQueryPacketReceiptRequest() {
|
|
|
901
911
|
}
|
|
902
912
|
export const QueryPacketReceiptRequest = {
|
|
903
913
|
typeUrl: "/ibc.core.channel.v2.QueryPacketReceiptRequest",
|
|
914
|
+
aminoType: "cosmos-sdk/QueryPacketReceiptRequest",
|
|
904
915
|
encode(message, writer = BinaryWriter.create()) {
|
|
905
916
|
if (message.clientId !== "") {
|
|
906
917
|
writer.uint32(10).string(message.clientId);
|
|
@@ -983,6 +994,7 @@ function createBaseQueryPacketReceiptResponse() {
|
|
|
983
994
|
}
|
|
984
995
|
export const QueryPacketReceiptResponse = {
|
|
985
996
|
typeUrl: "/ibc.core.channel.v2.QueryPacketReceiptResponse",
|
|
997
|
+
aminoType: "cosmos-sdk/QueryPacketReceiptResponse",
|
|
986
998
|
encode(message, writer = BinaryWriter.create()) {
|
|
987
999
|
if (message.received === true) {
|
|
988
1000
|
writer.uint32(16).bool(message.received);
|
|
@@ -1075,6 +1087,7 @@ function createBaseQueryUnreceivedPacketsRequest() {
|
|
|
1075
1087
|
}
|
|
1076
1088
|
export const QueryUnreceivedPacketsRequest = {
|
|
1077
1089
|
typeUrl: "/ibc.core.channel.v2.QueryUnreceivedPacketsRequest",
|
|
1090
|
+
aminoType: "cosmos-sdk/QueryUnreceivedPacketsRequest",
|
|
1078
1091
|
encode(message, writer = BinaryWriter.create()) {
|
|
1079
1092
|
if (message.clientId !== "") {
|
|
1080
1093
|
writer.uint32(10).string(message.clientId);
|
|
@@ -1169,6 +1182,7 @@ function createBaseQueryUnreceivedPacketsResponse() {
|
|
|
1169
1182
|
}
|
|
1170
1183
|
export const QueryUnreceivedPacketsResponse = {
|
|
1171
1184
|
typeUrl: "/ibc.core.channel.v2.QueryUnreceivedPacketsResponse",
|
|
1185
|
+
aminoType: "cosmos-sdk/QueryUnreceivedPacketsResponse",
|
|
1172
1186
|
encode(message, writer = BinaryWriter.create()) {
|
|
1173
1187
|
writer.uint32(10).fork();
|
|
1174
1188
|
for (const v of message.sequences) {
|
|
@@ -1263,6 +1277,7 @@ function createBaseQueryUnreceivedAcksRequest() {
|
|
|
1263
1277
|
}
|
|
1264
1278
|
export const QueryUnreceivedAcksRequest = {
|
|
1265
1279
|
typeUrl: "/ibc.core.channel.v2.QueryUnreceivedAcksRequest",
|
|
1280
|
+
aminoType: "cosmos-sdk/QueryUnreceivedAcksRequest",
|
|
1266
1281
|
encode(message, writer = BinaryWriter.create()) {
|
|
1267
1282
|
if (message.clientId !== "") {
|
|
1268
1283
|
writer.uint32(10).string(message.clientId);
|
|
@@ -1357,6 +1372,7 @@ function createBaseQueryUnreceivedAcksResponse() {
|
|
|
1357
1372
|
}
|
|
1358
1373
|
export const QueryUnreceivedAcksResponse = {
|
|
1359
1374
|
typeUrl: "/ibc.core.channel.v2.QueryUnreceivedAcksResponse",
|
|
1375
|
+
aminoType: "cosmos-sdk/QueryUnreceivedAcksResponse",
|
|
1360
1376
|
encode(message, writer = BinaryWriter.create()) {
|
|
1361
1377
|
writer.uint32(10).fork();
|
|
1362
1378
|
for (const v of message.sequences) {
|
|
@@ -4,27 +4,19 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.nextSequenceSend = this.nextSequenceSend.bind(this);
|
|
8
|
-
this.packetCommitment = this.packetCommitment.bind(this);
|
|
9
|
-
this.packetCommitments = this.packetCommitments.bind(this);
|
|
10
|
-
this.packetAcknowledgement = this.packetAcknowledgement.bind(this);
|
|
11
|
-
this.packetAcknowledgements = this.packetAcknowledgements.bind(this);
|
|
12
|
-
this.packetReceipt = this.packetReceipt.bind(this);
|
|
13
|
-
this.unreceivedPackets = this.unreceivedPackets.bind(this);
|
|
14
|
-
this.unreceivedAcks = this.unreceivedAcks.bind(this);
|
|
15
7
|
}
|
|
16
8
|
/* NextSequenceSend returns the next send sequence for a given channel. */
|
|
17
|
-
async
|
|
9
|
+
nextSequenceSend = async (params) => {
|
|
18
10
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/next_sequence_send`;
|
|
19
11
|
return await this.req.get(endpoint);
|
|
20
|
-
}
|
|
12
|
+
};
|
|
21
13
|
/* PacketCommitment queries a stored packet commitment hash. */
|
|
22
|
-
async
|
|
14
|
+
packetCommitment = async (params) => {
|
|
23
15
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_commitments/${params.sequence}`;
|
|
24
16
|
return await this.req.get(endpoint);
|
|
25
|
-
}
|
|
17
|
+
};
|
|
26
18
|
/* PacketCommitments queries a stored packet commitment hash. */
|
|
27
|
-
async
|
|
19
|
+
packetCommitments = async (params) => {
|
|
28
20
|
const options = {
|
|
29
21
|
params: {}
|
|
30
22
|
};
|
|
@@ -33,14 +25,14 @@ export class LCDQueryClient {
|
|
|
33
25
|
}
|
|
34
26
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_commitments`;
|
|
35
27
|
return await this.req.get(endpoint, options);
|
|
36
|
-
}
|
|
28
|
+
};
|
|
37
29
|
/* PacketAcknowledgement queries a stored acknowledgement commitment hash. */
|
|
38
|
-
async
|
|
30
|
+
packetAcknowledgement = async (params) => {
|
|
39
31
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_acks/${params.sequence}`;
|
|
40
32
|
return await this.req.get(endpoint);
|
|
41
|
-
}
|
|
33
|
+
};
|
|
42
34
|
/* PacketAcknowledgements returns all packet acknowledgements associated with a channel. */
|
|
43
|
-
async
|
|
35
|
+
packetAcknowledgements = async (params) => {
|
|
44
36
|
const options = {
|
|
45
37
|
params: {}
|
|
46
38
|
};
|
|
@@ -52,20 +44,20 @@ export class LCDQueryClient {
|
|
|
52
44
|
}
|
|
53
45
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_acknowledgements`;
|
|
54
46
|
return await this.req.get(endpoint, options);
|
|
55
|
-
}
|
|
47
|
+
};
|
|
56
48
|
/* PacketReceipt queries a stored packet receipt. */
|
|
57
|
-
async
|
|
49
|
+
packetReceipt = async (params) => {
|
|
58
50
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_receipts/${params.sequence}`;
|
|
59
51
|
return await this.req.get(endpoint);
|
|
60
|
-
}
|
|
52
|
+
};
|
|
61
53
|
/* UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences. */
|
|
62
|
-
async
|
|
54
|
+
unreceivedPackets = async (params) => {
|
|
63
55
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_commitments/${params.sequences}/unreceived_packets`;
|
|
64
56
|
return await this.req.get(endpoint);
|
|
65
|
-
}
|
|
57
|
+
};
|
|
66
58
|
/* UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences. */
|
|
67
|
-
async
|
|
59
|
+
unreceivedAcks = async (params) => {
|
|
68
60
|
const endpoint = `ibc/core/channel/v2/clients/${params.clientId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`;
|
|
69
61
|
return await this.req.get(endpoint);
|
|
70
|
-
}
|
|
62
|
+
};
|
|
71
63
|
}
|
|
@@ -5,55 +5,55 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.nextSequenceSend = this.nextSequenceSend.bind(this);
|
|
9
|
-
this.packetCommitment = this.packetCommitment.bind(this);
|
|
10
|
-
this.packetCommitments = this.packetCommitments.bind(this);
|
|
11
|
-
this.packetAcknowledgement = this.packetAcknowledgement.bind(this);
|
|
12
|
-
this.packetAcknowledgements = this.packetAcknowledgements.bind(this);
|
|
13
|
-
this.packetReceipt = this.packetReceipt.bind(this);
|
|
14
|
-
this.unreceivedPackets = this.unreceivedPackets.bind(this);
|
|
15
|
-
this.unreceivedAcks = this.unreceivedAcks.bind(this);
|
|
16
8
|
}
|
|
17
|
-
|
|
9
|
+
/* NextSequenceSend returns the next send sequence for a given channel. */
|
|
10
|
+
nextSequenceSend = async (request) => {
|
|
18
11
|
const data = QueryNextSequenceSendRequest.encode(request).finish();
|
|
19
12
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "NextSequenceSend", data);
|
|
20
13
|
return promise.then(data => QueryNextSequenceSendResponse.decode(new BinaryReader(data)));
|
|
21
|
-
}
|
|
22
|
-
|
|
14
|
+
};
|
|
15
|
+
/* PacketCommitment queries a stored packet commitment hash. */
|
|
16
|
+
packetCommitment = async (request) => {
|
|
23
17
|
const data = QueryPacketCommitmentRequest.encode(request).finish();
|
|
24
18
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "PacketCommitment", data);
|
|
25
19
|
return promise.then(data => QueryPacketCommitmentResponse.decode(new BinaryReader(data)));
|
|
26
|
-
}
|
|
27
|
-
|
|
20
|
+
};
|
|
21
|
+
/* PacketCommitments queries a stored packet commitment hash. */
|
|
22
|
+
packetCommitments = async (request) => {
|
|
28
23
|
const data = QueryPacketCommitmentsRequest.encode(request).finish();
|
|
29
24
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "PacketCommitments", data);
|
|
30
25
|
return promise.then(data => QueryPacketCommitmentsResponse.decode(new BinaryReader(data)));
|
|
31
|
-
}
|
|
32
|
-
|
|
26
|
+
};
|
|
27
|
+
/* PacketAcknowledgement queries a stored acknowledgement commitment hash. */
|
|
28
|
+
packetAcknowledgement = async (request) => {
|
|
33
29
|
const data = QueryPacketAcknowledgementRequest.encode(request).finish();
|
|
34
30
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "PacketAcknowledgement", data);
|
|
35
31
|
return promise.then(data => QueryPacketAcknowledgementResponse.decode(new BinaryReader(data)));
|
|
36
|
-
}
|
|
37
|
-
|
|
32
|
+
};
|
|
33
|
+
/* PacketAcknowledgements returns all packet acknowledgements associated with a channel. */
|
|
34
|
+
packetAcknowledgements = async (request) => {
|
|
38
35
|
const data = QueryPacketAcknowledgementsRequest.encode(request).finish();
|
|
39
36
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "PacketAcknowledgements", data);
|
|
40
37
|
return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new BinaryReader(data)));
|
|
41
|
-
}
|
|
42
|
-
|
|
38
|
+
};
|
|
39
|
+
/* PacketReceipt queries a stored packet receipt. */
|
|
40
|
+
packetReceipt = async (request) => {
|
|
43
41
|
const data = QueryPacketReceiptRequest.encode(request).finish();
|
|
44
42
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "PacketReceipt", data);
|
|
45
43
|
return promise.then(data => QueryPacketReceiptResponse.decode(new BinaryReader(data)));
|
|
46
|
-
}
|
|
47
|
-
|
|
44
|
+
};
|
|
45
|
+
/* UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences. */
|
|
46
|
+
unreceivedPackets = async (request) => {
|
|
48
47
|
const data = QueryUnreceivedPacketsRequest.encode(request).finish();
|
|
49
48
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "UnreceivedPackets", data);
|
|
50
49
|
return promise.then(data => QueryUnreceivedPacketsResponse.decode(new BinaryReader(data)));
|
|
51
|
-
}
|
|
52
|
-
|
|
50
|
+
};
|
|
51
|
+
/* UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences. */
|
|
52
|
+
unreceivedAcks = async (request) => {
|
|
53
53
|
const data = QueryUnreceivedAcksRequest.encode(request).finish();
|
|
54
54
|
const promise = this.rpc.request("ibc.core.channel.v2.Query", "UnreceivedAcks", data);
|
|
55
55
|
return promise.then(data => QueryUnreceivedAcksResponse.decode(new BinaryReader(data)));
|
|
56
|
-
}
|
|
56
|
+
};
|
|
57
57
|
}
|
|
58
58
|
export const createRpcQueryExtension = (base) => {
|
|
59
59
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -16,7 +16,6 @@ export var ResponseResultType;
|
|
|
16
16
|
ResponseResultType[ResponseResultType["RESPONSE_RESULT_TYPE_FAILURE"] = 3] = "RESPONSE_RESULT_TYPE_FAILURE";
|
|
17
17
|
ResponseResultType[ResponseResultType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
18
|
})(ResponseResultType || (ResponseResultType = {}));
|
|
19
|
-
export const ResponseResultTypeSDKType = ResponseResultType;
|
|
20
19
|
export const ResponseResultTypeAmino = ResponseResultType;
|
|
21
20
|
export function responseResultTypeFromJSON(object) {
|
|
22
21
|
switch (object) {
|
|
@@ -63,6 +62,7 @@ function createBaseMsgSendPacket() {
|
|
|
63
62
|
}
|
|
64
63
|
export const MsgSendPacket = {
|
|
65
64
|
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
65
|
+
aminoType: "cosmos-sdk/MsgSendPacket",
|
|
66
66
|
encode(message, writer = BinaryWriter.create()) {
|
|
67
67
|
if (message.sourceClient !== "") {
|
|
68
68
|
writer.uint32(10).string(message.sourceClient);
|
|
@@ -168,6 +168,7 @@ function createBaseMsgSendPacketResponse() {
|
|
|
168
168
|
}
|
|
169
169
|
export const MsgSendPacketResponse = {
|
|
170
170
|
typeUrl: "/ibc.core.channel.v2.MsgSendPacketResponse",
|
|
171
|
+
aminoType: "cosmos-sdk/MsgSendPacketResponse",
|
|
171
172
|
encode(message, writer = BinaryWriter.create()) {
|
|
172
173
|
if (message.sequence !== BigInt(0)) {
|
|
173
174
|
writer.uint32(8).uint64(message.sequence);
|
|
@@ -240,6 +241,7 @@ function createBaseMsgRecvPacket() {
|
|
|
240
241
|
}
|
|
241
242
|
export const MsgRecvPacket = {
|
|
242
243
|
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
244
|
+
aminoType: "cosmos-sdk/MsgRecvPacket",
|
|
243
245
|
encode(message, writer = BinaryWriter.create()) {
|
|
244
246
|
if (message.packet !== undefined) {
|
|
245
247
|
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
@@ -342,6 +344,7 @@ function createBaseMsgRecvPacketResponse() {
|
|
|
342
344
|
}
|
|
343
345
|
export const MsgRecvPacketResponse = {
|
|
344
346
|
typeUrl: "/ibc.core.channel.v2.MsgRecvPacketResponse",
|
|
347
|
+
aminoType: "cosmos-sdk/MsgRecvPacketResponse",
|
|
345
348
|
encode(message, writer = BinaryWriter.create()) {
|
|
346
349
|
if (message.result !== 0) {
|
|
347
350
|
writer.uint32(8).int32(message.result);
|
|
@@ -414,6 +417,7 @@ function createBaseMsgTimeout() {
|
|
|
414
417
|
}
|
|
415
418
|
export const MsgTimeout = {
|
|
416
419
|
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
420
|
+
aminoType: "cosmos-sdk/MsgTimeout",
|
|
417
421
|
encode(message, writer = BinaryWriter.create()) {
|
|
418
422
|
if (message.packet !== undefined) {
|
|
419
423
|
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
@@ -516,6 +520,7 @@ function createBaseMsgTimeoutResponse() {
|
|
|
516
520
|
}
|
|
517
521
|
export const MsgTimeoutResponse = {
|
|
518
522
|
typeUrl: "/ibc.core.channel.v2.MsgTimeoutResponse",
|
|
523
|
+
aminoType: "cosmos-sdk/MsgTimeoutResponse",
|
|
519
524
|
encode(message, writer = BinaryWriter.create()) {
|
|
520
525
|
if (message.result !== 0) {
|
|
521
526
|
writer.uint32(8).int32(message.result);
|
|
@@ -589,6 +594,7 @@ function createBaseMsgAcknowledgement() {
|
|
|
589
594
|
}
|
|
590
595
|
export const MsgAcknowledgement = {
|
|
591
596
|
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
597
|
+
aminoType: "cosmos-sdk/MsgAcknowledgement",
|
|
592
598
|
encode(message, writer = BinaryWriter.create()) {
|
|
593
599
|
if (message.packet !== undefined) {
|
|
594
600
|
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
@@ -702,6 +708,7 @@ function createBaseMsgAcknowledgementResponse() {
|
|
|
702
708
|
}
|
|
703
709
|
export const MsgAcknowledgementResponse = {
|
|
704
710
|
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgementResponse",
|
|
711
|
+
aminoType: "cosmos-sdk/MsgAcknowledgementResponse",
|
|
705
712
|
encode(message, writer = BinaryWriter.create()) {
|
|
706
713
|
if (message.result !== 0) {
|
|
707
714
|
writer.uint32(8).int32(message.result);
|
|
@@ -1,87 +1,2 @@
|
|
|
1
1
|
import { MsgSendPacket, MsgRecvPacket, MsgTimeout, MsgAcknowledgement } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.channel.v2.MsgSendPacket", MsgSendPacket], ["/ibc.core.channel.v2.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v2.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v2.MsgAcknowledgement", MsgAcknowledgement]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
sendPacket(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
13
|
-
value: MsgSendPacket.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
recvPacket(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
19
|
-
value: MsgRecvPacket.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
timeout(value) {
|
|
23
|
-
return {
|
|
24
|
-
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
25
|
-
value: MsgTimeout.encode(value).finish()
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
acknowledgement(value) {
|
|
29
|
-
return {
|
|
30
|
-
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
31
|
-
value: MsgAcknowledgement.encode(value).finish()
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
withTypeUrl: {
|
|
36
|
-
sendPacket(value) {
|
|
37
|
-
return {
|
|
38
|
-
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
39
|
-
value
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
recvPacket(value) {
|
|
43
|
-
return {
|
|
44
|
-
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
45
|
-
value
|
|
46
|
-
};
|
|
47
|
-
},
|
|
48
|
-
timeout(value) {
|
|
49
|
-
return {
|
|
50
|
-
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
51
|
-
value
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
acknowledgement(value) {
|
|
55
|
-
return {
|
|
56
|
-
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
57
|
-
value
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
fromPartial: {
|
|
62
|
-
sendPacket(value) {
|
|
63
|
-
return {
|
|
64
|
-
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
65
|
-
value: MsgSendPacket.fromPartial(value)
|
|
66
|
-
};
|
|
67
|
-
},
|
|
68
|
-
recvPacket(value) {
|
|
69
|
-
return {
|
|
70
|
-
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
71
|
-
value: MsgRecvPacket.fromPartial(value)
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
timeout(value) {
|
|
75
|
-
return {
|
|
76
|
-
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
77
|
-
value: MsgTimeout.fromPartial(value)
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
|
-
acknowledgement(value) {
|
|
81
|
-
return {
|
|
82
|
-
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
83
|
-
value: MsgAcknowledgement.fromPartial(value)
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
@@ -4,29 +4,32 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.sendPacket = this.sendPacket.bind(this);
|
|
8
|
-
this.recvPacket = this.recvPacket.bind(this);
|
|
9
|
-
this.timeout = this.timeout.bind(this);
|
|
10
|
-
this.acknowledgement = this.acknowledgement.bind(this);
|
|
11
7
|
}
|
|
12
|
-
|
|
8
|
+
/* SendPacket defines a rpc handler method for MsgSendPacket. */
|
|
9
|
+
sendPacket = async (request) => {
|
|
13
10
|
const data = MsgSendPacket.encode(request).finish();
|
|
14
11
|
const promise = this.rpc.request("ibc.core.channel.v2.Msg", "SendPacket", data);
|
|
15
12
|
return promise.then(data => MsgSendPacketResponse.decode(new BinaryReader(data)));
|
|
16
|
-
}
|
|
17
|
-
|
|
13
|
+
};
|
|
14
|
+
/* RecvPacket defines a rpc handler method for MsgRecvPacket. */
|
|
15
|
+
recvPacket = async (request) => {
|
|
18
16
|
const data = MsgRecvPacket.encode(request).finish();
|
|
19
17
|
const promise = this.rpc.request("ibc.core.channel.v2.Msg", "RecvPacket", data);
|
|
20
18
|
return promise.then(data => MsgRecvPacketResponse.decode(new BinaryReader(data)));
|
|
21
|
-
}
|
|
22
|
-
|
|
19
|
+
};
|
|
20
|
+
/* Timeout defines a rpc handler method for MsgTimeout. */
|
|
21
|
+
timeout = async (request) => {
|
|
23
22
|
const data = MsgTimeout.encode(request).finish();
|
|
24
23
|
const promise = this.rpc.request("ibc.core.channel.v2.Msg", "Timeout", data);
|
|
25
24
|
return promise.then(data => MsgTimeoutResponse.decode(new BinaryReader(data)));
|
|
26
|
-
}
|
|
27
|
-
|
|
25
|
+
};
|
|
26
|
+
/* Acknowledgement defines a rpc handler method for MsgAcknowledgement. */
|
|
27
|
+
acknowledgement = async (request) => {
|
|
28
28
|
const data = MsgAcknowledgement.encode(request).finish();
|
|
29
29
|
const promise = this.rpc.request("ibc.core.channel.v2.Msg", "Acknowledgement", data);
|
|
30
30
|
return promise.then(data => MsgAcknowledgementResponse.decode(new BinaryReader(data)));
|
|
31
|
-
}
|
|
31
|
+
};
|
|
32
32
|
}
|
|
33
|
+
export const createClientImpl = (rpc) => {
|
|
34
|
+
return new MsgClientImpl(rpc);
|
|
35
|
+
};
|