@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,69 +5,86 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.accounts = this.accounts.bind(this);
|
|
9
|
-
this.account = this.account.bind(this);
|
|
10
|
-
this.accountAddressByID = this.accountAddressByID.bind(this);
|
|
11
|
-
this.params = this.params.bind(this);
|
|
12
|
-
this.moduleAccounts = this.moduleAccounts.bind(this);
|
|
13
|
-
this.moduleAccountByName = this.moduleAccountByName.bind(this);
|
|
14
|
-
this.bech32Prefix = this.bech32Prefix.bind(this);
|
|
15
|
-
this.addressBytesToString = this.addressBytesToString.bind(this);
|
|
16
|
-
this.addressStringToBytes = this.addressStringToBytes.bind(this);
|
|
17
|
-
this.accountInfo = this.accountInfo.bind(this);
|
|
18
8
|
}
|
|
19
|
-
|
|
9
|
+
/* Accounts returns all the existing accounts.
|
|
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
|
+
|
|
14
|
+
Since: cosmos-sdk 0.43 */
|
|
15
|
+
accounts = async (request = {
|
|
20
16
|
pagination: undefined
|
|
21
|
-
}) {
|
|
17
|
+
}) => {
|
|
22
18
|
const data = QueryAccountsRequest.encode(request).finish();
|
|
23
19
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data);
|
|
24
20
|
return promise.then(data => QueryAccountsResponse.decode(new BinaryReader(data)));
|
|
25
|
-
}
|
|
26
|
-
account
|
|
21
|
+
};
|
|
22
|
+
/* Account returns account details based on address. */
|
|
23
|
+
account = async (request) => {
|
|
27
24
|
const data = QueryAccountRequest.encode(request).finish();
|
|
28
25
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data);
|
|
29
26
|
return promise.then(data => QueryAccountResponse.decode(new BinaryReader(data)));
|
|
30
|
-
}
|
|
31
|
-
|
|
27
|
+
};
|
|
28
|
+
/* AccountAddressByID returns account address based on account number.
|
|
29
|
+
|
|
30
|
+
Since: cosmos-sdk 0.46.2 */
|
|
31
|
+
accountAddressByID = async (request) => {
|
|
32
32
|
const data = QueryAccountAddressByIDRequest.encode(request).finish();
|
|
33
33
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AccountAddressByID", data);
|
|
34
34
|
return promise.then(data => QueryAccountAddressByIDResponse.decode(new BinaryReader(data)));
|
|
35
|
-
}
|
|
36
|
-
|
|
35
|
+
};
|
|
36
|
+
/* Params queries all parameters. */
|
|
37
|
+
params = async (request = {}) => {
|
|
37
38
|
const data = QueryParamsRequest.encode(request).finish();
|
|
38
39
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data);
|
|
39
40
|
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
40
|
-
}
|
|
41
|
-
|
|
41
|
+
};
|
|
42
|
+
/* ModuleAccounts returns all the existing module accounts.
|
|
43
|
+
|
|
44
|
+
Since: cosmos-sdk 0.46 */
|
|
45
|
+
moduleAccounts = async (request = {}) => {
|
|
42
46
|
const data = QueryModuleAccountsRequest.encode(request).finish();
|
|
43
47
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data);
|
|
44
48
|
return promise.then(data => QueryModuleAccountsResponse.decode(new BinaryReader(data)));
|
|
45
|
-
}
|
|
46
|
-
|
|
49
|
+
};
|
|
50
|
+
/* ModuleAccountByName returns the module account info by module name */
|
|
51
|
+
moduleAccountByName = async (request) => {
|
|
47
52
|
const data = QueryModuleAccountByNameRequest.encode(request).finish();
|
|
48
53
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccountByName", data);
|
|
49
54
|
return promise.then(data => QueryModuleAccountByNameResponse.decode(new BinaryReader(data)));
|
|
50
|
-
}
|
|
51
|
-
|
|
55
|
+
};
|
|
56
|
+
/* Bech32Prefix queries bech32Prefix
|
|
57
|
+
|
|
58
|
+
Since: cosmos-sdk 0.46 */
|
|
59
|
+
bech32Prefix = async (request = {}) => {
|
|
52
60
|
const data = Bech32PrefixRequest.encode(request).finish();
|
|
53
61
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data);
|
|
54
62
|
return promise.then(data => Bech32PrefixResponse.decode(new BinaryReader(data)));
|
|
55
|
-
}
|
|
56
|
-
|
|
63
|
+
};
|
|
64
|
+
/* AddressBytesToString converts Account Address bytes to string
|
|
65
|
+
|
|
66
|
+
Since: cosmos-sdk 0.46 */
|
|
67
|
+
addressBytesToString = async (request) => {
|
|
57
68
|
const data = AddressBytesToStringRequest.encode(request).finish();
|
|
58
69
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data);
|
|
59
70
|
return promise.then(data => AddressBytesToStringResponse.decode(new BinaryReader(data)));
|
|
60
|
-
}
|
|
61
|
-
|
|
71
|
+
};
|
|
72
|
+
/* AddressStringToBytes converts Address string to bytes
|
|
73
|
+
|
|
74
|
+
Since: cosmos-sdk 0.46 */
|
|
75
|
+
addressStringToBytes = async (request) => {
|
|
62
76
|
const data = AddressStringToBytesRequest.encode(request).finish();
|
|
63
77
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data);
|
|
64
78
|
return promise.then(data => AddressStringToBytesResponse.decode(new BinaryReader(data)));
|
|
65
|
-
}
|
|
66
|
-
|
|
79
|
+
};
|
|
80
|
+
/* AccountInfo queries account info which is common to all account types.
|
|
81
|
+
|
|
82
|
+
Since: cosmos-sdk 0.47 */
|
|
83
|
+
accountInfo = async (request) => {
|
|
67
84
|
const data = QueryAccountInfoRequest.encode(request).finish();
|
|
68
85
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AccountInfo", data);
|
|
69
86
|
return promise.then(data => QueryAccountInfoResponse.decode(new BinaryReader(data)));
|
|
70
|
-
}
|
|
87
|
+
};
|
|
71
88
|
}
|
|
72
89
|
export const createRpcQueryExtension = (base) => {
|
|
73
90
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -9,6 +9,7 @@ function createBaseMsgUpdateParams() {
|
|
|
9
9
|
}
|
|
10
10
|
export const MsgUpdateParams = {
|
|
11
11
|
typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
|
|
12
|
+
aminoType: "cosmos-sdk/x/auth/MsgUpdateParams",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
if (message.authority !== "") {
|
|
14
15
|
writer.uint32(10).string(message.authority);
|
|
@@ -87,6 +88,7 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
87
88
|
}
|
|
88
89
|
export const MsgUpdateParamsResponse = {
|
|
89
90
|
typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParamsResponse",
|
|
91
|
+
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
90
92
|
encode(_, writer = BinaryWriter.create()) {
|
|
91
93
|
return writer;
|
|
92
94
|
},
|
|
@@ -1,33 +1,2 @@
|
|
|
1
1
|
import { MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/cosmos.auth.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
updateParams(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
|
|
13
|
-
value: MsgUpdateParams.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
withTypeUrl: {
|
|
18
|
-
updateParams(value) {
|
|
19
|
-
return {
|
|
20
|
-
typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
|
|
21
|
-
value
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
fromPartial: {
|
|
26
|
-
updateParams(value) {
|
|
27
|
-
return {
|
|
28
|
-
typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
|
|
29
|
-
value: MsgUpdateParams.fromPartial(value)
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -4,11 +4,17 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.updateParams = this.updateParams.bind(this);
|
|
8
7
|
}
|
|
9
|
-
|
|
8
|
+
/* UpdateParams defines a (governance) operation for updating the x/auth module
|
|
9
|
+
parameters. The authority defaults to the x/gov module account.
|
|
10
|
+
|
|
11
|
+
Since: cosmos-sdk 0.47 */
|
|
12
|
+
updateParams = async (request) => {
|
|
10
13
|
const data = MsgUpdateParams.encode(request).finish();
|
|
11
14
|
const promise = this.rpc.request("cosmos.auth.v1beta1.Msg", "UpdateParams", data);
|
|
12
15
|
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
13
|
-
}
|
|
16
|
+
};
|
|
14
17
|
}
|
|
18
|
+
export const createClientImpl = (rpc) => {
|
|
19
|
+
return new MsgClientImpl(rpc);
|
|
20
|
+
};
|
|
@@ -8,12 +8,12 @@ import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
|
8
8
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
9
9
|
function createBaseGenericAuthorization() {
|
|
10
10
|
return {
|
|
11
|
-
$typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
12
11
|
msg: ""
|
|
13
12
|
};
|
|
14
13
|
}
|
|
15
14
|
export const GenericAuthorization = {
|
|
16
15
|
typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
16
|
+
aminoType: "cosmos-sdk/GenericAuthorization",
|
|
17
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
18
18
|
if (message.msg !== "") {
|
|
19
19
|
writer.uint32(10).string(message.msg);
|
|
@@ -84,6 +84,7 @@ function createBaseGrant() {
|
|
|
84
84
|
}
|
|
85
85
|
export const Grant = {
|
|
86
86
|
typeUrl: "/cosmos.authz.v1beta1.Grant",
|
|
87
|
+
aminoType: "cosmos-sdk/Grant",
|
|
87
88
|
encode(message, writer = BinaryWriter.create()) {
|
|
88
89
|
if (message.authorization !== undefined) {
|
|
89
90
|
Any.encode(message.authorization, writer.uint32(10).fork()).ldelim();
|
|
@@ -167,6 +168,7 @@ function createBaseGrantAuthorization() {
|
|
|
167
168
|
}
|
|
168
169
|
export const GrantAuthorization = {
|
|
169
170
|
typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization",
|
|
171
|
+
aminoType: "cosmos-sdk/GrantAuthorization",
|
|
170
172
|
encode(message, writer = BinaryWriter.create()) {
|
|
171
173
|
if (message.granter !== "") {
|
|
172
174
|
writer.uint32(10).string(message.granter);
|
|
@@ -269,6 +271,7 @@ function createBaseGrantQueueItem() {
|
|
|
269
271
|
}
|
|
270
272
|
export const GrantQueueItem = {
|
|
271
273
|
typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem",
|
|
274
|
+
aminoType: "cosmos-sdk/GrantQueueItem",
|
|
272
275
|
encode(message, writer = BinaryWriter.create()) {
|
|
273
276
|
for (const v of message.msgTypeUrls) {
|
|
274
277
|
writer.uint32(10).string(v);
|
|
@@ -9,6 +9,7 @@ function createBaseEventGrant() {
|
|
|
9
9
|
}
|
|
10
10
|
export const EventGrant = {
|
|
11
11
|
typeUrl: "/cosmos.authz.v1beta1.EventGrant",
|
|
12
|
+
aminoType: "cosmos-sdk/EventGrant",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
if (message.msgTypeUrl !== "") {
|
|
14
15
|
writer.uint32(18).string(message.msgTypeUrl);
|
|
@@ -102,6 +103,7 @@ function createBaseEventRevoke() {
|
|
|
102
103
|
}
|
|
103
104
|
export const EventRevoke = {
|
|
104
105
|
typeUrl: "/cosmos.authz.v1beta1.EventRevoke",
|
|
106
|
+
aminoType: "cosmos-sdk/EventRevoke",
|
|
105
107
|
encode(message, writer = BinaryWriter.create()) {
|
|
106
108
|
if (message.msgTypeUrl !== "") {
|
|
107
109
|
writer.uint32(18).string(message.msgTypeUrl);
|
|
@@ -8,6 +8,7 @@ function createBaseGenesisState() {
|
|
|
8
8
|
}
|
|
9
9
|
export const GenesisState = {
|
|
10
10
|
typeUrl: "/cosmos.authz.v1beta1.GenesisState",
|
|
11
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
for (const v of message.authorization) {
|
|
13
14
|
GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -12,6 +12,7 @@ function createBaseQueryGrantsRequest() {
|
|
|
12
12
|
}
|
|
13
13
|
export const QueryGrantsRequest = {
|
|
14
14
|
typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest",
|
|
15
|
+
aminoType: "cosmos-sdk/QueryGrantsRequest",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.granter !== "") {
|
|
17
18
|
writer.uint32(10).string(message.granter);
|
|
@@ -115,6 +116,7 @@ function createBaseQueryGrantsResponse() {
|
|
|
115
116
|
}
|
|
116
117
|
export const QueryGrantsResponse = {
|
|
117
118
|
typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse",
|
|
119
|
+
aminoType: "cosmos-sdk/QueryGrantsResponse",
|
|
118
120
|
encode(message, writer = BinaryWriter.create()) {
|
|
119
121
|
for (const v of message.grants) {
|
|
120
122
|
Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -199,6 +201,7 @@ function createBaseQueryGranterGrantsRequest() {
|
|
|
199
201
|
}
|
|
200
202
|
export const QueryGranterGrantsRequest = {
|
|
201
203
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest",
|
|
204
|
+
aminoType: "cosmos-sdk/QueryGranterGrantsRequest",
|
|
202
205
|
encode(message, writer = BinaryWriter.create()) {
|
|
203
206
|
if (message.granter !== "") {
|
|
204
207
|
writer.uint32(10).string(message.granter);
|
|
@@ -280,6 +283,7 @@ function createBaseQueryGranterGrantsResponse() {
|
|
|
280
283
|
}
|
|
281
284
|
export const QueryGranterGrantsResponse = {
|
|
282
285
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse",
|
|
286
|
+
aminoType: "cosmos-sdk/QueryGranterGrantsResponse",
|
|
283
287
|
encode(message, writer = BinaryWriter.create()) {
|
|
284
288
|
for (const v of message.grants) {
|
|
285
289
|
GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -364,6 +368,7 @@ function createBaseQueryGranteeGrantsRequest() {
|
|
|
364
368
|
}
|
|
365
369
|
export const QueryGranteeGrantsRequest = {
|
|
366
370
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest",
|
|
371
|
+
aminoType: "cosmos-sdk/QueryGranteeGrantsRequest",
|
|
367
372
|
encode(message, writer = BinaryWriter.create()) {
|
|
368
373
|
if (message.grantee !== "") {
|
|
369
374
|
writer.uint32(10).string(message.grantee);
|
|
@@ -445,6 +450,7 @@ function createBaseQueryGranteeGrantsResponse() {
|
|
|
445
450
|
}
|
|
446
451
|
export const QueryGranteeGrantsResponse = {
|
|
447
452
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse",
|
|
453
|
+
aminoType: "cosmos-sdk/QueryGranteeGrantsResponse",
|
|
448
454
|
encode(message, writer = BinaryWriter.create()) {
|
|
449
455
|
for (const v of message.grants) {
|
|
450
456
|
GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -4,12 +4,9 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.grants = this.grants.bind(this);
|
|
8
|
-
this.granterGrants = this.granterGrants.bind(this);
|
|
9
|
-
this.granteeGrants = this.granteeGrants.bind(this);
|
|
10
7
|
}
|
|
11
8
|
/* Returns list of `Authorization`, granted to the grantee by the granter. */
|
|
12
|
-
async
|
|
9
|
+
grants = async (params) => {
|
|
13
10
|
const options = {
|
|
14
11
|
params: {}
|
|
15
12
|
};
|
|
@@ -27,11 +24,11 @@ export class LCDQueryClient {
|
|
|
27
24
|
}
|
|
28
25
|
const endpoint = `cosmos/authz/v1beta1/grants`;
|
|
29
26
|
return await this.req.get(endpoint, options);
|
|
30
|
-
}
|
|
27
|
+
};
|
|
31
28
|
/* GranterGrants returns list of `GrantAuthorization`, granted by granter.
|
|
32
29
|
|
|
33
30
|
Since: cosmos-sdk 0.46 */
|
|
34
|
-
async
|
|
31
|
+
granterGrants = async (params) => {
|
|
35
32
|
const options = {
|
|
36
33
|
params: {}
|
|
37
34
|
};
|
|
@@ -40,11 +37,11 @@ export class LCDQueryClient {
|
|
|
40
37
|
}
|
|
41
38
|
const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`;
|
|
42
39
|
return await this.req.get(endpoint, options);
|
|
43
|
-
}
|
|
40
|
+
};
|
|
44
41
|
/* GranteeGrants returns a list of `GrantAuthorization` by grantee.
|
|
45
42
|
|
|
46
43
|
Since: cosmos-sdk 0.46 */
|
|
47
|
-
async
|
|
44
|
+
granteeGrants = async (params) => {
|
|
48
45
|
const options = {
|
|
49
46
|
params: {}
|
|
50
47
|
};
|
|
@@ -53,5 +50,5 @@ export class LCDQueryClient {
|
|
|
53
50
|
}
|
|
54
51
|
const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`;
|
|
55
52
|
return await this.req.get(endpoint, options);
|
|
56
|
-
}
|
|
53
|
+
};
|
|
57
54
|
}
|
|
@@ -5,25 +5,29 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.grants = this.grants.bind(this);
|
|
9
|
-
this.granterGrants = this.granterGrants.bind(this);
|
|
10
|
-
this.granteeGrants = this.granteeGrants.bind(this);
|
|
11
8
|
}
|
|
12
|
-
|
|
9
|
+
/* Returns list of `Authorization`, granted to the grantee by the granter. */
|
|
10
|
+
grants = async (request) => {
|
|
13
11
|
const data = QueryGrantsRequest.encode(request).finish();
|
|
14
12
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data);
|
|
15
13
|
return promise.then(data => QueryGrantsResponse.decode(new BinaryReader(data)));
|
|
16
|
-
}
|
|
17
|
-
|
|
14
|
+
};
|
|
15
|
+
/* GranterGrants returns list of `GrantAuthorization`, granted by granter.
|
|
16
|
+
|
|
17
|
+
Since: cosmos-sdk 0.46 */
|
|
18
|
+
granterGrants = async (request) => {
|
|
18
19
|
const data = QueryGranterGrantsRequest.encode(request).finish();
|
|
19
20
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data);
|
|
20
21
|
return promise.then(data => QueryGranterGrantsResponse.decode(new BinaryReader(data)));
|
|
21
|
-
}
|
|
22
|
-
|
|
22
|
+
};
|
|
23
|
+
/* GranteeGrants returns a list of `GrantAuthorization` by grantee.
|
|
24
|
+
|
|
25
|
+
Since: cosmos-sdk 0.46 */
|
|
26
|
+
granteeGrants = async (request) => {
|
|
23
27
|
const data = QueryGranteeGrantsRequest.encode(request).finish();
|
|
24
28
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data);
|
|
25
29
|
return promise.then(data => QueryGranteeGrantsResponse.decode(new BinaryReader(data)));
|
|
26
|
-
}
|
|
30
|
+
};
|
|
27
31
|
}
|
|
28
32
|
export const createRpcQueryExtension = (base) => {
|
|
29
33
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -12,6 +12,7 @@ function createBaseMsgGrant() {
|
|
|
12
12
|
}
|
|
13
13
|
export const MsgGrant = {
|
|
14
14
|
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
15
|
+
aminoType: "cosmos-sdk/MsgGrant",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.granter !== "") {
|
|
17
18
|
writer.uint32(10).string(message.granter);
|
|
@@ -101,6 +102,7 @@ function createBaseMsgGrantResponse() {
|
|
|
101
102
|
}
|
|
102
103
|
export const MsgGrantResponse = {
|
|
103
104
|
typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse",
|
|
105
|
+
aminoType: "cosmos-sdk/MsgGrantResponse",
|
|
104
106
|
encode(_, writer = BinaryWriter.create()) {
|
|
105
107
|
return writer;
|
|
106
108
|
},
|
|
@@ -160,6 +162,7 @@ function createBaseMsgExec() {
|
|
|
160
162
|
}
|
|
161
163
|
export const MsgExec = {
|
|
162
164
|
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
165
|
+
aminoType: "cosmos-sdk/MsgExec",
|
|
163
166
|
encode(message, writer = BinaryWriter.create()) {
|
|
164
167
|
if (message.grantee !== "") {
|
|
165
168
|
writer.uint32(10).string(message.grantee);
|
|
@@ -243,6 +246,7 @@ function createBaseMsgExecResponse() {
|
|
|
243
246
|
}
|
|
244
247
|
export const MsgExecResponse = {
|
|
245
248
|
typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse",
|
|
249
|
+
aminoType: "cosmos-sdk/MsgExecResponse",
|
|
246
250
|
encode(message, writer = BinaryWriter.create()) {
|
|
247
251
|
for (const v of message.results) {
|
|
248
252
|
writer.uint32(10).bytes(v);
|
|
@@ -317,6 +321,7 @@ function createBaseMsgRevoke() {
|
|
|
317
321
|
}
|
|
318
322
|
export const MsgRevoke = {
|
|
319
323
|
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
324
|
+
aminoType: "cosmos-sdk/MsgRevoke",
|
|
320
325
|
encode(message, writer = BinaryWriter.create()) {
|
|
321
326
|
if (message.granter !== "") {
|
|
322
327
|
writer.uint32(10).string(message.granter);
|
|
@@ -406,6 +411,7 @@ function createBaseMsgRevokeResponse() {
|
|
|
406
411
|
}
|
|
407
412
|
export const MsgRevokeResponse = {
|
|
408
413
|
typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse",
|
|
414
|
+
aminoType: "cosmos-sdk/MsgRevokeResponse",
|
|
409
415
|
encode(_, writer = BinaryWriter.create()) {
|
|
410
416
|
return writer;
|
|
411
417
|
},
|
|
@@ -1,69 +1,2 @@
|
|
|
1
1
|
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
2
2
|
export const registry = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
grant(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
13
|
-
value: MsgGrant.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
exec(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
19
|
-
value: MsgExec.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
revoke(value) {
|
|
23
|
-
return {
|
|
24
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
25
|
-
value: MsgRevoke.encode(value).finish()
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
withTypeUrl: {
|
|
30
|
-
grant(value) {
|
|
31
|
-
return {
|
|
32
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
33
|
-
value
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
exec(value) {
|
|
37
|
-
return {
|
|
38
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
39
|
-
value
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
revoke(value) {
|
|
43
|
-
return {
|
|
44
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
45
|
-
value
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
fromPartial: {
|
|
50
|
-
grant(value) {
|
|
51
|
-
return {
|
|
52
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
53
|
-
value: MsgGrant.fromPartial(value)
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
exec(value) {
|
|
57
|
-
return {
|
|
58
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
59
|
-
value: MsgExec.fromPartial(value)
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
revoke(value) {
|
|
63
|
-
return {
|
|
64
|
-
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
65
|
-
value: MsgRevoke.fromPartial(value)
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
@@ -4,23 +4,32 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.grant = this.grant.bind(this);
|
|
8
|
-
this.exec = this.exec.bind(this);
|
|
9
|
-
this.revoke = this.revoke.bind(this);
|
|
10
7
|
}
|
|
11
|
-
|
|
8
|
+
/* Grant grants the provided authorization to the grantee on the granter's
|
|
9
|
+
account with the provided expiration time. If there is already a grant
|
|
10
|
+
for the given (granter, grantee, Authorization) triple, then the grant
|
|
11
|
+
will be overwritten. */
|
|
12
|
+
grant = async (request) => {
|
|
12
13
|
const data = MsgGrant.encode(request).finish();
|
|
13
14
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data);
|
|
14
15
|
return promise.then(data => MsgGrantResponse.decode(new BinaryReader(data)));
|
|
15
|
-
}
|
|
16
|
-
|
|
16
|
+
};
|
|
17
|
+
/* Exec attempts to execute the provided messages using
|
|
18
|
+
authorizations granted to the grantee. Each message should have only
|
|
19
|
+
one signer corresponding to the granter of the authorization. */
|
|
20
|
+
exec = async (request) => {
|
|
17
21
|
const data = MsgExec.encode(request).finish();
|
|
18
22
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data);
|
|
19
23
|
return promise.then(data => MsgExecResponse.decode(new BinaryReader(data)));
|
|
20
|
-
}
|
|
21
|
-
|
|
24
|
+
};
|
|
25
|
+
/* Revoke revokes any authorization corresponding to the provided method name on the
|
|
26
|
+
granter's account that has been granted to the grantee. */
|
|
27
|
+
revoke = async (request) => {
|
|
22
28
|
const data = MsgRevoke.encode(request).finish();
|
|
23
29
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data);
|
|
24
30
|
return promise.then(data => MsgRevokeResponse.decode(new BinaryReader(data)));
|
|
25
|
-
}
|
|
31
|
+
};
|
|
26
32
|
}
|
|
33
|
+
export const createClientImpl = (rpc) => {
|
|
34
|
+
return new MsgClientImpl(rpc);
|
|
35
|
+
};
|
|
@@ -9,6 +9,7 @@ function createBaseModule() {
|
|
|
9
9
|
}
|
|
10
10
|
export const Module = {
|
|
11
11
|
typeUrl: "/cosmos.bank.module.v1.Module",
|
|
12
|
+
aminoType: "cosmos-sdk/Module",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
for (const v of message.blockedModuleAccountsOverride) {
|
|
14
15
|
writer.uint32(10).string(v);
|
|
@@ -3,13 +3,13 @@ import { Coin } from "../../base/v1beta1/coin";
|
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
function createBaseSendAuthorization() {
|
|
5
5
|
return {
|
|
6
|
-
$typeUrl: "/cosmos.bank.v1beta1.SendAuthorization",
|
|
7
6
|
spendLimit: [],
|
|
8
7
|
allowList: []
|
|
9
8
|
};
|
|
10
9
|
}
|
|
11
10
|
export const SendAuthorization = {
|
|
12
11
|
typeUrl: "/cosmos.bank.v1beta1.SendAuthorization",
|
|
12
|
+
aminoType: "cosmos-sdk/SendAuthorization",
|
|
13
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
14
|
for (const v of message.spendLimit) {
|
|
15
15
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -9,6 +9,7 @@ function createBaseParams() {
|
|
|
9
9
|
}
|
|
10
10
|
export const Params = {
|
|
11
11
|
typeUrl: "/cosmos.bank.v1beta1.Params",
|
|
12
|
+
aminoType: "cosmos-sdk/x/bank/Params",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
for (const v of message.sendEnabled) {
|
|
14
15
|
SendEnabled.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -93,6 +94,7 @@ function createBaseSendEnabled() {
|
|
|
93
94
|
}
|
|
94
95
|
export const SendEnabled = {
|
|
95
96
|
typeUrl: "/cosmos.bank.v1beta1.SendEnabled",
|
|
97
|
+
aminoType: "cosmos-sdk/SendEnabled",
|
|
96
98
|
encode(message, writer = BinaryWriter.create()) {
|
|
97
99
|
if (message.denom !== "") {
|
|
98
100
|
writer.uint32(10).string(message.denom);
|
|
@@ -174,6 +176,7 @@ function createBaseInput() {
|
|
|
174
176
|
}
|
|
175
177
|
export const Input = {
|
|
176
178
|
typeUrl: "/cosmos.bank.v1beta1.Input",
|
|
179
|
+
aminoType: "cosmos-sdk/Input",
|
|
177
180
|
encode(message, writer = BinaryWriter.create()) {
|
|
178
181
|
if (message.address !== "") {
|
|
179
182
|
writer.uint32(10).string(message.address);
|
|
@@ -258,6 +261,7 @@ function createBaseOutput() {
|
|
|
258
261
|
}
|
|
259
262
|
export const Output = {
|
|
260
263
|
typeUrl: "/cosmos.bank.v1beta1.Output",
|
|
264
|
+
aminoType: "cosmos-sdk/Output",
|
|
261
265
|
encode(message, writer = BinaryWriter.create()) {
|
|
262
266
|
if (message.address !== "") {
|
|
263
267
|
writer.uint32(10).string(message.address);
|
|
@@ -336,12 +340,12 @@ export const Output = {
|
|
|
336
340
|
};
|
|
337
341
|
function createBaseSupply() {
|
|
338
342
|
return {
|
|
339
|
-
$typeUrl: "/cosmos.bank.v1beta1.Supply",
|
|
340
343
|
total: []
|
|
341
344
|
};
|
|
342
345
|
}
|
|
343
346
|
export const Supply = {
|
|
344
347
|
typeUrl: "/cosmos.bank.v1beta1.Supply",
|
|
348
|
+
aminoType: "cosmos-sdk/Supply",
|
|
345
349
|
encode(message, writer = BinaryWriter.create()) {
|
|
346
350
|
for (const v of message.total) {
|
|
347
351
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -416,6 +420,7 @@ function createBaseDenomUnit() {
|
|
|
416
420
|
}
|
|
417
421
|
export const DenomUnit = {
|
|
418
422
|
typeUrl: "/cosmos.bank.v1beta1.DenomUnit",
|
|
423
|
+
aminoType: "cosmos-sdk/DenomUnit",
|
|
419
424
|
encode(message, writer = BinaryWriter.create()) {
|
|
420
425
|
if (message.denom !== "") {
|
|
421
426
|
writer.uint32(10).string(message.denom);
|
|
@@ -517,6 +522,7 @@ function createBaseMetadata() {
|
|
|
517
522
|
}
|
|
518
523
|
export const Metadata = {
|
|
519
524
|
typeUrl: "/cosmos.bank.v1beta1.Metadata",
|
|
525
|
+
aminoType: "cosmos-sdk/Metadata",
|
|
520
526
|
encode(message, writer = BinaryWriter.create()) {
|
|
521
527
|
if (message.description !== "") {
|
|
522
528
|
writer.uint32(10).string(message.description);
|
|
@@ -13,6 +13,7 @@ function createBaseGenesisState() {
|
|
|
13
13
|
}
|
|
14
14
|
export const GenesisState = {
|
|
15
15
|
typeUrl: "/cosmos.bank.v1beta1.GenesisState",
|
|
16
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
16
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
17
18
|
if (message.params !== undefined) {
|
|
18
19
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -139,6 +140,7 @@ function createBaseBalance() {
|
|
|
139
140
|
}
|
|
140
141
|
export const Balance = {
|
|
141
142
|
typeUrl: "/cosmos.bank.v1beta1.Balance",
|
|
143
|
+
aminoType: "cosmos-sdk/Balance",
|
|
142
144
|
encode(message, writer = BinaryWriter.create()) {
|
|
143
145
|
if (message.address !== "") {
|
|
144
146
|
writer.uint32(10).string(message.address);
|