juno-network 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/confio/proofs.js +29 -3
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/bundle.js +47 -47
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
- package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
- package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +7 -1
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
- package/main/codegen/gaia/bundle.js +28 -0
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
- package/main/codegen/gaia/lcd.js +167 -0
- package/main/codegen/gaia/rpc.query.js +134 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +63 -8
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/ibc/core/channel/v1/channel.js +21 -4
- package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/connection.js +13 -3
- package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
- package/main/codegen/index.js +30 -19
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +15 -15
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
- package/main/codegen/router/bundle.js +8 -8
- package/main/codegen/tendermint/abci/types.js +33 -4
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +18 -4
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +29 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +7 -1
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
- package/module/codegen/gaia/bundle.js +17 -0
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
- package/module/codegen/gaia/lcd.js +57 -0
- package/module/codegen/gaia/rpc.query.js +39 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +63 -6
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/ibc/core/channel/v1/channel.js +21 -2
- package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/connection.js +13 -2
- package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
- package/module/codegen/index.js +2 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +15 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
- package/module/codegen/router/bundle.js +8 -8
- package/module/codegen/tendermint/abci/types.js +33 -4
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +19 -3
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +2 -2
- package/src/codegen/confio/proofs.ts +80 -8
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
- package/src/codegen/cosmos/bundle.ts +76 -76
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
- package/src/codegen/cosmos/gov/v1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
- package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
- package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
- package/src/codegen/cosmos_proto/cosmos.ts +37 -2
- package/src/codegen/cosmwasm/bundle.ts +14 -14
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
- package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
- package/src/codegen/gaia/bundle.ts +18 -0
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
- package/src/codegen/gaia/lcd.ts +59 -0
- package/src/codegen/gaia/rpc.query.ts +41 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +9 -9
- package/src/codegen/google/protobuf/any.ts +31 -0
- package/src/codegen/google/protobuf/descriptor.ts +641 -15
- package/src/codegen/google/protobuf/duration.ts +15 -1
- package/src/codegen/google/protobuf/timestamp.ts +13 -1
- package/src/codegen/helpers.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
- package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
- package/src/codegen/ibc/core/client/v1/client.ts +32 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
- package/src/codegen/ibc/core/client/v1/query.ts +35 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
- package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
- package/src/codegen/index.ts +2 -1
- package/src/codegen/juno/bundle.ts +32 -32
- package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
- package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
- package/src/codegen/juno/feeshare/v1/query.ts +25 -0
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
- package/src/codegen/juno/mint/genesis.ts +3 -0
- package/src/codegen/juno/mint/mint.ts +7 -1
- package/src/codegen/juno/mint/query.ts +3 -0
- package/src/codegen/osmosis/bundle.ts +24 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
- package/src/codegen/router/bundle.ts +12 -12
- package/src/codegen/router/v1/genesis.ts +7 -0
- package/src/codegen/router/v1/query.ts +1 -0
- package/src/codegen/tendermint/abci/types.ts +109 -8
- package/src/codegen/tendermint/bundle.ts +21 -21
- package/src/codegen/tendermint/crypto/proof.ts +4 -1
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +36 -0
- package/src/codegen/tendermint/types/types.ts +50 -6
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/confio/proofs.d.ts +64 -8
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
- package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +27 -2
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
- package/types/codegen/cosmwasm/bundle.d.ts +10 -10
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
- package/types/codegen/gaia/bundle.d.ts +174 -0
- package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
- package/types/codegen/gaia/lcd.d.ts +33 -0
- package/types/codegen/gaia/rpc.query.d.ts +105 -0
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +30 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
- package/types/codegen/google/protobuf/duration.d.ts +14 -1
- package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
- package/types/codegen/ibc/bundle.d.ts +773 -773
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
- package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +2 -1
- package/types/codegen/juno/bundle.d.ts +141 -141
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
- package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
- package/types/codegen/juno/mint/genesis.d.ts +2 -0
- package/types/codegen/juno/mint/mint.d.ts +5 -1
- package/types/codegen/juno/mint/query.d.ts +3 -0
- package/types/codegen/osmosis/bundle.d.ts +163 -116
- package/types/codegen/osmosis/client.d.ts +29 -4
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
- package/types/codegen/router/bundle.d.ts +27 -27
- package/types/codegen/router/v1/genesis.d.ts +6 -0
- package/types/codegen/router/v1/query.d.ts +1 -0
- package/types/codegen/tendermint/abci/types.d.ts +78 -8
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +32 -0
- package/types/codegen/tendermint/types/types.d.ts +36 -5
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -1,26 +1,26 @@
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
2
2
|
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx";
|
3
|
-
export interface
|
3
|
+
export interface AminoMsgSetWithdrawAddress extends AminoMsg {
|
4
4
|
type: "cosmos-sdk/MsgModifyWithdrawAddress";
|
5
5
|
value: {
|
6
6
|
delegator_address: string;
|
7
7
|
withdraw_address: string;
|
8
8
|
};
|
9
9
|
}
|
10
|
-
export interface
|
10
|
+
export interface AminoMsgWithdrawDelegatorReward extends AminoMsg {
|
11
11
|
type: "cosmos-sdk/MsgWithdrawDelegationReward";
|
12
12
|
value: {
|
13
13
|
delegator_address: string;
|
14
14
|
validator_address: string;
|
15
15
|
};
|
16
16
|
}
|
17
|
-
export interface
|
17
|
+
export interface AminoMsgWithdrawValidatorCommission extends AminoMsg {
|
18
18
|
type: "cosmos-sdk/MsgWithdrawValidatorCommission";
|
19
19
|
value: {
|
20
20
|
validator_address: string;
|
21
21
|
};
|
22
22
|
}
|
23
|
-
export interface
|
23
|
+
export interface AminoMsgFundCommunityPool extends AminoMsg {
|
24
24
|
type: "cosmos-sdk/MsgFundCommunityPool";
|
25
25
|
value: {
|
26
26
|
amount: {
|
@@ -33,22 +33,22 @@ export interface MsgFundCommunityPoolAminoType extends AminoMsg {
|
|
33
33
|
export declare const AminoConverter: {
|
34
34
|
"/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": {
|
35
35
|
aminoType: string;
|
36
|
-
toAmino: ({ delegatorAddress, withdrawAddress }: MsgSetWithdrawAddress) =>
|
37
|
-
fromAmino: ({ delegator_address, withdraw_address }:
|
36
|
+
toAmino: ({ delegatorAddress, withdrawAddress }: MsgSetWithdrawAddress) => AminoMsgSetWithdrawAddress["value"];
|
37
|
+
fromAmino: ({ delegator_address, withdraw_address }: AminoMsgSetWithdrawAddress["value"]) => MsgSetWithdrawAddress;
|
38
38
|
};
|
39
39
|
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": {
|
40
40
|
aminoType: string;
|
41
|
-
toAmino: ({ delegatorAddress, validatorAddress }: MsgWithdrawDelegatorReward) =>
|
42
|
-
fromAmino: ({ delegator_address, validator_address }:
|
41
|
+
toAmino: ({ delegatorAddress, validatorAddress }: MsgWithdrawDelegatorReward) => AminoMsgWithdrawDelegatorReward["value"];
|
42
|
+
fromAmino: ({ delegator_address, validator_address }: AminoMsgWithdrawDelegatorReward["value"]) => MsgWithdrawDelegatorReward;
|
43
43
|
};
|
44
44
|
"/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": {
|
45
45
|
aminoType: string;
|
46
|
-
toAmino: ({ validatorAddress }: MsgWithdrawValidatorCommission) =>
|
47
|
-
fromAmino: ({ validator_address }:
|
46
|
+
toAmino: ({ validatorAddress }: MsgWithdrawValidatorCommission) => AminoMsgWithdrawValidatorCommission["value"];
|
47
|
+
fromAmino: ({ validator_address }: AminoMsgWithdrawValidatorCommission["value"]) => MsgWithdrawValidatorCommission;
|
48
48
|
};
|
49
49
|
"/cosmos.distribution.v1beta1.MsgFundCommunityPool": {
|
50
50
|
aminoType: string;
|
51
|
-
toAmino: ({ amount, depositor }: MsgFundCommunityPool) =>
|
52
|
-
fromAmino: ({ amount, depositor }:
|
51
|
+
toAmino: ({ amount, depositor }: MsgFundCommunityPool) => AminoMsgFundCommunityPool["value"];
|
52
|
+
fromAmino: ({ amount, depositor }: AminoMsgFundCommunityPool["value"]) => MsgFundCommunityPool;
|
53
53
|
};
|
54
54
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov";
|
2
|
-
import { Long, DeepPartial } from "../../../helpers";
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "../../../helpers";
|
4
4
|
/** GenesisState defines the gov module's genesis state. */
|
5
5
|
export interface GenesisState {
|
6
6
|
/** starting_proposal_id is the ID of the starting proposal. */
|
@@ -20,12 +20,19 @@ export interface GenesisState {
|
|
20
20
|
}
|
21
21
|
/** GenesisState defines the gov module's genesis state. */
|
22
22
|
export interface GenesisStateSDKType {
|
23
|
+
/** starting_proposal_id is the ID of the starting proposal. */
|
23
24
|
starting_proposal_id: Long;
|
25
|
+
/** deposits defines all the deposits present at genesis. */
|
24
26
|
deposits: DepositSDKType[];
|
27
|
+
/** votes defines all the votes present at genesis. */
|
25
28
|
votes: VoteSDKType[];
|
29
|
+
/** proposals defines all the proposals present at genesis. */
|
26
30
|
proposals: ProposalSDKType[];
|
31
|
+
/** params defines all the paramaters of related to deposit. */
|
27
32
|
deposit_params?: DepositParamsSDKType;
|
33
|
+
/** params defines all the paramaters of related to voting. */
|
28
34
|
voting_params?: VotingParamsSDKType;
|
35
|
+
/** params defines all the paramaters of related to tally. */
|
29
36
|
tally_params?: TallyParamsSDKType;
|
30
37
|
}
|
31
38
|
export declare const GenesisState: {
|
@@ -17,7 +17,20 @@ export declare enum VoteOption {
|
|
17
17
|
VOTE_OPTION_NO_WITH_VETO = 4,
|
18
18
|
UNRECOGNIZED = -1
|
19
19
|
}
|
20
|
-
|
20
|
+
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
21
|
+
export declare enum VoteOptionSDKType {
|
22
|
+
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
23
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
24
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
25
|
+
VOTE_OPTION_YES = 1,
|
26
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
27
|
+
VOTE_OPTION_ABSTAIN = 2,
|
28
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
29
|
+
VOTE_OPTION_NO = 3,
|
30
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
31
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
32
|
+
UNRECOGNIZED = -1
|
33
|
+
}
|
21
34
|
export declare function voteOptionFromJSON(object: any): VoteOption;
|
22
35
|
export declare function voteOptionToJSON(object: VoteOption): string;
|
23
36
|
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
@@ -51,7 +64,37 @@ export declare enum ProposalStatus {
|
|
51
64
|
PROPOSAL_STATUS_FAILED = 5,
|
52
65
|
UNRECOGNIZED = -1
|
53
66
|
}
|
54
|
-
|
67
|
+
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
68
|
+
export declare enum ProposalStatusSDKType {
|
69
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
|
70
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
71
|
+
/**
|
72
|
+
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
73
|
+
* period.
|
74
|
+
*/
|
75
|
+
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
|
76
|
+
/**
|
77
|
+
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
78
|
+
* period.
|
79
|
+
*/
|
80
|
+
PROPOSAL_STATUS_VOTING_PERIOD = 2,
|
81
|
+
/**
|
82
|
+
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
83
|
+
* passed.
|
84
|
+
*/
|
85
|
+
PROPOSAL_STATUS_PASSED = 3,
|
86
|
+
/**
|
87
|
+
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
88
|
+
* been rejected.
|
89
|
+
*/
|
90
|
+
PROPOSAL_STATUS_REJECTED = 4,
|
91
|
+
/**
|
92
|
+
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
93
|
+
* failed.
|
94
|
+
*/
|
95
|
+
PROPOSAL_STATUS_FAILED = 5,
|
96
|
+
UNRECOGNIZED = -1
|
97
|
+
}
|
55
98
|
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
|
56
99
|
export declare function proposalStatusToJSON(object: ProposalStatus): string;
|
57
100
|
/** WeightedVoteOption defines a unit of vote for vote split. */
|
@@ -61,7 +104,7 @@ export interface WeightedVoteOption {
|
|
61
104
|
}
|
62
105
|
/** WeightedVoteOption defines a unit of vote for vote split. */
|
63
106
|
export interface WeightedVoteOptionSDKType {
|
64
|
-
option:
|
107
|
+
option: VoteOptionSDKType;
|
65
108
|
weight: string;
|
66
109
|
}
|
67
110
|
/**
|
@@ -105,13 +148,19 @@ export interface Proposal {
|
|
105
148
|
export interface ProposalSDKType {
|
106
149
|
id: Long;
|
107
150
|
messages: AnySDKType[];
|
108
|
-
status:
|
151
|
+
status: ProposalStatusSDKType;
|
152
|
+
/**
|
153
|
+
* final_tally_result is the final tally result of the proposal. When
|
154
|
+
* querying a proposal via gRPC, this field is not populated until the
|
155
|
+
* proposal's voting period has ended.
|
156
|
+
*/
|
109
157
|
final_tally_result?: TallyResultSDKType;
|
110
158
|
submit_time?: Date;
|
111
159
|
deposit_end_time?: Date;
|
112
160
|
total_deposit: CoinSDKType[];
|
113
161
|
voting_start_time?: Date;
|
114
162
|
voting_end_time?: Date;
|
163
|
+
/** metadata is any arbitrary metadata attached to the proposal. */
|
115
164
|
metadata: string;
|
116
165
|
}
|
117
166
|
/** TallyResult defines a standard tally for a governance proposal. */
|
@@ -147,6 +196,7 @@ export interface VoteSDKType {
|
|
147
196
|
proposal_id: Long;
|
148
197
|
voter: string;
|
149
198
|
options: WeightedVoteOptionSDKType[];
|
199
|
+
/** metadata is any arbitrary metadata to attached to the vote. */
|
150
200
|
metadata: string;
|
151
201
|
}
|
152
202
|
/** DepositParams defines the params for deposits on governance proposals. */
|
@@ -161,7 +211,12 @@ export interface DepositParams {
|
|
161
211
|
}
|
162
212
|
/** DepositParams defines the params for deposits on governance proposals. */
|
163
213
|
export interface DepositParamsSDKType {
|
214
|
+
/** Minimum deposit for a proposal to enter voting period. */
|
164
215
|
min_deposit: CoinSDKType[];
|
216
|
+
/**
|
217
|
+
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
218
|
+
* months.
|
219
|
+
*/
|
165
220
|
max_deposit_period?: DurationSDKType;
|
166
221
|
}
|
167
222
|
/** VotingParams defines the params for voting on governance proposals. */
|
@@ -171,6 +226,7 @@ export interface VotingParams {
|
|
171
226
|
}
|
172
227
|
/** VotingParams defines the params for voting on governance proposals. */
|
173
228
|
export interface VotingParamsSDKType {
|
229
|
+
/** Length of the voting period. */
|
174
230
|
voting_period?: DurationSDKType;
|
175
231
|
}
|
176
232
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
@@ -190,8 +246,17 @@ export interface TallyParams {
|
|
190
246
|
}
|
191
247
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
192
248
|
export interface TallyParamsSDKType {
|
249
|
+
/**
|
250
|
+
* Minimum percentage of total stake needed to vote for a result to be
|
251
|
+
* considered valid.
|
252
|
+
*/
|
193
253
|
quorum: string;
|
254
|
+
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
194
255
|
threshold: string;
|
256
|
+
/**
|
257
|
+
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
258
|
+
* vetoed. Default value: 1/3.
|
259
|
+
*/
|
195
260
|
veto_threshold: string;
|
196
261
|
}
|
197
262
|
export declare const WeightedVoteOption: {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ProposalStatus, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov";
|
1
|
+
import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov";
|
2
2
|
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
3
|
-
import { Long, DeepPartial } from "../../../helpers";
|
4
3
|
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { Long, DeepPartial } from "../../../helpers";
|
5
5
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
6
6
|
export interface QueryProposalRequest {
|
7
7
|
/** proposal_id defines the unique id of the proposal. */
|
@@ -9,6 +9,7 @@ export interface QueryProposalRequest {
|
|
9
9
|
}
|
10
10
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
11
11
|
export interface QueryProposalRequestSDKType {
|
12
|
+
/** proposal_id defines the unique id of the proposal. */
|
12
13
|
proposal_id: Long;
|
13
14
|
}
|
14
15
|
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
|
@@ -32,9 +33,13 @@ export interface QueryProposalsRequest {
|
|
32
33
|
}
|
33
34
|
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
|
34
35
|
export interface QueryProposalsRequestSDKType {
|
35
|
-
proposal_status
|
36
|
+
/** proposal_status defines the status of the proposals. */
|
37
|
+
proposal_status: ProposalStatusSDKType;
|
38
|
+
/** voter defines the voter address for the proposals. */
|
36
39
|
voter: string;
|
40
|
+
/** depositor defines the deposit addresses from the proposals. */
|
37
41
|
depositor: string;
|
42
|
+
/** pagination defines an optional pagination for the request. */
|
38
43
|
pagination?: PageRequestSDKType;
|
39
44
|
}
|
40
45
|
/**
|
@@ -52,6 +57,7 @@ export interface QueryProposalsResponse {
|
|
52
57
|
*/
|
53
58
|
export interface QueryProposalsResponseSDKType {
|
54
59
|
proposals: ProposalSDKType[];
|
60
|
+
/** pagination defines the pagination in the response. */
|
55
61
|
pagination?: PageResponseSDKType;
|
56
62
|
}
|
57
63
|
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
@@ -63,7 +69,9 @@ export interface QueryVoteRequest {
|
|
63
69
|
}
|
64
70
|
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
65
71
|
export interface QueryVoteRequestSDKType {
|
72
|
+
/** proposal_id defines the unique id of the proposal. */
|
66
73
|
proposal_id: Long;
|
74
|
+
/** voter defines the oter address for the proposals. */
|
67
75
|
voter: string;
|
68
76
|
}
|
69
77
|
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
@@ -73,6 +81,7 @@ export interface QueryVoteResponse {
|
|
73
81
|
}
|
74
82
|
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
75
83
|
export interface QueryVoteResponseSDKType {
|
84
|
+
/** vote defined the queried vote. */
|
76
85
|
vote?: VoteSDKType;
|
77
86
|
}
|
78
87
|
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
@@ -84,7 +93,9 @@ export interface QueryVotesRequest {
|
|
84
93
|
}
|
85
94
|
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
86
95
|
export interface QueryVotesRequestSDKType {
|
96
|
+
/** proposal_id defines the unique id of the proposal. */
|
87
97
|
proposal_id: Long;
|
98
|
+
/** pagination defines an optional pagination for the request. */
|
88
99
|
pagination?: PageRequestSDKType;
|
89
100
|
}
|
90
101
|
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
@@ -96,7 +107,9 @@ export interface QueryVotesResponse {
|
|
96
107
|
}
|
97
108
|
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
98
109
|
export interface QueryVotesResponseSDKType {
|
110
|
+
/** votes defined the queried votes. */
|
99
111
|
votes: VoteSDKType[];
|
112
|
+
/** pagination defines the pagination in the response. */
|
100
113
|
pagination?: PageResponseSDKType;
|
101
114
|
}
|
102
115
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
@@ -109,6 +122,10 @@ export interface QueryParamsRequest {
|
|
109
122
|
}
|
110
123
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
111
124
|
export interface QueryParamsRequestSDKType {
|
125
|
+
/**
|
126
|
+
* params_type defines which parameters to query for, can be one of "voting",
|
127
|
+
* "tallying" or "deposit".
|
128
|
+
*/
|
112
129
|
params_type: string;
|
113
130
|
}
|
114
131
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
@@ -122,8 +139,11 @@ export interface QueryParamsResponse {
|
|
122
139
|
}
|
123
140
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
124
141
|
export interface QueryParamsResponseSDKType {
|
142
|
+
/** voting_params defines the parameters related to voting. */
|
125
143
|
voting_params?: VotingParamsSDKType;
|
144
|
+
/** deposit_params defines the parameters related to deposit. */
|
126
145
|
deposit_params?: DepositParamsSDKType;
|
146
|
+
/** tally_params defines the parameters related to tally. */
|
127
147
|
tally_params?: TallyParamsSDKType;
|
128
148
|
}
|
129
149
|
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
@@ -135,7 +155,9 @@ export interface QueryDepositRequest {
|
|
135
155
|
}
|
136
156
|
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
137
157
|
export interface QueryDepositRequestSDKType {
|
158
|
+
/** proposal_id defines the unique id of the proposal. */
|
138
159
|
proposal_id: Long;
|
160
|
+
/** depositor defines the deposit addresses from the proposals. */
|
139
161
|
depositor: string;
|
140
162
|
}
|
141
163
|
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
@@ -145,6 +167,7 @@ export interface QueryDepositResponse {
|
|
145
167
|
}
|
146
168
|
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
147
169
|
export interface QueryDepositResponseSDKType {
|
170
|
+
/** deposit defines the requested deposit. */
|
148
171
|
deposit?: DepositSDKType;
|
149
172
|
}
|
150
173
|
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
@@ -156,7 +179,9 @@ export interface QueryDepositsRequest {
|
|
156
179
|
}
|
157
180
|
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
158
181
|
export interface QueryDepositsRequestSDKType {
|
182
|
+
/** proposal_id defines the unique id of the proposal. */
|
159
183
|
proposal_id: Long;
|
184
|
+
/** pagination defines an optional pagination for the request. */
|
160
185
|
pagination?: PageRequestSDKType;
|
161
186
|
}
|
162
187
|
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
|
@@ -168,6 +193,7 @@ export interface QueryDepositsResponse {
|
|
168
193
|
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
|
169
194
|
export interface QueryDepositsResponseSDKType {
|
170
195
|
deposits: DepositSDKType[];
|
196
|
+
/** pagination defines the pagination in the response. */
|
171
197
|
pagination?: PageResponseSDKType;
|
172
198
|
}
|
173
199
|
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
@@ -177,6 +203,7 @@ export interface QueryTallyResultRequest {
|
|
177
203
|
}
|
178
204
|
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
179
205
|
export interface QueryTallyResultRequestSDKType {
|
206
|
+
/** proposal_id defines the unique id of the proposal. */
|
180
207
|
proposal_id: Long;
|
181
208
|
}
|
182
209
|
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
@@ -186,6 +213,7 @@ export interface QueryTallyResultResponse {
|
|
186
213
|
}
|
187
214
|
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
188
215
|
export interface QueryTallyResultResponseSDKType {
|
216
|
+
/** tally defines the requested tally. */
|
189
217
|
tally?: TallyResultSDKType;
|
190
218
|
}
|
191
219
|
export declare const QueryProposalRequest: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
2
2
|
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
3
|
-
export interface
|
3
|
+
export interface AminoMsgSubmitProposal extends AminoMsg {
|
4
4
|
type: "cosmos-sdk/v1/MsgSubmitProposal";
|
5
5
|
value: {
|
6
6
|
messages: {
|
@@ -15,7 +15,7 @@ export interface MsgSubmitProposalAminoType extends AminoMsg {
|
|
15
15
|
metadata: string;
|
16
16
|
};
|
17
17
|
}
|
18
|
-
export interface
|
18
|
+
export interface AminoMsgExecLegacyContent extends AminoMsg {
|
19
19
|
type: "cosmos-sdk/v1/MsgExecLegacyContent";
|
20
20
|
value: {
|
21
21
|
content: {
|
@@ -25,7 +25,7 @@ export interface MsgExecLegacyContentAminoType extends AminoMsg {
|
|
25
25
|
authority: string;
|
26
26
|
};
|
27
27
|
}
|
28
|
-
export interface
|
28
|
+
export interface AminoMsgVote extends AminoMsg {
|
29
29
|
type: "cosmos-sdk/v1/MsgVote";
|
30
30
|
value: {
|
31
31
|
proposal_id: string;
|
@@ -34,7 +34,7 @@ export interface MsgVoteAminoType extends AminoMsg {
|
|
34
34
|
metadata: string;
|
35
35
|
};
|
36
36
|
}
|
37
|
-
export interface
|
37
|
+
export interface AminoMsgVoteWeighted extends AminoMsg {
|
38
38
|
type: "cosmos-sdk/v1/MsgVoteWeighted";
|
39
39
|
value: {
|
40
40
|
proposal_id: string;
|
@@ -46,7 +46,7 @@ export interface MsgVoteWeightedAminoType extends AminoMsg {
|
|
46
46
|
metadata: string;
|
47
47
|
};
|
48
48
|
}
|
49
|
-
export interface
|
49
|
+
export interface AminoMsgDeposit extends AminoMsg {
|
50
50
|
type: "cosmos-sdk/v1/MsgDeposit";
|
51
51
|
value: {
|
52
52
|
proposal_id: string;
|
@@ -60,27 +60,27 @@ export interface MsgDepositAminoType extends AminoMsg {
|
|
60
60
|
export declare const AminoConverter: {
|
61
61
|
"/cosmos.gov.v1.MsgSubmitProposal": {
|
62
62
|
aminoType: string;
|
63
|
-
toAmino: ({ messages, initialDeposit, proposer, metadata }: MsgSubmitProposal) =>
|
64
|
-
fromAmino: ({ messages, initial_deposit, proposer, metadata }:
|
63
|
+
toAmino: ({ messages, initialDeposit, proposer, metadata }: MsgSubmitProposal) => AminoMsgSubmitProposal["value"];
|
64
|
+
fromAmino: ({ messages, initial_deposit, proposer, metadata }: AminoMsgSubmitProposal["value"]) => MsgSubmitProposal;
|
65
65
|
};
|
66
66
|
"/cosmos.gov.v1.MsgExecLegacyContent": {
|
67
67
|
aminoType: string;
|
68
|
-
toAmino: ({ content, authority }: MsgExecLegacyContent) =>
|
69
|
-
fromAmino: ({ content, authority }:
|
68
|
+
toAmino: ({ content, authority }: MsgExecLegacyContent) => AminoMsgExecLegacyContent["value"];
|
69
|
+
fromAmino: ({ content, authority }: AminoMsgExecLegacyContent["value"]) => MsgExecLegacyContent;
|
70
70
|
};
|
71
71
|
"/cosmos.gov.v1.MsgVote": {
|
72
72
|
aminoType: string;
|
73
|
-
toAmino: ({ proposalId, voter, option, metadata }: MsgVote) =>
|
74
|
-
fromAmino: ({ proposal_id, voter, option, metadata }:
|
73
|
+
toAmino: ({ proposalId, voter, option, metadata }: MsgVote) => AminoMsgVote["value"];
|
74
|
+
fromAmino: ({ proposal_id, voter, option, metadata }: AminoMsgVote["value"]) => MsgVote;
|
75
75
|
};
|
76
76
|
"/cosmos.gov.v1.MsgVoteWeighted": {
|
77
77
|
aminoType: string;
|
78
|
-
toAmino: ({ proposalId, voter, options, metadata }: MsgVoteWeighted) =>
|
79
|
-
fromAmino: ({ proposal_id, voter, options, metadata }:
|
78
|
+
toAmino: ({ proposalId, voter, options, metadata }: MsgVoteWeighted) => AminoMsgVoteWeighted["value"];
|
79
|
+
fromAmino: ({ proposal_id, voter, options, metadata }: AminoMsgVoteWeighted["value"]) => MsgVoteWeighted;
|
80
80
|
};
|
81
81
|
"/cosmos.gov.v1.MsgDeposit": {
|
82
82
|
aminoType: string;
|
83
|
-
toAmino: ({ proposalId, depositor, amount }: MsgDeposit) =>
|
84
|
-
fromAmino: ({ proposal_id, depositor, amount }:
|
83
|
+
toAmino: ({ proposalId, depositor, amount }: MsgDeposit) => AminoMsgDeposit["value"];
|
84
|
+
fromAmino: ({ proposal_id, depositor, amount }: AminoMsgDeposit["value"]) => MsgDeposit;
|
85
85
|
};
|
86
86
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
2
2
|
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
3
|
-
import { VoteOption, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov";
|
3
|
+
import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov";
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
5
5
|
import { DeepPartial, Long } from "../../../helpers";
|
6
6
|
/**
|
@@ -22,6 +22,7 @@ export interface MsgSubmitProposalSDKType {
|
|
22
22
|
messages: AnySDKType[];
|
23
23
|
initial_deposit: CoinSDKType[];
|
24
24
|
proposer: string;
|
25
|
+
/** metadata is any arbitrary metadata attached to the proposal. */
|
25
26
|
metadata: string;
|
26
27
|
}
|
27
28
|
/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */
|
@@ -47,7 +48,9 @@ export interface MsgExecLegacyContent {
|
|
47
48
|
* This ensures backwards compatibility with v1beta1.MsgSubmitProposal.
|
48
49
|
*/
|
49
50
|
export interface MsgExecLegacyContentSDKType {
|
51
|
+
/** content is the proposal's content. */
|
50
52
|
content?: AnySDKType;
|
53
|
+
/** authority must be the gov module address. */
|
51
54
|
authority: string;
|
52
55
|
}
|
53
56
|
/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */
|
@@ -67,7 +70,7 @@ export interface MsgVote {
|
|
67
70
|
export interface MsgVoteSDKType {
|
68
71
|
proposal_id: Long;
|
69
72
|
voter: string;
|
70
|
-
option:
|
73
|
+
option: VoteOptionSDKType;
|
71
74
|
metadata: string;
|
72
75
|
}
|
73
76
|
/** MsgVoteResponse defines the Msg/Vote response type. */
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov";
|
2
|
-
import { Long, DeepPartial } from "../../../helpers";
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "../../../helpers";
|
4
4
|
/** GenesisState defines the gov module's genesis state. */
|
5
5
|
export interface GenesisState {
|
6
6
|
/** starting_proposal_id is the ID of the starting proposal. */
|
@@ -20,12 +20,19 @@ export interface GenesisState {
|
|
20
20
|
}
|
21
21
|
/** GenesisState defines the gov module's genesis state. */
|
22
22
|
export interface GenesisStateSDKType {
|
23
|
+
/** starting_proposal_id is the ID of the starting proposal. */
|
23
24
|
starting_proposal_id: Long;
|
25
|
+
/** deposits defines all the deposits present at genesis. */
|
24
26
|
deposits: DepositSDKType[];
|
27
|
+
/** votes defines all the votes present at genesis. */
|
25
28
|
votes: VoteSDKType[];
|
29
|
+
/** proposals defines all the proposals present at genesis. */
|
26
30
|
proposals: ProposalSDKType[];
|
31
|
+
/** params defines all the paramaters of related to deposit. */
|
27
32
|
deposit_params?: DepositParamsSDKType;
|
33
|
+
/** params defines all the paramaters of related to voting. */
|
28
34
|
voting_params?: VotingParamsSDKType;
|
35
|
+
/** params defines all the paramaters of related to tally. */
|
29
36
|
tally_params?: TallyParamsSDKType;
|
30
37
|
}
|
31
38
|
export declare const GenesisState: {
|
@@ -17,7 +17,20 @@ export declare enum VoteOption {
|
|
17
17
|
VOTE_OPTION_NO_WITH_VETO = 4,
|
18
18
|
UNRECOGNIZED = -1
|
19
19
|
}
|
20
|
-
|
20
|
+
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
21
|
+
export declare enum VoteOptionSDKType {
|
22
|
+
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
23
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
24
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
25
|
+
VOTE_OPTION_YES = 1,
|
26
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
27
|
+
VOTE_OPTION_ABSTAIN = 2,
|
28
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
29
|
+
VOTE_OPTION_NO = 3,
|
30
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
31
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
32
|
+
UNRECOGNIZED = -1
|
33
|
+
}
|
21
34
|
export declare function voteOptionFromJSON(object: any): VoteOption;
|
22
35
|
export declare function voteOptionToJSON(object: VoteOption): string;
|
23
36
|
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
@@ -51,7 +64,37 @@ export declare enum ProposalStatus {
|
|
51
64
|
PROPOSAL_STATUS_FAILED = 5,
|
52
65
|
UNRECOGNIZED = -1
|
53
66
|
}
|
54
|
-
|
67
|
+
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
68
|
+
export declare enum ProposalStatusSDKType {
|
69
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
|
70
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
71
|
+
/**
|
72
|
+
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
73
|
+
* period.
|
74
|
+
*/
|
75
|
+
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
|
76
|
+
/**
|
77
|
+
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
78
|
+
* period.
|
79
|
+
*/
|
80
|
+
PROPOSAL_STATUS_VOTING_PERIOD = 2,
|
81
|
+
/**
|
82
|
+
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
83
|
+
* passed.
|
84
|
+
*/
|
85
|
+
PROPOSAL_STATUS_PASSED = 3,
|
86
|
+
/**
|
87
|
+
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
88
|
+
* been rejected.
|
89
|
+
*/
|
90
|
+
PROPOSAL_STATUS_REJECTED = 4,
|
91
|
+
/**
|
92
|
+
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
93
|
+
* failed.
|
94
|
+
*/
|
95
|
+
PROPOSAL_STATUS_FAILED = 5,
|
96
|
+
UNRECOGNIZED = -1
|
97
|
+
}
|
55
98
|
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
|
56
99
|
export declare function proposalStatusToJSON(object: ProposalStatus): string;
|
57
100
|
/**
|
@@ -69,7 +112,7 @@ export interface WeightedVoteOption {
|
|
69
112
|
* Since: cosmos-sdk 0.43
|
70
113
|
*/
|
71
114
|
export interface WeightedVoteOptionSDKType {
|
72
|
-
option:
|
115
|
+
option: VoteOptionSDKType;
|
73
116
|
weight: string;
|
74
117
|
}
|
75
118
|
/**
|
@@ -127,7 +170,12 @@ export interface Proposal {
|
|
127
170
|
export interface ProposalSDKType {
|
128
171
|
proposal_id: Long;
|
129
172
|
content?: AnySDKType;
|
130
|
-
status:
|
173
|
+
status: ProposalStatusSDKType;
|
174
|
+
/**
|
175
|
+
* final_tally_result is the final tally result of the proposal. When
|
176
|
+
* querying a proposal via gRPC, this field is not populated until the
|
177
|
+
* proposal's voting period has ended.
|
178
|
+
*/
|
131
179
|
final_tally_result?: TallyResultSDKType;
|
132
180
|
submit_time?: Date;
|
133
181
|
deposit_end_time?: Date;
|
@@ -173,8 +221,14 @@ export interface Vote {
|
|
173
221
|
export interface VoteSDKType {
|
174
222
|
proposal_id: Long;
|
175
223
|
voter: string;
|
224
|
+
/**
|
225
|
+
* Deprecated: Prefer to use `options` instead. This field is set in queries
|
226
|
+
* if and only if `len(options) == 1` and that option has weight 1. In all
|
227
|
+
* other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
|
228
|
+
*/
|
176
229
|
/** @deprecated */
|
177
|
-
option:
|
230
|
+
option: VoteOptionSDKType;
|
231
|
+
/** Since: cosmos-sdk 0.43 */
|
178
232
|
options: WeightedVoteOptionSDKType[];
|
179
233
|
}
|
180
234
|
/** DepositParams defines the params for deposits on governance proposals. */
|
@@ -189,7 +243,12 @@ export interface DepositParams {
|
|
189
243
|
}
|
190
244
|
/** DepositParams defines the params for deposits on governance proposals. */
|
191
245
|
export interface DepositParamsSDKType {
|
246
|
+
/** Minimum deposit for a proposal to enter voting period. */
|
192
247
|
min_deposit: CoinSDKType[];
|
248
|
+
/**
|
249
|
+
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
250
|
+
* months.
|
251
|
+
*/
|
193
252
|
max_deposit_period?: DurationSDKType;
|
194
253
|
}
|
195
254
|
/** VotingParams defines the params for voting on governance proposals. */
|
@@ -199,6 +258,7 @@ export interface VotingParams {
|
|
199
258
|
}
|
200
259
|
/** VotingParams defines the params for voting on governance proposals. */
|
201
260
|
export interface VotingParamsSDKType {
|
261
|
+
/** Length of the voting period. */
|
202
262
|
voting_period?: DurationSDKType;
|
203
263
|
}
|
204
264
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
@@ -218,8 +278,17 @@ export interface TallyParams {
|
|
218
278
|
}
|
219
279
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
220
280
|
export interface TallyParamsSDKType {
|
281
|
+
/**
|
282
|
+
* Minimum percentage of total stake needed to vote for a result to be
|
283
|
+
* considered valid.
|
284
|
+
*/
|
221
285
|
quorum: Uint8Array;
|
286
|
+
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
222
287
|
threshold: Uint8Array;
|
288
|
+
/**
|
289
|
+
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
290
|
+
* vetoed. Default value: 1/3.
|
291
|
+
*/
|
223
292
|
veto_threshold: Uint8Array;
|
224
293
|
}
|
225
294
|
export declare const WeightedVoteOption: {
|