@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Params, ParamsAmino
|
|
1
|
+
import { Params, ParamsAmino } from "./mint";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
@@ -15,9 +15,6 @@ export interface QueryParamsRequestAminoMsg {
|
|
|
15
15
|
type: "cosmos-sdk/QueryParamsRequest";
|
|
16
16
|
value: QueryParamsRequestAmino;
|
|
17
17
|
}
|
|
18
|
-
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
19
|
-
export interface QueryParamsRequestSDKType {
|
|
20
|
-
}
|
|
21
18
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
22
19
|
export interface QueryParamsResponse {
|
|
23
20
|
/** params defines the parameters of the module. */
|
|
@@ -36,10 +33,6 @@ export interface QueryParamsResponseAminoMsg {
|
|
|
36
33
|
type: "cosmos-sdk/QueryParamsResponse";
|
|
37
34
|
value: QueryParamsResponseAmino;
|
|
38
35
|
}
|
|
39
|
-
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
40
|
-
export interface QueryParamsResponseSDKType {
|
|
41
|
-
params: ParamsSDKType;
|
|
42
|
-
}
|
|
43
36
|
/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */
|
|
44
37
|
export interface QueryInflationRequest {
|
|
45
38
|
}
|
|
@@ -54,9 +47,6 @@ export interface QueryInflationRequestAminoMsg {
|
|
|
54
47
|
type: "cosmos-sdk/QueryInflationRequest";
|
|
55
48
|
value: QueryInflationRequestAmino;
|
|
56
49
|
}
|
|
57
|
-
/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */
|
|
58
|
-
export interface QueryInflationRequestSDKType {
|
|
59
|
-
}
|
|
60
50
|
/**
|
|
61
51
|
* QueryInflationResponse is the response type for the Query/Inflation RPC
|
|
62
52
|
* method.
|
|
@@ -81,13 +71,6 @@ export interface QueryInflationResponseAminoMsg {
|
|
|
81
71
|
type: "cosmos-sdk/QueryInflationResponse";
|
|
82
72
|
value: QueryInflationResponseAmino;
|
|
83
73
|
}
|
|
84
|
-
/**
|
|
85
|
-
* QueryInflationResponse is the response type for the Query/Inflation RPC
|
|
86
|
-
* method.
|
|
87
|
-
*/
|
|
88
|
-
export interface QueryInflationResponseSDKType {
|
|
89
|
-
inflation: Uint8Array;
|
|
90
|
-
}
|
|
91
74
|
/**
|
|
92
75
|
* QueryAnnualProvisionsRequest is the request type for the
|
|
93
76
|
* Query/AnnualProvisions RPC method.
|
|
@@ -108,12 +91,6 @@ export interface QueryAnnualProvisionsRequestAminoMsg {
|
|
|
108
91
|
type: "cosmos-sdk/QueryAnnualProvisionsRequest";
|
|
109
92
|
value: QueryAnnualProvisionsRequestAmino;
|
|
110
93
|
}
|
|
111
|
-
/**
|
|
112
|
-
* QueryAnnualProvisionsRequest is the request type for the
|
|
113
|
-
* Query/AnnualProvisions RPC method.
|
|
114
|
-
*/
|
|
115
|
-
export interface QueryAnnualProvisionsRequestSDKType {
|
|
116
|
-
}
|
|
117
94
|
/**
|
|
118
95
|
* QueryAnnualProvisionsResponse is the response type for the
|
|
119
96
|
* Query/AnnualProvisions RPC method.
|
|
@@ -138,15 +115,9 @@ export interface QueryAnnualProvisionsResponseAminoMsg {
|
|
|
138
115
|
type: "cosmos-sdk/QueryAnnualProvisionsResponse";
|
|
139
116
|
value: QueryAnnualProvisionsResponseAmino;
|
|
140
117
|
}
|
|
141
|
-
/**
|
|
142
|
-
* QueryAnnualProvisionsResponse is the response type for the
|
|
143
|
-
* Query/AnnualProvisions RPC method.
|
|
144
|
-
*/
|
|
145
|
-
export interface QueryAnnualProvisionsResponseSDKType {
|
|
146
|
-
annual_provisions: Uint8Array;
|
|
147
|
-
}
|
|
148
118
|
export declare const QueryParamsRequest: {
|
|
149
119
|
typeUrl: string;
|
|
120
|
+
aminoType: string;
|
|
150
121
|
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
151
122
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
|
|
152
123
|
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
|
|
@@ -160,6 +131,7 @@ export declare const QueryParamsRequest: {
|
|
|
160
131
|
};
|
|
161
132
|
export declare const QueryParamsResponse: {
|
|
162
133
|
typeUrl: string;
|
|
134
|
+
aminoType: string;
|
|
163
135
|
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
164
136
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
|
|
165
137
|
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
|
|
@@ -173,6 +145,7 @@ export declare const QueryParamsResponse: {
|
|
|
173
145
|
};
|
|
174
146
|
export declare const QueryInflationRequest: {
|
|
175
147
|
typeUrl: string;
|
|
148
|
+
aminoType: string;
|
|
176
149
|
encode(_: QueryInflationRequest, writer?: BinaryWriter): BinaryWriter;
|
|
177
150
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationRequest;
|
|
178
151
|
fromPartial(_: DeepPartial<QueryInflationRequest>): QueryInflationRequest;
|
|
@@ -186,6 +159,7 @@ export declare const QueryInflationRequest: {
|
|
|
186
159
|
};
|
|
187
160
|
export declare const QueryInflationResponse: {
|
|
188
161
|
typeUrl: string;
|
|
162
|
+
aminoType: string;
|
|
189
163
|
encode(message: QueryInflationResponse, writer?: BinaryWriter): BinaryWriter;
|
|
190
164
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationResponse;
|
|
191
165
|
fromPartial(object: DeepPartial<QueryInflationResponse>): QueryInflationResponse;
|
|
@@ -199,6 +173,7 @@ export declare const QueryInflationResponse: {
|
|
|
199
173
|
};
|
|
200
174
|
export declare const QueryAnnualProvisionsRequest: {
|
|
201
175
|
typeUrl: string;
|
|
176
|
+
aminoType: string;
|
|
202
177
|
encode(_: QueryAnnualProvisionsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
203
178
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsRequest;
|
|
204
179
|
fromPartial(_: DeepPartial<QueryAnnualProvisionsRequest>): QueryAnnualProvisionsRequest;
|
|
@@ -212,6 +187,7 @@ export declare const QueryAnnualProvisionsRequest: {
|
|
|
212
187
|
};
|
|
213
188
|
export declare const QueryAnnualProvisionsResponse: {
|
|
214
189
|
typeUrl: string;
|
|
190
|
+
aminoType: string;
|
|
215
191
|
encode(message: QueryAnnualProvisionsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
216
192
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsResponse;
|
|
217
193
|
fromPartial(object: DeepPartial<QueryAnnualProvisionsResponse>): QueryAnnualProvisionsResponse;
|
|
@@ -10,6 +10,7 @@ function createBaseQueryParamsRequest() {
|
|
|
10
10
|
}
|
|
11
11
|
exports.QueryParamsRequest = {
|
|
12
12
|
typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest",
|
|
13
|
+
aminoType: "cosmos-sdk/QueryParamsRequest",
|
|
13
14
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
14
15
|
return writer;
|
|
15
16
|
},
|
|
@@ -68,6 +69,7 @@ function createBaseQueryParamsResponse() {
|
|
|
68
69
|
}
|
|
69
70
|
exports.QueryParamsResponse = {
|
|
70
71
|
typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse",
|
|
72
|
+
aminoType: "cosmos-sdk/QueryParamsResponse",
|
|
71
73
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
72
74
|
if (message.params !== undefined) {
|
|
73
75
|
mint_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -135,6 +137,7 @@ function createBaseQueryInflationRequest() {
|
|
|
135
137
|
}
|
|
136
138
|
exports.QueryInflationRequest = {
|
|
137
139
|
typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest",
|
|
140
|
+
aminoType: "cosmos-sdk/QueryInflationRequest",
|
|
138
141
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
139
142
|
return writer;
|
|
140
143
|
},
|
|
@@ -193,6 +196,7 @@ function createBaseQueryInflationResponse() {
|
|
|
193
196
|
}
|
|
194
197
|
exports.QueryInflationResponse = {
|
|
195
198
|
typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse",
|
|
199
|
+
aminoType: "cosmos-sdk/QueryInflationResponse",
|
|
196
200
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
197
201
|
if (message.inflation.length !== 0) {
|
|
198
202
|
writer.uint32(10).bytes(message.inflation);
|
|
@@ -260,6 +264,7 @@ function createBaseQueryAnnualProvisionsRequest() {
|
|
|
260
264
|
}
|
|
261
265
|
exports.QueryAnnualProvisionsRequest = {
|
|
262
266
|
typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest",
|
|
267
|
+
aminoType: "cosmos-sdk/QueryAnnualProvisionsRequest",
|
|
263
268
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
264
269
|
return writer;
|
|
265
270
|
},
|
|
@@ -318,6 +323,7 @@ function createBaseQueryAnnualProvisionsResponse() {
|
|
|
318
323
|
}
|
|
319
324
|
exports.QueryAnnualProvisionsResponse = {
|
|
320
325
|
typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse",
|
|
326
|
+
aminoType: "cosmos-sdk/QueryAnnualProvisionsResponse",
|
|
321
327
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
322
328
|
if (message.annualProvisions.length !== 0) {
|
|
323
329
|
writer.uint32(10).bytes(message.annualProvisions);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryParamsRequest,
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
6
6
|
requestClient: LCDClient;
|
|
7
7
|
});
|
|
8
|
-
params(_params?: QueryParamsRequest)
|
|
9
|
-
inflation(_params?: QueryInflationRequest)
|
|
10
|
-
annualProvisions(_params?: QueryAnnualProvisionsRequest)
|
|
8
|
+
params: (_params?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
9
|
+
inflation: (_params?: QueryInflationRequest) => Promise<QueryInflationResponse>;
|
|
10
|
+
annualProvisions: (_params?: QueryAnnualProvisionsRequest) => Promise<QueryAnnualProvisionsResponse>;
|
|
11
11
|
}
|
|
@@ -5,24 +5,21 @@ class LCDQueryClient {
|
|
|
5
5
|
req;
|
|
6
6
|
constructor({ requestClient }) {
|
|
7
7
|
this.req = requestClient;
|
|
8
|
-
this.params = this.params.bind(this);
|
|
9
|
-
this.inflation = this.inflation.bind(this);
|
|
10
|
-
this.annualProvisions = this.annualProvisions.bind(this);
|
|
11
8
|
}
|
|
12
9
|
/* Params returns the total set of minting parameters. */
|
|
13
|
-
async
|
|
10
|
+
params = async (_params = {}) => {
|
|
14
11
|
const endpoint = `cosmos/mint/v1beta1/params`;
|
|
15
12
|
return await this.req.get(endpoint);
|
|
16
|
-
}
|
|
13
|
+
};
|
|
17
14
|
/* Inflation returns the current minting inflation value. */
|
|
18
|
-
async
|
|
15
|
+
inflation = async (_params = {}) => {
|
|
19
16
|
const endpoint = `cosmos/mint/v1beta1/inflation`;
|
|
20
17
|
return await this.req.get(endpoint);
|
|
21
|
-
}
|
|
18
|
+
};
|
|
22
19
|
/* AnnualProvisions current minting annual provisions value. */
|
|
23
|
-
async
|
|
20
|
+
annualProvisions = async (_params = {}) => {
|
|
24
21
|
const endpoint = `cosmos/mint/v1beta1/annual_provisions`;
|
|
25
22
|
return await this.req.get(endpoint);
|
|
26
|
-
}
|
|
23
|
+
};
|
|
27
24
|
}
|
|
28
25
|
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -13,9 +13,9 @@ export interface Query {
|
|
|
13
13
|
export declare class QueryClientImpl implements Query {
|
|
14
14
|
private readonly rpc;
|
|
15
15
|
constructor(rpc: TxRpc);
|
|
16
|
-
params(request?: QueryParamsRequest)
|
|
17
|
-
inflation(request?: QueryInflationRequest)
|
|
18
|
-
annualProvisions(request?: QueryAnnualProvisionsRequest)
|
|
16
|
+
params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
17
|
+
inflation: (request?: QueryInflationRequest) => Promise<QueryInflationResponse>;
|
|
18
|
+
annualProvisions: (request?: QueryAnnualProvisionsRequest) => Promise<QueryAnnualProvisionsResponse>;
|
|
19
19
|
}
|
|
20
20
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
21
21
|
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
@@ -8,25 +8,25 @@ class QueryClientImpl {
|
|
|
8
8
|
rpc;
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
|
-
this.params = this.params.bind(this);
|
|
12
|
-
this.inflation = this.inflation.bind(this);
|
|
13
|
-
this.annualProvisions = this.annualProvisions.bind(this);
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
/* Params returns the total set of minting parameters. */
|
|
13
|
+
params = async (request = {}) => {
|
|
16
14
|
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
17
15
|
const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data);
|
|
18
16
|
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
19
|
-
}
|
|
20
|
-
inflation
|
|
17
|
+
};
|
|
18
|
+
/* Inflation returns the current minting inflation value. */
|
|
19
|
+
inflation = async (request = {}) => {
|
|
21
20
|
const data = query_1.QueryInflationRequest.encode(request).finish();
|
|
22
21
|
const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data);
|
|
23
22
|
return promise.then(data => query_1.QueryInflationResponse.decode(new binary_1.BinaryReader(data)));
|
|
24
|
-
}
|
|
25
|
-
|
|
23
|
+
};
|
|
24
|
+
/* AnnualProvisions current minting annual provisions value. */
|
|
25
|
+
annualProvisions = async (request = {}) => {
|
|
26
26
|
const data = query_1.QueryAnnualProvisionsRequest.encode(request).finish();
|
|
27
27
|
const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data);
|
|
28
28
|
return promise.then(data => query_1.QueryAnnualProvisionsResponse.decode(new binary_1.BinaryReader(data)));
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
30
|
}
|
|
31
31
|
exports.QueryClientImpl = QueryClientImpl;
|
|
32
32
|
const createRpcQueryExtension = (base) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Params, ParamsAmino
|
|
1
|
+
import { Params, ParamsAmino } from "./mint";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
@@ -39,15 +39,6 @@ export interface MsgUpdateParamsAminoMsg {
|
|
|
39
39
|
type: "cosmos-sdk/x/mint/MsgUpdateParams";
|
|
40
40
|
value: MsgUpdateParamsAmino;
|
|
41
41
|
}
|
|
42
|
-
/**
|
|
43
|
-
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
44
|
-
*
|
|
45
|
-
* Since: cosmos-sdk 0.47
|
|
46
|
-
*/
|
|
47
|
-
export interface MsgUpdateParamsSDKType {
|
|
48
|
-
authority: string;
|
|
49
|
-
params: ParamsSDKType;
|
|
50
|
-
}
|
|
51
42
|
/**
|
|
52
43
|
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
53
44
|
* MsgUpdateParams message.
|
|
@@ -72,16 +63,9 @@ export interface MsgUpdateParamsResponseAminoMsg {
|
|
|
72
63
|
type: "cosmos-sdk/MsgUpdateParamsResponse";
|
|
73
64
|
value: MsgUpdateParamsResponseAmino;
|
|
74
65
|
}
|
|
75
|
-
/**
|
|
76
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
77
|
-
* MsgUpdateParams message.
|
|
78
|
-
*
|
|
79
|
-
* Since: cosmos-sdk 0.47
|
|
80
|
-
*/
|
|
81
|
-
export interface MsgUpdateParamsResponseSDKType {
|
|
82
|
-
}
|
|
83
66
|
export declare const MsgUpdateParams: {
|
|
84
67
|
typeUrl: string;
|
|
68
|
+
aminoType: string;
|
|
85
69
|
encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter;
|
|
86
70
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams;
|
|
87
71
|
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
@@ -95,6 +79,7 @@ export declare const MsgUpdateParams: {
|
|
|
95
79
|
};
|
|
96
80
|
export declare const MsgUpdateParamsResponse: {
|
|
97
81
|
typeUrl: string;
|
|
82
|
+
aminoType: string;
|
|
98
83
|
encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
99
84
|
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse;
|
|
100
85
|
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
@@ -12,6 +12,7 @@ function createBaseMsgUpdateParams() {
|
|
|
12
12
|
}
|
|
13
13
|
exports.MsgUpdateParams = {
|
|
14
14
|
typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams",
|
|
15
|
+
aminoType: "cosmos-sdk/x/mint/MsgUpdateParams",
|
|
15
16
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
16
17
|
if (message.authority !== "") {
|
|
17
18
|
writer.uint32(10).string(message.authority);
|
|
@@ -90,6 +91,7 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
90
91
|
}
|
|
91
92
|
exports.MsgUpdateParamsResponse = {
|
|
92
93
|
typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParamsResponse",
|
|
94
|
+
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
93
95
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
94
96
|
return writer;
|
|
95
97
|
},
|
|
@@ -13,5 +13,6 @@ export interface Msg {
|
|
|
13
13
|
export declare class MsgClientImpl implements Msg {
|
|
14
14
|
private readonly rpc;
|
|
15
15
|
constructor(rpc: TxRpc);
|
|
16
|
-
updateParams(request: MsgUpdateParams)
|
|
16
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
17
17
|
}
|
|
18
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgClientImpl = void 0;
|
|
3
|
+
exports.createClientImpl = exports.MsgClientImpl = void 0;
|
|
4
4
|
const binary_1 = require("../../../binary");
|
|
5
5
|
const tx_1 = require("./tx");
|
|
6
6
|
class MsgClientImpl {
|
|
7
7
|
rpc;
|
|
8
8
|
constructor(rpc) {
|
|
9
9
|
this.rpc = rpc;
|
|
10
|
-
this.updateParams = this.updateParams.bind(this);
|
|
11
10
|
}
|
|
12
|
-
|
|
11
|
+
/* UpdateParams defines a governance operation for updating the x/mint module
|
|
12
|
+
parameters. The authority is defaults to the x/gov module account.
|
|
13
|
+
|
|
14
|
+
Since: cosmos-sdk 0.47 */
|
|
15
|
+
updateParams = async (request) => {
|
|
13
16
|
const data = tx_1.MsgUpdateParams.encode(request).finish();
|
|
14
17
|
const promise = this.rpc.request("cosmos.mint.v1beta1.Msg", "UpdateParams", data);
|
|
15
18
|
return promise.then(data => tx_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
16
|
-
}
|
|
19
|
+
};
|
|
17
20
|
}
|
|
18
21
|
exports.MsgClientImpl = MsgClientImpl;
|
|
22
|
+
const createClientImpl = (rpc) => {
|
|
23
|
+
return new MsgClientImpl(rpc);
|
|
24
|
+
};
|
|
25
|
+
exports.createClientImpl = createClientImpl;
|
|
@@ -14,11 +14,9 @@ export interface ModuleAminoMsg {
|
|
|
14
14
|
type: "cosmos-sdk/Module";
|
|
15
15
|
value: ModuleAmino;
|
|
16
16
|
}
|
|
17
|
-
/** Module is the config object of the nft module. */
|
|
18
|
-
export interface ModuleSDKType {
|
|
19
|
-
}
|
|
20
17
|
export declare const Module: {
|
|
21
18
|
typeUrl: string;
|
|
19
|
+
aminoType: string;
|
|
22
20
|
encode(_: Module, writer?: BinaryWriter): BinaryWriter;
|
|
23
21
|
decode(input: BinaryReader | Uint8Array, length?: number): Module;
|
|
24
22
|
fromPartial(_: DeepPartial<Module>): Module;
|
|
@@ -22,15 +22,9 @@ export interface ModuleAminoMsg {
|
|
|
22
22
|
type: "cosmos-sdk/Module";
|
|
23
23
|
value: ModuleAmino;
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Module defines the ORM module which adds providers to the app container for
|
|
27
|
-
* ORM ModuleDB's and in the future will automatically register query
|
|
28
|
-
* services for modules that use the ORM.
|
|
29
|
-
*/
|
|
30
|
-
export interface ModuleSDKType {
|
|
31
|
-
}
|
|
32
25
|
export declare const Module: {
|
|
33
26
|
typeUrl: string;
|
|
27
|
+
aminoType: string;
|
|
34
28
|
encode(_: Module, writer?: BinaryWriter): BinaryWriter;
|
|
35
29
|
decode(input: BinaryReader | Uint8Array, length?: number): Module;
|
|
36
30
|
fromPartial(_: DeepPartial<Module>): Module;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PageRequest, PageRequestAmino,
|
|
2
|
-
import { Any, AnyAmino
|
|
3
|
-
import { Duration, DurationAmino
|
|
1
|
+
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../base/query/v1beta1/pagination";
|
|
2
|
+
import { Any, AnyAmino } from "../../../../google/protobuf/any";
|
|
3
|
+
import { Duration, DurationAmino } from "../../../../google/protobuf/duration";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
5
|
import { DeepPartial } from "../../../../helpers";
|
|
6
6
|
/** GetRequest is the Query/Get request type. */
|
|
@@ -45,12 +45,6 @@ export interface GetRequestAminoMsg {
|
|
|
45
45
|
type: "cosmos-sdk/GetRequest";
|
|
46
46
|
value: GetRequestAmino;
|
|
47
47
|
}
|
|
48
|
-
/** GetRequest is the Query/Get request type. */
|
|
49
|
-
export interface GetRequestSDKType {
|
|
50
|
-
message_name: string;
|
|
51
|
-
index: string;
|
|
52
|
-
values: IndexValueSDKType[];
|
|
53
|
-
}
|
|
54
48
|
/** GetResponse is the Query/Get response type. */
|
|
55
49
|
export interface GetResponse {
|
|
56
50
|
/**
|
|
@@ -75,10 +69,6 @@ export interface GetResponseAminoMsg {
|
|
|
75
69
|
type: "cosmos-sdk/GetResponse";
|
|
76
70
|
value: GetResponseAmino;
|
|
77
71
|
}
|
|
78
|
-
/** GetResponse is the Query/Get response type. */
|
|
79
|
-
export interface GetResponseSDKType {
|
|
80
|
-
result?: AnySDKType;
|
|
81
|
-
}
|
|
82
72
|
/** ListRequest is the Query/List request type. */
|
|
83
73
|
export interface ListRequest {
|
|
84
74
|
/** message_name is the fully-qualified message name of the ORM table being queried. */
|
|
@@ -119,14 +109,6 @@ export interface ListRequestAminoMsg {
|
|
|
119
109
|
type: "cosmos-sdk/ListRequest";
|
|
120
110
|
value: ListRequestAmino;
|
|
121
111
|
}
|
|
122
|
-
/** ListRequest is the Query/List request type. */
|
|
123
|
-
export interface ListRequestSDKType {
|
|
124
|
-
message_name: string;
|
|
125
|
-
index: string;
|
|
126
|
-
prefix?: ListRequest_PrefixSDKType;
|
|
127
|
-
range?: ListRequest_RangeSDKType;
|
|
128
|
-
pagination?: PageRequestSDKType;
|
|
129
|
-
}
|
|
130
112
|
/** Prefix specifies the arguments to a prefix query. */
|
|
131
113
|
export interface ListRequest_Prefix {
|
|
132
114
|
/**
|
|
@@ -153,10 +135,6 @@ export interface ListRequest_PrefixAminoMsg {
|
|
|
153
135
|
type: "cosmos-sdk/Prefix";
|
|
154
136
|
value: ListRequest_PrefixAmino;
|
|
155
137
|
}
|
|
156
|
-
/** Prefix specifies the arguments to a prefix query. */
|
|
157
|
-
export interface ListRequest_PrefixSDKType {
|
|
158
|
-
values: IndexValueSDKType[];
|
|
159
|
-
}
|
|
160
138
|
/** Range specifies the arguments to a range query. */
|
|
161
139
|
export interface ListRequest_Range {
|
|
162
140
|
/**
|
|
@@ -195,11 +173,6 @@ export interface ListRequest_RangeAminoMsg {
|
|
|
195
173
|
type: "cosmos-sdk/Range";
|
|
196
174
|
value: ListRequest_RangeAmino;
|
|
197
175
|
}
|
|
198
|
-
/** Range specifies the arguments to a range query. */
|
|
199
|
-
export interface ListRequest_RangeSDKType {
|
|
200
|
-
start: IndexValueSDKType[];
|
|
201
|
-
end: IndexValueSDKType[];
|
|
202
|
-
}
|
|
203
176
|
/** ListResponse is the Query/List response type. */
|
|
204
177
|
export interface ListResponse {
|
|
205
178
|
/** results are the results of the query. */
|
|
@@ -222,11 +195,6 @@ export interface ListResponseAminoMsg {
|
|
|
222
195
|
type: "cosmos-sdk/ListResponse";
|
|
223
196
|
value: ListResponseAmino;
|
|
224
197
|
}
|
|
225
|
-
/** ListResponse is the Query/List response type. */
|
|
226
|
-
export interface ListResponseSDKType {
|
|
227
|
-
results: AnySDKType[];
|
|
228
|
-
pagination?: PageResponseSDKType;
|
|
229
|
-
}
|
|
230
198
|
/** IndexValue represents the value of a field in an ORM index expression. */
|
|
231
199
|
export interface IndexValue {
|
|
232
200
|
/**
|
|
@@ -285,19 +253,9 @@ export interface IndexValueAminoMsg {
|
|
|
285
253
|
type: "cosmos-sdk/IndexValue";
|
|
286
254
|
value: IndexValueAmino;
|
|
287
255
|
}
|
|
288
|
-
/** IndexValue represents the value of a field in an ORM index expression. */
|
|
289
|
-
export interface IndexValueSDKType {
|
|
290
|
-
uint?: bigint;
|
|
291
|
-
int?: bigint;
|
|
292
|
-
str?: string;
|
|
293
|
-
bytes?: Uint8Array;
|
|
294
|
-
enum?: string;
|
|
295
|
-
bool?: boolean;
|
|
296
|
-
timestamp?: Date;
|
|
297
|
-
duration?: DurationSDKType;
|
|
298
|
-
}
|
|
299
256
|
export declare const GetRequest: {
|
|
300
257
|
typeUrl: string;
|
|
258
|
+
aminoType: string;
|
|
301
259
|
encode(message: GetRequest, writer?: BinaryWriter): BinaryWriter;
|
|
302
260
|
decode(input: BinaryReader | Uint8Array, length?: number): GetRequest;
|
|
303
261
|
fromPartial(object: DeepPartial<GetRequest>): GetRequest;
|
|
@@ -311,6 +269,7 @@ export declare const GetRequest: {
|
|
|
311
269
|
};
|
|
312
270
|
export declare const GetResponse: {
|
|
313
271
|
typeUrl: string;
|
|
272
|
+
aminoType: string;
|
|
314
273
|
encode(message: GetResponse, writer?: BinaryWriter): BinaryWriter;
|
|
315
274
|
decode(input: BinaryReader | Uint8Array, length?: number): GetResponse;
|
|
316
275
|
fromPartial(object: DeepPartial<GetResponse>): GetResponse;
|
|
@@ -324,6 +283,7 @@ export declare const GetResponse: {
|
|
|
324
283
|
};
|
|
325
284
|
export declare const ListRequest: {
|
|
326
285
|
typeUrl: string;
|
|
286
|
+
aminoType: string;
|
|
327
287
|
encode(message: ListRequest, writer?: BinaryWriter): BinaryWriter;
|
|
328
288
|
decode(input: BinaryReader | Uint8Array, length?: number): ListRequest;
|
|
329
289
|
fromPartial(object: DeepPartial<ListRequest>): ListRequest;
|
|
@@ -337,6 +297,7 @@ export declare const ListRequest: {
|
|
|
337
297
|
};
|
|
338
298
|
export declare const ListRequest_Prefix: {
|
|
339
299
|
typeUrl: string;
|
|
300
|
+
aminoType: string;
|
|
340
301
|
encode(message: ListRequest_Prefix, writer?: BinaryWriter): BinaryWriter;
|
|
341
302
|
decode(input: BinaryReader | Uint8Array, length?: number): ListRequest_Prefix;
|
|
342
303
|
fromPartial(object: DeepPartial<ListRequest_Prefix>): ListRequest_Prefix;
|
|
@@ -350,6 +311,7 @@ export declare const ListRequest_Prefix: {
|
|
|
350
311
|
};
|
|
351
312
|
export declare const ListRequest_Range: {
|
|
352
313
|
typeUrl: string;
|
|
314
|
+
aminoType: string;
|
|
353
315
|
encode(message: ListRequest_Range, writer?: BinaryWriter): BinaryWriter;
|
|
354
316
|
decode(input: BinaryReader | Uint8Array, length?: number): ListRequest_Range;
|
|
355
317
|
fromPartial(object: DeepPartial<ListRequest_Range>): ListRequest_Range;
|
|
@@ -363,6 +325,7 @@ export declare const ListRequest_Range: {
|
|
|
363
325
|
};
|
|
364
326
|
export declare const ListResponse: {
|
|
365
327
|
typeUrl: string;
|
|
328
|
+
aminoType: string;
|
|
366
329
|
encode(message: ListResponse, writer?: BinaryWriter): BinaryWriter;
|
|
367
330
|
decode(input: BinaryReader | Uint8Array, length?: number): ListResponse;
|
|
368
331
|
fromPartial(object: DeepPartial<ListResponse>): ListResponse;
|
|
@@ -376,6 +339,7 @@ export declare const ListResponse: {
|
|
|
376
339
|
};
|
|
377
340
|
export declare const IndexValue: {
|
|
378
341
|
typeUrl: string;
|
|
342
|
+
aminoType: string;
|
|
379
343
|
encode(message: IndexValue, writer?: BinaryWriter): BinaryWriter;
|
|
380
344
|
decode(input: BinaryReader | Uint8Array, length?: number): IndexValue;
|
|
381
345
|
fromPartial(object: DeepPartial<IndexValue>): IndexValue;
|
|
@@ -17,6 +17,7 @@ function createBaseGetRequest() {
|
|
|
17
17
|
}
|
|
18
18
|
exports.GetRequest = {
|
|
19
19
|
typeUrl: "/cosmos.orm.query.v1alpha1.GetRequest",
|
|
20
|
+
aminoType: "cosmos-sdk/GetRequest",
|
|
20
21
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
21
22
|
if (message.messageName !== "") {
|
|
22
23
|
writer.uint32(10).string(message.messageName);
|
|
@@ -111,6 +112,7 @@ function createBaseGetResponse() {
|
|
|
111
112
|
}
|
|
112
113
|
exports.GetResponse = {
|
|
113
114
|
typeUrl: "/cosmos.orm.query.v1alpha1.GetResponse",
|
|
115
|
+
aminoType: "cosmos-sdk/GetResponse",
|
|
114
116
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
115
117
|
if (message.result !== undefined) {
|
|
116
118
|
any_1.Any.encode(message.result, writer.uint32(10).fork()).ldelim();
|
|
@@ -184,6 +186,7 @@ function createBaseListRequest() {
|
|
|
184
186
|
}
|
|
185
187
|
exports.ListRequest = {
|
|
186
188
|
typeUrl: "/cosmos.orm.query.v1alpha1.ListRequest",
|
|
189
|
+
aminoType: "cosmos-sdk/ListRequest",
|
|
187
190
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
188
191
|
if (message.messageName !== "") {
|
|
189
192
|
writer.uint32(10).string(message.messageName);
|
|
@@ -297,6 +300,7 @@ function createBaseListRequest_Prefix() {
|
|
|
297
300
|
}
|
|
298
301
|
exports.ListRequest_Prefix = {
|
|
299
302
|
typeUrl: "/cosmos.orm.query.v1alpha1.Prefix",
|
|
303
|
+
aminoType: "cosmos-sdk/Prefix",
|
|
300
304
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
301
305
|
for (const v of message.values) {
|
|
302
306
|
exports.IndexValue.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -370,6 +374,7 @@ function createBaseListRequest_Range() {
|
|
|
370
374
|
}
|
|
371
375
|
exports.ListRequest_Range = {
|
|
372
376
|
typeUrl: "/cosmos.orm.query.v1alpha1.Range",
|
|
377
|
+
aminoType: "cosmos-sdk/Range",
|
|
373
378
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
374
379
|
for (const v of message.start) {
|
|
375
380
|
exports.IndexValue.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -457,6 +462,7 @@ function createBaseListResponse() {
|
|
|
457
462
|
}
|
|
458
463
|
exports.ListResponse = {
|
|
459
464
|
typeUrl: "/cosmos.orm.query.v1alpha1.ListResponse",
|
|
465
|
+
aminoType: "cosmos-sdk/ListResponse",
|
|
460
466
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
461
467
|
for (const v of message.results) {
|
|
462
468
|
any_1.Any.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -547,6 +553,7 @@ function createBaseIndexValue() {
|
|
|
547
553
|
}
|
|
548
554
|
exports.IndexValue = {
|
|
549
555
|
typeUrl: "/cosmos.orm.query.v1alpha1.IndexValue",
|
|
556
|
+
aminoType: "cosmos-sdk/IndexValue",
|
|
550
557
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
551
558
|
if (message.uint !== undefined) {
|
|
552
559
|
writer.uint32(8).uint64(message.uint);
|
|
@@ -11,8 +11,8 @@ export interface Query {
|
|
|
11
11
|
export declare class QueryClientImpl implements Query {
|
|
12
12
|
private readonly rpc;
|
|
13
13
|
constructor(rpc: TxRpc);
|
|
14
|
-
get(request: GetRequest)
|
|
15
|
-
list(request: ListRequest)
|
|
14
|
+
get: (request: GetRequest) => Promise<GetResponse>;
|
|
15
|
+
list: (request: ListRequest) => Promise<ListResponse>;
|
|
16
16
|
}
|
|
17
17
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
18
18
|
get(request: GetRequest): Promise<GetResponse>;
|
|
@@ -8,19 +8,19 @@ class QueryClientImpl {
|
|
|
8
8
|
rpc;
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
|
-
this.get = this.get.bind(this);
|
|
12
|
-
this.list = this.list.bind(this);
|
|
13
11
|
}
|
|
14
|
-
|
|
12
|
+
/* Get queries an ORM table against an unique index. */
|
|
13
|
+
get = async (request) => {
|
|
15
14
|
const data = query_1.GetRequest.encode(request).finish();
|
|
16
15
|
const promise = this.rpc.request("cosmos.orm.query.v1alpha1.Query", "Get", data);
|
|
17
16
|
return promise.then(data => query_1.GetResponse.decode(new binary_1.BinaryReader(data)));
|
|
18
|
-
}
|
|
19
|
-
|
|
17
|
+
};
|
|
18
|
+
/* List queries an ORM table against an index. */
|
|
19
|
+
list = async (request) => {
|
|
20
20
|
const data = query_1.ListRequest.encode(request).finish();
|
|
21
21
|
const promise = this.rpc.request("cosmos.orm.query.v1alpha1.Query", "List", data);
|
|
22
22
|
return promise.then(data => query_1.ListResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
}
|
|
25
25
|
exports.QueryClientImpl = QueryClientImpl;
|
|
26
26
|
const createRpcQueryExtension = (base) => {
|