@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +2 -20
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +3 -18
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +2 -11
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +5 -39
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +3 -7
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +23 -139
- 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 +10 -10
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +3 -18
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +1 -3
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +8 -35
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +2 -12
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +2 -5
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +8 -34
- 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 +3 -3
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +8 -39
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +1 -6
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +2 -13
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +8 -59
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +4 -18
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +30 -199
- 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 +13 -13
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +10 -57
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +14 -101
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +4 -21
- 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 +2 -2
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +2 -29
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +26 -128
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +4 -34
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +2 -18
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +1 -10
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +3 -11
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +669 -17
- package/cosmos/circuit/module/v1/module.d.ts +1 -4
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +8 -26
- 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 +3 -3
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +7 -29
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +3 -19
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +1 -4
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +3 -8
- 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 +1 -1
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +3 -15
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +1 -4
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +2 -7
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +1 -1
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +2 -9
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +1 -5
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +2 -17
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +1 -8
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +7 -28
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +2 -10
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -18
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +2 -14
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +2 -8
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +1 -5
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +13 -122
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +10 -64
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +23 -137
- 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 +10 -10
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +16 -112
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +1 -3
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +2 -9
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +3 -18
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +5 -28
- 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 +2 -2
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +1 -3
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +1 -3
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +7 -39
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +2 -5
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +8 -39
- 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 +3 -3
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +8 -37
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +1 -3
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +1 -5
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +2 -16
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +12 -95
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +20 -92
- 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 +9 -9
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +21 -101
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +2 -11
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +15 -81
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +18 -81
- 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 +8 -8
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +14 -54
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +2 -6
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +12 -51
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +2 -12
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +30 -140
- 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 +14 -14
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +30 -142
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.rpc.msg.d.ts +15 -14
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +13 -119
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +13 -157
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +1 -5
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +2 -6
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +2 -14
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +7 -31
- 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 +3 -3
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +3 -18
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +1 -3
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +1 -7
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +10 -46
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +2 -2
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +1 -3
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +2 -17
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +6 -37
- 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 +2 -2
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +1 -4
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +2 -6
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +10 -49
- 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 +4 -4
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +12 -67
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +2 -11
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +3 -8
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +1 -4
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +1 -7
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +3 -19
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +3 -17
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +30 -185
- 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 +14 -14
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +26 -193
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +17 -102
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +2 -9
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +7 -59
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +6 -19
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +3 -25
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +3 -23
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +1 -5
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +7 -33
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +23 -170
- 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 +9 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +16 -123
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +1 -4
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +11 -77
- 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 +5 -5
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +5 -32
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +3 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +5 -47
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +1 -3
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +8 -54
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +8 -53
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +0 -1
- package/cosmos_proto/cosmos.d.ts +0 -23
- 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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 +0 -20
- 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.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.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.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.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.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.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.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.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.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -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.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.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/google/api/http.d.ts +0 -292
- package/google/bundle.d.ts +0 -20
- package/google/protobuf/any.d.ts +0 -93
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +0 -336
- package/google/protobuf/descriptor.js +2 -22
- package/google/protobuf/duration.d.ts +0 -64
- package/google/protobuf/timestamp.d.ts +0 -95
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +1 -7
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +5 -17
- 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 +2 -2
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +8 -33
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +5 -37
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +2 -16
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +3 -8
- 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 +1 -1
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +5 -19
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +2 -8
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +1 -12
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +3 -12
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +2 -28
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +3 -18
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +1 -9
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +4 -10
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +1 -12
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +16 -71
- 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 +6 -6
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +3 -15
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +1 -10
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +6 -33
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +290 -8
- package/ibc/core/channel/v1/channel.d.ts +9 -88
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +3 -21
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +32 -245
- 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 +14 -14
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +22 -147
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +3 -24
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +4 -33
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +19 -101
- 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 +8 -8
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +10 -48
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +6 -48
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +4 -27
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +26 -169
- 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 +11 -11
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +19 -91
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +9 -8
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +1 -9
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +1 -5
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +3 -10
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +6 -24
- 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 +2 -2
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +5 -20
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +3 -2
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +4 -26
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +1 -36
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +8 -54
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +2 -8
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +16 -95
- 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 +6 -6
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +13 -97
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +19 -133
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +9 -67
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +11 -69
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +2 -8
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +5 -18
- 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 +2 -2
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +6 -27
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +5 -25
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +1 -5
- package/sparkdream/blog/module/module.d.ts +0 -4
- package/sparkdream/blog/params.d.ts +1 -3
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +0 -6
- package/sparkdream/blog/query.d.ts +3 -23
- 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 +3 -3
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +2 -34
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.rpc.msg.d.ts +5 -4
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +6 -0
- package/sparkdream/sparkdream/genesis.d.ts +1 -5
- package/sparkdream/sparkdream/module/module.d.ts +0 -4
- package/sparkdream/sparkdream/params.d.ts +1 -3
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +1 -8
- 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 +1 -1
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +2 -12
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +2 -1
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +3 -309
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +0 -8
- package/tendermint/crypto/keys.d.ts +0 -5
- package/tendermint/crypto/proof.d.ts +0 -29
- package/tendermint/p2p/types.d.ts +0 -24
- package/tendermint/types/block.d.ts +2 -8
- package/tendermint/types/evidence.d.ts +2 -25
- package/tendermint/types/params.d.ts +1 -47
- package/tendermint/types/types.d.ts +3 -118
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +1 -17
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +0 -18
- package/types.d.ts +2 -55
|
@@ -26,7 +26,6 @@ export var State;
|
|
|
26
26
|
State[State["STATE_CLOSED"] = 4] = "STATE_CLOSED";
|
|
27
27
|
State[State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
28
28
|
})(State || (State = {}));
|
|
29
|
-
export const StateSDKType = State;
|
|
30
29
|
export const StateAmino = State;
|
|
31
30
|
export function stateFromJSON(object) {
|
|
32
31
|
switch (object) {
|
|
@@ -82,7 +81,6 @@ export var Order;
|
|
|
82
81
|
Order[Order["ORDER_ORDERED"] = 2] = "ORDER_ORDERED";
|
|
83
82
|
Order[Order["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
84
83
|
})(Order || (Order = {}));
|
|
85
|
-
export const OrderSDKType = Order;
|
|
86
84
|
export const OrderAmino = Order;
|
|
87
85
|
export function orderFromJSON(object) {
|
|
88
86
|
switch (object) {
|
|
@@ -125,6 +123,7 @@ function createBaseChannel() {
|
|
|
125
123
|
}
|
|
126
124
|
export const Channel = {
|
|
127
125
|
typeUrl: "/ibc.core.channel.v1.Channel",
|
|
126
|
+
aminoType: "cosmos-sdk/Channel",
|
|
128
127
|
encode(message, writer = BinaryWriter.create()) {
|
|
129
128
|
if (message.state !== 0) {
|
|
130
129
|
writer.uint32(8).int32(message.state);
|
|
@@ -247,6 +246,7 @@ function createBaseIdentifiedChannel() {
|
|
|
247
246
|
}
|
|
248
247
|
export const IdentifiedChannel = {
|
|
249
248
|
typeUrl: "/ibc.core.channel.v1.IdentifiedChannel",
|
|
249
|
+
aminoType: "cosmos-sdk/IdentifiedChannel",
|
|
250
250
|
encode(message, writer = BinaryWriter.create()) {
|
|
251
251
|
if (message.state !== 0) {
|
|
252
252
|
writer.uint32(8).int32(message.state);
|
|
@@ -386,6 +386,7 @@ function createBaseCounterparty() {
|
|
|
386
386
|
}
|
|
387
387
|
export const Counterparty = {
|
|
388
388
|
typeUrl: "/ibc.core.channel.v1.Counterparty",
|
|
389
|
+
aminoType: "cosmos-sdk/Counterparty",
|
|
389
390
|
encode(message, writer = BinaryWriter.create()) {
|
|
390
391
|
if (message.portId !== "") {
|
|
391
392
|
writer.uint32(10).string(message.portId);
|
|
@@ -473,6 +474,7 @@ function createBasePacket() {
|
|
|
473
474
|
}
|
|
474
475
|
export const Packet = {
|
|
475
476
|
typeUrl: "/ibc.core.channel.v1.Packet",
|
|
477
|
+
aminoType: "cosmos-sdk/Packet",
|
|
476
478
|
encode(message, writer = BinaryWriter.create()) {
|
|
477
479
|
if (message.sequence !== BigInt(0)) {
|
|
478
480
|
writer.uint32(8).uint64(message.sequence);
|
|
@@ -622,6 +624,7 @@ function createBasePacketState() {
|
|
|
622
624
|
}
|
|
623
625
|
export const PacketState = {
|
|
624
626
|
typeUrl: "/ibc.core.channel.v1.PacketState",
|
|
627
|
+
aminoType: "cosmos-sdk/PacketState",
|
|
625
628
|
encode(message, writer = BinaryWriter.create()) {
|
|
626
629
|
if (message.portId !== "") {
|
|
627
630
|
writer.uint32(10).string(message.portId);
|
|
@@ -726,6 +729,7 @@ function createBasePacketId() {
|
|
|
726
729
|
}
|
|
727
730
|
export const PacketId = {
|
|
728
731
|
typeUrl: "/ibc.core.channel.v1.PacketId",
|
|
732
|
+
aminoType: "cosmos-sdk/PacketId",
|
|
729
733
|
encode(message, writer = BinaryWriter.create()) {
|
|
730
734
|
if (message.portId !== "") {
|
|
731
735
|
writer.uint32(10).string(message.portId);
|
|
@@ -818,6 +822,7 @@ function createBaseAcknowledgement() {
|
|
|
818
822
|
}
|
|
819
823
|
export const Acknowledgement = {
|
|
820
824
|
typeUrl: "/ibc.core.channel.v1.Acknowledgement",
|
|
825
|
+
aminoType: "cosmos-sdk/Acknowledgement",
|
|
821
826
|
encode(message, writer = BinaryWriter.create()) {
|
|
822
827
|
if (message.result !== undefined) {
|
|
823
828
|
writer.uint32(170).bytes(message.result);
|
|
@@ -899,6 +904,7 @@ function createBaseTimeout() {
|
|
|
899
904
|
}
|
|
900
905
|
export const Timeout = {
|
|
901
906
|
typeUrl: "/ibc.core.channel.v1.Timeout",
|
|
907
|
+
aminoType: "cosmos-sdk/Timeout",
|
|
902
908
|
encode(message, writer = BinaryWriter.create()) {
|
|
903
909
|
if (message.height !== undefined) {
|
|
904
910
|
Height.encode(message.height, writer.uint32(10).fork()).ldelim();
|
|
@@ -15,6 +15,7 @@ function createBaseGenesisState() {
|
|
|
15
15
|
}
|
|
16
16
|
export const GenesisState = {
|
|
17
17
|
typeUrl: "/ibc.core.channel.v1.GenesisState",
|
|
18
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
18
19
|
encode(message, writer = BinaryWriter.create()) {
|
|
19
20
|
for (const v of message.channels) {
|
|
20
21
|
IdentifiedChannel.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -184,6 +185,7 @@ function createBasePacketSequence() {
|
|
|
184
185
|
}
|
|
185
186
|
export const PacketSequence = {
|
|
186
187
|
typeUrl: "/ibc.core.channel.v1.PacketSequence",
|
|
188
|
+
aminoType: "cosmos-sdk/PacketSequence",
|
|
187
189
|
encode(message, writer = BinaryWriter.create()) {
|
|
188
190
|
if (message.portId !== "") {
|
|
189
191
|
writer.uint32(10).string(message.portId);
|
|
@@ -13,6 +13,7 @@ function createBaseQueryChannelRequest() {
|
|
|
13
13
|
}
|
|
14
14
|
export const QueryChannelRequest = {
|
|
15
15
|
typeUrl: "/ibc.core.channel.v1.QueryChannelRequest",
|
|
16
|
+
aminoType: "cosmos-sdk/QueryChannelRequest",
|
|
16
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
17
18
|
if (message.portId !== "") {
|
|
18
19
|
writer.uint32(10).string(message.portId);
|
|
@@ -95,6 +96,7 @@ function createBaseQueryChannelResponse() {
|
|
|
95
96
|
}
|
|
96
97
|
export const QueryChannelResponse = {
|
|
97
98
|
typeUrl: "/ibc.core.channel.v1.QueryChannelResponse",
|
|
99
|
+
aminoType: "cosmos-sdk/QueryChannelResponse",
|
|
98
100
|
encode(message, writer = BinaryWriter.create()) {
|
|
99
101
|
if (message.channel !== undefined) {
|
|
100
102
|
Channel.encode(message.channel, writer.uint32(10).fork()).ldelim();
|
|
@@ -186,6 +188,7 @@ function createBaseQueryChannelsRequest() {
|
|
|
186
188
|
}
|
|
187
189
|
export const QueryChannelsRequest = {
|
|
188
190
|
typeUrl: "/ibc.core.channel.v1.QueryChannelsRequest",
|
|
191
|
+
aminoType: "cosmos-sdk/QueryChannelsRequest",
|
|
189
192
|
encode(message, writer = BinaryWriter.create()) {
|
|
190
193
|
if (message.pagination !== undefined) {
|
|
191
194
|
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
@@ -257,6 +260,7 @@ function createBaseQueryChannelsResponse() {
|
|
|
257
260
|
}
|
|
258
261
|
export const QueryChannelsResponse = {
|
|
259
262
|
typeUrl: "/ibc.core.channel.v1.QueryChannelsResponse",
|
|
263
|
+
aminoType: "cosmos-sdk/QueryChannelsResponse",
|
|
260
264
|
encode(message, writer = BinaryWriter.create()) {
|
|
261
265
|
for (const v of message.channels) {
|
|
262
266
|
IdentifiedChannel.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -352,6 +356,7 @@ function createBaseQueryConnectionChannelsRequest() {
|
|
|
352
356
|
}
|
|
353
357
|
export const QueryConnectionChannelsRequest = {
|
|
354
358
|
typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsRequest",
|
|
359
|
+
aminoType: "cosmos-sdk/QueryConnectionChannelsRequest",
|
|
355
360
|
encode(message, writer = BinaryWriter.create()) {
|
|
356
361
|
if (message.connection !== "") {
|
|
357
362
|
writer.uint32(10).string(message.connection);
|
|
@@ -434,6 +439,7 @@ function createBaseQueryConnectionChannelsResponse() {
|
|
|
434
439
|
}
|
|
435
440
|
export const QueryConnectionChannelsResponse = {
|
|
436
441
|
typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsResponse",
|
|
442
|
+
aminoType: "cosmos-sdk/QueryConnectionChannelsResponse",
|
|
437
443
|
encode(message, writer = BinaryWriter.create()) {
|
|
438
444
|
for (const v of message.channels) {
|
|
439
445
|
IdentifiedChannel.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -529,6 +535,7 @@ function createBaseQueryChannelClientStateRequest() {
|
|
|
529
535
|
}
|
|
530
536
|
export const QueryChannelClientStateRequest = {
|
|
531
537
|
typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateRequest",
|
|
538
|
+
aminoType: "cosmos-sdk/QueryChannelClientStateRequest",
|
|
532
539
|
encode(message, writer = BinaryWriter.create()) {
|
|
533
540
|
if (message.portId !== "") {
|
|
534
541
|
writer.uint32(10).string(message.portId);
|
|
@@ -611,6 +618,7 @@ function createBaseQueryChannelClientStateResponse() {
|
|
|
611
618
|
}
|
|
612
619
|
export const QueryChannelClientStateResponse = {
|
|
613
620
|
typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateResponse",
|
|
621
|
+
aminoType: "cosmos-sdk/QueryChannelClientStateResponse",
|
|
614
622
|
encode(message, writer = BinaryWriter.create()) {
|
|
615
623
|
if (message.identifiedClientState !== undefined) {
|
|
616
624
|
IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
|
|
@@ -705,6 +713,7 @@ function createBaseQueryChannelConsensusStateRequest() {
|
|
|
705
713
|
}
|
|
706
714
|
export const QueryChannelConsensusStateRequest = {
|
|
707
715
|
typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateRequest",
|
|
716
|
+
aminoType: "cosmos-sdk/QueryChannelConsensusStateRequest",
|
|
708
717
|
encode(message, writer = BinaryWriter.create()) {
|
|
709
718
|
if (message.portId !== "") {
|
|
710
719
|
writer.uint32(10).string(message.portId);
|
|
@@ -810,6 +819,7 @@ function createBaseQueryChannelConsensusStateResponse() {
|
|
|
810
819
|
}
|
|
811
820
|
export const QueryChannelConsensusStateResponse = {
|
|
812
821
|
typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateResponse",
|
|
822
|
+
aminoType: "cosmos-sdk/QueryChannelConsensusStateResponse",
|
|
813
823
|
encode(message, writer = BinaryWriter.create()) {
|
|
814
824
|
if (message.consensusState !== undefined) {
|
|
815
825
|
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
|
@@ -914,6 +924,7 @@ function createBaseQueryPacketCommitmentRequest() {
|
|
|
914
924
|
}
|
|
915
925
|
export const QueryPacketCommitmentRequest = {
|
|
916
926
|
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentRequest",
|
|
927
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentRequest",
|
|
917
928
|
encode(message, writer = BinaryWriter.create()) {
|
|
918
929
|
if (message.portId !== "") {
|
|
919
930
|
writer.uint32(10).string(message.portId);
|
|
@@ -1007,6 +1018,7 @@ function createBaseQueryPacketCommitmentResponse() {
|
|
|
1007
1018
|
}
|
|
1008
1019
|
export const QueryPacketCommitmentResponse = {
|
|
1009
1020
|
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentResponse",
|
|
1021
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentResponse",
|
|
1010
1022
|
encode(message, writer = BinaryWriter.create()) {
|
|
1011
1023
|
if (message.commitment.length !== 0) {
|
|
1012
1024
|
writer.uint32(10).bytes(message.commitment);
|
|
@@ -1100,6 +1112,7 @@ function createBaseQueryPacketCommitmentsRequest() {
|
|
|
1100
1112
|
}
|
|
1101
1113
|
export const QueryPacketCommitmentsRequest = {
|
|
1102
1114
|
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsRequest",
|
|
1115
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentsRequest",
|
|
1103
1116
|
encode(message, writer = BinaryWriter.create()) {
|
|
1104
1117
|
if (message.portId !== "") {
|
|
1105
1118
|
writer.uint32(10).string(message.portId);
|
|
@@ -1193,6 +1206,7 @@ function createBaseQueryPacketCommitmentsResponse() {
|
|
|
1193
1206
|
}
|
|
1194
1207
|
export const QueryPacketCommitmentsResponse = {
|
|
1195
1208
|
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsResponse",
|
|
1209
|
+
aminoType: "cosmos-sdk/QueryPacketCommitmentsResponse",
|
|
1196
1210
|
encode(message, writer = BinaryWriter.create()) {
|
|
1197
1211
|
for (const v of message.commitments) {
|
|
1198
1212
|
PacketState.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1289,6 +1303,7 @@ function createBaseQueryPacketReceiptRequest() {
|
|
|
1289
1303
|
}
|
|
1290
1304
|
export const QueryPacketReceiptRequest = {
|
|
1291
1305
|
typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptRequest",
|
|
1306
|
+
aminoType: "cosmos-sdk/QueryPacketReceiptRequest",
|
|
1292
1307
|
encode(message, writer = BinaryWriter.create()) {
|
|
1293
1308
|
if (message.portId !== "") {
|
|
1294
1309
|
writer.uint32(10).string(message.portId);
|
|
@@ -1382,6 +1397,7 @@ function createBaseQueryPacketReceiptResponse() {
|
|
|
1382
1397
|
}
|
|
1383
1398
|
export const QueryPacketReceiptResponse = {
|
|
1384
1399
|
typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptResponse",
|
|
1400
|
+
aminoType: "cosmos-sdk/QueryPacketReceiptResponse",
|
|
1385
1401
|
encode(message, writer = BinaryWriter.create()) {
|
|
1386
1402
|
if (message.received === true) {
|
|
1387
1403
|
writer.uint32(16).bool(message.received);
|
|
@@ -1475,6 +1491,7 @@ function createBaseQueryPacketAcknowledgementRequest() {
|
|
|
1475
1491
|
}
|
|
1476
1492
|
export const QueryPacketAcknowledgementRequest = {
|
|
1477
1493
|
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementRequest",
|
|
1494
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementRequest",
|
|
1478
1495
|
encode(message, writer = BinaryWriter.create()) {
|
|
1479
1496
|
if (message.portId !== "") {
|
|
1480
1497
|
writer.uint32(10).string(message.portId);
|
|
@@ -1568,6 +1585,7 @@ function createBaseQueryPacketAcknowledgementResponse() {
|
|
|
1568
1585
|
}
|
|
1569
1586
|
export const QueryPacketAcknowledgementResponse = {
|
|
1570
1587
|
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementResponse",
|
|
1588
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementResponse",
|
|
1571
1589
|
encode(message, writer = BinaryWriter.create()) {
|
|
1572
1590
|
if (message.acknowledgement.length !== 0) {
|
|
1573
1591
|
writer.uint32(10).bytes(message.acknowledgement);
|
|
@@ -1662,6 +1680,7 @@ function createBaseQueryPacketAcknowledgementsRequest() {
|
|
|
1662
1680
|
}
|
|
1663
1681
|
export const QueryPacketAcknowledgementsRequest = {
|
|
1664
1682
|
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest",
|
|
1683
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementsRequest",
|
|
1665
1684
|
encode(message, writer = BinaryWriter.create()) {
|
|
1666
1685
|
if (message.portId !== "") {
|
|
1667
1686
|
writer.uint32(10).string(message.portId);
|
|
@@ -1779,6 +1798,7 @@ function createBaseQueryPacketAcknowledgementsResponse() {
|
|
|
1779
1798
|
}
|
|
1780
1799
|
export const QueryPacketAcknowledgementsResponse = {
|
|
1781
1800
|
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse",
|
|
1801
|
+
aminoType: "cosmos-sdk/QueryPacketAcknowledgementsResponse",
|
|
1782
1802
|
encode(message, writer = BinaryWriter.create()) {
|
|
1783
1803
|
for (const v of message.acknowledgements) {
|
|
1784
1804
|
PacketState.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1875,6 +1895,7 @@ function createBaseQueryUnreceivedPacketsRequest() {
|
|
|
1875
1895
|
}
|
|
1876
1896
|
export const QueryUnreceivedPacketsRequest = {
|
|
1877
1897
|
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsRequest",
|
|
1898
|
+
aminoType: "cosmos-sdk/QueryUnreceivedPacketsRequest",
|
|
1878
1899
|
encode(message, writer = BinaryWriter.create()) {
|
|
1879
1900
|
if (message.portId !== "") {
|
|
1880
1901
|
writer.uint32(10).string(message.portId);
|
|
@@ -1980,6 +2001,7 @@ function createBaseQueryUnreceivedPacketsResponse() {
|
|
|
1980
2001
|
}
|
|
1981
2002
|
export const QueryUnreceivedPacketsResponse = {
|
|
1982
2003
|
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsResponse",
|
|
2004
|
+
aminoType: "cosmos-sdk/QueryUnreceivedPacketsResponse",
|
|
1983
2005
|
encode(message, writer = BinaryWriter.create()) {
|
|
1984
2006
|
writer.uint32(10).fork();
|
|
1985
2007
|
for (const v of message.sequences) {
|
|
@@ -2075,6 +2097,7 @@ function createBaseQueryUnreceivedAcksRequest() {
|
|
|
2075
2097
|
}
|
|
2076
2098
|
export const QueryUnreceivedAcksRequest = {
|
|
2077
2099
|
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksRequest",
|
|
2100
|
+
aminoType: "cosmos-sdk/QueryUnreceivedAcksRequest",
|
|
2078
2101
|
encode(message, writer = BinaryWriter.create()) {
|
|
2079
2102
|
if (message.portId !== "") {
|
|
2080
2103
|
writer.uint32(10).string(message.portId);
|
|
@@ -2180,6 +2203,7 @@ function createBaseQueryUnreceivedAcksResponse() {
|
|
|
2180
2203
|
}
|
|
2181
2204
|
export const QueryUnreceivedAcksResponse = {
|
|
2182
2205
|
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksResponse",
|
|
2206
|
+
aminoType: "cosmos-sdk/QueryUnreceivedAcksResponse",
|
|
2183
2207
|
encode(message, writer = BinaryWriter.create()) {
|
|
2184
2208
|
writer.uint32(10).fork();
|
|
2185
2209
|
for (const v of message.sequences) {
|
|
@@ -2274,6 +2298,7 @@ function createBaseQueryNextSequenceReceiveRequest() {
|
|
|
2274
2298
|
}
|
|
2275
2299
|
export const QueryNextSequenceReceiveRequest = {
|
|
2276
2300
|
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveRequest",
|
|
2301
|
+
aminoType: "cosmos-sdk/QueryNextSequenceReceiveRequest",
|
|
2277
2302
|
encode(message, writer = BinaryWriter.create()) {
|
|
2278
2303
|
if (message.portId !== "") {
|
|
2279
2304
|
writer.uint32(10).string(message.portId);
|
|
@@ -2356,6 +2381,7 @@ function createBaseQueryNextSequenceReceiveResponse() {
|
|
|
2356
2381
|
}
|
|
2357
2382
|
export const QueryNextSequenceReceiveResponse = {
|
|
2358
2383
|
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveResponse",
|
|
2384
|
+
aminoType: "cosmos-sdk/QueryNextSequenceReceiveResponse",
|
|
2359
2385
|
encode(message, writer = BinaryWriter.create()) {
|
|
2360
2386
|
if (message.nextSequenceReceive !== BigInt(0)) {
|
|
2361
2387
|
writer.uint32(8).uint64(message.nextSequenceReceive);
|
|
@@ -2448,6 +2474,7 @@ function createBaseQueryNextSequenceSendRequest() {
|
|
|
2448
2474
|
}
|
|
2449
2475
|
export const QueryNextSequenceSendRequest = {
|
|
2450
2476
|
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceSendRequest",
|
|
2477
|
+
aminoType: "cosmos-sdk/QueryNextSequenceSendRequest",
|
|
2451
2478
|
encode(message, writer = BinaryWriter.create()) {
|
|
2452
2479
|
if (message.portId !== "") {
|
|
2453
2480
|
writer.uint32(10).string(message.portId);
|
|
@@ -2530,6 +2557,7 @@ function createBaseQueryNextSequenceSendResponse() {
|
|
|
2530
2557
|
}
|
|
2531
2558
|
export const QueryNextSequenceSendResponse = {
|
|
2532
2559
|
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceSendResponse",
|
|
2560
|
+
aminoType: "cosmos-sdk/QueryNextSequenceSendResponse",
|
|
2533
2561
|
encode(message, writer = BinaryWriter.create()) {
|
|
2534
2562
|
if (message.nextSequenceSend !== BigInt(0)) {
|
|
2535
2563
|
writer.uint32(8).uint64(message.nextSequenceSend);
|
|
@@ -4,30 +4,16 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.channel = this.channel.bind(this);
|
|
8
|
-
this.channels = this.channels.bind(this);
|
|
9
|
-
this.connectionChannels = this.connectionChannels.bind(this);
|
|
10
|
-
this.channelClientState = this.channelClientState.bind(this);
|
|
11
|
-
this.channelConsensusState = this.channelConsensusState.bind(this);
|
|
12
|
-
this.packetCommitment = this.packetCommitment.bind(this);
|
|
13
|
-
this.packetCommitments = this.packetCommitments.bind(this);
|
|
14
|
-
this.packetReceipt = this.packetReceipt.bind(this);
|
|
15
|
-
this.packetAcknowledgement = this.packetAcknowledgement.bind(this);
|
|
16
|
-
this.packetAcknowledgements = this.packetAcknowledgements.bind(this);
|
|
17
|
-
this.unreceivedPackets = this.unreceivedPackets.bind(this);
|
|
18
|
-
this.unreceivedAcks = this.unreceivedAcks.bind(this);
|
|
19
|
-
this.nextSequenceReceive = this.nextSequenceReceive.bind(this);
|
|
20
|
-
this.nextSequenceSend = this.nextSequenceSend.bind(this);
|
|
21
7
|
}
|
|
22
8
|
/* Channel queries an IBC Channel. */
|
|
23
|
-
async
|
|
9
|
+
channel = async (params) => {
|
|
24
10
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}`;
|
|
25
11
|
return await this.req.get(endpoint);
|
|
26
|
-
}
|
|
12
|
+
};
|
|
27
13
|
/* Channels queries all the IBC channels of a chain. */
|
|
28
|
-
async
|
|
14
|
+
channels = async (params = {
|
|
29
15
|
pagination: undefined
|
|
30
|
-
}) {
|
|
16
|
+
}) => {
|
|
31
17
|
const options = {
|
|
32
18
|
params: {}
|
|
33
19
|
};
|
|
@@ -36,10 +22,10 @@ export class LCDQueryClient {
|
|
|
36
22
|
}
|
|
37
23
|
const endpoint = `ibc/core/channel/v1/channels`;
|
|
38
24
|
return await this.req.get(endpoint, options);
|
|
39
|
-
}
|
|
25
|
+
};
|
|
40
26
|
/* ConnectionChannels queries all the channels associated with a connection
|
|
41
27
|
end. */
|
|
42
|
-
async
|
|
28
|
+
connectionChannels = async (params) => {
|
|
43
29
|
const options = {
|
|
44
30
|
params: {}
|
|
45
31
|
};
|
|
@@ -48,27 +34,27 @@ export class LCDQueryClient {
|
|
|
48
34
|
}
|
|
49
35
|
const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`;
|
|
50
36
|
return await this.req.get(endpoint, options);
|
|
51
|
-
}
|
|
37
|
+
};
|
|
52
38
|
/* ChannelClientState queries for the client state for the channel associated
|
|
53
39
|
with the provided channel identifiers. */
|
|
54
|
-
async
|
|
40
|
+
channelClientState = async (params) => {
|
|
55
41
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`;
|
|
56
42
|
return await this.req.get(endpoint);
|
|
57
|
-
}
|
|
43
|
+
};
|
|
58
44
|
/* ChannelConsensusState queries for the consensus state for the channel
|
|
59
45
|
associated with the provided channel identifiers. */
|
|
60
|
-
async
|
|
46
|
+
channelConsensusState = async (params) => {
|
|
61
47
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}/height/${params.revisionHeight}`;
|
|
62
48
|
return await this.req.get(endpoint);
|
|
63
|
-
}
|
|
49
|
+
};
|
|
64
50
|
/* PacketCommitment queries a stored packet commitment hash. */
|
|
65
|
-
async
|
|
51
|
+
packetCommitment = async (params) => {
|
|
66
52
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.sequence}`;
|
|
67
53
|
return await this.req.get(endpoint);
|
|
68
|
-
}
|
|
54
|
+
};
|
|
69
55
|
/* PacketCommitments returns all the packet commitments hashes associated
|
|
70
56
|
with a channel. */
|
|
71
|
-
async
|
|
57
|
+
packetCommitments = async (params) => {
|
|
72
58
|
const options = {
|
|
73
59
|
params: {}
|
|
74
60
|
};
|
|
@@ -77,21 +63,21 @@ export class LCDQueryClient {
|
|
|
77
63
|
}
|
|
78
64
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`;
|
|
79
65
|
return await this.req.get(endpoint, options);
|
|
80
|
-
}
|
|
66
|
+
};
|
|
81
67
|
/* PacketReceipt queries if a given packet sequence has been received on the
|
|
82
68
|
queried chain */
|
|
83
|
-
async
|
|
69
|
+
packetReceipt = async (params) => {
|
|
84
70
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_receipts/${params.sequence}`;
|
|
85
71
|
return await this.req.get(endpoint);
|
|
86
|
-
}
|
|
72
|
+
};
|
|
87
73
|
/* PacketAcknowledgement queries a stored packet acknowledgement hash. */
|
|
88
|
-
async
|
|
74
|
+
packetAcknowledgement = async (params) => {
|
|
89
75
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acks/${params.sequence}`;
|
|
90
76
|
return await this.req.get(endpoint);
|
|
91
|
-
}
|
|
77
|
+
};
|
|
92
78
|
/* PacketAcknowledgements returns all the packet acknowledgements associated
|
|
93
79
|
with a channel. */
|
|
94
|
-
async
|
|
80
|
+
packetAcknowledgements = async (params) => {
|
|
95
81
|
const options = {
|
|
96
82
|
params: {}
|
|
97
83
|
};
|
|
@@ -103,27 +89,27 @@ export class LCDQueryClient {
|
|
|
103
89
|
}
|
|
104
90
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`;
|
|
105
91
|
return await this.req.get(endpoint, options);
|
|
106
|
-
}
|
|
92
|
+
};
|
|
107
93
|
/* UnreceivedPackets returns all the unreceived IBC packets associated with a
|
|
108
94
|
channel and sequences. */
|
|
109
|
-
async
|
|
95
|
+
unreceivedPackets = async (params) => {
|
|
110
96
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`;
|
|
111
97
|
return await this.req.get(endpoint);
|
|
112
|
-
}
|
|
98
|
+
};
|
|
113
99
|
/* UnreceivedAcks returns all the unreceived IBC acknowledgements associated
|
|
114
100
|
with a channel and sequences. */
|
|
115
|
-
async
|
|
101
|
+
unreceivedAcks = async (params) => {
|
|
116
102
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`;
|
|
117
103
|
return await this.req.get(endpoint);
|
|
118
|
-
}
|
|
104
|
+
};
|
|
119
105
|
/* NextSequenceReceive returns the next receive sequence for a given channel. */
|
|
120
|
-
async
|
|
106
|
+
nextSequenceReceive = async (params) => {
|
|
121
107
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`;
|
|
122
108
|
return await this.req.get(endpoint);
|
|
123
|
-
}
|
|
109
|
+
};
|
|
124
110
|
/* NextSequenceSend returns the next send sequence for a given channel. */
|
|
125
|
-
async
|
|
111
|
+
nextSequenceSend = async (params) => {
|
|
126
112
|
const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence_send`;
|
|
127
113
|
return await this.req.get(endpoint);
|
|
128
|
-
}
|
|
114
|
+
};
|
|
129
115
|
}
|
|
@@ -5,93 +5,101 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.channel = this.channel.bind(this);
|
|
9
|
-
this.channels = this.channels.bind(this);
|
|
10
|
-
this.connectionChannels = this.connectionChannels.bind(this);
|
|
11
|
-
this.channelClientState = this.channelClientState.bind(this);
|
|
12
|
-
this.channelConsensusState = this.channelConsensusState.bind(this);
|
|
13
|
-
this.packetCommitment = this.packetCommitment.bind(this);
|
|
14
|
-
this.packetCommitments = this.packetCommitments.bind(this);
|
|
15
|
-
this.packetReceipt = this.packetReceipt.bind(this);
|
|
16
|
-
this.packetAcknowledgement = this.packetAcknowledgement.bind(this);
|
|
17
|
-
this.packetAcknowledgements = this.packetAcknowledgements.bind(this);
|
|
18
|
-
this.unreceivedPackets = this.unreceivedPackets.bind(this);
|
|
19
|
-
this.unreceivedAcks = this.unreceivedAcks.bind(this);
|
|
20
|
-
this.nextSequenceReceive = this.nextSequenceReceive.bind(this);
|
|
21
|
-
this.nextSequenceSend = this.nextSequenceSend.bind(this);
|
|
22
8
|
}
|
|
23
|
-
|
|
9
|
+
/* Channel queries an IBC Channel. */
|
|
10
|
+
channel = async (request) => {
|
|
24
11
|
const data = QueryChannelRequest.encode(request).finish();
|
|
25
12
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data);
|
|
26
13
|
return promise.then(data => QueryChannelResponse.decode(new BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
channels
|
|
14
|
+
};
|
|
15
|
+
/* Channels queries all the IBC channels of a chain. */
|
|
16
|
+
channels = async (request = {
|
|
29
17
|
pagination: undefined
|
|
30
|
-
}) {
|
|
18
|
+
}) => {
|
|
31
19
|
const data = QueryChannelsRequest.encode(request).finish();
|
|
32
20
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data);
|
|
33
21
|
return promise.then(data => QueryChannelsResponse.decode(new BinaryReader(data)));
|
|
34
|
-
}
|
|
35
|
-
|
|
22
|
+
};
|
|
23
|
+
/* ConnectionChannels queries all the channels associated with a connection
|
|
24
|
+
end. */
|
|
25
|
+
connectionChannels = async (request) => {
|
|
36
26
|
const data = QueryConnectionChannelsRequest.encode(request).finish();
|
|
37
27
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data);
|
|
38
28
|
return promise.then(data => QueryConnectionChannelsResponse.decode(new BinaryReader(data)));
|
|
39
|
-
}
|
|
40
|
-
|
|
29
|
+
};
|
|
30
|
+
/* ChannelClientState queries for the client state for the channel associated
|
|
31
|
+
with the provided channel identifiers. */
|
|
32
|
+
channelClientState = async (request) => {
|
|
41
33
|
const data = QueryChannelClientStateRequest.encode(request).finish();
|
|
42
34
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data);
|
|
43
35
|
return promise.then(data => QueryChannelClientStateResponse.decode(new BinaryReader(data)));
|
|
44
|
-
}
|
|
45
|
-
|
|
36
|
+
};
|
|
37
|
+
/* ChannelConsensusState queries for the consensus state for the channel
|
|
38
|
+
associated with the provided channel identifiers. */
|
|
39
|
+
channelConsensusState = async (request) => {
|
|
46
40
|
const data = QueryChannelConsensusStateRequest.encode(request).finish();
|
|
47
41
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data);
|
|
48
42
|
return promise.then(data => QueryChannelConsensusStateResponse.decode(new BinaryReader(data)));
|
|
49
|
-
}
|
|
50
|
-
|
|
43
|
+
};
|
|
44
|
+
/* PacketCommitment queries a stored packet commitment hash. */
|
|
45
|
+
packetCommitment = async (request) => {
|
|
51
46
|
const data = QueryPacketCommitmentRequest.encode(request).finish();
|
|
52
47
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data);
|
|
53
48
|
return promise.then(data => QueryPacketCommitmentResponse.decode(new BinaryReader(data)));
|
|
54
|
-
}
|
|
55
|
-
|
|
49
|
+
};
|
|
50
|
+
/* PacketCommitments returns all the packet commitments hashes associated
|
|
51
|
+
with a channel. */
|
|
52
|
+
packetCommitments = async (request) => {
|
|
56
53
|
const data = QueryPacketCommitmentsRequest.encode(request).finish();
|
|
57
54
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data);
|
|
58
55
|
return promise.then(data => QueryPacketCommitmentsResponse.decode(new BinaryReader(data)));
|
|
59
|
-
}
|
|
60
|
-
|
|
56
|
+
};
|
|
57
|
+
/* PacketReceipt queries if a given packet sequence has been received on the
|
|
58
|
+
queried chain */
|
|
59
|
+
packetReceipt = async (request) => {
|
|
61
60
|
const data = QueryPacketReceiptRequest.encode(request).finish();
|
|
62
61
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data);
|
|
63
62
|
return promise.then(data => QueryPacketReceiptResponse.decode(new BinaryReader(data)));
|
|
64
|
-
}
|
|
65
|
-
|
|
63
|
+
};
|
|
64
|
+
/* PacketAcknowledgement queries a stored packet acknowledgement hash. */
|
|
65
|
+
packetAcknowledgement = async (request) => {
|
|
66
66
|
const data = QueryPacketAcknowledgementRequest.encode(request).finish();
|
|
67
67
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data);
|
|
68
68
|
return promise.then(data => QueryPacketAcknowledgementResponse.decode(new BinaryReader(data)));
|
|
69
|
-
}
|
|
70
|
-
|
|
69
|
+
};
|
|
70
|
+
/* PacketAcknowledgements returns all the packet acknowledgements associated
|
|
71
|
+
with a channel. */
|
|
72
|
+
packetAcknowledgements = async (request) => {
|
|
71
73
|
const data = QueryPacketAcknowledgementsRequest.encode(request).finish();
|
|
72
74
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data);
|
|
73
75
|
return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new BinaryReader(data)));
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
+
};
|
|
77
|
+
/* UnreceivedPackets returns all the unreceived IBC packets associated with a
|
|
78
|
+
channel and sequences. */
|
|
79
|
+
unreceivedPackets = async (request) => {
|
|
76
80
|
const data = QueryUnreceivedPacketsRequest.encode(request).finish();
|
|
77
81
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data);
|
|
78
82
|
return promise.then(data => QueryUnreceivedPacketsResponse.decode(new BinaryReader(data)));
|
|
79
|
-
}
|
|
80
|
-
|
|
83
|
+
};
|
|
84
|
+
/* UnreceivedAcks returns all the unreceived IBC acknowledgements associated
|
|
85
|
+
with a channel and sequences. */
|
|
86
|
+
unreceivedAcks = async (request) => {
|
|
81
87
|
const data = QueryUnreceivedAcksRequest.encode(request).finish();
|
|
82
88
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data);
|
|
83
89
|
return promise.then(data => QueryUnreceivedAcksResponse.decode(new BinaryReader(data)));
|
|
84
|
-
}
|
|
85
|
-
|
|
90
|
+
};
|
|
91
|
+
/* NextSequenceReceive returns the next receive sequence for a given channel. */
|
|
92
|
+
nextSequenceReceive = async (request) => {
|
|
86
93
|
const data = QueryNextSequenceReceiveRequest.encode(request).finish();
|
|
87
94
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data);
|
|
88
95
|
return promise.then(data => QueryNextSequenceReceiveResponse.decode(new BinaryReader(data)));
|
|
89
|
-
}
|
|
90
|
-
|
|
96
|
+
};
|
|
97
|
+
/* NextSequenceSend returns the next send sequence for a given channel. */
|
|
98
|
+
nextSequenceSend = async (request) => {
|
|
91
99
|
const data = QueryNextSequenceSendRequest.encode(request).finish();
|
|
92
100
|
const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceSend", data);
|
|
93
101
|
return promise.then(data => QueryNextSequenceSendResponse.decode(new BinaryReader(data)));
|
|
94
|
-
}
|
|
102
|
+
};
|
|
95
103
|
}
|
|
96
104
|
export const createRpcQueryExtension = (base) => {
|
|
97
105
|
const rpc = createProtobufRpcClient(base);
|