@sparkdreamnft/sparkdreamjs 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +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.registry.d.ts +0 -23
- package/cosmos/auth/v1beta1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -47
- package/cosmos/authz/v1beta1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -59
- package/cosmos/bank/v1beta1/tx.registry.js +1 -87
- 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.registry.d.ts +0 -23
- package/cosmos/benchmark/v1/tx.registry.js +1 -33
- 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 +675 -980
- 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.registry.d.ts +0 -47
- package/cosmos/circuit/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -23
- package/cosmos/consensus/v1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -23
- package/cosmos/counter/v1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -95
- package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -47
- package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -95
- package/cosmos/gov/v1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -59
- package/cosmos/gov/v1beta1/tx.registry.js +1 -87
- 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.registry.d.ts +0 -179
- package/cosmos/group/v1/tx.registry.js +1 -267
- 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.registry.d.ts +0 -23
- package/cosmos/mint/v1beta1/tx.registry.js +1 -33
- 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.registry.d.ts +0 -71
- package/cosmos/protocolpool/v1/tx.registry.js +1 -105
- 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.registry.d.ts +0 -95
- package/cosmos/staking/v1beta1/tx.registry.js +1 -141
- 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.registry.d.ts +0 -35
- package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
- 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.registry.d.ts +0 -47
- package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
- 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.registry.js +0 -31
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.registry.js +0 -31
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.registry.js +0 -139
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.registry.js +0 -265
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +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.registry.js +0 -67
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.registry.js +0 -157
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.registry.js +0 -49
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.registry.js +0 -85
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/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.registry.d.ts +0 -47
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -35
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
- 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.registry.d.ts +0 -35
- package/ibc/applications/transfer/v1/tx.registry.js +1 -51
- 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 -557
- 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.registry.d.ts +0 -131
- package/ibc/core/channel/v1/tx.registry.js +1 -195
- 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.registry.d.ts +0 -59
- package/ibc/core/channel/v2/tx.registry.js +1 -87
- 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.registry.d.ts +0 -107
- package/ibc/core/client/v1/tx.registry.js +1 -159
- 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.registry.d.ts +0 -35
- package/ibc/core/client/v2/tx.registry.js +1 -51
- 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.registry.d.ts +0 -71
- package/ibc/core/connection/v1/tx.registry.js +1 -105
- 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.registry.d.ts +0 -47
- package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
- 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.registry.d.ts +0 -59
- package/sparkdream/blog/tx.registry.js +1 -87
- 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 -78
- 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.registry.d.ts +0 -23
- package/sparkdream/sparkdream/tx.registry.js +1 -33
- 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,97 +1,2 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
4
2
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
-
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
-
export declare const MessageComposer: {
|
|
7
|
-
encoded: {
|
|
8
|
-
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
9
|
-
typeUrl: string;
|
|
10
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
-
};
|
|
12
|
-
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
13
|
-
typeUrl: string;
|
|
14
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
-
};
|
|
16
|
-
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
17
|
-
typeUrl: string;
|
|
18
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
-
};
|
|
20
|
-
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
21
|
-
typeUrl: string;
|
|
22
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
-
};
|
|
24
|
-
updateParams(value: MsgUpdateParams): {
|
|
25
|
-
typeUrl: string;
|
|
26
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
-
};
|
|
28
|
-
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
29
|
-
typeUrl: string;
|
|
30
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
31
|
-
};
|
|
32
|
-
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
33
|
-
typeUrl: string;
|
|
34
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
withTypeUrl: {
|
|
38
|
-
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
39
|
-
typeUrl: string;
|
|
40
|
-
value: MsgSetWithdrawAddress;
|
|
41
|
-
};
|
|
42
|
-
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
43
|
-
typeUrl: string;
|
|
44
|
-
value: MsgWithdrawDelegatorReward;
|
|
45
|
-
};
|
|
46
|
-
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
47
|
-
typeUrl: string;
|
|
48
|
-
value: MsgWithdrawValidatorCommission;
|
|
49
|
-
};
|
|
50
|
-
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
51
|
-
typeUrl: string;
|
|
52
|
-
value: MsgFundCommunityPool;
|
|
53
|
-
};
|
|
54
|
-
updateParams(value: MsgUpdateParams): {
|
|
55
|
-
typeUrl: string;
|
|
56
|
-
value: MsgUpdateParams;
|
|
57
|
-
};
|
|
58
|
-
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
59
|
-
typeUrl: string;
|
|
60
|
-
value: MsgCommunityPoolSpend;
|
|
61
|
-
};
|
|
62
|
-
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
63
|
-
typeUrl: string;
|
|
64
|
-
value: MsgDepositValidatorRewardsPool;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
fromPartial: {
|
|
68
|
-
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
69
|
-
typeUrl: string;
|
|
70
|
-
value: MsgSetWithdrawAddress;
|
|
71
|
-
};
|
|
72
|
-
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
73
|
-
typeUrl: string;
|
|
74
|
-
value: MsgWithdrawDelegatorReward;
|
|
75
|
-
};
|
|
76
|
-
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
77
|
-
typeUrl: string;
|
|
78
|
-
value: MsgWithdrawValidatorCommission;
|
|
79
|
-
};
|
|
80
|
-
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
81
|
-
typeUrl: string;
|
|
82
|
-
value: MsgFundCommunityPool;
|
|
83
|
-
};
|
|
84
|
-
updateParams(value: MsgUpdateParams): {
|
|
85
|
-
typeUrl: string;
|
|
86
|
-
value: MsgUpdateParams;
|
|
87
|
-
};
|
|
88
|
-
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
89
|
-
typeUrl: string;
|
|
90
|
-
value: MsgCommunityPoolSpend;
|
|
91
|
-
};
|
|
92
|
-
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
93
|
-
typeUrl: string;
|
|
94
|
-
value: MsgDepositValidatorRewardsPool;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
@@ -1,145 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", tx_1.MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", tx_1.MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", tx_1.MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", tx_1.MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", tx_1.MsgCommunityPoolSpend], ["/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool", tx_1.MsgDepositValidatorRewardsPool]];
|
|
6
|
-
const load = (protoRegistry) => {
|
|
7
|
-
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
-
protoRegistry.register(typeUrl, mod);
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
exports.load = load;
|
|
12
|
-
exports.MessageComposer = {
|
|
13
|
-
encoded: {
|
|
14
|
-
setWithdrawAddress(value) {
|
|
15
|
-
return {
|
|
16
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
17
|
-
value: tx_1.MsgSetWithdrawAddress.encode(value).finish()
|
|
18
|
-
};
|
|
19
|
-
},
|
|
20
|
-
withdrawDelegatorReward(value) {
|
|
21
|
-
return {
|
|
22
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
23
|
-
value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish()
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
withdrawValidatorCommission(value) {
|
|
27
|
-
return {
|
|
28
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
29
|
-
value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish()
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
fundCommunityPool(value) {
|
|
33
|
-
return {
|
|
34
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
35
|
-
value: tx_1.MsgFundCommunityPool.encode(value).finish()
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
updateParams(value) {
|
|
39
|
-
return {
|
|
40
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
41
|
-
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
communityPoolSpend(value) {
|
|
45
|
-
return {
|
|
46
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
47
|
-
value: tx_1.MsgCommunityPoolSpend.encode(value).finish()
|
|
48
|
-
};
|
|
49
|
-
},
|
|
50
|
-
depositValidatorRewardsPool(value) {
|
|
51
|
-
return {
|
|
52
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
53
|
-
value: tx_1.MsgDepositValidatorRewardsPool.encode(value).finish()
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
withTypeUrl: {
|
|
58
|
-
setWithdrawAddress(value) {
|
|
59
|
-
return {
|
|
60
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
61
|
-
value
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
withdrawDelegatorReward(value) {
|
|
65
|
-
return {
|
|
66
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
67
|
-
value
|
|
68
|
-
};
|
|
69
|
-
},
|
|
70
|
-
withdrawValidatorCommission(value) {
|
|
71
|
-
return {
|
|
72
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
73
|
-
value
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
fundCommunityPool(value) {
|
|
77
|
-
return {
|
|
78
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
79
|
-
value
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
updateParams(value) {
|
|
83
|
-
return {
|
|
84
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
85
|
-
value
|
|
86
|
-
};
|
|
87
|
-
},
|
|
88
|
-
communityPoolSpend(value) {
|
|
89
|
-
return {
|
|
90
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
91
|
-
value
|
|
92
|
-
};
|
|
93
|
-
},
|
|
94
|
-
depositValidatorRewardsPool(value) {
|
|
95
|
-
return {
|
|
96
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
97
|
-
value
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
fromPartial: {
|
|
102
|
-
setWithdrawAddress(value) {
|
|
103
|
-
return {
|
|
104
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
105
|
-
value: tx_1.MsgSetWithdrawAddress.fromPartial(value)
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
withdrawDelegatorReward(value) {
|
|
109
|
-
return {
|
|
110
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
111
|
-
value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value)
|
|
112
|
-
};
|
|
113
|
-
},
|
|
114
|
-
withdrawValidatorCommission(value) {
|
|
115
|
-
return {
|
|
116
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
117
|
-
value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value)
|
|
118
|
-
};
|
|
119
|
-
},
|
|
120
|
-
fundCommunityPool(value) {
|
|
121
|
-
return {
|
|
122
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
123
|
-
value: tx_1.MsgFundCommunityPool.fromPartial(value)
|
|
124
|
-
};
|
|
125
|
-
},
|
|
126
|
-
updateParams(value) {
|
|
127
|
-
return {
|
|
128
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
129
|
-
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
communityPoolSpend(value) {
|
|
133
|
-
return {
|
|
134
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
135
|
-
value: tx_1.MsgCommunityPoolSpend.fromPartial(value)
|
|
136
|
-
};
|
|
137
|
-
},
|
|
138
|
-
depositValidatorRewardsPool(value) {
|
|
139
|
-
return {
|
|
140
|
-
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
141
|
-
value: tx_1.MsgDepositValidatorRewardsPool.fromPartial(value)
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
};
|
|
@@ -49,11 +49,12 @@ export interface Msg {
|
|
|
49
49
|
export declare class MsgClientImpl implements Msg {
|
|
50
50
|
private readonly rpc;
|
|
51
51
|
constructor(rpc: TxRpc);
|
|
52
|
-
setWithdrawAddress(request: MsgSetWithdrawAddress)
|
|
53
|
-
withdrawDelegatorReward(request: MsgWithdrawDelegatorReward)
|
|
54
|
-
withdrawValidatorCommission(request: MsgWithdrawValidatorCommission)
|
|
55
|
-
fundCommunityPool(request: MsgFundCommunityPool)
|
|
56
|
-
updateParams(request: MsgUpdateParams)
|
|
57
|
-
communityPoolSpend(request: MsgCommunityPoolSpend)
|
|
58
|
-
depositValidatorRewardsPool(request: MsgDepositValidatorRewardsPool)
|
|
52
|
+
setWithdrawAddress: (request: MsgSetWithdrawAddress) => Promise<MsgSetWithdrawAddressResponse>;
|
|
53
|
+
withdrawDelegatorReward: (request: MsgWithdrawDelegatorReward) => Promise<MsgWithdrawDelegatorRewardResponse>;
|
|
54
|
+
withdrawValidatorCommission: (request: MsgWithdrawValidatorCommission) => Promise<MsgWithdrawValidatorCommissionResponse>;
|
|
55
|
+
fundCommunityPool: (request: MsgFundCommunityPool) => Promise<MsgFundCommunityPoolResponse>;
|
|
56
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
57
|
+
communityPoolSpend: (request: MsgCommunityPoolSpend) => Promise<MsgCommunityPoolSpendResponse>;
|
|
58
|
+
depositValidatorRewardsPool: (request: MsgDepositValidatorRewardsPool) => Promise<MsgDepositValidatorRewardsPoolResponse>;
|
|
59
59
|
}
|
|
60
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -1,54 +1,73 @@
|
|
|
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.setWithdrawAddress = this.setWithdrawAddress.bind(this);
|
|
11
|
-
this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this);
|
|
12
|
-
this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this);
|
|
13
|
-
this.fundCommunityPool = this.fundCommunityPool.bind(this);
|
|
14
|
-
this.updateParams = this.updateParams.bind(this);
|
|
15
|
-
this.communityPoolSpend = this.communityPoolSpend.bind(this);
|
|
16
|
-
this.depositValidatorRewardsPool = this.depositValidatorRewardsPool.bind(this);
|
|
17
10
|
}
|
|
18
|
-
|
|
11
|
+
/* SetWithdrawAddress defines a method to change the withdraw address
|
|
12
|
+
for a delegator (or validator self-delegation). */
|
|
13
|
+
setWithdrawAddress = async (request) => {
|
|
19
14
|
const data = tx_1.MsgSetWithdrawAddress.encode(request).finish();
|
|
20
15
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data);
|
|
21
16
|
return promise.then(data => tx_1.MsgSetWithdrawAddressResponse.decode(new binary_1.BinaryReader(data)));
|
|
22
|
-
}
|
|
23
|
-
|
|
17
|
+
};
|
|
18
|
+
/* WithdrawDelegatorReward defines a method to withdraw rewards of delegator
|
|
19
|
+
from a single validator. */
|
|
20
|
+
withdrawDelegatorReward = async (request) => {
|
|
24
21
|
const data = tx_1.MsgWithdrawDelegatorReward.encode(request).finish();
|
|
25
22
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data);
|
|
26
23
|
return promise.then(data => tx_1.MsgWithdrawDelegatorRewardResponse.decode(new binary_1.BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
|
|
24
|
+
};
|
|
25
|
+
/* WithdrawValidatorCommission defines a method to withdraw the
|
|
26
|
+
full commission to the validator address. */
|
|
27
|
+
withdrawValidatorCommission = async (request) => {
|
|
29
28
|
const data = tx_1.MsgWithdrawValidatorCommission.encode(request).finish();
|
|
30
29
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data);
|
|
31
30
|
return promise.then(data => tx_1.MsgWithdrawValidatorCommissionResponse.decode(new binary_1.BinaryReader(data)));
|
|
32
|
-
}
|
|
33
|
-
|
|
31
|
+
};
|
|
32
|
+
/* FundCommunityPool defines a method to allow an account to directly
|
|
33
|
+
fund the community pool. */
|
|
34
|
+
fundCommunityPool = async (request) => {
|
|
34
35
|
const data = tx_1.MsgFundCommunityPool.encode(request).finish();
|
|
35
36
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data);
|
|
36
37
|
return promise.then(data => tx_1.MsgFundCommunityPoolResponse.decode(new binary_1.BinaryReader(data)));
|
|
37
|
-
}
|
|
38
|
-
|
|
38
|
+
};
|
|
39
|
+
/* UpdateParams defines a governance operation for updating the x/distribution
|
|
40
|
+
module parameters. The authority is defined in the keeper.
|
|
41
|
+
|
|
42
|
+
Since: cosmos-sdk 0.47 */
|
|
43
|
+
updateParams = async (request) => {
|
|
39
44
|
const data = tx_1.MsgUpdateParams.encode(request).finish();
|
|
40
45
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "UpdateParams", data);
|
|
41
46
|
return promise.then(data => tx_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
42
|
-
}
|
|
43
|
-
|
|
47
|
+
};
|
|
48
|
+
/* CommunityPoolSpend defines a governance operation for sending tokens from
|
|
49
|
+
the community pool in the x/distribution module to another account, which
|
|
50
|
+
could be the governance module itself. The authority is defined in the
|
|
51
|
+
keeper.
|
|
52
|
+
|
|
53
|
+
Since: cosmos-sdk 0.47 */
|
|
54
|
+
communityPoolSpend = async (request) => {
|
|
44
55
|
const data = tx_1.MsgCommunityPoolSpend.encode(request).finish();
|
|
45
56
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "CommunityPoolSpend", data);
|
|
46
57
|
return promise.then(data => tx_1.MsgCommunityPoolSpendResponse.decode(new binary_1.BinaryReader(data)));
|
|
47
|
-
}
|
|
48
|
-
|
|
58
|
+
};
|
|
59
|
+
/* DepositValidatorRewardsPool defines a method to provide additional rewards
|
|
60
|
+
to delegators to a specific validator.
|
|
61
|
+
|
|
62
|
+
Since: cosmos-sdk 0.50 */
|
|
63
|
+
depositValidatorRewardsPool = async (request) => {
|
|
49
64
|
const data = tx_1.MsgDepositValidatorRewardsPool.encode(request).finish();
|
|
50
65
|
const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "DepositValidatorRewardsPool", data);
|
|
51
66
|
return promise.then(data => tx_1.MsgDepositValidatorRewardsPoolResponse.decode(new binary_1.BinaryReader(data)));
|
|
52
|
-
}
|
|
67
|
+
};
|
|
53
68
|
}
|
|
54
69
|
exports.MsgClientImpl = MsgClientImpl;
|
|
70
|
+
const createClientImpl = (rpc) => {
|
|
71
|
+
return new MsgClientImpl(rpc);
|
|
72
|
+
};
|
|
73
|
+
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 epochs 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;
|
|
@@ -16,10 +16,6 @@ export interface EventEpochEndAminoMsg {
|
|
|
16
16
|
type: "cosmos-sdk/EventEpochEnd";
|
|
17
17
|
value: EventEpochEndAmino;
|
|
18
18
|
}
|
|
19
|
-
/** EventEpochEnd is an event emitted when an epoch end. */
|
|
20
|
-
export interface EventEpochEndSDKType {
|
|
21
|
-
epoch_number: bigint;
|
|
22
|
-
}
|
|
23
19
|
/** EventEpochStart is an event emitted when an epoch start. */
|
|
24
20
|
export interface EventEpochStart {
|
|
25
21
|
epochNumber: bigint;
|
|
@@ -38,13 +34,9 @@ export interface EventEpochStartAminoMsg {
|
|
|
38
34
|
type: "cosmos-sdk/EventEpochStart";
|
|
39
35
|
value: EventEpochStartAmino;
|
|
40
36
|
}
|
|
41
|
-
/** EventEpochStart is an event emitted when an epoch start. */
|
|
42
|
-
export interface EventEpochStartSDKType {
|
|
43
|
-
epoch_number: bigint;
|
|
44
|
-
epoch_start_time: bigint;
|
|
45
|
-
}
|
|
46
37
|
export declare const EventEpochEnd: {
|
|
47
38
|
typeUrl: string;
|
|
39
|
+
aminoType: string;
|
|
48
40
|
encode(message: EventEpochEnd, writer?: BinaryWriter): BinaryWriter;
|
|
49
41
|
decode(input: BinaryReader | Uint8Array, length?: number): EventEpochEnd;
|
|
50
42
|
fromPartial(object: DeepPartial<EventEpochEnd>): EventEpochEnd;
|
|
@@ -58,6 +50,7 @@ export declare const EventEpochEnd: {
|
|
|
58
50
|
};
|
|
59
51
|
export declare const EventEpochStart: {
|
|
60
52
|
typeUrl: string;
|
|
53
|
+
aminoType: string;
|
|
61
54
|
encode(message: EventEpochStart, writer?: BinaryWriter): BinaryWriter;
|
|
62
55
|
decode(input: BinaryReader | Uint8Array, length?: number): EventEpochStart;
|
|
63
56
|
fromPartial(object: DeepPartial<EventEpochStart>): EventEpochStart;
|
|
@@ -10,6 +10,7 @@ function createBaseEventEpochEnd() {
|
|
|
10
10
|
}
|
|
11
11
|
exports.EventEpochEnd = {
|
|
12
12
|
typeUrl: "/cosmos.epochs.v1beta1.EventEpochEnd",
|
|
13
|
+
aminoType: "cosmos-sdk/EventEpochEnd",
|
|
13
14
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
14
15
|
if (message.epochNumber !== BigInt(0)) {
|
|
15
16
|
writer.uint32(8).int64(message.epochNumber);
|
|
@@ -80,6 +81,7 @@ function createBaseEventEpochStart() {
|
|
|
80
81
|
}
|
|
81
82
|
exports.EventEpochStart = {
|
|
82
83
|
typeUrl: "/cosmos.epochs.v1beta1.EventEpochStart",
|
|
84
|
+
aminoType: "cosmos-sdk/EventEpochStart",
|
|
83
85
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
84
86
|
if (message.epochNumber !== BigInt(0)) {
|
|
85
87
|
writer.uint32(8).int64(message.epochNumber);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Duration, DurationAmino
|
|
1
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
@@ -125,19 +125,6 @@ export interface EpochInfoAminoMsg {
|
|
|
125
125
|
type: "cosmos-sdk/EpochInfo";
|
|
126
126
|
value: EpochInfoAmino;
|
|
127
127
|
}
|
|
128
|
-
/**
|
|
129
|
-
* EpochInfo is a struct that describes the data going into
|
|
130
|
-
* a timer defined by the x/epochs module.
|
|
131
|
-
*/
|
|
132
|
-
export interface EpochInfoSDKType {
|
|
133
|
-
identifier: string;
|
|
134
|
-
start_time: Date;
|
|
135
|
-
duration: DurationSDKType;
|
|
136
|
-
current_epoch: bigint;
|
|
137
|
-
current_epoch_start_time: Date;
|
|
138
|
-
epoch_counting_started: boolean;
|
|
139
|
-
current_epoch_start_height: bigint;
|
|
140
|
-
}
|
|
141
128
|
/** GenesisState defines the epochs module's genesis state. */
|
|
142
129
|
export interface GenesisState {
|
|
143
130
|
epochs: EpochInfo[];
|
|
@@ -154,12 +141,9 @@ export interface GenesisStateAminoMsg {
|
|
|
154
141
|
type: "cosmos-sdk/GenesisState";
|
|
155
142
|
value: GenesisStateAmino;
|
|
156
143
|
}
|
|
157
|
-
/** GenesisState defines the epochs module's genesis state. */
|
|
158
|
-
export interface GenesisStateSDKType {
|
|
159
|
-
epochs: EpochInfoSDKType[];
|
|
160
|
-
}
|
|
161
144
|
export declare const EpochInfo: {
|
|
162
145
|
typeUrl: string;
|
|
146
|
+
aminoType: string;
|
|
163
147
|
encode(message: EpochInfo, writer?: BinaryWriter): BinaryWriter;
|
|
164
148
|
decode(input: BinaryReader | Uint8Array, length?: number): EpochInfo;
|
|
165
149
|
fromPartial(object: DeepPartial<EpochInfo>): EpochInfo;
|
|
@@ -173,6 +157,7 @@ export declare const EpochInfo: {
|
|
|
173
157
|
};
|
|
174
158
|
export declare const GenesisState: {
|
|
175
159
|
typeUrl: string;
|
|
160
|
+
aminoType: string;
|
|
176
161
|
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
177
162
|
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
178
163
|
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
@@ -19,6 +19,7 @@ function createBaseEpochInfo() {
|
|
|
19
19
|
}
|
|
20
20
|
exports.EpochInfo = {
|
|
21
21
|
typeUrl: "/cosmos.epochs.v1beta1.EpochInfo",
|
|
22
|
+
aminoType: "cosmos-sdk/EpochInfo",
|
|
22
23
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
24
|
if (message.identifier !== "") {
|
|
24
25
|
writer.uint32(10).string(message.identifier);
|
|
@@ -154,6 +155,7 @@ function createBaseGenesisState() {
|
|
|
154
155
|
}
|
|
155
156
|
exports.GenesisState = {
|
|
156
157
|
typeUrl: "/cosmos.epochs.v1beta1.GenesisState",
|
|
158
|
+
aminoType: "cosmos-sdk/GenesisState",
|
|
157
159
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
158
160
|
for (const v of message.epochs) {
|
|
159
161
|
exports.EpochInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EpochInfo, EpochInfoAmino
|
|
1
|
+
import { EpochInfo, EpochInfoAmino } from "./genesis";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
@@ -21,12 +21,6 @@ export interface QueryEpochInfosRequestAminoMsg {
|
|
|
21
21
|
type: "cosmos-sdk/QueryEpochInfosRequest";
|
|
22
22
|
value: QueryEpochInfosRequestAmino;
|
|
23
23
|
}
|
|
24
|
-
/**
|
|
25
|
-
* QueryEpochInfosRequest defines the gRPC request structure for
|
|
26
|
-
* querying all epoch info.
|
|
27
|
-
*/
|
|
28
|
-
export interface QueryEpochInfosRequestSDKType {
|
|
29
|
-
}
|
|
30
24
|
/**
|
|
31
25
|
* QueryEpochInfosRequest defines the gRPC response structure for
|
|
32
26
|
* querying all epoch info.
|
|
@@ -49,13 +43,6 @@ export interface QueryEpochInfosResponseAminoMsg {
|
|
|
49
43
|
type: "cosmos-sdk/QueryEpochInfosResponse";
|
|
50
44
|
value: QueryEpochInfosResponseAmino;
|
|
51
45
|
}
|
|
52
|
-
/**
|
|
53
|
-
* QueryEpochInfosRequest defines the gRPC response structure for
|
|
54
|
-
* querying all epoch info.
|
|
55
|
-
*/
|
|
56
|
-
export interface QueryEpochInfosResponseSDKType {
|
|
57
|
-
epochs: EpochInfoSDKType[];
|
|
58
|
-
}
|
|
59
46
|
/**
|
|
60
47
|
* QueryCurrentEpochRequest defines the gRPC request structure for
|
|
61
48
|
* querying an epoch by its identifier.
|
|
@@ -78,13 +65,6 @@ export interface QueryCurrentEpochRequestAminoMsg {
|
|
|
78
65
|
type: "cosmos-sdk/QueryCurrentEpochRequest";
|
|
79
66
|
value: QueryCurrentEpochRequestAmino;
|
|
80
67
|
}
|
|
81
|
-
/**
|
|
82
|
-
* QueryCurrentEpochRequest defines the gRPC request structure for
|
|
83
|
-
* querying an epoch by its identifier.
|
|
84
|
-
*/
|
|
85
|
-
export interface QueryCurrentEpochRequestSDKType {
|
|
86
|
-
identifier: string;
|
|
87
|
-
}
|
|
88
68
|
/**
|
|
89
69
|
* QueryCurrentEpochResponse defines the gRPC response structure for
|
|
90
70
|
* querying an epoch by its identifier.
|
|
@@ -107,15 +87,9 @@ export interface QueryCurrentEpochResponseAminoMsg {
|
|
|
107
87
|
type: "cosmos-sdk/QueryCurrentEpochResponse";
|
|
108
88
|
value: QueryCurrentEpochResponseAmino;
|
|
109
89
|
}
|
|
110
|
-
/**
|
|
111
|
-
* QueryCurrentEpochResponse defines the gRPC response structure for
|
|
112
|
-
* querying an epoch by its identifier.
|
|
113
|
-
*/
|
|
114
|
-
export interface QueryCurrentEpochResponseSDKType {
|
|
115
|
-
current_epoch: bigint;
|
|
116
|
-
}
|
|
117
90
|
export declare const QueryEpochInfosRequest: {
|
|
118
91
|
typeUrl: string;
|
|
92
|
+
aminoType: string;
|
|
119
93
|
encode(_: QueryEpochInfosRequest, writer?: BinaryWriter): BinaryWriter;
|
|
120
94
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochInfosRequest;
|
|
121
95
|
fromPartial(_: DeepPartial<QueryEpochInfosRequest>): QueryEpochInfosRequest;
|
|
@@ -129,6 +103,7 @@ export declare const QueryEpochInfosRequest: {
|
|
|
129
103
|
};
|
|
130
104
|
export declare const QueryEpochInfosResponse: {
|
|
131
105
|
typeUrl: string;
|
|
106
|
+
aminoType: string;
|
|
132
107
|
encode(message: QueryEpochInfosResponse, writer?: BinaryWriter): BinaryWriter;
|
|
133
108
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochInfosResponse;
|
|
134
109
|
fromPartial(object: DeepPartial<QueryEpochInfosResponse>): QueryEpochInfosResponse;
|
|
@@ -142,6 +117,7 @@ export declare const QueryEpochInfosResponse: {
|
|
|
142
117
|
};
|
|
143
118
|
export declare const QueryCurrentEpochRequest: {
|
|
144
119
|
typeUrl: string;
|
|
120
|
+
aminoType: string;
|
|
145
121
|
encode(message: QueryCurrentEpochRequest, writer?: BinaryWriter): BinaryWriter;
|
|
146
122
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochRequest;
|
|
147
123
|
fromPartial(object: DeepPartial<QueryCurrentEpochRequest>): QueryCurrentEpochRequest;
|
|
@@ -155,6 +131,7 @@ export declare const QueryCurrentEpochRequest: {
|
|
|
155
131
|
};
|
|
156
132
|
export declare const QueryCurrentEpochResponse: {
|
|
157
133
|
typeUrl: string;
|
|
134
|
+
aminoType: string;
|
|
158
135
|
encode(message: QueryCurrentEpochResponse, writer?: BinaryWriter): BinaryWriter;
|
|
159
136
|
decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochResponse;
|
|
160
137
|
fromPartial(object: DeepPartial<QueryCurrentEpochResponse>): QueryCurrentEpochResponse;
|
|
@@ -9,6 +9,7 @@ function createBaseQueryEpochInfosRequest() {
|
|
|
9
9
|
}
|
|
10
10
|
exports.QueryEpochInfosRequest = {
|
|
11
11
|
typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosRequest",
|
|
12
|
+
aminoType: "cosmos-sdk/QueryEpochInfosRequest",
|
|
12
13
|
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
13
14
|
return writer;
|
|
14
15
|
},
|
|
@@ -67,6 +68,7 @@ function createBaseQueryEpochInfosResponse() {
|
|
|
67
68
|
}
|
|
68
69
|
exports.QueryEpochInfosResponse = {
|
|
69
70
|
typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosResponse",
|
|
71
|
+
aminoType: "cosmos-sdk/QueryEpochInfosResponse",
|
|
70
72
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
71
73
|
for (const v of message.epochs) {
|
|
72
74
|
genesis_1.EpochInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -139,6 +141,7 @@ function createBaseQueryCurrentEpochRequest() {
|
|
|
139
141
|
}
|
|
140
142
|
exports.QueryCurrentEpochRequest = {
|
|
141
143
|
typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochRequest",
|
|
144
|
+
aminoType: "cosmos-sdk/QueryCurrentEpochRequest",
|
|
142
145
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
143
146
|
if (message.identifier !== "") {
|
|
144
147
|
writer.uint32(10).string(message.identifier);
|
|
@@ -208,6 +211,7 @@ function createBaseQueryCurrentEpochResponse() {
|
|
|
208
211
|
}
|
|
209
212
|
exports.QueryCurrentEpochResponse = {
|
|
210
213
|
typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochResponse",
|
|
214
|
+
aminoType: "cosmos-sdk/QueryCurrentEpochResponse",
|
|
211
215
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
212
216
|
if (message.currentEpoch !== BigInt(0)) {
|
|
213
217
|
writer.uint32(8).int64(message.currentEpoch);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryEpochInfosRequest,
|
|
2
|
+
import { QueryEpochInfosRequest, QueryEpochInfosResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
6
6
|
requestClient: LCDClient;
|
|
7
7
|
});
|
|
8
|
-
epochInfos(_params?: QueryEpochInfosRequest)
|
|
9
|
-
currentEpoch(params: QueryCurrentEpochRequest)
|
|
8
|
+
epochInfos: (_params?: QueryEpochInfosRequest) => Promise<QueryEpochInfosResponse>;
|
|
9
|
+
currentEpoch: (params: QueryCurrentEpochRequest) => Promise<QueryCurrentEpochResponse>;
|
|
10
10
|
}
|
|
@@ -5,16 +5,14 @@ class LCDQueryClient {
|
|
|
5
5
|
req;
|
|
6
6
|
constructor({ requestClient }) {
|
|
7
7
|
this.req = requestClient;
|
|
8
|
-
this.epochInfos = this.epochInfos.bind(this);
|
|
9
|
-
this.currentEpoch = this.currentEpoch.bind(this);
|
|
10
8
|
}
|
|
11
9
|
/* EpochInfos provide running epochInfos */
|
|
12
|
-
async
|
|
10
|
+
epochInfos = async (_params = {}) => {
|
|
13
11
|
const endpoint = `cosmos/epochs/v1beta1/epochs`;
|
|
14
12
|
return await this.req.get(endpoint);
|
|
15
|
-
}
|
|
13
|
+
};
|
|
16
14
|
/* CurrentEpoch provide current epoch of specified identifier */
|
|
17
|
-
async
|
|
15
|
+
currentEpoch = async (params) => {
|
|
18
16
|
const options = {
|
|
19
17
|
params: {}
|
|
20
18
|
};
|
|
@@ -23,6 +21,6 @@ class LCDQueryClient {
|
|
|
23
21
|
}
|
|
24
22
|
const endpoint = `cosmos/epochs/v1beta1/current_epoch`;
|
|
25
23
|
return await this.req.get(endpoint, options);
|
|
26
|
-
}
|
|
24
|
+
};
|
|
27
25
|
}
|
|
28
26
|
exports.LCDQueryClient = LCDQueryClient;
|