juno-network 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/cosmos/client.js +11 -5
- package/main/codegen/cosmwasm/client.js +11 -5
- package/main/codegen/ibc/client.js +11 -5
- package/package.json +3 -3
- package/types/codegen/JunoSwap.client.d.ts +120 -0
- package/types/codegen/JunoSwap.types.d.ts +124 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +12 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +51 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +105 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +25 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +11 -0
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +49 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +171 -0
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +25 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +53 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +118 -0
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +47 -0
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +24 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +197 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +21 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +6233 -0
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +45 -0
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +34 -0
- package/types/codegen/cosmos/client.d.ts +473 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +25 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +60 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +89 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +84 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +115 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +38 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +350 -0
- package/types/codegen/cosmos/group/v1/query.lcd.d.ts +20 -0
- package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +35 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +419 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +324 -0
- package/types/codegen/cosmos/lcd.d.ts +28 -0
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +38 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +78 -0
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +42 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +47 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +166 -0
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +117 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +90 -0
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +31 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +71 -0
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/rpc.query.d.ts +97 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +70 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +85 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +52 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +23 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +88 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +97 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +33 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/api/annotations.d.ts +1 -0
- package/types/codegen/google/api/http.d.ts +375 -0
- package/types/codegen/google/bundle.d.ts +1545 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
- package/types/codegen/google/protobuf/struct.d.ts +148 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +3781 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +37 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +11 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +21 -0
- package/types/codegen/ibc/lcd.d.ts +46 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +148 -0
- package/types/codegen/ibc/rpc.tx.d.ts +44 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +18 -0
- package/types/codegen/juno/bundle.d.ts +226 -0
- package/types/codegen/juno/lcd.d.ts +31 -0
- package/types/codegen/juno/mint/genesis.d.ts +22 -0
- package/types/codegen/juno/mint/mint.d.ts +44 -0
- package/types/codegen/juno/mint/query.d.ts +99 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
- package/types/codegen/juno/mint/query.rpc.query.d.ts +21 -0
- package/types/codegen/juno/rpc.query.d.ts +104 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +2065 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
@@ -0,0 +1,148 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
5
|
+
* `Value` type union.
|
6
|
+
*
|
7
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
8
|
+
*/
|
9
|
+
export declare enum NullValue {
|
10
|
+
/** NULL_VALUE - Null value. */
|
11
|
+
NULL_VALUE = 0,
|
12
|
+
UNRECOGNIZED = -1
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
16
|
+
* `Value` type union.
|
17
|
+
*
|
18
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
19
|
+
*/
|
20
|
+
export declare enum NullValueSDKType {
|
21
|
+
/** NULL_VALUE - Null value. */
|
22
|
+
NULL_VALUE = 0,
|
23
|
+
UNRECOGNIZED = -1
|
24
|
+
}
|
25
|
+
export declare function nullValueFromJSON(object: any): NullValue;
|
26
|
+
export declare function nullValueToJSON(object: NullValue): string;
|
27
|
+
export interface Struct_FieldsEntry {
|
28
|
+
key: string;
|
29
|
+
value: Value;
|
30
|
+
}
|
31
|
+
export interface Struct_FieldsEntrySDKType {
|
32
|
+
key: string;
|
33
|
+
value: ValueSDKType;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* `Struct` represents a structured data value, consisting of fields
|
37
|
+
* which map to dynamically typed values. In some languages, `Struct`
|
38
|
+
* might be supported by a native representation. For example, in
|
39
|
+
* scripting languages like JS a struct is represented as an
|
40
|
+
* object. The details of that representation are described together
|
41
|
+
* with the proto support for the language.
|
42
|
+
*
|
43
|
+
* The JSON representation for `Struct` is JSON object.
|
44
|
+
*/
|
45
|
+
export interface Struct {
|
46
|
+
/** Unordered map of dynamically typed values. */
|
47
|
+
fields: {
|
48
|
+
[key: string]: Value;
|
49
|
+
};
|
50
|
+
}
|
51
|
+
/**
|
52
|
+
* `Struct` represents a structured data value, consisting of fields
|
53
|
+
* which map to dynamically typed values. In some languages, `Struct`
|
54
|
+
* might be supported by a native representation. For example, in
|
55
|
+
* scripting languages like JS a struct is represented as an
|
56
|
+
* object. The details of that representation are described together
|
57
|
+
* with the proto support for the language.
|
58
|
+
*
|
59
|
+
* The JSON representation for `Struct` is JSON object.
|
60
|
+
*/
|
61
|
+
export interface StructSDKType {
|
62
|
+
/** Unordered map of dynamically typed values. */
|
63
|
+
fields: {
|
64
|
+
[key: string]: ValueSDKType;
|
65
|
+
};
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* `Value` represents a dynamically typed value which can be either
|
69
|
+
* null, a number, a string, a boolean, a recursive struct value, or a
|
70
|
+
* list of values. A producer of value is expected to set one of that
|
71
|
+
* variants, absence of any variant indicates an error.
|
72
|
+
*
|
73
|
+
* The JSON representation for `Value` is JSON value.
|
74
|
+
*/
|
75
|
+
export interface Value {
|
76
|
+
/** Represents a null value. */
|
77
|
+
nullValue?: NullValue;
|
78
|
+
/** Represents a double value. */
|
79
|
+
numberValue?: number;
|
80
|
+
/** Represents a string value. */
|
81
|
+
stringValue?: string;
|
82
|
+
/** Represents a boolean value. */
|
83
|
+
boolValue?: boolean;
|
84
|
+
/** Represents a structured value. */
|
85
|
+
structValue?: Struct;
|
86
|
+
/** Represents a repeated `Value`. */
|
87
|
+
listValue?: ListValue;
|
88
|
+
}
|
89
|
+
/**
|
90
|
+
* `Value` represents a dynamically typed value which can be either
|
91
|
+
* null, a number, a string, a boolean, a recursive struct value, or a
|
92
|
+
* list of values. A producer of value is expected to set one of that
|
93
|
+
* variants, absence of any variant indicates an error.
|
94
|
+
*
|
95
|
+
* The JSON representation for `Value` is JSON value.
|
96
|
+
*/
|
97
|
+
export interface ValueSDKType {
|
98
|
+
/** Represents a null value. */
|
99
|
+
null_value?: NullValueSDKType;
|
100
|
+
/** Represents a double value. */
|
101
|
+
number_value?: number;
|
102
|
+
/** Represents a string value. */
|
103
|
+
string_value?: string;
|
104
|
+
/** Represents a boolean value. */
|
105
|
+
bool_value?: boolean;
|
106
|
+
/** Represents a structured value. */
|
107
|
+
struct_value?: StructSDKType;
|
108
|
+
/** Represents a repeated `Value`. */
|
109
|
+
list_value?: ListValueSDKType;
|
110
|
+
}
|
111
|
+
/**
|
112
|
+
* `ListValue` is a wrapper around a repeated field of values.
|
113
|
+
*
|
114
|
+
* The JSON representation for `ListValue` is JSON array.
|
115
|
+
*/
|
116
|
+
export interface ListValue {
|
117
|
+
/** Repeated field of dynamically typed values. */
|
118
|
+
values: Value[];
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* `ListValue` is a wrapper around a repeated field of values.
|
122
|
+
*
|
123
|
+
* The JSON representation for `ListValue` is JSON array.
|
124
|
+
*/
|
125
|
+
export interface ListValueSDKType {
|
126
|
+
/** Repeated field of dynamically typed values. */
|
127
|
+
values: ValueSDKType[];
|
128
|
+
}
|
129
|
+
export declare const Struct_FieldsEntry: {
|
130
|
+
encode(message: Struct_FieldsEntry, writer?: _m0.Writer): _m0.Writer;
|
131
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry;
|
132
|
+
fromPartial(object: DeepPartial<Struct_FieldsEntry>): Struct_FieldsEntry;
|
133
|
+
};
|
134
|
+
export declare const Struct: {
|
135
|
+
encode(message: Struct, writer?: _m0.Writer): _m0.Writer;
|
136
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Struct;
|
137
|
+
fromPartial(object: DeepPartial<Struct>): Struct;
|
138
|
+
};
|
139
|
+
export declare const Value: {
|
140
|
+
encode(message: Value, writer?: _m0.Writer): _m0.Writer;
|
141
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Value;
|
142
|
+
fromPartial(object: DeepPartial<Value>): Value;
|
143
|
+
};
|
144
|
+
export declare const ListValue: {
|
145
|
+
encode(message: ListValue, writer?: _m0.Writer): _m0.Writer;
|
146
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListValue;
|
147
|
+
fromPartial(object: DeepPartial<ListValue>): ListValue;
|
148
|
+
};
|
@@ -0,0 +1,205 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
5
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
6
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
7
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
8
|
+
* Gregorian calendar backwards to year one.
|
9
|
+
*
|
10
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
11
|
+
* second table is needed for interpretation, using a [24-hour linear
|
12
|
+
* smear](https://developers.google.com/time/smear).
|
13
|
+
*
|
14
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
15
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
16
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
17
|
+
*
|
18
|
+
* # Examples
|
19
|
+
*
|
20
|
+
* Example 1: Compute Timestamp from POSIX `time()`.
|
21
|
+
*
|
22
|
+
* Timestamp timestamp;
|
23
|
+
* timestamp.set_seconds(time(NULL));
|
24
|
+
* timestamp.set_nanos(0);
|
25
|
+
*
|
26
|
+
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
27
|
+
*
|
28
|
+
* struct timeval tv;
|
29
|
+
* gettimeofday(&tv, NULL);
|
30
|
+
*
|
31
|
+
* Timestamp timestamp;
|
32
|
+
* timestamp.set_seconds(tv.tv_sec);
|
33
|
+
* timestamp.set_nanos(tv.tv_usec * 1000);
|
34
|
+
*
|
35
|
+
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
36
|
+
*
|
37
|
+
* FILETIME ft;
|
38
|
+
* GetSystemTimeAsFileTime(&ft);
|
39
|
+
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
40
|
+
*
|
41
|
+
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
42
|
+
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
43
|
+
* Timestamp timestamp;
|
44
|
+
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
45
|
+
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
46
|
+
*
|
47
|
+
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
48
|
+
*
|
49
|
+
* long millis = System.currentTimeMillis();
|
50
|
+
*
|
51
|
+
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
52
|
+
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
53
|
+
*
|
54
|
+
*
|
55
|
+
* Example 5: Compute Timestamp from current time in Python.
|
56
|
+
*
|
57
|
+
* timestamp = Timestamp()
|
58
|
+
* timestamp.GetCurrentTime()
|
59
|
+
*
|
60
|
+
* # JSON Mapping
|
61
|
+
*
|
62
|
+
* In JSON format, the Timestamp type is encoded as a string in the
|
63
|
+
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
64
|
+
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
65
|
+
* where {year} is always expressed using four digits while {month}, {day},
|
66
|
+
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
67
|
+
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
68
|
+
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
69
|
+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
70
|
+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
71
|
+
* able to accept both UTC and other timezones (as indicated by an offset).
|
72
|
+
*
|
73
|
+
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
74
|
+
* 01:30 UTC on January 15, 2017.
|
75
|
+
*
|
76
|
+
* In JavaScript, one can convert a Date object to this format using the
|
77
|
+
* standard
|
78
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
79
|
+
* method. In Python, a standard `datetime.datetime` object can be converted
|
80
|
+
* to this format using
|
81
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
82
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
83
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
84
|
+
* http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
85
|
+
* ) to obtain a formatter capable of generating timestamps in this format.
|
86
|
+
*/
|
87
|
+
export interface Timestamp {
|
88
|
+
/**
|
89
|
+
* Represents seconds of UTC time since Unix epoch
|
90
|
+
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
91
|
+
* 9999-12-31T23:59:59Z inclusive.
|
92
|
+
*/
|
93
|
+
seconds: Long;
|
94
|
+
/**
|
95
|
+
* Non-negative fractions of a second at nanosecond resolution. Negative
|
96
|
+
* second values with fractions must still have non-negative nanos values
|
97
|
+
* that count forward in time. Must be from 0 to 999,999,999
|
98
|
+
* inclusive.
|
99
|
+
*/
|
100
|
+
nanos: number;
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
104
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
105
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
106
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
107
|
+
* Gregorian calendar backwards to year one.
|
108
|
+
*
|
109
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
110
|
+
* second table is needed for interpretation, using a [24-hour linear
|
111
|
+
* smear](https://developers.google.com/time/smear).
|
112
|
+
*
|
113
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
114
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
115
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
116
|
+
*
|
117
|
+
* # Examples
|
118
|
+
*
|
119
|
+
* Example 1: Compute Timestamp from POSIX `time()`.
|
120
|
+
*
|
121
|
+
* Timestamp timestamp;
|
122
|
+
* timestamp.set_seconds(time(NULL));
|
123
|
+
* timestamp.set_nanos(0);
|
124
|
+
*
|
125
|
+
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
126
|
+
*
|
127
|
+
* struct timeval tv;
|
128
|
+
* gettimeofday(&tv, NULL);
|
129
|
+
*
|
130
|
+
* Timestamp timestamp;
|
131
|
+
* timestamp.set_seconds(tv.tv_sec);
|
132
|
+
* timestamp.set_nanos(tv.tv_usec * 1000);
|
133
|
+
*
|
134
|
+
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
135
|
+
*
|
136
|
+
* FILETIME ft;
|
137
|
+
* GetSystemTimeAsFileTime(&ft);
|
138
|
+
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
139
|
+
*
|
140
|
+
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
141
|
+
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
142
|
+
* Timestamp timestamp;
|
143
|
+
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
144
|
+
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
145
|
+
*
|
146
|
+
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
147
|
+
*
|
148
|
+
* long millis = System.currentTimeMillis();
|
149
|
+
*
|
150
|
+
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
151
|
+
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
152
|
+
*
|
153
|
+
*
|
154
|
+
* Example 5: Compute Timestamp from current time in Python.
|
155
|
+
*
|
156
|
+
* timestamp = Timestamp()
|
157
|
+
* timestamp.GetCurrentTime()
|
158
|
+
*
|
159
|
+
* # JSON Mapping
|
160
|
+
*
|
161
|
+
* In JSON format, the Timestamp type is encoded as a string in the
|
162
|
+
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
163
|
+
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
164
|
+
* where {year} is always expressed using four digits while {month}, {day},
|
165
|
+
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
166
|
+
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
167
|
+
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
168
|
+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
169
|
+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
170
|
+
* able to accept both UTC and other timezones (as indicated by an offset).
|
171
|
+
*
|
172
|
+
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
173
|
+
* 01:30 UTC on January 15, 2017.
|
174
|
+
*
|
175
|
+
* In JavaScript, one can convert a Date object to this format using the
|
176
|
+
* standard
|
177
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
178
|
+
* method. In Python, a standard `datetime.datetime` object can be converted
|
179
|
+
* to this format using
|
180
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
181
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
182
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
183
|
+
* http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
184
|
+
* ) to obtain a formatter capable of generating timestamps in this format.
|
185
|
+
*/
|
186
|
+
export interface TimestampSDKType {
|
187
|
+
/**
|
188
|
+
* Represents seconds of UTC time since Unix epoch
|
189
|
+
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
190
|
+
* 9999-12-31T23:59:59Z inclusive.
|
191
|
+
*/
|
192
|
+
seconds: Long;
|
193
|
+
/**
|
194
|
+
* Non-negative fractions of a second at nanosecond resolution. Negative
|
195
|
+
* second values with fractions must still have non-negative nanos values
|
196
|
+
* that count forward in time. Must be from 0 to 999,999,999
|
197
|
+
* inclusive.
|
198
|
+
*/
|
199
|
+
nanos: number;
|
200
|
+
}
|
201
|
+
export declare const Timestamp: {
|
202
|
+
encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer;
|
203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp;
|
204
|
+
fromPartial(object: DeepPartial<Timestamp>): Timestamp;
|
205
|
+
};
|
@@ -0,0 +1,209 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* Wrapper message for `double`.
|
5
|
+
*
|
6
|
+
* The JSON representation for `DoubleValue` is JSON number.
|
7
|
+
*/
|
8
|
+
export interface DoubleValue {
|
9
|
+
/** The double value. */
|
10
|
+
value: number;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* Wrapper message for `double`.
|
14
|
+
*
|
15
|
+
* The JSON representation for `DoubleValue` is JSON number.
|
16
|
+
*/
|
17
|
+
export interface DoubleValueSDKType {
|
18
|
+
/** The double value. */
|
19
|
+
value: number;
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Wrapper message for `float`.
|
23
|
+
*
|
24
|
+
* The JSON representation for `FloatValue` is JSON number.
|
25
|
+
*/
|
26
|
+
export interface FloatValue {
|
27
|
+
/** The float value. */
|
28
|
+
value: number;
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Wrapper message for `float`.
|
32
|
+
*
|
33
|
+
* The JSON representation for `FloatValue` is JSON number.
|
34
|
+
*/
|
35
|
+
export interface FloatValueSDKType {
|
36
|
+
/** The float value. */
|
37
|
+
value: number;
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Wrapper message for `int64`.
|
41
|
+
*
|
42
|
+
* The JSON representation for `Int64Value` is JSON string.
|
43
|
+
*/
|
44
|
+
export interface Int64Value {
|
45
|
+
/** The int64 value. */
|
46
|
+
value: Long;
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* Wrapper message for `int64`.
|
50
|
+
*
|
51
|
+
* The JSON representation for `Int64Value` is JSON string.
|
52
|
+
*/
|
53
|
+
export interface Int64ValueSDKType {
|
54
|
+
/** The int64 value. */
|
55
|
+
value: Long;
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* Wrapper message for `uint64`.
|
59
|
+
*
|
60
|
+
* The JSON representation for `UInt64Value` is JSON string.
|
61
|
+
*/
|
62
|
+
export interface UInt64Value {
|
63
|
+
/** The uint64 value. */
|
64
|
+
value: Long;
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* Wrapper message for `uint64`.
|
68
|
+
*
|
69
|
+
* The JSON representation for `UInt64Value` is JSON string.
|
70
|
+
*/
|
71
|
+
export interface UInt64ValueSDKType {
|
72
|
+
/** The uint64 value. */
|
73
|
+
value: Long;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* Wrapper message for `int32`.
|
77
|
+
*
|
78
|
+
* The JSON representation for `Int32Value` is JSON number.
|
79
|
+
*/
|
80
|
+
export interface Int32Value {
|
81
|
+
/** The int32 value. */
|
82
|
+
value: number;
|
83
|
+
}
|
84
|
+
/**
|
85
|
+
* Wrapper message for `int32`.
|
86
|
+
*
|
87
|
+
* The JSON representation for `Int32Value` is JSON number.
|
88
|
+
*/
|
89
|
+
export interface Int32ValueSDKType {
|
90
|
+
/** The int32 value. */
|
91
|
+
value: number;
|
92
|
+
}
|
93
|
+
/**
|
94
|
+
* Wrapper message for `uint32`.
|
95
|
+
*
|
96
|
+
* The JSON representation for `UInt32Value` is JSON number.
|
97
|
+
*/
|
98
|
+
export interface UInt32Value {
|
99
|
+
/** The uint32 value. */
|
100
|
+
value: number;
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* Wrapper message for `uint32`.
|
104
|
+
*
|
105
|
+
* The JSON representation for `UInt32Value` is JSON number.
|
106
|
+
*/
|
107
|
+
export interface UInt32ValueSDKType {
|
108
|
+
/** The uint32 value. */
|
109
|
+
value: number;
|
110
|
+
}
|
111
|
+
/**
|
112
|
+
* Wrapper message for `bool`.
|
113
|
+
*
|
114
|
+
* The JSON representation for `BoolValue` is JSON `true` and `false`.
|
115
|
+
*/
|
116
|
+
export interface BoolValue {
|
117
|
+
/** The bool value. */
|
118
|
+
value: boolean;
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* Wrapper message for `bool`.
|
122
|
+
*
|
123
|
+
* The JSON representation for `BoolValue` is JSON `true` and `false`.
|
124
|
+
*/
|
125
|
+
export interface BoolValueSDKType {
|
126
|
+
/** The bool value. */
|
127
|
+
value: boolean;
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* Wrapper message for `string`.
|
131
|
+
*
|
132
|
+
* The JSON representation for `StringValue` is JSON string.
|
133
|
+
*/
|
134
|
+
export interface StringValue {
|
135
|
+
/** The string value. */
|
136
|
+
value: string;
|
137
|
+
}
|
138
|
+
/**
|
139
|
+
* Wrapper message for `string`.
|
140
|
+
*
|
141
|
+
* The JSON representation for `StringValue` is JSON string.
|
142
|
+
*/
|
143
|
+
export interface StringValueSDKType {
|
144
|
+
/** The string value. */
|
145
|
+
value: string;
|
146
|
+
}
|
147
|
+
/**
|
148
|
+
* Wrapper message for `bytes`.
|
149
|
+
*
|
150
|
+
* The JSON representation for `BytesValue` is JSON string.
|
151
|
+
*/
|
152
|
+
export interface BytesValue {
|
153
|
+
/** The bytes value. */
|
154
|
+
value: Uint8Array;
|
155
|
+
}
|
156
|
+
/**
|
157
|
+
* Wrapper message for `bytes`.
|
158
|
+
*
|
159
|
+
* The JSON representation for `BytesValue` is JSON string.
|
160
|
+
*/
|
161
|
+
export interface BytesValueSDKType {
|
162
|
+
/** The bytes value. */
|
163
|
+
value: Uint8Array;
|
164
|
+
}
|
165
|
+
export declare const DoubleValue: {
|
166
|
+
encode(message: DoubleValue, writer?: _m0.Writer): _m0.Writer;
|
167
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue;
|
168
|
+
fromPartial(object: DeepPartial<DoubleValue>): DoubleValue;
|
169
|
+
};
|
170
|
+
export declare const FloatValue: {
|
171
|
+
encode(message: FloatValue, writer?: _m0.Writer): _m0.Writer;
|
172
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue;
|
173
|
+
fromPartial(object: DeepPartial<FloatValue>): FloatValue;
|
174
|
+
};
|
175
|
+
export declare const Int64Value: {
|
176
|
+
encode(message: Int64Value, writer?: _m0.Writer): _m0.Writer;
|
177
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value;
|
178
|
+
fromPartial(object: DeepPartial<Int64Value>): Int64Value;
|
179
|
+
};
|
180
|
+
export declare const UInt64Value: {
|
181
|
+
encode(message: UInt64Value, writer?: _m0.Writer): _m0.Writer;
|
182
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value;
|
183
|
+
fromPartial(object: DeepPartial<UInt64Value>): UInt64Value;
|
184
|
+
};
|
185
|
+
export declare const Int32Value: {
|
186
|
+
encode(message: Int32Value, writer?: _m0.Writer): _m0.Writer;
|
187
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value;
|
188
|
+
fromPartial(object: DeepPartial<Int32Value>): Int32Value;
|
189
|
+
};
|
190
|
+
export declare const UInt32Value: {
|
191
|
+
encode(message: UInt32Value, writer?: _m0.Writer): _m0.Writer;
|
192
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value;
|
193
|
+
fromPartial(object: DeepPartial<UInt32Value>): UInt32Value;
|
194
|
+
};
|
195
|
+
export declare const BoolValue: {
|
196
|
+
encode(message: BoolValue, writer?: _m0.Writer): _m0.Writer;
|
197
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue;
|
198
|
+
fromPartial(object: DeepPartial<BoolValue>): BoolValue;
|
199
|
+
};
|
200
|
+
export declare const StringValue: {
|
201
|
+
encode(message: StringValue, writer?: _m0.Writer): _m0.Writer;
|
202
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StringValue;
|
203
|
+
fromPartial(object: DeepPartial<StringValue>): StringValue;
|
204
|
+
};
|
205
|
+
export declare const BytesValue: {
|
206
|
+
encode(message: BytesValue, writer?: _m0.Writer): _m0.Writer;
|
207
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue;
|
208
|
+
fromPartial(object: DeepPartial<BytesValue>): BytesValue;
|
209
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** GenesisState defines the ibc-transfer genesis state */
|
5
|
+
export interface GenesisState {
|
6
|
+
portId: string;
|
7
|
+
denomTraces: DenomTrace[];
|
8
|
+
params: Params;
|
9
|
+
}
|
10
|
+
/** GenesisState defines the ibc-transfer genesis state */
|
11
|
+
export interface GenesisStateSDKType {
|
12
|
+
port_id: string;
|
13
|
+
denom_traces: DenomTraceSDKType[];
|
14
|
+
params: ParamsSDKType;
|
15
|
+
}
|
16
|
+
export declare const GenesisState: {
|
17
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
19
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
20
|
+
};
|
@@ -0,0 +1,118 @@
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
2
|
+
import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
5
|
+
/**
|
6
|
+
* QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC
|
7
|
+
* method
|
8
|
+
*/
|
9
|
+
export interface QueryDenomTraceRequest {
|
10
|
+
/** hash (in hex format) of the denomination trace information. */
|
11
|
+
hash: string;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC
|
15
|
+
* method
|
16
|
+
*/
|
17
|
+
export interface QueryDenomTraceRequestSDKType {
|
18
|
+
/** hash (in hex format) of the denomination trace information. */
|
19
|
+
hash: string;
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC
|
23
|
+
* method.
|
24
|
+
*/
|
25
|
+
export interface QueryDenomTraceResponse {
|
26
|
+
/** denom_trace returns the requested denomination trace information. */
|
27
|
+
denomTrace: DenomTrace;
|
28
|
+
}
|
29
|
+
/**
|
30
|
+
* QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC
|
31
|
+
* method.
|
32
|
+
*/
|
33
|
+
export interface QueryDenomTraceResponseSDKType {
|
34
|
+
/** denom_trace returns the requested denomination trace information. */
|
35
|
+
denom_trace: DenomTraceSDKType;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* QueryConnectionsRequest is the request type for the Query/DenomTraces RPC
|
39
|
+
* method
|
40
|
+
*/
|
41
|
+
export interface QueryDenomTracesRequest {
|
42
|
+
/** pagination defines an optional pagination for the request. */
|
43
|
+
pagination?: PageRequest;
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* QueryConnectionsRequest is the request type for the Query/DenomTraces RPC
|
47
|
+
* method
|
48
|
+
*/
|
49
|
+
export interface QueryDenomTracesRequestSDKType {
|
50
|
+
/** pagination defines an optional pagination for the request. */
|
51
|
+
pagination?: PageRequestSDKType;
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* QueryConnectionsResponse is the response type for the Query/DenomTraces RPC
|
55
|
+
* method.
|
56
|
+
*/
|
57
|
+
export interface QueryDenomTracesResponse {
|
58
|
+
/** denom_traces returns all denominations trace information. */
|
59
|
+
denomTraces: DenomTrace[];
|
60
|
+
/** pagination defines the pagination in the response. */
|
61
|
+
pagination?: PageResponse;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* QueryConnectionsResponse is the response type for the Query/DenomTraces RPC
|
65
|
+
* method.
|
66
|
+
*/
|
67
|
+
export interface QueryDenomTracesResponseSDKType {
|
68
|
+
/** denom_traces returns all denominations trace information. */
|
69
|
+
denom_traces: DenomTraceSDKType[];
|
70
|
+
/** pagination defines the pagination in the response. */
|
71
|
+
pagination?: PageResponseSDKType;
|
72
|
+
}
|
73
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
74
|
+
export interface QueryParamsRequest {
|
75
|
+
}
|
76
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
77
|
+
export interface QueryParamsRequestSDKType {
|
78
|
+
}
|
79
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
80
|
+
export interface QueryParamsResponse {
|
81
|
+
/** params defines the parameters of the module. */
|
82
|
+
params: Params;
|
83
|
+
}
|
84
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
85
|
+
export interface QueryParamsResponseSDKType {
|
86
|
+
/** params defines the parameters of the module. */
|
87
|
+
params: ParamsSDKType;
|
88
|
+
}
|
89
|
+
export declare const QueryDenomTraceRequest: {
|
90
|
+
encode(message: QueryDenomTraceRequest, writer?: _m0.Writer): _m0.Writer;
|
91
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest;
|
92
|
+
fromPartial(object: DeepPartial<QueryDenomTraceRequest>): QueryDenomTraceRequest;
|
93
|
+
};
|
94
|
+
export declare const QueryDenomTraceResponse: {
|
95
|
+
encode(message: QueryDenomTraceResponse, writer?: _m0.Writer): _m0.Writer;
|
96
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponseSDKType;
|
97
|
+
fromPartial(object: DeepPartial<QueryDenomTraceResponse>): QueryDenomTraceResponse;
|
98
|
+
};
|
99
|
+
export declare const QueryDenomTracesRequest: {
|
100
|
+
encode(message: QueryDenomTracesRequest, writer?: _m0.Writer): _m0.Writer;
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest;
|
102
|
+
fromPartial(object: DeepPartial<QueryDenomTracesRequest>): QueryDenomTracesRequest;
|
103
|
+
};
|
104
|
+
export declare const QueryDenomTracesResponse: {
|
105
|
+
encode(message: QueryDenomTracesResponse, writer?: _m0.Writer): _m0.Writer;
|
106
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponseSDKType;
|
107
|
+
fromPartial(object: DeepPartial<QueryDenomTracesResponse>): QueryDenomTracesResponse;
|
108
|
+
};
|
109
|
+
export declare const QueryParamsRequest: {
|
110
|
+
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
|
112
|
+
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
|
113
|
+
};
|
114
|
+
export declare const QueryParamsResponse: {
|
115
|
+
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
116
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType;
|
117
|
+
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
|
118
|
+
};
|