@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
|
@@ -8,6 +8,7 @@ function createBaseConfig() {
|
|
|
8
8
|
}
|
|
9
9
|
export const Config = {
|
|
10
10
|
typeUrl: "/cosmos.tx.config.v1.Config",
|
|
11
|
+
aminoType: "cosmos-sdk/Config",
|
|
11
12
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
13
|
if (message.skipAnteHandler === true) {
|
|
13
14
|
writer.uint32(8).bool(message.skipAnteHandler);
|
|
@@ -61,7 +61,6 @@ export var SignMode;
|
|
|
61
61
|
SignMode[SignMode["SIGN_MODE_EIP_191"] = 191] = "SIGN_MODE_EIP_191";
|
|
62
62
|
SignMode[SignMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
63
63
|
})(SignMode || (SignMode = {}));
|
|
64
|
-
export const SignModeSDKType = SignMode;
|
|
65
64
|
export const SignModeAmino = SignMode;
|
|
66
65
|
export function signModeFromJSON(object) {
|
|
67
66
|
switch (object) {
|
|
@@ -115,6 +114,7 @@ function createBaseSignatureDescriptors() {
|
|
|
115
114
|
}
|
|
116
115
|
export const SignatureDescriptors = {
|
|
117
116
|
typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors",
|
|
117
|
+
aminoType: "cosmos-sdk/SignatureDescriptors",
|
|
118
118
|
encode(message, writer = BinaryWriter.create()) {
|
|
119
119
|
for (const v of message.signatures) {
|
|
120
120
|
SignatureDescriptor.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -189,6 +189,7 @@ function createBaseSignatureDescriptor() {
|
|
|
189
189
|
}
|
|
190
190
|
export const SignatureDescriptor = {
|
|
191
191
|
typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor",
|
|
192
|
+
aminoType: "cosmos-sdk/SignatureDescriptor",
|
|
192
193
|
encode(message, writer = BinaryWriter.create()) {
|
|
193
194
|
if (message.publicKey !== undefined) {
|
|
194
195
|
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
|
@@ -281,6 +282,7 @@ function createBaseSignatureDescriptor_Data() {
|
|
|
281
282
|
}
|
|
282
283
|
export const SignatureDescriptor_Data = {
|
|
283
284
|
typeUrl: "/cosmos.tx.signing.v1beta1.Data",
|
|
285
|
+
aminoType: "cosmos-sdk/Data",
|
|
284
286
|
encode(message, writer = BinaryWriter.create()) {
|
|
285
287
|
if (message.single !== undefined) {
|
|
286
288
|
SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim();
|
|
@@ -362,6 +364,7 @@ function createBaseSignatureDescriptor_Data_Single() {
|
|
|
362
364
|
}
|
|
363
365
|
export const SignatureDescriptor_Data_Single = {
|
|
364
366
|
typeUrl: "/cosmos.tx.signing.v1beta1.Single",
|
|
367
|
+
aminoType: "cosmos-sdk/Single",
|
|
365
368
|
encode(message, writer = BinaryWriter.create()) {
|
|
366
369
|
if (message.mode !== 0) {
|
|
367
370
|
writer.uint32(8).int32(message.mode);
|
|
@@ -443,6 +446,7 @@ function createBaseSignatureDescriptor_Data_Multi() {
|
|
|
443
446
|
}
|
|
444
447
|
export const SignatureDescriptor_Data_Multi = {
|
|
445
448
|
typeUrl: "/cosmos.tx.signing.v1beta1.Multi",
|
|
449
|
+
aminoType: "cosmos-sdk/Multi",
|
|
446
450
|
encode(message, writer = BinaryWriter.create()) {
|
|
447
451
|
if (message.bitarray !== undefined) {
|
|
448
452
|
CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim();
|
|
@@ -20,7 +20,6 @@ export var OrderBy;
|
|
|
20
20
|
OrderBy[OrderBy["ORDER_BY_DESC"] = 2] = "ORDER_BY_DESC";
|
|
21
21
|
OrderBy[OrderBy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
22
|
})(OrderBy || (OrderBy = {}));
|
|
23
|
-
export const OrderBySDKType = OrderBy;
|
|
24
23
|
export const OrderByAmino = OrderBy;
|
|
25
24
|
export function orderByFromJSON(object) {
|
|
26
25
|
switch (object) {
|
|
@@ -77,7 +76,6 @@ export var BroadcastMode;
|
|
|
77
76
|
BroadcastMode[BroadcastMode["BROADCAST_MODE_ASYNC"] = 3] = "BROADCAST_MODE_ASYNC";
|
|
78
77
|
BroadcastMode[BroadcastMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
79
78
|
})(BroadcastMode || (BroadcastMode = {}));
|
|
80
|
-
export const BroadcastModeSDKType = BroadcastMode;
|
|
81
79
|
export const BroadcastModeAmino = BroadcastMode;
|
|
82
80
|
export function broadcastModeFromJSON(object) {
|
|
83
81
|
switch (object) {
|
|
@@ -126,6 +124,7 @@ function createBaseGetTxsEventRequest() {
|
|
|
126
124
|
}
|
|
127
125
|
export const GetTxsEventRequest = {
|
|
128
126
|
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest",
|
|
127
|
+
aminoType: "cosmos-sdk/GetTxsEventRequest",
|
|
129
128
|
encode(message, writer = BinaryWriter.create()) {
|
|
130
129
|
for (const v of message.events) {
|
|
131
130
|
writer.uint32(10).string(v);
|
|
@@ -256,6 +255,7 @@ function createBaseGetTxsEventResponse() {
|
|
|
256
255
|
}
|
|
257
256
|
export const GetTxsEventResponse = {
|
|
258
257
|
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse",
|
|
258
|
+
aminoType: "cosmos-sdk/GetTxsEventResponse",
|
|
259
259
|
encode(message, writer = BinaryWriter.create()) {
|
|
260
260
|
for (const v of message.txs) {
|
|
261
261
|
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -365,6 +365,7 @@ function createBaseBroadcastTxRequest() {
|
|
|
365
365
|
}
|
|
366
366
|
export const BroadcastTxRequest = {
|
|
367
367
|
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest",
|
|
368
|
+
aminoType: "cosmos-sdk/BroadcastTxRequest",
|
|
368
369
|
encode(message, writer = BinaryWriter.create()) {
|
|
369
370
|
if (message.txBytes.length !== 0) {
|
|
370
371
|
writer.uint32(10).bytes(message.txBytes);
|
|
@@ -445,6 +446,7 @@ function createBaseBroadcastTxResponse() {
|
|
|
445
446
|
}
|
|
446
447
|
export const BroadcastTxResponse = {
|
|
447
448
|
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse",
|
|
449
|
+
aminoType: "cosmos-sdk/BroadcastTxResponse",
|
|
448
450
|
encode(message, writer = BinaryWriter.create()) {
|
|
449
451
|
if (message.txResponse !== undefined) {
|
|
450
452
|
TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim();
|
|
@@ -515,6 +517,7 @@ function createBaseSimulateRequest() {
|
|
|
515
517
|
}
|
|
516
518
|
export const SimulateRequest = {
|
|
517
519
|
typeUrl: "/cosmos.tx.v1beta1.SimulateRequest",
|
|
520
|
+
aminoType: "cosmos-sdk/SimulateRequest",
|
|
518
521
|
encode(message, writer = BinaryWriter.create()) {
|
|
519
522
|
if (message.tx !== undefined) {
|
|
520
523
|
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
@@ -596,6 +599,7 @@ function createBaseSimulateResponse() {
|
|
|
596
599
|
}
|
|
597
600
|
export const SimulateResponse = {
|
|
598
601
|
typeUrl: "/cosmos.tx.v1beta1.SimulateResponse",
|
|
602
|
+
aminoType: "cosmos-sdk/SimulateResponse",
|
|
599
603
|
encode(message, writer = BinaryWriter.create()) {
|
|
600
604
|
if (message.gasInfo !== undefined) {
|
|
601
605
|
GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim();
|
|
@@ -676,6 +680,7 @@ function createBaseGetTxRequest() {
|
|
|
676
680
|
}
|
|
677
681
|
export const GetTxRequest = {
|
|
678
682
|
typeUrl: "/cosmos.tx.v1beta1.GetTxRequest",
|
|
683
|
+
aminoType: "cosmos-sdk/GetTxRequest",
|
|
679
684
|
encode(message, writer = BinaryWriter.create()) {
|
|
680
685
|
if (message.hash !== "") {
|
|
681
686
|
writer.uint32(10).string(message.hash);
|
|
@@ -746,6 +751,7 @@ function createBaseGetTxResponse() {
|
|
|
746
751
|
}
|
|
747
752
|
export const GetTxResponse = {
|
|
748
753
|
typeUrl: "/cosmos.tx.v1beta1.GetTxResponse",
|
|
754
|
+
aminoType: "cosmos-sdk/GetTxResponse",
|
|
749
755
|
encode(message, writer = BinaryWriter.create()) {
|
|
750
756
|
if (message.tx !== undefined) {
|
|
751
757
|
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
@@ -827,6 +833,7 @@ function createBaseGetBlockWithTxsRequest() {
|
|
|
827
833
|
}
|
|
828
834
|
export const GetBlockWithTxsRequest = {
|
|
829
835
|
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest",
|
|
836
|
+
aminoType: "cosmos-sdk/GetBlockWithTxsRequest",
|
|
830
837
|
encode(message, writer = BinaryWriter.create()) {
|
|
831
838
|
if (message.height !== BigInt(0)) {
|
|
832
839
|
writer.uint32(8).int64(message.height);
|
|
@@ -910,6 +917,7 @@ function createBaseGetBlockWithTxsResponse() {
|
|
|
910
917
|
}
|
|
911
918
|
export const GetBlockWithTxsResponse = {
|
|
912
919
|
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse",
|
|
920
|
+
aminoType: "cosmos-sdk/GetBlockWithTxsResponse",
|
|
913
921
|
encode(message, writer = BinaryWriter.create()) {
|
|
914
922
|
for (const v of message.txs) {
|
|
915
923
|
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -1015,6 +1023,7 @@ function createBaseTxDecodeRequest() {
|
|
|
1015
1023
|
}
|
|
1016
1024
|
export const TxDecodeRequest = {
|
|
1017
1025
|
typeUrl: "/cosmos.tx.v1beta1.TxDecodeRequest",
|
|
1026
|
+
aminoType: "cosmos-sdk/TxDecodeRequest",
|
|
1018
1027
|
encode(message, writer = BinaryWriter.create()) {
|
|
1019
1028
|
if (message.txBytes.length !== 0) {
|
|
1020
1029
|
writer.uint32(10).bytes(message.txBytes);
|
|
@@ -1084,6 +1093,7 @@ function createBaseTxDecodeResponse() {
|
|
|
1084
1093
|
}
|
|
1085
1094
|
export const TxDecodeResponse = {
|
|
1086
1095
|
typeUrl: "/cosmos.tx.v1beta1.TxDecodeResponse",
|
|
1096
|
+
aminoType: "cosmos-sdk/TxDecodeResponse",
|
|
1087
1097
|
encode(message, writer = BinaryWriter.create()) {
|
|
1088
1098
|
if (message.tx !== undefined) {
|
|
1089
1099
|
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
@@ -1153,6 +1163,7 @@ function createBaseTxEncodeRequest() {
|
|
|
1153
1163
|
}
|
|
1154
1164
|
export const TxEncodeRequest = {
|
|
1155
1165
|
typeUrl: "/cosmos.tx.v1beta1.TxEncodeRequest",
|
|
1166
|
+
aminoType: "cosmos-sdk/TxEncodeRequest",
|
|
1156
1167
|
encode(message, writer = BinaryWriter.create()) {
|
|
1157
1168
|
if (message.tx !== undefined) {
|
|
1158
1169
|
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
@@ -1222,6 +1233,7 @@ function createBaseTxEncodeResponse() {
|
|
|
1222
1233
|
}
|
|
1223
1234
|
export const TxEncodeResponse = {
|
|
1224
1235
|
typeUrl: "/cosmos.tx.v1beta1.TxEncodeResponse",
|
|
1236
|
+
aminoType: "cosmos-sdk/TxEncodeResponse",
|
|
1225
1237
|
encode(message, writer = BinaryWriter.create()) {
|
|
1226
1238
|
if (message.txBytes.length !== 0) {
|
|
1227
1239
|
writer.uint32(10).bytes(message.txBytes);
|
|
@@ -1291,6 +1303,7 @@ function createBaseTxEncodeAminoRequest() {
|
|
|
1291
1303
|
}
|
|
1292
1304
|
export const TxEncodeAminoRequest = {
|
|
1293
1305
|
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoRequest",
|
|
1306
|
+
aminoType: "cosmos-sdk/TxEncodeAminoRequest",
|
|
1294
1307
|
encode(message, writer = BinaryWriter.create()) {
|
|
1295
1308
|
if (message.aminoJson !== "") {
|
|
1296
1309
|
writer.uint32(10).string(message.aminoJson);
|
|
@@ -1360,6 +1373,7 @@ function createBaseTxEncodeAminoResponse() {
|
|
|
1360
1373
|
}
|
|
1361
1374
|
export const TxEncodeAminoResponse = {
|
|
1362
1375
|
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoResponse",
|
|
1376
|
+
aminoType: "cosmos-sdk/TxEncodeAminoResponse",
|
|
1363
1377
|
encode(message, writer = BinaryWriter.create()) {
|
|
1364
1378
|
if (message.aminoBinary.length !== 0) {
|
|
1365
1379
|
writer.uint32(10).bytes(message.aminoBinary);
|
|
@@ -1429,6 +1443,7 @@ function createBaseTxDecodeAminoRequest() {
|
|
|
1429
1443
|
}
|
|
1430
1444
|
export const TxDecodeAminoRequest = {
|
|
1431
1445
|
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoRequest",
|
|
1446
|
+
aminoType: "cosmos-sdk/TxDecodeAminoRequest",
|
|
1432
1447
|
encode(message, writer = BinaryWriter.create()) {
|
|
1433
1448
|
if (message.aminoBinary.length !== 0) {
|
|
1434
1449
|
writer.uint32(10).bytes(message.aminoBinary);
|
|
@@ -1498,6 +1513,7 @@ function createBaseTxDecodeAminoResponse() {
|
|
|
1498
1513
|
}
|
|
1499
1514
|
export const TxDecodeAminoResponse = {
|
|
1500
1515
|
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoResponse",
|
|
1516
|
+
aminoType: "cosmos-sdk/TxDecodeAminoResponse",
|
|
1501
1517
|
encode(message, writer = BinaryWriter.create()) {
|
|
1502
1518
|
if (message.aminoJson !== "") {
|
|
1503
1519
|
writer.uint32(10).string(message.aminoJson);
|
|
@@ -4,17 +4,14 @@ export class LCDQueryClient {
|
|
|
4
4
|
req;
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
|
-
this.getTx = this.getTx.bind(this);
|
|
8
|
-
this.getTxsEvent = this.getTxsEvent.bind(this);
|
|
9
|
-
this.getBlockWithTxs = this.getBlockWithTxs.bind(this);
|
|
10
7
|
}
|
|
11
8
|
/* GetTx fetches a tx by hash. */
|
|
12
|
-
async
|
|
9
|
+
getTx = async (params) => {
|
|
13
10
|
const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`;
|
|
14
11
|
return await this.req.get(endpoint);
|
|
15
|
-
}
|
|
12
|
+
};
|
|
16
13
|
/* GetTxsEvent fetches txs by event. */
|
|
17
|
-
async
|
|
14
|
+
getTxsEvent = async (params) => {
|
|
18
15
|
const options = {
|
|
19
16
|
params: {}
|
|
20
17
|
};
|
|
@@ -38,11 +35,11 @@ export class LCDQueryClient {
|
|
|
38
35
|
}
|
|
39
36
|
const endpoint = `cosmos/tx/v1beta1/txs`;
|
|
40
37
|
return await this.req.get(endpoint, options);
|
|
41
|
-
}
|
|
38
|
+
};
|
|
42
39
|
/* GetBlockWithTxs fetches a block with decoded txs.
|
|
43
40
|
|
|
44
41
|
Since: cosmos-sdk 0.45.2 */
|
|
45
|
-
async
|
|
42
|
+
getBlockWithTxs = async (params) => {
|
|
46
43
|
const options = {
|
|
47
44
|
params: {}
|
|
48
45
|
};
|
|
@@ -51,5 +48,5 @@ export class LCDQueryClient {
|
|
|
51
48
|
}
|
|
52
49
|
const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`;
|
|
53
50
|
return await this.req.get(endpoint, options);
|
|
54
|
-
}
|
|
51
|
+
};
|
|
55
52
|
}
|
|
@@ -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);
|