@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +2 -20
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +3 -18
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +2 -11
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +5 -39
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +3 -7
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +23 -139
- package/cosmos/auth/v1beta1/query.js +20 -0
- package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +3 -18
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +1 -3
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +8 -35
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +2 -12
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +2 -5
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +8 -34
- package/cosmos/authz/v1beta1/query.js +6 -0
- package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +8 -39
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +1 -6
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +2 -13
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +8 -59
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +4 -18
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +30 -199
- package/cosmos/bank/v1beta1/query.js +27 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
- package/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +13 -13
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +10 -57
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +14 -101
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +4 -21
- package/cosmos/base/node/v1beta1/query.js +4 -0
- package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +2 -2
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +2 -29
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +26 -128
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +4 -34
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +2 -18
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +1 -10
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +3 -11
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +669 -17
- package/cosmos/circuit/module/v1/module.d.ts +1 -4
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +8 -26
- package/cosmos/circuit/v1/query.js +6 -0
- package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
- package/cosmos/circuit/v1/query.lcd.js +7 -10
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +7 -29
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +3 -19
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +1 -4
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +3 -8
- package/cosmos/consensus/v1/query.js +2 -0
- package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
- package/cosmos/consensus/v1/query.lcd.js +2 -3
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +1 -1
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +3 -15
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +1 -4
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +2 -7
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +1 -1
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +2 -9
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +1 -5
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +2 -17
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +1 -8
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +7 -28
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +2 -10
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -18
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +2 -14
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +2 -8
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +1 -5
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +13 -122
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +10 -64
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +23 -137
- package/cosmos/distribution/v1beta1/query.js +20 -0
- package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +16 -112
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +1 -3
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +2 -9
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +3 -18
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +5 -28
- package/cosmos/epochs/v1beta1/query.js +4 -0
- package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +1 -3
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +1 -3
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +7 -39
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +2 -5
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +8 -39
- package/cosmos/feegrant/v1beta1/query.js +6 -0
- package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +8 -37
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +1 -3
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +1 -5
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +2 -16
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +12 -95
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +20 -92
- package/cosmos/gov/v1/query.js +18 -0
- package/cosmos/gov/v1/query.lcd.d.ts +10 -10
- package/cosmos/gov/v1/query.lcd.js +18 -27
- package/cosmos/gov/v1/query.rpc.Query.d.ts +9 -9
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +21 -101
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +2 -11
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +15 -81
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +18 -81
- package/cosmos/gov/v1beta1/query.js +16 -0
- package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
- package/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +8 -8
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +14 -54
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +2 -6
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +12 -51
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +2 -12
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +30 -140
- package/cosmos/group/v1/query.js +28 -0
- package/cosmos/group/v1/query.lcd.d.ts +15 -15
- package/cosmos/group/v1/query.lcd.js +29 -43
- package/cosmos/group/v1/query.rpc.Query.d.ts +14 -14
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +30 -142
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.rpc.msg.d.ts +15 -14
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +13 -119
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +13 -157
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +1 -5
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +2 -6
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +2 -14
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +7 -31
- package/cosmos/mint/v1beta1/query.js +6 -0
- package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +3 -3
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +3 -18
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +2 -1
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +1 -3
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +1 -7
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +10 -46
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +2 -2
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +1 -3
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +2 -17
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +6 -37
- package/cosmos/params/v1beta1/query.js +5 -0
- package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +2 -2
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +1 -4
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +2 -6
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +10 -49
- package/cosmos/protocolpool/v1/query.js +8 -0
- package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
- package/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +4 -4
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +12 -67
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +2 -11
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +3 -8
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +1 -4
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +1 -7
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +3 -19
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +3 -17
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +30 -185
- package/cosmos/staking/v1beta1/query.js +28 -0
- package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
- package/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +14 -14
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +26 -193
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +17 -102
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +2 -9
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +7 -59
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +6 -19
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +3 -25
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +3 -23
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +1 -5
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +7 -33
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +23 -170
- package/cosmos/tx/v1beta1/service.js +19 -3
- package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
- package/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +9 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +16 -123
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +1 -4
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +11 -77
- package/cosmos/upgrade/v1beta1/query.js +10 -0
- package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
- package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +5 -32
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +3 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +5 -47
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +1 -3
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +8 -54
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +8 -53
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +0 -1
- package/cosmos_proto/cosmos.d.ts +0 -23
- package/cosmos_proto/cosmos.js +1 -2
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/esm/cosmos/app/v1alpha1/module.js +3 -0
- package/esm/cosmos/auth/module/v1/module.js +2 -0
- package/esm/cosmos/auth/v1beta1/auth.js +4 -2
- package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
- package/esm/cosmos/auth/v1beta1/query.js +20 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/esm/cosmos/auth/v1beta1/tx.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +0 -20
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/google/api/http.d.ts +0 -292
- package/google/bundle.d.ts +0 -20
- package/google/protobuf/any.d.ts +0 -93
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +0 -336
- package/google/protobuf/descriptor.js +2 -22
- package/google/protobuf/duration.d.ts +0 -64
- package/google/protobuf/timestamp.d.ts +0 -95
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +1 -7
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +5 -17
- package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +8 -33
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +5 -37
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +2 -16
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +3 -8
- package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +1 -1
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +5 -19
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +2 -8
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +1 -12
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +3 -12
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +2 -28
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +3 -18
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +1 -9
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +4 -10
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +1 -12
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +16 -71
- package/ibc/applications/transfer/v1/query.js +12 -0
- package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
- package/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +6 -6
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +3 -15
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +1 -10
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +6 -33
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +3 -2
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +290 -8
- package/ibc/core/channel/v1/channel.d.ts +9 -88
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +3 -21
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +32 -245
- package/ibc/core/channel/v1/query.js +28 -0
- package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
- package/ibc/core/channel/v1/query.lcd.js +29 -43
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +14 -14
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +22 -147
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +3 -24
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +4 -33
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +19 -101
- package/ibc/core/channel/v2/query.js +16 -0
- package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
- package/ibc/core/channel/v2/query.lcd.js +16 -24
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +8 -8
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +10 -48
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +6 -48
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +4 -27
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +26 -169
- package/ibc/core/client/v1/query.js +22 -0
- package/ibc/core/client/v1/query.lcd.d.ts +11 -11
- package/ibc/core/client/v1/query.lcd.js +21 -31
- package/ibc/core/client/v1/query.rpc.Query.d.ts +11 -11
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +19 -91
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +9 -8
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +1 -9
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +1 -5
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +3 -10
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +6 -24
- package/ibc/core/client/v2/query.js +4 -0
- package/ibc/core/client/v2/query.lcd.d.ts +3 -3
- package/ibc/core/client/v2/query.lcd.js +4 -6
- package/ibc/core/client/v2/query.rpc.Query.d.ts +2 -2
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +5 -20
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +3 -2
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +4 -26
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +1 -36
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +8 -54
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +2 -8
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +16 -95
- package/ibc/core/connection/v1/query.js +12 -0
- package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
- package/ibc/core/connection/v1/query.lcd.js +13 -19
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +6 -6
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +13 -97
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +19 -133
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +9 -67
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +11 -69
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +2 -8
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +5 -18
- package/ibc/lightclients/wasm/v1/query.js +4 -0
- package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +2 -2
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +6 -27
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +4 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +5 -25
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +1 -5
- package/sparkdream/blog/module/module.d.ts +0 -4
- package/sparkdream/blog/params.d.ts +1 -3
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +0 -6
- package/sparkdream/blog/query.d.ts +3 -23
- package/sparkdream/blog/query.lcd.d.ts +4 -4
- package/sparkdream/blog/query.lcd.js +7 -10
- package/sparkdream/blog/query.rpc.Query.d.ts +3 -3
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +2 -34
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.rpc.msg.d.ts +5 -4
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +6 -0
- package/sparkdream/sparkdream/genesis.d.ts +1 -5
- package/sparkdream/sparkdream/module/module.d.ts +0 -4
- package/sparkdream/sparkdream/params.d.ts +1 -3
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +1 -8
- package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
- package/sparkdream/sparkdream/query.lcd.js +2 -3
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +1 -1
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +2 -12
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +2 -1
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +3 -309
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +0 -8
- package/tendermint/crypto/keys.d.ts +0 -5
- package/tendermint/crypto/proof.d.ts +0 -29
- package/tendermint/p2p/types.d.ts +0 -24
- package/tendermint/types/block.d.ts +2 -8
- package/tendermint/types/evidence.d.ts +2 -25
- package/tendermint/types/params.d.ts +1 -47
- package/tendermint/types/types.d.ts +3 -118
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +1 -17
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +0 -18
- package/types.d.ts +2 -55
|
@@ -5,6 +5,7 @@ function createBaseQueryGetCountRequest() {
|
|
|
5
5
|
}
|
|
6
6
|
export const QueryGetCountRequest = {
|
|
7
7
|
typeUrl: "/cosmos.counter.v1.QueryGetCountRequest",
|
|
8
|
+
aminoType: "cosmos-sdk/QueryGetCountRequest",
|
|
8
9
|
encode(_, writer = BinaryWriter.create()) {
|
|
9
10
|
return writer;
|
|
10
11
|
},
|
|
@@ -63,6 +64,7 @@ function createBaseQueryGetCountResponse() {
|
|
|
63
64
|
}
|
|
64
65
|
export const QueryGetCountResponse = {
|
|
65
66
|
typeUrl: "/cosmos.counter.v1.QueryGetCountResponse",
|
|
67
|
+
aminoType: "cosmos-sdk/QueryGetCountResponse",
|
|
66
68
|
encode(message, writer = BinaryWriter.create()) {
|
|
67
69
|
if (message.totalCount !== BigInt(0)) {
|
|
68
70
|
writer.uint32(8).int64(message.totalCount);
|
|
@@ -5,13 +5,13 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.getCount = this.getCount.bind(this);
|
|
9
8
|
}
|
|
10
|
-
|
|
9
|
+
/* GetCount queries the parameters of x/Counter module. */
|
|
10
|
+
getCount = async (request = {}) => {
|
|
11
11
|
const data = QueryGetCountRequest.encode(request).finish();
|
|
12
12
|
const promise = this.rpc.request("cosmos.counter.v1.Query", "GetCount", data);
|
|
13
13
|
return promise.then(data => QueryGetCountResponse.decode(new BinaryReader(data)));
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
}
|
|
16
16
|
export const createRpcQueryExtension = (base) => {
|
|
17
17
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -8,6 +8,7 @@ function createBaseMsgIncreaseCounter() {
|
|
|
8
8
|
}
|
|
9
9
|
export const MsgIncreaseCounter = {
|
|
10
10
|
typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
|
|
11
|
+
aminoType: "cosmos-sdk/increase_counter",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.signer !== "") {
|
|
13
14
|
writer.uint32(10).string(message.signer);
|
|
@@ -88,6 +89,7 @@ function createBaseMsgIncreaseCountResponse() {
|
|
|
88
89
|
}
|
|
89
90
|
export const MsgIncreaseCountResponse = {
|
|
90
91
|
typeUrl: "/cosmos.counter.v1.MsgIncreaseCountResponse",
|
|
92
|
+
aminoType: "cosmos-sdk/MsgIncreaseCountResponse",
|
|
91
93
|
encode(message, writer = BinaryWriter.create()) {
|
|
92
94
|
if (message.newCount !== BigInt(0)) {
|
|
93
95
|
writer.uint32(8).int64(message.newCount);
|
|
@@ -4,11 +4,14 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.increaseCount = this.increaseCount.bind(this);
|
|
8
7
|
}
|
|
9
|
-
|
|
8
|
+
/* IncreaseCount increments the counter by the specified amount. */
|
|
9
|
+
increaseCount = async (request) => {
|
|
10
10
|
const data = MsgIncreaseCounter.encode(request).finish();
|
|
11
11
|
const promise = this.rpc.request("cosmos.counter.v1.Msg", "IncreaseCount", data);
|
|
12
12
|
return promise.then(data => MsgIncreaseCountResponse.decode(new BinaryReader(data)));
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
}
|
|
15
|
+
export const createClientImpl = (rpc) => {
|
|
16
|
+
return new MsgClientImpl(rpc);
|
|
17
|
+
};
|
|
@@ -8,6 +8,7 @@ function createBaseModule() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Module = {
|
|
10
10
|
typeUrl: "/cosmos.crisis.module.v1.Module",
|
|
11
|
+
aminoType: "cosmos-sdk/Module",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.feeCollectorName !== "") {
|
|
13
14
|
writer.uint32(10).string(message.feeCollectorName);
|
|
@@ -8,6 +8,7 @@ function createBasePubKey() {
|
|
|
8
8
|
}
|
|
9
9
|
export const PubKey = {
|
|
10
10
|
typeUrl: "/cosmos.crypto.ed25519.PubKey",
|
|
11
|
+
aminoType: "tendermint/PubKeyEd25519",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.key.length !== 0) {
|
|
13
14
|
writer.uint32(10).bytes(message.key);
|
|
@@ -77,6 +78,7 @@ function createBasePrivKey() {
|
|
|
77
78
|
}
|
|
78
79
|
export const PrivKey = {
|
|
79
80
|
typeUrl: "/cosmos.crypto.ed25519.PrivKey",
|
|
81
|
+
aminoType: "tendermint/PrivKeyEd25519",
|
|
80
82
|
encode(message, writer = BinaryWriter.create()) {
|
|
81
83
|
if (message.key.length !== 0) {
|
|
82
84
|
writer.uint32(10).bytes(message.key);
|
|
@@ -11,6 +11,7 @@ function createBaseBIP44Params() {
|
|
|
11
11
|
}
|
|
12
12
|
export const BIP44Params = {
|
|
13
13
|
typeUrl: "/cosmos.crypto.hd.v1.BIP44Params",
|
|
14
|
+
aminoType: "crypto/keys/hd/BIP44Params",
|
|
14
15
|
encode(message, writer = BinaryWriter.create()) {
|
|
15
16
|
if (message.purpose !== 0) {
|
|
16
17
|
writer.uint32(8).uint32(message.purpose);
|
|
@@ -14,6 +14,7 @@ function createBaseRecord() {
|
|
|
14
14
|
}
|
|
15
15
|
export const Record = {
|
|
16
16
|
typeUrl: "/cosmos.crypto.keyring.v1.Record",
|
|
17
|
+
aminoType: "cosmos-sdk/Record",
|
|
17
18
|
encode(message, writer = BinaryWriter.create()) {
|
|
18
19
|
if (message.name !== "") {
|
|
19
20
|
writer.uint32(10).string(message.name);
|
|
@@ -138,6 +139,7 @@ function createBaseRecord_Local() {
|
|
|
138
139
|
}
|
|
139
140
|
export const Record_Local = {
|
|
140
141
|
typeUrl: "/cosmos.crypto.keyring.v1.Local",
|
|
142
|
+
aminoType: "cosmos-sdk/Local",
|
|
141
143
|
encode(message, writer = BinaryWriter.create()) {
|
|
142
144
|
if (message.privKey !== undefined) {
|
|
143
145
|
Any.encode(message.privKey, writer.uint32(10).fork()).ldelim();
|
|
@@ -207,6 +209,7 @@ function createBaseRecord_Ledger() {
|
|
|
207
209
|
}
|
|
208
210
|
export const Record_Ledger = {
|
|
209
211
|
typeUrl: "/cosmos.crypto.keyring.v1.Ledger",
|
|
212
|
+
aminoType: "cosmos-sdk/Ledger",
|
|
210
213
|
encode(message, writer = BinaryWriter.create()) {
|
|
211
214
|
if (message.path !== undefined) {
|
|
212
215
|
BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim();
|
|
@@ -274,6 +277,7 @@ function createBaseRecord_Multi() {
|
|
|
274
277
|
}
|
|
275
278
|
export const Record_Multi = {
|
|
276
279
|
typeUrl: "/cosmos.crypto.keyring.v1.Multi",
|
|
280
|
+
aminoType: "cosmos-sdk/Multi",
|
|
277
281
|
encode(_, writer = BinaryWriter.create()) {
|
|
278
282
|
return writer;
|
|
279
283
|
},
|
|
@@ -330,6 +334,7 @@ function createBaseRecord_Offline() {
|
|
|
330
334
|
}
|
|
331
335
|
export const Record_Offline = {
|
|
332
336
|
typeUrl: "/cosmos.crypto.keyring.v1.Offline",
|
|
337
|
+
aminoType: "cosmos-sdk/Offline",
|
|
333
338
|
encode(_, writer = BinaryWriter.create()) {
|
|
334
339
|
return writer;
|
|
335
340
|
},
|
|
@@ -9,6 +9,7 @@ function createBaseLegacyAminoPubKey() {
|
|
|
9
9
|
}
|
|
10
10
|
export const LegacyAminoPubKey = {
|
|
11
11
|
typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey",
|
|
12
|
+
aminoType: "tendermint/PubKeyMultisigThreshold",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
if (message.threshold !== 0) {
|
|
14
15
|
writer.uint32(8).uint32(message.threshold);
|
|
@@ -8,6 +8,7 @@ function createBaseMultiSignature() {
|
|
|
8
8
|
}
|
|
9
9
|
export const MultiSignature = {
|
|
10
10
|
typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature",
|
|
11
|
+
aminoType: "cosmos-sdk/MultiSignature",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
for (const v of message.signatures) {
|
|
13
14
|
writer.uint32(10).bytes(v);
|
|
@@ -81,6 +82,7 @@ function createBaseCompactBitArray() {
|
|
|
81
82
|
}
|
|
82
83
|
export const CompactBitArray = {
|
|
83
84
|
typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray",
|
|
85
|
+
aminoType: "cosmos-sdk/CompactBitArray",
|
|
84
86
|
encode(message, writer = BinaryWriter.create()) {
|
|
85
87
|
if (message.extraBitsStored !== 0) {
|
|
86
88
|
writer.uint32(8).uint32(message.extraBitsStored);
|
|
@@ -8,6 +8,7 @@ function createBasePubKey() {
|
|
|
8
8
|
}
|
|
9
9
|
export const PubKey = {
|
|
10
10
|
typeUrl: "/cosmos.crypto.secp256k1.PubKey",
|
|
11
|
+
aminoType: "tendermint/PubKeySecp256k1",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.key.length !== 0) {
|
|
13
14
|
writer.uint32(10).bytes(message.key);
|
|
@@ -77,6 +78,7 @@ function createBasePrivKey() {
|
|
|
77
78
|
}
|
|
78
79
|
export const PrivKey = {
|
|
79
80
|
typeUrl: "/cosmos.crypto.secp256k1.PrivKey",
|
|
81
|
+
aminoType: "tendermint/PrivKeySecp256k1",
|
|
80
82
|
encode(message, writer = BinaryWriter.create()) {
|
|
81
83
|
if (message.key.length !== 0) {
|
|
82
84
|
writer.uint32(10).bytes(message.key);
|
|
@@ -8,6 +8,7 @@ function createBasePubKey() {
|
|
|
8
8
|
}
|
|
9
9
|
export const PubKey = {
|
|
10
10
|
typeUrl: "/cosmos.crypto.secp256r1.PubKey",
|
|
11
|
+
aminoType: "cosmos-sdk/PubKey",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.key.length !== 0) {
|
|
13
14
|
writer.uint32(10).bytes(message.key);
|
|
@@ -77,6 +78,7 @@ function createBasePrivKey() {
|
|
|
77
78
|
}
|
|
78
79
|
export const PrivKey = {
|
|
79
80
|
typeUrl: "/cosmos.crypto.secp256r1.PrivKey",
|
|
81
|
+
aminoType: "cosmos-sdk/PrivKey",
|
|
80
82
|
encode(message, writer = BinaryWriter.create()) {
|
|
81
83
|
if (message.secret.length !== 0) {
|
|
82
84
|
writer.uint32(10).bytes(message.secret);
|
|
@@ -8,6 +8,7 @@ function createBaseModule() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Module = {
|
|
10
10
|
typeUrl: "/cosmos.distribution.module.v1.Module",
|
|
11
|
+
aminoType: "cosmos-sdk/Module",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.feeCollectorName !== "") {
|
|
13
14
|
writer.uint32(10).string(message.feeCollectorName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { DecCoin, Coin } from "../../base/v1beta1/coin";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { Decimal } from "@
|
|
4
|
+
import { Decimal } from "@interchainjs/math";
|
|
5
5
|
function createBaseParams() {
|
|
6
6
|
return {
|
|
7
7
|
communityTax: "",
|
|
@@ -12,6 +12,7 @@ function createBaseParams() {
|
|
|
12
12
|
}
|
|
13
13
|
export const Params = {
|
|
14
14
|
typeUrl: "/cosmos.distribution.v1beta1.Params",
|
|
15
|
+
aminoType: "cosmos-sdk/x/distribution/Params",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.communityTax !== "") {
|
|
17
18
|
writer.uint32(10).string(Decimal.fromUserInput(message.communityTax, 18).atomics);
|
|
@@ -115,6 +116,7 @@ function createBaseValidatorHistoricalRewards() {
|
|
|
115
116
|
}
|
|
116
117
|
export const ValidatorHistoricalRewards = {
|
|
117
118
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
|
|
119
|
+
aminoType: "cosmos-sdk/ValidatorHistoricalRewards",
|
|
118
120
|
encode(message, writer = BinaryWriter.create()) {
|
|
119
121
|
for (const v of message.cumulativeRewardRatio) {
|
|
120
122
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -199,6 +201,7 @@ function createBaseValidatorCurrentRewards() {
|
|
|
199
201
|
}
|
|
200
202
|
export const ValidatorCurrentRewards = {
|
|
201
203
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
|
|
204
|
+
aminoType: "cosmos-sdk/ValidatorCurrentRewards",
|
|
202
205
|
encode(message, writer = BinaryWriter.create()) {
|
|
203
206
|
for (const v of message.rewards) {
|
|
204
207
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -282,6 +285,7 @@ function createBaseValidatorAccumulatedCommission() {
|
|
|
282
285
|
}
|
|
283
286
|
export const ValidatorAccumulatedCommission = {
|
|
284
287
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
|
|
288
|
+
aminoType: "cosmos-sdk/ValidatorAccumulatedCommission",
|
|
285
289
|
encode(message, writer = BinaryWriter.create()) {
|
|
286
290
|
for (const v of message.commission) {
|
|
287
291
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -354,6 +358,7 @@ function createBaseValidatorOutstandingRewards() {
|
|
|
354
358
|
}
|
|
355
359
|
export const ValidatorOutstandingRewards = {
|
|
356
360
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
|
|
361
|
+
aminoType: "cosmos-sdk/ValidatorOutstandingRewards",
|
|
357
362
|
encode(message, writer = BinaryWriter.create()) {
|
|
358
363
|
for (const v of message.rewards) {
|
|
359
364
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -427,6 +432,7 @@ function createBaseValidatorSlashEvent() {
|
|
|
427
432
|
}
|
|
428
433
|
export const ValidatorSlashEvent = {
|
|
429
434
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
|
|
435
|
+
aminoType: "cosmos-sdk/ValidatorSlashEvent",
|
|
430
436
|
encode(message, writer = BinaryWriter.create()) {
|
|
431
437
|
if (message.validatorPeriod !== BigInt(0)) {
|
|
432
438
|
writer.uint32(8).uint64(message.validatorPeriod);
|
|
@@ -507,6 +513,7 @@ function createBaseValidatorSlashEvents() {
|
|
|
507
513
|
}
|
|
508
514
|
export const ValidatorSlashEvents = {
|
|
509
515
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
|
|
516
|
+
aminoType: "cosmos-sdk/ValidatorSlashEvents",
|
|
510
517
|
encode(message, writer = BinaryWriter.create()) {
|
|
511
518
|
for (const v of message.validatorSlashEvents) {
|
|
512
519
|
ValidatorSlashEvent.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -579,6 +586,7 @@ function createBaseFeePool() {
|
|
|
579
586
|
}
|
|
580
587
|
export const FeePool = {
|
|
581
588
|
typeUrl: "/cosmos.distribution.v1beta1.FeePool",
|
|
589
|
+
aminoType: "cosmos-sdk/FeePool",
|
|
582
590
|
encode(message, writer = BinaryWriter.create()) {
|
|
583
591
|
for (const v of message.communityPool) {
|
|
584
592
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -646,7 +654,6 @@ export const FeePool = {
|
|
|
646
654
|
};
|
|
647
655
|
function createBaseCommunityPoolSpendProposal() {
|
|
648
656
|
return {
|
|
649
|
-
$typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
|
|
650
657
|
title: "",
|
|
651
658
|
description: "",
|
|
652
659
|
recipient: "",
|
|
@@ -655,6 +662,7 @@ function createBaseCommunityPoolSpendProposal() {
|
|
|
655
662
|
}
|
|
656
663
|
export const CommunityPoolSpendProposal = {
|
|
657
664
|
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
|
|
665
|
+
aminoType: "cosmos-sdk/CommunityPoolSpendProposal",
|
|
658
666
|
encode(message, writer = BinaryWriter.create()) {
|
|
659
667
|
if (message.title !== "") {
|
|
660
668
|
writer.uint32(10).string(message.title);
|
|
@@ -762,6 +770,7 @@ function createBaseDelegatorStartingInfo() {
|
|
|
762
770
|
}
|
|
763
771
|
export const DelegatorStartingInfo = {
|
|
764
772
|
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
|
|
773
|
+
aminoType: "cosmos-sdk/DelegatorStartingInfo",
|
|
765
774
|
encode(message, writer = BinaryWriter.create()) {
|
|
766
775
|
if (message.previousPeriod !== BigInt(0)) {
|
|
767
776
|
writer.uint32(8).uint64(message.previousPeriod);
|
|
@@ -854,6 +863,7 @@ function createBaseDelegationDelegatorReward() {
|
|
|
854
863
|
}
|
|
855
864
|
export const DelegationDelegatorReward = {
|
|
856
865
|
typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
|
|
866
|
+
aminoType: "cosmos-sdk/DelegationDelegatorReward",
|
|
857
867
|
encode(message, writer = BinaryWriter.create()) {
|
|
858
868
|
if (message.validatorAddress !== "") {
|
|
859
869
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -932,7 +942,6 @@ export const DelegationDelegatorReward = {
|
|
|
932
942
|
};
|
|
933
943
|
function createBaseCommunityPoolSpendProposalWithDeposit() {
|
|
934
944
|
return {
|
|
935
|
-
$typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
|
|
936
945
|
title: "",
|
|
937
946
|
description: "",
|
|
938
947
|
recipient: "",
|
|
@@ -942,6 +951,7 @@ function createBaseCommunityPoolSpendProposalWithDeposit() {
|
|
|
942
951
|
}
|
|
943
952
|
export const CommunityPoolSpendProposalWithDeposit = {
|
|
944
953
|
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
|
|
954
|
+
aminoType: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit",
|
|
945
955
|
encode(message, writer = BinaryWriter.create()) {
|
|
946
956
|
if (message.title !== "") {
|
|
947
957
|
writer.uint32(10).string(message.title);
|
|
@@ -10,6 +10,7 @@ function createBaseDelegatorWithdrawInfo() {
|
|
|
10
10
|
}
|
|
11
11
|
export const DelegatorWithdrawInfo = {
|
|
12
12
|
typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo",
|
|
13
|
+
aminoType: "cosmos-sdk/DelegatorWithdrawInfo",
|
|
13
14
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
15
|
if (message.delegatorAddress !== "") {
|
|
15
16
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -91,6 +92,7 @@ function createBaseValidatorOutstandingRewardsRecord() {
|
|
|
91
92
|
}
|
|
92
93
|
export const ValidatorOutstandingRewardsRecord = {
|
|
93
94
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord",
|
|
95
|
+
aminoType: "cosmos-sdk/ValidatorOutstandingRewardsRecord",
|
|
94
96
|
encode(message, writer = BinaryWriter.create()) {
|
|
95
97
|
if (message.validatorAddress !== "") {
|
|
96
98
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -175,6 +177,7 @@ function createBaseValidatorAccumulatedCommissionRecord() {
|
|
|
175
177
|
}
|
|
176
178
|
export const ValidatorAccumulatedCommissionRecord = {
|
|
177
179
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord",
|
|
180
|
+
aminoType: "cosmos-sdk/ValidatorAccumulatedCommissionRecord",
|
|
178
181
|
encode(message, writer = BinaryWriter.create()) {
|
|
179
182
|
if (message.validatorAddress !== "") {
|
|
180
183
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -257,6 +260,7 @@ function createBaseValidatorHistoricalRewardsRecord() {
|
|
|
257
260
|
}
|
|
258
261
|
export const ValidatorHistoricalRewardsRecord = {
|
|
259
262
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord",
|
|
263
|
+
aminoType: "cosmos-sdk/ValidatorHistoricalRewardsRecord",
|
|
260
264
|
encode(message, writer = BinaryWriter.create()) {
|
|
261
265
|
if (message.validatorAddress !== "") {
|
|
262
266
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -349,6 +353,7 @@ function createBaseValidatorCurrentRewardsRecord() {
|
|
|
349
353
|
}
|
|
350
354
|
export const ValidatorCurrentRewardsRecord = {
|
|
351
355
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord",
|
|
356
|
+
aminoType: "cosmos-sdk/ValidatorCurrentRewardsRecord",
|
|
352
357
|
encode(message, writer = BinaryWriter.create()) {
|
|
353
358
|
if (message.validatorAddress !== "") {
|
|
354
359
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -431,6 +436,7 @@ function createBaseDelegatorStartingInfoRecord() {
|
|
|
431
436
|
}
|
|
432
437
|
export const DelegatorStartingInfoRecord = {
|
|
433
438
|
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord",
|
|
439
|
+
aminoType: "cosmos-sdk/DelegatorStartingInfoRecord",
|
|
434
440
|
encode(message, writer = BinaryWriter.create()) {
|
|
435
441
|
if (message.delegatorAddress !== "") {
|
|
436
442
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -525,6 +531,7 @@ function createBaseValidatorSlashEventRecord() {
|
|
|
525
531
|
}
|
|
526
532
|
export const ValidatorSlashEventRecord = {
|
|
527
533
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord",
|
|
534
|
+
aminoType: "cosmos-sdk/ValidatorSlashEventRecord",
|
|
528
535
|
encode(message, writer = BinaryWriter.create()) {
|
|
529
536
|
if (message.validatorAddress !== "") {
|
|
530
537
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -636,6 +643,7 @@ function createBaseGenesisState() {
|
|
|
636
643
|
}
|
|
637
644
|
export const GenesisState = {
|
|
638
645
|
typeUrl: "/cosmos.distribution.v1beta1.GenesisState",
|
|
646
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
639
647
|
encode(message, writer = BinaryWriter.create()) {
|
|
640
648
|
if (message.params !== undefined) {
|
|
641
649
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -8,6 +8,7 @@ function createBaseQueryParamsRequest() {
|
|
|
8
8
|
}
|
|
9
9
|
export const QueryParamsRequest = {
|
|
10
10
|
typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest",
|
|
11
|
+
aminoType: "cosmos-sdk/QueryParamsRequest",
|
|
11
12
|
encode(_, writer = BinaryWriter.create()) {
|
|
12
13
|
return writer;
|
|
13
14
|
},
|
|
@@ -66,6 +67,7 @@ function createBaseQueryParamsResponse() {
|
|
|
66
67
|
}
|
|
67
68
|
export const QueryParamsResponse = {
|
|
68
69
|
typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse",
|
|
70
|
+
aminoType: "cosmos-sdk/QueryParamsResponse",
|
|
69
71
|
encode(message, writer = BinaryWriter.create()) {
|
|
70
72
|
if (message.params !== undefined) {
|
|
71
73
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -135,6 +137,7 @@ function createBaseQueryValidatorDistributionInfoRequest() {
|
|
|
135
137
|
}
|
|
136
138
|
export const QueryValidatorDistributionInfoRequest = {
|
|
137
139
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest",
|
|
140
|
+
aminoType: "cosmos-sdk/QueryValidatorDistributionInfoRequest",
|
|
138
141
|
encode(message, writer = BinaryWriter.create()) {
|
|
139
142
|
if (message.validatorAddress !== "") {
|
|
140
143
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -206,6 +209,7 @@ function createBaseQueryValidatorDistributionInfoResponse() {
|
|
|
206
209
|
}
|
|
207
210
|
export const QueryValidatorDistributionInfoResponse = {
|
|
208
211
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse",
|
|
212
|
+
aminoType: "cosmos-sdk/QueryValidatorDistributionInfoResponse",
|
|
209
213
|
encode(message, writer = BinaryWriter.create()) {
|
|
210
214
|
if (message.operatorAddress !== "") {
|
|
211
215
|
writer.uint32(10).string(message.operatorAddress);
|
|
@@ -303,6 +307,7 @@ function createBaseQueryValidatorOutstandingRewardsRequest() {
|
|
|
303
307
|
}
|
|
304
308
|
export const QueryValidatorOutstandingRewardsRequest = {
|
|
305
309
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest",
|
|
310
|
+
aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest",
|
|
306
311
|
encode(message, writer = BinaryWriter.create()) {
|
|
307
312
|
if (message.validatorAddress !== "") {
|
|
308
313
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -372,6 +377,7 @@ function createBaseQueryValidatorOutstandingRewardsResponse() {
|
|
|
372
377
|
}
|
|
373
378
|
export const QueryValidatorOutstandingRewardsResponse = {
|
|
374
379
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse",
|
|
380
|
+
aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse",
|
|
375
381
|
encode(message, writer = BinaryWriter.create()) {
|
|
376
382
|
if (message.rewards !== undefined) {
|
|
377
383
|
ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim();
|
|
@@ -441,6 +447,7 @@ function createBaseQueryValidatorCommissionRequest() {
|
|
|
441
447
|
}
|
|
442
448
|
export const QueryValidatorCommissionRequest = {
|
|
443
449
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest",
|
|
450
|
+
aminoType: "cosmos-sdk/QueryValidatorCommissionRequest",
|
|
444
451
|
encode(message, writer = BinaryWriter.create()) {
|
|
445
452
|
if (message.validatorAddress !== "") {
|
|
446
453
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -510,6 +517,7 @@ function createBaseQueryValidatorCommissionResponse() {
|
|
|
510
517
|
}
|
|
511
518
|
export const QueryValidatorCommissionResponse = {
|
|
512
519
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse",
|
|
520
|
+
aminoType: "cosmos-sdk/QueryValidatorCommissionResponse",
|
|
513
521
|
encode(message, writer = BinaryWriter.create()) {
|
|
514
522
|
if (message.commission !== undefined) {
|
|
515
523
|
ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim();
|
|
@@ -582,6 +590,7 @@ function createBaseQueryValidatorSlashesRequest() {
|
|
|
582
590
|
}
|
|
583
591
|
export const QueryValidatorSlashesRequest = {
|
|
584
592
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest",
|
|
593
|
+
aminoType: "cosmos-sdk/QueryValidatorSlashesRequest",
|
|
585
594
|
encode(message, writer = BinaryWriter.create()) {
|
|
586
595
|
if (message.validatorAddress !== "") {
|
|
587
596
|
writer.uint32(10).string(message.validatorAddress);
|
|
@@ -685,6 +694,7 @@ function createBaseQueryValidatorSlashesResponse() {
|
|
|
685
694
|
}
|
|
686
695
|
export const QueryValidatorSlashesResponse = {
|
|
687
696
|
typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse",
|
|
697
|
+
aminoType: "cosmos-sdk/QueryValidatorSlashesResponse",
|
|
688
698
|
encode(message, writer = BinaryWriter.create()) {
|
|
689
699
|
for (const v of message.slashes) {
|
|
690
700
|
ValidatorSlashEvent.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -769,6 +779,7 @@ function createBaseQueryDelegationRewardsRequest() {
|
|
|
769
779
|
}
|
|
770
780
|
export const QueryDelegationRewardsRequest = {
|
|
771
781
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest",
|
|
782
|
+
aminoType: "cosmos-sdk/QueryDelegationRewardsRequest",
|
|
772
783
|
encode(message, writer = BinaryWriter.create()) {
|
|
773
784
|
if (message.delegatorAddress !== "") {
|
|
774
785
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -849,6 +860,7 @@ function createBaseQueryDelegationRewardsResponse() {
|
|
|
849
860
|
}
|
|
850
861
|
export const QueryDelegationRewardsResponse = {
|
|
851
862
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse",
|
|
863
|
+
aminoType: "cosmos-sdk/QueryDelegationRewardsResponse",
|
|
852
864
|
encode(message, writer = BinaryWriter.create()) {
|
|
853
865
|
for (const v of message.rewards) {
|
|
854
866
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -921,6 +933,7 @@ function createBaseQueryDelegationTotalRewardsRequest() {
|
|
|
921
933
|
}
|
|
922
934
|
export const QueryDelegationTotalRewardsRequest = {
|
|
923
935
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest",
|
|
936
|
+
aminoType: "cosmos-sdk/QueryDelegationTotalRewardsRequest",
|
|
924
937
|
encode(message, writer = BinaryWriter.create()) {
|
|
925
938
|
if (message.delegatorAddress !== "") {
|
|
926
939
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -991,6 +1004,7 @@ function createBaseQueryDelegationTotalRewardsResponse() {
|
|
|
991
1004
|
}
|
|
992
1005
|
export const QueryDelegationTotalRewardsResponse = {
|
|
993
1006
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse",
|
|
1007
|
+
aminoType: "cosmos-sdk/QueryDelegationTotalRewardsResponse",
|
|
994
1008
|
encode(message, writer = BinaryWriter.create()) {
|
|
995
1009
|
for (const v of message.rewards) {
|
|
996
1010
|
DelegationDelegatorReward.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1077,6 +1091,7 @@ function createBaseQueryDelegatorValidatorsRequest() {
|
|
|
1077
1091
|
}
|
|
1078
1092
|
export const QueryDelegatorValidatorsRequest = {
|
|
1079
1093
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest",
|
|
1094
|
+
aminoType: "cosmos-sdk/QueryDelegatorValidatorsRequest",
|
|
1080
1095
|
encode(message, writer = BinaryWriter.create()) {
|
|
1081
1096
|
if (message.delegatorAddress !== "") {
|
|
1082
1097
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1146,6 +1161,7 @@ function createBaseQueryDelegatorValidatorsResponse() {
|
|
|
1146
1161
|
}
|
|
1147
1162
|
export const QueryDelegatorValidatorsResponse = {
|
|
1148
1163
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse",
|
|
1164
|
+
aminoType: "cosmos-sdk/QueryDelegatorValidatorsResponse",
|
|
1149
1165
|
encode(message, writer = BinaryWriter.create()) {
|
|
1150
1166
|
for (const v of message.validators) {
|
|
1151
1167
|
writer.uint32(10).string(v);
|
|
@@ -1218,6 +1234,7 @@ function createBaseQueryDelegatorWithdrawAddressRequest() {
|
|
|
1218
1234
|
}
|
|
1219
1235
|
export const QueryDelegatorWithdrawAddressRequest = {
|
|
1220
1236
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest",
|
|
1237
|
+
aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest",
|
|
1221
1238
|
encode(message, writer = BinaryWriter.create()) {
|
|
1222
1239
|
if (message.delegatorAddress !== "") {
|
|
1223
1240
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1287,6 +1304,7 @@ function createBaseQueryDelegatorWithdrawAddressResponse() {
|
|
|
1287
1304
|
}
|
|
1288
1305
|
export const QueryDelegatorWithdrawAddressResponse = {
|
|
1289
1306
|
typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse",
|
|
1307
|
+
aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse",
|
|
1290
1308
|
encode(message, writer = BinaryWriter.create()) {
|
|
1291
1309
|
if (message.withdrawAddress !== "") {
|
|
1292
1310
|
writer.uint32(10).string(message.withdrawAddress);
|
|
@@ -1354,6 +1372,7 @@ function createBaseQueryCommunityPoolRequest() {
|
|
|
1354
1372
|
}
|
|
1355
1373
|
export const QueryCommunityPoolRequest = {
|
|
1356
1374
|
typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest",
|
|
1375
|
+
aminoType: "cosmos-sdk/QueryCommunityPoolRequest",
|
|
1357
1376
|
encode(_, writer = BinaryWriter.create()) {
|
|
1358
1377
|
return writer;
|
|
1359
1378
|
},
|
|
@@ -1412,6 +1431,7 @@ function createBaseQueryCommunityPoolResponse() {
|
|
|
1412
1431
|
}
|
|
1413
1432
|
export const QueryCommunityPoolResponse = {
|
|
1414
1433
|
typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse",
|
|
1434
|
+
aminoType: "cosmos-sdk/QueryCommunityPoolResponse",
|
|
1415
1435
|
encode(message, writer = BinaryWriter.create()) {
|
|
1416
1436
|
for (const v of message.pool) {
|
|
1417
1437
|
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -4,39 +4,29 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.params = this.params.bind(this);
|
|
8
|
-
this.validatorDistributionInfo = this.validatorDistributionInfo.bind(this);
|
|
9
|
-
this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this);
|
|
10
|
-
this.validatorCommission = this.validatorCommission.bind(this);
|
|
11
|
-
this.validatorSlashes = this.validatorSlashes.bind(this);
|
|
12
|
-
this.delegationRewards = this.delegationRewards.bind(this);
|
|
13
|
-
this.delegationTotalRewards = this.delegationTotalRewards.bind(this);
|
|
14
|
-
this.delegatorValidators = this.delegatorValidators.bind(this);
|
|
15
|
-
this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this);
|
|
16
|
-
this.communityPool = this.communityPool.bind(this);
|
|
17
7
|
}
|
|
18
8
|
/* Params queries params of the distribution module. */
|
|
19
|
-
async
|
|
9
|
+
params = async (_params = {}) => {
|
|
20
10
|
const endpoint = `cosmos/distribution/v1beta1/params`;
|
|
21
11
|
return await this.req.get(endpoint);
|
|
22
|
-
}
|
|
12
|
+
};
|
|
23
13
|
/* ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator */
|
|
24
|
-
async
|
|
14
|
+
validatorDistributionInfo = async (params) => {
|
|
25
15
|
const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}`;
|
|
26
16
|
return await this.req.get(endpoint);
|
|
27
|
-
}
|
|
17
|
+
};
|
|
28
18
|
/* ValidatorOutstandingRewards queries rewards of a validator address. */
|
|
29
|
-
async
|
|
19
|
+
validatorOutstandingRewards = async (params) => {
|
|
30
20
|
const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`;
|
|
31
21
|
return await this.req.get(endpoint);
|
|
32
|
-
}
|
|
22
|
+
};
|
|
33
23
|
/* ValidatorCommission queries accumulated commission for a validator. */
|
|
34
|
-
async
|
|
24
|
+
validatorCommission = async (params) => {
|
|
35
25
|
const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`;
|
|
36
26
|
return await this.req.get(endpoint);
|
|
37
|
-
}
|
|
27
|
+
};
|
|
38
28
|
/* ValidatorSlashes queries slash events of a validator. */
|
|
39
|
-
async
|
|
29
|
+
validatorSlashes = async (params) => {
|
|
40
30
|
const options = {
|
|
41
31
|
params: {}
|
|
42
32
|
};
|
|
@@ -51,31 +41,31 @@ export class LCDQueryClient {
|
|
|
51
41
|
}
|
|
52
42
|
const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`;
|
|
53
43
|
return await this.req.get(endpoint, options);
|
|
54
|
-
}
|
|
44
|
+
};
|
|
55
45
|
/* DelegationRewards queries the total rewards accrued by a delegation. */
|
|
56
|
-
async
|
|
46
|
+
delegationRewards = async (params) => {
|
|
57
47
|
const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards/${params.validatorAddress}`;
|
|
58
48
|
return await this.req.get(endpoint);
|
|
59
|
-
}
|
|
49
|
+
};
|
|
60
50
|
/* DelegationTotalRewards queries the total rewards accrued by each
|
|
61
51
|
validator. */
|
|
62
|
-
async
|
|
52
|
+
delegationTotalRewards = async (params) => {
|
|
63
53
|
const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`;
|
|
64
54
|
return await this.req.get(endpoint);
|
|
65
|
-
}
|
|
55
|
+
};
|
|
66
56
|
/* DelegatorValidators queries the validators of a delegator. */
|
|
67
|
-
async
|
|
57
|
+
delegatorValidators = async (params) => {
|
|
68
58
|
const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`;
|
|
69
59
|
return await this.req.get(endpoint);
|
|
70
|
-
}
|
|
60
|
+
};
|
|
71
61
|
/* DelegatorWithdrawAddress queries withdraw address of a delegator. */
|
|
72
|
-
async
|
|
62
|
+
delegatorWithdrawAddress = async (params) => {
|
|
73
63
|
const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`;
|
|
74
64
|
return await this.req.get(endpoint);
|
|
75
|
-
}
|
|
65
|
+
};
|
|
76
66
|
/* CommunityPool queries the community pool coins. */
|
|
77
|
-
async
|
|
67
|
+
communityPool = async (_params = {}) => {
|
|
78
68
|
const endpoint = `cosmos/distribution/v1beta1/community_pool`;
|
|
79
69
|
return await this.req.get(endpoint);
|
|
80
|
-
}
|
|
70
|
+
};
|
|
81
71
|
}
|