@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +2 -20
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +3 -18
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +2 -11
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +5 -39
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +3 -7
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +23 -139
- package/cosmos/auth/v1beta1/query.js +20 -0
- package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +3 -18
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +1 -3
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +8 -35
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +2 -12
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +2 -5
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +8 -34
- package/cosmos/authz/v1beta1/query.js +6 -0
- package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +8 -39
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +1 -6
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +2 -13
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +8 -59
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +4 -18
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +30 -199
- package/cosmos/bank/v1beta1/query.js +27 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
- package/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +13 -13
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +10 -57
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +14 -101
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +4 -21
- package/cosmos/base/node/v1beta1/query.js +4 -0
- package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +2 -2
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +2 -29
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +26 -128
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +4 -34
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +2 -18
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +1 -10
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +3 -11
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +669 -17
- package/cosmos/circuit/module/v1/module.d.ts +1 -4
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +8 -26
- package/cosmos/circuit/v1/query.js +6 -0
- package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
- package/cosmos/circuit/v1/query.lcd.js +7 -10
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +7 -29
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +3 -19
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +1 -4
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +3 -8
- package/cosmos/consensus/v1/query.js +2 -0
- package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
- package/cosmos/consensus/v1/query.lcd.js +2 -3
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +1 -1
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +3 -15
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +1 -4
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +2 -7
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +1 -1
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +2 -9
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +1 -5
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +2 -17
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +1 -8
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +7 -28
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +2 -10
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -18
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +2 -14
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +2 -8
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +1 -5
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +13 -122
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +10 -64
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +23 -137
- package/cosmos/distribution/v1beta1/query.js +20 -0
- package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +16 -112
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +1 -3
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +2 -9
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +3 -18
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +5 -28
- package/cosmos/epochs/v1beta1/query.js +4 -0
- package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +1 -3
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +1 -3
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +7 -39
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +2 -5
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +8 -39
- package/cosmos/feegrant/v1beta1/query.js +6 -0
- package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +8 -37
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +1 -3
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +1 -5
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +2 -16
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +12 -95
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +20 -92
- package/cosmos/gov/v1/query.js +18 -0
- package/cosmos/gov/v1/query.lcd.d.ts +10 -10
- package/cosmos/gov/v1/query.lcd.js +18 -27
- package/cosmos/gov/v1/query.rpc.Query.d.ts +9 -9
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +21 -101
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +2 -11
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +15 -81
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +18 -81
- package/cosmos/gov/v1beta1/query.js +16 -0
- package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
- package/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +8 -8
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +14 -54
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +2 -6
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +12 -51
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +2 -12
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +30 -140
- package/cosmos/group/v1/query.js +28 -0
- package/cosmos/group/v1/query.lcd.d.ts +15 -15
- package/cosmos/group/v1/query.lcd.js +29 -43
- package/cosmos/group/v1/query.rpc.Query.d.ts +14 -14
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +30 -142
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.rpc.msg.d.ts +15 -14
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +13 -119
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +13 -157
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +1 -5
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +2 -6
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +2 -14
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +7 -31
- package/cosmos/mint/v1beta1/query.js +6 -0
- package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +3 -18
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +1 -3
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +1 -7
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +10 -46
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +2 -2
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +1 -3
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +2 -17
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +6 -37
- package/cosmos/params/v1beta1/query.js +5 -0
- package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +1 -4
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +2 -6
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +10 -49
- package/cosmos/protocolpool/v1/query.js +8 -0
- package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
- package/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +4 -4
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +12 -67
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +2 -11
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +3 -8
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +1 -4
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +1 -7
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +3 -19
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +3 -17
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +30 -185
- package/cosmos/staking/v1beta1/query.js +28 -0
- package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
- package/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +14 -14
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +26 -193
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +17 -102
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +2 -9
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +7 -59
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +6 -19
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +3 -25
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +3 -23
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +1 -5
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +7 -33
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +23 -170
- package/cosmos/tx/v1beta1/service.js +19 -3
- package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
- package/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +9 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +16 -123
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +1 -4
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +11 -77
- package/cosmos/upgrade/v1beta1/query.js +10 -0
- package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
- package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +5 -32
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +3 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +5 -47
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +1 -3
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +8 -54
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +8 -53
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +0 -1
- package/cosmos_proto/cosmos.d.ts +0 -23
- package/cosmos_proto/cosmos.js +1 -2
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/esm/cosmos/app/v1alpha1/module.js +3 -0
- package/esm/cosmos/auth/module/v1/module.js +2 -0
- package/esm/cosmos/auth/v1beta1/auth.js +4 -2
- package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
- package/esm/cosmos/auth/v1beta1/query.js +20 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/esm/cosmos/auth/v1beta1/tx.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +0 -20
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/google/api/http.d.ts +0 -292
- package/google/bundle.d.ts +0 -20
- package/google/protobuf/any.d.ts +0 -93
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +0 -336
- package/google/protobuf/descriptor.js +2 -22
- package/google/protobuf/duration.d.ts +0 -64
- package/google/protobuf/timestamp.d.ts +0 -95
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +1 -7
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +5 -17
- package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +8 -33
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +5 -37
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +2 -16
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +3 -8
- package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +1 -1
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +5 -19
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +2 -8
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +1 -12
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +3 -12
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +2 -28
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +3 -18
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +1 -9
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +4 -10
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +1 -12
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +16 -71
- package/ibc/applications/transfer/v1/query.js +12 -0
- package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
- package/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +6 -6
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +3 -15
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +1 -10
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +6 -33
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +290 -8
- package/ibc/core/channel/v1/channel.d.ts +9 -88
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +3 -21
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +32 -245
- package/ibc/core/channel/v1/query.js +28 -0
- package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
- package/ibc/core/channel/v1/query.lcd.js +29 -43
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +14 -14
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +22 -147
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +3 -24
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +4 -33
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +19 -101
- package/ibc/core/channel/v2/query.js +16 -0
- package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
- package/ibc/core/channel/v2/query.lcd.js +16 -24
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +8 -8
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +10 -48
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +6 -48
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +4 -27
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +26 -169
- package/ibc/core/client/v1/query.js +22 -0
- package/ibc/core/client/v1/query.lcd.d.ts +11 -11
- package/ibc/core/client/v1/query.lcd.js +21 -31
- package/ibc/core/client/v1/query.rpc.Query.d.ts +11 -11
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +19 -91
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +9 -8
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +1 -9
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +1 -5
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +3 -10
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +6 -24
- package/ibc/core/client/v2/query.js +4 -0
- package/ibc/core/client/v2/query.lcd.d.ts +3 -3
- package/ibc/core/client/v2/query.lcd.js +4 -6
- package/ibc/core/client/v2/query.rpc.Query.d.ts +2 -2
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +5 -20
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +3 -2
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +4 -26
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +1 -36
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +8 -54
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +2 -8
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +16 -95
- package/ibc/core/connection/v1/query.js +12 -0
- package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
- package/ibc/core/connection/v1/query.lcd.js +13 -19
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +6 -6
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +13 -97
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +19 -133
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +9 -67
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +11 -69
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +2 -8
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +5 -18
- package/ibc/lightclients/wasm/v1/query.js +4 -0
- package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +6 -27
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +5 -25
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +1 -5
- package/sparkdream/blog/module/module.d.ts +0 -4
- package/sparkdream/blog/params.d.ts +1 -3
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +0 -6
- package/sparkdream/blog/query.d.ts +3 -23
- package/sparkdream/blog/query.lcd.d.ts +4 -4
- package/sparkdream/blog/query.lcd.js +7 -10
- package/sparkdream/blog/query.rpc.Query.d.ts +3 -3
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +2 -34
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.rpc.msg.d.ts +5 -4
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +6 -0
- package/sparkdream/sparkdream/genesis.d.ts +1 -5
- package/sparkdream/sparkdream/module/module.d.ts +0 -4
- package/sparkdream/sparkdream/params.d.ts +1 -3
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +1 -8
- package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
- package/sparkdream/sparkdream/query.lcd.js +2 -3
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +1 -1
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +2 -12
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +2 -1
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +3 -309
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +0 -8
- package/tendermint/crypto/keys.d.ts +0 -5
- package/tendermint/crypto/proof.d.ts +0 -29
- package/tendermint/p2p/types.d.ts +0 -24
- package/tendermint/types/block.d.ts +2 -8
- package/tendermint/types/evidence.d.ts +2 -25
- package/tendermint/types/params.d.ts +1 -47
- package/tendermint/types/types.d.ts +3 -118
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +1 -17
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +0 -18
- package/types.d.ts +2 -55
|
@@ -5,67 +5,68 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.params = this.params.bind(this);
|
|
9
|
-
this.validatorDistributionInfo = this.validatorDistributionInfo.bind(this);
|
|
10
|
-
this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this);
|
|
11
|
-
this.validatorCommission = this.validatorCommission.bind(this);
|
|
12
|
-
this.validatorSlashes = this.validatorSlashes.bind(this);
|
|
13
|
-
this.delegationRewards = this.delegationRewards.bind(this);
|
|
14
|
-
this.delegationTotalRewards = this.delegationTotalRewards.bind(this);
|
|
15
|
-
this.delegatorValidators = this.delegatorValidators.bind(this);
|
|
16
|
-
this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this);
|
|
17
|
-
this.communityPool = this.communityPool.bind(this);
|
|
18
8
|
}
|
|
19
|
-
params
|
|
9
|
+
/* Params queries params of the distribution module. */
|
|
10
|
+
params = async (request = {}) => {
|
|
20
11
|
const data = QueryParamsRequest.encode(request).finish();
|
|
21
12
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data);
|
|
22
13
|
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
23
|
-
}
|
|
24
|
-
|
|
14
|
+
};
|
|
15
|
+
/* ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator */
|
|
16
|
+
validatorDistributionInfo = async (request) => {
|
|
25
17
|
const data = QueryValidatorDistributionInfoRequest.encode(request).finish();
|
|
26
18
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorDistributionInfo", data);
|
|
27
19
|
return promise.then(data => QueryValidatorDistributionInfoResponse.decode(new BinaryReader(data)));
|
|
28
|
-
}
|
|
29
|
-
|
|
20
|
+
};
|
|
21
|
+
/* ValidatorOutstandingRewards queries rewards of a validator address. */
|
|
22
|
+
validatorOutstandingRewards = async (request) => {
|
|
30
23
|
const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish();
|
|
31
24
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data);
|
|
32
25
|
return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new BinaryReader(data)));
|
|
33
|
-
}
|
|
34
|
-
|
|
26
|
+
};
|
|
27
|
+
/* ValidatorCommission queries accumulated commission for a validator. */
|
|
28
|
+
validatorCommission = async (request) => {
|
|
35
29
|
const data = QueryValidatorCommissionRequest.encode(request).finish();
|
|
36
30
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data);
|
|
37
31
|
return promise.then(data => QueryValidatorCommissionResponse.decode(new BinaryReader(data)));
|
|
38
|
-
}
|
|
39
|
-
|
|
32
|
+
};
|
|
33
|
+
/* ValidatorSlashes queries slash events of a validator. */
|
|
34
|
+
validatorSlashes = async (request) => {
|
|
40
35
|
const data = QueryValidatorSlashesRequest.encode(request).finish();
|
|
41
36
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data);
|
|
42
37
|
return promise.then(data => QueryValidatorSlashesResponse.decode(new BinaryReader(data)));
|
|
43
|
-
}
|
|
44
|
-
|
|
38
|
+
};
|
|
39
|
+
/* DelegationRewards queries the total rewards accrued by a delegation. */
|
|
40
|
+
delegationRewards = async (request) => {
|
|
45
41
|
const data = QueryDelegationRewardsRequest.encode(request).finish();
|
|
46
42
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data);
|
|
47
43
|
return promise.then(data => QueryDelegationRewardsResponse.decode(new BinaryReader(data)));
|
|
48
|
-
}
|
|
49
|
-
|
|
44
|
+
};
|
|
45
|
+
/* DelegationTotalRewards queries the total rewards accrued by each
|
|
46
|
+
validator. */
|
|
47
|
+
delegationTotalRewards = async (request) => {
|
|
50
48
|
const data = QueryDelegationTotalRewardsRequest.encode(request).finish();
|
|
51
49
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data);
|
|
52
50
|
return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new BinaryReader(data)));
|
|
53
|
-
}
|
|
54
|
-
|
|
51
|
+
};
|
|
52
|
+
/* DelegatorValidators queries the validators of a delegator. */
|
|
53
|
+
delegatorValidators = async (request) => {
|
|
55
54
|
const data = QueryDelegatorValidatorsRequest.encode(request).finish();
|
|
56
55
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data);
|
|
57
56
|
return promise.then(data => QueryDelegatorValidatorsResponse.decode(new BinaryReader(data)));
|
|
58
|
-
}
|
|
59
|
-
|
|
57
|
+
};
|
|
58
|
+
/* DelegatorWithdrawAddress queries withdraw address of a delegator. */
|
|
59
|
+
delegatorWithdrawAddress = async (request) => {
|
|
60
60
|
const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish();
|
|
61
61
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data);
|
|
62
62
|
return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new BinaryReader(data)));
|
|
63
|
-
}
|
|
64
|
-
|
|
63
|
+
};
|
|
64
|
+
/* CommunityPool queries the community pool coins. */
|
|
65
|
+
communityPool = async (request = {}) => {
|
|
65
66
|
const data = QueryCommunityPoolRequest.encode(request).finish();
|
|
66
67
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data);
|
|
67
68
|
return promise.then(data => QueryCommunityPoolResponse.decode(new BinaryReader(data)));
|
|
68
|
-
}
|
|
69
|
+
};
|
|
69
70
|
}
|
|
70
71
|
export const createRpcQueryExtension = (base) => {
|
|
71
72
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -10,6 +10,7 @@ function createBaseMsgSetWithdrawAddress() {
|
|
|
10
10
|
}
|
|
11
11
|
export const MsgSetWithdrawAddress = {
|
|
12
12
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
13
|
+
aminoType: "cosmos-sdk/MsgModifyWithdrawAddress",
|
|
13
14
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
15
|
if (message.delegatorAddress !== "") {
|
|
15
16
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -88,6 +89,7 @@ function createBaseMsgSetWithdrawAddressResponse() {
|
|
|
88
89
|
}
|
|
89
90
|
export const MsgSetWithdrawAddressResponse = {
|
|
90
91
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse",
|
|
92
|
+
aminoType: "cosmos-sdk/MsgSetWithdrawAddressResponse",
|
|
91
93
|
encode(_, writer = BinaryWriter.create()) {
|
|
92
94
|
return writer;
|
|
93
95
|
},
|
|
@@ -147,6 +149,7 @@ function createBaseMsgWithdrawDelegatorReward() {
|
|
|
147
149
|
}
|
|
148
150
|
export const MsgWithdrawDelegatorReward = {
|
|
149
151
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
152
|
+
aminoType: "cosmos-sdk/MsgWithdrawDelegationReward",
|
|
150
153
|
encode(message, writer = BinaryWriter.create()) {
|
|
151
154
|
if (message.delegatorAddress !== "") {
|
|
152
155
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -227,6 +230,7 @@ function createBaseMsgWithdrawDelegatorRewardResponse() {
|
|
|
227
230
|
}
|
|
228
231
|
export const MsgWithdrawDelegatorRewardResponse = {
|
|
229
232
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse",
|
|
233
|
+
aminoType: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse",
|
|
230
234
|
encode(message, writer = BinaryWriter.create()) {
|
|
231
235
|
for (const v of message.amount) {
|
|
232
236
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -299,6 +303,7 @@ function createBaseMsgWithdrawValidatorCommission() {
|
|
|
299
303
|
}
|
|
300
304
|
export const MsgWithdrawValidatorCommission = {
|
|
301
305
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
306
|
+
aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission",
|
|
302
307
|
encode(message, writer = BinaryWriter.create()) {
|
|
303
308
|
if (message.validatorAddress !== "") {
|
|
304
309
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -368,6 +373,7 @@ function createBaseMsgWithdrawValidatorCommissionResponse() {
|
|
|
368
373
|
}
|
|
369
374
|
export const MsgWithdrawValidatorCommissionResponse = {
|
|
370
375
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse",
|
|
376
|
+
aminoType: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse",
|
|
371
377
|
encode(message, writer = BinaryWriter.create()) {
|
|
372
378
|
for (const v of message.amount) {
|
|
373
379
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -441,6 +447,7 @@ function createBaseMsgFundCommunityPool() {
|
|
|
441
447
|
}
|
|
442
448
|
export const MsgFundCommunityPool = {
|
|
443
449
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
450
|
+
aminoType: "cosmos-sdk/MsgFundCommunityPool",
|
|
444
451
|
encode(message, writer = BinaryWriter.create()) {
|
|
445
452
|
for (const v of message.amount) {
|
|
446
453
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -522,6 +529,7 @@ function createBaseMsgFundCommunityPoolResponse() {
|
|
|
522
529
|
}
|
|
523
530
|
export const MsgFundCommunityPoolResponse = {
|
|
524
531
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse",
|
|
532
|
+
aminoType: "cosmos-sdk/MsgFundCommunityPoolResponse",
|
|
525
533
|
encode(_, writer = BinaryWriter.create()) {
|
|
526
534
|
return writer;
|
|
527
535
|
},
|
|
@@ -581,6 +589,7 @@ function createBaseMsgUpdateParams() {
|
|
|
581
589
|
}
|
|
582
590
|
export const MsgUpdateParams = {
|
|
583
591
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
592
|
+
aminoType: "cosmos-sdk/distribution/MsgUpdateParams",
|
|
584
593
|
encode(message, writer = BinaryWriter.create()) {
|
|
585
594
|
if (message.authority !== "") {
|
|
586
595
|
writer.uint32(10).string(message.authority);
|
|
@@ -659,6 +668,7 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
659
668
|
}
|
|
660
669
|
export const MsgUpdateParamsResponse = {
|
|
661
670
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse",
|
|
671
|
+
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
662
672
|
encode(_, writer = BinaryWriter.create()) {
|
|
663
673
|
return writer;
|
|
664
674
|
},
|
|
@@ -719,6 +729,7 @@ function createBaseMsgCommunityPoolSpend() {
|
|
|
719
729
|
}
|
|
720
730
|
export const MsgCommunityPoolSpend = {
|
|
721
731
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
732
|
+
aminoType: "cosmos-sdk/distr/MsgCommunityPoolSpend",
|
|
722
733
|
encode(message, writer = BinaryWriter.create()) {
|
|
723
734
|
if (message.authority !== "") {
|
|
724
735
|
writer.uint32(10).string(message.authority);
|
|
@@ -811,6 +822,7 @@ function createBaseMsgCommunityPoolSpendResponse() {
|
|
|
811
822
|
}
|
|
812
823
|
export const MsgCommunityPoolSpendResponse = {
|
|
813
824
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse",
|
|
825
|
+
aminoType: "cosmos-sdk/MsgCommunityPoolSpendResponse",
|
|
814
826
|
encode(_, writer = BinaryWriter.create()) {
|
|
815
827
|
return writer;
|
|
816
828
|
},
|
|
@@ -871,6 +883,7 @@ function createBaseMsgDepositValidatorRewardsPool() {
|
|
|
871
883
|
}
|
|
872
884
|
export const MsgDepositValidatorRewardsPool = {
|
|
873
885
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
886
|
+
aminoType: "cosmos-sdk/distr/MsgDepositValRewards",
|
|
874
887
|
encode(message, writer = BinaryWriter.create()) {
|
|
875
888
|
if (message.depositor !== "") {
|
|
876
889
|
writer.uint32(10).string(message.depositor);
|
|
@@ -963,6 +976,7 @@ function createBaseMsgDepositValidatorRewardsPoolResponse() {
|
|
|
963
976
|
}
|
|
964
977
|
export const MsgDepositValidatorRewardsPoolResponse = {
|
|
965
978
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse",
|
|
979
|
+
aminoType: "cosmos-sdk/MsgDepositValidatorRewardsPoolResponse",
|
|
966
980
|
encode(_, writer = BinaryWriter.create()) {
|
|
967
981
|
return writer;
|
|
968
982
|
},
|
|
@@ -4,47 +4,65 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.setWithdrawAddress = this.setWithdrawAddress.bind(this);
|
|
8
|
-
this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this);
|
|
9
|
-
this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this);
|
|
10
|
-
this.fundCommunityPool = this.fundCommunityPool.bind(this);
|
|
11
|
-
this.updateParams = this.updateParams.bind(this);
|
|
12
|
-
this.communityPoolSpend = this.communityPoolSpend.bind(this);
|
|
13
|
-
this.depositValidatorRewardsPool = this.depositValidatorRewardsPool.bind(this);
|
|
14
7
|
}
|
|
15
|
-
|
|
8
|
+
/* SetWithdrawAddress defines a method to change the withdraw address
|
|
9
|
+
for a delegator (or validator self-delegation). */
|
|
10
|
+
setWithdrawAddress = async (request) => {
|
|
16
11
|
const data = MsgSetWithdrawAddress.encode(request).finish();
|
|
17
12
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data);
|
|
18
13
|
return promise.then(data => MsgSetWithdrawAddressResponse.decode(new BinaryReader(data)));
|
|
19
|
-
}
|
|
20
|
-
|
|
14
|
+
};
|
|
15
|
+
/* WithdrawDelegatorReward defines a method to withdraw rewards of delegator
|
|
16
|
+
from a single validator. */
|
|
17
|
+
withdrawDelegatorReward = async (request) => {
|
|
21
18
|
const data = MsgWithdrawDelegatorReward.encode(request).finish();
|
|
22
19
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data);
|
|
23
20
|
return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new BinaryReader(data)));
|
|
24
|
-
}
|
|
25
|
-
|
|
21
|
+
};
|
|
22
|
+
/* WithdrawValidatorCommission defines a method to withdraw the
|
|
23
|
+
full commission to the validator address. */
|
|
24
|
+
withdrawValidatorCommission = async (request) => {
|
|
26
25
|
const data = MsgWithdrawValidatorCommission.encode(request).finish();
|
|
27
26
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data);
|
|
28
27
|
return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new BinaryReader(data)));
|
|
29
|
-
}
|
|
30
|
-
|
|
28
|
+
};
|
|
29
|
+
/* FundCommunityPool defines a method to allow an account to directly
|
|
30
|
+
fund the community pool. */
|
|
31
|
+
fundCommunityPool = async (request) => {
|
|
31
32
|
const data = MsgFundCommunityPool.encode(request).finish();
|
|
32
33
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data);
|
|
33
34
|
return promise.then(data => MsgFundCommunityPoolResponse.decode(new BinaryReader(data)));
|
|
34
|
-
}
|
|
35
|
-
|
|
35
|
+
};
|
|
36
|
+
/* UpdateParams defines a governance operation for updating the x/distribution
|
|
37
|
+
module parameters. The authority is defined in the keeper.
|
|
38
|
+
|
|
39
|
+
Since: cosmos-sdk 0.47 */
|
|
40
|
+
updateParams = async (request) => {
|
|
36
41
|
const data = MsgUpdateParams.encode(request).finish();
|
|
37
42
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "UpdateParams", data);
|
|
38
43
|
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
39
|
-
}
|
|
40
|
-
|
|
44
|
+
};
|
|
45
|
+
/* CommunityPoolSpend defines a governance operation for sending tokens from
|
|
46
|
+
the community pool in the x/distribution module to another account, which
|
|
47
|
+
could be the governance module itself. The authority is defined in the
|
|
48
|
+
keeper.
|
|
49
|
+
|
|
50
|
+
Since: cosmos-sdk 0.47 */
|
|
51
|
+
communityPoolSpend = async (request) => {
|
|
41
52
|
const data = MsgCommunityPoolSpend.encode(request).finish();
|
|
42
53
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "CommunityPoolSpend", data);
|
|
43
54
|
return promise.then(data => MsgCommunityPoolSpendResponse.decode(new BinaryReader(data)));
|
|
44
|
-
}
|
|
45
|
-
|
|
55
|
+
};
|
|
56
|
+
/* DepositValidatorRewardsPool defines a method to provide additional rewards
|
|
57
|
+
to delegators to a specific validator.
|
|
58
|
+
|
|
59
|
+
Since: cosmos-sdk 0.50 */
|
|
60
|
+
depositValidatorRewardsPool = async (request) => {
|
|
46
61
|
const data = MsgDepositValidatorRewardsPool.encode(request).finish();
|
|
47
62
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "DepositValidatorRewardsPool", data);
|
|
48
63
|
return promise.then(data => MsgDepositValidatorRewardsPoolResponse.decode(new BinaryReader(data)));
|
|
49
|
-
}
|
|
64
|
+
};
|
|
50
65
|
}
|
|
66
|
+
export const createClientImpl = (rpc) => {
|
|
67
|
+
return new MsgClientImpl(rpc);
|
|
68
|
+
};
|
|
@@ -7,6 +7,7 @@ function createBaseEventEpochEnd() {
|
|
|
7
7
|
}
|
|
8
8
|
export const EventEpochEnd = {
|
|
9
9
|
typeUrl: "/cosmos.epochs.v1beta1.EventEpochEnd",
|
|
10
|
+
aminoType: "cosmos-sdk/EventEpochEnd",
|
|
10
11
|
encode(message, writer = BinaryWriter.create()) {
|
|
11
12
|
if (message.epochNumber !== BigInt(0)) {
|
|
12
13
|
writer.uint32(8).int64(message.epochNumber);
|
|
@@ -77,6 +78,7 @@ function createBaseEventEpochStart() {
|
|
|
77
78
|
}
|
|
78
79
|
export const EventEpochStart = {
|
|
79
80
|
typeUrl: "/cosmos.epochs.v1beta1.EventEpochStart",
|
|
81
|
+
aminoType: "cosmos-sdk/EventEpochStart",
|
|
80
82
|
encode(message, writer = BinaryWriter.create()) {
|
|
81
83
|
if (message.epochNumber !== BigInt(0)) {
|
|
82
84
|
writer.uint32(8).int64(message.epochNumber);
|
|
@@ -16,6 +16,7 @@ function createBaseEpochInfo() {
|
|
|
16
16
|
}
|
|
17
17
|
export const EpochInfo = {
|
|
18
18
|
typeUrl: "/cosmos.epochs.v1beta1.EpochInfo",
|
|
19
|
+
aminoType: "cosmos-sdk/EpochInfo",
|
|
19
20
|
encode(message, writer = BinaryWriter.create()) {
|
|
20
21
|
if (message.identifier !== "") {
|
|
21
22
|
writer.uint32(10).string(message.identifier);
|
|
@@ -151,6 +152,7 @@ function createBaseGenesisState() {
|
|
|
151
152
|
}
|
|
152
153
|
export const GenesisState = {
|
|
153
154
|
typeUrl: "/cosmos.epochs.v1beta1.GenesisState",
|
|
155
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
154
156
|
encode(message, writer = BinaryWriter.create()) {
|
|
155
157
|
for (const v of message.epochs) {
|
|
156
158
|
EpochInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -6,6 +6,7 @@ function createBaseQueryEpochInfosRequest() {
|
|
|
6
6
|
}
|
|
7
7
|
export const QueryEpochInfosRequest = {
|
|
8
8
|
typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosRequest",
|
|
9
|
+
aminoType: "cosmos-sdk/QueryEpochInfosRequest",
|
|
9
10
|
encode(_, writer = BinaryWriter.create()) {
|
|
10
11
|
return writer;
|
|
11
12
|
},
|
|
@@ -64,6 +65,7 @@ function createBaseQueryEpochInfosResponse() {
|
|
|
64
65
|
}
|
|
65
66
|
export const QueryEpochInfosResponse = {
|
|
66
67
|
typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosResponse",
|
|
68
|
+
aminoType: "cosmos-sdk/QueryEpochInfosResponse",
|
|
67
69
|
encode(message, writer = BinaryWriter.create()) {
|
|
68
70
|
for (const v of message.epochs) {
|
|
69
71
|
EpochInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -136,6 +138,7 @@ function createBaseQueryCurrentEpochRequest() {
|
|
|
136
138
|
}
|
|
137
139
|
export const QueryCurrentEpochRequest = {
|
|
138
140
|
typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochRequest",
|
|
141
|
+
aminoType: "cosmos-sdk/QueryCurrentEpochRequest",
|
|
139
142
|
encode(message, writer = BinaryWriter.create()) {
|
|
140
143
|
if (message.identifier !== "") {
|
|
141
144
|
writer.uint32(10).string(message.identifier);
|
|
@@ -205,6 +208,7 @@ function createBaseQueryCurrentEpochResponse() {
|
|
|
205
208
|
}
|
|
206
209
|
export const QueryCurrentEpochResponse = {
|
|
207
210
|
typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochResponse",
|
|
211
|
+
aminoType: "cosmos-sdk/QueryCurrentEpochResponse",
|
|
208
212
|
encode(message, writer = BinaryWriter.create()) {
|
|
209
213
|
if (message.currentEpoch !== BigInt(0)) {
|
|
210
214
|
writer.uint32(8).int64(message.currentEpoch);
|
|
@@ -2,16 +2,14 @@ export class LCDQueryClient {
|
|
|
2
2
|
req;
|
|
3
3
|
constructor({ requestClient }) {
|
|
4
4
|
this.req = requestClient;
|
|
5
|
-
this.epochInfos = this.epochInfos.bind(this);
|
|
6
|
-
this.currentEpoch = this.currentEpoch.bind(this);
|
|
7
5
|
}
|
|
8
6
|
/* EpochInfos provide running epochInfos */
|
|
9
|
-
async
|
|
7
|
+
epochInfos = async (_params = {}) => {
|
|
10
8
|
const endpoint = `cosmos/epochs/v1beta1/epochs`;
|
|
11
9
|
return await this.req.get(endpoint);
|
|
12
|
-
}
|
|
10
|
+
};
|
|
13
11
|
/* CurrentEpoch provide current epoch of specified identifier */
|
|
14
|
-
async
|
|
12
|
+
currentEpoch = async (params) => {
|
|
15
13
|
const options = {
|
|
16
14
|
params: {}
|
|
17
15
|
};
|
|
@@ -20,5 +18,5 @@ export class LCDQueryClient {
|
|
|
20
18
|
}
|
|
21
19
|
const endpoint = `cosmos/epochs/v1beta1/current_epoch`;
|
|
22
20
|
return await this.req.get(endpoint, options);
|
|
23
|
-
}
|
|
21
|
+
};
|
|
24
22
|
}
|
|
@@ -5,19 +5,19 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.epochInfos = this.epochInfos.bind(this);
|
|
9
|
-
this.currentEpoch = this.currentEpoch.bind(this);
|
|
10
8
|
}
|
|
11
|
-
|
|
9
|
+
/* EpochInfos provide running epochInfos */
|
|
10
|
+
epochInfos = async (request = {}) => {
|
|
12
11
|
const data = QueryEpochInfosRequest.encode(request).finish();
|
|
13
12
|
const promise = this.rpc.request("cosmos.epochs.v1beta1.Query", "EpochInfos", data);
|
|
14
13
|
return promise.then(data => QueryEpochInfosResponse.decode(new BinaryReader(data)));
|
|
15
|
-
}
|
|
16
|
-
|
|
14
|
+
};
|
|
15
|
+
/* CurrentEpoch provide current epoch of specified identifier */
|
|
16
|
+
currentEpoch = async (request) => {
|
|
17
17
|
const data = QueryCurrentEpochRequest.encode(request).finish();
|
|
18
18
|
const promise = this.rpc.request("cosmos.epochs.v1beta1.Query", "CurrentEpoch", data);
|
|
19
19
|
return promise.then(data => QueryCurrentEpochResponse.decode(new BinaryReader(data)));
|
|
20
|
-
}
|
|
20
|
+
};
|
|
21
21
|
}
|
|
22
22
|
export const createRpcQueryExtension = (base) => {
|
|
23
23
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -7,13 +7,13 @@ import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
|
7
7
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
8
8
|
function createBaseBasicAllowance() {
|
|
9
9
|
return {
|
|
10
|
-
$typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance",
|
|
11
10
|
spendLimit: [],
|
|
12
11
|
expiration: undefined
|
|
13
12
|
};
|
|
14
13
|
}
|
|
15
14
|
export const BasicAllowance = {
|
|
16
15
|
typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance",
|
|
16
|
+
aminoType: "cosmos-sdk/BasicAllowance",
|
|
17
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
18
18
|
for (const v of message.spendLimit) {
|
|
19
19
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -92,7 +92,6 @@ export const BasicAllowance = {
|
|
|
92
92
|
};
|
|
93
93
|
function createBasePeriodicAllowance() {
|
|
94
94
|
return {
|
|
95
|
-
$typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance",
|
|
96
95
|
basic: BasicAllowance.fromPartial({}),
|
|
97
96
|
period: Duration.fromPartial({}),
|
|
98
97
|
periodSpendLimit: [],
|
|
@@ -102,6 +101,7 @@ function createBasePeriodicAllowance() {
|
|
|
102
101
|
}
|
|
103
102
|
export const PeriodicAllowance = {
|
|
104
103
|
typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance",
|
|
104
|
+
aminoType: "cosmos-sdk/PeriodicAllowance",
|
|
105
105
|
encode(message, writer = BinaryWriter.create()) {
|
|
106
106
|
if (message.basic !== undefined) {
|
|
107
107
|
BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim();
|
|
@@ -216,13 +216,13 @@ export const PeriodicAllowance = {
|
|
|
216
216
|
};
|
|
217
217
|
function createBaseAllowedMsgAllowance() {
|
|
218
218
|
return {
|
|
219
|
-
$typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance",
|
|
220
219
|
allowance: undefined,
|
|
221
220
|
allowedMessages: []
|
|
222
221
|
};
|
|
223
222
|
}
|
|
224
223
|
export const AllowedMsgAllowance = {
|
|
225
224
|
typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance",
|
|
225
|
+
aminoType: "cosmos-sdk/AllowedMsgAllowance",
|
|
226
226
|
encode(message, writer = BinaryWriter.create()) {
|
|
227
227
|
if (message.allowance !== undefined) {
|
|
228
228
|
Any.encode(message.allowance, writer.uint32(10).fork()).ldelim();
|
|
@@ -308,6 +308,7 @@ function createBaseGrant() {
|
|
|
308
308
|
}
|
|
309
309
|
export const Grant = {
|
|
310
310
|
typeUrl: "/cosmos.feegrant.v1beta1.Grant",
|
|
311
|
+
aminoType: "cosmos-sdk/Grant",
|
|
311
312
|
encode(message, writer = BinaryWriter.create()) {
|
|
312
313
|
if (message.granter !== "") {
|
|
313
314
|
writer.uint32(10).string(message.granter);
|
|
@@ -8,6 +8,7 @@ function createBaseGenesisState() {
|
|
|
8
8
|
}
|
|
9
9
|
export const GenesisState = {
|
|
10
10
|
typeUrl: "/cosmos.feegrant.v1beta1.GenesisState",
|
|
11
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
for (const v of message.allowances) {
|
|
13
14
|
Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -10,6 +10,7 @@ function createBaseQueryAllowanceRequest() {
|
|
|
10
10
|
}
|
|
11
11
|
export const QueryAllowanceRequest = {
|
|
12
12
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest",
|
|
13
|
+
aminoType: "cosmos-sdk/QueryAllowanceRequest",
|
|
13
14
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
15
|
if (message.granter !== "") {
|
|
15
16
|
writer.uint32(10).string(message.granter);
|
|
@@ -90,6 +91,7 @@ function createBaseQueryAllowanceResponse() {
|
|
|
90
91
|
}
|
|
91
92
|
export const QueryAllowanceResponse = {
|
|
92
93
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse",
|
|
94
|
+
aminoType: "cosmos-sdk/QueryAllowanceResponse",
|
|
93
95
|
encode(message, writer = BinaryWriter.create()) {
|
|
94
96
|
if (message.allowance !== undefined) {
|
|
95
97
|
Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim();
|
|
@@ -160,6 +162,7 @@ function createBaseQueryAllowancesRequest() {
|
|
|
160
162
|
}
|
|
161
163
|
export const QueryAllowancesRequest = {
|
|
162
164
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest",
|
|
165
|
+
aminoType: "cosmos-sdk/QueryAllowancesRequest",
|
|
163
166
|
encode(message, writer = BinaryWriter.create()) {
|
|
164
167
|
if (message.grantee !== "") {
|
|
165
168
|
writer.uint32(10).string(message.grantee);
|
|
@@ -241,6 +244,7 @@ function createBaseQueryAllowancesResponse() {
|
|
|
241
244
|
}
|
|
242
245
|
export const QueryAllowancesResponse = {
|
|
243
246
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse",
|
|
247
|
+
aminoType: "cosmos-sdk/QueryAllowancesResponse",
|
|
244
248
|
encode(message, writer = BinaryWriter.create()) {
|
|
245
249
|
for (const v of message.allowances) {
|
|
246
250
|
Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -325,6 +329,7 @@ function createBaseQueryAllowancesByGranterRequest() {
|
|
|
325
329
|
}
|
|
326
330
|
export const QueryAllowancesByGranterRequest = {
|
|
327
331
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest",
|
|
332
|
+
aminoType: "cosmos-sdk/QueryAllowancesByGranterRequest",
|
|
328
333
|
encode(message, writer = BinaryWriter.create()) {
|
|
329
334
|
if (message.granter !== "") {
|
|
330
335
|
writer.uint32(10).string(message.granter);
|
|
@@ -406,6 +411,7 @@ function createBaseQueryAllowancesByGranterResponse() {
|
|
|
406
411
|
}
|
|
407
412
|
export const QueryAllowancesByGranterResponse = {
|
|
408
413
|
typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse",
|
|
414
|
+
aminoType: "cosmos-sdk/QueryAllowancesByGranterResponse",
|
|
409
415
|
encode(message, writer = BinaryWriter.create()) {
|
|
410
416
|
for (const v of message.allowances) {
|
|
411
417
|
Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -4,17 +4,14 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.allowance = this.allowance.bind(this);
|
|
8
|
-
this.allowances = this.allowances.bind(this);
|
|
9
|
-
this.allowancesByGranter = this.allowancesByGranter.bind(this);
|
|
10
7
|
}
|
|
11
8
|
/* Allowance returns granted allwance to the grantee by the granter. */
|
|
12
|
-
async
|
|
9
|
+
allowance = async (params) => {
|
|
13
10
|
const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`;
|
|
14
11
|
return await this.req.get(endpoint);
|
|
15
|
-
}
|
|
12
|
+
};
|
|
16
13
|
/* Allowances returns all the grants for the given grantee address. */
|
|
17
|
-
async
|
|
14
|
+
allowances = async (params) => {
|
|
18
15
|
const options = {
|
|
19
16
|
params: {}
|
|
20
17
|
};
|
|
@@ -23,11 +20,11 @@ export class LCDQueryClient {
|
|
|
23
20
|
}
|
|
24
21
|
const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`;
|
|
25
22
|
return await this.req.get(endpoint, options);
|
|
26
|
-
}
|
|
23
|
+
};
|
|
27
24
|
/* AllowancesByGranter returns all the grants given by an address
|
|
28
25
|
|
|
29
26
|
Since: cosmos-sdk 0.46 */
|
|
30
|
-
async
|
|
27
|
+
allowancesByGranter = async (params) => {
|
|
31
28
|
const options = {
|
|
32
29
|
params: {}
|
|
33
30
|
};
|
|
@@ -36,5 +33,5 @@ export class LCDQueryClient {
|
|
|
36
33
|
}
|
|
37
34
|
const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`;
|
|
38
35
|
return await this.req.get(endpoint, options);
|
|
39
|
-
}
|
|
36
|
+
};
|
|
40
37
|
}
|
|
@@ -5,25 +5,27 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.allowance = this.allowance.bind(this);
|
|
9
|
-
this.allowances = this.allowances.bind(this);
|
|
10
|
-
this.allowancesByGranter = this.allowancesByGranter.bind(this);
|
|
11
8
|
}
|
|
12
|
-
|
|
9
|
+
/* Allowance returns granted allwance to the grantee by the granter. */
|
|
10
|
+
allowance = async (request) => {
|
|
13
11
|
const data = QueryAllowanceRequest.encode(request).finish();
|
|
14
12
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data);
|
|
15
13
|
return promise.then(data => QueryAllowanceResponse.decode(new BinaryReader(data)));
|
|
16
|
-
}
|
|
17
|
-
|
|
14
|
+
};
|
|
15
|
+
/* Allowances returns all the grants for the given grantee address. */
|
|
16
|
+
allowances = async (request) => {
|
|
18
17
|
const data = QueryAllowancesRequest.encode(request).finish();
|
|
19
18
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data);
|
|
20
19
|
return promise.then(data => QueryAllowancesResponse.decode(new BinaryReader(data)));
|
|
21
|
-
}
|
|
22
|
-
|
|
20
|
+
};
|
|
21
|
+
/* AllowancesByGranter returns all the grants given by an address
|
|
22
|
+
|
|
23
|
+
Since: cosmos-sdk 0.46 */
|
|
24
|
+
allowancesByGranter = async (request) => {
|
|
23
25
|
const data = QueryAllowancesByGranterRequest.encode(request).finish();
|
|
24
26
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data);
|
|
25
27
|
return promise.then(data => QueryAllowancesByGranterResponse.decode(new BinaryReader(data)));
|
|
26
|
-
}
|
|
28
|
+
};
|
|
27
29
|
}
|
|
28
30
|
export const createRpcQueryExtension = (base) => {
|
|
29
31
|
const rpc = createProtobufRpcClient(base);
|