@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
|
@@ -5,91 +5,116 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.validators = this.validators.bind(this);
|
|
9
|
-
this.validator = this.validator.bind(this);
|
|
10
|
-
this.validatorDelegations = this.validatorDelegations.bind(this);
|
|
11
|
-
this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this);
|
|
12
|
-
this.delegation = this.delegation.bind(this);
|
|
13
|
-
this.unbondingDelegation = this.unbondingDelegation.bind(this);
|
|
14
|
-
this.delegatorDelegations = this.delegatorDelegations.bind(this);
|
|
15
|
-
this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this);
|
|
16
|
-
this.redelegations = this.redelegations.bind(this);
|
|
17
|
-
this.delegatorValidators = this.delegatorValidators.bind(this);
|
|
18
|
-
this.delegatorValidator = this.delegatorValidator.bind(this);
|
|
19
|
-
this.historicalInfo = this.historicalInfo.bind(this);
|
|
20
|
-
this.pool = this.pool.bind(this);
|
|
21
|
-
this.params = this.params.bind(this);
|
|
22
8
|
}
|
|
23
|
-
validators
|
|
9
|
+
/* Validators queries all validators that match the given status.
|
|
10
|
+
|
|
11
|
+
When called from another module, this query might consume a high amount of
|
|
12
|
+
gas if the pagination field is incorrectly set. */
|
|
13
|
+
validators = async (request) => {
|
|
24
14
|
const data = QueryValidatorsRequest.encode(request).finish();
|
|
25
15
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data);
|
|
26
16
|
return promise.then(data => QueryValidatorsResponse.decode(new BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
validator
|
|
17
|
+
};
|
|
18
|
+
/* Validator queries validator info for given validator address. */
|
|
19
|
+
validator = async (request) => {
|
|
29
20
|
const data = QueryValidatorRequest.encode(request).finish();
|
|
30
21
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data);
|
|
31
22
|
return promise.then(data => QueryValidatorResponse.decode(new BinaryReader(data)));
|
|
32
|
-
}
|
|
33
|
-
|
|
23
|
+
};
|
|
24
|
+
/* ValidatorDelegations queries delegate info for given validator.
|
|
25
|
+
|
|
26
|
+
When called from another module, this query might consume a high amount of
|
|
27
|
+
gas if the pagination field is incorrectly set. */
|
|
28
|
+
validatorDelegations = async (request) => {
|
|
34
29
|
const data = QueryValidatorDelegationsRequest.encode(request).finish();
|
|
35
30
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data);
|
|
36
31
|
return promise.then(data => QueryValidatorDelegationsResponse.decode(new BinaryReader(data)));
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
};
|
|
33
|
+
/* ValidatorUnbondingDelegations queries unbonding delegations of a validator.
|
|
34
|
+
|
|
35
|
+
When called from another module, this query might consume a high amount of
|
|
36
|
+
gas if the pagination field is incorrectly set. */
|
|
37
|
+
validatorUnbondingDelegations = async (request) => {
|
|
39
38
|
const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish();
|
|
40
39
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data);
|
|
41
40
|
return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new BinaryReader(data)));
|
|
42
|
-
}
|
|
43
|
-
|
|
41
|
+
};
|
|
42
|
+
/* Delegation queries delegate info for given validator delegator pair. */
|
|
43
|
+
delegation = async (request) => {
|
|
44
44
|
const data = QueryDelegationRequest.encode(request).finish();
|
|
45
45
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data);
|
|
46
46
|
return promise.then(data => QueryDelegationResponse.decode(new BinaryReader(data)));
|
|
47
|
-
}
|
|
48
|
-
|
|
47
|
+
};
|
|
48
|
+
/* UnbondingDelegation queries unbonding info for given validator delegator
|
|
49
|
+
pair. */
|
|
50
|
+
unbondingDelegation = async (request) => {
|
|
49
51
|
const data = QueryUnbondingDelegationRequest.encode(request).finish();
|
|
50
52
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data);
|
|
51
53
|
return promise.then(data => QueryUnbondingDelegationResponse.decode(new BinaryReader(data)));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
+
};
|
|
55
|
+
/* DelegatorDelegations queries all delegations of a given delegator address.
|
|
56
|
+
|
|
57
|
+
When called from another module, this query might consume a high amount of
|
|
58
|
+
gas if the pagination field is incorrectly set. */
|
|
59
|
+
delegatorDelegations = async (request) => {
|
|
54
60
|
const data = QueryDelegatorDelegationsRequest.encode(request).finish();
|
|
55
61
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data);
|
|
56
62
|
return promise.then(data => QueryDelegatorDelegationsResponse.decode(new BinaryReader(data)));
|
|
57
|
-
}
|
|
58
|
-
|
|
63
|
+
};
|
|
64
|
+
/* DelegatorUnbondingDelegations queries all unbonding delegations of a given
|
|
65
|
+
delegator address.
|
|
66
|
+
|
|
67
|
+
When called from another module, this query might consume a high amount of
|
|
68
|
+
gas if the pagination field is incorrectly set. */
|
|
69
|
+
delegatorUnbondingDelegations = async (request) => {
|
|
59
70
|
const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish();
|
|
60
71
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data);
|
|
61
72
|
return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new BinaryReader(data)));
|
|
62
|
-
}
|
|
63
|
-
redelegations
|
|
73
|
+
};
|
|
74
|
+
/* Redelegations queries redelegations of given address.
|
|
75
|
+
|
|
76
|
+
When called from another module, this query might consume a high amount of
|
|
77
|
+
gas if the pagination field is incorrectly set. */
|
|
78
|
+
redelegations = async (request) => {
|
|
64
79
|
const data = QueryRedelegationsRequest.encode(request).finish();
|
|
65
80
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data);
|
|
66
81
|
return promise.then(data => QueryRedelegationsResponse.decode(new BinaryReader(data)));
|
|
67
|
-
}
|
|
68
|
-
|
|
82
|
+
};
|
|
83
|
+
/* DelegatorValidators queries all validators info for given delegator
|
|
84
|
+
address.
|
|
85
|
+
|
|
86
|
+
When called from another module, this query might consume a high amount of
|
|
87
|
+
gas if the pagination field is incorrectly set. */
|
|
88
|
+
delegatorValidators = async (request) => {
|
|
69
89
|
const data = QueryDelegatorValidatorsRequest.encode(request).finish();
|
|
70
90
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data);
|
|
71
91
|
return promise.then(data => QueryDelegatorValidatorsResponse.decode(new BinaryReader(data)));
|
|
72
|
-
}
|
|
73
|
-
|
|
92
|
+
};
|
|
93
|
+
/* DelegatorValidator queries validator info for given delegator validator
|
|
94
|
+
pair. */
|
|
95
|
+
delegatorValidator = async (request) => {
|
|
74
96
|
const data = QueryDelegatorValidatorRequest.encode(request).finish();
|
|
75
97
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data);
|
|
76
98
|
return promise.then(data => QueryDelegatorValidatorResponse.decode(new BinaryReader(data)));
|
|
77
|
-
}
|
|
78
|
-
|
|
99
|
+
};
|
|
100
|
+
/* HistoricalInfo queries the historical info for given height. */
|
|
101
|
+
historicalInfo = async (request) => {
|
|
79
102
|
const data = QueryHistoricalInfoRequest.encode(request).finish();
|
|
80
103
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data);
|
|
81
104
|
return promise.then(data => QueryHistoricalInfoResponse.decode(new BinaryReader(data)));
|
|
82
|
-
}
|
|
83
|
-
pool
|
|
105
|
+
};
|
|
106
|
+
/* Pool queries the pool info. */
|
|
107
|
+
pool = async (request = {}) => {
|
|
84
108
|
const data = QueryPoolRequest.encode(request).finish();
|
|
85
109
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data);
|
|
86
110
|
return promise.then(data => QueryPoolResponse.decode(new BinaryReader(data)));
|
|
87
|
-
}
|
|
88
|
-
|
|
111
|
+
};
|
|
112
|
+
/* Parameters queries the staking parameters. */
|
|
113
|
+
params = async (request = {}) => {
|
|
89
114
|
const data = QueryParamsRequest.encode(request).finish();
|
|
90
115
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data);
|
|
91
116
|
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
92
|
-
}
|
|
117
|
+
};
|
|
93
118
|
}
|
|
94
119
|
export const createRpcQueryExtension = (base) => {
|
|
95
120
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -7,8 +7,8 @@ import { Coin } from "../../base/v1beta1/coin";
|
|
|
7
7
|
import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
8
8
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
9
9
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
10
|
-
import { Decimal } from "@
|
|
11
|
-
import { encodePubkey, decodePubkey } from "@
|
|
10
|
+
import { Decimal } from "@interchainjs/math";
|
|
11
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
12
12
|
/** BondStatus is the status of a validator. */
|
|
13
13
|
export var BondStatus;
|
|
14
14
|
(function (BondStatus) {
|
|
@@ -22,7 +22,6 @@ export var BondStatus;
|
|
|
22
22
|
BondStatus[BondStatus["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
|
23
23
|
BondStatus[BondStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
24
|
})(BondStatus || (BondStatus = {}));
|
|
25
|
-
export const BondStatusSDKType = BondStatus;
|
|
26
25
|
export const BondStatusAmino = BondStatus;
|
|
27
26
|
export function bondStatusFromJSON(object) {
|
|
28
27
|
switch (object) {
|
|
@@ -70,7 +69,6 @@ export var Infraction;
|
|
|
70
69
|
Infraction[Infraction["INFRACTION_DOWNTIME"] = 2] = "INFRACTION_DOWNTIME";
|
|
71
70
|
Infraction[Infraction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
72
71
|
})(Infraction || (Infraction = {}));
|
|
73
|
-
export const InfractionSDKType = Infraction;
|
|
74
72
|
export const InfractionAmino = Infraction;
|
|
75
73
|
export function infractionFromJSON(object) {
|
|
76
74
|
switch (object) {
|
|
@@ -110,6 +108,7 @@ function createBaseHistoricalInfo() {
|
|
|
110
108
|
}
|
|
111
109
|
export const HistoricalInfo = {
|
|
112
110
|
typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
|
|
111
|
+
aminoType: "cosmos-sdk/HistoricalInfo",
|
|
113
112
|
encode(message, writer = BinaryWriter.create()) {
|
|
114
113
|
if (message.header !== undefined) {
|
|
115
114
|
Header.encode(message.header, writer.uint32(10).fork()).ldelim();
|
|
@@ -195,6 +194,7 @@ function createBaseCommissionRates() {
|
|
|
195
194
|
}
|
|
196
195
|
export const CommissionRates = {
|
|
197
196
|
typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
|
|
197
|
+
aminoType: "cosmos-sdk/CommissionRates",
|
|
198
198
|
encode(message, writer = BinaryWriter.create()) {
|
|
199
199
|
if (message.rate !== "") {
|
|
200
200
|
writer.uint32(10).string(Decimal.fromUserInput(message.rate, 18).atomics);
|
|
@@ -287,6 +287,7 @@ function createBaseCommission() {
|
|
|
287
287
|
}
|
|
288
288
|
export const Commission = {
|
|
289
289
|
typeUrl: "/cosmos.staking.v1beta1.Commission",
|
|
290
|
+
aminoType: "cosmos-sdk/Commission",
|
|
290
291
|
encode(message, writer = BinaryWriter.create()) {
|
|
291
292
|
if (message.commissionRates !== undefined) {
|
|
292
293
|
CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim();
|
|
@@ -371,6 +372,7 @@ function createBaseDescription() {
|
|
|
371
372
|
}
|
|
372
373
|
export const Description = {
|
|
373
374
|
typeUrl: "/cosmos.staking.v1beta1.Description",
|
|
375
|
+
aminoType: "cosmos-sdk/Description",
|
|
374
376
|
encode(message, writer = BinaryWriter.create()) {
|
|
375
377
|
if (message.moniker !== "") {
|
|
376
378
|
writer.uint32(10).string(message.moniker);
|
|
@@ -496,6 +498,7 @@ function createBaseValidator() {
|
|
|
496
498
|
}
|
|
497
499
|
export const Validator = {
|
|
498
500
|
typeUrl: "/cosmos.staking.v1beta1.Validator",
|
|
501
|
+
aminoType: "cosmos-sdk/Validator",
|
|
499
502
|
encode(message, writer = BinaryWriter.create()) {
|
|
500
503
|
if (message.operatorAddress !== "") {
|
|
501
504
|
writer.uint32(10).string(message.operatorAddress);
|
|
@@ -710,6 +713,7 @@ function createBaseValAddresses() {
|
|
|
710
713
|
}
|
|
711
714
|
export const ValAddresses = {
|
|
712
715
|
typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
|
|
716
|
+
aminoType: "cosmos-sdk/ValAddresses",
|
|
713
717
|
encode(message, writer = BinaryWriter.create()) {
|
|
714
718
|
for (const v of message.addresses) {
|
|
715
719
|
writer.uint32(10).string(v);
|
|
@@ -783,6 +787,7 @@ function createBaseDVPair() {
|
|
|
783
787
|
}
|
|
784
788
|
export const DVPair = {
|
|
785
789
|
typeUrl: "/cosmos.staking.v1beta1.DVPair",
|
|
790
|
+
aminoType: "cosmos-sdk/DVPair",
|
|
786
791
|
encode(message, writer = BinaryWriter.create()) {
|
|
787
792
|
if (message.delegatorAddress !== "") {
|
|
788
793
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -863,6 +868,7 @@ function createBaseDVPairs() {
|
|
|
863
868
|
}
|
|
864
869
|
export const DVPairs = {
|
|
865
870
|
typeUrl: "/cosmos.staking.v1beta1.DVPairs",
|
|
871
|
+
aminoType: "cosmos-sdk/DVPairs",
|
|
866
872
|
encode(message, writer = BinaryWriter.create()) {
|
|
867
873
|
for (const v of message.pairs) {
|
|
868
874
|
DVPair.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -937,6 +943,7 @@ function createBaseDVVTriplet() {
|
|
|
937
943
|
}
|
|
938
944
|
export const DVVTriplet = {
|
|
939
945
|
typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
|
|
946
|
+
aminoType: "cosmos-sdk/DVVTriplet",
|
|
940
947
|
encode(message, writer = BinaryWriter.create()) {
|
|
941
948
|
if (message.delegatorAddress !== "") {
|
|
942
949
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1028,6 +1035,7 @@ function createBaseDVVTriplets() {
|
|
|
1028
1035
|
}
|
|
1029
1036
|
export const DVVTriplets = {
|
|
1030
1037
|
typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
|
|
1038
|
+
aminoType: "cosmos-sdk/DVVTriplets",
|
|
1031
1039
|
encode(message, writer = BinaryWriter.create()) {
|
|
1032
1040
|
for (const v of message.triplets) {
|
|
1033
1041
|
DVVTriplet.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1102,6 +1110,7 @@ function createBaseDelegation() {
|
|
|
1102
1110
|
}
|
|
1103
1111
|
export const Delegation = {
|
|
1104
1112
|
typeUrl: "/cosmos.staking.v1beta1.Delegation",
|
|
1113
|
+
aminoType: "cosmos-sdk/Delegation",
|
|
1105
1114
|
encode(message, writer = BinaryWriter.create()) {
|
|
1106
1115
|
if (message.delegatorAddress !== "") {
|
|
1107
1116
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1195,6 +1204,7 @@ function createBaseUnbondingDelegation() {
|
|
|
1195
1204
|
}
|
|
1196
1205
|
export const UnbondingDelegation = {
|
|
1197
1206
|
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
|
|
1207
|
+
aminoType: "cosmos-sdk/UnbondingDelegation",
|
|
1198
1208
|
encode(message, writer = BinaryWriter.create()) {
|
|
1199
1209
|
if (message.delegatorAddress !== "") {
|
|
1200
1210
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1294,6 +1304,7 @@ function createBaseUnbondingDelegationEntry() {
|
|
|
1294
1304
|
}
|
|
1295
1305
|
export const UnbondingDelegationEntry = {
|
|
1296
1306
|
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
|
|
1307
|
+
aminoType: "cosmos-sdk/UnbondingDelegationEntry",
|
|
1297
1308
|
encode(message, writer = BinaryWriter.create()) {
|
|
1298
1309
|
if (message.creationHeight !== BigInt(0)) {
|
|
1299
1310
|
writer.uint32(8).int64(message.creationHeight);
|
|
@@ -1423,6 +1434,7 @@ function createBaseRedelegationEntry() {
|
|
|
1423
1434
|
}
|
|
1424
1435
|
export const RedelegationEntry = {
|
|
1425
1436
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
|
|
1437
|
+
aminoType: "cosmos-sdk/RedelegationEntry",
|
|
1426
1438
|
encode(message, writer = BinaryWriter.create()) {
|
|
1427
1439
|
if (message.creationHeight !== BigInt(0)) {
|
|
1428
1440
|
writer.uint32(8).int64(message.creationHeight);
|
|
@@ -1550,6 +1562,7 @@ function createBaseRedelegation() {
|
|
|
1550
1562
|
}
|
|
1551
1563
|
export const Redelegation = {
|
|
1552
1564
|
typeUrl: "/cosmos.staking.v1beta1.Redelegation",
|
|
1565
|
+
aminoType: "cosmos-sdk/Redelegation",
|
|
1553
1566
|
encode(message, writer = BinaryWriter.create()) {
|
|
1554
1567
|
if (message.delegatorAddress !== "") {
|
|
1555
1568
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1660,6 +1673,7 @@ function createBaseParams() {
|
|
|
1660
1673
|
}
|
|
1661
1674
|
export const Params = {
|
|
1662
1675
|
typeUrl: "/cosmos.staking.v1beta1.Params",
|
|
1676
|
+
aminoType: "cosmos-sdk/x/staking/Params",
|
|
1663
1677
|
encode(message, writer = BinaryWriter.create()) {
|
|
1664
1678
|
if (message.unbondingTime !== undefined) {
|
|
1665
1679
|
Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim();
|
|
@@ -1785,6 +1799,7 @@ function createBaseDelegationResponse() {
|
|
|
1785
1799
|
}
|
|
1786
1800
|
export const DelegationResponse = {
|
|
1787
1801
|
typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
|
|
1802
|
+
aminoType: "cosmos-sdk/DelegationResponse",
|
|
1788
1803
|
encode(message, writer = BinaryWriter.create()) {
|
|
1789
1804
|
if (message.delegation !== undefined) {
|
|
1790
1805
|
Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim();
|
|
@@ -1866,6 +1881,7 @@ function createBaseRedelegationEntryResponse() {
|
|
|
1866
1881
|
}
|
|
1867
1882
|
export const RedelegationEntryResponse = {
|
|
1868
1883
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
|
|
1884
|
+
aminoType: "cosmos-sdk/RedelegationEntryResponse",
|
|
1869
1885
|
encode(message, writer = BinaryWriter.create()) {
|
|
1870
1886
|
if (message.redelegationEntry !== undefined) {
|
|
1871
1887
|
RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim();
|
|
@@ -1947,6 +1963,7 @@ function createBaseRedelegationResponse() {
|
|
|
1947
1963
|
}
|
|
1948
1964
|
export const RedelegationResponse = {
|
|
1949
1965
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
|
|
1966
|
+
aminoType: "cosmos-sdk/RedelegationResponse",
|
|
1950
1967
|
encode(message, writer = BinaryWriter.create()) {
|
|
1951
1968
|
if (message.redelegation !== undefined) {
|
|
1952
1969
|
Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim();
|
|
@@ -2031,6 +2048,7 @@ function createBasePool() {
|
|
|
2031
2048
|
}
|
|
2032
2049
|
export const Pool = {
|
|
2033
2050
|
typeUrl: "/cosmos.staking.v1beta1.Pool",
|
|
2051
|
+
aminoType: "cosmos-sdk/Pool",
|
|
2034
2052
|
encode(message, writer = BinaryWriter.create()) {
|
|
2035
2053
|
if (message.notBondedTokens !== "") {
|
|
2036
2054
|
writer.uint32(10).string(message.notBondedTokens);
|
|
@@ -2111,6 +2129,7 @@ function createBaseValidatorUpdates() {
|
|
|
2111
2129
|
}
|
|
2112
2130
|
export const ValidatorUpdates = {
|
|
2113
2131
|
typeUrl: "/cosmos.staking.v1beta1.ValidatorUpdates",
|
|
2132
|
+
aminoType: "cosmos-sdk/ValidatorUpdates",
|
|
2114
2133
|
encode(message, writer = BinaryWriter.create()) {
|
|
2115
2134
|
for (const v of message.updates) {
|
|
2116
2135
|
ValidatorUpdate.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -5,8 +5,8 @@ import { Coin } from "../../base/v1beta1/coin";
|
|
|
5
5
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
6
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
7
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
8
|
-
import { encodePubkey, decodePubkey } from "@
|
|
9
|
-
import { Decimal } from "@
|
|
8
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
9
|
+
import { Decimal } from "@interchainjs/math";
|
|
10
10
|
function createBaseMsgCreateValidator() {
|
|
11
11
|
return {
|
|
12
12
|
description: Description.fromPartial({}),
|
|
@@ -20,6 +20,7 @@ function createBaseMsgCreateValidator() {
|
|
|
20
20
|
}
|
|
21
21
|
export const MsgCreateValidator = {
|
|
22
22
|
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
23
|
+
aminoType: "cosmos-sdk/MsgCreateValidator",
|
|
23
24
|
encode(message, writer = BinaryWriter.create()) {
|
|
24
25
|
if (message.description !== undefined) {
|
|
25
26
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
@@ -153,6 +154,7 @@ function createBaseMsgCreateValidatorResponse() {
|
|
|
153
154
|
}
|
|
154
155
|
export const MsgCreateValidatorResponse = {
|
|
155
156
|
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse",
|
|
157
|
+
aminoType: "cosmos-sdk/MsgCreateValidatorResponse",
|
|
156
158
|
encode(_, writer = BinaryWriter.create()) {
|
|
157
159
|
return writer;
|
|
158
160
|
},
|
|
@@ -214,6 +216,7 @@ function createBaseMsgEditValidator() {
|
|
|
214
216
|
}
|
|
215
217
|
export const MsgEditValidator = {
|
|
216
218
|
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
219
|
+
aminoType: "cosmos-sdk/MsgEditValidator",
|
|
217
220
|
encode(message, writer = BinaryWriter.create()) {
|
|
218
221
|
if (message.description !== undefined) {
|
|
219
222
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
@@ -314,6 +317,7 @@ function createBaseMsgEditValidatorResponse() {
|
|
|
314
317
|
}
|
|
315
318
|
export const MsgEditValidatorResponse = {
|
|
316
319
|
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse",
|
|
320
|
+
aminoType: "cosmos-sdk/MsgEditValidatorResponse",
|
|
317
321
|
encode(_, writer = BinaryWriter.create()) {
|
|
318
322
|
return writer;
|
|
319
323
|
},
|
|
@@ -374,6 +378,7 @@ function createBaseMsgDelegate() {
|
|
|
374
378
|
}
|
|
375
379
|
export const MsgDelegate = {
|
|
376
380
|
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
381
|
+
aminoType: "cosmos-sdk/MsgDelegate",
|
|
377
382
|
encode(message, writer = BinaryWriter.create()) {
|
|
378
383
|
if (message.delegatorAddress !== "") {
|
|
379
384
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -463,6 +468,7 @@ function createBaseMsgDelegateResponse() {
|
|
|
463
468
|
}
|
|
464
469
|
export const MsgDelegateResponse = {
|
|
465
470
|
typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse",
|
|
471
|
+
aminoType: "cosmos-sdk/MsgDelegateResponse",
|
|
466
472
|
encode(_, writer = BinaryWriter.create()) {
|
|
467
473
|
return writer;
|
|
468
474
|
},
|
|
@@ -524,6 +530,7 @@ function createBaseMsgBeginRedelegate() {
|
|
|
524
530
|
}
|
|
525
531
|
export const MsgBeginRedelegate = {
|
|
526
532
|
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
533
|
+
aminoType: "cosmos-sdk/MsgBeginRedelegate",
|
|
527
534
|
encode(message, writer = BinaryWriter.create()) {
|
|
528
535
|
if (message.delegatorAddress !== "") {
|
|
529
536
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -626,6 +633,7 @@ function createBaseMsgBeginRedelegateResponse() {
|
|
|
626
633
|
}
|
|
627
634
|
export const MsgBeginRedelegateResponse = {
|
|
628
635
|
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse",
|
|
636
|
+
aminoType: "cosmos-sdk/MsgBeginRedelegateResponse",
|
|
629
637
|
encode(message, writer = BinaryWriter.create()) {
|
|
630
638
|
if (message.completionTime !== undefined) {
|
|
631
639
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
@@ -697,6 +705,7 @@ function createBaseMsgUndelegate() {
|
|
|
697
705
|
}
|
|
698
706
|
export const MsgUndelegate = {
|
|
699
707
|
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
708
|
+
aminoType: "cosmos-sdk/MsgUndelegate",
|
|
700
709
|
encode(message, writer = BinaryWriter.create()) {
|
|
701
710
|
if (message.delegatorAddress !== "") {
|
|
702
711
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -789,6 +798,7 @@ function createBaseMsgUndelegateResponse() {
|
|
|
789
798
|
}
|
|
790
799
|
export const MsgUndelegateResponse = {
|
|
791
800
|
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse",
|
|
801
|
+
aminoType: "cosmos-sdk/MsgUndelegateResponse",
|
|
792
802
|
encode(message, writer = BinaryWriter.create()) {
|
|
793
803
|
if (message.completionTime !== undefined) {
|
|
794
804
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
@@ -872,6 +882,7 @@ function createBaseMsgCancelUnbondingDelegation() {
|
|
|
872
882
|
}
|
|
873
883
|
export const MsgCancelUnbondingDelegation = {
|
|
874
884
|
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
|
|
885
|
+
aminoType: "cosmos-sdk/MsgCancelUnbondingDelegation",
|
|
875
886
|
encode(message, writer = BinaryWriter.create()) {
|
|
876
887
|
if (message.delegatorAddress !== "") {
|
|
877
888
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -972,6 +983,7 @@ function createBaseMsgCancelUnbondingDelegationResponse() {
|
|
|
972
983
|
}
|
|
973
984
|
export const MsgCancelUnbondingDelegationResponse = {
|
|
974
985
|
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse",
|
|
986
|
+
aminoType: "cosmos-sdk/MsgCancelUnbondingDelegationResponse",
|
|
975
987
|
encode(_, writer = BinaryWriter.create()) {
|
|
976
988
|
return writer;
|
|
977
989
|
},
|
|
@@ -1031,6 +1043,7 @@ function createBaseMsgUpdateParams() {
|
|
|
1031
1043
|
}
|
|
1032
1044
|
export const MsgUpdateParams = {
|
|
1033
1045
|
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
|
|
1046
|
+
aminoType: "cosmos-sdk/x/staking/MsgUpdateParams",
|
|
1034
1047
|
encode(message, writer = BinaryWriter.create()) {
|
|
1035
1048
|
if (message.authority !== "") {
|
|
1036
1049
|
writer.uint32(10).string(message.authority);
|
|
@@ -1109,6 +1122,7 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
1109
1122
|
}
|
|
1110
1123
|
export const MsgUpdateParamsResponse = {
|
|
1111
1124
|
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParamsResponse",
|
|
1125
|
+
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
1112
1126
|
encode(_, writer = BinaryWriter.create()) {
|
|
1113
1127
|
return writer;
|
|
1114
1128
|
},
|
|
@@ -4,47 +4,58 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.createValidator = this.createValidator.bind(this);
|
|
8
|
-
this.editValidator = this.editValidator.bind(this);
|
|
9
|
-
this.delegate = this.delegate.bind(this);
|
|
10
|
-
this.beginRedelegate = this.beginRedelegate.bind(this);
|
|
11
|
-
this.undelegate = this.undelegate.bind(this);
|
|
12
|
-
this.cancelUnbondingDelegation = this.cancelUnbondingDelegation.bind(this);
|
|
13
|
-
this.updateParams = this.updateParams.bind(this);
|
|
14
7
|
}
|
|
15
|
-
|
|
8
|
+
/* CreateValidator defines a method for creating a new validator. */
|
|
9
|
+
createValidator = async (request) => {
|
|
16
10
|
const data = MsgCreateValidator.encode(request).finish();
|
|
17
11
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data);
|
|
18
12
|
return promise.then(data => MsgCreateValidatorResponse.decode(new BinaryReader(data)));
|
|
19
|
-
}
|
|
20
|
-
|
|
13
|
+
};
|
|
14
|
+
/* EditValidator defines a method for editing an existing validator. */
|
|
15
|
+
editValidator = async (request) => {
|
|
21
16
|
const data = MsgEditValidator.encode(request).finish();
|
|
22
17
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data);
|
|
23
18
|
return promise.then(data => MsgEditValidatorResponse.decode(new BinaryReader(data)));
|
|
24
|
-
}
|
|
25
|
-
|
|
19
|
+
};
|
|
20
|
+
/* Delegate defines a method for performing a delegation of coins
|
|
21
|
+
from a delegator to a validator. */
|
|
22
|
+
delegate = async (request) => {
|
|
26
23
|
const data = MsgDelegate.encode(request).finish();
|
|
27
24
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data);
|
|
28
25
|
return promise.then(data => MsgDelegateResponse.decode(new BinaryReader(data)));
|
|
29
|
-
}
|
|
30
|
-
|
|
26
|
+
};
|
|
27
|
+
/* BeginRedelegate defines a method for performing a redelegation
|
|
28
|
+
of coins from a delegator and source validator to a destination validator. */
|
|
29
|
+
beginRedelegate = async (request) => {
|
|
31
30
|
const data = MsgBeginRedelegate.encode(request).finish();
|
|
32
31
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data);
|
|
33
32
|
return promise.then(data => MsgBeginRedelegateResponse.decode(new BinaryReader(data)));
|
|
34
|
-
}
|
|
35
|
-
|
|
33
|
+
};
|
|
34
|
+
/* Undelegate defines a method for performing an undelegation from a
|
|
35
|
+
delegate and a validator. */
|
|
36
|
+
undelegate = async (request) => {
|
|
36
37
|
const data = MsgUndelegate.encode(request).finish();
|
|
37
38
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data);
|
|
38
39
|
return promise.then(data => MsgUndelegateResponse.decode(new BinaryReader(data)));
|
|
39
|
-
}
|
|
40
|
-
|
|
40
|
+
};
|
|
41
|
+
/* CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation
|
|
42
|
+
and delegate back to previous validator.
|
|
43
|
+
|
|
44
|
+
Since: cosmos-sdk 0.46 */
|
|
45
|
+
cancelUnbondingDelegation = async (request) => {
|
|
41
46
|
const data = MsgCancelUnbondingDelegation.encode(request).finish();
|
|
42
47
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CancelUnbondingDelegation", data);
|
|
43
48
|
return promise.then(data => MsgCancelUnbondingDelegationResponse.decode(new BinaryReader(data)));
|
|
44
|
-
}
|
|
45
|
-
|
|
49
|
+
};
|
|
50
|
+
/* UpdateParams defines an operation for updating the x/staking module
|
|
51
|
+
parameters.
|
|
52
|
+
Since: cosmos-sdk 0.47 */
|
|
53
|
+
updateParams = async (request) => {
|
|
46
54
|
const data = MsgUpdateParams.encode(request).finish();
|
|
47
55
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "UpdateParams", data);
|
|
48
56
|
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
49
|
-
}
|
|
57
|
+
};
|
|
50
58
|
}
|
|
59
|
+
export const createClientImpl = (rpc) => {
|
|
60
|
+
return new MsgClientImpl(rpc);
|
|
61
|
+
};
|
|
@@ -8,6 +8,7 @@ function createBasePairs() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Pairs = {
|
|
10
10
|
typeUrl: "/cosmos.store.internal.kv.v1beta1.Pairs",
|
|
11
|
+
aminoType: "cosmos-sdk/Pairs",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
for (const v of message.pairs) {
|
|
13
14
|
Pair.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -81,6 +82,7 @@ function createBasePair() {
|
|
|
81
82
|
}
|
|
82
83
|
export const Pair = {
|
|
83
84
|
typeUrl: "/cosmos.store.internal.kv.v1beta1.Pair",
|
|
85
|
+
aminoType: "cosmos-sdk/Pair",
|
|
84
86
|
encode(message, writer = BinaryWriter.create()) {
|
|
85
87
|
if (message.key.length !== 0) {
|
|
86
88
|
writer.uint32(10).bytes(message.key);
|
|
@@ -12,6 +12,7 @@ function createBaseSnapshot() {
|
|
|
12
12
|
}
|
|
13
13
|
export const Snapshot = {
|
|
14
14
|
typeUrl: "/cosmos.store.snapshots.v1.Snapshot",
|
|
15
|
+
aminoType: "cosmos-sdk/Snapshot",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.height !== BigInt(0)) {
|
|
17
18
|
writer.uint32(8).uint64(message.height);
|
|
@@ -125,6 +126,7 @@ function createBaseMetadata() {
|
|
|
125
126
|
}
|
|
126
127
|
export const Metadata = {
|
|
127
128
|
typeUrl: "/cosmos.store.snapshots.v1.Metadata",
|
|
129
|
+
aminoType: "cosmos-sdk/Metadata",
|
|
128
130
|
encode(message, writer = BinaryWriter.create()) {
|
|
129
131
|
for (const v of message.chunkHashes) {
|
|
130
132
|
writer.uint32(10).bytes(v);
|
|
@@ -200,6 +202,7 @@ function createBaseSnapshotItem() {
|
|
|
200
202
|
}
|
|
201
203
|
export const SnapshotItem = {
|
|
202
204
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotItem",
|
|
205
|
+
aminoType: "cosmos-sdk/SnapshotItem",
|
|
203
206
|
encode(message, writer = BinaryWriter.create()) {
|
|
204
207
|
if (message.store !== undefined) {
|
|
205
208
|
SnapshotStoreItem.encode(message.store, writer.uint32(10).fork()).ldelim();
|
|
@@ -302,6 +305,7 @@ function createBaseSnapshotStoreItem() {
|
|
|
302
305
|
}
|
|
303
306
|
export const SnapshotStoreItem = {
|
|
304
307
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotStoreItem",
|
|
308
|
+
aminoType: "cosmos-sdk/SnapshotStoreItem",
|
|
305
309
|
encode(message, writer = BinaryWriter.create()) {
|
|
306
310
|
if (message.name !== "") {
|
|
307
311
|
writer.uint32(10).string(message.name);
|
|
@@ -374,6 +378,7 @@ function createBaseSnapshotIAVLItem() {
|
|
|
374
378
|
}
|
|
375
379
|
export const SnapshotIAVLItem = {
|
|
376
380
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotIAVLItem",
|
|
381
|
+
aminoType: "cosmos-sdk/SnapshotIAVLItem",
|
|
377
382
|
encode(message, writer = BinaryWriter.create()) {
|
|
378
383
|
if (message.key.length !== 0) {
|
|
379
384
|
writer.uint32(10).bytes(message.key);
|
|
@@ -477,6 +482,7 @@ function createBaseSnapshotExtensionMeta() {
|
|
|
477
482
|
}
|
|
478
483
|
export const SnapshotExtensionMeta = {
|
|
479
484
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotExtensionMeta",
|
|
485
|
+
aminoType: "cosmos-sdk/SnapshotExtensionMeta",
|
|
480
486
|
encode(message, writer = BinaryWriter.create()) {
|
|
481
487
|
if (message.name !== "") {
|
|
482
488
|
writer.uint32(10).string(message.name);
|
|
@@ -557,6 +563,7 @@ function createBaseSnapshotExtensionPayload() {
|
|
|
557
563
|
}
|
|
558
564
|
export const SnapshotExtensionPayload = {
|
|
559
565
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotExtensionPayload",
|
|
566
|
+
aminoType: "cosmos-sdk/SnapshotExtensionPayload",
|
|
560
567
|
encode(message, writer = BinaryWriter.create()) {
|
|
561
568
|
if (message.payload.length !== 0) {
|
|
562
569
|
writer.uint32(10).bytes(message.payload);
|
|
@@ -10,6 +10,7 @@ function createBaseListenFinalizeBlockRequest() {
|
|
|
10
10
|
}
|
|
11
11
|
export const ListenFinalizeBlockRequest = {
|
|
12
12
|
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockRequest",
|
|
13
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockRequest",
|
|
13
14
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
15
|
if (message.req !== undefined) {
|
|
15
16
|
RequestFinalizeBlock.encode(message.req, writer.uint32(10).fork()).ldelim();
|
|
@@ -88,6 +89,7 @@ function createBaseListenFinalizeBlockResponse() {
|
|
|
88
89
|
}
|
|
89
90
|
export const ListenFinalizeBlockResponse = {
|
|
90
91
|
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockResponse",
|
|
92
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockResponse",
|
|
91
93
|
encode(_, writer = BinaryWriter.create()) {
|
|
92
94
|
return writer;
|
|
93
95
|
},
|
|
@@ -148,6 +150,7 @@ function createBaseListenCommitRequest() {
|
|
|
148
150
|
}
|
|
149
151
|
export const ListenCommitRequest = {
|
|
150
152
|
typeUrl: "/cosmos.store.streaming.abci.ListenCommitRequest",
|
|
153
|
+
aminoType: "cosmos-sdk/ListenCommitRequest",
|
|
151
154
|
encode(message, writer = BinaryWriter.create()) {
|
|
152
155
|
if (message.blockHeight !== BigInt(0)) {
|
|
153
156
|
writer.uint32(8).int64(message.blockHeight);
|
|
@@ -240,6 +243,7 @@ function createBaseListenCommitResponse() {
|
|
|
240
243
|
}
|
|
241
244
|
export const ListenCommitResponse = {
|
|
242
245
|
typeUrl: "/cosmos.store.streaming.abci.ListenCommitResponse",
|
|
246
|
+
aminoType: "cosmos-sdk/ListenCommitResponse",
|
|
243
247
|
encode(_, writer = BinaryWriter.create()) {
|
|
244
248
|
return writer;
|
|
245
249
|
},
|