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,603 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
2
|
+
import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing";
|
3
|
+
import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
|
4
|
+
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
5
|
+
import * as _m0 from "protobufjs/minimal";
|
6
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
7
|
+
/** Tx is the standard type used for broadcasting transactions. */
|
8
|
+
export interface Tx {
|
9
|
+
/** body is the processable content of the transaction */
|
10
|
+
body: TxBody;
|
11
|
+
/**
|
12
|
+
* auth_info is the authorization related content of the transaction,
|
13
|
+
* specifically signers, signer modes and fee
|
14
|
+
*/
|
15
|
+
authInfo: AuthInfo;
|
16
|
+
/**
|
17
|
+
* signatures is a list of signatures that matches the length and order of
|
18
|
+
* AuthInfo's signer_infos to allow connecting signature meta information like
|
19
|
+
* public key and signing mode by position.
|
20
|
+
*/
|
21
|
+
signatures: Uint8Array[];
|
22
|
+
}
|
23
|
+
/** Tx is the standard type used for broadcasting transactions. */
|
24
|
+
export interface TxSDKType {
|
25
|
+
/** body is the processable content of the transaction */
|
26
|
+
body: TxBodySDKType;
|
27
|
+
/**
|
28
|
+
* auth_info is the authorization related content of the transaction,
|
29
|
+
* specifically signers, signer modes and fee
|
30
|
+
*/
|
31
|
+
auth_info: AuthInfoSDKType;
|
32
|
+
/**
|
33
|
+
* signatures is a list of signatures that matches the length and order of
|
34
|
+
* AuthInfo's signer_infos to allow connecting signature meta information like
|
35
|
+
* public key and signing mode by position.
|
36
|
+
*/
|
37
|
+
signatures: Uint8Array[];
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* TxRaw is a variant of Tx that pins the signer's exact binary representation
|
41
|
+
* of body and auth_info. This is used for signing, broadcasting and
|
42
|
+
* verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and
|
43
|
+
* the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
|
44
|
+
* as the transaction ID.
|
45
|
+
*/
|
46
|
+
export interface TxRaw {
|
47
|
+
/**
|
48
|
+
* body_bytes is a protobuf serialization of a TxBody that matches the
|
49
|
+
* representation in SignDoc.
|
50
|
+
*/
|
51
|
+
bodyBytes: Uint8Array;
|
52
|
+
/**
|
53
|
+
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
54
|
+
* representation in SignDoc.
|
55
|
+
*/
|
56
|
+
authInfoBytes: Uint8Array;
|
57
|
+
/**
|
58
|
+
* signatures is a list of signatures that matches the length and order of
|
59
|
+
* AuthInfo's signer_infos to allow connecting signature meta information like
|
60
|
+
* public key and signing mode by position.
|
61
|
+
*/
|
62
|
+
signatures: Uint8Array[];
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* TxRaw is a variant of Tx that pins the signer's exact binary representation
|
66
|
+
* of body and auth_info. This is used for signing, broadcasting and
|
67
|
+
* verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and
|
68
|
+
* the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
|
69
|
+
* as the transaction ID.
|
70
|
+
*/
|
71
|
+
export interface TxRawSDKType {
|
72
|
+
/**
|
73
|
+
* body_bytes is a protobuf serialization of a TxBody that matches the
|
74
|
+
* representation in SignDoc.
|
75
|
+
*/
|
76
|
+
body_bytes: Uint8Array;
|
77
|
+
/**
|
78
|
+
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
79
|
+
* representation in SignDoc.
|
80
|
+
*/
|
81
|
+
auth_info_bytes: Uint8Array;
|
82
|
+
/**
|
83
|
+
* signatures is a list of signatures that matches the length and order of
|
84
|
+
* AuthInfo's signer_infos to allow connecting signature meta information like
|
85
|
+
* public key and signing mode by position.
|
86
|
+
*/
|
87
|
+
signatures: Uint8Array[];
|
88
|
+
}
|
89
|
+
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
90
|
+
export interface SignDoc {
|
91
|
+
/**
|
92
|
+
* body_bytes is protobuf serialization of a TxBody that matches the
|
93
|
+
* representation in TxRaw.
|
94
|
+
*/
|
95
|
+
bodyBytes: Uint8Array;
|
96
|
+
/**
|
97
|
+
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
98
|
+
* representation in TxRaw.
|
99
|
+
*/
|
100
|
+
authInfoBytes: Uint8Array;
|
101
|
+
/**
|
102
|
+
* chain_id is the unique identifier of the chain this transaction targets.
|
103
|
+
* It prevents signed transactions from being used on another chain by an
|
104
|
+
* attacker
|
105
|
+
*/
|
106
|
+
chainId: string;
|
107
|
+
/** account_number is the account number of the account in state */
|
108
|
+
accountNumber: Long;
|
109
|
+
}
|
110
|
+
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
111
|
+
export interface SignDocSDKType {
|
112
|
+
/**
|
113
|
+
* body_bytes is protobuf serialization of a TxBody that matches the
|
114
|
+
* representation in TxRaw.
|
115
|
+
*/
|
116
|
+
body_bytes: Uint8Array;
|
117
|
+
/**
|
118
|
+
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
119
|
+
* representation in TxRaw.
|
120
|
+
*/
|
121
|
+
auth_info_bytes: Uint8Array;
|
122
|
+
/**
|
123
|
+
* chain_id is the unique identifier of the chain this transaction targets.
|
124
|
+
* It prevents signed transactions from being used on another chain by an
|
125
|
+
* attacker
|
126
|
+
*/
|
127
|
+
chain_id: string;
|
128
|
+
/** account_number is the account number of the account in state */
|
129
|
+
account_number: Long;
|
130
|
+
}
|
131
|
+
/**
|
132
|
+
* SignDocDirectAux is the type used for generating sign bytes for
|
133
|
+
* SIGN_MODE_DIRECT_AUX.
|
134
|
+
*
|
135
|
+
* Since: cosmos-sdk 0.46
|
136
|
+
*/
|
137
|
+
export interface SignDocDirectAux {
|
138
|
+
/**
|
139
|
+
* body_bytes is protobuf serialization of a TxBody that matches the
|
140
|
+
* representation in TxRaw.
|
141
|
+
*/
|
142
|
+
bodyBytes: Uint8Array;
|
143
|
+
/** public_key is the public key of the signing account. */
|
144
|
+
publicKey: Any;
|
145
|
+
/**
|
146
|
+
* chain_id is the identifier of the chain this transaction targets.
|
147
|
+
* It prevents signed transactions from being used on another chain by an
|
148
|
+
* attacker.
|
149
|
+
*/
|
150
|
+
chainId: string;
|
151
|
+
/** account_number is the account number of the account in state. */
|
152
|
+
accountNumber: Long;
|
153
|
+
/** sequence is the sequence number of the signing account. */
|
154
|
+
sequence: Long;
|
155
|
+
/**
|
156
|
+
* Tip is the optional tip used for meta-transactions. It should be left
|
157
|
+
* empty if the signer is not the tipper for this transaction.
|
158
|
+
*/
|
159
|
+
tip: Tip;
|
160
|
+
}
|
161
|
+
/**
|
162
|
+
* SignDocDirectAux is the type used for generating sign bytes for
|
163
|
+
* SIGN_MODE_DIRECT_AUX.
|
164
|
+
*
|
165
|
+
* Since: cosmos-sdk 0.46
|
166
|
+
*/
|
167
|
+
export interface SignDocDirectAuxSDKType {
|
168
|
+
/**
|
169
|
+
* body_bytes is protobuf serialization of a TxBody that matches the
|
170
|
+
* representation in TxRaw.
|
171
|
+
*/
|
172
|
+
body_bytes: Uint8Array;
|
173
|
+
/** public_key is the public key of the signing account. */
|
174
|
+
public_key: AnySDKType;
|
175
|
+
/**
|
176
|
+
* chain_id is the identifier of the chain this transaction targets.
|
177
|
+
* It prevents signed transactions from being used on another chain by an
|
178
|
+
* attacker.
|
179
|
+
*/
|
180
|
+
chain_id: string;
|
181
|
+
/** account_number is the account number of the account in state. */
|
182
|
+
account_number: Long;
|
183
|
+
/** sequence is the sequence number of the signing account. */
|
184
|
+
sequence: Long;
|
185
|
+
/**
|
186
|
+
* Tip is the optional tip used for meta-transactions. It should be left
|
187
|
+
* empty if the signer is not the tipper for this transaction.
|
188
|
+
*/
|
189
|
+
tip: TipSDKType;
|
190
|
+
}
|
191
|
+
/** TxBody is the body of a transaction that all signers sign over. */
|
192
|
+
export interface TxBody {
|
193
|
+
/**
|
194
|
+
* messages is a list of messages to be executed. The required signers of
|
195
|
+
* those messages define the number and order of elements in AuthInfo's
|
196
|
+
* signer_infos and Tx's signatures. Each required signer address is added to
|
197
|
+
* the list only the first time it occurs.
|
198
|
+
* By convention, the first required signer (usually from the first message)
|
199
|
+
* is referred to as the primary signer and pays the fee for the whole
|
200
|
+
* transaction.
|
201
|
+
*/
|
202
|
+
messages: Any[];
|
203
|
+
/**
|
204
|
+
* memo is any arbitrary note/comment to be added to the transaction.
|
205
|
+
* WARNING: in clients, any publicly exposed text should not be called memo,
|
206
|
+
* but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
|
207
|
+
*/
|
208
|
+
memo: string;
|
209
|
+
/**
|
210
|
+
* timeout is the block height after which this transaction will not
|
211
|
+
* be processed by the chain
|
212
|
+
*/
|
213
|
+
timeoutHeight: Long;
|
214
|
+
/**
|
215
|
+
* extension_options are arbitrary options that can be added by chains
|
216
|
+
* when the default options are not sufficient. If any of these are present
|
217
|
+
* and can't be handled, the transaction will be rejected
|
218
|
+
*/
|
219
|
+
extensionOptions: Any[];
|
220
|
+
/**
|
221
|
+
* extension_options are arbitrary options that can be added by chains
|
222
|
+
* when the default options are not sufficient. If any of these are present
|
223
|
+
* and can't be handled, they will be ignored
|
224
|
+
*/
|
225
|
+
nonCriticalExtensionOptions: Any[];
|
226
|
+
}
|
227
|
+
/** TxBody is the body of a transaction that all signers sign over. */
|
228
|
+
export interface TxBodySDKType {
|
229
|
+
/**
|
230
|
+
* messages is a list of messages to be executed. The required signers of
|
231
|
+
* those messages define the number and order of elements in AuthInfo's
|
232
|
+
* signer_infos and Tx's signatures. Each required signer address is added to
|
233
|
+
* the list only the first time it occurs.
|
234
|
+
* By convention, the first required signer (usually from the first message)
|
235
|
+
* is referred to as the primary signer and pays the fee for the whole
|
236
|
+
* transaction.
|
237
|
+
*/
|
238
|
+
messages: AnySDKType[];
|
239
|
+
/**
|
240
|
+
* memo is any arbitrary note/comment to be added to the transaction.
|
241
|
+
* WARNING: in clients, any publicly exposed text should not be called memo,
|
242
|
+
* but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
|
243
|
+
*/
|
244
|
+
memo: string;
|
245
|
+
/**
|
246
|
+
* timeout is the block height after which this transaction will not
|
247
|
+
* be processed by the chain
|
248
|
+
*/
|
249
|
+
timeout_height: Long;
|
250
|
+
/**
|
251
|
+
* extension_options are arbitrary options that can be added by chains
|
252
|
+
* when the default options are not sufficient. If any of these are present
|
253
|
+
* and can't be handled, the transaction will be rejected
|
254
|
+
*/
|
255
|
+
extension_options: AnySDKType[];
|
256
|
+
/**
|
257
|
+
* extension_options are arbitrary options that can be added by chains
|
258
|
+
* when the default options are not sufficient. If any of these are present
|
259
|
+
* and can't be handled, they will be ignored
|
260
|
+
*/
|
261
|
+
non_critical_extension_options: AnySDKType[];
|
262
|
+
}
|
263
|
+
/**
|
264
|
+
* AuthInfo describes the fee and signer modes that are used to sign a
|
265
|
+
* transaction.
|
266
|
+
*/
|
267
|
+
export interface AuthInfo {
|
268
|
+
/**
|
269
|
+
* signer_infos defines the signing modes for the required signers. The number
|
270
|
+
* and order of elements must match the required signers from TxBody's
|
271
|
+
* messages. The first element is the primary signer and the one which pays
|
272
|
+
* the fee.
|
273
|
+
*/
|
274
|
+
signerInfos: SignerInfo[];
|
275
|
+
/**
|
276
|
+
* Fee is the fee and gas limit for the transaction. The first signer is the
|
277
|
+
* primary signer and the one which pays the fee. The fee can be calculated
|
278
|
+
* based on the cost of evaluating the body and doing signature verification
|
279
|
+
* of the signers. This can be estimated via simulation.
|
280
|
+
*/
|
281
|
+
fee: Fee;
|
282
|
+
/**
|
283
|
+
* Tip is the optional tip used for meta-transactions.
|
284
|
+
*
|
285
|
+
* Since: cosmos-sdk 0.46
|
286
|
+
*/
|
287
|
+
tip: Tip;
|
288
|
+
}
|
289
|
+
/**
|
290
|
+
* AuthInfo describes the fee and signer modes that are used to sign a
|
291
|
+
* transaction.
|
292
|
+
*/
|
293
|
+
export interface AuthInfoSDKType {
|
294
|
+
/**
|
295
|
+
* signer_infos defines the signing modes for the required signers. The number
|
296
|
+
* and order of elements must match the required signers from TxBody's
|
297
|
+
* messages. The first element is the primary signer and the one which pays
|
298
|
+
* the fee.
|
299
|
+
*/
|
300
|
+
signer_infos: SignerInfoSDKType[];
|
301
|
+
/**
|
302
|
+
* Fee is the fee and gas limit for the transaction. The first signer is the
|
303
|
+
* primary signer and the one which pays the fee. The fee can be calculated
|
304
|
+
* based on the cost of evaluating the body and doing signature verification
|
305
|
+
* of the signers. This can be estimated via simulation.
|
306
|
+
*/
|
307
|
+
fee: FeeSDKType;
|
308
|
+
/**
|
309
|
+
* Tip is the optional tip used for meta-transactions.
|
310
|
+
*
|
311
|
+
* Since: cosmos-sdk 0.46
|
312
|
+
*/
|
313
|
+
tip: TipSDKType;
|
314
|
+
}
|
315
|
+
/**
|
316
|
+
* SignerInfo describes the public key and signing mode of a single top-level
|
317
|
+
* signer.
|
318
|
+
*/
|
319
|
+
export interface SignerInfo {
|
320
|
+
/**
|
321
|
+
* public_key is the public key of the signer. It is optional for accounts
|
322
|
+
* that already exist in state. If unset, the verifier can use the required \
|
323
|
+
* signer address for this position and lookup the public key.
|
324
|
+
*/
|
325
|
+
publicKey: Any;
|
326
|
+
/**
|
327
|
+
* mode_info describes the signing mode of the signer and is a nested
|
328
|
+
* structure to support nested multisig pubkey's
|
329
|
+
*/
|
330
|
+
modeInfo: ModeInfo;
|
331
|
+
/**
|
332
|
+
* sequence is the sequence of the account, which describes the
|
333
|
+
* number of committed transactions signed by a given address. It is used to
|
334
|
+
* prevent replay attacks.
|
335
|
+
*/
|
336
|
+
sequence: Long;
|
337
|
+
}
|
338
|
+
/**
|
339
|
+
* SignerInfo describes the public key and signing mode of a single top-level
|
340
|
+
* signer.
|
341
|
+
*/
|
342
|
+
export interface SignerInfoSDKType {
|
343
|
+
/**
|
344
|
+
* public_key is the public key of the signer. It is optional for accounts
|
345
|
+
* that already exist in state. If unset, the verifier can use the required \
|
346
|
+
* signer address for this position and lookup the public key.
|
347
|
+
*/
|
348
|
+
public_key: AnySDKType;
|
349
|
+
/**
|
350
|
+
* mode_info describes the signing mode of the signer and is a nested
|
351
|
+
* structure to support nested multisig pubkey's
|
352
|
+
*/
|
353
|
+
mode_info: ModeInfoSDKType;
|
354
|
+
/**
|
355
|
+
* sequence is the sequence of the account, which describes the
|
356
|
+
* number of committed transactions signed by a given address. It is used to
|
357
|
+
* prevent replay attacks.
|
358
|
+
*/
|
359
|
+
sequence: Long;
|
360
|
+
}
|
361
|
+
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
362
|
+
export interface ModeInfo {
|
363
|
+
/** single represents a single signer */
|
364
|
+
single?: ModeInfo_Single;
|
365
|
+
/** multi represents a nested multisig signer */
|
366
|
+
multi?: ModeInfo_Multi;
|
367
|
+
}
|
368
|
+
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
369
|
+
export interface ModeInfoSDKType {
|
370
|
+
/** single represents a single signer */
|
371
|
+
single?: ModeInfo_SingleSDKType;
|
372
|
+
/** multi represents a nested multisig signer */
|
373
|
+
multi?: ModeInfo_MultiSDKType;
|
374
|
+
}
|
375
|
+
/**
|
376
|
+
* Single is the mode info for a single signer. It is structured as a message
|
377
|
+
* to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
|
378
|
+
* future
|
379
|
+
*/
|
380
|
+
export interface ModeInfo_Single {
|
381
|
+
/** mode is the signing mode of the single signer */
|
382
|
+
mode: SignMode;
|
383
|
+
}
|
384
|
+
/**
|
385
|
+
* Single is the mode info for a single signer. It is structured as a message
|
386
|
+
* to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
|
387
|
+
* future
|
388
|
+
*/
|
389
|
+
export interface ModeInfo_SingleSDKType {
|
390
|
+
/** mode is the signing mode of the single signer */
|
391
|
+
mode: SignModeSDKType;
|
392
|
+
}
|
393
|
+
/** Multi is the mode info for a multisig public key */
|
394
|
+
export interface ModeInfo_Multi {
|
395
|
+
/** bitarray specifies which keys within the multisig are signing */
|
396
|
+
bitarray: CompactBitArray;
|
397
|
+
/**
|
398
|
+
* mode_infos is the corresponding modes of the signers of the multisig
|
399
|
+
* which could include nested multisig public keys
|
400
|
+
*/
|
401
|
+
modeInfos: ModeInfo[];
|
402
|
+
}
|
403
|
+
/** Multi is the mode info for a multisig public key */
|
404
|
+
export interface ModeInfo_MultiSDKType {
|
405
|
+
/** bitarray specifies which keys within the multisig are signing */
|
406
|
+
bitarray: CompactBitArraySDKType;
|
407
|
+
/**
|
408
|
+
* mode_infos is the corresponding modes of the signers of the multisig
|
409
|
+
* which could include nested multisig public keys
|
410
|
+
*/
|
411
|
+
mode_infos: ModeInfoSDKType[];
|
412
|
+
}
|
413
|
+
/**
|
414
|
+
* Fee includes the amount of coins paid in fees and the maximum
|
415
|
+
* gas to be used by the transaction. The ratio yields an effective "gasprice",
|
416
|
+
* which must be above some miminum to be accepted into the mempool.
|
417
|
+
*/
|
418
|
+
export interface Fee {
|
419
|
+
/** amount is the amount of coins to be paid as a fee */
|
420
|
+
amount: Coin[];
|
421
|
+
/**
|
422
|
+
* gas_limit is the maximum gas that can be used in transaction processing
|
423
|
+
* before an out of gas error occurs
|
424
|
+
*/
|
425
|
+
gasLimit: Long;
|
426
|
+
/**
|
427
|
+
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
428
|
+
* the payer must be a tx signer (and thus have signed this field in AuthInfo).
|
429
|
+
* setting this field does *not* change the ordering of required signers for the transaction.
|
430
|
+
*/
|
431
|
+
payer: string;
|
432
|
+
/**
|
433
|
+
* if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
|
434
|
+
* to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
|
435
|
+
* not support fee grants, this will fail
|
436
|
+
*/
|
437
|
+
granter: string;
|
438
|
+
}
|
439
|
+
/**
|
440
|
+
* Fee includes the amount of coins paid in fees and the maximum
|
441
|
+
* gas to be used by the transaction. The ratio yields an effective "gasprice",
|
442
|
+
* which must be above some miminum to be accepted into the mempool.
|
443
|
+
*/
|
444
|
+
export interface FeeSDKType {
|
445
|
+
/** amount is the amount of coins to be paid as a fee */
|
446
|
+
amount: CoinSDKType[];
|
447
|
+
/**
|
448
|
+
* gas_limit is the maximum gas that can be used in transaction processing
|
449
|
+
* before an out of gas error occurs
|
450
|
+
*/
|
451
|
+
gas_limit: Long;
|
452
|
+
/**
|
453
|
+
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
454
|
+
* the payer must be a tx signer (and thus have signed this field in AuthInfo).
|
455
|
+
* setting this field does *not* change the ordering of required signers for the transaction.
|
456
|
+
*/
|
457
|
+
payer: string;
|
458
|
+
/**
|
459
|
+
* if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
|
460
|
+
* to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
|
461
|
+
* not support fee grants, this will fail
|
462
|
+
*/
|
463
|
+
granter: string;
|
464
|
+
}
|
465
|
+
/**
|
466
|
+
* Tip is the tip used for meta-transactions.
|
467
|
+
*
|
468
|
+
* Since: cosmos-sdk 0.46
|
469
|
+
*/
|
470
|
+
export interface Tip {
|
471
|
+
/** amount is the amount of the tip */
|
472
|
+
amount: Coin[];
|
473
|
+
/** tipper is the address of the account paying for the tip */
|
474
|
+
tipper: string;
|
475
|
+
}
|
476
|
+
/**
|
477
|
+
* Tip is the tip used for meta-transactions.
|
478
|
+
*
|
479
|
+
* Since: cosmos-sdk 0.46
|
480
|
+
*/
|
481
|
+
export interface TipSDKType {
|
482
|
+
/** amount is the amount of the tip */
|
483
|
+
amount: CoinSDKType[];
|
484
|
+
/** tipper is the address of the account paying for the tip */
|
485
|
+
tipper: string;
|
486
|
+
}
|
487
|
+
/**
|
488
|
+
* AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
|
489
|
+
* tipper) builds and sends to the fee payer (who will build and broadcast the
|
490
|
+
* actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
|
491
|
+
* by the node if sent directly as-is.
|
492
|
+
*
|
493
|
+
* Since: cosmos-sdk 0.46
|
494
|
+
*/
|
495
|
+
export interface AuxSignerData {
|
496
|
+
/**
|
497
|
+
* address is the bech32-encoded address of the auxiliary signer. If using
|
498
|
+
* AuxSignerData across different chains, the bech32 prefix of the target
|
499
|
+
* chain (where the final transaction is broadcasted) should be used.
|
500
|
+
*/
|
501
|
+
address: string;
|
502
|
+
/**
|
503
|
+
* sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
|
504
|
+
* signs. Note: we use the same sign doc even if we're signing with
|
505
|
+
* LEGACY_AMINO_JSON.
|
506
|
+
*/
|
507
|
+
signDoc: SignDocDirectAux;
|
508
|
+
/** mode is the signing mode of the single signer */
|
509
|
+
mode: SignMode;
|
510
|
+
/** sig is the signature of the sign doc. */
|
511
|
+
sig: Uint8Array;
|
512
|
+
}
|
513
|
+
/**
|
514
|
+
* AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
|
515
|
+
* tipper) builds and sends to the fee payer (who will build and broadcast the
|
516
|
+
* actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
|
517
|
+
* by the node if sent directly as-is.
|
518
|
+
*
|
519
|
+
* Since: cosmos-sdk 0.46
|
520
|
+
*/
|
521
|
+
export interface AuxSignerDataSDKType {
|
522
|
+
/**
|
523
|
+
* address is the bech32-encoded address of the auxiliary signer. If using
|
524
|
+
* AuxSignerData across different chains, the bech32 prefix of the target
|
525
|
+
* chain (where the final transaction is broadcasted) should be used.
|
526
|
+
*/
|
527
|
+
address: string;
|
528
|
+
/**
|
529
|
+
* sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
|
530
|
+
* signs. Note: we use the same sign doc even if we're signing with
|
531
|
+
* LEGACY_AMINO_JSON.
|
532
|
+
*/
|
533
|
+
sign_doc: SignDocDirectAuxSDKType;
|
534
|
+
/** mode is the signing mode of the single signer */
|
535
|
+
mode: SignModeSDKType;
|
536
|
+
/** sig is the signature of the sign doc. */
|
537
|
+
sig: Uint8Array;
|
538
|
+
}
|
539
|
+
export declare const Tx: {
|
540
|
+
encode(message: Tx, writer?: _m0.Writer): _m0.Writer;
|
541
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Tx;
|
542
|
+
fromPartial(object: DeepPartial<Tx>): Tx;
|
543
|
+
};
|
544
|
+
export declare const TxRaw: {
|
545
|
+
encode(message: TxRaw, writer?: _m0.Writer): _m0.Writer;
|
546
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw;
|
547
|
+
fromPartial(object: DeepPartial<TxRaw>): TxRaw;
|
548
|
+
};
|
549
|
+
export declare const SignDoc: {
|
550
|
+
encode(message: SignDoc, writer?: _m0.Writer): _m0.Writer;
|
551
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc;
|
552
|
+
fromPartial(object: DeepPartial<SignDoc>): SignDoc;
|
553
|
+
};
|
554
|
+
export declare const SignDocDirectAux: {
|
555
|
+
encode(message: SignDocDirectAux, writer?: _m0.Writer): _m0.Writer;
|
556
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux;
|
557
|
+
fromPartial(object: DeepPartial<SignDocDirectAux>): SignDocDirectAux;
|
558
|
+
};
|
559
|
+
export declare const TxBody: {
|
560
|
+
encode(message: TxBody, writer?: _m0.Writer): _m0.Writer;
|
561
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TxBody;
|
562
|
+
fromPartial(object: DeepPartial<TxBody>): TxBody;
|
563
|
+
};
|
564
|
+
export declare const AuthInfo: {
|
565
|
+
encode(message: AuthInfo, writer?: _m0.Writer): _m0.Writer;
|
566
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo;
|
567
|
+
fromPartial(object: DeepPartial<AuthInfo>): AuthInfo;
|
568
|
+
};
|
569
|
+
export declare const SignerInfo: {
|
570
|
+
encode(message: SignerInfo, writer?: _m0.Writer): _m0.Writer;
|
571
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo;
|
572
|
+
fromPartial(object: DeepPartial<SignerInfo>): SignerInfo;
|
573
|
+
};
|
574
|
+
export declare const ModeInfo: {
|
575
|
+
encode(message: ModeInfo, writer?: _m0.Writer): _m0.Writer;
|
576
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo;
|
577
|
+
fromPartial(object: DeepPartial<ModeInfo>): ModeInfo;
|
578
|
+
};
|
579
|
+
export declare const ModeInfo_Single: {
|
580
|
+
encode(message: ModeInfo_Single, writer?: _m0.Writer): _m0.Writer;
|
581
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single;
|
582
|
+
fromPartial(object: DeepPartial<ModeInfo_Single>): ModeInfo_Single;
|
583
|
+
};
|
584
|
+
export declare const ModeInfo_Multi: {
|
585
|
+
encode(message: ModeInfo_Multi, writer?: _m0.Writer): _m0.Writer;
|
586
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi;
|
587
|
+
fromPartial(object: DeepPartial<ModeInfo_Multi>): ModeInfo_Multi;
|
588
|
+
};
|
589
|
+
export declare const Fee: {
|
590
|
+
encode(message: Fee, writer?: _m0.Writer): _m0.Writer;
|
591
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Fee;
|
592
|
+
fromPartial(object: DeepPartial<Fee>): Fee;
|
593
|
+
};
|
594
|
+
export declare const Tip: {
|
595
|
+
encode(message: Tip, writer?: _m0.Writer): _m0.Writer;
|
596
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Tip;
|
597
|
+
fromPartial(object: DeepPartial<Tip>): Tip;
|
598
|
+
};
|
599
|
+
export declare const AuxSignerData: {
|
600
|
+
encode(message: AuxSignerData, writer?: _m0.Writer): _m0.Writer;
|
601
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData;
|
602
|
+
fromPartial(object: DeepPartial<AuxSignerData>): AuxSignerData;
|
603
|
+
};
|