@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +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.registry.d.ts +0 -23
- package/cosmos/auth/v1beta1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -47
- package/cosmos/authz/v1beta1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -59
- package/cosmos/bank/v1beta1/tx.registry.js +1 -87
- 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.registry.d.ts +0 -23
- package/cosmos/benchmark/v1/tx.registry.js +1 -33
- 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 +675 -980
- 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.registry.d.ts +0 -47
- package/cosmos/circuit/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -23
- package/cosmos/consensus/v1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -23
- package/cosmos/counter/v1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -95
- package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -47
- package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -95
- package/cosmos/gov/v1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -59
- package/cosmos/gov/v1beta1/tx.registry.js +1 -87
- 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.registry.d.ts +0 -179
- package/cosmos/group/v1/tx.registry.js +1 -267
- 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.registry.d.ts +0 -23
- package/cosmos/mint/v1beta1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -71
- package/cosmos/protocolpool/v1/tx.registry.js +1 -105
- 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.registry.d.ts +0 -95
- package/cosmos/staking/v1beta1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -35
- package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
- 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.registry.d.ts +0 -47
- package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
- 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.registry.js +0 -31
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.registry.js +0 -31
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.registry.js +0 -139
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.registry.js +0 -265
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +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.registry.js +0 -67
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.registry.js +0 -157
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.registry.js +0 -49
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.registry.js +0 -85
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/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.registry.d.ts +0 -47
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -35
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
- 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.registry.d.ts +0 -35
- package/ibc/applications/transfer/v1/tx.registry.js +1 -51
- 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 -557
- 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.registry.d.ts +0 -131
- package/ibc/core/channel/v1/tx.registry.js +1 -195
- 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.registry.d.ts +0 -59
- package/ibc/core/channel/v2/tx.registry.js +1 -87
- 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.registry.d.ts +0 -107
- package/ibc/core/client/v1/tx.registry.js +1 -159
- 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.registry.d.ts +0 -35
- package/ibc/core/client/v2/tx.registry.js +1 -51
- 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.registry.d.ts +0 -71
- package/ibc/core/connection/v1/tx.registry.js +1 -105
- 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.registry.d.ts +0 -47
- package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -59
- package/sparkdream/blog/tx.registry.js +1 -87
- 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 -78
- 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.registry.d.ts +0 -23
- package/sparkdream/sparkdream/tx.registry.js +1 -33
- 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,25 +5,27 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.allowance = this.allowance.bind(this);
|
|
9
|
-
this.allowances = this.allowances.bind(this);
|
|
10
|
-
this.allowancesByGranter = this.allowancesByGranter.bind(this);
|
|
11
8
|
}
|
|
12
|
-
|
|
9
|
+
/* Allowance returns granted allwance to the grantee by the granter. */
|
|
10
|
+
allowance = async (request) => {
|
|
13
11
|
const data = QueryAllowanceRequest.encode(request).finish();
|
|
14
12
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data);
|
|
15
13
|
return promise.then(data => QueryAllowanceResponse.decode(new BinaryReader(data)));
|
|
16
|
-
}
|
|
17
|
-
|
|
14
|
+
};
|
|
15
|
+
/* Allowances returns all the grants for the given grantee address. */
|
|
16
|
+
allowances = async (request) => {
|
|
18
17
|
const data = QueryAllowancesRequest.encode(request).finish();
|
|
19
18
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data);
|
|
20
19
|
return promise.then(data => QueryAllowancesResponse.decode(new BinaryReader(data)));
|
|
21
|
-
}
|
|
22
|
-
|
|
20
|
+
};
|
|
21
|
+
/* AllowancesByGranter returns all the grants given by an address
|
|
22
|
+
|
|
23
|
+
Since: cosmos-sdk 0.46 */
|
|
24
|
+
allowancesByGranter = async (request) => {
|
|
23
25
|
const data = QueryAllowancesByGranterRequest.encode(request).finish();
|
|
24
26
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data);
|
|
25
27
|
return promise.then(data => QueryAllowancesByGranterResponse.decode(new BinaryReader(data)));
|
|
26
|
-
}
|
|
28
|
+
};
|
|
27
29
|
}
|
|
28
30
|
export const createRpcQueryExtension = (base) => {
|
|
29
31
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -11,6 +11,7 @@ function createBaseMsgGrantAllowance() {
|
|
|
11
11
|
}
|
|
12
12
|
export const MsgGrantAllowance = {
|
|
13
13
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
14
|
+
aminoType: "cosmos-sdk/MsgGrantAllowance",
|
|
14
15
|
encode(message, writer = BinaryWriter.create()) {
|
|
15
16
|
if (message.granter !== "") {
|
|
16
17
|
writer.uint32(10).string(message.granter);
|
|
@@ -100,6 +101,7 @@ function createBaseMsgGrantAllowanceResponse() {
|
|
|
100
101
|
}
|
|
101
102
|
export const MsgGrantAllowanceResponse = {
|
|
102
103
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse",
|
|
104
|
+
aminoType: "cosmos-sdk/MsgGrantAllowanceResponse",
|
|
103
105
|
encode(_, writer = BinaryWriter.create()) {
|
|
104
106
|
return writer;
|
|
105
107
|
},
|
|
@@ -159,6 +161,7 @@ function createBaseMsgRevokeAllowance() {
|
|
|
159
161
|
}
|
|
160
162
|
export const MsgRevokeAllowance = {
|
|
161
163
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
164
|
+
aminoType: "cosmos-sdk/MsgRevokeAllowance",
|
|
162
165
|
encode(message, writer = BinaryWriter.create()) {
|
|
163
166
|
if (message.granter !== "") {
|
|
164
167
|
writer.uint32(10).string(message.granter);
|
|
@@ -237,6 +240,7 @@ function createBaseMsgRevokeAllowanceResponse() {
|
|
|
237
240
|
}
|
|
238
241
|
export const MsgRevokeAllowanceResponse = {
|
|
239
242
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse",
|
|
243
|
+
aminoType: "cosmos-sdk/MsgRevokeAllowanceResponse",
|
|
240
244
|
encode(_, writer = BinaryWriter.create()) {
|
|
241
245
|
return writer;
|
|
242
246
|
},
|
|
@@ -295,6 +299,7 @@ function createBaseMsgPruneAllowances() {
|
|
|
295
299
|
}
|
|
296
300
|
export const MsgPruneAllowances = {
|
|
297
301
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
302
|
+
aminoType: "cosmos-sdk/MsgPruneAllowances",
|
|
298
303
|
encode(message, writer = BinaryWriter.create()) {
|
|
299
304
|
if (message.pruner !== "") {
|
|
300
305
|
writer.uint32(10).string(message.pruner);
|
|
@@ -362,6 +367,7 @@ function createBaseMsgPruneAllowancesResponse() {
|
|
|
362
367
|
}
|
|
363
368
|
export const MsgPruneAllowancesResponse = {
|
|
364
369
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse",
|
|
370
|
+
aminoType: "cosmos-sdk/MsgPruneAllowancesResponse",
|
|
365
371
|
encode(_, writer = BinaryWriter.create()) {
|
|
366
372
|
return writer;
|
|
367
373
|
},
|
|
@@ -1,69 +1,2 @@
|
|
|
1
1
|
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
2
2
|
export const registry = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", MsgRevokeAllowance], ["/cosmos.feegrant.v1beta1.MsgPruneAllowances", MsgPruneAllowances]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
grantAllowance(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
13
|
-
value: MsgGrantAllowance.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
revokeAllowance(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
19
|
-
value: MsgRevokeAllowance.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
pruneAllowances(value) {
|
|
23
|
-
return {
|
|
24
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
25
|
-
value: MsgPruneAllowances.encode(value).finish()
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
withTypeUrl: {
|
|
30
|
-
grantAllowance(value) {
|
|
31
|
-
return {
|
|
32
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
33
|
-
value
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
revokeAllowance(value) {
|
|
37
|
-
return {
|
|
38
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
39
|
-
value
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
pruneAllowances(value) {
|
|
43
|
-
return {
|
|
44
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
45
|
-
value
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
fromPartial: {
|
|
50
|
-
grantAllowance(value) {
|
|
51
|
-
return {
|
|
52
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
53
|
-
value: MsgGrantAllowance.fromPartial(value)
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
revokeAllowance(value) {
|
|
57
|
-
return {
|
|
58
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
59
|
-
value: MsgRevokeAllowance.fromPartial(value)
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
pruneAllowances(value) {
|
|
63
|
-
return {
|
|
64
|
-
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
65
|
-
value: MsgPruneAllowances.fromPartial(value)
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
@@ -4,23 +4,30 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.grantAllowance = this.grantAllowance.bind(this);
|
|
8
|
-
this.revokeAllowance = this.revokeAllowance.bind(this);
|
|
9
|
-
this.pruneAllowances = this.pruneAllowances.bind(this);
|
|
10
7
|
}
|
|
11
|
-
|
|
8
|
+
/* GrantAllowance grants fee allowance to the grantee on the granter's
|
|
9
|
+
account with the provided expiration time. */
|
|
10
|
+
grantAllowance = async (request) => {
|
|
12
11
|
const data = MsgGrantAllowance.encode(request).finish();
|
|
13
12
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data);
|
|
14
13
|
return promise.then(data => MsgGrantAllowanceResponse.decode(new BinaryReader(data)));
|
|
15
|
-
}
|
|
16
|
-
|
|
14
|
+
};
|
|
15
|
+
/* RevokeAllowance revokes any fee allowance of granter's account that
|
|
16
|
+
has been granted to the grantee. */
|
|
17
|
+
revokeAllowance = async (request) => {
|
|
17
18
|
const data = MsgRevokeAllowance.encode(request).finish();
|
|
18
19
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data);
|
|
19
20
|
return promise.then(data => MsgRevokeAllowanceResponse.decode(new BinaryReader(data)));
|
|
20
|
-
}
|
|
21
|
-
|
|
21
|
+
};
|
|
22
|
+
/* PruneAllowances prunes expired fee allowances, currently up to 75 at a time.
|
|
23
|
+
|
|
24
|
+
Since cosmos-sdk 0.50 */
|
|
25
|
+
pruneAllowances = async (request) => {
|
|
22
26
|
const data = MsgPruneAllowances.encode(request).finish();
|
|
23
27
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "PruneAllowances", data);
|
|
24
28
|
return promise.then(data => MsgPruneAllowancesResponse.decode(new BinaryReader(data)));
|
|
25
|
-
}
|
|
29
|
+
};
|
|
26
30
|
}
|
|
31
|
+
export const createClientImpl = (rpc) => {
|
|
32
|
+
return new MsgClientImpl(rpc);
|
|
33
|
+
};
|
|
@@ -8,6 +8,7 @@ function createBaseModule() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Module = {
|
|
10
10
|
typeUrl: "/cosmos.gov.module.v1.Module",
|
|
11
|
+
aminoType: "cosmos-sdk/Module",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.maxMetadataLen !== BigInt(0)) {
|
|
13
14
|
writer.uint32(8).uint64(message.maxMetadataLen);
|
|
@@ -16,6 +16,7 @@ function createBaseGenesisState() {
|
|
|
16
16
|
}
|
|
17
17
|
export const GenesisState = {
|
|
18
18
|
typeUrl: "/cosmos.gov.v1.GenesisState",
|
|
19
|
+
aminoType: "cosmos-sdk/v1/GenesisState",
|
|
19
20
|
encode(message, writer = BinaryWriter.create()) {
|
|
20
21
|
if (message.startingProposalId !== BigInt(0)) {
|
|
21
22
|
writer.uint32(8).uint64(message.startingProposalId);
|
package/esm/cosmos/gov/v1/gov.js
CHANGED
|
@@ -20,7 +20,6 @@ export var VoteOption;
|
|
|
20
20
|
VoteOption[VoteOption["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
|
|
21
21
|
VoteOption[VoteOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
22
|
})(VoteOption || (VoteOption = {}));
|
|
23
|
-
export const VoteOptionSDKType = VoteOption;
|
|
24
23
|
export const VoteOptionAmino = VoteOption;
|
|
25
24
|
export function voteOptionFromJSON(object) {
|
|
26
25
|
switch (object) {
|
|
@@ -94,7 +93,6 @@ export var ProposalStatus;
|
|
|
94
93
|
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_FAILED"] = 5] = "PROPOSAL_STATUS_FAILED";
|
|
95
94
|
ProposalStatus[ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
96
95
|
})(ProposalStatus || (ProposalStatus = {}));
|
|
97
|
-
export const ProposalStatusSDKType = ProposalStatus;
|
|
98
96
|
export const ProposalStatusAmino = ProposalStatus;
|
|
99
97
|
export function proposalStatusFromJSON(object) {
|
|
100
98
|
switch (object) {
|
|
@@ -149,6 +147,7 @@ function createBaseWeightedVoteOption() {
|
|
|
149
147
|
}
|
|
150
148
|
export const WeightedVoteOption = {
|
|
151
149
|
typeUrl: "/cosmos.gov.v1.WeightedVoteOption",
|
|
150
|
+
aminoType: "cosmos-sdk/v1/WeightedVoteOption",
|
|
152
151
|
encode(message, writer = BinaryWriter.create()) {
|
|
153
152
|
if (message.option !== 0) {
|
|
154
153
|
writer.uint32(8).int32(message.option);
|
|
@@ -231,6 +230,7 @@ function createBaseDeposit() {
|
|
|
231
230
|
}
|
|
232
231
|
export const Deposit = {
|
|
233
232
|
typeUrl: "/cosmos.gov.v1.Deposit",
|
|
233
|
+
aminoType: "cosmos-sdk/v1/Deposit",
|
|
234
234
|
encode(message, writer = BinaryWriter.create()) {
|
|
235
235
|
if (message.proposalId !== BigInt(0)) {
|
|
236
236
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -339,6 +339,7 @@ function createBaseProposal() {
|
|
|
339
339
|
}
|
|
340
340
|
export const Proposal = {
|
|
341
341
|
typeUrl: "/cosmos.gov.v1.Proposal",
|
|
342
|
+
aminoType: "cosmos-sdk/v1/Proposal",
|
|
342
343
|
encode(message, writer = BinaryWriter.create()) {
|
|
343
344
|
if (message.id !== BigInt(0)) {
|
|
344
345
|
writer.uint32(8).uint64(message.id);
|
|
@@ -571,6 +572,7 @@ function createBaseTallyResult() {
|
|
|
571
572
|
}
|
|
572
573
|
export const TallyResult = {
|
|
573
574
|
typeUrl: "/cosmos.gov.v1.TallyResult",
|
|
575
|
+
aminoType: "cosmos-sdk/v1/TallyResult",
|
|
574
576
|
encode(message, writer = BinaryWriter.create()) {
|
|
575
577
|
if (message.yesCount !== "") {
|
|
576
578
|
writer.uint32(10).string(message.yesCount);
|
|
@@ -676,6 +678,7 @@ function createBaseVote() {
|
|
|
676
678
|
}
|
|
677
679
|
export const Vote = {
|
|
678
680
|
typeUrl: "/cosmos.gov.v1.Vote",
|
|
681
|
+
aminoType: "cosmos-sdk/v1/Vote",
|
|
679
682
|
encode(message, writer = BinaryWriter.create()) {
|
|
680
683
|
if (message.proposalId !== BigInt(0)) {
|
|
681
684
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -782,6 +785,7 @@ function createBaseDepositParams() {
|
|
|
782
785
|
}
|
|
783
786
|
export const DepositParams = {
|
|
784
787
|
typeUrl: "/cosmos.gov.v1.DepositParams",
|
|
788
|
+
aminoType: "cosmos-sdk/v1/DepositParams",
|
|
785
789
|
encode(message, writer = BinaryWriter.create()) {
|
|
786
790
|
for (const v of message.minDeposit) {
|
|
787
791
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -865,6 +869,7 @@ function createBaseVotingParams() {
|
|
|
865
869
|
}
|
|
866
870
|
export const VotingParams = {
|
|
867
871
|
typeUrl: "/cosmos.gov.v1.VotingParams",
|
|
872
|
+
aminoType: "cosmos-sdk/v1/VotingParams",
|
|
868
873
|
encode(message, writer = BinaryWriter.create()) {
|
|
869
874
|
if (message.votingPeriod !== undefined) {
|
|
870
875
|
Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim();
|
|
@@ -936,6 +941,7 @@ function createBaseTallyParams() {
|
|
|
936
941
|
}
|
|
937
942
|
export const TallyParams = {
|
|
938
943
|
typeUrl: "/cosmos.gov.v1.TallyParams",
|
|
944
|
+
aminoType: "cosmos-sdk/v1/TallyParams",
|
|
939
945
|
encode(message, writer = BinaryWriter.create()) {
|
|
940
946
|
if (message.quorum !== "") {
|
|
941
947
|
writer.uint32(10).string(message.quorum);
|
|
@@ -1042,6 +1048,7 @@ function createBaseParams() {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
export const Params = {
|
|
1044
1050
|
typeUrl: "/cosmos.gov.v1.Params",
|
|
1051
|
+
aminoType: "cosmos-sdk/v1/Params",
|
|
1045
1052
|
encode(message, writer = BinaryWriter.create()) {
|
|
1046
1053
|
for (const v of message.minDeposit) {
|
|
1047
1054
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -7,6 +7,7 @@ function createBaseQueryConstitutionRequest() {
|
|
|
7
7
|
}
|
|
8
8
|
export const QueryConstitutionRequest = {
|
|
9
9
|
typeUrl: "/cosmos.gov.v1.QueryConstitutionRequest",
|
|
10
|
+
aminoType: "cosmos-sdk/v1/QueryConstitutionRequest",
|
|
10
11
|
encode(_, writer = BinaryWriter.create()) {
|
|
11
12
|
return writer;
|
|
12
13
|
},
|
|
@@ -65,6 +66,7 @@ function createBaseQueryConstitutionResponse() {
|
|
|
65
66
|
}
|
|
66
67
|
export const QueryConstitutionResponse = {
|
|
67
68
|
typeUrl: "/cosmos.gov.v1.QueryConstitutionResponse",
|
|
69
|
+
aminoType: "cosmos-sdk/v1/QueryConstitutionResponse",
|
|
68
70
|
encode(message, writer = BinaryWriter.create()) {
|
|
69
71
|
if (message.constitution !== "") {
|
|
70
72
|
writer.uint32(10).string(message.constitution);
|
|
@@ -134,6 +136,7 @@ function createBaseQueryProposalRequest() {
|
|
|
134
136
|
}
|
|
135
137
|
export const QueryProposalRequest = {
|
|
136
138
|
typeUrl: "/cosmos.gov.v1.QueryProposalRequest",
|
|
139
|
+
aminoType: "cosmos-sdk/v1/QueryProposalRequest",
|
|
137
140
|
encode(message, writer = BinaryWriter.create()) {
|
|
138
141
|
if (message.proposalId !== BigInt(0)) {
|
|
139
142
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -203,6 +206,7 @@ function createBaseQueryProposalResponse() {
|
|
|
203
206
|
}
|
|
204
207
|
export const QueryProposalResponse = {
|
|
205
208
|
typeUrl: "/cosmos.gov.v1.QueryProposalResponse",
|
|
209
|
+
aminoType: "cosmos-sdk/v1/QueryProposalResponse",
|
|
206
210
|
encode(message, writer = BinaryWriter.create()) {
|
|
207
211
|
if (message.proposal !== undefined) {
|
|
208
212
|
Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim();
|
|
@@ -275,6 +279,7 @@ function createBaseQueryProposalsRequest() {
|
|
|
275
279
|
}
|
|
276
280
|
export const QueryProposalsRequest = {
|
|
277
281
|
typeUrl: "/cosmos.gov.v1.QueryProposalsRequest",
|
|
282
|
+
aminoType: "cosmos-sdk/v1/QueryProposalsRequest",
|
|
278
283
|
encode(message, writer = BinaryWriter.create()) {
|
|
279
284
|
if (message.proposalStatus !== 0) {
|
|
280
285
|
writer.uint32(8).int32(message.proposalStatus);
|
|
@@ -378,6 +383,7 @@ function createBaseQueryProposalsResponse() {
|
|
|
378
383
|
}
|
|
379
384
|
export const QueryProposalsResponse = {
|
|
380
385
|
typeUrl: "/cosmos.gov.v1.QueryProposalsResponse",
|
|
386
|
+
aminoType: "cosmos-sdk/v1/QueryProposalsResponse",
|
|
381
387
|
encode(message, writer = BinaryWriter.create()) {
|
|
382
388
|
for (const v of message.proposals) {
|
|
383
389
|
Proposal.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -462,6 +468,7 @@ function createBaseQueryVoteRequest() {
|
|
|
462
468
|
}
|
|
463
469
|
export const QueryVoteRequest = {
|
|
464
470
|
typeUrl: "/cosmos.gov.v1.QueryVoteRequest",
|
|
471
|
+
aminoType: "cosmos-sdk/v1/QueryVoteRequest",
|
|
465
472
|
encode(message, writer = BinaryWriter.create()) {
|
|
466
473
|
if (message.proposalId !== BigInt(0)) {
|
|
467
474
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -542,6 +549,7 @@ function createBaseQueryVoteResponse() {
|
|
|
542
549
|
}
|
|
543
550
|
export const QueryVoteResponse = {
|
|
544
551
|
typeUrl: "/cosmos.gov.v1.QueryVoteResponse",
|
|
552
|
+
aminoType: "cosmos-sdk/v1/QueryVoteResponse",
|
|
545
553
|
encode(message, writer = BinaryWriter.create()) {
|
|
546
554
|
if (message.vote !== undefined) {
|
|
547
555
|
Vote.encode(message.vote, writer.uint32(10).fork()).ldelim();
|
|
@@ -612,6 +620,7 @@ function createBaseQueryVotesRequest() {
|
|
|
612
620
|
}
|
|
613
621
|
export const QueryVotesRequest = {
|
|
614
622
|
typeUrl: "/cosmos.gov.v1.QueryVotesRequest",
|
|
623
|
+
aminoType: "cosmos-sdk/v1/QueryVotesRequest",
|
|
615
624
|
encode(message, writer = BinaryWriter.create()) {
|
|
616
625
|
if (message.proposalId !== BigInt(0)) {
|
|
617
626
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -693,6 +702,7 @@ function createBaseQueryVotesResponse() {
|
|
|
693
702
|
}
|
|
694
703
|
export const QueryVotesResponse = {
|
|
695
704
|
typeUrl: "/cosmos.gov.v1.QueryVotesResponse",
|
|
705
|
+
aminoType: "cosmos-sdk/v1/QueryVotesResponse",
|
|
696
706
|
encode(message, writer = BinaryWriter.create()) {
|
|
697
707
|
for (const v of message.votes) {
|
|
698
708
|
Vote.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -776,6 +786,7 @@ function createBaseQueryParamsRequest() {
|
|
|
776
786
|
}
|
|
777
787
|
export const QueryParamsRequest = {
|
|
778
788
|
typeUrl: "/cosmos.gov.v1.QueryParamsRequest",
|
|
789
|
+
aminoType: "cosmos-sdk/v1/QueryParamsRequest",
|
|
779
790
|
encode(message, writer = BinaryWriter.create()) {
|
|
780
791
|
if (message.paramsType !== "") {
|
|
781
792
|
writer.uint32(10).string(message.paramsType);
|
|
@@ -848,6 +859,7 @@ function createBaseQueryParamsResponse() {
|
|
|
848
859
|
}
|
|
849
860
|
export const QueryParamsResponse = {
|
|
850
861
|
typeUrl: "/cosmos.gov.v1.QueryParamsResponse",
|
|
862
|
+
aminoType: "cosmos-sdk/v1/QueryParamsResponse",
|
|
851
863
|
encode(message, writer = BinaryWriter.create()) {
|
|
852
864
|
if (message.votingParams !== undefined) {
|
|
853
865
|
VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim();
|
|
@@ -951,6 +963,7 @@ function createBaseQueryDepositRequest() {
|
|
|
951
963
|
}
|
|
952
964
|
export const QueryDepositRequest = {
|
|
953
965
|
typeUrl: "/cosmos.gov.v1.QueryDepositRequest",
|
|
966
|
+
aminoType: "cosmos-sdk/v1/QueryDepositRequest",
|
|
954
967
|
encode(message, writer = BinaryWriter.create()) {
|
|
955
968
|
if (message.proposalId !== BigInt(0)) {
|
|
956
969
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -1031,6 +1044,7 @@ function createBaseQueryDepositResponse() {
|
|
|
1031
1044
|
}
|
|
1032
1045
|
export const QueryDepositResponse = {
|
|
1033
1046
|
typeUrl: "/cosmos.gov.v1.QueryDepositResponse",
|
|
1047
|
+
aminoType: "cosmos-sdk/v1/QueryDepositResponse",
|
|
1034
1048
|
encode(message, writer = BinaryWriter.create()) {
|
|
1035
1049
|
if (message.deposit !== undefined) {
|
|
1036
1050
|
Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim();
|
|
@@ -1101,6 +1115,7 @@ function createBaseQueryDepositsRequest() {
|
|
|
1101
1115
|
}
|
|
1102
1116
|
export const QueryDepositsRequest = {
|
|
1103
1117
|
typeUrl: "/cosmos.gov.v1.QueryDepositsRequest",
|
|
1118
|
+
aminoType: "cosmos-sdk/v1/QueryDepositsRequest",
|
|
1104
1119
|
encode(message, writer = BinaryWriter.create()) {
|
|
1105
1120
|
if (message.proposalId !== BigInt(0)) {
|
|
1106
1121
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -1182,6 +1197,7 @@ function createBaseQueryDepositsResponse() {
|
|
|
1182
1197
|
}
|
|
1183
1198
|
export const QueryDepositsResponse = {
|
|
1184
1199
|
typeUrl: "/cosmos.gov.v1.QueryDepositsResponse",
|
|
1200
|
+
aminoType: "cosmos-sdk/v1/QueryDepositsResponse",
|
|
1185
1201
|
encode(message, writer = BinaryWriter.create()) {
|
|
1186
1202
|
for (const v of message.deposits) {
|
|
1187
1203
|
Deposit.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1265,6 +1281,7 @@ function createBaseQueryTallyResultRequest() {
|
|
|
1265
1281
|
}
|
|
1266
1282
|
export const QueryTallyResultRequest = {
|
|
1267
1283
|
typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest",
|
|
1284
|
+
aminoType: "cosmos-sdk/v1/QueryTallyResultRequest",
|
|
1268
1285
|
encode(message, writer = BinaryWriter.create()) {
|
|
1269
1286
|
if (message.proposalId !== BigInt(0)) {
|
|
1270
1287
|
writer.uint32(8).uint64(message.proposalId);
|
|
@@ -1334,6 +1351,7 @@ function createBaseQueryTallyResultResponse() {
|
|
|
1334
1351
|
}
|
|
1335
1352
|
export const QueryTallyResultResponse = {
|
|
1336
1353
|
typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse",
|
|
1354
|
+
aminoType: "cosmos-sdk/v1/QueryTallyResultResponse",
|
|
1337
1355
|
encode(message, writer = BinaryWriter.create()) {
|
|
1338
1356
|
if (message.tally !== undefined) {
|
|
1339
1357
|
TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim();
|
|
@@ -4,28 +4,19 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.constitution = this.constitution.bind(this);
|
|
8
|
-
this.proposal = this.proposal.bind(this);
|
|
9
|
-
this.proposals = this.proposals.bind(this);
|
|
10
|
-
this.vote = this.vote.bind(this);
|
|
11
|
-
this.votes = this.votes.bind(this);
|
|
12
|
-
this.params = this.params.bind(this);
|
|
13
|
-
this.deposit = this.deposit.bind(this);
|
|
14
|
-
this.deposits = this.deposits.bind(this);
|
|
15
|
-
this.tallyResult = this.tallyResult.bind(this);
|
|
16
7
|
}
|
|
17
8
|
/* Constitution queries the chain's constitution. */
|
|
18
|
-
async
|
|
9
|
+
constitution = async (_params = {}) => {
|
|
19
10
|
const endpoint = `cosmos/gov/v1/constitution`;
|
|
20
11
|
return await this.req.get(endpoint);
|
|
21
|
-
}
|
|
12
|
+
};
|
|
22
13
|
/* Proposal queries proposal details based on ProposalID. */
|
|
23
|
-
async
|
|
14
|
+
proposal = async (params) => {
|
|
24
15
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`;
|
|
25
16
|
return await this.req.get(endpoint);
|
|
26
|
-
}
|
|
17
|
+
};
|
|
27
18
|
/* Proposals queries all proposals based on given status. */
|
|
28
|
-
async
|
|
19
|
+
proposals = async (params) => {
|
|
29
20
|
const options = {
|
|
30
21
|
params: {}
|
|
31
22
|
};
|
|
@@ -43,14 +34,14 @@ export class LCDQueryClient {
|
|
|
43
34
|
}
|
|
44
35
|
const endpoint = `cosmos/gov/v1/proposals`;
|
|
45
36
|
return await this.req.get(endpoint, options);
|
|
46
|
-
}
|
|
37
|
+
};
|
|
47
38
|
/* Vote queries voted information based on proposalID, voterAddr. */
|
|
48
|
-
async
|
|
39
|
+
vote = async (params) => {
|
|
49
40
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes/${params.voter}`;
|
|
50
41
|
return await this.req.get(endpoint);
|
|
51
|
-
}
|
|
42
|
+
};
|
|
52
43
|
/* Votes queries votes of a given proposal. */
|
|
53
|
-
async
|
|
44
|
+
votes = async (params) => {
|
|
54
45
|
const options = {
|
|
55
46
|
params: {}
|
|
56
47
|
};
|
|
@@ -59,19 +50,19 @@ export class LCDQueryClient {
|
|
|
59
50
|
}
|
|
60
51
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`;
|
|
61
52
|
return await this.req.get(endpoint, options);
|
|
62
|
-
}
|
|
53
|
+
};
|
|
63
54
|
/* Params queries all parameters of the gov module. */
|
|
64
|
-
async
|
|
55
|
+
params = async (params) => {
|
|
65
56
|
const endpoint = `cosmos/gov/v1/params/${params.paramsType}`;
|
|
66
57
|
return await this.req.get(endpoint);
|
|
67
|
-
}
|
|
58
|
+
};
|
|
68
59
|
/* Deposit queries single deposit information based on proposalID, depositAddr. */
|
|
69
|
-
async
|
|
60
|
+
deposit = async (params) => {
|
|
70
61
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits/${params.depositor}`;
|
|
71
62
|
return await this.req.get(endpoint);
|
|
72
|
-
}
|
|
63
|
+
};
|
|
73
64
|
/* Deposits queries all deposits of a single proposal. */
|
|
74
|
-
async
|
|
65
|
+
deposits = async (params) => {
|
|
75
66
|
const options = {
|
|
76
67
|
params: {}
|
|
77
68
|
};
|
|
@@ -80,10 +71,10 @@ export class LCDQueryClient {
|
|
|
80
71
|
}
|
|
81
72
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`;
|
|
82
73
|
return await this.req.get(endpoint, options);
|
|
83
|
-
}
|
|
74
|
+
};
|
|
84
75
|
/* TallyResult queries the tally of a proposal vote. */
|
|
85
|
-
async
|
|
76
|
+
tallyResult = async (params) => {
|
|
86
77
|
const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`;
|
|
87
78
|
return await this.req.get(endpoint);
|
|
88
|
-
}
|
|
79
|
+
};
|
|
89
80
|
}
|
|
@@ -5,61 +5,61 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.constitution = this.constitution.bind(this);
|
|
9
|
-
this.proposal = this.proposal.bind(this);
|
|
10
|
-
this.proposals = this.proposals.bind(this);
|
|
11
|
-
this.vote = this.vote.bind(this);
|
|
12
|
-
this.votes = this.votes.bind(this);
|
|
13
|
-
this.params = this.params.bind(this);
|
|
14
|
-
this.deposit = this.deposit.bind(this);
|
|
15
|
-
this.deposits = this.deposits.bind(this);
|
|
16
|
-
this.tallyResult = this.tallyResult.bind(this);
|
|
17
8
|
}
|
|
18
|
-
|
|
9
|
+
/* Constitution queries the chain's constitution. */
|
|
10
|
+
constitution = async (request = {}) => {
|
|
19
11
|
const data = QueryConstitutionRequest.encode(request).finish();
|
|
20
12
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Constitution", data);
|
|
21
13
|
return promise.then(data => QueryConstitutionResponse.decode(new BinaryReader(data)));
|
|
22
|
-
}
|
|
23
|
-
proposal
|
|
14
|
+
};
|
|
15
|
+
/* Proposal queries proposal details based on ProposalID. */
|
|
16
|
+
proposal = async (request) => {
|
|
24
17
|
const data = QueryProposalRequest.encode(request).finish();
|
|
25
18
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data);
|
|
26
19
|
return promise.then(data => QueryProposalResponse.decode(new BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
proposals
|
|
20
|
+
};
|
|
21
|
+
/* Proposals queries all proposals based on given status. */
|
|
22
|
+
proposals = async (request) => {
|
|
29
23
|
const data = QueryProposalsRequest.encode(request).finish();
|
|
30
24
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data);
|
|
31
25
|
return promise.then(data => QueryProposalsResponse.decode(new BinaryReader(data)));
|
|
32
|
-
}
|
|
33
|
-
|
|
26
|
+
};
|
|
27
|
+
/* Vote queries voted information based on proposalID, voterAddr. */
|
|
28
|
+
vote = async (request) => {
|
|
34
29
|
const data = QueryVoteRequest.encode(request).finish();
|
|
35
30
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data);
|
|
36
31
|
return promise.then(data => QueryVoteResponse.decode(new BinaryReader(data)));
|
|
37
|
-
}
|
|
38
|
-
votes
|
|
32
|
+
};
|
|
33
|
+
/* Votes queries votes of a given proposal. */
|
|
34
|
+
votes = async (request) => {
|
|
39
35
|
const data = QueryVotesRequest.encode(request).finish();
|
|
40
36
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data);
|
|
41
37
|
return promise.then(data => QueryVotesResponse.decode(new BinaryReader(data)));
|
|
42
|
-
}
|
|
43
|
-
|
|
38
|
+
};
|
|
39
|
+
/* Params queries all parameters of the gov module. */
|
|
40
|
+
params = async (request) => {
|
|
44
41
|
const data = QueryParamsRequest.encode(request).finish();
|
|
45
42
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data);
|
|
46
43
|
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
47
|
-
}
|
|
48
|
-
deposit
|
|
44
|
+
};
|
|
45
|
+
/* Deposit queries single deposit information based on proposalID, depositAddr. */
|
|
46
|
+
deposit = async (request) => {
|
|
49
47
|
const data = QueryDepositRequest.encode(request).finish();
|
|
50
48
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data);
|
|
51
49
|
return promise.then(data => QueryDepositResponse.decode(new BinaryReader(data)));
|
|
52
|
-
}
|
|
53
|
-
deposits
|
|
50
|
+
};
|
|
51
|
+
/* Deposits queries all deposits of a single proposal. */
|
|
52
|
+
deposits = async (request) => {
|
|
54
53
|
const data = QueryDepositsRequest.encode(request).finish();
|
|
55
54
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data);
|
|
56
55
|
return promise.then(data => QueryDepositsResponse.decode(new BinaryReader(data)));
|
|
57
|
-
}
|
|
58
|
-
|
|
56
|
+
};
|
|
57
|
+
/* TallyResult queries the tally of a proposal vote. */
|
|
58
|
+
tallyResult = async (request) => {
|
|
59
59
|
const data = QueryTallyResultRequest.encode(request).finish();
|
|
60
60
|
const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data);
|
|
61
61
|
return promise.then(data => QueryTallyResultResponse.decode(new BinaryReader(data)));
|
|
62
|
-
}
|
|
62
|
+
};
|
|
63
63
|
}
|
|
64
64
|
export const createRpcQueryExtension = (base) => {
|
|
65
65
|
const rpc = createProtobufRpcClient(base);
|