@sparkdreamnft/sparkdreamjs 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/app/runtime/v1alpha1/module.d.ts +5 -22
- package/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/cosmos/app/v1alpha1/module.d.ts +7 -21
- package/cosmos/app/v1alpha1/module.js +3 -0
- package/cosmos/auth/module/v1/module.d.ts +5 -13
- package/cosmos/auth/module/v1/module.js +2 -0
- package/cosmos/auth/v1beta1/auth.d.ts +10 -43
- package/cosmos/auth/v1beta1/auth.js +4 -2
- package/cosmos/auth/v1beta1/genesis.d.ts +5 -8
- package/cosmos/auth/v1beta1/genesis.js +1 -0
- package/cosmos/auth/v1beta1/query.d.ts +44 -159
- package/cosmos/auth/v1beta1/query.js +20 -0
- package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/cosmos/auth/v1beta1/tx.d.ts +6 -20
- package/cosmos/auth/v1beta1/tx.js +2 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/auth/v1beta1/tx.registry.js +1 -33
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/authz/module/v1/module.d.ts +3 -4
- package/cosmos/authz/module/v1/module.js +1 -0
- package/cosmos/authz/v1beta1/authz.d.ts +13 -39
- package/cosmos/authz/v1beta1/authz.js +4 -1
- package/cosmos/authz/v1beta1/event.d.ts +5 -14
- package/cosmos/authz/v1beta1/event.js +2 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +4 -6
- package/cosmos/authz/v1beta1/genesis.js +1 -0
- package/cosmos/authz/v1beta1/query.d.ts +15 -40
- package/cosmos/authz/v1beta1/query.js +6 -0
- package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/cosmos/authz/v1beta1/tx.d.ts +15 -45
- package/cosmos/authz/v1beta1/tx.js +6 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/authz/v1beta1/tx.registry.js +1 -69
- package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
- package/cosmos/bank/module/v1/module.d.ts +3 -7
- package/cosmos/bank/module/v1/module.js +1 -0
- package/cosmos/bank/v1beta1/authz.d.ts +4 -14
- package/cosmos/bank/v1beta1/authz.js +1 -1
- package/cosmos/bank/v1beta1/bank.d.ts +16 -66
- package/cosmos/bank/v1beta1/bank.js +7 -1
- package/cosmos/bank/v1beta1/genesis.d.ts +7 -20
- package/cosmos/bank/v1beta1/genesis.js +2 -0
- package/cosmos/bank/v1beta1/query.d.ts +58 -226
- package/cosmos/bank/v1beta1/query.js +27 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
- package/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +15 -15
- package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/cosmos/bank/v1beta1/tx.d.ts +19 -65
- package/cosmos/bank/v1beta1/tx.js +8 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/bank/v1beta1/tx.registry.js +1 -87
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
- package/cosmos/base/abci/v1beta1/abci.d.ts +26 -112
- package/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/cosmos/base/node/v1beta1/query.d.ts +9 -25
- package/cosmos/base/node/v1beta1/query.js +4 -0
- package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +4 -4
- package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/cosmos/base/query/v1beta1/pagination.d.ts +5 -31
- package/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +53 -154
- package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/cosmos/base/v1beta1/coin.d.ts +9 -38
- package/cosmos/base/v1beta1/coin.js +5 -1
- package/cosmos/benchmark/module/v1/module.d.ts +5 -20
- package/cosmos/benchmark/module/v1/module.js +2 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +3 -11
- package/cosmos/benchmark/v1/benchmark.js +1 -0
- package/cosmos/benchmark/v1/tx.d.ts +6 -13
- package/cosmos/benchmark/v1/tx.js +2 -0
- package/cosmos/benchmark/v1/tx.registry.d.ts +2 -24
- package/cosmos/benchmark/v1/tx.registry.js +1 -33
- package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
- package/cosmos/bundle.d.ts +1344 -1649
- package/cosmos/circuit/module/v1/module.d.ts +3 -5
- package/cosmos/circuit/module/v1/module.js +1 -0
- package/cosmos/circuit/v1/query.d.ts +15 -32
- package/cosmos/circuit/v1/query.js +6 -0
- package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
- package/cosmos/circuit/v1/query.lcd.js +7 -10
- package/cosmos/circuit/v1/query.rpc.Query.d.ts +5 -5
- package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/cosmos/circuit/v1/tx.d.ts +14 -35
- package/cosmos/circuit/v1/tx.js +6 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +2 -48
- package/cosmos/circuit/v1/tx.registry.js +1 -69
- package/cosmos/circuit/v1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
- package/cosmos/circuit/v1/types.d.ts +7 -22
- package/cosmos/circuit/v1/types.js +4 -2
- package/cosmos/consensus/module/v1/module.d.ts +3 -5
- package/cosmos/consensus/module/v1/module.js +1 -0
- package/cosmos/consensus/v1/query.d.ts +6 -10
- package/cosmos/consensus/v1/query.js +2 -0
- package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
- package/cosmos/consensus/v1/query.lcd.js +2 -3
- package/cosmos/consensus/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/cosmos/consensus/v1/tx.d.ts +6 -17
- package/cosmos/consensus/v1/tx.js +2 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +2 -24
- package/cosmos/consensus/v1/tx.registry.js +1 -33
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
- package/cosmos/counter/module/v1/module.d.ts +3 -5
- package/cosmos/counter/module/v1/module.js +1 -0
- package/cosmos/counter/v1/query.d.ts +5 -9
- package/cosmos/counter/v1/query.js +2 -0
- package/cosmos/counter/v1/query.rpc.Query.d.ts +3 -3
- package/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/cosmos/counter/v1/tx.d.ts +5 -11
- package/cosmos/counter/v1/tx.js +2 -0
- package/cosmos/counter/v1/tx.registry.d.ts +2 -24
- package/cosmos/counter/v1/tx.registry.js +1 -33
- package/cosmos/counter/v1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
- package/cosmos/crisis/module/v1/module.d.ts +3 -6
- package/cosmos/crisis/module/v1/module.js +1 -0
- package/cosmos/crypto/ed25519/keys.d.ts +5 -19
- package/cosmos/crypto/ed25519/keys.js +2 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +3 -9
- package/cosmos/crypto/hd/v1/hd.js +1 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +13 -33
- package/cosmos/crypto/keyring/v1/record.js +5 -0
- package/cosmos/crypto/multisig/keys.d.ts +4 -11
- package/cosmos/crypto/multisig/keys.js +1 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +5 -20
- package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +5 -16
- package/cosmos/crypto/secp256k1/keys.js +2 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +5 -10
- package/cosmos/crypto/secp256r1/keys.js +2 -0
- package/cosmos/distribution/module/v1/module.d.ts +3 -6
- package/cosmos/distribution/module/v1/module.js +1 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +26 -134
- package/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/cosmos/distribution/v1beta1/genesis.d.ts +19 -72
- package/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/cosmos/distribution/v1beta1/query.d.ts +44 -157
- package/cosmos/distribution/v1beta1/query.js +20 -0
- package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
- package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +12 -12
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/cosmos/distribution/v1beta1/tx.d.ts +31 -126
- package/cosmos/distribution/v1beta1/tx.js +14 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
- package/cosmos/epochs/module/v1/module.d.ts +3 -4
- package/cosmos/epochs/module/v1/module.js +1 -0
- package/cosmos/epochs/v1beta1/events.d.ts +5 -11
- package/cosmos/epochs/v1beta1/events.js +2 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +6 -20
- package/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/cosmos/epochs/v1beta1/query.d.ts +10 -32
- package/cosmos/epochs/v1beta1/query.js +4 -0
- package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/cosmos/evidence/module/v1/module.d.ts +3 -4
- package/cosmos/evidence/module/v1/module.js +1 -0
- package/cosmos/feegrant/module/v1/module.d.ts +3 -4
- package/cosmos/feegrant/module/v1/module.js +1 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +12 -43
- package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/cosmos/feegrant/v1beta1/genesis.d.ts +4 -6
- package/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +15 -45
- package/cosmos/feegrant/v1beta1/query.js +6 -0
- package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/cosmos/feegrant/v1beta1/tx.d.ts +15 -43
- package/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
- package/cosmos/genutil/module/v1/module.d.ts +3 -4
- package/cosmos/genutil/module/v1/module.js +1 -0
- package/cosmos/gov/module/v1/module.d.ts +3 -6
- package/cosmos/gov/module/v1/module.js +1 -0
- package/cosmos/gov/v1/genesis.d.ts +4 -17
- package/cosmos/gov/v1/genesis.js +1 -0
- package/cosmos/gov/v1/gov.d.ts +22 -104
- package/cosmos/gov/v1/gov.js +10 -3
- package/cosmos/gov/v1/query.d.ts +39 -110
- package/cosmos/gov/v1/query.js +18 -0
- package/cosmos/gov/v1/query.lcd.d.ts +10 -10
- package/cosmos/gov/v1/query.lcd.js +18 -27
- package/cosmos/gov/v1/query.rpc.Query.d.ts +11 -11
- package/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/cosmos/gov/v1/tx.d.ts +36 -115
- package/cosmos/gov/v1/tx.js +14 -0
- package/cosmos/gov/v1/tx.registry.d.ts +2 -96
- package/cosmos/gov/v1/tx.registry.js +1 -141
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
- package/cosmos/gov/v1beta1/genesis.d.ts +4 -12
- package/cosmos/gov/v1beta1/genesis.js +1 -0
- package/cosmos/gov/v1beta1/gov.d.ts +25 -90
- package/cosmos/gov/v1beta1/gov.js +11 -5
- package/cosmos/gov/v1beta1/query.d.ts +35 -97
- package/cosmos/gov/v1beta1/query.js +16 -0
- package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
- package/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +10 -10
- package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/cosmos/gov/v1beta1/tx.d.ts +23 -62
- package/cosmos/gov/v1beta1/tx.js +8 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -60
- package/cosmos/gov/v1beta1/tx.registry.js +1 -87
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +7 -6
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
- package/cosmos/group/module/v1/module.d.ts +4 -7
- package/cosmos/group/module/v1/module.js +1 -0
- package/cosmos/group/v1/events.d.ts +24 -62
- package/cosmos/group/v1/events.js +11 -0
- package/cosmos/group/v1/genesis.d.ts +4 -13
- package/cosmos/group/v1/genesis.js +1 -0
- package/cosmos/group/v1/query.d.ts +59 -168
- package/cosmos/group/v1/query.js +28 -0
- package/cosmos/group/v1/query.lcd.d.ts +15 -15
- package/cosmos/group/v1/query.lcd.js +29 -43
- package/cosmos/group/v1/query.rpc.Query.d.ts +16 -16
- package/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/cosmos/group/v1/tx.d.ts +59 -170
- package/cosmos/group/v1/tx.js +29 -2
- package/cosmos/group/v1/tx.registry.d.ts +2 -180
- package/cosmos/group/v1/tx.registry.js +1 -267
- package/cosmos/group/v1/tx.rpc.msg.d.ts +17 -16
- package/cosmos/group/v1/tx.rpc.msg.js +47 -43
- package/cosmos/group/v1/types.d.ts +25 -130
- package/cosmos/group/v1/types.js +12 -6
- package/cosmos/ics23/v1/proofs.d.ts +27 -170
- package/cosmos/ics23/v1/proofs.js +14 -3
- package/cosmos/mint/module/v1/module.d.ts +3 -6
- package/cosmos/mint/module/v1/module.js +1 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +4 -7
- package/cosmos/mint/v1beta1/genesis.js +1 -0
- package/cosmos/mint/v1beta1/mint.d.ts +5 -16
- package/cosmos/mint/v1beta1/mint.js +3 -1
- package/cosmos/mint/v1beta1/query.d.ts +14 -37
- package/cosmos/mint/v1beta1/query.js +6 -0
- package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
- package/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +5 -5
- package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/cosmos/mint/v1beta1/tx.d.ts +6 -20
- package/cosmos/mint/v1beta1/tx.js +2 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -24
- package/cosmos/mint/v1beta1/tx.registry.js +1 -33
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +4 -3
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
- package/cosmos/nft/module/v1/module.d.ts +3 -4
- package/cosmos/nft/module/v1/module.js +1 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +3 -8
- package/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +18 -53
- package/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +4 -4
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/cosmos/params/module/v1/module.d.ts +3 -4
- package/cosmos/params/module/v1/module.js +1 -0
- package/cosmos/params/v1beta1/params.d.ts +5 -19
- package/cosmos/params/v1beta1/params.js +2 -1
- package/cosmos/params/v1beta1/query.d.ts +12 -42
- package/cosmos/params/v1beta1/query.js +5 -0
- package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
- package/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +4 -4
- package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/cosmos/protocolpool/module/v1/module.d.ts +3 -5
- package/cosmos/protocolpool/module/v1/module.js +1 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +4 -7
- package/cosmos/protocolpool/v1/genesis.js +1 -0
- package/cosmos/protocolpool/v1/query.d.ts +19 -57
- package/cosmos/protocolpool/v1/query.js +8 -0
- package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
- package/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +6 -6
- package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/cosmos/protocolpool/v1/tx.d.ts +23 -77
- package/cosmos/protocolpool/v1/tx.js +11 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +2 -72
- package/cosmos/protocolpool/v1/tx.registry.js +1 -105
- package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +8 -7
- package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
- package/cosmos/protocolpool/v1/types.d.ts +5 -13
- package/cosmos/protocolpool/v1/types.js +3 -1
- package/cosmos/reflection/v1/reflection.d.ts +6 -10
- package/cosmos/reflection/v1/reflection.js +2 -0
- package/cosmos/slashing/module/v1/module.d.ts +3 -5
- package/cosmos/slashing/module/v1/module.js +1 -0
- package/cosmos/staking/module/v1/module.d.ts +3 -8
- package/cosmos/staking/module/v1/module.js +1 -0
- package/cosmos/staking/v1beta1/authz.d.ts +6 -21
- package/cosmos/staking/v1beta1/authz.js +3 -3
- package/cosmos/staking/v1beta1/genesis.d.ts +6 -19
- package/cosmos/staking/v1beta1/genesis.js +2 -0
- package/cosmos/staking/v1beta1/query.d.ts +59 -213
- package/cosmos/staking/v1beta1/query.js +28 -0
- package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
- package/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +16 -16
- package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/cosmos/staking/v1beta1/staking.d.ts +48 -214
- package/cosmos/staking/v1beta1/staking.js +28 -9
- package/cosmos/staking/v1beta1/tx.d.ts +32 -116
- package/cosmos/staking/v1beta1/tx.js +20 -6
- package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -96
- package/cosmos/staking/v1beta1/tx.registry.js +1 -141
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +10 -9
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +5 -11
- package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +15 -66
- package/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +11 -23
- package/cosmos/store/streaming/abci/grpc.js +4 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +7 -28
- package/cosmos/store/v1beta1/commit_info.js +3 -0
- package/cosmos/store/v1beta1/listening.d.ts +6 -25
- package/cosmos/store/v1beta1/listening.js +2 -0
- package/cosmos/tx/config/v1/config.d.ts +3 -6
- package/cosmos/tx/config/v1/config.js +1 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +13 -38
- package/cosmos/tx/signing/v1beta1/signing.js +6 -2
- package/cosmos/tx/v1beta1/service.d.ts +42 -188
- package/cosmos/tx/v1beta1/service.js +19 -3
- package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
- package/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +11 -11
- package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/cosmos/tx/v1beta1/tx.d.ts +30 -136
- package/cosmos/tx/v1beta1/tx.js +13 -0
- package/cosmos/upgrade/module/v1/module.d.ts +3 -5
- package/cosmos/upgrade/module/v1/module.js +1 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +22 -87
- package/cosmos/upgrade/v1beta1/query.js +10 -0
- package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
- package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +7 -7
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/cosmos/upgrade/v1beta1/tx.d.ts +10 -36
- package/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -36
- package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +5 -4
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +10 -51
- package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/cosmos/vesting/module/v1/module.d.ts +3 -4
- package/cosmos/vesting/module/v1/module.js +1 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +15 -60
- package/cosmos/vesting/v1beta1/tx.js +6 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -48
- package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +6 -5
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +15 -59
- package/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/cosmos_proto/bundle.d.ts +2 -3
- package/cosmos_proto/cosmos.d.ts +3 -25
- package/cosmos_proto/cosmos.js +1 -2
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
- package/esm/cosmos/app/v1alpha1/module.js +3 -0
- package/esm/cosmos/auth/module/v1/module.js +2 -0
- package/esm/cosmos/auth/v1beta1/auth.js +4 -2
- package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
- package/esm/cosmos/auth/v1beta1/query.js +20 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
- package/esm/cosmos/auth/v1beta1/tx.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/authz/module/v1/module.js +1 -0
- package/esm/cosmos/authz/v1beta1/authz.js +4 -1
- package/esm/cosmos/authz/v1beta1/event.js +2 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
- package/esm/cosmos/authz/v1beta1/query.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
- package/esm/cosmos/authz/v1beta1/tx.js +6 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
- package/esm/cosmos/bank/module/v1/module.js +1 -0
- package/esm/cosmos/bank/v1beta1/authz.js +1 -1
- package/esm/cosmos/bank/v1beta1/bank.js +7 -1
- package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
- package/esm/cosmos/bank/v1beta1/query.js +27 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
- package/esm/cosmos/bank/v1beta1/tx.js +8 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
- package/esm/cosmos/base/node/v1beta1/query.js +4 -0
- package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
- package/esm/cosmos/base/v1beta1/coin.js +5 -1
- package/esm/cosmos/benchmark/module/v1/module.js +2 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
- package/esm/cosmos/benchmark/v1/tx.js +2 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
- package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/circuit/module/v1/module.js +1 -0
- package/esm/cosmos/circuit/v1/query.js +6 -0
- package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
- package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
- package/esm/cosmos/circuit/v1/tx.js +6 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
- package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
- package/esm/cosmos/circuit/v1/types.js +3 -1
- package/esm/cosmos/consensus/module/v1/module.js +1 -0
- package/esm/cosmos/consensus/v1/query.js +2 -0
- package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/consensus/v1/tx.js +2 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/counter/module/v1/module.js +1 -0
- package/esm/cosmos/counter/v1/query.js +2 -0
- package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/counter/v1/tx.js +2 -0
- package/esm/cosmos/counter/v1/tx.registry.js +0 -31
- package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
- package/esm/cosmos/crisis/module/v1/module.js +1 -0
- package/esm/cosmos/crypto/ed25519/keys.js +2 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
- package/esm/cosmos/crypto/multisig/keys.js +1 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
- package/esm/cosmos/distribution/module/v1/module.js +1 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
- package/esm/cosmos/distribution/v1beta1/query.js +20 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
- package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
- package/esm/cosmos/epochs/module/v1/module.js +1 -0
- package/esm/cosmos/epochs/v1beta1/events.js +2 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
- package/esm/cosmos/epochs/v1beta1/query.js +4 -0
- package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
- package/esm/cosmos/evidence/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/module/v1/module.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
- package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
- package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
- package/esm/cosmos/genutil/module/v1/module.js +1 -0
- package/esm/cosmos/gov/module/v1/module.js +1 -0
- package/esm/cosmos/gov/v1/genesis.js +1 -0
- package/esm/cosmos/gov/v1/gov.js +9 -2
- package/esm/cosmos/gov/v1/query.js +18 -0
- package/esm/cosmos/gov/v1/query.lcd.js +18 -27
- package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
- package/esm/cosmos/gov/v1/tx.js +14 -0
- package/esm/cosmos/gov/v1/tx.registry.js +0 -139
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
- package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
- package/esm/cosmos/gov/v1beta1/gov.js +10 -4
- package/esm/cosmos/gov/v1beta1/query.js +16 -0
- package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
- package/esm/cosmos/gov/v1beta1/tx.js +8 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
- package/esm/cosmos/group/module/v1/module.js +1 -0
- package/esm/cosmos/group/v1/events.js +11 -0
- package/esm/cosmos/group/v1/genesis.js +1 -0
- package/esm/cosmos/group/v1/query.js +28 -0
- package/esm/cosmos/group/v1/query.lcd.js +29 -43
- package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
- package/esm/cosmos/group/v1/tx.js +28 -1
- package/esm/cosmos/group/v1/tx.registry.js +0 -265
- package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
- package/esm/cosmos/group/v1/types.js +11 -5
- package/esm/cosmos/ics23/v1/proofs.js +13 -2
- package/esm/cosmos/mint/module/v1/module.js +1 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
- package/esm/cosmos/mint/v1beta1/mint.js +3 -1
- package/esm/cosmos/mint/v1beta1/query.js +6 -0
- package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
- package/esm/cosmos/mint/v1beta1/tx.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
- package/esm/cosmos/nft/module/v1/module.js +1 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
- package/esm/cosmos/params/module/v1/module.js +1 -0
- package/esm/cosmos/params/v1beta1/params.js +2 -1
- package/esm/cosmos/params/v1beta1/query.js +5 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
- package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
- package/esm/cosmos/protocolpool/v1/query.js +8 -0
- package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
- package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
- package/esm/cosmos/protocolpool/v1/tx.js +11 -1
- package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
- package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
- package/esm/cosmos/protocolpool/v1/types.js +3 -1
- package/esm/cosmos/reflection/v1/reflection.js +2 -0
- package/esm/cosmos/slashing/module/v1/module.js +1 -0
- package/esm/cosmos/staking/module/v1/module.js +1 -0
- package/esm/cosmos/staking/v1beta1/authz.js +2 -2
- package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
- package/esm/cosmos/staking/v1beta1/query.js +28 -0
- package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
- package/esm/cosmos/staking/v1beta1/staking.js +23 -4
- package/esm/cosmos/staking/v1beta1/tx.js +16 -2
- package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
- package/esm/cosmos/store/v1beta1/listening.js +2 -0
- package/esm/cosmos/tx/config/v1/config.js +1 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
- package/esm/cosmos/tx/v1beta1/service.js +18 -2
- package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
- package/esm/cosmos/tx/v1beta1/tx.js +13 -0
- package/esm/cosmos/upgrade/module/v1/module.js +1 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
- package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
- package/esm/cosmos/vesting/module/v1/module.js +1 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
- package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
- package/esm/cosmos_proto/cosmos.js +0 -1
- package/esm/google/protobuf/any.js +0 -1
- package/esm/google/protobuf/descriptor.js +4 -24
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +0 -67
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/esm/ibc/applications/transfer/v1/authz.js +2 -1
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
- package/esm/ibc/applications/transfer/v1/packet.js +1 -0
- package/esm/ibc/applications/transfer/v1/query.js +12 -0
- package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/esm/ibc/applications/transfer/v1/token.js +3 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
- package/esm/ibc/applications/transfer/v1/tx.js +4 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/channel/v1/channel.js +8 -2
- package/esm/ibc/core/channel/v1/genesis.js +2 -0
- package/esm/ibc/core/channel/v1/query.js +28 -0
- package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/esm/ibc/core/channel/v1/tx.js +20 -1
- package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
- package/esm/ibc/core/channel/v2/genesis.js +3 -0
- package/esm/ibc/core/channel/v2/packet.js +4 -1
- package/esm/ibc/core/channel/v2/query.js +16 -0
- package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/esm/ibc/core/channel/v2/tx.js +8 -1
- package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
- package/esm/ibc/core/client/v1/client.js +5 -0
- package/esm/ibc/core/client/v1/genesis.js +3 -0
- package/esm/ibc/core/client/v1/query.js +22 -0
- package/esm/ibc/core/client/v1/query.lcd.js +21 -31
- package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/esm/ibc/core/client/v1/tx.js +16 -0
- package/esm/ibc/core/client/v1/tx.registry.js +0 -157
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
- package/esm/ibc/core/client/v2/config.js +1 -0
- package/esm/ibc/core/client/v2/counterparty.js +1 -0
- package/esm/ibc/core/client/v2/genesis.js +2 -0
- package/esm/ibc/core/client/v2/query.js +4 -0
- package/esm/ibc/core/client/v2/query.lcd.js +4 -6
- package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/esm/ibc/core/client/v2/tx.js +4 -0
- package/esm/ibc/core/client/v2/tx.registry.js +0 -49
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
- package/esm/ibc/core/commitment/v1/commitment.js +3 -0
- package/esm/ibc/core/commitment/v2/commitment.js +1 -0
- package/esm/ibc/core/connection/v1/connection.js +7 -1
- package/esm/ibc/core/connection/v1/genesis.js +1 -0
- package/esm/ibc/core/connection/v1/query.js +12 -0
- package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/esm/ibc/core/connection/v1/tx.js +10 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/esm/index.js +1 -0
- package/esm/sparkdream/blog/params.js +1 -0
- package/esm/sparkdream/blog/query.lcd.js +7 -10
- package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
- package/esm/sparkdream/blog/tx.js +1 -0
- package/esm/sparkdream/blog/tx.registry.js +0 -85
- package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
- package/esm/sparkdream/sparkdream/params.js +1 -0
- package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
- package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/esm/sparkdream/sparkdream/tx.js +1 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
- package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
- package/esm/tendermint/abci/types.js +0 -6
- package/esm/tendermint/types/types.js +0 -1
- package/esm/tendermint/types/validator.js +0 -1
- package/esm/types.js +7 -0
- package/google/api/http.d.ts +4 -295
- package/google/bundle.d.ts +37 -57
- package/google/protobuf/any.d.ts +2 -94
- package/google/protobuf/any.js +0 -1
- package/google/protobuf/descriptor.d.ts +35 -370
- package/google/protobuf/descriptor.js +6 -26
- package/google/protobuf/duration.d.ts +2 -65
- package/google/protobuf/timestamp.d.ts +2 -96
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +3 -8
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +10 -21
- package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +15 -39
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -48
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +11 -42
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +5 -18
- package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +6 -10
- package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +3 -3
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +10 -23
- package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
- package/ibc/applications/interchain_accounts/v1/account.d.ts +4 -9
- package/ibc/applications/interchain_accounts/v1/account.js +1 -1
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +3 -13
- package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +6 -14
- package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +6 -31
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
- package/ibc/applications/transfer/v1/authz.d.ts +6 -20
- package/ibc/applications/transfer/v1/authz.js +2 -1
- package/ibc/applications/transfer/v1/denomtrace.d.ts +3 -10
- package/ibc/applications/transfer/v1/denomtrace.js +1 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +6 -11
- package/ibc/applications/transfer/v1/genesis.js +1 -0
- package/ibc/applications/transfer/v1/packet.d.ts +3 -13
- package/ibc/applications/transfer/v1/packet.js +1 -0
- package/ibc/applications/transfer/v1/query.d.ts +29 -83
- package/ibc/applications/transfer/v1/query.js +12 -0
- package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
- package/ibc/applications/transfer/v1/query.lcd.js +13 -19
- package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
- package/ibc/applications/transfer/v1/token.d.ts +7 -18
- package/ibc/applications/transfer/v1/token.js +3 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +3 -11
- package/ibc/applications/transfer/v1/transfer.js +1 -0
- package/ibc/applications/transfer/v1/tx.d.ts +11 -37
- package/ibc/applications/transfer/v1/tx.js +4 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -36
- package/ibc/applications/transfer/v1/tx.registry.js +1 -51
- package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +5 -4
- package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
- package/ibc/bundle.d.ts +581 -848
- package/ibc/core/channel/v1/channel.d.ts +18 -96
- package/ibc/core/channel/v1/channel.js +9 -3
- package/ibc/core/channel/v1/genesis.d.ts +6 -23
- package/ibc/core/channel/v1/genesis.js +2 -0
- package/ibc/core/channel/v1/query.d.ts +61 -273
- package/ibc/core/channel/v1/query.js +28 -0
- package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
- package/ibc/core/channel/v1/query.lcd.js +29 -43
- package/ibc/core/channel/v1/query.rpc.Query.d.ts +16 -16
- package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
- package/ibc/core/channel/v1/tx.d.ts +43 -167
- package/ibc/core/channel/v1/tx.js +21 -2
- package/ibc/core/channel/v1/tx.registry.d.ts +2 -132
- package/ibc/core/channel/v1/tx.registry.js +1 -195
- package/ibc/core/channel/v1/tx.rpc.msg.d.ts +13 -12
- package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
- package/ibc/core/channel/v2/genesis.d.ts +7 -27
- package/ibc/core/channel/v2/genesis.js +3 -0
- package/ibc/core/channel/v2/packet.d.ts +9 -37
- package/ibc/core/channel/v2/packet.js +5 -2
- package/ibc/core/channel/v2/query.d.ts +36 -117
- package/ibc/core/channel/v2/query.js +16 -0
- package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
- package/ibc/core/channel/v2/query.lcd.js +16 -24
- package/ibc/core/channel/v2/query.rpc.Query.d.ts +10 -10
- package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
- package/ibc/core/channel/v2/tx.d.ts +19 -56
- package/ibc/core/channel/v2/tx.js +9 -2
- package/ibc/core/channel/v2/tx.registry.d.ts +2 -60
- package/ibc/core/channel/v2/tx.registry.js +1 -87
- package/ibc/core/channel/v2/tx.rpc.msg.d.ts +7 -6
- package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
- package/ibc/core/client/v1/client.d.ts +12 -53
- package/ibc/core/client/v1/client.js +5 -0
- package/ibc/core/client/v1/genesis.d.ts +8 -30
- package/ibc/core/client/v1/genesis.js +3 -0
- package/ibc/core/client/v1/query.d.ts +49 -191
- package/ibc/core/client/v1/query.js +22 -0
- package/ibc/core/client/v1/query.lcd.d.ts +11 -11
- package/ibc/core/client/v1/query.lcd.js +21 -31
- package/ibc/core/client/v1/query.rpc.Query.d.ts +13 -13
- package/ibc/core/client/v1/query.rpc.Query.js +36 -34
- package/ibc/core/client/v1/tx.d.ts +36 -107
- package/ibc/core/client/v1/tx.js +16 -0
- package/ibc/core/client/v1/tx.registry.d.ts +2 -108
- package/ibc/core/client/v1/tx.registry.js +1 -159
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +11 -10
- package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
- package/ibc/core/client/v2/config.d.ts +3 -10
- package/ibc/core/client/v2/config.js +1 -0
- package/ibc/core/client/v2/counterparty.d.ts +3 -6
- package/ibc/core/client/v2/counterparty.js +1 -0
- package/ibc/core/client/v2/genesis.d.ts +6 -12
- package/ibc/core/client/v2/genesis.js +2 -0
- package/ibc/core/client/v2/query.d.ts +11 -28
- package/ibc/core/client/v2/query.js +4 -0
- package/ibc/core/client/v2/query.lcd.d.ts +3 -3
- package/ibc/core/client/v2/query.lcd.js +4 -6
- package/ibc/core/client/v2/query.rpc.Query.d.ts +4 -4
- package/ibc/core/client/v2/query.rpc.Query.js +6 -6
- package/ibc/core/client/v2/tx.d.ts +10 -24
- package/ibc/core/client/v2/tx.js +4 -0
- package/ibc/core/client/v2/tx.registry.d.ts +2 -36
- package/ibc/core/client/v2/tx.registry.js +1 -51
- package/ibc/core/client/v2/tx.rpc.msg.d.ts +5 -4
- package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
- package/ibc/core/commitment/v1/commitment.d.ts +8 -29
- package/ibc/core/commitment/v1/commitment.js +3 -0
- package/ibc/core/commitment/v2/commitment.d.ts +3 -37
- package/ibc/core/commitment/v2/commitment.js +1 -0
- package/ibc/core/connection/v1/connection.d.ts +16 -61
- package/ibc/core/connection/v1/connection.js +8 -2
- package/ibc/core/connection/v1/genesis.d.ts +4 -9
- package/ibc/core/connection/v1/genesis.js +1 -0
- package/ibc/core/connection/v1/query.d.ts +29 -107
- package/ibc/core/connection/v1/query.js +12 -0
- package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
- package/ibc/core/connection/v1/query.lcd.js +13 -19
- package/ibc/core/connection/v1/query.rpc.Query.d.ts +8 -8
- package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
- package/ibc/core/connection/v1/tx.d.ts +24 -107
- package/ibc/core/connection/v1/tx.js +10 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +2 -72
- package/ibc/core/connection/v1/tx.registry.js +1 -105
- package/ibc/core/connection/v1/tx.rpc.msg.d.ts +8 -7
- package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +36 -149
- package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +18 -75
- package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +17 -74
- package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +5 -10
- package/ibc/lightclients/wasm/v1/genesis.js +2 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +10 -22
- package/ibc/lightclients/wasm/v1/query.js +4 -0
- package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
- package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +4 -4
- package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
- package/ibc/lightclients/wasm/v1/tx.d.ts +13 -33
- package/ibc/lightclients/wasm/v1/tx.js +6 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -48
- package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +6 -5
- package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
- package/ibc/lightclients/wasm/v1/wasm.d.ts +10 -29
- package/ibc/lightclients/wasm/v1/wasm.js +4 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/sparkdream/blog/genesis.d.ts +3 -6
- package/sparkdream/blog/module/module.d.ts +2 -5
- package/sparkdream/blog/params.d.ts +3 -4
- package/sparkdream/blog/params.js +1 -0
- package/sparkdream/blog/post.d.ts +2 -7
- package/sparkdream/blog/query.d.ts +10 -29
- package/sparkdream/blog/query.lcd.d.ts +4 -4
- package/sparkdream/blog/query.lcd.js +7 -10
- package/sparkdream/blog/query.rpc.Query.d.ts +5 -5
- package/sparkdream/blog/query.rpc.Query.js +10 -10
- package/sparkdream/blog/tx.d.ts +11 -42
- package/sparkdream/blog/tx.js +1 -0
- package/sparkdream/blog/tx.registry.d.ts +2 -60
- package/sparkdream/blog/tx.registry.js +1 -87
- package/sparkdream/blog/tx.rpc.msg.d.ts +7 -6
- package/sparkdream/blog/tx.rpc.msg.js +18 -13
- package/sparkdream/bundle.d.ts +31 -103
- package/sparkdream/sparkdream/genesis.d.ts +3 -6
- package/sparkdream/sparkdream/module/module.d.ts +2 -5
- package/sparkdream/sparkdream/params.d.ts +3 -4
- package/sparkdream/sparkdream/params.js +1 -0
- package/sparkdream/sparkdream/query.d.ts +4 -10
- package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
- package/sparkdream/sparkdream/query.lcd.js +2 -3
- package/sparkdream/sparkdream/query.rpc.Query.d.ts +3 -3
- package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
- package/sparkdream/sparkdream/tx.d.ts +5 -14
- package/sparkdream/sparkdream/tx.js +1 -0
- package/sparkdream/sparkdream/tx.registry.d.ts +2 -24
- package/sparkdream/sparkdream/tx.registry.js +1 -33
- package/sparkdream/sparkdream/tx.rpc.msg.d.ts +4 -3
- package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
- package/tendermint/abci/types.d.ts +51 -356
- package/tendermint/abci/types.js +2 -8
- package/tendermint/bundle.d.ts +89 -97
- package/tendermint/crypto/keys.d.ts +2 -6
- package/tendermint/crypto/proof.d.ts +6 -34
- package/tendermint/p2p/types.d.ts +5 -28
- package/tendermint/types/block.d.ts +4 -9
- package/tendermint/types/evidence.d.ts +7 -29
- package/tendermint/types/params.d.ts +9 -54
- package/tendermint/types/types.d.ts +19 -133
- package/tendermint/types/types.js +1 -2
- package/tendermint/types/validator.d.ts +5 -20
- package/tendermint/types/validator.js +1 -2
- package/tendermint/version/types.d.ts +3 -20
- package/types.d.ts +74 -0
- package/types.js +8 -0
|
@@ -6,9 +6,9 @@ import { Duration } from "../../../google/protobuf/duration";
|
|
|
6
6
|
import { Coin } from "../../base/v1beta1/coin";
|
|
7
7
|
import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
8
8
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
9
|
-
import { Decimal } from "@cosmjs/math";
|
|
10
9
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
11
|
-
import {
|
|
10
|
+
import { Decimal } from "@interchainjs/math";
|
|
11
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
12
12
|
/** BondStatus is the status of a validator. */
|
|
13
13
|
export var BondStatus;
|
|
14
14
|
(function (BondStatus) {
|
|
@@ -22,7 +22,6 @@ export var BondStatus;
|
|
|
22
22
|
BondStatus[BondStatus["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
|
23
23
|
BondStatus[BondStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
24
|
})(BondStatus || (BondStatus = {}));
|
|
25
|
-
export const BondStatusSDKType = BondStatus;
|
|
26
25
|
export const BondStatusAmino = BondStatus;
|
|
27
26
|
export function bondStatusFromJSON(object) {
|
|
28
27
|
switch (object) {
|
|
@@ -70,7 +69,6 @@ export var Infraction;
|
|
|
70
69
|
Infraction[Infraction["INFRACTION_DOWNTIME"] = 2] = "INFRACTION_DOWNTIME";
|
|
71
70
|
Infraction[Infraction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
72
71
|
})(Infraction || (Infraction = {}));
|
|
73
|
-
export const InfractionSDKType = Infraction;
|
|
74
72
|
export const InfractionAmino = Infraction;
|
|
75
73
|
export function infractionFromJSON(object) {
|
|
76
74
|
switch (object) {
|
|
@@ -110,6 +108,7 @@ function createBaseHistoricalInfo() {
|
|
|
110
108
|
}
|
|
111
109
|
export const HistoricalInfo = {
|
|
112
110
|
typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
|
|
111
|
+
aminoType: "cosmos-sdk/HistoricalInfo",
|
|
113
112
|
encode(message, writer = BinaryWriter.create()) {
|
|
114
113
|
if (message.header !== undefined) {
|
|
115
114
|
Header.encode(message.header, writer.uint32(10).fork()).ldelim();
|
|
@@ -195,6 +194,7 @@ function createBaseCommissionRates() {
|
|
|
195
194
|
}
|
|
196
195
|
export const CommissionRates = {
|
|
197
196
|
typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
|
|
197
|
+
aminoType: "cosmos-sdk/CommissionRates",
|
|
198
198
|
encode(message, writer = BinaryWriter.create()) {
|
|
199
199
|
if (message.rate !== "") {
|
|
200
200
|
writer.uint32(10).string(Decimal.fromUserInput(message.rate, 18).atomics);
|
|
@@ -287,6 +287,7 @@ function createBaseCommission() {
|
|
|
287
287
|
}
|
|
288
288
|
export const Commission = {
|
|
289
289
|
typeUrl: "/cosmos.staking.v1beta1.Commission",
|
|
290
|
+
aminoType: "cosmos-sdk/Commission",
|
|
290
291
|
encode(message, writer = BinaryWriter.create()) {
|
|
291
292
|
if (message.commissionRates !== undefined) {
|
|
292
293
|
CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim();
|
|
@@ -371,6 +372,7 @@ function createBaseDescription() {
|
|
|
371
372
|
}
|
|
372
373
|
export const Description = {
|
|
373
374
|
typeUrl: "/cosmos.staking.v1beta1.Description",
|
|
375
|
+
aminoType: "cosmos-sdk/Description",
|
|
374
376
|
encode(message, writer = BinaryWriter.create()) {
|
|
375
377
|
if (message.moniker !== "") {
|
|
376
378
|
writer.uint32(10).string(message.moniker);
|
|
@@ -496,6 +498,7 @@ function createBaseValidator() {
|
|
|
496
498
|
}
|
|
497
499
|
export const Validator = {
|
|
498
500
|
typeUrl: "/cosmos.staking.v1beta1.Validator",
|
|
501
|
+
aminoType: "cosmos-sdk/Validator",
|
|
499
502
|
encode(message, writer = BinaryWriter.create()) {
|
|
500
503
|
if (message.operatorAddress !== "") {
|
|
501
504
|
writer.uint32(10).string(message.operatorAddress);
|
|
@@ -710,6 +713,7 @@ function createBaseValAddresses() {
|
|
|
710
713
|
}
|
|
711
714
|
export const ValAddresses = {
|
|
712
715
|
typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
|
|
716
|
+
aminoType: "cosmos-sdk/ValAddresses",
|
|
713
717
|
encode(message, writer = BinaryWriter.create()) {
|
|
714
718
|
for (const v of message.addresses) {
|
|
715
719
|
writer.uint32(10).string(v);
|
|
@@ -783,6 +787,7 @@ function createBaseDVPair() {
|
|
|
783
787
|
}
|
|
784
788
|
export const DVPair = {
|
|
785
789
|
typeUrl: "/cosmos.staking.v1beta1.DVPair",
|
|
790
|
+
aminoType: "cosmos-sdk/DVPair",
|
|
786
791
|
encode(message, writer = BinaryWriter.create()) {
|
|
787
792
|
if (message.delegatorAddress !== "") {
|
|
788
793
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -863,6 +868,7 @@ function createBaseDVPairs() {
|
|
|
863
868
|
}
|
|
864
869
|
export const DVPairs = {
|
|
865
870
|
typeUrl: "/cosmos.staking.v1beta1.DVPairs",
|
|
871
|
+
aminoType: "cosmos-sdk/DVPairs",
|
|
866
872
|
encode(message, writer = BinaryWriter.create()) {
|
|
867
873
|
for (const v of message.pairs) {
|
|
868
874
|
DVPair.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -937,6 +943,7 @@ function createBaseDVVTriplet() {
|
|
|
937
943
|
}
|
|
938
944
|
export const DVVTriplet = {
|
|
939
945
|
typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
|
|
946
|
+
aminoType: "cosmos-sdk/DVVTriplet",
|
|
940
947
|
encode(message, writer = BinaryWriter.create()) {
|
|
941
948
|
if (message.delegatorAddress !== "") {
|
|
942
949
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1028,6 +1035,7 @@ function createBaseDVVTriplets() {
|
|
|
1028
1035
|
}
|
|
1029
1036
|
export const DVVTriplets = {
|
|
1030
1037
|
typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
|
|
1038
|
+
aminoType: "cosmos-sdk/DVVTriplets",
|
|
1031
1039
|
encode(message, writer = BinaryWriter.create()) {
|
|
1032
1040
|
for (const v of message.triplets) {
|
|
1033
1041
|
DVVTriplet.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1102,6 +1110,7 @@ function createBaseDelegation() {
|
|
|
1102
1110
|
}
|
|
1103
1111
|
export const Delegation = {
|
|
1104
1112
|
typeUrl: "/cosmos.staking.v1beta1.Delegation",
|
|
1113
|
+
aminoType: "cosmos-sdk/Delegation",
|
|
1105
1114
|
encode(message, writer = BinaryWriter.create()) {
|
|
1106
1115
|
if (message.delegatorAddress !== "") {
|
|
1107
1116
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1195,6 +1204,7 @@ function createBaseUnbondingDelegation() {
|
|
|
1195
1204
|
}
|
|
1196
1205
|
export const UnbondingDelegation = {
|
|
1197
1206
|
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
|
|
1207
|
+
aminoType: "cosmos-sdk/UnbondingDelegation",
|
|
1198
1208
|
encode(message, writer = BinaryWriter.create()) {
|
|
1199
1209
|
if (message.delegatorAddress !== "") {
|
|
1200
1210
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1294,6 +1304,7 @@ function createBaseUnbondingDelegationEntry() {
|
|
|
1294
1304
|
}
|
|
1295
1305
|
export const UnbondingDelegationEntry = {
|
|
1296
1306
|
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
|
|
1307
|
+
aminoType: "cosmos-sdk/UnbondingDelegationEntry",
|
|
1297
1308
|
encode(message, writer = BinaryWriter.create()) {
|
|
1298
1309
|
if (message.creationHeight !== BigInt(0)) {
|
|
1299
1310
|
writer.uint32(8).int64(message.creationHeight);
|
|
@@ -1423,6 +1434,7 @@ function createBaseRedelegationEntry() {
|
|
|
1423
1434
|
}
|
|
1424
1435
|
export const RedelegationEntry = {
|
|
1425
1436
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
|
|
1437
|
+
aminoType: "cosmos-sdk/RedelegationEntry",
|
|
1426
1438
|
encode(message, writer = BinaryWriter.create()) {
|
|
1427
1439
|
if (message.creationHeight !== BigInt(0)) {
|
|
1428
1440
|
writer.uint32(8).int64(message.creationHeight);
|
|
@@ -1550,6 +1562,7 @@ function createBaseRedelegation() {
|
|
|
1550
1562
|
}
|
|
1551
1563
|
export const Redelegation = {
|
|
1552
1564
|
typeUrl: "/cosmos.staking.v1beta1.Redelegation",
|
|
1565
|
+
aminoType: "cosmos-sdk/Redelegation",
|
|
1553
1566
|
encode(message, writer = BinaryWriter.create()) {
|
|
1554
1567
|
if (message.delegatorAddress !== "") {
|
|
1555
1568
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -1660,6 +1673,7 @@ function createBaseParams() {
|
|
|
1660
1673
|
}
|
|
1661
1674
|
export const Params = {
|
|
1662
1675
|
typeUrl: "/cosmos.staking.v1beta1.Params",
|
|
1676
|
+
aminoType: "cosmos-sdk/x/staking/Params",
|
|
1663
1677
|
encode(message, writer = BinaryWriter.create()) {
|
|
1664
1678
|
if (message.unbondingTime !== undefined) {
|
|
1665
1679
|
Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim();
|
|
@@ -1785,6 +1799,7 @@ function createBaseDelegationResponse() {
|
|
|
1785
1799
|
}
|
|
1786
1800
|
export const DelegationResponse = {
|
|
1787
1801
|
typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
|
|
1802
|
+
aminoType: "cosmos-sdk/DelegationResponse",
|
|
1788
1803
|
encode(message, writer = BinaryWriter.create()) {
|
|
1789
1804
|
if (message.delegation !== undefined) {
|
|
1790
1805
|
Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim();
|
|
@@ -1866,6 +1881,7 @@ function createBaseRedelegationEntryResponse() {
|
|
|
1866
1881
|
}
|
|
1867
1882
|
export const RedelegationEntryResponse = {
|
|
1868
1883
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
|
|
1884
|
+
aminoType: "cosmos-sdk/RedelegationEntryResponse",
|
|
1869
1885
|
encode(message, writer = BinaryWriter.create()) {
|
|
1870
1886
|
if (message.redelegationEntry !== undefined) {
|
|
1871
1887
|
RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim();
|
|
@@ -1947,6 +1963,7 @@ function createBaseRedelegationResponse() {
|
|
|
1947
1963
|
}
|
|
1948
1964
|
export const RedelegationResponse = {
|
|
1949
1965
|
typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
|
|
1966
|
+
aminoType: "cosmos-sdk/RedelegationResponse",
|
|
1950
1967
|
encode(message, writer = BinaryWriter.create()) {
|
|
1951
1968
|
if (message.redelegation !== undefined) {
|
|
1952
1969
|
Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim();
|
|
@@ -2031,6 +2048,7 @@ function createBasePool() {
|
|
|
2031
2048
|
}
|
|
2032
2049
|
export const Pool = {
|
|
2033
2050
|
typeUrl: "/cosmos.staking.v1beta1.Pool",
|
|
2051
|
+
aminoType: "cosmos-sdk/Pool",
|
|
2034
2052
|
encode(message, writer = BinaryWriter.create()) {
|
|
2035
2053
|
if (message.notBondedTokens !== "") {
|
|
2036
2054
|
writer.uint32(10).string(message.notBondedTokens);
|
|
@@ -2111,6 +2129,7 @@ function createBaseValidatorUpdates() {
|
|
|
2111
2129
|
}
|
|
2112
2130
|
export const ValidatorUpdates = {
|
|
2113
2131
|
typeUrl: "/cosmos.staking.v1beta1.ValidatorUpdates",
|
|
2132
|
+
aminoType: "cosmos-sdk/ValidatorUpdates",
|
|
2114
2133
|
encode(message, writer = BinaryWriter.create()) {
|
|
2115
2134
|
for (const v of message.updates) {
|
|
2116
2135
|
ValidatorUpdate.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -4,9 +4,9 @@ import { Any } from "../../../google/protobuf/any";
|
|
|
4
4
|
import { Coin } from "../../base/v1beta1/coin";
|
|
5
5
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
6
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
|
-
import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
|
|
8
|
-
import { Decimal } from "@cosmjs/math";
|
|
9
7
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
8
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
9
|
+
import { Decimal } from "@interchainjs/math";
|
|
10
10
|
function createBaseMsgCreateValidator() {
|
|
11
11
|
return {
|
|
12
12
|
description: Description.fromPartial({}),
|
|
@@ -20,6 +20,7 @@ function createBaseMsgCreateValidator() {
|
|
|
20
20
|
}
|
|
21
21
|
export const MsgCreateValidator = {
|
|
22
22
|
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
23
|
+
aminoType: "cosmos-sdk/MsgCreateValidator",
|
|
23
24
|
encode(message, writer = BinaryWriter.create()) {
|
|
24
25
|
if (message.description !== undefined) {
|
|
25
26
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
@@ -153,6 +154,7 @@ function createBaseMsgCreateValidatorResponse() {
|
|
|
153
154
|
}
|
|
154
155
|
export const MsgCreateValidatorResponse = {
|
|
155
156
|
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse",
|
|
157
|
+
aminoType: "cosmos-sdk/MsgCreateValidatorResponse",
|
|
156
158
|
encode(_, writer = BinaryWriter.create()) {
|
|
157
159
|
return writer;
|
|
158
160
|
},
|
|
@@ -214,6 +216,7 @@ function createBaseMsgEditValidator() {
|
|
|
214
216
|
}
|
|
215
217
|
export const MsgEditValidator = {
|
|
216
218
|
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
219
|
+
aminoType: "cosmos-sdk/MsgEditValidator",
|
|
217
220
|
encode(message, writer = BinaryWriter.create()) {
|
|
218
221
|
if (message.description !== undefined) {
|
|
219
222
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
@@ -314,6 +317,7 @@ function createBaseMsgEditValidatorResponse() {
|
|
|
314
317
|
}
|
|
315
318
|
export const MsgEditValidatorResponse = {
|
|
316
319
|
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse",
|
|
320
|
+
aminoType: "cosmos-sdk/MsgEditValidatorResponse",
|
|
317
321
|
encode(_, writer = BinaryWriter.create()) {
|
|
318
322
|
return writer;
|
|
319
323
|
},
|
|
@@ -374,6 +378,7 @@ function createBaseMsgDelegate() {
|
|
|
374
378
|
}
|
|
375
379
|
export const MsgDelegate = {
|
|
376
380
|
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
381
|
+
aminoType: "cosmos-sdk/MsgDelegate",
|
|
377
382
|
encode(message, writer = BinaryWriter.create()) {
|
|
378
383
|
if (message.delegatorAddress !== "") {
|
|
379
384
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -463,6 +468,7 @@ function createBaseMsgDelegateResponse() {
|
|
|
463
468
|
}
|
|
464
469
|
export const MsgDelegateResponse = {
|
|
465
470
|
typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse",
|
|
471
|
+
aminoType: "cosmos-sdk/MsgDelegateResponse",
|
|
466
472
|
encode(_, writer = BinaryWriter.create()) {
|
|
467
473
|
return writer;
|
|
468
474
|
},
|
|
@@ -524,6 +530,7 @@ function createBaseMsgBeginRedelegate() {
|
|
|
524
530
|
}
|
|
525
531
|
export const MsgBeginRedelegate = {
|
|
526
532
|
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
533
|
+
aminoType: "cosmos-sdk/MsgBeginRedelegate",
|
|
527
534
|
encode(message, writer = BinaryWriter.create()) {
|
|
528
535
|
if (message.delegatorAddress !== "") {
|
|
529
536
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -626,6 +633,7 @@ function createBaseMsgBeginRedelegateResponse() {
|
|
|
626
633
|
}
|
|
627
634
|
export const MsgBeginRedelegateResponse = {
|
|
628
635
|
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse",
|
|
636
|
+
aminoType: "cosmos-sdk/MsgBeginRedelegateResponse",
|
|
629
637
|
encode(message, writer = BinaryWriter.create()) {
|
|
630
638
|
if (message.completionTime !== undefined) {
|
|
631
639
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
@@ -697,6 +705,7 @@ function createBaseMsgUndelegate() {
|
|
|
697
705
|
}
|
|
698
706
|
export const MsgUndelegate = {
|
|
699
707
|
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
708
|
+
aminoType: "cosmos-sdk/MsgUndelegate",
|
|
700
709
|
encode(message, writer = BinaryWriter.create()) {
|
|
701
710
|
if (message.delegatorAddress !== "") {
|
|
702
711
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -789,6 +798,7 @@ function createBaseMsgUndelegateResponse() {
|
|
|
789
798
|
}
|
|
790
799
|
export const MsgUndelegateResponse = {
|
|
791
800
|
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse",
|
|
801
|
+
aminoType: "cosmos-sdk/MsgUndelegateResponse",
|
|
792
802
|
encode(message, writer = BinaryWriter.create()) {
|
|
793
803
|
if (message.completionTime !== undefined) {
|
|
794
804
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
@@ -872,6 +882,7 @@ function createBaseMsgCancelUnbondingDelegation() {
|
|
|
872
882
|
}
|
|
873
883
|
export const MsgCancelUnbondingDelegation = {
|
|
874
884
|
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
|
|
885
|
+
aminoType: "cosmos-sdk/MsgCancelUnbondingDelegation",
|
|
875
886
|
encode(message, writer = BinaryWriter.create()) {
|
|
876
887
|
if (message.delegatorAddress !== "") {
|
|
877
888
|
writer.uint32(10).string(message.delegatorAddress);
|
|
@@ -972,6 +983,7 @@ function createBaseMsgCancelUnbondingDelegationResponse() {
|
|
|
972
983
|
}
|
|
973
984
|
export const MsgCancelUnbondingDelegationResponse = {
|
|
974
985
|
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse",
|
|
986
|
+
aminoType: "cosmos-sdk/MsgCancelUnbondingDelegationResponse",
|
|
975
987
|
encode(_, writer = BinaryWriter.create()) {
|
|
976
988
|
return writer;
|
|
977
989
|
},
|
|
@@ -1031,6 +1043,7 @@ function createBaseMsgUpdateParams() {
|
|
|
1031
1043
|
}
|
|
1032
1044
|
export const MsgUpdateParams = {
|
|
1033
1045
|
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
|
|
1046
|
+
aminoType: "cosmos-sdk/x/staking/MsgUpdateParams",
|
|
1034
1047
|
encode(message, writer = BinaryWriter.create()) {
|
|
1035
1048
|
if (message.authority !== "") {
|
|
1036
1049
|
writer.uint32(10).string(message.authority);
|
|
@@ -1109,6 +1122,7 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
1109
1122
|
}
|
|
1110
1123
|
export const MsgUpdateParamsResponse = {
|
|
1111
1124
|
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParamsResponse",
|
|
1125
|
+
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
1112
1126
|
encode(_, writer = BinaryWriter.create()) {
|
|
1113
1127
|
return writer;
|
|
1114
1128
|
},
|
|
@@ -1,141 +1,2 @@
|
|
|
1
1
|
import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator], ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator], ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate], ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate], ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate], ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation], ["/cosmos.staking.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
createValidator(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
13
|
-
value: MsgCreateValidator.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
editValidator(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
19
|
-
value: MsgEditValidator.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
delegate(value) {
|
|
23
|
-
return {
|
|
24
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
25
|
-
value: MsgDelegate.encode(value).finish()
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
beginRedelegate(value) {
|
|
29
|
-
return {
|
|
30
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
31
|
-
value: MsgBeginRedelegate.encode(value).finish()
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
undelegate(value) {
|
|
35
|
-
return {
|
|
36
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
37
|
-
value: MsgUndelegate.encode(value).finish()
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
cancelUnbondingDelegation(value) {
|
|
41
|
-
return {
|
|
42
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
|
|
43
|
-
value: MsgCancelUnbondingDelegation.encode(value).finish()
|
|
44
|
-
};
|
|
45
|
-
},
|
|
46
|
-
updateParams(value) {
|
|
47
|
-
return {
|
|
48
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
|
|
49
|
-
value: MsgUpdateParams.encode(value).finish()
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
withTypeUrl: {
|
|
54
|
-
createValidator(value) {
|
|
55
|
-
return {
|
|
56
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
57
|
-
value
|
|
58
|
-
};
|
|
59
|
-
},
|
|
60
|
-
editValidator(value) {
|
|
61
|
-
return {
|
|
62
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
63
|
-
value
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
delegate(value) {
|
|
67
|
-
return {
|
|
68
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
69
|
-
value
|
|
70
|
-
};
|
|
71
|
-
},
|
|
72
|
-
beginRedelegate(value) {
|
|
73
|
-
return {
|
|
74
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
75
|
-
value
|
|
76
|
-
};
|
|
77
|
-
},
|
|
78
|
-
undelegate(value) {
|
|
79
|
-
return {
|
|
80
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
81
|
-
value
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
cancelUnbondingDelegation(value) {
|
|
85
|
-
return {
|
|
86
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
|
|
87
|
-
value
|
|
88
|
-
};
|
|
89
|
-
},
|
|
90
|
-
updateParams(value) {
|
|
91
|
-
return {
|
|
92
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
|
|
93
|
-
value
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
fromPartial: {
|
|
98
|
-
createValidator(value) {
|
|
99
|
-
return {
|
|
100
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
101
|
-
value: MsgCreateValidator.fromPartial(value)
|
|
102
|
-
};
|
|
103
|
-
},
|
|
104
|
-
editValidator(value) {
|
|
105
|
-
return {
|
|
106
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
107
|
-
value: MsgEditValidator.fromPartial(value)
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
delegate(value) {
|
|
111
|
-
return {
|
|
112
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
113
|
-
value: MsgDelegate.fromPartial(value)
|
|
114
|
-
};
|
|
115
|
-
},
|
|
116
|
-
beginRedelegate(value) {
|
|
117
|
-
return {
|
|
118
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
119
|
-
value: MsgBeginRedelegate.fromPartial(value)
|
|
120
|
-
};
|
|
121
|
-
},
|
|
122
|
-
undelegate(value) {
|
|
123
|
-
return {
|
|
124
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
125
|
-
value: MsgUndelegate.fromPartial(value)
|
|
126
|
-
};
|
|
127
|
-
},
|
|
128
|
-
cancelUnbondingDelegation(value) {
|
|
129
|
-
return {
|
|
130
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
|
|
131
|
-
value: MsgCancelUnbondingDelegation.fromPartial(value)
|
|
132
|
-
};
|
|
133
|
-
},
|
|
134
|
-
updateParams(value) {
|
|
135
|
-
return {
|
|
136
|
-
typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
|
|
137
|
-
value: MsgUpdateParams.fromPartial(value)
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
};
|
|
@@ -4,47 +4,58 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.createValidator = this.createValidator.bind(this);
|
|
8
|
-
this.editValidator = this.editValidator.bind(this);
|
|
9
|
-
this.delegate = this.delegate.bind(this);
|
|
10
|
-
this.beginRedelegate = this.beginRedelegate.bind(this);
|
|
11
|
-
this.undelegate = this.undelegate.bind(this);
|
|
12
|
-
this.cancelUnbondingDelegation = this.cancelUnbondingDelegation.bind(this);
|
|
13
|
-
this.updateParams = this.updateParams.bind(this);
|
|
14
7
|
}
|
|
15
|
-
|
|
8
|
+
/* CreateValidator defines a method for creating a new validator. */
|
|
9
|
+
createValidator = async (request) => {
|
|
16
10
|
const data = MsgCreateValidator.encode(request).finish();
|
|
17
11
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data);
|
|
18
12
|
return promise.then(data => MsgCreateValidatorResponse.decode(new BinaryReader(data)));
|
|
19
|
-
}
|
|
20
|
-
|
|
13
|
+
};
|
|
14
|
+
/* EditValidator defines a method for editing an existing validator. */
|
|
15
|
+
editValidator = async (request) => {
|
|
21
16
|
const data = MsgEditValidator.encode(request).finish();
|
|
22
17
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data);
|
|
23
18
|
return promise.then(data => MsgEditValidatorResponse.decode(new BinaryReader(data)));
|
|
24
|
-
}
|
|
25
|
-
|
|
19
|
+
};
|
|
20
|
+
/* Delegate defines a method for performing a delegation of coins
|
|
21
|
+
from a delegator to a validator. */
|
|
22
|
+
delegate = async (request) => {
|
|
26
23
|
const data = MsgDelegate.encode(request).finish();
|
|
27
24
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data);
|
|
28
25
|
return promise.then(data => MsgDelegateResponse.decode(new BinaryReader(data)));
|
|
29
|
-
}
|
|
30
|
-
|
|
26
|
+
};
|
|
27
|
+
/* BeginRedelegate defines a method for performing a redelegation
|
|
28
|
+
of coins from a delegator and source validator to a destination validator. */
|
|
29
|
+
beginRedelegate = async (request) => {
|
|
31
30
|
const data = MsgBeginRedelegate.encode(request).finish();
|
|
32
31
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data);
|
|
33
32
|
return promise.then(data => MsgBeginRedelegateResponse.decode(new BinaryReader(data)));
|
|
34
|
-
}
|
|
35
|
-
|
|
33
|
+
};
|
|
34
|
+
/* Undelegate defines a method for performing an undelegation from a
|
|
35
|
+
delegate and a validator. */
|
|
36
|
+
undelegate = async (request) => {
|
|
36
37
|
const data = MsgUndelegate.encode(request).finish();
|
|
37
38
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data);
|
|
38
39
|
return promise.then(data => MsgUndelegateResponse.decode(new BinaryReader(data)));
|
|
39
|
-
}
|
|
40
|
-
|
|
40
|
+
};
|
|
41
|
+
/* CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation
|
|
42
|
+
and delegate back to previous validator.
|
|
43
|
+
|
|
44
|
+
Since: cosmos-sdk 0.46 */
|
|
45
|
+
cancelUnbondingDelegation = async (request) => {
|
|
41
46
|
const data = MsgCancelUnbondingDelegation.encode(request).finish();
|
|
42
47
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CancelUnbondingDelegation", data);
|
|
43
48
|
return promise.then(data => MsgCancelUnbondingDelegationResponse.decode(new BinaryReader(data)));
|
|
44
|
-
}
|
|
45
|
-
|
|
49
|
+
};
|
|
50
|
+
/* UpdateParams defines an operation for updating the x/staking module
|
|
51
|
+
parameters.
|
|
52
|
+
Since: cosmos-sdk 0.47 */
|
|
53
|
+
updateParams = async (request) => {
|
|
46
54
|
const data = MsgUpdateParams.encode(request).finish();
|
|
47
55
|
const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "UpdateParams", data);
|
|
48
56
|
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
49
|
-
}
|
|
57
|
+
};
|
|
50
58
|
}
|
|
59
|
+
export const createClientImpl = (rpc) => {
|
|
60
|
+
return new MsgClientImpl(rpc);
|
|
61
|
+
};
|
|
@@ -8,6 +8,7 @@ function createBasePairs() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Pairs = {
|
|
10
10
|
typeUrl: "/cosmos.store.internal.kv.v1beta1.Pairs",
|
|
11
|
+
aminoType: "cosmos-sdk/Pairs",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
for (const v of message.pairs) {
|
|
13
14
|
Pair.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -81,6 +82,7 @@ function createBasePair() {
|
|
|
81
82
|
}
|
|
82
83
|
export const Pair = {
|
|
83
84
|
typeUrl: "/cosmos.store.internal.kv.v1beta1.Pair",
|
|
85
|
+
aminoType: "cosmos-sdk/Pair",
|
|
84
86
|
encode(message, writer = BinaryWriter.create()) {
|
|
85
87
|
if (message.key.length !== 0) {
|
|
86
88
|
writer.uint32(10).bytes(message.key);
|
|
@@ -12,6 +12,7 @@ function createBaseSnapshot() {
|
|
|
12
12
|
}
|
|
13
13
|
export const Snapshot = {
|
|
14
14
|
typeUrl: "/cosmos.store.snapshots.v1.Snapshot",
|
|
15
|
+
aminoType: "cosmos-sdk/Snapshot",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.height !== BigInt(0)) {
|
|
17
18
|
writer.uint32(8).uint64(message.height);
|
|
@@ -125,6 +126,7 @@ function createBaseMetadata() {
|
|
|
125
126
|
}
|
|
126
127
|
export const Metadata = {
|
|
127
128
|
typeUrl: "/cosmos.store.snapshots.v1.Metadata",
|
|
129
|
+
aminoType: "cosmos-sdk/Metadata",
|
|
128
130
|
encode(message, writer = BinaryWriter.create()) {
|
|
129
131
|
for (const v of message.chunkHashes) {
|
|
130
132
|
writer.uint32(10).bytes(v);
|
|
@@ -200,6 +202,7 @@ function createBaseSnapshotItem() {
|
|
|
200
202
|
}
|
|
201
203
|
export const SnapshotItem = {
|
|
202
204
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotItem",
|
|
205
|
+
aminoType: "cosmos-sdk/SnapshotItem",
|
|
203
206
|
encode(message, writer = BinaryWriter.create()) {
|
|
204
207
|
if (message.store !== undefined) {
|
|
205
208
|
SnapshotStoreItem.encode(message.store, writer.uint32(10).fork()).ldelim();
|
|
@@ -302,6 +305,7 @@ function createBaseSnapshotStoreItem() {
|
|
|
302
305
|
}
|
|
303
306
|
export const SnapshotStoreItem = {
|
|
304
307
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotStoreItem",
|
|
308
|
+
aminoType: "cosmos-sdk/SnapshotStoreItem",
|
|
305
309
|
encode(message, writer = BinaryWriter.create()) {
|
|
306
310
|
if (message.name !== "") {
|
|
307
311
|
writer.uint32(10).string(message.name);
|
|
@@ -374,6 +378,7 @@ function createBaseSnapshotIAVLItem() {
|
|
|
374
378
|
}
|
|
375
379
|
export const SnapshotIAVLItem = {
|
|
376
380
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotIAVLItem",
|
|
381
|
+
aminoType: "cosmos-sdk/SnapshotIAVLItem",
|
|
377
382
|
encode(message, writer = BinaryWriter.create()) {
|
|
378
383
|
if (message.key.length !== 0) {
|
|
379
384
|
writer.uint32(10).bytes(message.key);
|
|
@@ -477,6 +482,7 @@ function createBaseSnapshotExtensionMeta() {
|
|
|
477
482
|
}
|
|
478
483
|
export const SnapshotExtensionMeta = {
|
|
479
484
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotExtensionMeta",
|
|
485
|
+
aminoType: "cosmos-sdk/SnapshotExtensionMeta",
|
|
480
486
|
encode(message, writer = BinaryWriter.create()) {
|
|
481
487
|
if (message.name !== "") {
|
|
482
488
|
writer.uint32(10).string(message.name);
|
|
@@ -557,6 +563,7 @@ function createBaseSnapshotExtensionPayload() {
|
|
|
557
563
|
}
|
|
558
564
|
export const SnapshotExtensionPayload = {
|
|
559
565
|
typeUrl: "/cosmos.store.snapshots.v1.SnapshotExtensionPayload",
|
|
566
|
+
aminoType: "cosmos-sdk/SnapshotExtensionPayload",
|
|
560
567
|
encode(message, writer = BinaryWriter.create()) {
|
|
561
568
|
if (message.payload.length !== 0) {
|
|
562
569
|
writer.uint32(10).bytes(message.payload);
|
|
@@ -10,6 +10,7 @@ function createBaseListenFinalizeBlockRequest() {
|
|
|
10
10
|
}
|
|
11
11
|
export const ListenFinalizeBlockRequest = {
|
|
12
12
|
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockRequest",
|
|
13
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockRequest",
|
|
13
14
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
15
|
if (message.req !== undefined) {
|
|
15
16
|
RequestFinalizeBlock.encode(message.req, writer.uint32(10).fork()).ldelim();
|
|
@@ -88,6 +89,7 @@ function createBaseListenFinalizeBlockResponse() {
|
|
|
88
89
|
}
|
|
89
90
|
export const ListenFinalizeBlockResponse = {
|
|
90
91
|
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockResponse",
|
|
92
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockResponse",
|
|
91
93
|
encode(_, writer = BinaryWriter.create()) {
|
|
92
94
|
return writer;
|
|
93
95
|
},
|
|
@@ -148,6 +150,7 @@ function createBaseListenCommitRequest() {
|
|
|
148
150
|
}
|
|
149
151
|
export const ListenCommitRequest = {
|
|
150
152
|
typeUrl: "/cosmos.store.streaming.abci.ListenCommitRequest",
|
|
153
|
+
aminoType: "cosmos-sdk/ListenCommitRequest",
|
|
151
154
|
encode(message, writer = BinaryWriter.create()) {
|
|
152
155
|
if (message.blockHeight !== BigInt(0)) {
|
|
153
156
|
writer.uint32(8).int64(message.blockHeight);
|
|
@@ -240,6 +243,7 @@ function createBaseListenCommitResponse() {
|
|
|
240
243
|
}
|
|
241
244
|
export const ListenCommitResponse = {
|
|
242
245
|
typeUrl: "/cosmos.store.streaming.abci.ListenCommitResponse",
|
|
246
|
+
aminoType: "cosmos-sdk/ListenCommitResponse",
|
|
243
247
|
encode(_, writer = BinaryWriter.create()) {
|
|
244
248
|
return writer;
|
|
245
249
|
},
|
|
@@ -11,6 +11,7 @@ function createBaseCommitInfo() {
|
|
|
11
11
|
}
|
|
12
12
|
export const CommitInfo = {
|
|
13
13
|
typeUrl: "/cosmos.store.v1beta1.CommitInfo",
|
|
14
|
+
aminoType: "cosmos-sdk/CommitInfo",
|
|
14
15
|
encode(message, writer = BinaryWriter.create()) {
|
|
15
16
|
if (message.version !== BigInt(0)) {
|
|
16
17
|
writer.uint32(8).int64(message.version);
|
|
@@ -106,6 +107,7 @@ function createBaseStoreInfo() {
|
|
|
106
107
|
}
|
|
107
108
|
export const StoreInfo = {
|
|
108
109
|
typeUrl: "/cosmos.store.v1beta1.StoreInfo",
|
|
110
|
+
aminoType: "cosmos-sdk/StoreInfo",
|
|
109
111
|
encode(message, writer = BinaryWriter.create()) {
|
|
110
112
|
if (message.name !== "") {
|
|
111
113
|
writer.uint32(10).string(message.name);
|
|
@@ -187,6 +189,7 @@ function createBaseCommitID() {
|
|
|
187
189
|
}
|
|
188
190
|
export const CommitID = {
|
|
189
191
|
typeUrl: "/cosmos.store.v1beta1.CommitID",
|
|
192
|
+
aminoType: "cosmos-sdk/CommitID",
|
|
190
193
|
encode(message, writer = BinaryWriter.create()) {
|
|
191
194
|
if (message.version !== BigInt(0)) {
|
|
192
195
|
writer.uint32(8).int64(message.version);
|
|
@@ -12,6 +12,7 @@ function createBaseStoreKVPair() {
|
|
|
12
12
|
}
|
|
13
13
|
export const StoreKVPair = {
|
|
14
14
|
typeUrl: "/cosmos.store.v1beta1.StoreKVPair",
|
|
15
|
+
aminoType: "cosmos-sdk/StoreKVPair",
|
|
15
16
|
encode(message, writer = BinaryWriter.create()) {
|
|
16
17
|
if (message.storeKey !== "") {
|
|
17
18
|
writer.uint32(10).string(message.storeKey);
|
|
@@ -116,6 +117,7 @@ function createBaseBlockMetadata() {
|
|
|
116
117
|
}
|
|
117
118
|
export const BlockMetadata = {
|
|
118
119
|
typeUrl: "/cosmos.store.v1beta1.BlockMetadata",
|
|
120
|
+
aminoType: "cosmos-sdk/BlockMetadata",
|
|
119
121
|
encode(message, writer = BinaryWriter.create()) {
|
|
120
122
|
if (message.responseCommit !== undefined) {
|
|
121
123
|
ResponseCommit.encode(message.responseCommit, writer.uint32(50).fork()).ldelim();
|