@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
|
@@ -5,61 +5,71 @@ export class ServiceClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.simulate = this.simulate.bind(this);
|
|
9
|
-
this.getTx = this.getTx.bind(this);
|
|
10
|
-
this.broadcastTx = this.broadcastTx.bind(this);
|
|
11
|
-
this.getTxsEvent = this.getTxsEvent.bind(this);
|
|
12
|
-
this.getBlockWithTxs = this.getBlockWithTxs.bind(this);
|
|
13
|
-
this.txDecode = this.txDecode.bind(this);
|
|
14
|
-
this.txEncode = this.txEncode.bind(this);
|
|
15
|
-
this.txEncodeAmino = this.txEncodeAmino.bind(this);
|
|
16
|
-
this.txDecodeAmino = this.txDecodeAmino.bind(this);
|
|
17
8
|
}
|
|
18
|
-
|
|
9
|
+
/* Simulate simulates executing a transaction for estimating gas usage. */
|
|
10
|
+
simulate = async (request) => {
|
|
19
11
|
const data = SimulateRequest.encode(request).finish();
|
|
20
12
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data);
|
|
21
13
|
return promise.then(data => SimulateResponse.decode(new BinaryReader(data)));
|
|
22
|
-
}
|
|
23
|
-
|
|
14
|
+
};
|
|
15
|
+
/* GetTx fetches a tx by hash. */
|
|
16
|
+
getTx = async (request) => {
|
|
24
17
|
const data = GetTxRequest.encode(request).finish();
|
|
25
18
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data);
|
|
26
19
|
return promise.then(data => GetTxResponse.decode(new BinaryReader(data)));
|
|
27
|
-
}
|
|
28
|
-
|
|
20
|
+
};
|
|
21
|
+
/* BroadcastTx broadcast transaction. */
|
|
22
|
+
broadcastTx = async (request) => {
|
|
29
23
|
const data = BroadcastTxRequest.encode(request).finish();
|
|
30
24
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data);
|
|
31
25
|
return promise.then(data => BroadcastTxResponse.decode(new BinaryReader(data)));
|
|
32
|
-
}
|
|
33
|
-
|
|
26
|
+
};
|
|
27
|
+
/* GetTxsEvent fetches txs by event. */
|
|
28
|
+
getTxsEvent = async (request) => {
|
|
34
29
|
const data = GetTxsEventRequest.encode(request).finish();
|
|
35
30
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data);
|
|
36
31
|
return promise.then(data => GetTxsEventResponse.decode(new BinaryReader(data)));
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
};
|
|
33
|
+
/* GetBlockWithTxs fetches a block with decoded txs.
|
|
34
|
+
|
|
35
|
+
Since: cosmos-sdk 0.45.2 */
|
|
36
|
+
getBlockWithTxs = async (request) => {
|
|
39
37
|
const data = GetBlockWithTxsRequest.encode(request).finish();
|
|
40
38
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data);
|
|
41
39
|
return promise.then(data => GetBlockWithTxsResponse.decode(new BinaryReader(data)));
|
|
42
|
-
}
|
|
43
|
-
|
|
40
|
+
};
|
|
41
|
+
/* TxDecode decodes the transaction.
|
|
42
|
+
|
|
43
|
+
Since: cosmos-sdk 0.47 */
|
|
44
|
+
txDecode = async (request) => {
|
|
44
45
|
const data = TxDecodeRequest.encode(request).finish();
|
|
45
46
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecode", data);
|
|
46
47
|
return promise.then(data => TxDecodeResponse.decode(new BinaryReader(data)));
|
|
47
|
-
}
|
|
48
|
-
|
|
48
|
+
};
|
|
49
|
+
/* TxEncode encodes the transaction.
|
|
50
|
+
|
|
51
|
+
Since: cosmos-sdk 0.47 */
|
|
52
|
+
txEncode = async (request) => {
|
|
49
53
|
const data = TxEncodeRequest.encode(request).finish();
|
|
50
54
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncode", data);
|
|
51
55
|
return promise.then(data => TxEncodeResponse.decode(new BinaryReader(data)));
|
|
52
|
-
}
|
|
53
|
-
|
|
56
|
+
};
|
|
57
|
+
/* TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
|
|
58
|
+
|
|
59
|
+
Since: cosmos-sdk 0.47 */
|
|
60
|
+
txEncodeAmino = async (request) => {
|
|
54
61
|
const data = TxEncodeAminoRequest.encode(request).finish();
|
|
55
62
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncodeAmino", data);
|
|
56
63
|
return promise.then(data => TxEncodeAminoResponse.decode(new BinaryReader(data)));
|
|
57
|
-
}
|
|
58
|
-
|
|
64
|
+
};
|
|
65
|
+
/* TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
|
|
66
|
+
|
|
67
|
+
Since: cosmos-sdk 0.47 */
|
|
68
|
+
txDecodeAmino = async (request) => {
|
|
59
69
|
const data = TxDecodeAminoRequest.encode(request).finish();
|
|
60
70
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecodeAmino", data);
|
|
61
71
|
return promise.then(data => TxDecodeAminoResponse.decode(new BinaryReader(data)));
|
|
62
|
-
}
|
|
72
|
+
};
|
|
63
73
|
}
|
|
64
74
|
export const createRpcQueryExtension = (base) => {
|
|
65
75
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -13,6 +13,7 @@ function createBaseTx() {
|
|
|
13
13
|
}
|
|
14
14
|
export const Tx = {
|
|
15
15
|
typeUrl: "/cosmos.tx.v1beta1.Tx",
|
|
16
|
+
aminoType: "cosmos-sdk/Tx",
|
|
16
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
17
18
|
if (message.body !== undefined) {
|
|
18
19
|
TxBody.encode(message.body, writer.uint32(10).fork()).ldelim();
|
|
@@ -109,6 +110,7 @@ function createBaseTxRaw() {
|
|
|
109
110
|
}
|
|
110
111
|
export const TxRaw = {
|
|
111
112
|
typeUrl: "/cosmos.tx.v1beta1.TxRaw",
|
|
113
|
+
aminoType: "cosmos-sdk/TxRaw",
|
|
112
114
|
encode(message, writer = BinaryWriter.create()) {
|
|
113
115
|
if (message.bodyBytes.length !== 0) {
|
|
114
116
|
writer.uint32(10).bytes(message.bodyBytes);
|
|
@@ -206,6 +208,7 @@ function createBaseSignDoc() {
|
|
|
206
208
|
}
|
|
207
209
|
export const SignDoc = {
|
|
208
210
|
typeUrl: "/cosmos.tx.v1beta1.SignDoc",
|
|
211
|
+
aminoType: "cosmos-sdk/SignDoc",
|
|
209
212
|
encode(message, writer = BinaryWriter.create()) {
|
|
210
213
|
if (message.bodyBytes.length !== 0) {
|
|
211
214
|
writer.uint32(10).bytes(message.bodyBytes);
|
|
@@ -313,6 +316,7 @@ function createBaseSignDocDirectAux() {
|
|
|
313
316
|
}
|
|
314
317
|
export const SignDocDirectAux = {
|
|
315
318
|
typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux",
|
|
319
|
+
aminoType: "cosmos-sdk/SignDocDirectAux",
|
|
316
320
|
encode(message, writer = BinaryWriter.create()) {
|
|
317
321
|
if (message.bodyBytes.length !== 0) {
|
|
318
322
|
writer.uint32(10).bytes(message.bodyBytes);
|
|
@@ -441,6 +445,7 @@ function createBaseTxBody() {
|
|
|
441
445
|
}
|
|
442
446
|
export const TxBody = {
|
|
443
447
|
typeUrl: "/cosmos.tx.v1beta1.TxBody",
|
|
448
|
+
aminoType: "cosmos-sdk/TxBody",
|
|
444
449
|
encode(message, writer = BinaryWriter.create()) {
|
|
445
450
|
for (const v of message.messages) {
|
|
446
451
|
Any.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -565,6 +570,7 @@ function createBaseAuthInfo() {
|
|
|
565
570
|
}
|
|
566
571
|
export const AuthInfo = {
|
|
567
572
|
typeUrl: "/cosmos.tx.v1beta1.AuthInfo",
|
|
573
|
+
aminoType: "cosmos-sdk/AuthInfo",
|
|
568
574
|
encode(message, writer = BinaryWriter.create()) {
|
|
569
575
|
for (const v of message.signerInfos) {
|
|
570
576
|
SignerInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -661,6 +667,7 @@ function createBaseSignerInfo() {
|
|
|
661
667
|
}
|
|
662
668
|
export const SignerInfo = {
|
|
663
669
|
typeUrl: "/cosmos.tx.v1beta1.SignerInfo",
|
|
670
|
+
aminoType: "cosmos-sdk/SignerInfo",
|
|
664
671
|
encode(message, writer = BinaryWriter.create()) {
|
|
665
672
|
if (message.publicKey !== undefined) {
|
|
666
673
|
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
|
@@ -753,6 +760,7 @@ function createBaseModeInfo() {
|
|
|
753
760
|
}
|
|
754
761
|
export const ModeInfo = {
|
|
755
762
|
typeUrl: "/cosmos.tx.v1beta1.ModeInfo",
|
|
763
|
+
aminoType: "cosmos-sdk/ModeInfo",
|
|
756
764
|
encode(message, writer = BinaryWriter.create()) {
|
|
757
765
|
if (message.single !== undefined) {
|
|
758
766
|
ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim();
|
|
@@ -833,6 +841,7 @@ function createBaseModeInfo_Single() {
|
|
|
833
841
|
}
|
|
834
842
|
export const ModeInfo_Single = {
|
|
835
843
|
typeUrl: "/cosmos.tx.v1beta1.Single",
|
|
844
|
+
aminoType: "cosmos-sdk/Single",
|
|
836
845
|
encode(message, writer = BinaryWriter.create()) {
|
|
837
846
|
if (message.mode !== 0) {
|
|
838
847
|
writer.uint32(8).int32(message.mode);
|
|
@@ -903,6 +912,7 @@ function createBaseModeInfo_Multi() {
|
|
|
903
912
|
}
|
|
904
913
|
export const ModeInfo_Multi = {
|
|
905
914
|
typeUrl: "/cosmos.tx.v1beta1.Multi",
|
|
915
|
+
aminoType: "cosmos-sdk/Multi",
|
|
906
916
|
encode(message, writer = BinaryWriter.create()) {
|
|
907
917
|
if (message.bitarray !== undefined) {
|
|
908
918
|
CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim();
|
|
@@ -989,6 +999,7 @@ function createBaseFee() {
|
|
|
989
999
|
}
|
|
990
1000
|
export const Fee = {
|
|
991
1001
|
typeUrl: "/cosmos.tx.v1beta1.Fee",
|
|
1002
|
+
aminoType: "cosmos-sdk/Fee",
|
|
992
1003
|
encode(message, writer = BinaryWriter.create()) {
|
|
993
1004
|
for (const v of message.amount) {
|
|
994
1005
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1095,6 +1106,7 @@ function createBaseTip() {
|
|
|
1095
1106
|
}
|
|
1096
1107
|
export const Tip = {
|
|
1097
1108
|
typeUrl: "/cosmos.tx.v1beta1.Tip",
|
|
1109
|
+
aminoType: "cosmos-sdk/Tip",
|
|
1098
1110
|
encode(message, writer = BinaryWriter.create()) {
|
|
1099
1111
|
for (const v of message.amount) {
|
|
1100
1112
|
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1181,6 +1193,7 @@ function createBaseAuxSignerData() {
|
|
|
1181
1193
|
}
|
|
1182
1194
|
export const AuxSignerData = {
|
|
1183
1195
|
typeUrl: "/cosmos.tx.v1beta1.AuxSignerData",
|
|
1196
|
+
aminoType: "cosmos-sdk/AuxSignerData",
|
|
1184
1197
|
encode(message, writer = BinaryWriter.create()) {
|
|
1185
1198
|
if (message.address !== "") {
|
|
1186
1199
|
writer.uint32(10).string(message.address);
|
|
@@ -7,6 +7,7 @@ function createBaseModule() {
|
|
|
7
7
|
}
|
|
8
8
|
export const Module = {
|
|
9
9
|
typeUrl: "/cosmos.upgrade.module.v1.Module",
|
|
10
|
+
aminoType: "cosmos-sdk/Module",
|
|
10
11
|
encode(message, writer = BinaryWriter.create()) {
|
|
11
12
|
if (message.authority !== "") {
|
|
12
13
|
writer.uint32(10).string(message.authority);
|
|
@@ -7,6 +7,7 @@ function createBaseQueryCurrentPlanRequest() {
|
|
|
7
7
|
}
|
|
8
8
|
export const QueryCurrentPlanRequest = {
|
|
9
9
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest",
|
|
10
|
+
aminoType: "cosmos-sdk/QueryCurrentPlanRequest",
|
|
10
11
|
encode(_, writer = BinaryWriter.create()) {
|
|
11
12
|
return writer;
|
|
12
13
|
},
|
|
@@ -65,6 +66,7 @@ function createBaseQueryCurrentPlanResponse() {
|
|
|
65
66
|
}
|
|
66
67
|
export const QueryCurrentPlanResponse = {
|
|
67
68
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse",
|
|
69
|
+
aminoType: "cosmos-sdk/QueryCurrentPlanResponse",
|
|
68
70
|
encode(message, writer = BinaryWriter.create()) {
|
|
69
71
|
if (message.plan !== undefined) {
|
|
70
72
|
Plan.encode(message.plan, writer.uint32(10).fork()).ldelim();
|
|
@@ -134,6 +136,7 @@ function createBaseQueryAppliedPlanRequest() {
|
|
|
134
136
|
}
|
|
135
137
|
export const QueryAppliedPlanRequest = {
|
|
136
138
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest",
|
|
139
|
+
aminoType: "cosmos-sdk/QueryAppliedPlanRequest",
|
|
137
140
|
encode(message, writer = BinaryWriter.create()) {
|
|
138
141
|
if (message.name !== "") {
|
|
139
142
|
writer.uint32(10).string(message.name);
|
|
@@ -203,6 +206,7 @@ function createBaseQueryAppliedPlanResponse() {
|
|
|
203
206
|
}
|
|
204
207
|
export const QueryAppliedPlanResponse = {
|
|
205
208
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse",
|
|
209
|
+
aminoType: "cosmos-sdk/QueryAppliedPlanResponse",
|
|
206
210
|
encode(message, writer = BinaryWriter.create()) {
|
|
207
211
|
if (message.height !== BigInt(0)) {
|
|
208
212
|
writer.uint32(8).int64(message.height);
|
|
@@ -272,6 +276,7 @@ function createBaseQueryUpgradedConsensusStateRequest() {
|
|
|
272
276
|
}
|
|
273
277
|
export const QueryUpgradedConsensusStateRequest = {
|
|
274
278
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest",
|
|
279
|
+
aminoType: "cosmos-sdk/QueryUpgradedConsensusStateRequest",
|
|
275
280
|
encode(message, writer = BinaryWriter.create()) {
|
|
276
281
|
if (message.lastHeight !== BigInt(0)) {
|
|
277
282
|
writer.uint32(8).int64(message.lastHeight);
|
|
@@ -341,6 +346,7 @@ function createBaseQueryUpgradedConsensusStateResponse() {
|
|
|
341
346
|
}
|
|
342
347
|
export const QueryUpgradedConsensusStateResponse = {
|
|
343
348
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse",
|
|
349
|
+
aminoType: "cosmos-sdk/QueryUpgradedConsensusStateResponse",
|
|
344
350
|
encode(message, writer = BinaryWriter.create()) {
|
|
345
351
|
if (message.upgradedConsensusState.length !== 0) {
|
|
346
352
|
writer.uint32(18).bytes(message.upgradedConsensusState);
|
|
@@ -410,6 +416,7 @@ function createBaseQueryModuleVersionsRequest() {
|
|
|
410
416
|
}
|
|
411
417
|
export const QueryModuleVersionsRequest = {
|
|
412
418
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest",
|
|
419
|
+
aminoType: "cosmos-sdk/QueryModuleVersionsRequest",
|
|
413
420
|
encode(message, writer = BinaryWriter.create()) {
|
|
414
421
|
if (message.moduleName !== "") {
|
|
415
422
|
writer.uint32(10).string(message.moduleName);
|
|
@@ -479,6 +486,7 @@ function createBaseQueryModuleVersionsResponse() {
|
|
|
479
486
|
}
|
|
480
487
|
export const QueryModuleVersionsResponse = {
|
|
481
488
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse",
|
|
489
|
+
aminoType: "cosmos-sdk/QueryModuleVersionsResponse",
|
|
482
490
|
encode(message, writer = BinaryWriter.create()) {
|
|
483
491
|
for (const v of message.moduleVersions) {
|
|
484
492
|
ModuleVersion.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -549,6 +557,7 @@ function createBaseQueryAuthorityRequest() {
|
|
|
549
557
|
}
|
|
550
558
|
export const QueryAuthorityRequest = {
|
|
551
559
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest",
|
|
560
|
+
aminoType: "cosmos-sdk/QueryAuthorityRequest",
|
|
552
561
|
encode(_, writer = BinaryWriter.create()) {
|
|
553
562
|
return writer;
|
|
554
563
|
},
|
|
@@ -607,6 +616,7 @@ function createBaseQueryAuthorityResponse() {
|
|
|
607
616
|
}
|
|
608
617
|
export const QueryAuthorityResponse = {
|
|
609
618
|
typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse",
|
|
619
|
+
aminoType: "cosmos-sdk/QueryAuthorityResponse",
|
|
610
620
|
encode(message, writer = BinaryWriter.create()) {
|
|
611
621
|
if (message.address !== "") {
|
|
612
622
|
writer.uint32(10).string(message.address);
|
|
@@ -2,36 +2,31 @@ export class LCDQueryClient {
|
|
|
2
2
|
req;
|
|
3
3
|
constructor({ requestClient }) {
|
|
4
4
|
this.req = requestClient;
|
|
5
|
-
this.currentPlan = this.currentPlan.bind(this);
|
|
6
|
-
this.appliedPlan = this.appliedPlan.bind(this);
|
|
7
|
-
this.upgradedConsensusState = this.upgradedConsensusState.bind(this);
|
|
8
|
-
this.moduleVersions = this.moduleVersions.bind(this);
|
|
9
|
-
this.authority = this.authority.bind(this);
|
|
10
5
|
}
|
|
11
6
|
/* CurrentPlan queries the current upgrade plan. */
|
|
12
|
-
async
|
|
7
|
+
currentPlan = async (_params = {}) => {
|
|
13
8
|
const endpoint = `cosmos/upgrade/v1beta1/current_plan`;
|
|
14
9
|
return await this.req.get(endpoint);
|
|
15
|
-
}
|
|
10
|
+
};
|
|
16
11
|
/* AppliedPlan queries a previously applied upgrade plan by its name. */
|
|
17
|
-
async
|
|
12
|
+
appliedPlan = async (params) => {
|
|
18
13
|
const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`;
|
|
19
14
|
return await this.req.get(endpoint);
|
|
20
|
-
}
|
|
15
|
+
};
|
|
21
16
|
/* UpgradedConsensusState queries the consensus state that will serve
|
|
22
17
|
as a trusted kernel for the next version of this chain. It will only be
|
|
23
18
|
stored at the last height of this chain.
|
|
24
19
|
UpgradedConsensusState RPC not supported with legacy querier
|
|
25
20
|
This rpc is deprecated now that IBC has its own replacement
|
|
26
21
|
(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) */
|
|
27
|
-
async
|
|
22
|
+
upgradedConsensusState = async (params) => {
|
|
28
23
|
const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`;
|
|
29
24
|
return await this.req.get(endpoint);
|
|
30
|
-
}
|
|
25
|
+
};
|
|
31
26
|
/* ModuleVersions queries the list of module versions from state.
|
|
32
27
|
|
|
33
28
|
Since: cosmos-sdk 0.43 */
|
|
34
|
-
async
|
|
29
|
+
moduleVersions = async (params) => {
|
|
35
30
|
const options = {
|
|
36
31
|
params: {}
|
|
37
32
|
};
|
|
@@ -40,12 +35,12 @@ export class LCDQueryClient {
|
|
|
40
35
|
}
|
|
41
36
|
const endpoint = `cosmos/upgrade/v1beta1/module_versions`;
|
|
42
37
|
return await this.req.get(endpoint, options);
|
|
43
|
-
}
|
|
38
|
+
};
|
|
44
39
|
/* Returns the account with authority to conduct upgrades
|
|
45
40
|
|
|
46
41
|
Since: cosmos-sdk 0.46 */
|
|
47
|
-
async
|
|
42
|
+
authority = async (_params = {}) => {
|
|
48
43
|
const endpoint = `cosmos/upgrade/v1beta1/authority`;
|
|
49
44
|
return await this.req.get(endpoint);
|
|
50
|
-
}
|
|
45
|
+
};
|
|
51
46
|
}
|
|
@@ -5,37 +5,46 @@ export class QueryClientImpl {
|
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
|
-
this.currentPlan = this.currentPlan.bind(this);
|
|
9
|
-
this.appliedPlan = this.appliedPlan.bind(this);
|
|
10
|
-
this.upgradedConsensusState = this.upgradedConsensusState.bind(this);
|
|
11
|
-
this.moduleVersions = this.moduleVersions.bind(this);
|
|
12
|
-
this.authority = this.authority.bind(this);
|
|
13
8
|
}
|
|
14
|
-
|
|
9
|
+
/* CurrentPlan queries the current upgrade plan. */
|
|
10
|
+
currentPlan = async (request = {}) => {
|
|
15
11
|
const data = QueryCurrentPlanRequest.encode(request).finish();
|
|
16
12
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data);
|
|
17
13
|
return promise.then(data => QueryCurrentPlanResponse.decode(new BinaryReader(data)));
|
|
18
|
-
}
|
|
19
|
-
|
|
14
|
+
};
|
|
15
|
+
/* AppliedPlan queries a previously applied upgrade plan by its name. */
|
|
16
|
+
appliedPlan = async (request) => {
|
|
20
17
|
const data = QueryAppliedPlanRequest.encode(request).finish();
|
|
21
18
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data);
|
|
22
19
|
return promise.then(data => QueryAppliedPlanResponse.decode(new BinaryReader(data)));
|
|
23
|
-
}
|
|
24
|
-
|
|
20
|
+
};
|
|
21
|
+
/* UpgradedConsensusState queries the consensus state that will serve
|
|
22
|
+
as a trusted kernel for the next version of this chain. It will only be
|
|
23
|
+
stored at the last height of this chain.
|
|
24
|
+
UpgradedConsensusState RPC not supported with legacy querier
|
|
25
|
+
This rpc is deprecated now that IBC has its own replacement
|
|
26
|
+
(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) */
|
|
27
|
+
upgradedConsensusState = async (request) => {
|
|
25
28
|
const data = QueryUpgradedConsensusStateRequest.encode(request).finish();
|
|
26
29
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data);
|
|
27
30
|
return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new BinaryReader(data)));
|
|
28
|
-
}
|
|
29
|
-
|
|
31
|
+
};
|
|
32
|
+
/* ModuleVersions queries the list of module versions from state.
|
|
33
|
+
|
|
34
|
+
Since: cosmos-sdk 0.43 */
|
|
35
|
+
moduleVersions = async (request) => {
|
|
30
36
|
const data = QueryModuleVersionsRequest.encode(request).finish();
|
|
31
37
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data);
|
|
32
38
|
return promise.then(data => QueryModuleVersionsResponse.decode(new BinaryReader(data)));
|
|
33
|
-
}
|
|
34
|
-
authority
|
|
39
|
+
};
|
|
40
|
+
/* Returns the account with authority to conduct upgrades
|
|
41
|
+
|
|
42
|
+
Since: cosmos-sdk 0.46 */
|
|
43
|
+
authority = async (request = {}) => {
|
|
35
44
|
const data = QueryAuthorityRequest.encode(request).finish();
|
|
36
45
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data);
|
|
37
46
|
return promise.then(data => QueryAuthorityResponse.decode(new BinaryReader(data)));
|
|
38
|
-
}
|
|
47
|
+
};
|
|
39
48
|
}
|
|
40
49
|
export const createRpcQueryExtension = (base) => {
|
|
41
50
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -9,6 +9,7 @@ function createBaseMsgSoftwareUpgrade() {
|
|
|
9
9
|
}
|
|
10
10
|
export const MsgSoftwareUpgrade = {
|
|
11
11
|
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
12
|
+
aminoType: "cosmos-sdk/MsgSoftwareUpgrade",
|
|
12
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
13
14
|
if (message.authority !== "") {
|
|
14
15
|
writer.uint32(10).string(message.authority);
|
|
@@ -87,6 +88,7 @@ function createBaseMsgSoftwareUpgradeResponse() {
|
|
|
87
88
|
}
|
|
88
89
|
export const MsgSoftwareUpgradeResponse = {
|
|
89
90
|
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse",
|
|
91
|
+
aminoType: "cosmos-sdk/MsgSoftwareUpgradeResponse",
|
|
90
92
|
encode(_, writer = BinaryWriter.create()) {
|
|
91
93
|
return writer;
|
|
92
94
|
},
|
|
@@ -145,6 +147,7 @@ function createBaseMsgCancelUpgrade() {
|
|
|
145
147
|
}
|
|
146
148
|
export const MsgCancelUpgrade = {
|
|
147
149
|
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
150
|
+
aminoType: "cosmos-sdk/MsgCancelUpgrade",
|
|
148
151
|
encode(message, writer = BinaryWriter.create()) {
|
|
149
152
|
if (message.authority !== "") {
|
|
150
153
|
writer.uint32(10).string(message.authority);
|
|
@@ -212,6 +215,7 @@ function createBaseMsgCancelUpgradeResponse() {
|
|
|
212
215
|
}
|
|
213
216
|
export const MsgCancelUpgradeResponse = {
|
|
214
217
|
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse",
|
|
218
|
+
aminoType: "cosmos-sdk/MsgCancelUpgradeResponse",
|
|
215
219
|
encode(_, writer = BinaryWriter.create()) {
|
|
216
220
|
return writer;
|
|
217
221
|
},
|
|
@@ -1,51 +1,2 @@
|
|
|
1
1
|
import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx";
|
|
2
2
|
export const registry = [["/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", MsgSoftwareUpgrade], ["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", MsgCancelUpgrade]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
softwareUpgrade(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
13
|
-
value: MsgSoftwareUpgrade.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
cancelUpgrade(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
19
|
-
value: MsgCancelUpgrade.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
withTypeUrl: {
|
|
24
|
-
softwareUpgrade(value) {
|
|
25
|
-
return {
|
|
26
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
27
|
-
value
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
cancelUpgrade(value) {
|
|
31
|
-
return {
|
|
32
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
33
|
-
value
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
fromPartial: {
|
|
38
|
-
softwareUpgrade(value) {
|
|
39
|
-
return {
|
|
40
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
41
|
-
value: MsgSoftwareUpgrade.fromPartial(value)
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
cancelUpgrade(value) {
|
|
45
|
-
return {
|
|
46
|
-
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
47
|
-
value: MsgCancelUpgrade.fromPartial(value)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
@@ -4,17 +4,25 @@ export class MsgClientImpl {
|
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
6
6
|
this.rpc = rpc;
|
|
7
|
-
this.softwareUpgrade = this.softwareUpgrade.bind(this);
|
|
8
|
-
this.cancelUpgrade = this.cancelUpgrade.bind(this);
|
|
9
7
|
}
|
|
10
|
-
|
|
8
|
+
/* SoftwareUpgrade is a governance operation for initiating a software upgrade.
|
|
9
|
+
|
|
10
|
+
Since: cosmos-sdk 0.46 */
|
|
11
|
+
softwareUpgrade = async (request) => {
|
|
11
12
|
const data = MsgSoftwareUpgrade.encode(request).finish();
|
|
12
13
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data);
|
|
13
14
|
return promise.then(data => MsgSoftwareUpgradeResponse.decode(new BinaryReader(data)));
|
|
14
|
-
}
|
|
15
|
-
|
|
15
|
+
};
|
|
16
|
+
/* CancelUpgrade is a governance operation for cancelling a previously
|
|
17
|
+
approved software upgrade.
|
|
18
|
+
|
|
19
|
+
Since: cosmos-sdk 0.46 */
|
|
20
|
+
cancelUpgrade = async (request) => {
|
|
16
21
|
const data = MsgCancelUpgrade.encode(request).finish();
|
|
17
22
|
const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data);
|
|
18
23
|
return promise.then(data => MsgCancelUpgradeResponse.decode(new BinaryReader(data)));
|
|
19
|
-
}
|
|
24
|
+
};
|
|
20
25
|
}
|
|
26
|
+
export const createClientImpl = (rpc) => {
|
|
27
|
+
return new MsgClientImpl(rpc);
|
|
28
|
+
};
|
|
@@ -14,6 +14,7 @@ function createBasePlan() {
|
|
|
14
14
|
}
|
|
15
15
|
export const Plan = {
|
|
16
16
|
typeUrl: "/cosmos.upgrade.v1beta1.Plan",
|
|
17
|
+
aminoType: "cosmos-sdk/Plan",
|
|
17
18
|
encode(message, writer = BinaryWriter.create()) {
|
|
18
19
|
if (message.name !== "") {
|
|
19
20
|
writer.uint32(10).string(message.name);
|
|
@@ -122,7 +123,6 @@ export const Plan = {
|
|
|
122
123
|
};
|
|
123
124
|
function createBaseSoftwareUpgradeProposal() {
|
|
124
125
|
return {
|
|
125
|
-
$typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal",
|
|
126
126
|
title: "",
|
|
127
127
|
description: "",
|
|
128
128
|
plan: Plan.fromPartial({})
|
|
@@ -130,6 +130,7 @@ function createBaseSoftwareUpgradeProposal() {
|
|
|
130
130
|
}
|
|
131
131
|
export const SoftwareUpgradeProposal = {
|
|
132
132
|
typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal",
|
|
133
|
+
aminoType: "cosmos-sdk/SoftwareUpgradeProposal",
|
|
133
134
|
encode(message, writer = BinaryWriter.create()) {
|
|
134
135
|
if (message.title !== "") {
|
|
135
136
|
writer.uint32(10).string(message.title);
|
|
@@ -216,13 +217,13 @@ export const SoftwareUpgradeProposal = {
|
|
|
216
217
|
};
|
|
217
218
|
function createBaseCancelSoftwareUpgradeProposal() {
|
|
218
219
|
return {
|
|
219
|
-
$typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal",
|
|
220
220
|
title: "",
|
|
221
221
|
description: ""
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
export const CancelSoftwareUpgradeProposal = {
|
|
225
225
|
typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal",
|
|
226
|
+
aminoType: "cosmos-sdk/CancelSoftwareUpgradeProposal",
|
|
226
227
|
encode(message, writer = BinaryWriter.create()) {
|
|
227
228
|
if (message.title !== "") {
|
|
228
229
|
writer.uint32(10).string(message.title);
|
|
@@ -304,6 +305,7 @@ function createBaseModuleVersion() {
|
|
|
304
305
|
}
|
|
305
306
|
export const ModuleVersion = {
|
|
306
307
|
typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion",
|
|
308
|
+
aminoType: "cosmos-sdk/ModuleVersion",
|
|
307
309
|
encode(message, writer = BinaryWriter.create()) {
|
|
308
310
|
if (message.name !== "") {
|
|
309
311
|
writer.uint32(10).string(message.name);
|
|
@@ -13,6 +13,7 @@ function createBaseMsgCreateVestingAccount() {
|
|
|
13
13
|
}
|
|
14
14
|
export const MsgCreateVestingAccount = {
|
|
15
15
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
|
|
16
|
+
aminoType: "cosmos-sdk/MsgCreateVestingAccount",
|
|
16
17
|
encode(message, writer = BinaryWriter.create()) {
|
|
17
18
|
if (message.fromAddress !== "") {
|
|
18
19
|
writer.uint32(10).string(message.fromAddress);
|
|
@@ -127,6 +128,7 @@ function createBaseMsgCreateVestingAccountResponse() {
|
|
|
127
128
|
}
|
|
128
129
|
export const MsgCreateVestingAccountResponse = {
|
|
129
130
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse",
|
|
131
|
+
aminoType: "cosmos-sdk/MsgCreateVestingAccountResponse",
|
|
130
132
|
encode(_, writer = BinaryWriter.create()) {
|
|
131
133
|
return writer;
|
|
132
134
|
},
|
|
@@ -187,6 +189,7 @@ function createBaseMsgCreatePermanentLockedAccount() {
|
|
|
187
189
|
}
|
|
188
190
|
export const MsgCreatePermanentLockedAccount = {
|
|
189
191
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
|
|
192
|
+
aminoType: "cosmos-sdk/MsgCreatePermLockedAccount",
|
|
190
193
|
encode(message, writer = BinaryWriter.create()) {
|
|
191
194
|
if (message.fromAddress !== "") {
|
|
192
195
|
writer.uint32(10).string(message.fromAddress);
|
|
@@ -279,6 +282,7 @@ function createBaseMsgCreatePermanentLockedAccountResponse() {
|
|
|
279
282
|
}
|
|
280
283
|
export const MsgCreatePermanentLockedAccountResponse = {
|
|
281
284
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse",
|
|
285
|
+
aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse",
|
|
282
286
|
encode(_, writer = BinaryWriter.create()) {
|
|
283
287
|
return writer;
|
|
284
288
|
},
|
|
@@ -340,6 +344,7 @@ function createBaseMsgCreatePeriodicVestingAccount() {
|
|
|
340
344
|
}
|
|
341
345
|
export const MsgCreatePeriodicVestingAccount = {
|
|
342
346
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
|
|
347
|
+
aminoType: "cosmos-sdk/MsgCreatePeriodVestAccount",
|
|
343
348
|
encode(message, writer = BinaryWriter.create()) {
|
|
344
349
|
if (message.fromAddress !== "") {
|
|
345
350
|
writer.uint32(10).string(message.fromAddress);
|
|
@@ -443,6 +448,7 @@ function createBaseMsgCreatePeriodicVestingAccountResponse() {
|
|
|
443
448
|
}
|
|
444
449
|
export const MsgCreatePeriodicVestingAccountResponse = {
|
|
445
450
|
typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse",
|
|
451
|
+
aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse",
|
|
446
452
|
encode(_, writer = BinaryWriter.create()) {
|
|
447
453
|
return writer;
|
|
448
454
|
},
|