@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service. */
|
|
@@ -17,9 +17,9 @@ export interface Query {
|
|
|
17
17
|
}
|
|
18
18
|
export declare class QueryClientImpl implements Query {
|
|
19
19
|
private readonly rpc;
|
|
20
|
-
constructor(rpc:
|
|
21
|
-
params(request: QueryParamsRequest)
|
|
22
|
-
subspaces(request?: QuerySubspacesRequest)
|
|
20
|
+
constructor(rpc: TxRpc);
|
|
21
|
+
params: (request: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
22
|
+
subspaces: (request?: QuerySubspacesRequest) => Promise<QuerySubspacesResponse>;
|
|
23
23
|
}
|
|
24
24
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
25
25
|
params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
@@ -8,19 +8,22 @@ class QueryClientImpl {
|
|
|
8
8
|
rpc;
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
|
-
this.params = this.params.bind(this);
|
|
12
|
-
this.subspaces = this.subspaces.bind(this);
|
|
13
11
|
}
|
|
14
|
-
|
|
12
|
+
/* Params queries a specific parameter of a module, given its subspace and
|
|
13
|
+
key. */
|
|
14
|
+
params = async (request) => {
|
|
15
15
|
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
16
16
|
const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data);
|
|
17
17
|
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
18
|
-
}
|
|
19
|
-
subspaces
|
|
18
|
+
};
|
|
19
|
+
/* Subspaces queries for all registered subspaces and all keys for a subspace.
|
|
20
|
+
|
|
21
|
+
Since: cosmos-sdk 0.46 */
|
|
22
|
+
subspaces = async (request = {}) => {
|
|
20
23
|
const data = query_1.QuerySubspacesRequest.encode(request).finish();
|
|
21
24
|
const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data);
|
|
22
25
|
return promise.then(data => query_1.QuerySubspacesResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
|
-
}
|
|
26
|
+
};
|
|
24
27
|
}
|
|
25
28
|
exports.QueryClientImpl = QueryClientImpl;
|
|
26
29
|
const createRpcQueryExtension = (base) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
2
3
|
/** Module is the config object of the consensus module. */
|
|
3
4
|
export interface Module {
|
|
4
5
|
/** authority defines the custom module authority. If not set, defaults to the governance module. */
|
|
@@ -17,15 +18,12 @@ export interface ModuleAminoMsg {
|
|
|
17
18
|
type: "cosmos-sdk/Module";
|
|
18
19
|
value: ModuleAmino;
|
|
19
20
|
}
|
|
20
|
-
/** Module is the config object of the consensus module. */
|
|
21
|
-
export interface ModuleSDKType {
|
|
22
|
-
authority: string;
|
|
23
|
-
}
|
|
24
21
|
export declare const Module: {
|
|
25
22
|
typeUrl: string;
|
|
23
|
+
aminoType: string;
|
|
26
24
|
encode(message: Module, writer?: BinaryWriter): BinaryWriter;
|
|
27
25
|
decode(input: BinaryReader | Uint8Array, length?: number): Module;
|
|
28
|
-
fromPartial(object:
|
|
26
|
+
fromPartial(object: DeepPartial<Module>): Module;
|
|
29
27
|
fromAmino(object: ModuleAmino): Module;
|
|
30
28
|
toAmino(message: Module): ModuleAmino;
|
|
31
29
|
fromAminoMsg(object: ModuleAminoMsg): Module;
|
|
@@ -10,6 +10,7 @@ function createBaseModule() {
|
|
|
10
10
|
}
|
|
11
11
|
exports.Module = {
|
|
12
12
|
typeUrl: "/cosmos.protocolpool.module.v1.Module",
|
|
13
|
+
aminoType: "cosmos-sdk/Module",
|
|
13
14
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
14
15
|
if (message.authority !== "") {
|
|
15
16
|
writer.uint32(10).string(message.authority);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ContinuousFund, ContinuousFundAmino,
|
|
1
|
+
import { ContinuousFund, ContinuousFundAmino, Params, ParamsAmino } from "./types";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
4
|
/** GenesisState defines the protocolpool module's genesis state. */
|
|
4
5
|
export interface GenesisState {
|
|
5
6
|
/** ContinuousFunds defines the continuous funds at genesis. */
|
|
@@ -28,16 +29,12 @@ export interface GenesisStateAminoMsg {
|
|
|
28
29
|
type: "cosmos-sdk/GenesisState";
|
|
29
30
|
value: GenesisStateAmino;
|
|
30
31
|
}
|
|
31
|
-
/** GenesisState defines the protocolpool module's genesis state. */
|
|
32
|
-
export interface GenesisStateSDKType {
|
|
33
|
-
continuous_funds: ContinuousFundSDKType[];
|
|
34
|
-
params: ParamsSDKType;
|
|
35
|
-
}
|
|
36
32
|
export declare const GenesisState: {
|
|
37
33
|
typeUrl: string;
|
|
34
|
+
aminoType: string;
|
|
38
35
|
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
39
36
|
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
40
|
-
fromPartial(object:
|
|
37
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
41
38
|
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
42
39
|
toAmino(message: GenesisState): GenesisStateAmino;
|
|
43
40
|
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
@@ -12,6 +12,7 @@ function createBaseGenesisState() {
|
|
|
12
12
|
}
|
|
13
13
|
exports.GenesisState = {
|
|
14
14
|
typeUrl: "/cosmos.protocolpool.v1.GenesisState",
|
|
15
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
15
16
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
16
17
|
for (const v of message.continuousFunds) {
|
|
17
18
|
types_1.ContinuousFund.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Coin, CoinAmino
|
|
2
|
-
import { ContinuousFund, ContinuousFundAmino,
|
|
1
|
+
import { Coin, CoinAmino } from "../../base/v1beta1/coin";
|
|
2
|
+
import { ContinuousFund, ContinuousFundAmino, Params, ParamsAmino } from "./types";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
5
|
/**
|
|
5
6
|
* QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
|
|
6
7
|
* method.
|
|
@@ -21,12 +22,6 @@ export interface QueryCommunityPoolRequestAminoMsg {
|
|
|
21
22
|
type: "cosmos-sdk/QueryCommunityPoolRequest";
|
|
22
23
|
value: QueryCommunityPoolRequestAmino;
|
|
23
24
|
}
|
|
24
|
-
/**
|
|
25
|
-
* QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
|
|
26
|
-
* method.
|
|
27
|
-
*/
|
|
28
|
-
export interface QueryCommunityPoolRequestSDKType {
|
|
29
|
-
}
|
|
30
25
|
/**
|
|
31
26
|
* QueryCommunityPoolResponse is the response type for the Query/CommunityPool
|
|
32
27
|
* RPC method.
|
|
@@ -51,13 +46,6 @@ export interface QueryCommunityPoolResponseAminoMsg {
|
|
|
51
46
|
type: "cosmos-sdk/QueryCommunityPoolResponse";
|
|
52
47
|
value: QueryCommunityPoolResponseAmino;
|
|
53
48
|
}
|
|
54
|
-
/**
|
|
55
|
-
* QueryCommunityPoolResponse is the response type for the Query/CommunityPool
|
|
56
|
-
* RPC method.
|
|
57
|
-
*/
|
|
58
|
-
export interface QueryCommunityPoolResponseSDKType {
|
|
59
|
-
pool: CoinSDKType[];
|
|
60
|
-
}
|
|
61
49
|
/**
|
|
62
50
|
* QueryContinuousFundRequest is the request type for the Query/ContinuousFund
|
|
63
51
|
* RPC method.
|
|
@@ -82,13 +70,6 @@ export interface QueryContinuousFundRequestAminoMsg {
|
|
|
82
70
|
type: "cosmos-sdk/QueryContinuousFundRequest";
|
|
83
71
|
value: QueryContinuousFundRequestAmino;
|
|
84
72
|
}
|
|
85
|
-
/**
|
|
86
|
-
* QueryContinuousFundRequest is the request type for the Query/ContinuousFund
|
|
87
|
-
* RPC method.
|
|
88
|
-
*/
|
|
89
|
-
export interface QueryContinuousFundRequestSDKType {
|
|
90
|
-
recipient: string;
|
|
91
|
-
}
|
|
92
73
|
/**
|
|
93
74
|
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund
|
|
94
75
|
* RPC method.
|
|
@@ -113,13 +94,6 @@ export interface QueryContinuousFundResponseAminoMsg {
|
|
|
113
94
|
type: "cosmos-sdk/QueryContinuousFundResponse";
|
|
114
95
|
value: QueryContinuousFundResponseAmino;
|
|
115
96
|
}
|
|
116
|
-
/**
|
|
117
|
-
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund
|
|
118
|
-
* RPC method.
|
|
119
|
-
*/
|
|
120
|
-
export interface QueryContinuousFundResponseSDKType {
|
|
121
|
-
continuous_fund: ContinuousFundSDKType;
|
|
122
|
-
}
|
|
123
97
|
/**
|
|
124
98
|
* QueryContinuousFundRequest is the request type for the Query/ContinuousFunds
|
|
125
99
|
* RPC method.
|
|
@@ -140,12 +114,6 @@ export interface QueryContinuousFundsRequestAminoMsg {
|
|
|
140
114
|
type: "cosmos-sdk/QueryContinuousFundsRequest";
|
|
141
115
|
value: QueryContinuousFundsRequestAmino;
|
|
142
116
|
}
|
|
143
|
-
/**
|
|
144
|
-
* QueryContinuousFundRequest is the request type for the Query/ContinuousFunds
|
|
145
|
-
* RPC method.
|
|
146
|
-
*/
|
|
147
|
-
export interface QueryContinuousFundsRequestSDKType {
|
|
148
|
-
}
|
|
149
117
|
/**
|
|
150
118
|
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds
|
|
151
119
|
* RPC method.
|
|
@@ -170,13 +138,6 @@ export interface QueryContinuousFundsResponseAminoMsg {
|
|
|
170
138
|
type: "cosmos-sdk/QueryContinuousFundsResponse";
|
|
171
139
|
value: QueryContinuousFundsResponseAmino;
|
|
172
140
|
}
|
|
173
|
-
/**
|
|
174
|
-
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds
|
|
175
|
-
* RPC method.
|
|
176
|
-
*/
|
|
177
|
-
export interface QueryContinuousFundsResponseSDKType {
|
|
178
|
-
continuous_funds: ContinuousFundSDKType[];
|
|
179
|
-
}
|
|
180
141
|
/** QueryParamsRequest is the response type for the Query/Params RPC method. */
|
|
181
142
|
export interface QueryParamsRequest {
|
|
182
143
|
}
|
|
@@ -191,9 +152,6 @@ export interface QueryParamsRequestAminoMsg {
|
|
|
191
152
|
type: "cosmos-sdk/QueryParamsRequest";
|
|
192
153
|
value: QueryParamsRequestAmino;
|
|
193
154
|
}
|
|
194
|
-
/** QueryParamsRequest is the response type for the Query/Params RPC method. */
|
|
195
|
-
export interface QueryParamsRequestSDKType {
|
|
196
|
-
}
|
|
197
155
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
198
156
|
export interface QueryParamsResponse {
|
|
199
157
|
params: Params;
|
|
@@ -210,15 +168,12 @@ export interface QueryParamsResponseAminoMsg {
|
|
|
210
168
|
type: "cosmos-sdk/QueryParamsResponse";
|
|
211
169
|
value: QueryParamsResponseAmino;
|
|
212
170
|
}
|
|
213
|
-
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
214
|
-
export interface QueryParamsResponseSDKType {
|
|
215
|
-
params: ParamsSDKType;
|
|
216
|
-
}
|
|
217
171
|
export declare const QueryCommunityPoolRequest: {
|
|
218
172
|
typeUrl: string;
|
|
173
|
+
aminoType: string;
|
|
219
174
|
encode(_: QueryCommunityPoolRequest, writer?: BinaryWriter): BinaryWriter;
|
|
220
175
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolRequest;
|
|
221
|
-
fromPartial(_:
|
|
176
|
+
fromPartial(_: DeepPartial<QueryCommunityPoolRequest>): QueryCommunityPoolRequest;
|
|
222
177
|
fromAmino(_: QueryCommunityPoolRequestAmino): QueryCommunityPoolRequest;
|
|
223
178
|
toAmino(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestAmino;
|
|
224
179
|
fromAminoMsg(object: QueryCommunityPoolRequestAminoMsg): QueryCommunityPoolRequest;
|
|
@@ -229,9 +184,10 @@ export declare const QueryCommunityPoolRequest: {
|
|
|
229
184
|
};
|
|
230
185
|
export declare const QueryCommunityPoolResponse: {
|
|
231
186
|
typeUrl: string;
|
|
187
|
+
aminoType: string;
|
|
232
188
|
encode(message: QueryCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter;
|
|
233
189
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolResponse;
|
|
234
|
-
fromPartial(object:
|
|
190
|
+
fromPartial(object: DeepPartial<QueryCommunityPoolResponse>): QueryCommunityPoolResponse;
|
|
235
191
|
fromAmino(object: QueryCommunityPoolResponseAmino): QueryCommunityPoolResponse;
|
|
236
192
|
toAmino(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAmino;
|
|
237
193
|
fromAminoMsg(object: QueryCommunityPoolResponseAminoMsg): QueryCommunityPoolResponse;
|
|
@@ -242,9 +198,10 @@ export declare const QueryCommunityPoolResponse: {
|
|
|
242
198
|
};
|
|
243
199
|
export declare const QueryContinuousFundRequest: {
|
|
244
200
|
typeUrl: string;
|
|
201
|
+
aminoType: string;
|
|
245
202
|
encode(message: QueryContinuousFundRequest, writer?: BinaryWriter): BinaryWriter;
|
|
246
203
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundRequest;
|
|
247
|
-
fromPartial(object:
|
|
204
|
+
fromPartial(object: DeepPartial<QueryContinuousFundRequest>): QueryContinuousFundRequest;
|
|
248
205
|
fromAmino(object: QueryContinuousFundRequestAmino): QueryContinuousFundRequest;
|
|
249
206
|
toAmino(message: QueryContinuousFundRequest): QueryContinuousFundRequestAmino;
|
|
250
207
|
fromAminoMsg(object: QueryContinuousFundRequestAminoMsg): QueryContinuousFundRequest;
|
|
@@ -255,9 +212,10 @@ export declare const QueryContinuousFundRequest: {
|
|
|
255
212
|
};
|
|
256
213
|
export declare const QueryContinuousFundResponse: {
|
|
257
214
|
typeUrl: string;
|
|
215
|
+
aminoType: string;
|
|
258
216
|
encode(message: QueryContinuousFundResponse, writer?: BinaryWriter): BinaryWriter;
|
|
259
217
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundResponse;
|
|
260
|
-
fromPartial(object:
|
|
218
|
+
fromPartial(object: DeepPartial<QueryContinuousFundResponse>): QueryContinuousFundResponse;
|
|
261
219
|
fromAmino(object: QueryContinuousFundResponseAmino): QueryContinuousFundResponse;
|
|
262
220
|
toAmino(message: QueryContinuousFundResponse): QueryContinuousFundResponseAmino;
|
|
263
221
|
fromAminoMsg(object: QueryContinuousFundResponseAminoMsg): QueryContinuousFundResponse;
|
|
@@ -268,9 +226,10 @@ export declare const QueryContinuousFundResponse: {
|
|
|
268
226
|
};
|
|
269
227
|
export declare const QueryContinuousFundsRequest: {
|
|
270
228
|
typeUrl: string;
|
|
229
|
+
aminoType: string;
|
|
271
230
|
encode(_: QueryContinuousFundsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
272
231
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsRequest;
|
|
273
|
-
fromPartial(_:
|
|
232
|
+
fromPartial(_: DeepPartial<QueryContinuousFundsRequest>): QueryContinuousFundsRequest;
|
|
274
233
|
fromAmino(_: QueryContinuousFundsRequestAmino): QueryContinuousFundsRequest;
|
|
275
234
|
toAmino(_: QueryContinuousFundsRequest): QueryContinuousFundsRequestAmino;
|
|
276
235
|
fromAminoMsg(object: QueryContinuousFundsRequestAminoMsg): QueryContinuousFundsRequest;
|
|
@@ -281,9 +240,10 @@ export declare const QueryContinuousFundsRequest: {
|
|
|
281
240
|
};
|
|
282
241
|
export declare const QueryContinuousFundsResponse: {
|
|
283
242
|
typeUrl: string;
|
|
243
|
+
aminoType: string;
|
|
284
244
|
encode(message: QueryContinuousFundsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
285
245
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsResponse;
|
|
286
|
-
fromPartial(object:
|
|
246
|
+
fromPartial(object: DeepPartial<QueryContinuousFundsResponse>): QueryContinuousFundsResponse;
|
|
287
247
|
fromAmino(object: QueryContinuousFundsResponseAmino): QueryContinuousFundsResponse;
|
|
288
248
|
toAmino(message: QueryContinuousFundsResponse): QueryContinuousFundsResponseAmino;
|
|
289
249
|
fromAminoMsg(object: QueryContinuousFundsResponseAminoMsg): QueryContinuousFundsResponse;
|
|
@@ -294,9 +254,10 @@ export declare const QueryContinuousFundsResponse: {
|
|
|
294
254
|
};
|
|
295
255
|
export declare const QueryParamsRequest: {
|
|
296
256
|
typeUrl: string;
|
|
257
|
+
aminoType: string;
|
|
297
258
|
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
298
259
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
|
|
299
|
-
fromPartial(_:
|
|
260
|
+
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
|
|
300
261
|
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
|
|
301
262
|
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino;
|
|
302
263
|
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest;
|
|
@@ -307,9 +268,10 @@ export declare const QueryParamsRequest: {
|
|
|
307
268
|
};
|
|
308
269
|
export declare const QueryParamsResponse: {
|
|
309
270
|
typeUrl: string;
|
|
271
|
+
aminoType: string;
|
|
310
272
|
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
311
273
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
|
|
312
|
-
fromPartial(object:
|
|
274
|
+
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
|
|
313
275
|
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse;
|
|
314
276
|
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino;
|
|
315
277
|
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse;
|
|
@@ -10,6 +10,7 @@ function createBaseQueryCommunityPoolRequest() {
|
|
|
10
10
|
}
|
|
11
11
|
exports.QueryCommunityPoolRequest = {
|
|
12
12
|
typeUrl: "/cosmos.protocolpool.v1.QueryCommunityPoolRequest",
|
|
13
|
+
aminoType: "cosmos-sdk/QueryCommunityPoolRequest",
|
|
13
14
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
14
15
|
return writer;
|
|
15
16
|
},
|
|
@@ -68,6 +69,7 @@ function createBaseQueryCommunityPoolResponse() {
|
|
|
68
69
|
}
|
|
69
70
|
exports.QueryCommunityPoolResponse = {
|
|
70
71
|
typeUrl: "/cosmos.protocolpool.v1.QueryCommunityPoolResponse",
|
|
72
|
+
aminoType: "cosmos-sdk/QueryCommunityPoolResponse",
|
|
71
73
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
72
74
|
for (const v of message.pool) {
|
|
73
75
|
coin_1.Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -140,6 +142,7 @@ function createBaseQueryContinuousFundRequest() {
|
|
|
140
142
|
}
|
|
141
143
|
exports.QueryContinuousFundRequest = {
|
|
142
144
|
typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundRequest",
|
|
145
|
+
aminoType: "cosmos-sdk/QueryContinuousFundRequest",
|
|
143
146
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
144
147
|
if (message.recipient !== "") {
|
|
145
148
|
writer.uint32(10).string(message.recipient);
|
|
@@ -209,6 +212,7 @@ function createBaseQueryContinuousFundResponse() {
|
|
|
209
212
|
}
|
|
210
213
|
exports.QueryContinuousFundResponse = {
|
|
211
214
|
typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundResponse",
|
|
215
|
+
aminoType: "cosmos-sdk/QueryContinuousFundResponse",
|
|
212
216
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
213
217
|
if (message.continuousFund !== undefined) {
|
|
214
218
|
types_1.ContinuousFund.encode(message.continuousFund, writer.uint32(10).fork()).ldelim();
|
|
@@ -276,6 +280,7 @@ function createBaseQueryContinuousFundsRequest() {
|
|
|
276
280
|
}
|
|
277
281
|
exports.QueryContinuousFundsRequest = {
|
|
278
282
|
typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundsRequest",
|
|
283
|
+
aminoType: "cosmos-sdk/QueryContinuousFundsRequest",
|
|
279
284
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
280
285
|
return writer;
|
|
281
286
|
},
|
|
@@ -334,6 +339,7 @@ function createBaseQueryContinuousFundsResponse() {
|
|
|
334
339
|
}
|
|
335
340
|
exports.QueryContinuousFundsResponse = {
|
|
336
341
|
typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundsResponse",
|
|
342
|
+
aminoType: "cosmos-sdk/QueryContinuousFundsResponse",
|
|
337
343
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
338
344
|
for (const v of message.continuousFunds) {
|
|
339
345
|
types_1.ContinuousFund.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -404,6 +410,7 @@ function createBaseQueryParamsRequest() {
|
|
|
404
410
|
}
|
|
405
411
|
exports.QueryParamsRequest = {
|
|
406
412
|
typeUrl: "/cosmos.protocolpool.v1.QueryParamsRequest",
|
|
413
|
+
aminoType: "cosmos-sdk/QueryParamsRequest",
|
|
407
414
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
408
415
|
return writer;
|
|
409
416
|
},
|
|
@@ -462,6 +469,7 @@ function createBaseQueryParamsResponse() {
|
|
|
462
469
|
}
|
|
463
470
|
exports.QueryParamsResponse = {
|
|
464
471
|
typeUrl: "/cosmos.protocolpool.v1.QueryParamsResponse",
|
|
472
|
+
aminoType: "cosmos-sdk/QueryParamsResponse",
|
|
465
473
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
466
474
|
if (message.params !== undefined) {
|
|
467
475
|
types_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryCommunityPoolRequest,
|
|
2
|
+
import { QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryContinuousFundRequest, QueryContinuousFundResponse, QueryContinuousFundsRequest, QueryContinuousFundsResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
6
6
|
requestClient: LCDClient;
|
|
7
7
|
});
|
|
8
|
-
communityPool(_params?: QueryCommunityPoolRequest)
|
|
9
|
-
continuousFund(params: QueryContinuousFundRequest)
|
|
10
|
-
continuousFunds(_params?: QueryContinuousFundsRequest)
|
|
11
|
-
params(_params?: QueryParamsRequest)
|
|
8
|
+
communityPool: (_params?: QueryCommunityPoolRequest) => Promise<QueryCommunityPoolResponse>;
|
|
9
|
+
continuousFund: (params: QueryContinuousFundRequest) => Promise<QueryContinuousFundResponse>;
|
|
10
|
+
continuousFunds: (_params?: QueryContinuousFundsRequest) => Promise<QueryContinuousFundsResponse>;
|
|
11
|
+
params: (_params?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
12
12
|
}
|
|
@@ -5,30 +5,26 @@ class LCDQueryClient {
|
|
|
5
5
|
req;
|
|
6
6
|
constructor({ requestClient }) {
|
|
7
7
|
this.req = requestClient;
|
|
8
|
-
this.communityPool = this.communityPool.bind(this);
|
|
9
|
-
this.continuousFund = this.continuousFund.bind(this);
|
|
10
|
-
this.continuousFunds = this.continuousFunds.bind(this);
|
|
11
|
-
this.params = this.params.bind(this);
|
|
12
8
|
}
|
|
13
9
|
/* CommunityPool queries the community pool coins. */
|
|
14
|
-
async
|
|
10
|
+
communityPool = async (_params = {}) => {
|
|
15
11
|
const endpoint = `cosmos/protocolpool/v1/community_pool`;
|
|
16
12
|
return await this.req.get(endpoint);
|
|
17
|
-
}
|
|
13
|
+
};
|
|
18
14
|
/* ContinuousFund queries a continuous fund by the recipient is is associated with. */
|
|
19
|
-
async
|
|
15
|
+
continuousFund = async (params) => {
|
|
20
16
|
const endpoint = `cosmos/protocolpool/v1/continuous_funds/${params.recipient}`;
|
|
21
17
|
return await this.req.get(endpoint);
|
|
22
|
-
}
|
|
18
|
+
};
|
|
23
19
|
/* ContinuousFunds queries all continuous funds in the store. */
|
|
24
|
-
async
|
|
20
|
+
continuousFunds = async (_params = {}) => {
|
|
25
21
|
const endpoint = `cosmos/protocolpool/v1/continuous_funds`;
|
|
26
22
|
return await this.req.get(endpoint);
|
|
27
|
-
}
|
|
23
|
+
};
|
|
28
24
|
/* Params returns the total set of x/protocolpool parameters. */
|
|
29
|
-
async
|
|
25
|
+
params = async (_params = {}) => {
|
|
30
26
|
const endpoint = `cosmos/protocolpool/v1/params`;
|
|
31
27
|
return await this.req.get(endpoint);
|
|
32
|
-
}
|
|
28
|
+
};
|
|
33
29
|
}
|
|
34
30
|
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
import { QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryContinuousFundRequest, QueryContinuousFundResponse, QueryContinuousFundsRequest, QueryContinuousFundsResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service for community pool module. */
|
|
@@ -14,11 +14,11 @@ export interface Query {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class QueryClientImpl implements Query {
|
|
16
16
|
private readonly rpc;
|
|
17
|
-
constructor(rpc:
|
|
18
|
-
communityPool(request?: QueryCommunityPoolRequest)
|
|
19
|
-
continuousFund(request: QueryContinuousFundRequest)
|
|
20
|
-
continuousFunds(request?: QueryContinuousFundsRequest)
|
|
21
|
-
params(request?: QueryParamsRequest)
|
|
17
|
+
constructor(rpc: TxRpc);
|
|
18
|
+
communityPool: (request?: QueryCommunityPoolRequest) => Promise<QueryCommunityPoolResponse>;
|
|
19
|
+
continuousFund: (request: QueryContinuousFundRequest) => Promise<QueryContinuousFundResponse>;
|
|
20
|
+
continuousFunds: (request?: QueryContinuousFundsRequest) => Promise<QueryContinuousFundsResponse>;
|
|
21
|
+
params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
22
22
|
}
|
|
23
23
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
24
24
|
communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
|
|
@@ -8,31 +8,31 @@ class QueryClientImpl {
|
|
|
8
8
|
rpc;
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
|
-
this.communityPool = this.communityPool.bind(this);
|
|
12
|
-
this.continuousFund = this.continuousFund.bind(this);
|
|
13
|
-
this.continuousFunds = this.continuousFunds.bind(this);
|
|
14
|
-
this.params = this.params.bind(this);
|
|
15
11
|
}
|
|
16
|
-
|
|
12
|
+
/* CommunityPool queries the community pool coins. */
|
|
13
|
+
communityPool = async (request = {}) => {
|
|
17
14
|
const data = query_1.QueryCommunityPoolRequest.encode(request).finish();
|
|
18
15
|
const promise = this.rpc.request("cosmos.protocolpool.v1.Query", "CommunityPool", data);
|
|
19
16
|
return promise.then(data => query_1.QueryCommunityPoolResponse.decode(new binary_1.BinaryReader(data)));
|
|
20
|
-
}
|
|
21
|
-
|
|
17
|
+
};
|
|
18
|
+
/* ContinuousFund queries a continuous fund by the recipient is is associated with. */
|
|
19
|
+
continuousFund = async (request) => {
|
|
22
20
|
const data = query_1.QueryContinuousFundRequest.encode(request).finish();
|
|
23
21
|
const promise = this.rpc.request("cosmos.protocolpool.v1.Query", "ContinuousFund", data);
|
|
24
22
|
return promise.then(data => query_1.QueryContinuousFundResponse.decode(new binary_1.BinaryReader(data)));
|
|
25
|
-
}
|
|
26
|
-
|
|
23
|
+
};
|
|
24
|
+
/* ContinuousFunds queries all continuous funds in the store. */
|
|
25
|
+
continuousFunds = async (request = {}) => {
|
|
27
26
|
const data = query_1.QueryContinuousFundsRequest.encode(request).finish();
|
|
28
27
|
const promise = this.rpc.request("cosmos.protocolpool.v1.Query", "ContinuousFunds", data);
|
|
29
28
|
return promise.then(data => query_1.QueryContinuousFundsResponse.decode(new binary_1.BinaryReader(data)));
|
|
30
|
-
}
|
|
31
|
-
|
|
29
|
+
};
|
|
30
|
+
/* Params returns the total set of x/protocolpool parameters. */
|
|
31
|
+
params = async (request = {}) => {
|
|
32
32
|
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
33
33
|
const promise = this.rpc.request("cosmos.protocolpool.v1.Query", "Params", data);
|
|
34
34
|
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
35
|
-
}
|
|
35
|
+
};
|
|
36
36
|
}
|
|
37
37
|
exports.QueryClientImpl = QueryClientImpl;
|
|
38
38
|
const createRpcQueryExtension = (base) => {
|