injectivejs 1.11.13 → 1.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/auth/v1beta1/auth.d.ts +70 -6
- package/cosmos/auth/v1beta1/auth.js +28 -0
- package/cosmos/auth/v1beta1/query.d.ts +362 -32
- package/cosmos/auth/v1beta1/query.js +148 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +77 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +27 -0
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +40 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +24 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/cosmos/bank/v1beta1/bank.d.ts +136 -18
- package/cosmos/bank/v1beta1/bank.js +48 -0
- package/cosmos/bank/v1beta1/query.d.ts +619 -86
- package/cosmos/bank/v1beta1/query.js +199 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +115 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/cosmos/bank/v1beta1/tx.d.ts +151 -14
- package/cosmos/bank/v1beta1/tx.js +61 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +32 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -68
- package/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -0
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/bundle.d.ts +8 -8
- package/cosmos/bundle.js +15 -15
- package/cosmos/crypto/ed25519/keys.d.ts +29 -0
- package/cosmos/crypto/ed25519/keys.js +17 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
- package/cosmos/crypto/secp256k1/keys.js +16 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
- package/cosmos/crypto/secp256r1/keys.js +12 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +223 -10
- package/cosmos/distribution/v1beta1/tx.js +109 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +57 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/cosmos/feegrant/v1beta1/tx.d.ts +135 -19
- package/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +22 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/cosmos/gov/v1/gov.d.ts +343 -80
- package/cosmos/gov/v1/gov.js +61 -0
- package/cosmos/gov/v1/tx.d.ts +376 -65
- package/cosmos/gov/v1/tx.js +96 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/cosmos/gov/v1beta1/gov.d.ts +293 -61
- package/cosmos/gov/v1beta1/gov.js +59 -0
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +97 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/cosmos/gov/v1beta1/tx.d.ts +213 -37
- package/cosmos/gov/v1beta1/tx.js +53 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +26 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/cosmos/group/v1/tx.d.ts +804 -155
- package/cosmos/group/v1/tx.js +168 -0
- package/cosmos/group/v1/tx.rpc.func.d.ts +84 -0
- package/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/cosmos/group/v1/types.d.ts +398 -83
- package/cosmos/group/v1/types.js +82 -0
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +138 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +186 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +109 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/cosmos/staking/v1beta1/staking.d.ts +631 -117
- package/cosmos/staking/v1beta1/staking.js +153 -0
- package/cosmos/staking/v1beta1/tx.d.ts +242 -22
- package/cosmos/staking/v1beta1/tx.js +96 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +50 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/cosmos/tx/v1beta1/service.d.ts +375 -46
- package/cosmos/tx/v1beta1/service.js +145 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +64 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/cosmos/tx/v1beta1/tx.d.ts +303 -46
- package/cosmos/tx/v1beta1/tx.js +99 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +120 -26
- package/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +102 -6
- package/cosmos/vesting/v1beta1/tx.js +48 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +25 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +105 -8
- package/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/cosmwasm/bundle.d.ts +2 -2
- package/cosmwasm/bundle.js +3 -3
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +631 -158
- package/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/cosmwasm/wasm/v1/query.d.ts +615 -82
- package/cosmwasm/wasm/v1/query.js +195 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +85 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/cosmwasm/wasm/v1/tx.d.ts +956 -170
- package/cosmwasm/wasm/v1/tx.js +242 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +128 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/cosmwasm/wasm/v1/types.d.ts +217 -40
- package/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/auth/v1beta1/auth.js +28 -0
- package/esm/cosmos/auth/v1beta1/query.js +148 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/esm/cosmos/authz/v1beta1/authz.js +27 -0
- package/esm/cosmos/authz/v1beta1/tx.js +40 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/esm/cosmos/bank/v1beta1/bank.js +48 -0
- package/esm/cosmos/bank/v1beta1/query.js +199 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/esm/cosmos/bank/v1beta1/tx.js +61 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/bundle.js +8 -8
- package/esm/cosmos/crypto/ed25519/keys.js +17 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +109 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/esm/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/esm/cosmos/gov/v1/gov.js +61 -0
- package/esm/cosmos/gov/v1/tx.js +96 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/esm/cosmos/gov/v1beta1/gov.js +59 -0
- package/esm/cosmos/gov/v1beta1/query.js +97 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/esm/cosmos/gov/v1beta1/tx.js +53 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/esm/cosmos/group/v1/tx.js +168 -0
- package/esm/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/esm/cosmos/group/v1/types.js +82 -0
- package/esm/cosmos/ics23/v1/proofs.js +138 -0
- package/esm/cosmos/staking/v1beta1/query.js +186 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/esm/cosmos/staking/v1beta1/staking.js +153 -0
- package/esm/cosmos/staking/v1beta1/tx.js +96 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/esm/cosmos/tx/v1beta1/service.js +145 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/esm/cosmos/tx/v1beta1/tx.js +99 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +48 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/esm/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/cosmwasm/bundle.js +2 -2
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/esm/cosmwasm/wasm/v1/query.js +195 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/esm/cosmwasm/wasm/v1/tx.js +242 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/esm/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +283 -0
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +215 -0
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/transfer.js +24 -0
- package/esm/ibc/applications/transfer/v1/tx.js +27 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/esm/ibc/bundle.js +1 -1
- package/esm/ibc/core/channel/v1/channel.js +70 -0
- package/esm/ibc/core/channel/v1/tx.js +242 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/esm/ibc/core/channel/v1/upgrade.js +25 -0
- package/esm/ibc/core/client/v1/client.js +45 -0
- package/esm/ibc/core/client/v1/tx.js +90 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/esm/ibc/core/commitment/v1/commitment.js +25 -0
- package/esm/ibc/core/connection/v1/connection.js +47 -0
- package/esm/ibc/core/connection/v1/tx.js +66 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/esm/index.js +1 -1
- package/esm/injective/auction/v1beta1/auction.js +30 -0
- package/esm/injective/auction/v1beta1/genesis.js +6 -0
- package/esm/injective/auction/v1beta1/query.js +52 -0
- package/esm/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/esm/injective/auction/v1beta1/tx.js +21 -0
- package/esm/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/esm/injective/bundle.js +14 -14
- package/esm/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/esm/injective/exchange/v1beta1/authz.js +58 -0
- package/esm/injective/exchange/v1beta1/events.js +180 -0
- package/esm/injective/exchange/v1beta1/exchange.js +263 -0
- package/esm/injective/exchange/v1beta1/genesis.js +89 -0
- package/esm/injective/exchange/v1beta1/proposal.js +113 -0
- package/esm/injective/exchange/v1beta1/query.js +864 -0
- package/esm/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/esm/injective/exchange/v1beta1/tx.js +487 -0
- package/esm/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/esm/injective/insurance/v1beta1/events.js +25 -0
- package/esm/injective/insurance/v1beta1/genesis.js +6 -0
- package/esm/injective/insurance/v1beta1/insurance.js +15 -0
- package/esm/injective/insurance/v1beta1/query.js +84 -0
- package/esm/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/esm/injective/insurance/v1beta1/tx.js +46 -0
- package/esm/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/esm/injective/ocr/v1beta1/genesis.js +41 -0
- package/esm/injective/ocr/v1beta1/ocr.js +108 -0
- package/esm/injective/ocr/v1beta1/query.js +70 -0
- package/esm/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/esm/injective/ocr/v1beta1/tx.js +90 -0
- package/esm/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/esm/injective/oracle/v1beta1/events.js +56 -0
- package/esm/injective/oracle/v1beta1/genesis.js +11 -0
- package/esm/injective/oracle/v1beta1/oracle.js +122 -0
- package/esm/injective/oracle/v1beta1/proposal.js +55 -0
- package/esm/injective/oracle/v1beta1/query.js +240 -0
- package/esm/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/esm/injective/oracle/v1beta1/tx.js +93 -0
- package/esm/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/esm/injective/peggy/v1/attestation.js +31 -0
- package/esm/injective/peggy/v1/batch.js +12 -0
- package/esm/injective/peggy/v1/events.js +85 -0
- package/esm/injective/peggy/v1/genesis.js +6 -0
- package/esm/injective/peggy/v1/msgs.js +223 -0
- package/esm/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/esm/injective/peggy/v1/params.js +5 -0
- package/esm/injective/peggy/v1/pool.js +11 -0
- package/esm/injective/peggy/v1/proposal.js +10 -0
- package/esm/injective/peggy/v1/query.js +214 -0
- package/esm/injective/peggy/v1/query.rpc.func.js +110 -5
- package/esm/injective/peggy/v1/types.js +37 -0
- package/esm/injective/permissions/v1beta1/events.js +5 -0
- package/esm/injective/permissions/v1beta1/genesis.js +6 -0
- package/esm/injective/permissions/v1beta1/params.js +6 -0
- package/esm/injective/permissions/v1beta1/permissions.js +33 -0
- package/esm/injective/permissions/v1beta1/query.js +74 -0
- package/esm/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/esm/injective/permissions/v1beta1/tx.js +90 -0
- package/esm/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/esm/injective/stream/v1beta1/query.js +110 -0
- package/esm/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/esm/injective/tokenfactory/v1beta1/events.js +25 -0
- package/esm/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/esm/injective/tokenfactory/v1beta1/params.js +6 -0
- package/esm/injective/tokenfactory/v1beta1/query.js +54 -0
- package/esm/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/esm/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/esm/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/esm/injective/types/v1beta1/account.js +7 -0
- package/esm/injective/types/v1beta1/tx_ext.js +5 -0
- package/esm/injective/types/v1beta1/tx_response.js +13 -0
- package/esm/injective/wasmx/v1/events.js +15 -0
- package/esm/injective/wasmx/v1/genesis.js +11 -0
- package/esm/injective/wasmx/v1/proposal.js +25 -0
- package/esm/injective/wasmx/v1/query.js +39 -0
- package/esm/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/esm/injective/wasmx/v1/tx.js +63 -0
- package/esm/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/esm/injective/wasmx/v1/wasmx.js +10 -0
- package/esm/registry.js +1 -1
- package/esm/tendermint/abci/types.js +255 -0
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +29 -0
- package/esm/tendermint/types/block.js +5 -0
- package/esm/tendermint/types/evidence.js +22 -0
- package/esm/tendermint/types/params.js +46 -0
- package/esm/tendermint/types/types.js +87 -0
- package/esm/tendermint/types/validator.js +15 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +283 -0
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +715 -86
- package/google/protobuf/descriptor.js +215 -0
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/transfer.d.ts +54 -4
- package/ibc/applications/transfer/v1/transfer.js +24 -0
- package/ibc/applications/transfer/v1/tx.d.ts +125 -26
- package/ibc/applications/transfer/v1/tx.js +27 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +12 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/ibc/bundle.d.ts +1 -1
- package/ibc/bundle.js +2 -2
- package/ibc/core/channel/v1/channel.d.ts +316 -64
- package/ibc/core/channel/v1/channel.js +70 -0
- package/ibc/core/channel/v1/tx.d.ts +676 -70
- package/ibc/core/channel/v1/tx.js +242 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +115 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/ibc/core/channel/v1/upgrade.d.ts +55 -4
- package/ibc/core/channel/v1/upgrade.js +25 -0
- package/ibc/core/client/v1/client.d.ts +129 -18
- package/ibc/core/client/v1/client.js +45 -0
- package/ibc/core/client/v1/tx.d.ts +338 -56
- package/ibc/core/client/v1/tx.js +90 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +42 -0
- package/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/ibc/core/commitment/v1/commitment.d.ts +43 -0
- package/ibc/core/commitment/v1/commitment.js +25 -0
- package/ibc/core/connection/v1/connection.d.ts +197 -36
- package/ibc/core/connection/v1/connection.js +47 -0
- package/ibc/core/connection/v1/tx.d.ts +250 -56
- package/ibc/core/connection/v1/tx.js +66 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +32 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/injective/auction/v1beta1/auction.d.ts +168 -26
- package/injective/auction/v1beta1/auction.js +30 -0
- package/injective/auction/v1beta1/genesis.d.ts +48 -12
- package/injective/auction/v1beta1/genesis.js +6 -0
- package/injective/auction/v1beta1/query.d.ts +138 -10
- package/injective/auction/v1beta1/query.js +52 -0
- package/injective/auction/v1beta1/query.rpc.func.d.ts +23 -0
- package/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/injective/auction/v1beta1/tx.d.ts +81 -8
- package/injective/auction/v1beta1/tx.js +21 -0
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +11 -0
- package/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/injective/bundle.d.ts +14 -14
- package/injective/bundle.js +18 -18
- package/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +27 -0
- package/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/injective/exchange/v1beta1/authz.d.ts +174 -6
- package/injective/exchange/v1beta1/authz.js +58 -0
- package/injective/exchange/v1beta1/events.d.ts +546 -2
- package/injective/exchange/v1beta1/events.js +180 -0
- package/injective/exchange/v1beta1/exchange.d.ts +1305 -188
- package/injective/exchange/v1beta1/exchange.js +263 -0
- package/injective/exchange/v1beta1/genesis.d.ts +357 -38
- package/injective/exchange/v1beta1/genesis.js +89 -0
- package/injective/exchange/v1beta1/proposal.d.ts +589 -94
- package/injective/exchange/v1beta1/proposal.js +113 -0
- package/injective/exchange/v1beta1/query.d.ts +2162 -136
- package/injective/exchange/v1beta1/query.js +864 -0
- package/injective/exchange/v1beta1/query.rpc.func.d.ts +364 -0
- package/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/injective/exchange/v1beta1/tx.d.ts +1503 -170
- package/injective/exchange/v1beta1/tx.js +487 -0
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +228 -0
- package/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/injective/insurance/v1beta1/events.d.ts +111 -12
- package/injective/insurance/v1beta1/events.js +25 -0
- package/injective/insurance/v1beta1/genesis.d.ts +30 -6
- package/injective/insurance/v1beta1/genesis.js +6 -0
- package/injective/insurance/v1beta1/insurance.d.ts +117 -24
- package/injective/insurance/v1beta1/insurance.js +15 -0
- package/injective/insurance/v1beta1/query.d.ts +162 -2
- package/injective/insurance/v1beta1/query.js +84 -0
- package/injective/insurance/v1beta1/query.rpc.func.d.ts +37 -0
- package/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/injective/insurance/v1beta1/tx.d.ts +186 -24
- package/injective/insurance/v1beta1/tx.js +46 -0
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +25 -0
- package/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/injective/ocr/v1beta1/genesis.d.ts +171 -18
- package/injective/ocr/v1beta1/genesis.js +41 -0
- package/injective/ocr/v1beta1/ocr.d.ts +514 -68
- package/injective/ocr/v1beta1/ocr.js +108 -0
- package/injective/ocr/v1beta1/query.d.ts +210 -0
- package/injective/ocr/v1beta1/query.js +70 -0
- package/injective/ocr/v1beta1/query.rpc.func.d.ts +42 -0
- package/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/injective/ocr/v1beta1/tx.d.ts +360 -30
- package/injective/ocr/v1beta1/tx.js +90 -0
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +57 -0
- package/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/injective/oracle/v1beta1/events.d.ts +174 -4
- package/injective/oracle/v1beta1/events.js +56 -0
- package/injective/oracle/v1beta1/genesis.d.ts +39 -4
- package/injective/oracle/v1beta1/genesis.js +11 -0
- package/injective/oracle/v1beta1/oracle.d.ts +514 -52
- package/injective/oracle/v1beta1/oracle.js +122 -0
- package/injective/oracle/v1beta1/proposal.d.ts +165 -0
- package/injective/oracle/v1beta1/proposal.js +55 -0
- package/injective/oracle/v1beta1/query.d.ts +502 -0
- package/injective/oracle/v1beta1/query.js +240 -0
- package/injective/oracle/v1beta1/query.rpc.func.d.ts +98 -0
- package/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/injective/oracle/v1beta1/tx.d.ts +251 -10
- package/injective/oracle/v1beta1/tx.js +93 -0
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +52 -0
- package/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/injective/peggy/v1/attestation.d.ts +43 -0
- package/injective/peggy/v1/attestation.js +31 -0
- package/injective/peggy/v1/batch.d.ts +36 -4
- package/injective/peggy/v1/batch.js +12 -0
- package/injective/peggy/v1/events.d.ts +255 -0
- package/injective/peggy/v1/events.js +85 -0
- package/injective/peggy/v1/genesis.d.ts +18 -2
- package/injective/peggy/v1/genesis.js +6 -0
- package/injective/peggy/v1/msgs.d.ts +473 -10
- package/injective/peggy/v1/msgs.js +223 -0
- package/injective/peggy/v1/msgs.rpc.func.d.ts +73 -0
- package/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/injective/peggy/v1/params.d.ts +15 -0
- package/injective/peggy/v1/params.js +5 -0
- package/injective/peggy/v1/pool.d.ts +33 -2
- package/injective/peggy/v1/pool.js +11 -0
- package/injective/peggy/v1/proposal.d.ts +30 -0
- package/injective/peggy/v1/proposal.js +10 -0
- package/injective/peggy/v1/query.d.ts +626 -0
- package/injective/peggy/v1/query.js +214 -0
- package/injective/peggy/v1/query.rpc.func.d.ts +110 -0
- package/injective/peggy/v1/query.rpc.func.js +110 -5
- package/injective/peggy/v1/types.d.ts +85 -6
- package/injective/peggy/v1/types.js +37 -0
- package/injective/permissions/v1beta1/events.d.ts +15 -0
- package/injective/permissions/v1beta1/events.js +5 -0
- package/injective/permissions/v1beta1/genesis.d.ts +24 -4
- package/injective/permissions/v1beta1/genesis.js +6 -0
- package/injective/permissions/v1beta1/params.d.ts +18 -2
- package/injective/permissions/v1beta1/params.js +6 -0
- package/injective/permissions/v1beta1/permissions.d.ts +117 -12
- package/injective/permissions/v1beta1/permissions.js +33 -0
- package/injective/permissions/v1beta1/query.d.ts +180 -6
- package/injective/permissions/v1beta1/query.js +74 -0
- package/injective/permissions/v1beta1/query.rpc.func.d.ts +43 -0
- package/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/injective/permissions/v1beta1/tx.d.ts +318 -16
- package/injective/permissions/v1beta1/tx.js +90 -0
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +35 -0
- package/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/injective/stream/v1beta1/query.d.ts +336 -2
- package/injective/stream/v1beta1/query.js +110 -0
- package/injective/tokenfactory/v1beta1/authorityMetadata.d.ts +20 -2
- package/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/injective/tokenfactory/v1beta1/events.d.ts +75 -0
- package/injective/tokenfactory/v1beta1/events.js +25 -0
- package/injective/tokenfactory/v1beta1/genesis.d.ts +38 -4
- package/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/injective/tokenfactory/v1beta1/params.d.ts +18 -2
- package/injective/tokenfactory/v1beta1/params.js +6 -0
- package/injective/tokenfactory/v1beta1/query.d.ts +120 -6
- package/injective/tokenfactory/v1beta1/query.js +54 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.d.ts +27 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/injective/tokenfactory/v1beta1/tx.d.ts +183 -4
- package/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +30 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/injective/types/v1beta1/account.d.ts +13 -0
- package/injective/types/v1beta1/account.js +7 -0
- package/injective/types/v1beta1/tx_ext.d.ts +15 -0
- package/injective/types/v1beta1/tx_ext.js +5 -0
- package/injective/types/v1beta1/tx_response.d.ts +31 -2
- package/injective/types/v1beta1/tx_response.js +13 -0
- package/injective/wasmx/v1/events.d.ts +45 -0
- package/injective/wasmx/v1/events.js +15 -0
- package/injective/wasmx/v1/genesis.d.ts +39 -4
- package/injective/wasmx/v1/genesis.js +11 -0
- package/injective/wasmx/v1/proposal.d.ts +99 -8
- package/injective/wasmx/v1/proposal.js +25 -0
- package/injective/wasmx/v1/query.d.ts +85 -2
- package/injective/wasmx/v1/query.js +39 -0
- package/injective/wasmx/v1/query.rpc.func.d.ts +18 -0
- package/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/injective/wasmx/v1/tx.d.ts +253 -26
- package/injective/wasmx/v1/tx.js +63 -0
- package/injective/wasmx/v1/tx.rpc.func.d.ts +30 -0
- package/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/injective/wasmx/v1/wasmx.d.ts +60 -10
- package/injective/wasmx/v1/wasmx.js +10 -0
- package/package.json +9 -9
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +255 -0
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +29 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +5 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +22 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +46 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +87 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +15 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -71,15 +71,26 @@ export declare function proposalExecutorResultToJSON(object: ProposalExecutorRes
|
|
|
71
71
|
/**
|
|
72
72
|
* Member represents a group member with an account address,
|
|
73
73
|
* non-zero weight, metadata and added_at timestamp.
|
|
74
|
+
* @name Member
|
|
75
|
+
* @package cosmos.group.v1
|
|
76
|
+
* @see proto type: cosmos.group.v1.Member
|
|
74
77
|
*/
|
|
75
78
|
export interface Member {
|
|
76
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* address is the member's account address.
|
|
81
|
+
*/
|
|
77
82
|
address: string;
|
|
78
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* weight is the member's voting weight that should be greater than 0.
|
|
85
|
+
*/
|
|
79
86
|
weight: string;
|
|
80
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* metadata is any arbitrary metadata attached to the member.
|
|
89
|
+
*/
|
|
81
90
|
metadata: string;
|
|
82
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* added_at is a timestamp specifying when a member was added.
|
|
93
|
+
*/
|
|
83
94
|
addedAt: Date;
|
|
84
95
|
}
|
|
85
96
|
export interface MemberProtoMsg {
|
|
@@ -89,15 +100,26 @@ export interface MemberProtoMsg {
|
|
|
89
100
|
/**
|
|
90
101
|
* Member represents a group member with an account address,
|
|
91
102
|
* non-zero weight, metadata and added_at timestamp.
|
|
103
|
+
* @name MemberAmino
|
|
104
|
+
* @package cosmos.group.v1
|
|
105
|
+
* @see proto type: cosmos.group.v1.Member
|
|
92
106
|
*/
|
|
93
107
|
export interface MemberAmino {
|
|
94
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* address is the member's account address.
|
|
110
|
+
*/
|
|
95
111
|
address: string;
|
|
96
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* weight is the member's voting weight that should be greater than 0.
|
|
114
|
+
*/
|
|
97
115
|
weight: string;
|
|
98
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* metadata is any arbitrary metadata attached to the member.
|
|
118
|
+
*/
|
|
99
119
|
metadata: string;
|
|
100
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* added_at is a timestamp specifying when a member was added.
|
|
122
|
+
*/
|
|
101
123
|
added_at: string;
|
|
102
124
|
}
|
|
103
125
|
export interface MemberAminoMsg {
|
|
@@ -108,13 +130,22 @@ export interface MemberAminoMsg {
|
|
|
108
130
|
* MemberRequest represents a group member to be used in Msg server requests.
|
|
109
131
|
* Contrary to `Member`, it doesn't have any `added_at` field
|
|
110
132
|
* since this field cannot be set as part of requests.
|
|
133
|
+
* @name MemberRequest
|
|
134
|
+
* @package cosmos.group.v1
|
|
135
|
+
* @see proto type: cosmos.group.v1.MemberRequest
|
|
111
136
|
*/
|
|
112
137
|
export interface MemberRequest {
|
|
113
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* address is the member's account address.
|
|
140
|
+
*/
|
|
114
141
|
address: string;
|
|
115
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* weight is the member's voting weight that should be greater than 0.
|
|
144
|
+
*/
|
|
116
145
|
weight: string;
|
|
117
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* metadata is any arbitrary metadata attached to the member.
|
|
148
|
+
*/
|
|
118
149
|
metadata: string;
|
|
119
150
|
}
|
|
120
151
|
export interface MemberRequestProtoMsg {
|
|
@@ -125,13 +156,22 @@ export interface MemberRequestProtoMsg {
|
|
|
125
156
|
* MemberRequest represents a group member to be used in Msg server requests.
|
|
126
157
|
* Contrary to `Member`, it doesn't have any `added_at` field
|
|
127
158
|
* since this field cannot be set as part of requests.
|
|
159
|
+
* @name MemberRequestAmino
|
|
160
|
+
* @package cosmos.group.v1
|
|
161
|
+
* @see proto type: cosmos.group.v1.MemberRequest
|
|
128
162
|
*/
|
|
129
163
|
export interface MemberRequestAmino {
|
|
130
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* address is the member's account address.
|
|
166
|
+
*/
|
|
131
167
|
address: string;
|
|
132
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* weight is the member's voting weight that should be greater than 0.
|
|
170
|
+
*/
|
|
133
171
|
weight: string;
|
|
134
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* metadata is any arbitrary metadata attached to the member.
|
|
174
|
+
*/
|
|
135
175
|
metadata: string;
|
|
136
176
|
}
|
|
137
177
|
export interface MemberRequestAminoMsg {
|
|
@@ -145,6 +185,9 @@ export interface MemberRequestAminoMsg {
|
|
|
145
185
|
* `threshold`.
|
|
146
186
|
* 2. The voting and execution periods of the proposal respect the parameters
|
|
147
187
|
* given by `windows`.
|
|
188
|
+
* @name ThresholdDecisionPolicy
|
|
189
|
+
* @package cosmos.group.v1
|
|
190
|
+
* @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
|
|
148
191
|
*/
|
|
149
192
|
export interface ThresholdDecisionPolicy {
|
|
150
193
|
/**
|
|
@@ -152,7 +195,9 @@ export interface ThresholdDecisionPolicy {
|
|
|
152
195
|
* exceeded for a proposal to succeed.
|
|
153
196
|
*/
|
|
154
197
|
threshold: string;
|
|
155
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* windows defines the different windows for voting and execution.
|
|
200
|
+
*/
|
|
156
201
|
windows?: DecisionPolicyWindows;
|
|
157
202
|
}
|
|
158
203
|
export interface ThresholdDecisionPolicyProtoMsg {
|
|
@@ -166,6 +211,9 @@ export interface ThresholdDecisionPolicyProtoMsg {
|
|
|
166
211
|
* `threshold`.
|
|
167
212
|
* 2. The voting and execution periods of the proposal respect the parameters
|
|
168
213
|
* given by `windows`.
|
|
214
|
+
* @name ThresholdDecisionPolicyAmino
|
|
215
|
+
* @package cosmos.group.v1
|
|
216
|
+
* @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
|
|
169
217
|
*/
|
|
170
218
|
export interface ThresholdDecisionPolicyAmino {
|
|
171
219
|
/**
|
|
@@ -173,7 +221,9 @@ export interface ThresholdDecisionPolicyAmino {
|
|
|
173
221
|
* exceeded for a proposal to succeed.
|
|
174
222
|
*/
|
|
175
223
|
threshold: string;
|
|
176
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* windows defines the different windows for voting and execution.
|
|
226
|
+
*/
|
|
177
227
|
windows?: DecisionPolicyWindowsAmino;
|
|
178
228
|
}
|
|
179
229
|
export interface ThresholdDecisionPolicyAminoMsg {
|
|
@@ -187,6 +237,9 @@ export interface ThresholdDecisionPolicyAminoMsg {
|
|
|
187
237
|
* is greater or equal than the given `percentage`.
|
|
188
238
|
* 2. The voting and execution periods of the proposal respect the parameters
|
|
189
239
|
* given by `windows`.
|
|
240
|
+
* @name PercentageDecisionPolicy
|
|
241
|
+
* @package cosmos.group.v1
|
|
242
|
+
* @see proto type: cosmos.group.v1.PercentageDecisionPolicy
|
|
190
243
|
*/
|
|
191
244
|
export interface PercentageDecisionPolicy {
|
|
192
245
|
/**
|
|
@@ -194,7 +247,9 @@ export interface PercentageDecisionPolicy {
|
|
|
194
247
|
* meet for a proposal to succeed.
|
|
195
248
|
*/
|
|
196
249
|
percentage: string;
|
|
197
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* windows defines the different windows for voting and execution.
|
|
252
|
+
*/
|
|
198
253
|
windows?: DecisionPolicyWindows;
|
|
199
254
|
}
|
|
200
255
|
export interface PercentageDecisionPolicyProtoMsg {
|
|
@@ -208,6 +263,9 @@ export interface PercentageDecisionPolicyProtoMsg {
|
|
|
208
263
|
* is greater or equal than the given `percentage`.
|
|
209
264
|
* 2. The voting and execution periods of the proposal respect the parameters
|
|
210
265
|
* given by `windows`.
|
|
266
|
+
* @name PercentageDecisionPolicyAmino
|
|
267
|
+
* @package cosmos.group.v1
|
|
268
|
+
* @see proto type: cosmos.group.v1.PercentageDecisionPolicy
|
|
211
269
|
*/
|
|
212
270
|
export interface PercentageDecisionPolicyAmino {
|
|
213
271
|
/**
|
|
@@ -215,14 +273,21 @@ export interface PercentageDecisionPolicyAmino {
|
|
|
215
273
|
* meet for a proposal to succeed.
|
|
216
274
|
*/
|
|
217
275
|
percentage: string;
|
|
218
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* windows defines the different windows for voting and execution.
|
|
278
|
+
*/
|
|
219
279
|
windows?: DecisionPolicyWindowsAmino;
|
|
220
280
|
}
|
|
221
281
|
export interface PercentageDecisionPolicyAminoMsg {
|
|
222
282
|
type: "cosmos-sdk/PercentageDecisionPolicy";
|
|
223
283
|
value: PercentageDecisionPolicyAmino;
|
|
224
284
|
}
|
|
225
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* DecisionPolicyWindows defines the different windows for voting and execution.
|
|
287
|
+
* @name DecisionPolicyWindows
|
|
288
|
+
* @package cosmos.group.v1
|
|
289
|
+
* @see proto type: cosmos.group.v1.DecisionPolicyWindows
|
|
290
|
+
*/
|
|
226
291
|
export interface DecisionPolicyWindows {
|
|
227
292
|
/**
|
|
228
293
|
* voting_period is the duration from submission of a proposal to the end of voting period
|
|
@@ -248,7 +313,12 @@ export interface DecisionPolicyWindowsProtoMsg {
|
|
|
248
313
|
typeUrl: "/cosmos.group.v1.DecisionPolicyWindows";
|
|
249
314
|
value: Uint8Array;
|
|
250
315
|
}
|
|
251
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* DecisionPolicyWindows defines the different windows for voting and execution.
|
|
318
|
+
* @name DecisionPolicyWindowsAmino
|
|
319
|
+
* @package cosmos.group.v1
|
|
320
|
+
* @see proto type: cosmos.group.v1.DecisionPolicyWindows
|
|
321
|
+
*/
|
|
252
322
|
export interface DecisionPolicyWindowsAmino {
|
|
253
323
|
/**
|
|
254
324
|
* voting_period is the duration from submission of a proposal to the end of voting period
|
|
@@ -274,11 +344,20 @@ export interface DecisionPolicyWindowsAminoMsg {
|
|
|
274
344
|
type: "cosmos-sdk/DecisionPolicyWindows";
|
|
275
345
|
value: DecisionPolicyWindowsAmino;
|
|
276
346
|
}
|
|
277
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* GroupInfo represents the high-level on-chain information for a group.
|
|
349
|
+
* @name GroupInfo
|
|
350
|
+
* @package cosmos.group.v1
|
|
351
|
+
* @see proto type: cosmos.group.v1.GroupInfo
|
|
352
|
+
*/
|
|
278
353
|
export interface GroupInfo {
|
|
279
|
-
/**
|
|
354
|
+
/**
|
|
355
|
+
* id is the unique ID of the group.
|
|
356
|
+
*/
|
|
280
357
|
id: bigint;
|
|
281
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* admin is the account address of the group's admin.
|
|
360
|
+
*/
|
|
282
361
|
admin: string;
|
|
283
362
|
/**
|
|
284
363
|
* metadata is any arbitrary metadata to attached to the group.
|
|
@@ -292,20 +371,33 @@ export interface GroupInfo {
|
|
|
292
371
|
* cause proposals based on older versions of this group to fail
|
|
293
372
|
*/
|
|
294
373
|
version: bigint;
|
|
295
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* total_weight is the sum of the group members' weights.
|
|
376
|
+
*/
|
|
296
377
|
totalWeight: string;
|
|
297
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* created_at is a timestamp specifying when a group was created.
|
|
380
|
+
*/
|
|
298
381
|
createdAt: Date;
|
|
299
382
|
}
|
|
300
383
|
export interface GroupInfoProtoMsg {
|
|
301
384
|
typeUrl: "/cosmos.group.v1.GroupInfo";
|
|
302
385
|
value: Uint8Array;
|
|
303
386
|
}
|
|
304
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* GroupInfo represents the high-level on-chain information for a group.
|
|
389
|
+
* @name GroupInfoAmino
|
|
390
|
+
* @package cosmos.group.v1
|
|
391
|
+
* @see proto type: cosmos.group.v1.GroupInfo
|
|
392
|
+
*/
|
|
305
393
|
export interface GroupInfoAmino {
|
|
306
|
-
/**
|
|
394
|
+
/**
|
|
395
|
+
* id is the unique ID of the group.
|
|
396
|
+
*/
|
|
307
397
|
id: string;
|
|
308
|
-
/**
|
|
398
|
+
/**
|
|
399
|
+
* admin is the account address of the group's admin.
|
|
400
|
+
*/
|
|
309
401
|
admin: string;
|
|
310
402
|
/**
|
|
311
403
|
* metadata is any arbitrary metadata to attached to the group.
|
|
@@ -319,44 +411,77 @@ export interface GroupInfoAmino {
|
|
|
319
411
|
* cause proposals based on older versions of this group to fail
|
|
320
412
|
*/
|
|
321
413
|
version: string;
|
|
322
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* total_weight is the sum of the group members' weights.
|
|
416
|
+
*/
|
|
323
417
|
total_weight: string;
|
|
324
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* created_at is a timestamp specifying when a group was created.
|
|
420
|
+
*/
|
|
325
421
|
created_at: string;
|
|
326
422
|
}
|
|
327
423
|
export interface GroupInfoAminoMsg {
|
|
328
424
|
type: "cosmos-sdk/GroupInfo";
|
|
329
425
|
value: GroupInfoAmino;
|
|
330
426
|
}
|
|
331
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* GroupMember represents the relationship between a group and a member.
|
|
429
|
+
* @name GroupMember
|
|
430
|
+
* @package cosmos.group.v1
|
|
431
|
+
* @see proto type: cosmos.group.v1.GroupMember
|
|
432
|
+
*/
|
|
332
433
|
export interface GroupMember {
|
|
333
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* group_id is the unique ID of the group.
|
|
436
|
+
*/
|
|
334
437
|
groupId: bigint;
|
|
335
|
-
/**
|
|
438
|
+
/**
|
|
439
|
+
* member is the member data.
|
|
440
|
+
*/
|
|
336
441
|
member?: Member;
|
|
337
442
|
}
|
|
338
443
|
export interface GroupMemberProtoMsg {
|
|
339
444
|
typeUrl: "/cosmos.group.v1.GroupMember";
|
|
340
445
|
value: Uint8Array;
|
|
341
446
|
}
|
|
342
|
-
/**
|
|
447
|
+
/**
|
|
448
|
+
* GroupMember represents the relationship between a group and a member.
|
|
449
|
+
* @name GroupMemberAmino
|
|
450
|
+
* @package cosmos.group.v1
|
|
451
|
+
* @see proto type: cosmos.group.v1.GroupMember
|
|
452
|
+
*/
|
|
343
453
|
export interface GroupMemberAmino {
|
|
344
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* group_id is the unique ID of the group.
|
|
456
|
+
*/
|
|
345
457
|
group_id: string;
|
|
346
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* member is the member data.
|
|
460
|
+
*/
|
|
347
461
|
member?: MemberAmino;
|
|
348
462
|
}
|
|
349
463
|
export interface GroupMemberAminoMsg {
|
|
350
464
|
type: "cosmos-sdk/GroupMember";
|
|
351
465
|
value: GroupMemberAmino;
|
|
352
466
|
}
|
|
353
|
-
/**
|
|
467
|
+
/**
|
|
468
|
+
* GroupPolicyInfo represents the high-level on-chain information for a group policy.
|
|
469
|
+
* @name GroupPolicyInfo
|
|
470
|
+
* @package cosmos.group.v1
|
|
471
|
+
* @see proto type: cosmos.group.v1.GroupPolicyInfo
|
|
472
|
+
*/
|
|
354
473
|
export interface GroupPolicyInfo {
|
|
355
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* address is the account address of group policy.
|
|
476
|
+
*/
|
|
356
477
|
address: string;
|
|
357
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* group_id is the unique ID of the group.
|
|
480
|
+
*/
|
|
358
481
|
groupId: bigint;
|
|
359
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* admin is the account address of the group admin.
|
|
484
|
+
*/
|
|
360
485
|
admin: string;
|
|
361
486
|
/**
|
|
362
487
|
* metadata is any arbitrary metadata attached to the group policy.
|
|
@@ -369,9 +494,13 @@ export interface GroupPolicyInfo {
|
|
|
369
494
|
* would create a different result on a running proposal.
|
|
370
495
|
*/
|
|
371
496
|
version: bigint;
|
|
372
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* decision_policy specifies the group policy's decision policy.
|
|
499
|
+
*/
|
|
373
500
|
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
|
|
374
|
-
/**
|
|
501
|
+
/**
|
|
502
|
+
* created_at is a timestamp specifying when a group policy was created.
|
|
503
|
+
*/
|
|
375
504
|
createdAt: Date;
|
|
376
505
|
}
|
|
377
506
|
export interface GroupPolicyInfoProtoMsg {
|
|
@@ -379,15 +508,29 @@ export interface GroupPolicyInfoProtoMsg {
|
|
|
379
508
|
value: Uint8Array;
|
|
380
509
|
}
|
|
381
510
|
export type GroupPolicyInfoEncoded = Omit<GroupPolicyInfo, "decisionPolicy"> & {
|
|
382
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* decision_policy specifies the group policy's decision policy.
|
|
513
|
+
*/
|
|
514
|
+
decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
|
|
383
515
|
};
|
|
384
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* GroupPolicyInfo represents the high-level on-chain information for a group policy.
|
|
518
|
+
* @name GroupPolicyInfoAmino
|
|
519
|
+
* @package cosmos.group.v1
|
|
520
|
+
* @see proto type: cosmos.group.v1.GroupPolicyInfo
|
|
521
|
+
*/
|
|
385
522
|
export interface GroupPolicyInfoAmino {
|
|
386
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* address is the account address of group policy.
|
|
525
|
+
*/
|
|
387
526
|
address: string;
|
|
388
|
-
/**
|
|
527
|
+
/**
|
|
528
|
+
* group_id is the unique ID of the group.
|
|
529
|
+
*/
|
|
389
530
|
group_id: string;
|
|
390
|
-
/**
|
|
531
|
+
/**
|
|
532
|
+
* admin is the account address of the group admin.
|
|
533
|
+
*/
|
|
391
534
|
admin: string;
|
|
392
535
|
/**
|
|
393
536
|
* metadata is any arbitrary metadata attached to the group policy.
|
|
@@ -400,9 +543,13 @@ export interface GroupPolicyInfoAmino {
|
|
|
400
543
|
* would create a different result on a running proposal.
|
|
401
544
|
*/
|
|
402
545
|
version: string;
|
|
403
|
-
/**
|
|
546
|
+
/**
|
|
547
|
+
* decision_policy specifies the group policy's decision policy.
|
|
548
|
+
*/
|
|
404
549
|
decision_policy?: AnyAmino;
|
|
405
|
-
/**
|
|
550
|
+
/**
|
|
551
|
+
* created_at is a timestamp specifying when a group policy was created.
|
|
552
|
+
*/
|
|
406
553
|
created_at: string;
|
|
407
554
|
}
|
|
408
555
|
export interface GroupPolicyInfoAminoMsg {
|
|
@@ -414,11 +561,18 @@ export interface GroupPolicyInfoAminoMsg {
|
|
|
414
561
|
* for a group policy to decide upon.
|
|
415
562
|
* A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
|
|
416
563
|
* passes as well as some optional metadata associated with the proposal.
|
|
564
|
+
* @name Proposal
|
|
565
|
+
* @package cosmos.group.v1
|
|
566
|
+
* @see proto type: cosmos.group.v1.Proposal
|
|
417
567
|
*/
|
|
418
568
|
export interface Proposal {
|
|
419
|
-
/**
|
|
569
|
+
/**
|
|
570
|
+
* id is the unique id of the proposal.
|
|
571
|
+
*/
|
|
420
572
|
id: bigint;
|
|
421
|
-
/**
|
|
573
|
+
/**
|
|
574
|
+
* group_policy_address is the account address of group policy.
|
|
575
|
+
*/
|
|
422
576
|
groupPolicyAddress: string;
|
|
423
577
|
/**
|
|
424
578
|
* metadata is any arbitrary metadata attached to the proposal.
|
|
@@ -426,9 +580,13 @@ export interface Proposal {
|
|
|
426
580
|
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
427
581
|
*/
|
|
428
582
|
metadata: string;
|
|
429
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* proposers are the account addresses of the proposers.
|
|
585
|
+
*/
|
|
430
586
|
proposers: string[];
|
|
431
|
-
/**
|
|
587
|
+
/**
|
|
588
|
+
* submit_time is a timestamp specifying when a proposal was submitted.
|
|
589
|
+
*/
|
|
432
590
|
submitTime: Date;
|
|
433
591
|
/**
|
|
434
592
|
* group_version tracks the version of the group at proposal submission.
|
|
@@ -442,7 +600,9 @@ export interface Proposal {
|
|
|
442
600
|
* This field is here for informational purposes only.
|
|
443
601
|
*/
|
|
444
602
|
groupPolicyVersion: bigint;
|
|
445
|
-
/**
|
|
603
|
+
/**
|
|
604
|
+
* status represents the high level position in the life cycle of the proposal. Initial value is Submitted.
|
|
605
|
+
*/
|
|
446
606
|
status: ProposalStatus;
|
|
447
607
|
/**
|
|
448
608
|
* final_tally_result contains the sums of all weighted votes for this
|
|
@@ -459,9 +619,13 @@ export interface Proposal {
|
|
|
459
619
|
* accordingly updated.
|
|
460
620
|
*/
|
|
461
621
|
votingPeriodEnd: Date;
|
|
462
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* executor_result is the final result of the proposal execution. Initial value is NotRun.
|
|
624
|
+
*/
|
|
463
625
|
executorResult: ProposalExecutorResult;
|
|
464
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
|
|
628
|
+
*/
|
|
465
629
|
messages: Any[];
|
|
466
630
|
/**
|
|
467
631
|
* title is the title of the proposal
|
|
@@ -485,11 +649,18 @@ export interface ProposalProtoMsg {
|
|
|
485
649
|
* for a group policy to decide upon.
|
|
486
650
|
* A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
|
|
487
651
|
* passes as well as some optional metadata associated with the proposal.
|
|
652
|
+
* @name ProposalAmino
|
|
653
|
+
* @package cosmos.group.v1
|
|
654
|
+
* @see proto type: cosmos.group.v1.Proposal
|
|
488
655
|
*/
|
|
489
656
|
export interface ProposalAmino {
|
|
490
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* id is the unique id of the proposal.
|
|
659
|
+
*/
|
|
491
660
|
id: string;
|
|
492
|
-
/**
|
|
661
|
+
/**
|
|
662
|
+
* group_policy_address is the account address of group policy.
|
|
663
|
+
*/
|
|
493
664
|
group_policy_address: string;
|
|
494
665
|
/**
|
|
495
666
|
* metadata is any arbitrary metadata attached to the proposal.
|
|
@@ -497,9 +668,13 @@ export interface ProposalAmino {
|
|
|
497
668
|
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
498
669
|
*/
|
|
499
670
|
metadata: string;
|
|
500
|
-
/**
|
|
671
|
+
/**
|
|
672
|
+
* proposers are the account addresses of the proposers.
|
|
673
|
+
*/
|
|
501
674
|
proposers: string[];
|
|
502
|
-
/**
|
|
675
|
+
/**
|
|
676
|
+
* submit_time is a timestamp specifying when a proposal was submitted.
|
|
677
|
+
*/
|
|
503
678
|
submit_time: string;
|
|
504
679
|
/**
|
|
505
680
|
* group_version tracks the version of the group at proposal submission.
|
|
@@ -513,7 +688,9 @@ export interface ProposalAmino {
|
|
|
513
688
|
* This field is here for informational purposes only.
|
|
514
689
|
*/
|
|
515
690
|
group_policy_version: string;
|
|
516
|
-
/**
|
|
691
|
+
/**
|
|
692
|
+
* status represents the high level position in the life cycle of the proposal. Initial value is Submitted.
|
|
693
|
+
*/
|
|
517
694
|
status: ProposalStatus;
|
|
518
695
|
/**
|
|
519
696
|
* final_tally_result contains the sums of all weighted votes for this
|
|
@@ -530,9 +707,13 @@ export interface ProposalAmino {
|
|
|
530
707
|
* accordingly updated.
|
|
531
708
|
*/
|
|
532
709
|
voting_period_end: string;
|
|
533
|
-
/**
|
|
710
|
+
/**
|
|
711
|
+
* executor_result is the final result of the proposal execution. Initial value is NotRun.
|
|
712
|
+
*/
|
|
534
713
|
executor_result: ProposalExecutorResult;
|
|
535
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
|
|
716
|
+
*/
|
|
536
717
|
messages: AnyAmino[];
|
|
537
718
|
/**
|
|
538
719
|
* title is the title of the proposal
|
|
@@ -551,76 +732,135 @@ export interface ProposalAminoMsg {
|
|
|
551
732
|
type: "cosmos-sdk/Proposal";
|
|
552
733
|
value: ProposalAmino;
|
|
553
734
|
}
|
|
554
|
-
/**
|
|
735
|
+
/**
|
|
736
|
+
* TallyResult represents the sum of weighted votes for each vote option.
|
|
737
|
+
* @name TallyResult
|
|
738
|
+
* @package cosmos.group.v1
|
|
739
|
+
* @see proto type: cosmos.group.v1.TallyResult
|
|
740
|
+
*/
|
|
555
741
|
export interface TallyResult {
|
|
556
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* yes_count is the weighted sum of yes votes.
|
|
744
|
+
*/
|
|
557
745
|
yesCount: string;
|
|
558
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* abstain_count is the weighted sum of abstainers.
|
|
748
|
+
*/
|
|
559
749
|
abstainCount: string;
|
|
560
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* no_count is the weighted sum of no votes.
|
|
752
|
+
*/
|
|
561
753
|
noCount: string;
|
|
562
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* no_with_veto_count is the weighted sum of veto.
|
|
756
|
+
*/
|
|
563
757
|
noWithVetoCount: string;
|
|
564
758
|
}
|
|
565
759
|
export interface TallyResultProtoMsg {
|
|
566
760
|
typeUrl: "/cosmos.group.v1.TallyResult";
|
|
567
761
|
value: Uint8Array;
|
|
568
762
|
}
|
|
569
|
-
/**
|
|
763
|
+
/**
|
|
764
|
+
* TallyResult represents the sum of weighted votes for each vote option.
|
|
765
|
+
* @name TallyResultAmino
|
|
766
|
+
* @package cosmos.group.v1
|
|
767
|
+
* @see proto type: cosmos.group.v1.TallyResult
|
|
768
|
+
*/
|
|
570
769
|
export interface TallyResultAmino {
|
|
571
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* yes_count is the weighted sum of yes votes.
|
|
772
|
+
*/
|
|
572
773
|
yes_count: string;
|
|
573
|
-
/**
|
|
774
|
+
/**
|
|
775
|
+
* abstain_count is the weighted sum of abstainers.
|
|
776
|
+
*/
|
|
574
777
|
abstain_count: string;
|
|
575
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* no_count is the weighted sum of no votes.
|
|
780
|
+
*/
|
|
576
781
|
no_count: string;
|
|
577
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* no_with_veto_count is the weighted sum of veto.
|
|
784
|
+
*/
|
|
578
785
|
no_with_veto_count: string;
|
|
579
786
|
}
|
|
580
787
|
export interface TallyResultAminoMsg {
|
|
581
788
|
type: "cosmos-sdk/TallyResult";
|
|
582
789
|
value: TallyResultAmino;
|
|
583
790
|
}
|
|
584
|
-
/**
|
|
791
|
+
/**
|
|
792
|
+
* Vote represents a vote for a proposal.string metadata
|
|
793
|
+
* @name Vote
|
|
794
|
+
* @package cosmos.group.v1
|
|
795
|
+
* @see proto type: cosmos.group.v1.Vote
|
|
796
|
+
*/
|
|
585
797
|
export interface Vote {
|
|
586
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* proposal is the unique ID of the proposal.
|
|
800
|
+
*/
|
|
587
801
|
proposalId: bigint;
|
|
588
|
-
/**
|
|
802
|
+
/**
|
|
803
|
+
* voter is the account address of the voter.
|
|
804
|
+
*/
|
|
589
805
|
voter: string;
|
|
590
|
-
/**
|
|
806
|
+
/**
|
|
807
|
+
* option is the voter's choice on the proposal.
|
|
808
|
+
*/
|
|
591
809
|
option: VoteOption;
|
|
592
810
|
/**
|
|
593
811
|
* metadata is any arbitrary metadata attached to the vote.
|
|
594
812
|
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
|
|
595
813
|
*/
|
|
596
814
|
metadata: string;
|
|
597
|
-
/**
|
|
815
|
+
/**
|
|
816
|
+
* submit_time is the timestamp when the vote was submitted.
|
|
817
|
+
*/
|
|
598
818
|
submitTime: Date;
|
|
599
819
|
}
|
|
600
820
|
export interface VoteProtoMsg {
|
|
601
821
|
typeUrl: "/cosmos.group.v1.Vote";
|
|
602
822
|
value: Uint8Array;
|
|
603
823
|
}
|
|
604
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* Vote represents a vote for a proposal.string metadata
|
|
826
|
+
* @name VoteAmino
|
|
827
|
+
* @package cosmos.group.v1
|
|
828
|
+
* @see proto type: cosmos.group.v1.Vote
|
|
829
|
+
*/
|
|
605
830
|
export interface VoteAmino {
|
|
606
|
-
/**
|
|
831
|
+
/**
|
|
832
|
+
* proposal is the unique ID of the proposal.
|
|
833
|
+
*/
|
|
607
834
|
proposal_id: string;
|
|
608
|
-
/**
|
|
835
|
+
/**
|
|
836
|
+
* voter is the account address of the voter.
|
|
837
|
+
*/
|
|
609
838
|
voter: string;
|
|
610
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* option is the voter's choice on the proposal.
|
|
841
|
+
*/
|
|
611
842
|
option: VoteOption;
|
|
612
843
|
/**
|
|
613
844
|
* metadata is any arbitrary metadata attached to the vote.
|
|
614
845
|
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
|
|
615
846
|
*/
|
|
616
847
|
metadata: string;
|
|
617
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* submit_time is the timestamp when the vote was submitted.
|
|
850
|
+
*/
|
|
618
851
|
submit_time: string;
|
|
619
852
|
}
|
|
620
853
|
export interface VoteAminoMsg {
|
|
621
854
|
type: "cosmos-sdk/Vote";
|
|
622
855
|
value: VoteAmino;
|
|
623
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* Member represents a group member with an account address,
|
|
859
|
+
* non-zero weight, metadata and added_at timestamp.
|
|
860
|
+
* @name Member
|
|
861
|
+
* @package cosmos.group.v1
|
|
862
|
+
* @see proto type: cosmos.group.v1.Member
|
|
863
|
+
*/
|
|
624
864
|
export declare const Member: {
|
|
625
865
|
typeUrl: string;
|
|
626
866
|
aminoType: string;
|
|
@@ -638,6 +878,14 @@ export declare const Member: {
|
|
|
638
878
|
toProtoMsg(message: Member): MemberProtoMsg;
|
|
639
879
|
registerTypeUrl(): void;
|
|
640
880
|
};
|
|
881
|
+
/**
|
|
882
|
+
* MemberRequest represents a group member to be used in Msg server requests.
|
|
883
|
+
* Contrary to `Member`, it doesn't have any `added_at` field
|
|
884
|
+
* since this field cannot be set as part of requests.
|
|
885
|
+
* @name MemberRequest
|
|
886
|
+
* @package cosmos.group.v1
|
|
887
|
+
* @see proto type: cosmos.group.v1.MemberRequest
|
|
888
|
+
*/
|
|
641
889
|
export declare const MemberRequest: {
|
|
642
890
|
typeUrl: string;
|
|
643
891
|
aminoType: string;
|
|
@@ -655,6 +903,17 @@ export declare const MemberRequest: {
|
|
|
655
903
|
toProtoMsg(message: MemberRequest): MemberRequestProtoMsg;
|
|
656
904
|
registerTypeUrl(): void;
|
|
657
905
|
};
|
|
906
|
+
/**
|
|
907
|
+
* ThresholdDecisionPolicy is a decision policy where a proposal passes when it
|
|
908
|
+
* satisfies the two following conditions:
|
|
909
|
+
* 1. The sum of all `YES` voter's weights is greater or equal than the defined
|
|
910
|
+
* `threshold`.
|
|
911
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
912
|
+
* given by `windows`.
|
|
913
|
+
* @name ThresholdDecisionPolicy
|
|
914
|
+
* @package cosmos.group.v1
|
|
915
|
+
* @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
|
|
916
|
+
*/
|
|
658
917
|
export declare const ThresholdDecisionPolicy: {
|
|
659
918
|
typeUrl: string;
|
|
660
919
|
aminoType: string;
|
|
@@ -672,6 +931,17 @@ export declare const ThresholdDecisionPolicy: {
|
|
|
672
931
|
toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg;
|
|
673
932
|
registerTypeUrl(): void;
|
|
674
933
|
};
|
|
934
|
+
/**
|
|
935
|
+
* PercentageDecisionPolicy is a decision policy where a proposal passes when
|
|
936
|
+
* it satisfies the two following conditions:
|
|
937
|
+
* 1. The percentage of all `YES` voters' weights out of the total group weight
|
|
938
|
+
* is greater or equal than the given `percentage`.
|
|
939
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
940
|
+
* given by `windows`.
|
|
941
|
+
* @name PercentageDecisionPolicy
|
|
942
|
+
* @package cosmos.group.v1
|
|
943
|
+
* @see proto type: cosmos.group.v1.PercentageDecisionPolicy
|
|
944
|
+
*/
|
|
675
945
|
export declare const PercentageDecisionPolicy: {
|
|
676
946
|
typeUrl: string;
|
|
677
947
|
aminoType: string;
|
|
@@ -689,6 +959,12 @@ export declare const PercentageDecisionPolicy: {
|
|
|
689
959
|
toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg;
|
|
690
960
|
registerTypeUrl(): void;
|
|
691
961
|
};
|
|
962
|
+
/**
|
|
963
|
+
* DecisionPolicyWindows defines the different windows for voting and execution.
|
|
964
|
+
* @name DecisionPolicyWindows
|
|
965
|
+
* @package cosmos.group.v1
|
|
966
|
+
* @see proto type: cosmos.group.v1.DecisionPolicyWindows
|
|
967
|
+
*/
|
|
692
968
|
export declare const DecisionPolicyWindows: {
|
|
693
969
|
typeUrl: string;
|
|
694
970
|
aminoType: string;
|
|
@@ -706,6 +982,12 @@ export declare const DecisionPolicyWindows: {
|
|
|
706
982
|
toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg;
|
|
707
983
|
registerTypeUrl(): void;
|
|
708
984
|
};
|
|
985
|
+
/**
|
|
986
|
+
* GroupInfo represents the high-level on-chain information for a group.
|
|
987
|
+
* @name GroupInfo
|
|
988
|
+
* @package cosmos.group.v1
|
|
989
|
+
* @see proto type: cosmos.group.v1.GroupInfo
|
|
990
|
+
*/
|
|
709
991
|
export declare const GroupInfo: {
|
|
710
992
|
typeUrl: string;
|
|
711
993
|
aminoType: string;
|
|
@@ -723,6 +1005,12 @@ export declare const GroupInfo: {
|
|
|
723
1005
|
toProtoMsg(message: GroupInfo): GroupInfoProtoMsg;
|
|
724
1006
|
registerTypeUrl(): void;
|
|
725
1007
|
};
|
|
1008
|
+
/**
|
|
1009
|
+
* GroupMember represents the relationship between a group and a member.
|
|
1010
|
+
* @name GroupMember
|
|
1011
|
+
* @package cosmos.group.v1
|
|
1012
|
+
* @see proto type: cosmos.group.v1.GroupMember
|
|
1013
|
+
*/
|
|
726
1014
|
export declare const GroupMember: {
|
|
727
1015
|
typeUrl: string;
|
|
728
1016
|
aminoType: string;
|
|
@@ -740,6 +1028,12 @@ export declare const GroupMember: {
|
|
|
740
1028
|
toProtoMsg(message: GroupMember): GroupMemberProtoMsg;
|
|
741
1029
|
registerTypeUrl(): void;
|
|
742
1030
|
};
|
|
1031
|
+
/**
|
|
1032
|
+
* GroupPolicyInfo represents the high-level on-chain information for a group policy.
|
|
1033
|
+
* @name GroupPolicyInfo
|
|
1034
|
+
* @package cosmos.group.v1
|
|
1035
|
+
* @see proto type: cosmos.group.v1.GroupPolicyInfo
|
|
1036
|
+
*/
|
|
743
1037
|
export declare const GroupPolicyInfo: {
|
|
744
1038
|
typeUrl: string;
|
|
745
1039
|
aminoType: string;
|
|
@@ -757,6 +1051,15 @@ export declare const GroupPolicyInfo: {
|
|
|
757
1051
|
toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg;
|
|
758
1052
|
registerTypeUrl(): void;
|
|
759
1053
|
};
|
|
1054
|
+
/**
|
|
1055
|
+
* Proposal defines a group proposal. Any member of a group can submit a proposal
|
|
1056
|
+
* for a group policy to decide upon.
|
|
1057
|
+
* A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
|
|
1058
|
+
* passes as well as some optional metadata associated with the proposal.
|
|
1059
|
+
* @name Proposal
|
|
1060
|
+
* @package cosmos.group.v1
|
|
1061
|
+
* @see proto type: cosmos.group.v1.Proposal
|
|
1062
|
+
*/
|
|
760
1063
|
export declare const Proposal: {
|
|
761
1064
|
typeUrl: string;
|
|
762
1065
|
aminoType: string;
|
|
@@ -774,6 +1077,12 @@ export declare const Proposal: {
|
|
|
774
1077
|
toProtoMsg(message: Proposal): ProposalProtoMsg;
|
|
775
1078
|
registerTypeUrl(): void;
|
|
776
1079
|
};
|
|
1080
|
+
/**
|
|
1081
|
+
* TallyResult represents the sum of weighted votes for each vote option.
|
|
1082
|
+
* @name TallyResult
|
|
1083
|
+
* @package cosmos.group.v1
|
|
1084
|
+
* @see proto type: cosmos.group.v1.TallyResult
|
|
1085
|
+
*/
|
|
777
1086
|
export declare const TallyResult: {
|
|
778
1087
|
typeUrl: string;
|
|
779
1088
|
aminoType: string;
|
|
@@ -791,6 +1100,12 @@ export declare const TallyResult: {
|
|
|
791
1100
|
toProtoMsg(message: TallyResult): TallyResultProtoMsg;
|
|
792
1101
|
registerTypeUrl(): void;
|
|
793
1102
|
};
|
|
1103
|
+
/**
|
|
1104
|
+
* Vote represents a vote for a proposal.string metadata
|
|
1105
|
+
* @name Vote
|
|
1106
|
+
* @package cosmos.group.v1
|
|
1107
|
+
* @see proto type: cosmos.group.v1.Vote
|
|
1108
|
+
*/
|
|
794
1109
|
export declare const Vote: {
|
|
795
1110
|
typeUrl: string;
|
|
796
1111
|
aminoType: string;
|