@sparkdreamnft/sparkdreamjs 0.0.5 → 0.0.7
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/app/runtime/v1alpha1/module.d.ts +75 -10
- package/cosmos/app/runtime/v1alpha1/module.js +44 -1
- package/cosmos/app/v1alpha1/module.d.ts +55 -6
- package/cosmos/app/v1alpha1/module.js +19 -0
- package/cosmos/auth/module/v1/module.d.ts +72 -12
- package/cosmos/auth/module/v1/module.js +25 -1
- package/cosmos/auth/v1beta1/auth.d.ts +68 -10
- package/cosmos/auth/v1beta1/auth.js +26 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +30 -6
- package/cosmos/auth/v1beta1/genesis.js +6 -0
- package/cosmos/auth/v1beta1/query.d.ts +334 -92
- package/cosmos/auth/v1beta1/query.js +120 -0
- package/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +6 -32
- package/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
- package/cosmos/auth/v1beta1/tx.d.ts +31 -10
- package/cosmos/auth/v1beta1/tx.js +13 -0
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/authz/module/v1/module.d.ts +18 -2
- package/cosmos/authz/module/v1/module.js +6 -0
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +27 -0
- package/cosmos/authz/v1beta1/event.d.ts +72 -16
- package/cosmos/authz/v1beta1/event.js +12 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +18 -2
- package/cosmos/authz/v1beta1/genesis.js +6 -0
- package/cosmos/authz/v1beta1/query.d.ts +168 -32
- package/cosmos/authz/v1beta1/query.js +36 -0
- package/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +2 -10
- package/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +40 -0
- package/cosmos/bank/module/v1/module.d.ts +24 -4
- package/cosmos/bank/module/v1/module.js +6 -0
- package/cosmos/bank/v1beta1/authz.d.ts +13 -8
- package/cosmos/bank/v1beta1/authz.js +7 -0
- package/cosmos/bank/v1beta1/bank.d.ts +136 -34
- package/cosmos/bank/v1beta1/bank.js +48 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +61 -16
- package/cosmos/bank/v1beta1/genesis.js +13 -0
- package/cosmos/bank/v1beta1/query.d.ts +599 -138
- package/cosmos/bank/v1beta1/query.js +179 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
- package/cosmos/bank/v1beta1/query.lcd.js +28 -29
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +7 -17
- package/cosmos/bank/v1beta1/query.rpc.Query.js +17 -27
- package/cosmos/bank/v1beta1/tx.d.ts +143 -30
- package/cosmos/bank/v1beta1/tx.js +53 -0
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +0 -4
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -80
- package/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/cosmos/base/node/v1beta1/query.d.ts +102 -18
- package/cosmos/base/node/v1beta1/query.js +24 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -4
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +613 -98
- package/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/benchmark/module/v1/module.d.ts +102 -26
- package/cosmos/benchmark/module/v1/module.js +12 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +18 -2
- package/cosmos/benchmark/v1/benchmark.js +6 -0
- package/cosmos/benchmark/v1/tx.d.ts +36 -4
- package/cosmos/benchmark/v1/tx.js +12 -0
- package/cosmos/bundle.d.ts +2284 -2422
- package/cosmos/bundle.js +242 -261
- package/cosmos/circuit/module/v1/module.d.ts +24 -4
- package/cosmos/circuit/module/v1/module.js +6 -0
- package/cosmos/circuit/v1/query.d.ts +120 -16
- package/cosmos/circuit/v1/query.js +36 -0
- package/cosmos/circuit/v1/tx.d.ts +126 -18
- package/cosmos/circuit/v1/tx.js +36 -0
- package/cosmos/circuit/v1/types.d.ts +55 -6
- package/cosmos/circuit/v1/types.js +19 -0
- package/cosmos/consensus/module/v1/module.d.ts +24 -4
- package/cosmos/consensus/module/v1/module.js +6 -0
- package/cosmos/consensus/v1/query.d.ts +36 -4
- package/cosmos/consensus/v1/query.js +12 -0
- package/cosmos/consensus/v1/tx.d.ts +37 -6
- package/cosmos/consensus/v1/tx.js +13 -0
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
- package/cosmos/counter/module/v1/module.d.ts +24 -4
- package/cosmos/counter/module/v1/module.js +6 -0
- package/cosmos/counter/v1/query.d.ts +36 -4
- package/cosmos/counter/v1/query.js +12 -0
- package/cosmos/counter/v1/tx.d.ts +54 -10
- package/cosmos/counter/v1/tx.js +12 -0
- package/cosmos/crisis/module/v1/module.d.ts +30 -6
- package/cosmos/crisis/module/v1/module.js +6 -0
- package/cosmos/crypto/ed25519/keys.d.ts +29 -0
- package/cosmos/crypto/ed25519/keys.js +17 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +42 -10
- package/cosmos/crypto/hd/v1/hd.js +6 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +121 -20
- package/cosmos/crypto/keyring/v1/record.js +31 -0
- package/cosmos/crypto/multisig/keys.d.ts +14 -0
- package/cosmos/crypto/multisig/keys.js +8 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
- package/cosmos/crypto/secp256k1/keys.js +16 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
- package/cosmos/crypto/secp256r1/keys.js +12 -0
- package/cosmos/distribution/module/v1/module.d.ts +24 -4
- package/cosmos/distribution/module/v1/module.js +6 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +298 -66
- package/cosmos/distribution/v1beta1/genesis.js +52 -0
- package/cosmos/distribution/v1beta1/query.d.ts +430 -58
- package/cosmos/distribution/v1beta1/query.js +136 -0
- package/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +5 -1
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
- package/cosmos/distribution/v1beta1/tx.d.ts +199 -34
- package/cosmos/distribution/v1beta1/tx.js +97 -0
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +3 -5
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/cosmos/epochs/module/v1/module.d.ts +18 -2
- package/cosmos/epochs/module/v1/module.js +6 -0
- package/cosmos/epochs/v1beta1/events.d.ts +36 -4
- package/cosmos/epochs/v1beta1/events.js +12 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +37 -4
- package/cosmos/epochs/v1beta1/genesis.js +13 -0
- package/cosmos/epochs/v1beta1/query.d.ts +52 -0
- package/cosmos/epochs/v1beta1/query.js +28 -0
- package/cosmos/evidence/module/v1/module.d.ts +18 -2
- package/cosmos/evidence/module/v1/module.js +6 -0
- package/cosmos/feegrant/module/v1/module.d.ts +18 -2
- package/cosmos/feegrant/module/v1/module.js +6 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +118 -22
- package/cosmos/feegrant/v1beta1/feegrant.js +26 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +18 -2
- package/cosmos/feegrant/v1beta1/genesis.js +6 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +150 -34
- package/cosmos/feegrant/v1beta1/query.js +36 -0
- package/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +1 -5
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
- package/cosmos/feegrant/v1beta1/tx.d.ts +131 -27
- package/cosmos/feegrant/v1beta1/tx.js +37 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +1 -5
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/genutil/module/v1/module.d.ts +18 -2
- package/cosmos/genutil/module/v1/module.js +6 -0
- package/cosmos/gov/module/v1/module.d.ts +24 -4
- package/cosmos/gov/module/v1/module.js +6 -0
- package/cosmos/gov/v1/genesis.d.ts +48 -24
- package/cosmos/gov/v1/genesis.js +6 -0
- package/cosmos/gov/v1/gov.d.ts +341 -124
- package/cosmos/gov/v1/gov.js +59 -0
- package/cosmos/gov/v1/query.d.ts +469 -92
- package/cosmos/gov/v1/query.js +109 -0
- package/cosmos/gov/v1/tx.d.ts +368 -93
- package/cosmos/gov/v1/tx.js +88 -0
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +1 -7
- package/cosmos/gov/v1/tx.rpc.msg.js +2 -6
- package/cosmos/gov/v1beta1/genesis.d.ts +60 -16
- package/cosmos/gov/v1beta1/genesis.js +6 -0
- package/cosmos/gov/v1beta1/gov.d.ts +291 -69
- package/cosmos/gov/v1beta1/gov.js +57 -0
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +97 -0
- package/cosmos/gov/v1beta1/tx.d.ts +209 -45
- package/cosmos/gov/v1beta1/tx.js +49 -0
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +1 -5
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/group/module/v1/module.d.ts +18 -2
- package/cosmos/group/module/v1/module.js +6 -0
- package/cosmos/group/v1/events.d.ts +300 -56
- package/cosmos/group/v1/events.js +66 -0
- package/cosmos/group/v1/genesis.d.ts +48 -12
- package/cosmos/group/v1/genesis.js +6 -0
- package/cosmos/group/v1/query.d.ts +768 -152
- package/cosmos/group/v1/query.js +168 -0
- package/cosmos/group/v1/query.lcd.js +1 -3
- package/cosmos/group/v1/query.rpc.Query.d.ts +1 -5
- package/cosmos/group/v1/query.rpc.Query.js +1 -3
- package/cosmos/group/v1/tx.d.ts +804 -163
- package/cosmos/group/v1/tx.js +168 -0
- package/cosmos/group/v1/types.d.ts +398 -91
- package/cosmos/group/v1/types.js +82 -0
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +138 -0
- package/cosmos/mint/module/v1/module.d.ts +24 -4
- package/cosmos/mint/module/v1/module.js +6 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +30 -6
- package/cosmos/mint/v1beta1/genesis.js +6 -0
- package/cosmos/mint/v1beta1/mint.d.ts +84 -20
- package/cosmos/mint/v1beta1/mint.js +12 -0
- package/cosmos/mint/v1beta1/query.d.ts +111 -12
- package/cosmos/mint/v1beta1/query.js +39 -0
- package/cosmos/mint/v1beta1/tx.d.ts +31 -10
- package/cosmos/mint/v1beta1/tx.js +13 -0
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/nft/module/v1/module.d.ts +18 -2
- package/cosmos/nft/module/v1/module.js +6 -0
- package/cosmos/params/module/v1/module.d.ts +18 -2
- package/cosmos/params/module/v1/module.js +6 -0
- package/cosmos/params/v1beta1/params.d.ts +31 -2
- package/cosmos/params/v1beta1/params.js +13 -0
- package/cosmos/params/v1beta1/query.d.ts +93 -22
- package/cosmos/params/v1beta1/query.js +33 -0
- package/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +1 -5
- package/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
- package/cosmos/protocolpool/module/v1/module.d.ts +24 -4
- package/cosmos/protocolpool/module/v1/module.js +6 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +24 -4
- package/cosmos/protocolpool/v1/genesis.js +6 -0
- package/cosmos/protocolpool/v1/query.d.ts +138 -12
- package/cosmos/protocolpool/v1/query.js +54 -0
- package/cosmos/protocolpool/v1/tx.d.ts +217 -30
- package/cosmos/protocolpool/v1/tx.js +67 -0
- package/cosmos/protocolpool/v1/types.d.ts +54 -10
- package/cosmos/protocolpool/v1/types.js +12 -0
- package/cosmos/reflection/v1/reflection.d.ts +42 -6
- package/cosmos/reflection/v1/reflection.js +12 -0
- package/cosmos/rpc.query.d.ts +1 -9
- package/cosmos/rpc.query.js +0 -5
- package/cosmos/slashing/module/v1/module.d.ts +24 -4
- package/cosmos/slashing/module/v1/module.js +6 -0
- package/cosmos/staking/module/v1/module.d.ts +36 -8
- package/cosmos/staking/module/v1/module.js +6 -0
- package/cosmos/staking/v1beta1/authz.d.ts +43 -15
- package/cosmos/staking/v1beta1/authz.js +13 -5
- package/cosmos/staking/v1beta1/genesis.d.ts +84 -20
- package/cosmos/staking/v1beta1/genesis.js +12 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +186 -0
- package/cosmos/staking/v1beta1/staking.d.ts +631 -121
- package/cosmos/staking/v1beta1/staking.js +153 -0
- package/cosmos/staking/v1beta1/tx.d.ts +234 -42
- package/cosmos/staking/v1beta1/tx.js +88 -0
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +0 -3
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +36 -4
- package/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +114 -30
- package/cosmos/store/snapshots/v1/snapshot.js +42 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +78 -10
- package/cosmos/store/streaming/abci/grpc.js +24 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +39 -0
- package/cosmos/store/v1beta1/commit_info.js +21 -0
- package/cosmos/store/v1beta1/listening.d.ts +45 -10
- package/cosmos/store/v1beta1/listening.js +15 -0
- package/cosmos/tx/config/v1/config.d.ts +18 -2
- package/cosmos/tx/config/v1/config.js +6 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/cosmos/tx/v1beta1/service.d.ts +355 -94
- package/cosmos/tx/v1beta1/service.js +125 -0
- package/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +5 -25
- package/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
- package/cosmos/tx/v1beta1/tx.d.ts +371 -80
- package/cosmos/tx/v1beta1/tx.js +118 -0
- package/cosmos/upgrade/module/v1/module.d.ts +24 -4
- package/cosmos/upgrade/module/v1/module.js +6 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +158 -30
- package/cosmos/upgrade/v1beta1/query.js +70 -0
- package/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +2 -10
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
- package/cosmos/upgrade/v1beta1/tx.d.ts +66 -22
- package/cosmos/upgrade/v1beta1/tx.js +24 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +1 -7
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +118 -30
- package/cosmos/upgrade/v1beta1/upgrade.js +32 -0
- package/cosmos/vesting/module/v1/module.d.ts +18 -2
- package/cosmos/vesting/module/v1/module.js +6 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +94 -22
- package/cosmos/vesting/v1beta1/tx.js +40 -0
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +0 -4
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/vesting/v1beta1/vesting.d.ts +103 -12
- package/cosmos/vesting/v1beta1/vesting.js +43 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/app/runtime/v1alpha1/module.js +44 -1
- package/esm/cosmos/app/v1alpha1/module.js +19 -0
- package/esm/cosmos/auth/module/v1/module.js +25 -1
- package/esm/cosmos/auth/v1beta1/auth.js +26 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +6 -0
- package/esm/cosmos/auth/v1beta1/query.js +120 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
- package/esm/cosmos/auth/v1beta1/tx.js +13 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/authz/module/v1/module.js +6 -0
- package/esm/cosmos/authz/v1beta1/authz.js +27 -0
- package/esm/cosmos/authz/v1beta1/event.js +12 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.js +36 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
- package/esm/cosmos/authz/v1beta1/tx.js +40 -0
- package/esm/cosmos/bank/module/v1/module.js +6 -0
- package/esm/cosmos/bank/v1beta1/authz.js +7 -0
- package/esm/cosmos/bank/v1beta1/bank.js +48 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +13 -0
- package/esm/cosmos/bank/v1beta1/query.js +179 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -29
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +18 -28
- package/esm/cosmos/bank/v1beta1/tx.js +53 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/esm/cosmos/base/node/v1beta1/query.js +24 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/benchmark/module/v1/module.js +12 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +6 -0
- package/esm/cosmos/benchmark/v1/tx.js +12 -0
- package/esm/cosmos/bundle.js +242 -261
- package/esm/cosmos/circuit/module/v1/module.js +6 -0
- package/esm/cosmos/circuit/v1/query.js +36 -0
- package/esm/cosmos/circuit/v1/tx.js +36 -0
- package/esm/cosmos/circuit/v1/types.js +19 -0
- package/esm/cosmos/consensus/module/v1/module.js +6 -0
- package/esm/cosmos/consensus/v1/query.js +12 -0
- package/esm/cosmos/consensus/v1/tx.js +13 -0
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/counter/module/v1/module.js +6 -0
- package/esm/cosmos/counter/v1/query.js +12 -0
- package/esm/cosmos/counter/v1/tx.js +12 -0
- package/esm/cosmos/crisis/module/v1/module.js +6 -0
- package/esm/cosmos/crypto/ed25519/keys.js +17 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +6 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +31 -0
- package/esm/cosmos/crypto/multisig/keys.js +8 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
- package/esm/cosmos/distribution/module/v1/module.js +6 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +52 -0
- package/esm/cosmos/distribution/v1beta1/query.js +136 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
- package/esm/cosmos/distribution/v1beta1/tx.js +97 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/esm/cosmos/epochs/module/v1/module.js +6 -0
- package/esm/cosmos/epochs/v1beta1/events.js +12 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +13 -0
- package/esm/cosmos/epochs/v1beta1/query.js +28 -0
- package/esm/cosmos/evidence/module/v1/module.js +6 -0
- package/esm/cosmos/feegrant/module/v1/module.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +26 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +36 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
- package/esm/cosmos/feegrant/v1beta1/tx.js +37 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/genutil/module/v1/module.js +6 -0
- package/esm/cosmos/gov/module/v1/module.js +6 -0
- package/esm/cosmos/gov/v1/genesis.js +6 -0
- package/esm/cosmos/gov/v1/gov.js +59 -0
- package/esm/cosmos/gov/v1/query.js +109 -0
- package/esm/cosmos/gov/v1/tx.js +88 -0
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/gov/v1beta1/genesis.js +6 -0
- package/esm/cosmos/gov/v1beta1/gov.js +57 -0
- package/esm/cosmos/gov/v1beta1/query.js +97 -0
- package/esm/cosmos/gov/v1beta1/tx.js +49 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/group/module/v1/module.js +6 -0
- package/esm/cosmos/group/v1/events.js +66 -0
- package/esm/cosmos/group/v1/genesis.js +6 -0
- package/esm/cosmos/group/v1/query.js +168 -0
- package/esm/cosmos/group/v1/query.lcd.js +1 -3
- package/esm/cosmos/group/v1/query.rpc.Query.js +1 -3
- package/esm/cosmos/group/v1/tx.js +168 -0
- package/esm/cosmos/group/v1/types.js +82 -0
- package/esm/cosmos/ics23/v1/proofs.js +138 -0
- package/esm/cosmos/mint/module/v1/module.js +6 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +6 -0
- package/esm/cosmos/mint/v1beta1/mint.js +12 -0
- package/esm/cosmos/mint/v1beta1/query.js +39 -0
- package/esm/cosmos/mint/v1beta1/tx.js +13 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/nft/module/v1/module.js +6 -0
- package/esm/cosmos/params/module/v1/module.js +6 -0
- package/esm/cosmos/params/v1beta1/params.js +13 -0
- package/esm/cosmos/params/v1beta1/query.js +33 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
- package/esm/cosmos/protocolpool/module/v1/module.js +6 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +6 -0
- package/esm/cosmos/protocolpool/v1/query.js +54 -0
- package/esm/cosmos/protocolpool/v1/tx.js +67 -0
- package/esm/cosmos/protocolpool/v1/types.js +12 -0
- package/esm/cosmos/reflection/v1/reflection.js +12 -0
- package/esm/cosmos/rpc.query.js +0 -5
- package/esm/cosmos/slashing/module/v1/module.js +6 -0
- package/esm/cosmos/staking/module/v1/module.js +6 -0
- package/esm/cosmos/staking/v1beta1/authz.js +13 -5
- package/esm/cosmos/staking/v1beta1/genesis.js +12 -0
- package/esm/cosmos/staking/v1beta1/query.js +186 -0
- package/esm/cosmos/staking/v1beta1/staking.js +153 -0
- package/esm/cosmos/staking/v1beta1/tx.js +88 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +42 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +24 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +21 -0
- package/esm/cosmos/store/v1beta1/listening.js +15 -0
- package/esm/cosmos/tx/config/v1/config.js +6 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/esm/cosmos/tx/v1beta1/service.js +125 -0
- package/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
- package/esm/cosmos/tx/v1beta1/tx.js +119 -1
- package/esm/cosmos/upgrade/module/v1/module.js +6 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +70 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/tx.js +24 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +32 -0
- package/esm/cosmos/vesting/module/v1/module.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +40 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/vesting/v1beta1/vesting.js +43 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/api/http.js +283 -0
- package/esm/google/bundle.js +7 -7
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +220 -0
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
- package/esm/ibc/applications/interchain_accounts/v1/account.js +6 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
- package/esm/ibc/applications/rate_limiting/v1/genesis.js +139 -0
- package/esm/ibc/applications/rate_limiting/v1/query.js +903 -0
- package/esm/ibc/applications/rate_limiting/v1/query.lcd.js +44 -0
- package/esm/ibc/applications/rate_limiting/v1/query.rpc.Query.js +71 -0
- package/esm/ibc/applications/rate_limiting/v1/rate_limiting.js +632 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.amino.js +24 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.js +726 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.registry.js +87 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +35 -0
- package/esm/ibc/applications/transfer/v1/authz.js +13 -0
- package/esm/ibc/applications/transfer/v1/denomtrace.js +8 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +6 -0
- package/esm/ibc/applications/transfer/v1/packet.js +8 -0
- package/esm/ibc/applications/transfer/v1/query.js +78 -0
- package/esm/ibc/applications/transfer/v1/token.js +18 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +9 -0
- package/esm/ibc/applications/transfer/v1/tx.js +40 -1
- package/esm/ibc/bundle.js +196 -173
- package/esm/ibc/client.js +4 -1
- package/esm/ibc/core/channel/v1/channel.js +64 -0
- package/esm/ibc/core/channel/v1/genesis.js +13 -0
- package/esm/ibc/core/channel/v1/query.js +197 -0
- package/esm/ibc/core/channel/v1/tx.js +129 -0
- package/esm/ibc/core/channel/v2/genesis.js +21 -0
- package/esm/ibc/core/channel/v2/packet.js +29 -0
- package/esm/ibc/core/channel/v2/query.js +100 -0
- package/esm/ibc/core/channel/v2/tx.js +48 -0
- package/esm/ibc/core/client/v1/client.js +45 -0
- package/esm/ibc/core/client/v1/genesis.js +20 -0
- package/esm/ibc/core/client/v1/query.js +154 -0
- package/esm/ibc/core/client/v1/tx.amino.js +1 -6
- package/esm/ibc/core/client/v1/tx.js +86 -151
- package/esm/ibc/core/client/v1/tx.registry.js +2 -20
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +1 -7
- package/esm/ibc/core/client/v2/config.js +9 -0
- package/esm/ibc/core/client/v2/counterparty.js +6 -0
- package/esm/ibc/core/client/v2/genesis.js +12 -0
- package/esm/ibc/core/client/v2/query.js +26 -0
- package/esm/ibc/core/client/v2/tx.js +24 -0
- package/esm/ibc/core/commitment/v1/commitment.js +25 -0
- package/esm/ibc/core/commitment/v2/commitment.js +36 -0
- package/esm/ibc/core/connection/v1/connection.js +47 -0
- package/esm/ibc/core/connection/v1/genesis.js +6 -0
- package/esm/ibc/core/connection/v1/query.js +83 -0
- package/esm/ibc/core/connection/v1/tx.js +66 -0
- package/esm/ibc/lcd.js +5 -0
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +12 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +24 -0
- package/esm/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/esm/ibc/lightclients/wasm/v1/wasm.js +18 -73
- package/esm/ibc/rpc.query.js +3 -5
- package/esm/ibc/rpc.tx.js +3 -0
- package/esm/index.js +1 -1
- package/esm/sparkdream/blog/module/{module.js → v1/module.js} +9 -3
- package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +9 -3
- package/esm/sparkdream/blog/{params.js → v1/params.js} +9 -3
- package/esm/sparkdream/blog/{post.js → v1/post.js} +9 -3
- package/esm/sparkdream/blog/{query.js → v1/query.js} +50 -14
- package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
- package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
- package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/esm/sparkdream/blog/{tx.js → v1/tx.js} +66 -17
- package/esm/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
- package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/esm/sparkdream/bundle.js +68 -48
- package/esm/sparkdream/client.js +7 -7
- package/esm/sparkdream/lcd.js +10 -6
- package/esm/sparkdream/rpc.query.js +6 -7
- package/esm/sparkdream/rpc.tx.js +6 -2
- package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +9 -3
- package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +9 -3
- package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +9 -3
- package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +17 -5
- package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
- package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
- package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
- package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +18 -5
- package/esm/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
- package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
- package/esm/tendermint/abci/types.js +255 -0
- package/esm/tendermint/bundle.js +20 -20
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +29 -0
- package/esm/tendermint/p2p/types.js +20 -0
- package/esm/tendermint/types/block.js +5 -0
- package/esm/tendermint/types/evidence.js +22 -0
- package/esm/tendermint/types/params.js +46 -0
- package/esm/tendermint/types/types.js +87 -0
- package/esm/tendermint/types/validator.js +15 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/gogoproto/bundle.js +2 -2
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +283 -0
- package/google/bundle.d.ts +418 -418
- package/google/bundle.js +7 -7
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +738 -90
- package/google/protobuf/descriptor.js +220 -0
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +19 -2
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +78 -10
- package/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +114 -14
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +85 -8
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +38 -4
- package/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +42 -6
- package/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +102 -18
- package/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
- package/ibc/applications/interchain_accounts/v1/account.d.ts +18 -2
- package/ibc/applications/interchain_accounts/v1/account.js +6 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +43 -10
- package/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +36 -4
- package/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +46 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
- package/ibc/applications/rate_limiting/v1/genesis.d.ts +57 -0
- package/ibc/applications/rate_limiting/v1/genesis.js +142 -0
- package/ibc/applications/rate_limiting/v1/query.d.ts +551 -0
- package/ibc/applications/rate_limiting/v1/query.js +906 -0
- package/ibc/applications/rate_limiting/v1/query.lcd.d.ts +14 -0
- package/ibc/applications/rate_limiting/v1/query.lcd.js +48 -0
- package/ibc/applications/rate_limiting/v1/query.rpc.Query.d.ts +40 -0
- package/ibc/applications/rate_limiting/v1/query.rpc.Query.js +76 -0
- package/ibc/applications/rate_limiting/v1/rate_limiting.d.ts +374 -0
- package/ibc/applications/rate_limiting/v1/rate_limiting.js +637 -0
- package/ibc/applications/rate_limiting/v1/tx.amino.d.ts +23 -0
- package/ibc/applications/rate_limiting/v1/tx.amino.js +27 -0
- package/ibc/applications/rate_limiting/v1/tx.d.ts +518 -0
- package/ibc/applications/rate_limiting/v1/tx.js +729 -0
- package/ibc/applications/rate_limiting/v1/tx.registry.d.ts +61 -0
- package/ibc/applications/rate_limiting/v1/tx.registry.js +91 -0
- package/ibc/applications/rate_limiting/v1/tx.rpc.msg.d.ts +22 -0
- package/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +40 -0
- package/ibc/applications/transfer/v1/authz.d.ts +61 -12
- package/ibc/applications/transfer/v1/authz.js +13 -0
- package/ibc/applications/transfer/v1/denomtrace.d.ts +22 -4
- package/ibc/applications/transfer/v1/denomtrace.js +8 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +18 -2
- package/ibc/applications/transfer/v1/genesis.js +6 -0
- package/ibc/applications/transfer/v1/packet.d.ts +44 -10
- package/ibc/applications/transfer/v1/packet.js +8 -0
- package/ibc/applications/transfer/v1/query.d.ts +252 -34
- package/ibc/applications/transfer/v1/query.js +78 -0
- package/ibc/applications/transfer/v1/token.d.ts +78 -14
- package/ibc/applications/transfer/v1/token.js +18 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +15 -0
- package/ibc/applications/transfer/v1/transfer.js +9 -0
- package/ibc/applications/transfer/v1/tx.d.ts +135 -22
- package/ibc/applications/transfer/v1/tx.js +40 -1
- package/ibc/bundle.d.ts +3830 -3396
- package/ibc/bundle.js +196 -173
- package/ibc/client.d.ts +20 -5
- package/ibc/client.js +4 -1
- package/ibc/core/channel/v1/channel.d.ts +292 -60
- package/ibc/core/channel/v1/channel.js +64 -0
- package/ibc/core/channel/v1/genesis.d.ts +37 -4
- package/ibc/core/channel/v1/genesis.js +13 -0
- package/ibc/core/channel/v1/query.d.ts +839 -158
- package/ibc/core/channel/v1/query.js +197 -0
- package/ibc/core/channel/v1/tx.d.ts +335 -30
- package/ibc/core/channel/v1/tx.js +129 -0
- package/ibc/core/channel/v2/genesis.d.ts +81 -14
- package/ibc/core/channel/v2/genesis.js +21 -0
- package/ibc/core/channel/v2/packet.d.ts +137 -28
- package/ibc/core/channel/v2/packet.js +29 -0
- package/ibc/core/channel/v2/query.d.ts +490 -98
- package/ibc/core/channel/v2/query.js +100 -0
- package/ibc/core/channel/v2/tx.d.ts +144 -16
- package/ibc/core/channel/v2/tx.js +48 -0
- package/ibc/core/client/v1/client.d.ts +129 -18
- package/ibc/core/client/v1/client.js +45 -0
- package/ibc/core/client/v1/genesis.d.ts +82 -16
- package/ibc/core/client/v1/genesis.js +20 -0
- package/ibc/core/client/v1/query.d.ts +508 -74
- package/ibc/core/client/v1/query.js +154 -0
- package/ibc/core/client/v1/tx.amino.d.ts +1 -6
- package/ibc/core/client/v1/tx.amino.js +0 -5
- package/ibc/core/client/v1/tx.d.ts +336 -138
- package/ibc/core/client/v1/tx.js +87 -152
- package/ibc/core/client/v1/tx.registry.d.ts +1 -13
- package/ibc/core/client/v1/tx.registry.js +1 -19
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +1 -4
- package/ibc/core/client/v1/tx.rpc.msg.js +0 -6
- package/ibc/core/client/v2/config.d.ts +21 -2
- package/ibc/core/client/v2/config.js +9 -0
- package/ibc/core/client/v2/counterparty.d.ts +30 -6
- package/ibc/core/client/v2/counterparty.js +6 -0
- package/ibc/core/client/v2/genesis.d.ts +54 -10
- package/ibc/core/client/v2/genesis.js +12 -0
- package/ibc/core/client/v2/query.d.ts +74 -8
- package/ibc/core/client/v2/query.js +26 -0
- package/ibc/core/client/v2/tx.d.ts +108 -20
- package/ibc/core/client/v2/tx.js +24 -0
- package/ibc/core/commitment/v1/commitment.d.ts +43 -0
- package/ibc/core/commitment/v1/commitment.js +25 -0
- package/ibc/core/commitment/v2/commitment.d.ts +42 -0
- package/ibc/core/commitment/v2/commitment.js +36 -0
- package/ibc/core/connection/v1/connection.d.ts +197 -36
- package/ibc/core/connection/v1/connection.js +47 -0
- package/ibc/core/connection/v1/genesis.d.ts +24 -4
- package/ibc/core/connection/v1/genesis.js +6 -0
- package/ibc/core/connection/v1/query.d.ts +293 -46
- package/ibc/core/connection/v1/query.js +83 -0
- package/ibc/core/connection/v1/tx.d.ts +250 -56
- package/ibc/core/connection/v1/tx.js +66 -0
- package/ibc/lcd.d.ts +3 -0
- package/ibc/lcd.js +5 -0
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +277 -24
- package/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +180 -26
- package/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +140 -26
- package/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +48 -8
- package/ibc/lightclients/wasm/v1/genesis.js +12 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +96 -16
- package/ibc/lightclients/wasm/v1/query.js +24 -0
- package/ibc/lightclients/wasm/v1/tx.d.ts +162 -30
- package/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/ibc/lightclients/wasm/v1/wasm.d.ts +52 -46
- package/ibc/lightclients/wasm/v1/wasm.js +19 -74
- package/ibc/rpc.query.d.ts +11 -9
- package/ibc/rpc.query.js +3 -5
- package/ibc/rpc.tx.d.ts +3 -0
- package/ibc/rpc.tx.js +3 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/sparkdream/blog/module/v1/module.d.ts +54 -0
- package/sparkdream/{sparkdream/module → blog/module/v1}/module.js +9 -3
- package/sparkdream/{sparkdream → blog/v1}/genesis.d.ts +28 -8
- package/sparkdream/{sparkdream → blog/v1}/genesis.js +9 -3
- package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +21 -5
- package/sparkdream/blog/{params.js → v1/params.js} +9 -3
- package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +22 -4
- package/sparkdream/blog/{post.js → v1/post.js} +9 -3
- package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +129 -21
- package/sparkdream/blog/{query.js → v1/query.js} +50 -14
- package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
- package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
- package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
- package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
- package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +168 -23
- package/sparkdream/blog/{tx.js → v1/tx.js} +66 -17
- package/sparkdream/blog/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
- package/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
- package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
- package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/sparkdream/bundle.d.ts +461 -419
- package/sparkdream/bundle.js +68 -48
- package/sparkdream/client.d.ts +15 -15
- package/sparkdream/client.js +7 -7
- package/sparkdream/lcd.d.ts +6 -2
- package/sparkdream/lcd.js +10 -6
- package/sparkdream/rpc.query.d.ts +9 -13
- package/sparkdream/rpc.query.js +6 -7
- package/sparkdream/rpc.tx.d.ts +6 -2
- package/sparkdream/rpc.tx.js +6 -2
- package/sparkdream/sparkdream/module/v1/module.d.ts +54 -0
- package/sparkdream/{blog/module → sparkdream/module/v1}/module.js +9 -3
- package/sparkdream/sparkdream/v1/genesis.d.ts +53 -0
- package/sparkdream/{blog → sparkdream/v1}/genesis.js +9 -3
- package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +21 -5
- package/sparkdream/sparkdream/{params.js → v1/params.js} +9 -3
- package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +48 -12
- package/sparkdream/sparkdream/{query.js → v1/query.js} +17 -5
- package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
- package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
- package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
- package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
- package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
- package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +42 -9
- package/sparkdream/sparkdream/{tx.js → v1/tx.js} +18 -5
- package/sparkdream/sparkdream/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
- package/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
- package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
- package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +255 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +29 -0
- package/tendermint/p2p/types.d.ts +60 -0
- package/tendermint/p2p/types.js +20 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +5 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +22 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +46 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +87 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +15 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
- package/cosmos/orm/module/v1alpha1/module.d.ts +0 -38
- package/cosmos/orm/module/v1alpha1/module.js +0 -62
- package/cosmos/orm/query/v1alpha1/query.d.ts +0 -353
- package/cosmos/orm/query/v1alpha1/query.js +0 -695
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +0 -20
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -38
- package/esm/cosmos/orm/module/v1alpha1/module.js +0 -59
- package/esm/cosmos/orm/query/v1alpha1/query.js +0 -692
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -33
- package/sparkdream/blog/genesis.d.ts +0 -33
- package/sparkdream/blog/module/module.d.ts +0 -32
- package/sparkdream/sparkdream/module/module.d.ts +0 -32
- /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
- /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Duration } from "../../../../google/protobuf/duration";
|
|
3
|
+
import { Timestamp } from "../../../../google/protobuf/timestamp";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
+
import { toTimestamp, fromTimestamp } from "../../../../helpers";
|
|
6
|
+
/**
|
|
7
|
+
* PacketDirection defines whether the transfer packet is being sent from
|
|
8
|
+
* this chain or is being received on this chain
|
|
9
|
+
*/
|
|
10
|
+
export var PacketDirection;
|
|
11
|
+
(function (PacketDirection) {
|
|
12
|
+
PacketDirection[PacketDirection["PACKET_SEND"] = 0] = "PACKET_SEND";
|
|
13
|
+
PacketDirection[PacketDirection["PACKET_RECV"] = 1] = "PACKET_RECV";
|
|
14
|
+
PacketDirection[PacketDirection["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
15
|
+
})(PacketDirection || (PacketDirection = {}));
|
|
16
|
+
export const PacketDirectionAmino = PacketDirection;
|
|
17
|
+
export function packetDirectionFromJSON(object) {
|
|
18
|
+
switch (object) {
|
|
19
|
+
case 0:
|
|
20
|
+
case "PACKET_SEND":
|
|
21
|
+
return PacketDirection.PACKET_SEND;
|
|
22
|
+
case 1:
|
|
23
|
+
case "PACKET_RECV":
|
|
24
|
+
return PacketDirection.PACKET_RECV;
|
|
25
|
+
case -1:
|
|
26
|
+
case "UNRECOGNIZED":
|
|
27
|
+
default:
|
|
28
|
+
return PacketDirection.UNRECOGNIZED;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export function packetDirectionToJSON(object) {
|
|
32
|
+
switch (object) {
|
|
33
|
+
case PacketDirection.PACKET_SEND:
|
|
34
|
+
return "PACKET_SEND";
|
|
35
|
+
case PacketDirection.PACKET_RECV:
|
|
36
|
+
return "PACKET_RECV";
|
|
37
|
+
case PacketDirection.UNRECOGNIZED:
|
|
38
|
+
default:
|
|
39
|
+
return "UNRECOGNIZED";
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function createBasePath() {
|
|
43
|
+
return {
|
|
44
|
+
denom: "",
|
|
45
|
+
channelOrClientId: ""
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Path holds the denom and channelID that define the rate limited route
|
|
50
|
+
* @name Path
|
|
51
|
+
* @package ibc.applications.rate_limiting.v1
|
|
52
|
+
* @see proto type: ibc.applications.rate_limiting.v1.Path
|
|
53
|
+
*/
|
|
54
|
+
export const Path = {
|
|
55
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Path",
|
|
56
|
+
aminoType: "cosmos-sdk/Path",
|
|
57
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
58
|
+
if (message.denom !== "") {
|
|
59
|
+
writer.uint32(10).string(message.denom);
|
|
60
|
+
}
|
|
61
|
+
if (message.channelOrClientId !== "") {
|
|
62
|
+
writer.uint32(18).string(message.channelOrClientId);
|
|
63
|
+
}
|
|
64
|
+
return writer;
|
|
65
|
+
},
|
|
66
|
+
decode(input, length) {
|
|
67
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
68
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
+
const message = createBasePath();
|
|
70
|
+
while (reader.pos < end) {
|
|
71
|
+
const tag = reader.uint32();
|
|
72
|
+
switch (tag >>> 3) {
|
|
73
|
+
case 1:
|
|
74
|
+
message.denom = reader.string();
|
|
75
|
+
break;
|
|
76
|
+
case 2:
|
|
77
|
+
message.channelOrClientId = reader.string();
|
|
78
|
+
break;
|
|
79
|
+
default:
|
|
80
|
+
reader.skipType(tag & 7);
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return message;
|
|
85
|
+
},
|
|
86
|
+
fromPartial(object) {
|
|
87
|
+
const message = createBasePath();
|
|
88
|
+
message.denom = object.denom ?? "";
|
|
89
|
+
message.channelOrClientId = object.channelOrClientId ?? "";
|
|
90
|
+
return message;
|
|
91
|
+
},
|
|
92
|
+
fromAmino(object) {
|
|
93
|
+
const message = createBasePath();
|
|
94
|
+
if (object.denom !== undefined && object.denom !== null) {
|
|
95
|
+
message.denom = object.denom;
|
|
96
|
+
}
|
|
97
|
+
if (object.channel_or_client_id !== undefined && object.channel_or_client_id !== null) {
|
|
98
|
+
message.channelOrClientId = object.channel_or_client_id;
|
|
99
|
+
}
|
|
100
|
+
return message;
|
|
101
|
+
},
|
|
102
|
+
toAmino(message) {
|
|
103
|
+
const obj = {};
|
|
104
|
+
obj.denom = message.denom === "" ? undefined : message.denom;
|
|
105
|
+
obj.channel_or_client_id = message.channelOrClientId === "" ? undefined : message.channelOrClientId;
|
|
106
|
+
return obj;
|
|
107
|
+
},
|
|
108
|
+
fromAminoMsg(object) {
|
|
109
|
+
return Path.fromAmino(object.value);
|
|
110
|
+
},
|
|
111
|
+
toAminoMsg(message) {
|
|
112
|
+
return {
|
|
113
|
+
type: "cosmos-sdk/Path",
|
|
114
|
+
value: Path.toAmino(message)
|
|
115
|
+
};
|
|
116
|
+
},
|
|
117
|
+
fromProtoMsg(message) {
|
|
118
|
+
return Path.decode(message.value);
|
|
119
|
+
},
|
|
120
|
+
toProto(message) {
|
|
121
|
+
return Path.encode(message).finish();
|
|
122
|
+
},
|
|
123
|
+
toProtoMsg(message) {
|
|
124
|
+
return {
|
|
125
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Path",
|
|
126
|
+
value: Path.encode(message).finish()
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
function createBaseQuota() {
|
|
131
|
+
return {
|
|
132
|
+
maxPercentSend: "",
|
|
133
|
+
maxPercentRecv: "",
|
|
134
|
+
durationHours: BigInt(0)
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Quota defines the rate limit thresholds for transfer packets
|
|
139
|
+
* @name Quota
|
|
140
|
+
* @package ibc.applications.rate_limiting.v1
|
|
141
|
+
* @see proto type: ibc.applications.rate_limiting.v1.Quota
|
|
142
|
+
*/
|
|
143
|
+
export const Quota = {
|
|
144
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Quota",
|
|
145
|
+
aminoType: "cosmos-sdk/Quota",
|
|
146
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
147
|
+
if (message.maxPercentSend !== "") {
|
|
148
|
+
writer.uint32(10).string(message.maxPercentSend);
|
|
149
|
+
}
|
|
150
|
+
if (message.maxPercentRecv !== "") {
|
|
151
|
+
writer.uint32(18).string(message.maxPercentRecv);
|
|
152
|
+
}
|
|
153
|
+
if (message.durationHours !== BigInt(0)) {
|
|
154
|
+
writer.uint32(24).uint64(message.durationHours);
|
|
155
|
+
}
|
|
156
|
+
return writer;
|
|
157
|
+
},
|
|
158
|
+
decode(input, length) {
|
|
159
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
160
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
161
|
+
const message = createBaseQuota();
|
|
162
|
+
while (reader.pos < end) {
|
|
163
|
+
const tag = reader.uint32();
|
|
164
|
+
switch (tag >>> 3) {
|
|
165
|
+
case 1:
|
|
166
|
+
message.maxPercentSend = reader.string();
|
|
167
|
+
break;
|
|
168
|
+
case 2:
|
|
169
|
+
message.maxPercentRecv = reader.string();
|
|
170
|
+
break;
|
|
171
|
+
case 3:
|
|
172
|
+
message.durationHours = reader.uint64();
|
|
173
|
+
break;
|
|
174
|
+
default:
|
|
175
|
+
reader.skipType(tag & 7);
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return message;
|
|
180
|
+
},
|
|
181
|
+
fromPartial(object) {
|
|
182
|
+
const message = createBaseQuota();
|
|
183
|
+
message.maxPercentSend = object.maxPercentSend ?? "";
|
|
184
|
+
message.maxPercentRecv = object.maxPercentRecv ?? "";
|
|
185
|
+
message.durationHours = object.durationHours !== undefined && object.durationHours !== null ? BigInt(object.durationHours.toString()) : BigInt(0);
|
|
186
|
+
return message;
|
|
187
|
+
},
|
|
188
|
+
fromAmino(object) {
|
|
189
|
+
const message = createBaseQuota();
|
|
190
|
+
if (object.max_percent_send !== undefined && object.max_percent_send !== null) {
|
|
191
|
+
message.maxPercentSend = object.max_percent_send;
|
|
192
|
+
}
|
|
193
|
+
if (object.max_percent_recv !== undefined && object.max_percent_recv !== null) {
|
|
194
|
+
message.maxPercentRecv = object.max_percent_recv;
|
|
195
|
+
}
|
|
196
|
+
if (object.duration_hours !== undefined && object.duration_hours !== null) {
|
|
197
|
+
message.durationHours = BigInt(object.duration_hours);
|
|
198
|
+
}
|
|
199
|
+
return message;
|
|
200
|
+
},
|
|
201
|
+
toAmino(message) {
|
|
202
|
+
const obj = {};
|
|
203
|
+
obj.max_percent_send = message.maxPercentSend === "" ? undefined : message.maxPercentSend;
|
|
204
|
+
obj.max_percent_recv = message.maxPercentRecv === "" ? undefined : message.maxPercentRecv;
|
|
205
|
+
obj.duration_hours = message.durationHours !== BigInt(0) ? message.durationHours?.toString() : undefined;
|
|
206
|
+
return obj;
|
|
207
|
+
},
|
|
208
|
+
fromAminoMsg(object) {
|
|
209
|
+
return Quota.fromAmino(object.value);
|
|
210
|
+
},
|
|
211
|
+
toAminoMsg(message) {
|
|
212
|
+
return {
|
|
213
|
+
type: "cosmos-sdk/Quota",
|
|
214
|
+
value: Quota.toAmino(message)
|
|
215
|
+
};
|
|
216
|
+
},
|
|
217
|
+
fromProtoMsg(message) {
|
|
218
|
+
return Quota.decode(message.value);
|
|
219
|
+
},
|
|
220
|
+
toProto(message) {
|
|
221
|
+
return Quota.encode(message).finish();
|
|
222
|
+
},
|
|
223
|
+
toProtoMsg(message) {
|
|
224
|
+
return {
|
|
225
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Quota",
|
|
226
|
+
value: Quota.encode(message).finish()
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
function createBaseFlow() {
|
|
231
|
+
return {
|
|
232
|
+
inflow: "",
|
|
233
|
+
outflow: "",
|
|
234
|
+
channelValue: ""
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Flow tracks all the inflows and outflows of a channel.
|
|
239
|
+
* @name Flow
|
|
240
|
+
* @package ibc.applications.rate_limiting.v1
|
|
241
|
+
* @see proto type: ibc.applications.rate_limiting.v1.Flow
|
|
242
|
+
*/
|
|
243
|
+
export const Flow = {
|
|
244
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Flow",
|
|
245
|
+
aminoType: "cosmos-sdk/Flow",
|
|
246
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
247
|
+
if (message.inflow !== "") {
|
|
248
|
+
writer.uint32(10).string(message.inflow);
|
|
249
|
+
}
|
|
250
|
+
if (message.outflow !== "") {
|
|
251
|
+
writer.uint32(18).string(message.outflow);
|
|
252
|
+
}
|
|
253
|
+
if (message.channelValue !== "") {
|
|
254
|
+
writer.uint32(26).string(message.channelValue);
|
|
255
|
+
}
|
|
256
|
+
return writer;
|
|
257
|
+
},
|
|
258
|
+
decode(input, length) {
|
|
259
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
260
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
261
|
+
const message = createBaseFlow();
|
|
262
|
+
while (reader.pos < end) {
|
|
263
|
+
const tag = reader.uint32();
|
|
264
|
+
switch (tag >>> 3) {
|
|
265
|
+
case 1:
|
|
266
|
+
message.inflow = reader.string();
|
|
267
|
+
break;
|
|
268
|
+
case 2:
|
|
269
|
+
message.outflow = reader.string();
|
|
270
|
+
break;
|
|
271
|
+
case 3:
|
|
272
|
+
message.channelValue = reader.string();
|
|
273
|
+
break;
|
|
274
|
+
default:
|
|
275
|
+
reader.skipType(tag & 7);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return message;
|
|
280
|
+
},
|
|
281
|
+
fromPartial(object) {
|
|
282
|
+
const message = createBaseFlow();
|
|
283
|
+
message.inflow = object.inflow ?? "";
|
|
284
|
+
message.outflow = object.outflow ?? "";
|
|
285
|
+
message.channelValue = object.channelValue ?? "";
|
|
286
|
+
return message;
|
|
287
|
+
},
|
|
288
|
+
fromAmino(object) {
|
|
289
|
+
const message = createBaseFlow();
|
|
290
|
+
if (object.inflow !== undefined && object.inflow !== null) {
|
|
291
|
+
message.inflow = object.inflow;
|
|
292
|
+
}
|
|
293
|
+
if (object.outflow !== undefined && object.outflow !== null) {
|
|
294
|
+
message.outflow = object.outflow;
|
|
295
|
+
}
|
|
296
|
+
if (object.channel_value !== undefined && object.channel_value !== null) {
|
|
297
|
+
message.channelValue = object.channel_value;
|
|
298
|
+
}
|
|
299
|
+
return message;
|
|
300
|
+
},
|
|
301
|
+
toAmino(message) {
|
|
302
|
+
const obj = {};
|
|
303
|
+
obj.inflow = message.inflow === "" ? undefined : message.inflow;
|
|
304
|
+
obj.outflow = message.outflow === "" ? undefined : message.outflow;
|
|
305
|
+
obj.channel_value = message.channelValue === "" ? undefined : message.channelValue;
|
|
306
|
+
return obj;
|
|
307
|
+
},
|
|
308
|
+
fromAminoMsg(object) {
|
|
309
|
+
return Flow.fromAmino(object.value);
|
|
310
|
+
},
|
|
311
|
+
toAminoMsg(message) {
|
|
312
|
+
return {
|
|
313
|
+
type: "cosmos-sdk/Flow",
|
|
314
|
+
value: Flow.toAmino(message)
|
|
315
|
+
};
|
|
316
|
+
},
|
|
317
|
+
fromProtoMsg(message) {
|
|
318
|
+
return Flow.decode(message.value);
|
|
319
|
+
},
|
|
320
|
+
toProto(message) {
|
|
321
|
+
return Flow.encode(message).finish();
|
|
322
|
+
},
|
|
323
|
+
toProtoMsg(message) {
|
|
324
|
+
return {
|
|
325
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.Flow",
|
|
326
|
+
value: Flow.encode(message).finish()
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
function createBaseRateLimit() {
|
|
331
|
+
return {
|
|
332
|
+
path: undefined,
|
|
333
|
+
quota: undefined,
|
|
334
|
+
flow: undefined
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* RateLimit stores all the context about a given rate limit, including
|
|
339
|
+
* the relevant denom and channel, rate limit thresholds, and current
|
|
340
|
+
* progress towards the limits
|
|
341
|
+
* @name RateLimit
|
|
342
|
+
* @package ibc.applications.rate_limiting.v1
|
|
343
|
+
* @see proto type: ibc.applications.rate_limiting.v1.RateLimit
|
|
344
|
+
*/
|
|
345
|
+
export const RateLimit = {
|
|
346
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.RateLimit",
|
|
347
|
+
aminoType: "cosmos-sdk/RateLimit",
|
|
348
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
349
|
+
if (message.path !== undefined) {
|
|
350
|
+
Path.encode(message.path, writer.uint32(10).fork()).ldelim();
|
|
351
|
+
}
|
|
352
|
+
if (message.quota !== undefined) {
|
|
353
|
+
Quota.encode(message.quota, writer.uint32(18).fork()).ldelim();
|
|
354
|
+
}
|
|
355
|
+
if (message.flow !== undefined) {
|
|
356
|
+
Flow.encode(message.flow, writer.uint32(26).fork()).ldelim();
|
|
357
|
+
}
|
|
358
|
+
return writer;
|
|
359
|
+
},
|
|
360
|
+
decode(input, length) {
|
|
361
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
362
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
363
|
+
const message = createBaseRateLimit();
|
|
364
|
+
while (reader.pos < end) {
|
|
365
|
+
const tag = reader.uint32();
|
|
366
|
+
switch (tag >>> 3) {
|
|
367
|
+
case 1:
|
|
368
|
+
message.path = Path.decode(reader, reader.uint32());
|
|
369
|
+
break;
|
|
370
|
+
case 2:
|
|
371
|
+
message.quota = Quota.decode(reader, reader.uint32());
|
|
372
|
+
break;
|
|
373
|
+
case 3:
|
|
374
|
+
message.flow = Flow.decode(reader, reader.uint32());
|
|
375
|
+
break;
|
|
376
|
+
default:
|
|
377
|
+
reader.skipType(tag & 7);
|
|
378
|
+
break;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
return message;
|
|
382
|
+
},
|
|
383
|
+
fromPartial(object) {
|
|
384
|
+
const message = createBaseRateLimit();
|
|
385
|
+
message.path = object.path !== undefined && object.path !== null ? Path.fromPartial(object.path) : undefined;
|
|
386
|
+
message.quota = object.quota !== undefined && object.quota !== null ? Quota.fromPartial(object.quota) : undefined;
|
|
387
|
+
message.flow = object.flow !== undefined && object.flow !== null ? Flow.fromPartial(object.flow) : undefined;
|
|
388
|
+
return message;
|
|
389
|
+
},
|
|
390
|
+
fromAmino(object) {
|
|
391
|
+
const message = createBaseRateLimit();
|
|
392
|
+
if (object.path !== undefined && object.path !== null) {
|
|
393
|
+
message.path = Path.fromAmino(object.path);
|
|
394
|
+
}
|
|
395
|
+
if (object.quota !== undefined && object.quota !== null) {
|
|
396
|
+
message.quota = Quota.fromAmino(object.quota);
|
|
397
|
+
}
|
|
398
|
+
if (object.flow !== undefined && object.flow !== null) {
|
|
399
|
+
message.flow = Flow.fromAmino(object.flow);
|
|
400
|
+
}
|
|
401
|
+
return message;
|
|
402
|
+
},
|
|
403
|
+
toAmino(message) {
|
|
404
|
+
const obj = {};
|
|
405
|
+
obj.path = message.path ? Path.toAmino(message.path) : undefined;
|
|
406
|
+
obj.quota = message.quota ? Quota.toAmino(message.quota) : undefined;
|
|
407
|
+
obj.flow = message.flow ? Flow.toAmino(message.flow) : undefined;
|
|
408
|
+
return obj;
|
|
409
|
+
},
|
|
410
|
+
fromAminoMsg(object) {
|
|
411
|
+
return RateLimit.fromAmino(object.value);
|
|
412
|
+
},
|
|
413
|
+
toAminoMsg(message) {
|
|
414
|
+
return {
|
|
415
|
+
type: "cosmos-sdk/RateLimit",
|
|
416
|
+
value: RateLimit.toAmino(message)
|
|
417
|
+
};
|
|
418
|
+
},
|
|
419
|
+
fromProtoMsg(message) {
|
|
420
|
+
return RateLimit.decode(message.value);
|
|
421
|
+
},
|
|
422
|
+
toProto(message) {
|
|
423
|
+
return RateLimit.encode(message).finish();
|
|
424
|
+
},
|
|
425
|
+
toProtoMsg(message) {
|
|
426
|
+
return {
|
|
427
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.RateLimit",
|
|
428
|
+
value: RateLimit.encode(message).finish()
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
function createBaseWhitelistedAddressPair() {
|
|
433
|
+
return {
|
|
434
|
+
sender: "",
|
|
435
|
+
receiver: ""
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* WhitelistedAddressPair represents a sender-receiver combo that is
|
|
440
|
+
* not subject to rate limit restrictions
|
|
441
|
+
* @name WhitelistedAddressPair
|
|
442
|
+
* @package ibc.applications.rate_limiting.v1
|
|
443
|
+
* @see proto type: ibc.applications.rate_limiting.v1.WhitelistedAddressPair
|
|
444
|
+
*/
|
|
445
|
+
export const WhitelistedAddressPair = {
|
|
446
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.WhitelistedAddressPair",
|
|
447
|
+
aminoType: "cosmos-sdk/WhitelistedAddressPair",
|
|
448
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
449
|
+
if (message.sender !== "") {
|
|
450
|
+
writer.uint32(10).string(message.sender);
|
|
451
|
+
}
|
|
452
|
+
if (message.receiver !== "") {
|
|
453
|
+
writer.uint32(18).string(message.receiver);
|
|
454
|
+
}
|
|
455
|
+
return writer;
|
|
456
|
+
},
|
|
457
|
+
decode(input, length) {
|
|
458
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
459
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
460
|
+
const message = createBaseWhitelistedAddressPair();
|
|
461
|
+
while (reader.pos < end) {
|
|
462
|
+
const tag = reader.uint32();
|
|
463
|
+
switch (tag >>> 3) {
|
|
464
|
+
case 1:
|
|
465
|
+
message.sender = reader.string();
|
|
466
|
+
break;
|
|
467
|
+
case 2:
|
|
468
|
+
message.receiver = reader.string();
|
|
469
|
+
break;
|
|
470
|
+
default:
|
|
471
|
+
reader.skipType(tag & 7);
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
return message;
|
|
476
|
+
},
|
|
477
|
+
fromPartial(object) {
|
|
478
|
+
const message = createBaseWhitelistedAddressPair();
|
|
479
|
+
message.sender = object.sender ?? "";
|
|
480
|
+
message.receiver = object.receiver ?? "";
|
|
481
|
+
return message;
|
|
482
|
+
},
|
|
483
|
+
fromAmino(object) {
|
|
484
|
+
const message = createBaseWhitelistedAddressPair();
|
|
485
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
486
|
+
message.sender = object.sender;
|
|
487
|
+
}
|
|
488
|
+
if (object.receiver !== undefined && object.receiver !== null) {
|
|
489
|
+
message.receiver = object.receiver;
|
|
490
|
+
}
|
|
491
|
+
return message;
|
|
492
|
+
},
|
|
493
|
+
toAmino(message) {
|
|
494
|
+
const obj = {};
|
|
495
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
496
|
+
obj.receiver = message.receiver === "" ? undefined : message.receiver;
|
|
497
|
+
return obj;
|
|
498
|
+
},
|
|
499
|
+
fromAminoMsg(object) {
|
|
500
|
+
return WhitelistedAddressPair.fromAmino(object.value);
|
|
501
|
+
},
|
|
502
|
+
toAminoMsg(message) {
|
|
503
|
+
return {
|
|
504
|
+
type: "cosmos-sdk/WhitelistedAddressPair",
|
|
505
|
+
value: WhitelistedAddressPair.toAmino(message)
|
|
506
|
+
};
|
|
507
|
+
},
|
|
508
|
+
fromProtoMsg(message) {
|
|
509
|
+
return WhitelistedAddressPair.decode(message.value);
|
|
510
|
+
},
|
|
511
|
+
toProto(message) {
|
|
512
|
+
return WhitelistedAddressPair.encode(message).finish();
|
|
513
|
+
},
|
|
514
|
+
toProtoMsg(message) {
|
|
515
|
+
return {
|
|
516
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.WhitelistedAddressPair",
|
|
517
|
+
value: WhitelistedAddressPair.encode(message).finish()
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
function createBaseHourEpoch() {
|
|
522
|
+
return {
|
|
523
|
+
epochNumber: BigInt(0),
|
|
524
|
+
duration: Duration.fromPartial({}),
|
|
525
|
+
epochStartTime: new Date(),
|
|
526
|
+
epochStartHeight: BigInt(0)
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* HourEpoch is the epoch type.
|
|
531
|
+
* @name HourEpoch
|
|
532
|
+
* @package ibc.applications.rate_limiting.v1
|
|
533
|
+
* @see proto type: ibc.applications.rate_limiting.v1.HourEpoch
|
|
534
|
+
*/
|
|
535
|
+
export const HourEpoch = {
|
|
536
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.HourEpoch",
|
|
537
|
+
aminoType: "cosmos-sdk/HourEpoch",
|
|
538
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
539
|
+
if (message.epochNumber !== BigInt(0)) {
|
|
540
|
+
writer.uint32(8).uint64(message.epochNumber);
|
|
541
|
+
}
|
|
542
|
+
if (message.duration !== undefined) {
|
|
543
|
+
Duration.encode(message.duration, writer.uint32(18).fork()).ldelim();
|
|
544
|
+
}
|
|
545
|
+
if (message.epochStartTime !== undefined) {
|
|
546
|
+
Timestamp.encode(toTimestamp(message.epochStartTime), writer.uint32(26).fork()).ldelim();
|
|
547
|
+
}
|
|
548
|
+
if (message.epochStartHeight !== BigInt(0)) {
|
|
549
|
+
writer.uint32(32).int64(message.epochStartHeight);
|
|
550
|
+
}
|
|
551
|
+
return writer;
|
|
552
|
+
},
|
|
553
|
+
decode(input, length) {
|
|
554
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
555
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
556
|
+
const message = createBaseHourEpoch();
|
|
557
|
+
while (reader.pos < end) {
|
|
558
|
+
const tag = reader.uint32();
|
|
559
|
+
switch (tag >>> 3) {
|
|
560
|
+
case 1:
|
|
561
|
+
message.epochNumber = reader.uint64();
|
|
562
|
+
break;
|
|
563
|
+
case 2:
|
|
564
|
+
message.duration = Duration.decode(reader, reader.uint32());
|
|
565
|
+
break;
|
|
566
|
+
case 3:
|
|
567
|
+
message.epochStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
568
|
+
break;
|
|
569
|
+
case 4:
|
|
570
|
+
message.epochStartHeight = reader.int64();
|
|
571
|
+
break;
|
|
572
|
+
default:
|
|
573
|
+
reader.skipType(tag & 7);
|
|
574
|
+
break;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
return message;
|
|
578
|
+
},
|
|
579
|
+
fromPartial(object) {
|
|
580
|
+
const message = createBaseHourEpoch();
|
|
581
|
+
message.epochNumber = object.epochNumber !== undefined && object.epochNumber !== null ? BigInt(object.epochNumber.toString()) : BigInt(0);
|
|
582
|
+
message.duration = object.duration !== undefined && object.duration !== null ? Duration.fromPartial(object.duration) : undefined;
|
|
583
|
+
message.epochStartTime = object.epochStartTime ?? undefined;
|
|
584
|
+
message.epochStartHeight = object.epochStartHeight !== undefined && object.epochStartHeight !== null ? BigInt(object.epochStartHeight.toString()) : BigInt(0);
|
|
585
|
+
return message;
|
|
586
|
+
},
|
|
587
|
+
fromAmino(object) {
|
|
588
|
+
const message = createBaseHourEpoch();
|
|
589
|
+
if (object.epoch_number !== undefined && object.epoch_number !== null) {
|
|
590
|
+
message.epochNumber = BigInt(object.epoch_number);
|
|
591
|
+
}
|
|
592
|
+
if (object.duration !== undefined && object.duration !== null) {
|
|
593
|
+
message.duration = Duration.fromAmino(object.duration);
|
|
594
|
+
}
|
|
595
|
+
if (object.epoch_start_time !== undefined && object.epoch_start_time !== null) {
|
|
596
|
+
message.epochStartTime = fromTimestamp(Timestamp.fromAmino(object.epoch_start_time));
|
|
597
|
+
}
|
|
598
|
+
if (object.epoch_start_height !== undefined && object.epoch_start_height !== null) {
|
|
599
|
+
message.epochStartHeight = BigInt(object.epoch_start_height);
|
|
600
|
+
}
|
|
601
|
+
return message;
|
|
602
|
+
},
|
|
603
|
+
toAmino(message) {
|
|
604
|
+
const obj = {};
|
|
605
|
+
obj.epoch_number = message.epochNumber !== BigInt(0) ? message.epochNumber?.toString() : undefined;
|
|
606
|
+
obj.duration = message.duration ? Duration.toAmino(message.duration) : undefined;
|
|
607
|
+
obj.epoch_start_time = message.epochStartTime ? Timestamp.toAmino(toTimestamp(message.epochStartTime)) : undefined;
|
|
608
|
+
obj.epoch_start_height = message.epochStartHeight !== BigInt(0) ? message.epochStartHeight?.toString() : undefined;
|
|
609
|
+
return obj;
|
|
610
|
+
},
|
|
611
|
+
fromAminoMsg(object) {
|
|
612
|
+
return HourEpoch.fromAmino(object.value);
|
|
613
|
+
},
|
|
614
|
+
toAminoMsg(message) {
|
|
615
|
+
return {
|
|
616
|
+
type: "cosmos-sdk/HourEpoch",
|
|
617
|
+
value: HourEpoch.toAmino(message)
|
|
618
|
+
};
|
|
619
|
+
},
|
|
620
|
+
fromProtoMsg(message) {
|
|
621
|
+
return HourEpoch.decode(message.value);
|
|
622
|
+
},
|
|
623
|
+
toProto(message) {
|
|
624
|
+
return HourEpoch.encode(message).finish();
|
|
625
|
+
},
|
|
626
|
+
toProtoMsg(message) {
|
|
627
|
+
return {
|
|
628
|
+
typeUrl: "/ibc.applications.rate_limiting.v1.HourEpoch",
|
|
629
|
+
value: HourEpoch.encode(message).finish()
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgAddRateLimit, MsgUpdateRateLimit, MsgRemoveRateLimit, MsgResetRateLimit } from "./tx";
|
|
3
|
+
export const AminoConverter = {
|
|
4
|
+
"/ibc.applications.rate_limiting.v1.MsgAddRateLimit": {
|
|
5
|
+
aminoType: "ratelimit/MsgAddRateLimit",
|
|
6
|
+
toAmino: MsgAddRateLimit.toAmino,
|
|
7
|
+
fromAmino: MsgAddRateLimit.fromAmino
|
|
8
|
+
},
|
|
9
|
+
"/ibc.applications.rate_limiting.v1.MsgUpdateRateLimit": {
|
|
10
|
+
aminoType: "ratelimit/MsgUpdateRateLimit",
|
|
11
|
+
toAmino: MsgUpdateRateLimit.toAmino,
|
|
12
|
+
fromAmino: MsgUpdateRateLimit.fromAmino
|
|
13
|
+
},
|
|
14
|
+
"/ibc.applications.rate_limiting.v1.MsgRemoveRateLimit": {
|
|
15
|
+
aminoType: "ratelimit/MsgRemoveRateLimit",
|
|
16
|
+
toAmino: MsgRemoveRateLimit.toAmino,
|
|
17
|
+
fromAmino: MsgRemoveRateLimit.fromAmino
|
|
18
|
+
},
|
|
19
|
+
"/ibc.applications.rate_limiting.v1.MsgResetRateLimit": {
|
|
20
|
+
aminoType: "ratelimit/MsgResetRateLimit",
|
|
21
|
+
toAmino: MsgResetRateLimit.toAmino,
|
|
22
|
+
fromAmino: MsgResetRateLimit.fromAmino
|
|
23
|
+
}
|
|
24
|
+
};
|