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,46 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
|
5
|
+
* It's needed for Any serialization and SDK compatibility.
|
6
|
+
* It must not be used in a non Tendermint key context because it doesn't implement
|
7
|
+
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
|
8
|
+
* then you must create a new proto message and follow ADR-28 for Address construction.
|
9
|
+
*/
|
10
|
+
export interface PubKey {
|
11
|
+
key: Uint8Array;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
|
15
|
+
* It's needed for Any serialization and SDK compatibility.
|
16
|
+
* It must not be used in a non Tendermint key context because it doesn't implement
|
17
|
+
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
|
18
|
+
* then you must create a new proto message and follow ADR-28 for Address construction.
|
19
|
+
*/
|
20
|
+
export interface PubKeySDKType {
|
21
|
+
key: Uint8Array;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Deprecated: PrivKey defines a ed25519 private key.
|
25
|
+
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
|
26
|
+
*/
|
27
|
+
export interface PrivKey {
|
28
|
+
key: Uint8Array;
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Deprecated: PrivKey defines a ed25519 private key.
|
32
|
+
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
|
33
|
+
*/
|
34
|
+
export interface PrivKeySDKType {
|
35
|
+
key: Uint8Array;
|
36
|
+
}
|
37
|
+
export declare const PubKey: {
|
38
|
+
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
|
40
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey;
|
41
|
+
};
|
42
|
+
export declare const PrivKey: {
|
43
|
+
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
|
44
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
|
45
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
|
46
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/** BIP44Params is used as path field in ledger item in Record. */
|
4
|
+
export interface BIP44Params {
|
5
|
+
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
|
6
|
+
purpose: number;
|
7
|
+
/** coin_type is a constant that improves privacy */
|
8
|
+
coinType: number;
|
9
|
+
/** account splits the key space into independent user identities */
|
10
|
+
account: number;
|
11
|
+
/**
|
12
|
+
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
13
|
+
* chain.
|
14
|
+
*/
|
15
|
+
change: boolean;
|
16
|
+
/** address_index is used as child index in BIP32 derivation */
|
17
|
+
addressIndex: number;
|
18
|
+
}
|
19
|
+
/** BIP44Params is used as path field in ledger item in Record. */
|
20
|
+
export interface BIP44ParamsSDKType {
|
21
|
+
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
|
22
|
+
purpose: number;
|
23
|
+
/** coin_type is a constant that improves privacy */
|
24
|
+
coin_type: number;
|
25
|
+
/** account splits the key space into independent user identities */
|
26
|
+
account: number;
|
27
|
+
/**
|
28
|
+
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
29
|
+
* chain.
|
30
|
+
*/
|
31
|
+
change: boolean;
|
32
|
+
/** address_index is used as child index in BIP32 derivation */
|
33
|
+
address_index: number;
|
34
|
+
}
|
35
|
+
export declare const BIP44Params: {
|
36
|
+
encode(message: BIP44Params, writer?: _m0.Writer): _m0.Writer;
|
37
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params;
|
38
|
+
fromPartial(object: DeepPartial<BIP44Params>): BIP44Params;
|
39
|
+
};
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
2
|
+
import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
5
|
+
/** Record is used for representing a key in the keyring. */
|
6
|
+
export interface Record {
|
7
|
+
/** name represents a name of Record */
|
8
|
+
name: string;
|
9
|
+
/** pub_key represents a public key in any format */
|
10
|
+
pubKey: Any;
|
11
|
+
/** local stores the public information about a locally stored key */
|
12
|
+
local?: Record_Local;
|
13
|
+
/** ledger stores the public information about a Ledger key */
|
14
|
+
ledger?: Record_Ledger;
|
15
|
+
/** Multi does not store any information. */
|
16
|
+
multi?: Record_Multi;
|
17
|
+
/** Offline does not store any information. */
|
18
|
+
offline?: Record_Offline;
|
19
|
+
}
|
20
|
+
/** Record is used for representing a key in the keyring. */
|
21
|
+
export interface RecordSDKType {
|
22
|
+
/** name represents a name of Record */
|
23
|
+
name: string;
|
24
|
+
/** pub_key represents a public key in any format */
|
25
|
+
pub_key: AnySDKType;
|
26
|
+
/** local stores the public information about a locally stored key */
|
27
|
+
local?: Record_LocalSDKType;
|
28
|
+
/** ledger stores the public information about a Ledger key */
|
29
|
+
ledger?: Record_LedgerSDKType;
|
30
|
+
/** Multi does not store any information. */
|
31
|
+
multi?: Record_MultiSDKType;
|
32
|
+
/** Offline does not store any information. */
|
33
|
+
offline?: Record_OfflineSDKType;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* Item is a keyring item stored in a keyring backend.
|
37
|
+
* Local item
|
38
|
+
*/
|
39
|
+
export interface Record_Local {
|
40
|
+
privKey: Any;
|
41
|
+
privKeyType: string;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Item is a keyring item stored in a keyring backend.
|
45
|
+
* Local item
|
46
|
+
*/
|
47
|
+
export interface Record_LocalSDKType {
|
48
|
+
priv_key: AnySDKType;
|
49
|
+
priv_key_type: string;
|
50
|
+
}
|
51
|
+
/** Ledger item */
|
52
|
+
export interface Record_Ledger {
|
53
|
+
path: BIP44Params;
|
54
|
+
}
|
55
|
+
/** Ledger item */
|
56
|
+
export interface Record_LedgerSDKType {
|
57
|
+
path: BIP44ParamsSDKType;
|
58
|
+
}
|
59
|
+
/** Multi item */
|
60
|
+
export interface Record_Multi {
|
61
|
+
}
|
62
|
+
/** Multi item */
|
63
|
+
export interface Record_MultiSDKType {
|
64
|
+
}
|
65
|
+
/** Offline item */
|
66
|
+
export interface Record_Offline {
|
67
|
+
}
|
68
|
+
/** Offline item */
|
69
|
+
export interface Record_OfflineSDKType {
|
70
|
+
}
|
71
|
+
export declare const Record: {
|
72
|
+
encode(message: Record, writer?: _m0.Writer): _m0.Writer;
|
73
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record;
|
74
|
+
fromPartial(object: DeepPartial<Record>): Record;
|
75
|
+
};
|
76
|
+
export declare const Record_Local: {
|
77
|
+
encode(message: Record_Local, writer?: _m0.Writer): _m0.Writer;
|
78
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local;
|
79
|
+
fromPartial(object: DeepPartial<Record_Local>): Record_Local;
|
80
|
+
};
|
81
|
+
export declare const Record_Ledger: {
|
82
|
+
encode(message: Record_Ledger, writer?: _m0.Writer): _m0.Writer;
|
83
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger;
|
84
|
+
fromPartial(object: DeepPartial<Record_Ledger>): Record_Ledger;
|
85
|
+
};
|
86
|
+
export declare const Record_Multi: {
|
87
|
+
encode(_: Record_Multi, writer?: _m0.Writer): _m0.Writer;
|
88
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi;
|
89
|
+
fromPartial(_: DeepPartial<Record_Multi>): Record_Multi;
|
90
|
+
};
|
91
|
+
export declare const Record_Offline: {
|
92
|
+
encode(_: Record_Offline, writer?: _m0.Writer): _m0.Writer;
|
93
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline;
|
94
|
+
fromPartial(_: DeepPartial<Record_Offline>): Record_Offline;
|
95
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/**
|
5
|
+
* LegacyAminoPubKey specifies a public key type
|
6
|
+
* which nests multiple public keys and a threshold,
|
7
|
+
* it uses legacy amino address rules.
|
8
|
+
*/
|
9
|
+
export interface LegacyAminoPubKey {
|
10
|
+
threshold: number;
|
11
|
+
publicKeys: Any[];
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* LegacyAminoPubKey specifies a public key type
|
15
|
+
* which nests multiple public keys and a threshold,
|
16
|
+
* it uses legacy amino address rules.
|
17
|
+
*/
|
18
|
+
export interface LegacyAminoPubKeySDKType {
|
19
|
+
threshold: number;
|
20
|
+
public_keys: AnySDKType[];
|
21
|
+
}
|
22
|
+
export declare const LegacyAminoPubKey: {
|
23
|
+
encode(message: LegacyAminoPubKey, writer?: _m0.Writer): _m0.Writer;
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey;
|
25
|
+
fromPartial(object: DeepPartial<LegacyAminoPubKey>): LegacyAminoPubKey;
|
26
|
+
};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
|
5
|
+
* See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
|
6
|
+
* signed and with which modes.
|
7
|
+
*/
|
8
|
+
export interface MultiSignature {
|
9
|
+
signatures: Uint8Array[];
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
|
13
|
+
* See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
|
14
|
+
* signed and with which modes.
|
15
|
+
*/
|
16
|
+
export interface MultiSignatureSDKType {
|
17
|
+
signatures: Uint8Array[];
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* CompactBitArray is an implementation of a space efficient bit array.
|
21
|
+
* This is used to ensure that the encoded data takes up a minimal amount of
|
22
|
+
* space after proto encoding.
|
23
|
+
* This is not thread safe, and is not intended for concurrent usage.
|
24
|
+
*/
|
25
|
+
export interface CompactBitArray {
|
26
|
+
extraBitsStored: number;
|
27
|
+
elems: Uint8Array;
|
28
|
+
}
|
29
|
+
/**
|
30
|
+
* CompactBitArray is an implementation of a space efficient bit array.
|
31
|
+
* This is used to ensure that the encoded data takes up a minimal amount of
|
32
|
+
* space after proto encoding.
|
33
|
+
* This is not thread safe, and is not intended for concurrent usage.
|
34
|
+
*/
|
35
|
+
export interface CompactBitArraySDKType {
|
36
|
+
extra_bits_stored: number;
|
37
|
+
elems: Uint8Array;
|
38
|
+
}
|
39
|
+
export declare const MultiSignature: {
|
40
|
+
encode(message: MultiSignature, writer?: _m0.Writer): _m0.Writer;
|
41
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature;
|
42
|
+
fromPartial(object: DeepPartial<MultiSignature>): MultiSignature;
|
43
|
+
};
|
44
|
+
export declare const CompactBitArray: {
|
45
|
+
encode(message: CompactBitArray, writer?: _m0.Writer): _m0.Writer;
|
46
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray;
|
47
|
+
fromPartial(object: DeepPartial<CompactBitArray>): CompactBitArray;
|
48
|
+
};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/**
|
4
|
+
* PubKey defines a secp256k1 public key
|
5
|
+
* Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte
|
6
|
+
* if the y-coordinate is the lexicographically largest of the two associated with
|
7
|
+
* the x-coordinate. Otherwise the first byte is a 0x03.
|
8
|
+
* This prefix is followed with the x-coordinate.
|
9
|
+
*/
|
10
|
+
export interface PubKey {
|
11
|
+
key: Uint8Array;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* PubKey defines a secp256k1 public key
|
15
|
+
* Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte
|
16
|
+
* if the y-coordinate is the lexicographically largest of the two associated with
|
17
|
+
* the x-coordinate. Otherwise the first byte is a 0x03.
|
18
|
+
* This prefix is followed with the x-coordinate.
|
19
|
+
*/
|
20
|
+
export interface PubKeySDKType {
|
21
|
+
key: Uint8Array;
|
22
|
+
}
|
23
|
+
/** PrivKey defines a secp256k1 private key. */
|
24
|
+
export interface PrivKey {
|
25
|
+
key: Uint8Array;
|
26
|
+
}
|
27
|
+
/** PrivKey defines a secp256k1 private key. */
|
28
|
+
export interface PrivKeySDKType {
|
29
|
+
key: Uint8Array;
|
30
|
+
}
|
31
|
+
export declare const PubKey: {
|
32
|
+
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
|
33
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
|
34
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey;
|
35
|
+
};
|
36
|
+
export declare const PrivKey: {
|
37
|
+
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
|
39
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
|
40
|
+
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
3
|
+
/** PubKey defines a secp256r1 ECDSA public key. */
|
4
|
+
export interface PubKey {
|
5
|
+
/**
|
6
|
+
* Point on secp256r1 curve in a compressed representation as specified in section
|
7
|
+
* 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998
|
8
|
+
*/
|
9
|
+
key: Uint8Array;
|
10
|
+
}
|
11
|
+
/** PubKey defines a secp256r1 ECDSA public key. */
|
12
|
+
export interface PubKeySDKType {
|
13
|
+
/**
|
14
|
+
* Point on secp256r1 curve in a compressed representation as specified in section
|
15
|
+
* 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998
|
16
|
+
*/
|
17
|
+
key: Uint8Array;
|
18
|
+
}
|
19
|
+
/** PrivKey defines a secp256r1 ECDSA private key. */
|
20
|
+
export interface PrivKey {
|
21
|
+
/** secret number serialized using big-endian encoding */
|
22
|
+
secret: Uint8Array;
|
23
|
+
}
|
24
|
+
/** PrivKey defines a secp256r1 ECDSA private key. */
|
25
|
+
export interface PrivKeySDKType {
|
26
|
+
/** secret number serialized using big-endian encoding */
|
27
|
+
secret: Uint8Array;
|
28
|
+
}
|
29
|
+
export declare const PubKey: {
|
30
|
+
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
|
32
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey;
|
33
|
+
};
|
34
|
+
export declare const PrivKey: {
|
35
|
+
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
|
36
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
|
37
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
|
38
|
+
};
|
@@ -0,0 +1,281 @@
|
|
1
|
+
import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
4
|
+
/** Params defines the set of params for the distribution module. */
|
5
|
+
export interface Params {
|
6
|
+
communityTax: string;
|
7
|
+
baseProposerReward: string;
|
8
|
+
bonusProposerReward: string;
|
9
|
+
withdrawAddrEnabled: boolean;
|
10
|
+
}
|
11
|
+
/** Params defines the set of params for the distribution module. */
|
12
|
+
export interface ParamsSDKType {
|
13
|
+
community_tax: string;
|
14
|
+
base_proposer_reward: string;
|
15
|
+
bonus_proposer_reward: string;
|
16
|
+
withdraw_addr_enabled: boolean;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
20
|
+
* Height is implicit within the store key.
|
21
|
+
* Cumulative reward ratio is the sum from the zeroeth period
|
22
|
+
* until this period of rewards / tokens, per the spec.
|
23
|
+
* The reference count indicates the number of objects
|
24
|
+
* which might need to reference this historical entry at any point.
|
25
|
+
* ReferenceCount =
|
26
|
+
* number of outstanding delegations which ended the associated period (and
|
27
|
+
* might need to read that record)
|
28
|
+
* + number of slashes which ended the associated period (and might need to
|
29
|
+
* read that record)
|
30
|
+
* + one per validator for the zeroeth period, set on initialization
|
31
|
+
*/
|
32
|
+
export interface ValidatorHistoricalRewards {
|
33
|
+
cumulativeRewardRatio: DecCoin[];
|
34
|
+
referenceCount: number;
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
38
|
+
* Height is implicit within the store key.
|
39
|
+
* Cumulative reward ratio is the sum from the zeroeth period
|
40
|
+
* until this period of rewards / tokens, per the spec.
|
41
|
+
* The reference count indicates the number of objects
|
42
|
+
* which might need to reference this historical entry at any point.
|
43
|
+
* ReferenceCount =
|
44
|
+
* number of outstanding delegations which ended the associated period (and
|
45
|
+
* might need to read that record)
|
46
|
+
* + number of slashes which ended the associated period (and might need to
|
47
|
+
* read that record)
|
48
|
+
* + one per validator for the zeroeth period, set on initialization
|
49
|
+
*/
|
50
|
+
export interface ValidatorHistoricalRewardsSDKType {
|
51
|
+
cumulative_reward_ratio: DecCoinSDKType[];
|
52
|
+
reference_count: number;
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* ValidatorCurrentRewards represents current rewards and current
|
56
|
+
* period for a validator kept as a running counter and incremented
|
57
|
+
* each block as long as the validator's tokens remain constant.
|
58
|
+
*/
|
59
|
+
export interface ValidatorCurrentRewards {
|
60
|
+
rewards: DecCoin[];
|
61
|
+
period: Long;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* ValidatorCurrentRewards represents current rewards and current
|
65
|
+
* period for a validator kept as a running counter and incremented
|
66
|
+
* each block as long as the validator's tokens remain constant.
|
67
|
+
*/
|
68
|
+
export interface ValidatorCurrentRewardsSDKType {
|
69
|
+
rewards: DecCoinSDKType[];
|
70
|
+
period: Long;
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* ValidatorAccumulatedCommission represents accumulated commission
|
74
|
+
* for a validator kept as a running counter, can be withdrawn at any time.
|
75
|
+
*/
|
76
|
+
export interface ValidatorAccumulatedCommission {
|
77
|
+
commission: DecCoin[];
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* ValidatorAccumulatedCommission represents accumulated commission
|
81
|
+
* for a validator kept as a running counter, can be withdrawn at any time.
|
82
|
+
*/
|
83
|
+
export interface ValidatorAccumulatedCommissionSDKType {
|
84
|
+
commission: DecCoinSDKType[];
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
88
|
+
* for a validator inexpensive to track, allows simple sanity checks.
|
89
|
+
*/
|
90
|
+
export interface ValidatorOutstandingRewards {
|
91
|
+
rewards: DecCoin[];
|
92
|
+
}
|
93
|
+
/**
|
94
|
+
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
95
|
+
* for a validator inexpensive to track, allows simple sanity checks.
|
96
|
+
*/
|
97
|
+
export interface ValidatorOutstandingRewardsSDKType {
|
98
|
+
rewards: DecCoinSDKType[];
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* ValidatorSlashEvent represents a validator slash event.
|
102
|
+
* Height is implicit within the store key.
|
103
|
+
* This is needed to calculate appropriate amount of staking tokens
|
104
|
+
* for delegations which are withdrawn after a slash has occurred.
|
105
|
+
*/
|
106
|
+
export interface ValidatorSlashEvent {
|
107
|
+
validatorPeriod: Long;
|
108
|
+
fraction: string;
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* ValidatorSlashEvent represents a validator slash event.
|
112
|
+
* Height is implicit within the store key.
|
113
|
+
* This is needed to calculate appropriate amount of staking tokens
|
114
|
+
* for delegations which are withdrawn after a slash has occurred.
|
115
|
+
*/
|
116
|
+
export interface ValidatorSlashEventSDKType {
|
117
|
+
validator_period: Long;
|
118
|
+
fraction: string;
|
119
|
+
}
|
120
|
+
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
121
|
+
export interface ValidatorSlashEvents {
|
122
|
+
validatorSlashEvents: ValidatorSlashEvent[];
|
123
|
+
}
|
124
|
+
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
125
|
+
export interface ValidatorSlashEventsSDKType {
|
126
|
+
validator_slash_events: ValidatorSlashEventSDKType[];
|
127
|
+
}
|
128
|
+
/** FeePool is the global fee pool for distribution. */
|
129
|
+
export interface FeePool {
|
130
|
+
communityPool: DecCoin[];
|
131
|
+
}
|
132
|
+
/** FeePool is the global fee pool for distribution. */
|
133
|
+
export interface FeePoolSDKType {
|
134
|
+
community_pool: DecCoinSDKType[];
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
138
|
+
* together with how many coins are proposed to be spent, and to which
|
139
|
+
* recipient account.
|
140
|
+
*/
|
141
|
+
export interface CommunityPoolSpendProposal {
|
142
|
+
title: string;
|
143
|
+
description: string;
|
144
|
+
recipient: string;
|
145
|
+
amount: Coin[];
|
146
|
+
}
|
147
|
+
/**
|
148
|
+
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
149
|
+
* together with how many coins are proposed to be spent, and to which
|
150
|
+
* recipient account.
|
151
|
+
*/
|
152
|
+
export interface CommunityPoolSpendProposalSDKType {
|
153
|
+
title: string;
|
154
|
+
description: string;
|
155
|
+
recipient: string;
|
156
|
+
amount: CoinSDKType[];
|
157
|
+
}
|
158
|
+
/**
|
159
|
+
* DelegatorStartingInfo represents the starting info for a delegator reward
|
160
|
+
* period. It tracks the previous validator period, the delegation's amount of
|
161
|
+
* staking token, and the creation height (to check later on if any slashes have
|
162
|
+
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
|
163
|
+
* the delegators within the validator may be left with less than a full token,
|
164
|
+
* thus sdk.Dec is used.
|
165
|
+
*/
|
166
|
+
export interface DelegatorStartingInfo {
|
167
|
+
previousPeriod: Long;
|
168
|
+
stake: string;
|
169
|
+
height: Long;
|
170
|
+
}
|
171
|
+
/**
|
172
|
+
* DelegatorStartingInfo represents the starting info for a delegator reward
|
173
|
+
* period. It tracks the previous validator period, the delegation's amount of
|
174
|
+
* staking token, and the creation height (to check later on if any slashes have
|
175
|
+
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
|
176
|
+
* the delegators within the validator may be left with less than a full token,
|
177
|
+
* thus sdk.Dec is used.
|
178
|
+
*/
|
179
|
+
export interface DelegatorStartingInfoSDKType {
|
180
|
+
previous_period: Long;
|
181
|
+
stake: string;
|
182
|
+
height: Long;
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* DelegationDelegatorReward represents the properties
|
186
|
+
* of a delegator's delegation reward.
|
187
|
+
*/
|
188
|
+
export interface DelegationDelegatorReward {
|
189
|
+
validatorAddress: string;
|
190
|
+
reward: DecCoin[];
|
191
|
+
}
|
192
|
+
/**
|
193
|
+
* DelegationDelegatorReward represents the properties
|
194
|
+
* of a delegator's delegation reward.
|
195
|
+
*/
|
196
|
+
export interface DelegationDelegatorRewardSDKType {
|
197
|
+
validator_address: string;
|
198
|
+
reward: DecCoinSDKType[];
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
202
|
+
* with a deposit
|
203
|
+
*/
|
204
|
+
export interface CommunityPoolSpendProposalWithDeposit {
|
205
|
+
title: string;
|
206
|
+
description: string;
|
207
|
+
recipient: string;
|
208
|
+
amount: string;
|
209
|
+
deposit: string;
|
210
|
+
}
|
211
|
+
/**
|
212
|
+
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
213
|
+
* with a deposit
|
214
|
+
*/
|
215
|
+
export interface CommunityPoolSpendProposalWithDepositSDKType {
|
216
|
+
title: string;
|
217
|
+
description: string;
|
218
|
+
recipient: string;
|
219
|
+
amount: string;
|
220
|
+
deposit: string;
|
221
|
+
}
|
222
|
+
export declare const Params: {
|
223
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
224
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
225
|
+
fromPartial(object: DeepPartial<Params>): Params;
|
226
|
+
};
|
227
|
+
export declare const ValidatorHistoricalRewards: {
|
228
|
+
encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer;
|
229
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards;
|
230
|
+
fromPartial(object: DeepPartial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards;
|
231
|
+
};
|
232
|
+
export declare const ValidatorCurrentRewards: {
|
233
|
+
encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer;
|
234
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards;
|
235
|
+
fromPartial(object: DeepPartial<ValidatorCurrentRewards>): ValidatorCurrentRewards;
|
236
|
+
};
|
237
|
+
export declare const ValidatorAccumulatedCommission: {
|
238
|
+
encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer;
|
239
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission;
|
240
|
+
fromPartial(object: DeepPartial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission;
|
241
|
+
};
|
242
|
+
export declare const ValidatorOutstandingRewards: {
|
243
|
+
encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer;
|
244
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards;
|
245
|
+
fromPartial(object: DeepPartial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards;
|
246
|
+
};
|
247
|
+
export declare const ValidatorSlashEvent: {
|
248
|
+
encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer;
|
249
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent;
|
250
|
+
fromPartial(object: DeepPartial<ValidatorSlashEvent>): ValidatorSlashEvent;
|
251
|
+
};
|
252
|
+
export declare const ValidatorSlashEvents: {
|
253
|
+
encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer;
|
254
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents;
|
255
|
+
fromPartial(object: DeepPartial<ValidatorSlashEvents>): ValidatorSlashEvents;
|
256
|
+
};
|
257
|
+
export declare const FeePool: {
|
258
|
+
encode(message: FeePool, writer?: _m0.Writer): _m0.Writer;
|
259
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeePool;
|
260
|
+
fromPartial(object: DeepPartial<FeePool>): FeePool;
|
261
|
+
};
|
262
|
+
export declare const CommunityPoolSpendProposal: {
|
263
|
+
encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer;
|
264
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal;
|
265
|
+
fromPartial(object: DeepPartial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal;
|
266
|
+
};
|
267
|
+
export declare const DelegatorStartingInfo: {
|
268
|
+
encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer;
|
269
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo;
|
270
|
+
fromPartial(object: DeepPartial<DelegatorStartingInfo>): DelegatorStartingInfo;
|
271
|
+
};
|
272
|
+
export declare const DelegationDelegatorReward: {
|
273
|
+
encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer;
|
274
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward;
|
275
|
+
fromPartial(object: DeepPartial<DelegationDelegatorReward>): DelegationDelegatorReward;
|
276
|
+
};
|
277
|
+
export declare const CommunityPoolSpendProposalWithDeposit: {
|
278
|
+
encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer;
|
279
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit;
|
280
|
+
fromPartial(object: DeepPartial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit;
|
281
|
+
};
|