@sparkdreamnft/sparkdreamjs 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +5 -22
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +7 -21
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +5 -13
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +10 -43
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +5 -8
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +44 -159
- package/cosmos/auth/v1beta1/query.js +20 -0
- package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +6 -20
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/auth/v1beta1/tx.registry.js +1 -33
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +3 -4
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +13 -39
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +5 -14
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +4 -6
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +15 -40
- package/cosmos/authz/v1beta1/query.js +6 -0
- package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +15 -45
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/authz/v1beta1/tx.registry.js +1 -69
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +3 -7
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +4 -14
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +16 -66
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +7 -20
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +58 -226
- package/cosmos/bank/v1beta1/query.js +27 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
- package/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +15 -15
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +19 -65
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/bank/v1beta1/tx.registry.js +1 -87
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +26 -112
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +9 -25
- package/cosmos/base/node/v1beta1/query.js +4 -0
- package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +4 -4
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +5 -31
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +53 -154
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +9 -38
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +5 -20
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +3 -11
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +6 -13
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.registry.d.ts +2 -24
- package/cosmos/benchmark/v1/tx.registry.js +1 -33
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +1344 -1649
- package/cosmos/circuit/module/v1/module.d.ts +3 -5
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +15 -32
- package/cosmos/circuit/v1/query.js +6 -0
- package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
- package/cosmos/circuit/v1/query.lcd.js +7 -10
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +5 -5
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +14 -35
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +2 -48
- package/cosmos/circuit/v1/tx.registry.js +1 -69
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +7 -22
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +3 -5
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +6 -10
- package/cosmos/consensus/v1/query.js +2 -0
- package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
- package/cosmos/consensus/v1/query.lcd.js +2 -3
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +6 -17
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +2 -24
- package/cosmos/consensus/v1/tx.registry.js +1 -33
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +3 -5
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +5 -9
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +5 -11
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.registry.d.ts +2 -24
- package/cosmos/counter/v1/tx.registry.js +1 -33
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +3 -6
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +5 -19
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +3 -9
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +13 -33
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +4 -11
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +5 -20
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +5 -16
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +5 -10
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +3 -6
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +26 -134
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +19 -72
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +44 -157
- package/cosmos/distribution/v1beta1/query.js +20 -0
- package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +31 -126
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +3 -4
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +5 -11
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +6 -20
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +10 -32
- package/cosmos/epochs/v1beta1/query.js +4 -0
- package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +3 -4
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +3 -4
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +12 -43
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +4 -6
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +15 -45
- package/cosmos/feegrant/v1beta1/query.js +6 -0
- package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +15 -43
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +3 -4
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +3 -6
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +4 -17
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +22 -104
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +39 -110
- package/cosmos/gov/v1/query.js +18 -0
- package/cosmos/gov/v1/query.lcd.d.ts +10 -10
- package/cosmos/gov/v1/query.lcd.js +18 -27
- package/cosmos/gov/v1/query.rpc.Query.d.ts +11 -11
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +36 -115
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.registry.d.ts +2 -96
- package/cosmos/gov/v1/tx.registry.js +1 -141
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +4 -12
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +25 -90
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +35 -97
- package/cosmos/gov/v1beta1/query.js +16 -0
- package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
- package/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +23 -62
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/gov/v1beta1/tx.registry.js +1 -87
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +4 -7
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +24 -62
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +4 -13
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +59 -168
- package/cosmos/group/v1/query.js +28 -0
- package/cosmos/group/v1/query.lcd.d.ts +15 -15
- package/cosmos/group/v1/query.lcd.js +29 -43
- package/cosmos/group/v1/query.rpc.Query.d.ts +16 -16
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +59 -170
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.registry.d.ts +2 -180
- package/cosmos/group/v1/tx.registry.js +1 -267
- package/cosmos/group/v1/tx.rpc.msg.d.ts +17 -16
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +25 -130
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +27 -170
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +3 -6
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +4 -7
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +5 -16
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +14 -37
- package/cosmos/mint/v1beta1/query.js +6 -0
- package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +6 -20
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/mint/v1beta1/tx.registry.js +1 -33
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +3 -4
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +3 -8
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +18 -53
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +4 -4
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +3 -4
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +5 -19
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +12 -42
- package/cosmos/params/v1beta1/query.js +5 -0
- package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +3 -5
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +4 -7
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +19 -57
- package/cosmos/protocolpool/v1/query.js +8 -0
- package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
- package/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +6 -6
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +23 -77
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +2 -72
- package/cosmos/protocolpool/v1/tx.registry.js +1 -105
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +5 -13
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +6 -10
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +3 -5
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +3 -8
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +6 -21
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +6 -19
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +59 -213
- package/cosmos/staking/v1beta1/query.js +28 -0
- package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
- package/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +16 -16
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +48 -214
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +32 -116
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/staking/v1beta1/tx.registry.js +1 -141
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +5 -11
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +15 -66
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +11 -23
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +7 -28
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +6 -25
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +3 -6
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +13 -38
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +42 -188
- package/cosmos/tx/v1beta1/service.js +19 -3
- package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
- package/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +11 -11
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +30 -136
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +3 -5
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +22 -87
- package/cosmos/upgrade/v1beta1/query.js +10 -0
- package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
- package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +7 -7
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +10 -36
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -36
- package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +10 -51
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +3 -4
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +15 -60
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +15 -59
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +2 -3
- package/cosmos_proto/cosmos.d.ts +3 -25
- package/cosmos_proto/cosmos.js +1 -2
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/esm/cosmos/app/v1alpha1/module.js +3 -0
- package/esm/cosmos/auth/module/v1/module.js +2 -0
- package/esm/cosmos/auth/v1beta1/auth.js +4 -2
- package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
- package/esm/cosmos/auth/v1beta1/query.js +20 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/esm/cosmos/auth/v1beta1/tx.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.registry.js +0 -31
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.registry.js +0 -139
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.registry.js +0 -265
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +4 -24
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +0 -67
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.registry.js +0 -157
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.registry.js +0 -49
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/index.js +1 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.registry.js +0 -85
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/esm/types.js +7 -0
- package/google/api/http.d.ts +4 -295
- package/google/bundle.d.ts +37 -57
- package/google/protobuf/any.d.ts +2 -94
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +35 -370
- package/google/protobuf/descriptor.js +6 -26
- package/google/protobuf/duration.d.ts +2 -65
- package/google/protobuf/timestamp.d.ts +2 -96
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +3 -8
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +10 -21
- package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +15 -39
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -48
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +11 -42
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +5 -18
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +6 -10
- package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +3 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +10 -23
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +4 -9
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +3 -13
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +6 -14
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +6 -31
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +6 -20
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +3 -10
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +6 -11
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +3 -13
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +29 -83
- package/ibc/applications/transfer/v1/query.js +12 -0
- package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
- package/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +7 -18
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +3 -11
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +11 -37
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/transfer/v1/tx.registry.js +1 -51
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +581 -848
- package/ibc/core/channel/v1/channel.d.ts +18 -96
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +6 -23
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +61 -273
- package/ibc/core/channel/v1/query.js +28 -0
- package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
- package/ibc/core/channel/v1/query.lcd.js +29 -43
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +16 -16
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +43 -167
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.registry.d.ts +2 -132
- package/ibc/core/channel/v1/tx.registry.js +1 -195
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +13 -12
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +7 -27
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +9 -37
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +36 -117
- package/ibc/core/channel/v2/query.js +16 -0
- package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
- package/ibc/core/channel/v2/query.lcd.js +16 -24
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +10 -10
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +19 -56
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.registry.d.ts +2 -60
- package/ibc/core/channel/v2/tx.registry.js +1 -87
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +7 -6
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +12 -53
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +8 -30
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +49 -191
- package/ibc/core/client/v1/query.js +22 -0
- package/ibc/core/client/v1/query.lcd.d.ts +11 -11
- package/ibc/core/client/v1/query.lcd.js +21 -31
- package/ibc/core/client/v1/query.rpc.Query.d.ts +13 -13
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +36 -107
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.registry.d.ts +2 -108
- package/ibc/core/client/v1/tx.registry.js +1 -159
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +3 -10
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +3 -6
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +6 -12
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +11 -28
- package/ibc/core/client/v2/query.js +4 -0
- package/ibc/core/client/v2/query.lcd.d.ts +3 -3
- package/ibc/core/client/v2/query.lcd.js +4 -6
- package/ibc/core/client/v2/query.rpc.Query.d.ts +4 -4
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +10 -24
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.registry.d.ts +2 -36
- package/ibc/core/client/v2/tx.registry.js +1 -51
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +8 -29
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +3 -37
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +16 -61
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +4 -9
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +29 -107
- package/ibc/core/connection/v1/query.js +12 -0
- package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
- package/ibc/core/connection/v1/query.lcd.js +13 -19
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +24 -107
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +2 -72
- package/ibc/core/connection/v1/tx.registry.js +1 -105
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +8 -7
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +36 -149
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +18 -75
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +17 -74
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +5 -10
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +10 -22
- package/ibc/lightclients/wasm/v1/query.js +4 -0
- package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +13 -33
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -48
- package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +10 -29
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +3 -6
- package/sparkdream/blog/module/module.d.ts +2 -5
- package/sparkdream/blog/params.d.ts +3 -4
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +2 -7
- package/sparkdream/blog/query.d.ts +10 -29
- package/sparkdream/blog/query.lcd.d.ts +4 -4
- package/sparkdream/blog/query.lcd.js +7 -10
- package/sparkdream/blog/query.rpc.Query.d.ts +5 -5
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +11 -42
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.registry.d.ts +2 -60
- package/sparkdream/blog/tx.registry.js +1 -87
- package/sparkdream/blog/tx.rpc.msg.d.ts +7 -6
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +31 -103
- package/sparkdream/sparkdream/genesis.d.ts +3 -6
- package/sparkdream/sparkdream/module/module.d.ts +2 -5
- package/sparkdream/sparkdream/params.d.ts +3 -4
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +4 -10
- package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
- package/sparkdream/sparkdream/query.lcd.js +2 -3
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +3 -3
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +5 -14
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.registry.d.ts +2 -24
- package/sparkdream/sparkdream/tx.registry.js +1 -33
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +4 -3
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +51 -356
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +89 -97
- package/tendermint/crypto/keys.d.ts +2 -6
- package/tendermint/crypto/proof.d.ts +6 -34
- package/tendermint/p2p/types.d.ts +5 -28
- package/tendermint/types/block.d.ts +4 -9
- package/tendermint/types/evidence.d.ts +7 -29
- package/tendermint/types/params.d.ts +9 -54
- package/tendermint/types/types.d.ts +19 -133
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +5 -20
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +3 -20
- package/types.d.ts +74 -0
- package/types.js +8 -0
|
@@ -11,12 +11,12 @@ const binary_1 = require("../../../binary");
|
|
|
11
11
|
const helpers_1 = require("../../../helpers");
|
|
12
12
|
function createBaseGenericAuthorization() {
|
|
13
13
|
return {
|
|
14
|
-
$typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
15
14
|
msg: ""
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
17
|
exports.GenericAuthorization = {
|
|
19
18
|
typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
19
|
+
aminoType: "cosmos-sdk/GenericAuthorization",
|
|
20
20
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
21
21
|
if (message.msg !== "") {
|
|
22
22
|
writer.uint32(10).string(message.msg);
|
|
@@ -87,6 +87,7 @@ function createBaseGrant() {
|
|
|
87
87
|
}
|
|
88
88
|
exports.Grant = {
|
|
89
89
|
typeUrl: "/cosmos.authz.v1beta1.Grant",
|
|
90
|
+
aminoType: "cosmos-sdk/Grant",
|
|
90
91
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
91
92
|
if (message.authorization !== undefined) {
|
|
92
93
|
any_1.Any.encode(message.authorization, writer.uint32(10).fork()).ldelim();
|
|
@@ -170,6 +171,7 @@ function createBaseGrantAuthorization() {
|
|
|
170
171
|
}
|
|
171
172
|
exports.GrantAuthorization = {
|
|
172
173
|
typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization",
|
|
174
|
+
aminoType: "cosmos-sdk/GrantAuthorization",
|
|
173
175
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
174
176
|
if (message.granter !== "") {
|
|
175
177
|
writer.uint32(10).string(message.granter);
|
|
@@ -272,6 +274,7 @@ function createBaseGrantQueueItem() {
|
|
|
272
274
|
}
|
|
273
275
|
exports.GrantQueueItem = {
|
|
274
276
|
typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem",
|
|
277
|
+
aminoType: "cosmos-sdk/GrantQueueItem",
|
|
275
278
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
276
279
|
for (const v of message.msgTypeUrls) {
|
|
277
280
|
writer.uint32(10).string(v);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
2
3
|
/** EventGrant is emitted on Msg/Grant */
|
|
3
4
|
export interface EventGrant {
|
|
4
5
|
/** Msg type URL for which an autorization is granted */
|
|
@@ -25,12 +26,6 @@ export interface EventGrantAminoMsg {
|
|
|
25
26
|
type: "cosmos-sdk/EventGrant";
|
|
26
27
|
value: EventGrantAmino;
|
|
27
28
|
}
|
|
28
|
-
/** EventGrant is emitted on Msg/Grant */
|
|
29
|
-
export interface EventGrantSDKType {
|
|
30
|
-
msg_type_url: string;
|
|
31
|
-
granter: string;
|
|
32
|
-
grantee: string;
|
|
33
|
-
}
|
|
34
29
|
/** EventRevoke is emitted on Msg/Revoke */
|
|
35
30
|
export interface EventRevoke {
|
|
36
31
|
/** Msg type URL for which an autorization is revoked */
|
|
@@ -57,17 +52,12 @@ export interface EventRevokeAminoMsg {
|
|
|
57
52
|
type: "cosmos-sdk/EventRevoke";
|
|
58
53
|
value: EventRevokeAmino;
|
|
59
54
|
}
|
|
60
|
-
/** EventRevoke is emitted on Msg/Revoke */
|
|
61
|
-
export interface EventRevokeSDKType {
|
|
62
|
-
msg_type_url: string;
|
|
63
|
-
granter: string;
|
|
64
|
-
grantee: string;
|
|
65
|
-
}
|
|
66
55
|
export declare const EventGrant: {
|
|
67
56
|
typeUrl: string;
|
|
57
|
+
aminoType: string;
|
|
68
58
|
encode(message: EventGrant, writer?: BinaryWriter): BinaryWriter;
|
|
69
59
|
decode(input: BinaryReader | Uint8Array, length?: number): EventGrant;
|
|
70
|
-
fromPartial(object:
|
|
60
|
+
fromPartial(object: DeepPartial<EventGrant>): EventGrant;
|
|
71
61
|
fromAmino(object: EventGrantAmino): EventGrant;
|
|
72
62
|
toAmino(message: EventGrant): EventGrantAmino;
|
|
73
63
|
fromAminoMsg(object: EventGrantAminoMsg): EventGrant;
|
|
@@ -78,9 +68,10 @@ export declare const EventGrant: {
|
|
|
78
68
|
};
|
|
79
69
|
export declare const EventRevoke: {
|
|
80
70
|
typeUrl: string;
|
|
71
|
+
aminoType: string;
|
|
81
72
|
encode(message: EventRevoke, writer?: BinaryWriter): BinaryWriter;
|
|
82
73
|
decode(input: BinaryReader | Uint8Array, length?: number): EventRevoke;
|
|
83
|
-
fromPartial(object:
|
|
74
|
+
fromPartial(object: DeepPartial<EventRevoke>): EventRevoke;
|
|
84
75
|
fromAmino(object: EventRevokeAmino): EventRevoke;
|
|
85
76
|
toAmino(message: EventRevoke): EventRevokeAmino;
|
|
86
77
|
fromAminoMsg(object: EventRevokeAminoMsg): EventRevoke;
|
|
@@ -12,6 +12,7 @@ function createBaseEventGrant() {
|
|
|
12
12
|
}
|
|
13
13
|
exports.EventGrant = {
|
|
14
14
|
typeUrl: "/cosmos.authz.v1beta1.EventGrant",
|
|
15
|
+
aminoType: "cosmos-sdk/EventGrant",
|
|
15
16
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
16
17
|
if (message.msgTypeUrl !== "") {
|
|
17
18
|
writer.uint32(18).string(message.msgTypeUrl);
|
|
@@ -105,6 +106,7 @@ function createBaseEventRevoke() {
|
|
|
105
106
|
}
|
|
106
107
|
exports.EventRevoke = {
|
|
107
108
|
typeUrl: "/cosmos.authz.v1beta1.EventRevoke",
|
|
109
|
+
aminoType: "cosmos-sdk/EventRevoke",
|
|
108
110
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
109
111
|
if (message.msgTypeUrl !== "") {
|
|
110
112
|
writer.uint32(18).string(message.msgTypeUrl);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { GrantAuthorization, GrantAuthorizationAmino
|
|
1
|
+
import { GrantAuthorization, GrantAuthorizationAmino } from "./authz";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
4
|
/** GenesisState defines the authz module's genesis state. */
|
|
4
5
|
export interface GenesisState {
|
|
5
6
|
authorization: GrantAuthorization[];
|
|
@@ -16,15 +17,12 @@ export interface GenesisStateAminoMsg {
|
|
|
16
17
|
type: "cosmos-sdk/GenesisState";
|
|
17
18
|
value: GenesisStateAmino;
|
|
18
19
|
}
|
|
19
|
-
/** GenesisState defines the authz module's genesis state. */
|
|
20
|
-
export interface GenesisStateSDKType {
|
|
21
|
-
authorization: GrantAuthorizationSDKType[];
|
|
22
|
-
}
|
|
23
20
|
export declare const GenesisState: {
|
|
24
21
|
typeUrl: string;
|
|
22
|
+
aminoType: string;
|
|
25
23
|
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
26
24
|
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
27
|
-
fromPartial(object:
|
|
25
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
28
26
|
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
29
27
|
toAmino(message: GenesisState): GenesisStateAmino;
|
|
30
28
|
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
@@ -11,6 +11,7 @@ function createBaseGenesisState() {
|
|
|
11
11
|
}
|
|
12
12
|
exports.GenesisState = {
|
|
13
13
|
typeUrl: "/cosmos.authz.v1beta1.GenesisState",
|
|
14
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
14
15
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
15
16
|
for (const v of message.authorization) {
|
|
16
17
|
authz_1.GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PageRequest, PageRequestAmino,
|
|
2
|
-
import { Grant, GrantAmino,
|
|
1
|
+
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
|
|
2
|
+
import { Grant, GrantAmino, GrantAuthorization, GrantAuthorizationAmino } from "./authz";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
5
|
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
|
|
5
6
|
export interface QueryGrantsRequest {
|
|
6
7
|
granter: string;
|
|
@@ -27,13 +28,6 @@ export interface QueryGrantsRequestAminoMsg {
|
|
|
27
28
|
type: "cosmos-sdk/QueryGrantsRequest";
|
|
28
29
|
value: QueryGrantsRequestAmino;
|
|
29
30
|
}
|
|
30
|
-
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
|
|
31
|
-
export interface QueryGrantsRequestSDKType {
|
|
32
|
-
granter: string;
|
|
33
|
-
grantee: string;
|
|
34
|
-
msg_type_url: string;
|
|
35
|
-
pagination?: PageRequestSDKType;
|
|
36
|
-
}
|
|
37
31
|
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
|
|
38
32
|
export interface QueryGrantsResponse {
|
|
39
33
|
/** authorizations is a list of grants granted for grantee by granter. */
|
|
@@ -56,11 +50,6 @@ export interface QueryGrantsResponseAminoMsg {
|
|
|
56
50
|
type: "cosmos-sdk/QueryGrantsResponse";
|
|
57
51
|
value: QueryGrantsResponseAmino;
|
|
58
52
|
}
|
|
59
|
-
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
|
|
60
|
-
export interface QueryGrantsResponseSDKType {
|
|
61
|
-
grants: GrantSDKType[];
|
|
62
|
-
pagination?: PageResponseSDKType;
|
|
63
|
-
}
|
|
64
53
|
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
|
|
65
54
|
export interface QueryGranterGrantsRequest {
|
|
66
55
|
granter: string;
|
|
@@ -81,11 +70,6 @@ export interface QueryGranterGrantsRequestAminoMsg {
|
|
|
81
70
|
type: "cosmos-sdk/QueryGranterGrantsRequest";
|
|
82
71
|
value: QueryGranterGrantsRequestAmino;
|
|
83
72
|
}
|
|
84
|
-
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
|
|
85
|
-
export interface QueryGranterGrantsRequestSDKType {
|
|
86
|
-
granter: string;
|
|
87
|
-
pagination?: PageRequestSDKType;
|
|
88
|
-
}
|
|
89
73
|
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
|
|
90
74
|
export interface QueryGranterGrantsResponse {
|
|
91
75
|
/** grants is a list of grants granted by the granter. */
|
|
@@ -108,11 +92,6 @@ export interface QueryGranterGrantsResponseAminoMsg {
|
|
|
108
92
|
type: "cosmos-sdk/QueryGranterGrantsResponse";
|
|
109
93
|
value: QueryGranterGrantsResponseAmino;
|
|
110
94
|
}
|
|
111
|
-
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
|
|
112
|
-
export interface QueryGranterGrantsResponseSDKType {
|
|
113
|
-
grants: GrantAuthorizationSDKType[];
|
|
114
|
-
pagination?: PageResponseSDKType;
|
|
115
|
-
}
|
|
116
95
|
/** QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method. */
|
|
117
96
|
export interface QueryGranteeGrantsRequest {
|
|
118
97
|
grantee: string;
|
|
@@ -133,11 +112,6 @@ export interface QueryGranteeGrantsRequestAminoMsg {
|
|
|
133
112
|
type: "cosmos-sdk/QueryGranteeGrantsRequest";
|
|
134
113
|
value: QueryGranteeGrantsRequestAmino;
|
|
135
114
|
}
|
|
136
|
-
/** QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method. */
|
|
137
|
-
export interface QueryGranteeGrantsRequestSDKType {
|
|
138
|
-
grantee: string;
|
|
139
|
-
pagination?: PageRequestSDKType;
|
|
140
|
-
}
|
|
141
115
|
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
|
|
142
116
|
export interface QueryGranteeGrantsResponse {
|
|
143
117
|
/** grants is a list of grants granted to the grantee. */
|
|
@@ -160,16 +134,12 @@ export interface QueryGranteeGrantsResponseAminoMsg {
|
|
|
160
134
|
type: "cosmos-sdk/QueryGranteeGrantsResponse";
|
|
161
135
|
value: QueryGranteeGrantsResponseAmino;
|
|
162
136
|
}
|
|
163
|
-
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
|
|
164
|
-
export interface QueryGranteeGrantsResponseSDKType {
|
|
165
|
-
grants: GrantAuthorizationSDKType[];
|
|
166
|
-
pagination?: PageResponseSDKType;
|
|
167
|
-
}
|
|
168
137
|
export declare const QueryGrantsRequest: {
|
|
169
138
|
typeUrl: string;
|
|
139
|
+
aminoType: string;
|
|
170
140
|
encode(message: QueryGrantsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
171
141
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGrantsRequest;
|
|
172
|
-
fromPartial(object:
|
|
142
|
+
fromPartial(object: DeepPartial<QueryGrantsRequest>): QueryGrantsRequest;
|
|
173
143
|
fromAmino(object: QueryGrantsRequestAmino): QueryGrantsRequest;
|
|
174
144
|
toAmino(message: QueryGrantsRequest): QueryGrantsRequestAmino;
|
|
175
145
|
fromAminoMsg(object: QueryGrantsRequestAminoMsg): QueryGrantsRequest;
|
|
@@ -180,9 +150,10 @@ export declare const QueryGrantsRequest: {
|
|
|
180
150
|
};
|
|
181
151
|
export declare const QueryGrantsResponse: {
|
|
182
152
|
typeUrl: string;
|
|
153
|
+
aminoType: string;
|
|
183
154
|
encode(message: QueryGrantsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
184
155
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGrantsResponse;
|
|
185
|
-
fromPartial(object:
|
|
156
|
+
fromPartial(object: DeepPartial<QueryGrantsResponse>): QueryGrantsResponse;
|
|
186
157
|
fromAmino(object: QueryGrantsResponseAmino): QueryGrantsResponse;
|
|
187
158
|
toAmino(message: QueryGrantsResponse): QueryGrantsResponseAmino;
|
|
188
159
|
fromAminoMsg(object: QueryGrantsResponseAminoMsg): QueryGrantsResponse;
|
|
@@ -193,9 +164,10 @@ export declare const QueryGrantsResponse: {
|
|
|
193
164
|
};
|
|
194
165
|
export declare const QueryGranterGrantsRequest: {
|
|
195
166
|
typeUrl: string;
|
|
167
|
+
aminoType: string;
|
|
196
168
|
encode(message: QueryGranterGrantsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
197
169
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGranterGrantsRequest;
|
|
198
|
-
fromPartial(object:
|
|
170
|
+
fromPartial(object: DeepPartial<QueryGranterGrantsRequest>): QueryGranterGrantsRequest;
|
|
199
171
|
fromAmino(object: QueryGranterGrantsRequestAmino): QueryGranterGrantsRequest;
|
|
200
172
|
toAmino(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAmino;
|
|
201
173
|
fromAminoMsg(object: QueryGranterGrantsRequestAminoMsg): QueryGranterGrantsRequest;
|
|
@@ -206,9 +178,10 @@ export declare const QueryGranterGrantsRequest: {
|
|
|
206
178
|
};
|
|
207
179
|
export declare const QueryGranterGrantsResponse: {
|
|
208
180
|
typeUrl: string;
|
|
181
|
+
aminoType: string;
|
|
209
182
|
encode(message: QueryGranterGrantsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
210
183
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGranterGrantsResponse;
|
|
211
|
-
fromPartial(object:
|
|
184
|
+
fromPartial(object: DeepPartial<QueryGranterGrantsResponse>): QueryGranterGrantsResponse;
|
|
212
185
|
fromAmino(object: QueryGranterGrantsResponseAmino): QueryGranterGrantsResponse;
|
|
213
186
|
toAmino(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAmino;
|
|
214
187
|
fromAminoMsg(object: QueryGranterGrantsResponseAminoMsg): QueryGranterGrantsResponse;
|
|
@@ -219,9 +192,10 @@ export declare const QueryGranterGrantsResponse: {
|
|
|
219
192
|
};
|
|
220
193
|
export declare const QueryGranteeGrantsRequest: {
|
|
221
194
|
typeUrl: string;
|
|
195
|
+
aminoType: string;
|
|
222
196
|
encode(message: QueryGranteeGrantsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
223
197
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGranteeGrantsRequest;
|
|
224
|
-
fromPartial(object:
|
|
198
|
+
fromPartial(object: DeepPartial<QueryGranteeGrantsRequest>): QueryGranteeGrantsRequest;
|
|
225
199
|
fromAmino(object: QueryGranteeGrantsRequestAmino): QueryGranteeGrantsRequest;
|
|
226
200
|
toAmino(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAmino;
|
|
227
201
|
fromAminoMsg(object: QueryGranteeGrantsRequestAminoMsg): QueryGranteeGrantsRequest;
|
|
@@ -232,9 +206,10 @@ export declare const QueryGranteeGrantsRequest: {
|
|
|
232
206
|
};
|
|
233
207
|
export declare const QueryGranteeGrantsResponse: {
|
|
234
208
|
typeUrl: string;
|
|
209
|
+
aminoType: string;
|
|
235
210
|
encode(message: QueryGranteeGrantsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
236
211
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryGranteeGrantsResponse;
|
|
237
|
-
fromPartial(object:
|
|
212
|
+
fromPartial(object: DeepPartial<QueryGranteeGrantsResponse>): QueryGranteeGrantsResponse;
|
|
238
213
|
fromAmino(object: QueryGranteeGrantsResponseAmino): QueryGranteeGrantsResponse;
|
|
239
214
|
toAmino(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAmino;
|
|
240
215
|
fromAminoMsg(object: QueryGranteeGrantsResponseAminoMsg): QueryGranteeGrantsResponse;
|
|
@@ -15,6 +15,7 @@ function createBaseQueryGrantsRequest() {
|
|
|
15
15
|
}
|
|
16
16
|
exports.QueryGrantsRequest = {
|
|
17
17
|
typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest",
|
|
18
|
+
aminoType: "cosmos-sdk/QueryGrantsRequest",
|
|
18
19
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
19
20
|
if (message.granter !== "") {
|
|
20
21
|
writer.uint32(10).string(message.granter);
|
|
@@ -118,6 +119,7 @@ function createBaseQueryGrantsResponse() {
|
|
|
118
119
|
}
|
|
119
120
|
exports.QueryGrantsResponse = {
|
|
120
121
|
typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse",
|
|
122
|
+
aminoType: "cosmos-sdk/QueryGrantsResponse",
|
|
121
123
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
122
124
|
for (const v of message.grants) {
|
|
123
125
|
authz_1.Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -202,6 +204,7 @@ function createBaseQueryGranterGrantsRequest() {
|
|
|
202
204
|
}
|
|
203
205
|
exports.QueryGranterGrantsRequest = {
|
|
204
206
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest",
|
|
207
|
+
aminoType: "cosmos-sdk/QueryGranterGrantsRequest",
|
|
205
208
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
206
209
|
if (message.granter !== "") {
|
|
207
210
|
writer.uint32(10).string(message.granter);
|
|
@@ -283,6 +286,7 @@ function createBaseQueryGranterGrantsResponse() {
|
|
|
283
286
|
}
|
|
284
287
|
exports.QueryGranterGrantsResponse = {
|
|
285
288
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse",
|
|
289
|
+
aminoType: "cosmos-sdk/QueryGranterGrantsResponse",
|
|
286
290
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
287
291
|
for (const v of message.grants) {
|
|
288
292
|
authz_1.GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -367,6 +371,7 @@ function createBaseQueryGranteeGrantsRequest() {
|
|
|
367
371
|
}
|
|
368
372
|
exports.QueryGranteeGrantsRequest = {
|
|
369
373
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest",
|
|
374
|
+
aminoType: "cosmos-sdk/QueryGranteeGrantsRequest",
|
|
370
375
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
371
376
|
if (message.grantee !== "") {
|
|
372
377
|
writer.uint32(10).string(message.grantee);
|
|
@@ -448,6 +453,7 @@ function createBaseQueryGranteeGrantsResponse() {
|
|
|
448
453
|
}
|
|
449
454
|
exports.QueryGranteeGrantsResponse = {
|
|
450
455
|
typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse",
|
|
456
|
+
aminoType: "cosmos-sdk/QueryGranteeGrantsResponse",
|
|
451
457
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
452
458
|
for (const v of message.grants) {
|
|
453
459
|
authz_1.GrantAuthorization.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryGrantsRequest,
|
|
2
|
+
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
6
6
|
requestClient: LCDClient;
|
|
7
7
|
});
|
|
8
|
-
grants(params: QueryGrantsRequest)
|
|
9
|
-
granterGrants(params: QueryGranterGrantsRequest)
|
|
10
|
-
granteeGrants(params: QueryGranteeGrantsRequest)
|
|
8
|
+
grants: (params: QueryGrantsRequest) => Promise<QueryGrantsResponse>;
|
|
9
|
+
granterGrants: (params: QueryGranterGrantsRequest) => Promise<QueryGranterGrantsResponse>;
|
|
10
|
+
granteeGrants: (params: QueryGranteeGrantsRequest) => Promise<QueryGranteeGrantsResponse>;
|
|
11
11
|
}
|
|
@@ -7,12 +7,9 @@ class LCDQueryClient {
|
|
|
7
7
|
req;
|
|
8
8
|
constructor({ requestClient }) {
|
|
9
9
|
this.req = requestClient;
|
|
10
|
-
this.grants = this.grants.bind(this);
|
|
11
|
-
this.granterGrants = this.granterGrants.bind(this);
|
|
12
|
-
this.granteeGrants = this.granteeGrants.bind(this);
|
|
13
10
|
}
|
|
14
11
|
/* Returns list of `Authorization`, granted to the grantee by the granter. */
|
|
15
|
-
async
|
|
12
|
+
grants = async (params) => {
|
|
16
13
|
const options = {
|
|
17
14
|
params: {}
|
|
18
15
|
};
|
|
@@ -30,11 +27,11 @@ class LCDQueryClient {
|
|
|
30
27
|
}
|
|
31
28
|
const endpoint = `cosmos/authz/v1beta1/grants`;
|
|
32
29
|
return await this.req.get(endpoint, options);
|
|
33
|
-
}
|
|
30
|
+
};
|
|
34
31
|
/* GranterGrants returns list of `GrantAuthorization`, granted by granter.
|
|
35
32
|
|
|
36
33
|
Since: cosmos-sdk 0.46 */
|
|
37
|
-
async
|
|
34
|
+
granterGrants = async (params) => {
|
|
38
35
|
const options = {
|
|
39
36
|
params: {}
|
|
40
37
|
};
|
|
@@ -43,11 +40,11 @@ class LCDQueryClient {
|
|
|
43
40
|
}
|
|
44
41
|
const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`;
|
|
45
42
|
return await this.req.get(endpoint, options);
|
|
46
|
-
}
|
|
43
|
+
};
|
|
47
44
|
/* GranteeGrants returns a list of `GrantAuthorization` by grantee.
|
|
48
45
|
|
|
49
46
|
Since: cosmos-sdk 0.46 */
|
|
50
|
-
async
|
|
47
|
+
granteeGrants = async (params) => {
|
|
51
48
|
const options = {
|
|
52
49
|
params: {}
|
|
53
50
|
};
|
|
@@ -56,6 +53,6 @@ class LCDQueryClient {
|
|
|
56
53
|
}
|
|
57
54
|
const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`;
|
|
58
55
|
return await this.req.get(endpoint, options);
|
|
59
|
-
}
|
|
56
|
+
};
|
|
60
57
|
}
|
|
61
58
|
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service. */
|
|
@@ -20,10 +20,10 @@ export interface Query {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class QueryClientImpl implements Query {
|
|
22
22
|
private readonly rpc;
|
|
23
|
-
constructor(rpc:
|
|
24
|
-
grants(request: QueryGrantsRequest)
|
|
25
|
-
granterGrants(request: QueryGranterGrantsRequest)
|
|
26
|
-
granteeGrants(request: QueryGranteeGrantsRequest)
|
|
23
|
+
constructor(rpc: TxRpc);
|
|
24
|
+
grants: (request: QueryGrantsRequest) => Promise<QueryGrantsResponse>;
|
|
25
|
+
granterGrants: (request: QueryGranterGrantsRequest) => Promise<QueryGranterGrantsResponse>;
|
|
26
|
+
granteeGrants: (request: QueryGranteeGrantsRequest) => Promise<QueryGranteeGrantsResponse>;
|
|
27
27
|
}
|
|
28
28
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
29
29
|
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
|
|
@@ -8,25 +8,29 @@ class QueryClientImpl {
|
|
|
8
8
|
rpc;
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
|
-
this.grants = this.grants.bind(this);
|
|
12
|
-
this.granterGrants = this.granterGrants.bind(this);
|
|
13
|
-
this.granteeGrants = this.granteeGrants.bind(this);
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
/* Returns list of `Authorization`, granted to the grantee by the granter. */
|
|
13
|
+
grants = async (request) => {
|
|
16
14
|
const data = query_1.QueryGrantsRequest.encode(request).finish();
|
|
17
15
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data);
|
|
18
16
|
return promise.then(data => query_1.QueryGrantsResponse.decode(new binary_1.BinaryReader(data)));
|
|
19
|
-
}
|
|
20
|
-
|
|
17
|
+
};
|
|
18
|
+
/* GranterGrants returns list of `GrantAuthorization`, granted by granter.
|
|
19
|
+
|
|
20
|
+
Since: cosmos-sdk 0.46 */
|
|
21
|
+
granterGrants = async (request) => {
|
|
21
22
|
const data = query_1.QueryGranterGrantsRequest.encode(request).finish();
|
|
22
23
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data);
|
|
23
24
|
return promise.then(data => query_1.QueryGranterGrantsResponse.decode(new binary_1.BinaryReader(data)));
|
|
24
|
-
}
|
|
25
|
-
|
|
25
|
+
};
|
|
26
|
+
/* GranteeGrants returns a list of `GrantAuthorization` by grantee.
|
|
27
|
+
|
|
28
|
+
Since: cosmos-sdk 0.46 */
|
|
29
|
+
granteeGrants = async (request) => {
|
|
26
30
|
const data = query_1.QueryGranteeGrantsRequest.encode(request).finish();
|
|
27
31
|
const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data);
|
|
28
32
|
return promise.then(data => query_1.QueryGranteeGrantsResponse.decode(new binary_1.BinaryReader(data)));
|
|
29
|
-
}
|
|
33
|
+
};
|
|
30
34
|
}
|
|
31
35
|
exports.QueryClientImpl = QueryClientImpl;
|
|
32
36
|
const createRpcQueryExtension = (base) => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Grant, GrantAmino
|
|
2
|
-
import { Any, AnyProtoMsg, AnyAmino
|
|
1
|
+
import { Grant, GrantAmino } from "./authz";
|
|
2
|
+
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
5
|
/**
|
|
5
6
|
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
|
|
6
7
|
* on behalf of the granter with the provided expiration time.
|
|
@@ -27,15 +28,6 @@ export interface MsgGrantAminoMsg {
|
|
|
27
28
|
type: "cosmos-sdk/MsgGrant";
|
|
28
29
|
value: MsgGrantAmino;
|
|
29
30
|
}
|
|
30
|
-
/**
|
|
31
|
-
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
|
|
32
|
-
* on behalf of the granter with the provided expiration time.
|
|
33
|
-
*/
|
|
34
|
-
export interface MsgGrantSDKType {
|
|
35
|
-
granter: string;
|
|
36
|
-
grantee: string;
|
|
37
|
-
grant: GrantSDKType;
|
|
38
|
-
}
|
|
39
31
|
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
|
|
40
32
|
export interface MsgGrantResponse {
|
|
41
33
|
}
|
|
@@ -50,9 +42,6 @@ export interface MsgGrantResponseAminoMsg {
|
|
|
50
42
|
type: "cosmos-sdk/MsgGrantResponse";
|
|
51
43
|
value: MsgGrantResponseAmino;
|
|
52
44
|
}
|
|
53
|
-
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
|
|
54
|
-
export interface MsgGrantResponseSDKType {
|
|
55
|
-
}
|
|
56
45
|
/**
|
|
57
46
|
* MsgExec attempts to execute the provided messages using
|
|
58
47
|
* authorizations granted to the grantee. Each message should have only
|
|
@@ -97,15 +86,6 @@ export interface MsgExecAminoMsg {
|
|
|
97
86
|
type: "cosmos-sdk/MsgExec";
|
|
98
87
|
value: MsgExecAmino;
|
|
99
88
|
}
|
|
100
|
-
/**
|
|
101
|
-
* MsgExec attempts to execute the provided messages using
|
|
102
|
-
* authorizations granted to the grantee. Each message should have only
|
|
103
|
-
* one signer corresponding to the granter of the authorization.
|
|
104
|
-
*/
|
|
105
|
-
export interface MsgExecSDKType {
|
|
106
|
-
grantee: string;
|
|
107
|
-
msgs: (AnySDKType)[];
|
|
108
|
-
}
|
|
109
89
|
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
|
|
110
90
|
export interface MsgExecResponse {
|
|
111
91
|
results: Uint8Array[];
|
|
@@ -122,10 +102,6 @@ export interface MsgExecResponseAminoMsg {
|
|
|
122
102
|
type: "cosmos-sdk/MsgExecResponse";
|
|
123
103
|
value: MsgExecResponseAmino;
|
|
124
104
|
}
|
|
125
|
-
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
|
|
126
|
-
export interface MsgExecResponseSDKType {
|
|
127
|
-
results: Uint8Array[];
|
|
128
|
-
}
|
|
129
105
|
/**
|
|
130
106
|
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
|
|
131
107
|
* granter's account with that has been granted to the grantee.
|
|
@@ -152,15 +128,6 @@ export interface MsgRevokeAminoMsg {
|
|
|
152
128
|
type: "cosmos-sdk/MsgRevoke";
|
|
153
129
|
value: MsgRevokeAmino;
|
|
154
130
|
}
|
|
155
|
-
/**
|
|
156
|
-
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
|
|
157
|
-
* granter's account with that has been granted to the grantee.
|
|
158
|
-
*/
|
|
159
|
-
export interface MsgRevokeSDKType {
|
|
160
|
-
granter: string;
|
|
161
|
-
grantee: string;
|
|
162
|
-
msg_type_url: string;
|
|
163
|
-
}
|
|
164
131
|
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
|
|
165
132
|
export interface MsgRevokeResponse {
|
|
166
133
|
}
|
|
@@ -175,14 +142,12 @@ export interface MsgRevokeResponseAminoMsg {
|
|
|
175
142
|
type: "cosmos-sdk/MsgRevokeResponse";
|
|
176
143
|
value: MsgRevokeResponseAmino;
|
|
177
144
|
}
|
|
178
|
-
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
|
|
179
|
-
export interface MsgRevokeResponseSDKType {
|
|
180
|
-
}
|
|
181
145
|
export declare const MsgGrant: {
|
|
182
146
|
typeUrl: string;
|
|
147
|
+
aminoType: string;
|
|
183
148
|
encode(message: MsgGrant, writer?: BinaryWriter): BinaryWriter;
|
|
184
149
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgGrant;
|
|
185
|
-
fromPartial(object:
|
|
150
|
+
fromPartial(object: DeepPartial<MsgGrant>): MsgGrant;
|
|
186
151
|
fromAmino(object: MsgGrantAmino): MsgGrant;
|
|
187
152
|
toAmino(message: MsgGrant): MsgGrantAmino;
|
|
188
153
|
fromAminoMsg(object: MsgGrantAminoMsg): MsgGrant;
|
|
@@ -193,9 +158,10 @@ export declare const MsgGrant: {
|
|
|
193
158
|
};
|
|
194
159
|
export declare const MsgGrantResponse: {
|
|
195
160
|
typeUrl: string;
|
|
161
|
+
aminoType: string;
|
|
196
162
|
encode(_: MsgGrantResponse, writer?: BinaryWriter): BinaryWriter;
|
|
197
163
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantResponse;
|
|
198
|
-
fromPartial(_:
|
|
164
|
+
fromPartial(_: DeepPartial<MsgGrantResponse>): MsgGrantResponse;
|
|
199
165
|
fromAmino(_: MsgGrantResponseAmino): MsgGrantResponse;
|
|
200
166
|
toAmino(_: MsgGrantResponse): MsgGrantResponseAmino;
|
|
201
167
|
fromAminoMsg(object: MsgGrantResponseAminoMsg): MsgGrantResponse;
|
|
@@ -206,9 +172,10 @@ export declare const MsgGrantResponse: {
|
|
|
206
172
|
};
|
|
207
173
|
export declare const MsgExec: {
|
|
208
174
|
typeUrl: string;
|
|
175
|
+
aminoType: string;
|
|
209
176
|
encode(message: MsgExec, writer?: BinaryWriter): BinaryWriter;
|
|
210
177
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgExec;
|
|
211
|
-
fromPartial(object:
|
|
178
|
+
fromPartial(object: DeepPartial<MsgExec>): MsgExec;
|
|
212
179
|
fromAmino(object: MsgExecAmino): MsgExec;
|
|
213
180
|
toAmino(message: MsgExec): MsgExecAmino;
|
|
214
181
|
fromAminoMsg(object: MsgExecAminoMsg): MsgExec;
|
|
@@ -219,9 +186,10 @@ export declare const MsgExec: {
|
|
|
219
186
|
};
|
|
220
187
|
export declare const MsgExecResponse: {
|
|
221
188
|
typeUrl: string;
|
|
189
|
+
aminoType: string;
|
|
222
190
|
encode(message: MsgExecResponse, writer?: BinaryWriter): BinaryWriter;
|
|
223
191
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgExecResponse;
|
|
224
|
-
fromPartial(object:
|
|
192
|
+
fromPartial(object: DeepPartial<MsgExecResponse>): MsgExecResponse;
|
|
225
193
|
fromAmino(object: MsgExecResponseAmino): MsgExecResponse;
|
|
226
194
|
toAmino(message: MsgExecResponse): MsgExecResponseAmino;
|
|
227
195
|
fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse;
|
|
@@ -232,9 +200,10 @@ export declare const MsgExecResponse: {
|
|
|
232
200
|
};
|
|
233
201
|
export declare const MsgRevoke: {
|
|
234
202
|
typeUrl: string;
|
|
203
|
+
aminoType: string;
|
|
235
204
|
encode(message: MsgRevoke, writer?: BinaryWriter): BinaryWriter;
|
|
236
205
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgRevoke;
|
|
237
|
-
fromPartial(object:
|
|
206
|
+
fromPartial(object: DeepPartial<MsgRevoke>): MsgRevoke;
|
|
238
207
|
fromAmino(object: MsgRevokeAmino): MsgRevoke;
|
|
239
208
|
toAmino(message: MsgRevoke): MsgRevokeAmino;
|
|
240
209
|
fromAminoMsg(object: MsgRevokeAminoMsg): MsgRevoke;
|
|
@@ -245,9 +214,10 @@ export declare const MsgRevoke: {
|
|
|
245
214
|
};
|
|
246
215
|
export declare const MsgRevokeResponse: {
|
|
247
216
|
typeUrl: string;
|
|
217
|
+
aminoType: string;
|
|
248
218
|
encode(_: MsgRevokeResponse, writer?: BinaryWriter): BinaryWriter;
|
|
249
219
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeResponse;
|
|
250
|
-
fromPartial(_:
|
|
220
|
+
fromPartial(_: DeepPartial<MsgRevokeResponse>): MsgRevokeResponse;
|
|
251
221
|
fromAmino(_: MsgRevokeResponseAmino): MsgRevokeResponse;
|
|
252
222
|
toAmino(_: MsgRevokeResponse): MsgRevokeResponseAmino;
|
|
253
223
|
fromAminoMsg(object: MsgRevokeResponseAminoMsg): MsgRevokeResponse;
|
|
@@ -15,6 +15,7 @@ function createBaseMsgGrant() {
|
|
|
15
15
|
}
|
|
16
16
|
exports.MsgGrant = {
|
|
17
17
|
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
18
|
+
aminoType: "cosmos-sdk/MsgGrant",
|
|
18
19
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
19
20
|
if (message.granter !== "") {
|
|
20
21
|
writer.uint32(10).string(message.granter);
|
|
@@ -104,6 +105,7 @@ function createBaseMsgGrantResponse() {
|
|
|
104
105
|
}
|
|
105
106
|
exports.MsgGrantResponse = {
|
|
106
107
|
typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse",
|
|
108
|
+
aminoType: "cosmos-sdk/MsgGrantResponse",
|
|
107
109
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
108
110
|
return writer;
|
|
109
111
|
},
|
|
@@ -163,6 +165,7 @@ function createBaseMsgExec() {
|
|
|
163
165
|
}
|
|
164
166
|
exports.MsgExec = {
|
|
165
167
|
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
168
|
+
aminoType: "cosmos-sdk/MsgExec",
|
|
166
169
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
167
170
|
if (message.grantee !== "") {
|
|
168
171
|
writer.uint32(10).string(message.grantee);
|
|
@@ -246,6 +249,7 @@ function createBaseMsgExecResponse() {
|
|
|
246
249
|
}
|
|
247
250
|
exports.MsgExecResponse = {
|
|
248
251
|
typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse",
|
|
252
|
+
aminoType: "cosmos-sdk/MsgExecResponse",
|
|
249
253
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
250
254
|
for (const v of message.results) {
|
|
251
255
|
writer.uint32(10).bytes(v);
|
|
@@ -320,6 +324,7 @@ function createBaseMsgRevoke() {
|
|
|
320
324
|
}
|
|
321
325
|
exports.MsgRevoke = {
|
|
322
326
|
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
327
|
+
aminoType: "cosmos-sdk/MsgRevoke",
|
|
323
328
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
324
329
|
if (message.granter !== "") {
|
|
325
330
|
writer.uint32(10).string(message.granter);
|
|
@@ -409,6 +414,7 @@ function createBaseMsgRevokeResponse() {
|
|
|
409
414
|
}
|
|
410
415
|
exports.MsgRevokeResponse = {
|
|
411
416
|
typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse",
|
|
417
|
+
aminoType: "cosmos-sdk/MsgRevokeResponse",
|
|
412
418
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
413
419
|
return writer;
|
|
414
420
|
},
|