injectivejs 1.17.4 → 1.17.6
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/esm/binary.js +2 -2
- package/esm/cosmos/auth/v1beta1/auth.js +4 -4
- package/esm/cosmos/auth/v1beta1/query.js +7 -7
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +7 -7
- package/esm/cosmos/authz/v1beta1/tx.js +5 -5
- package/esm/cosmos/authz/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/bank/v1beta1/bank.js +3 -3
- package/esm/cosmos/bank/v1beta1/query.js +5 -5
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/bank/v1beta1/tx.js +4 -4
- package/esm/cosmos/bank/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/base/abci/v1beta1/abci.js +6 -6
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -2
- package/esm/cosmos/base/v1beta1/coin.js +1 -1
- package/esm/cosmos/bundle.js +57 -57
- package/esm/cosmos/crypto/ed25519/keys.js +2 -2
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -2
- package/esm/cosmos/crypto/secp256k1/keys.js +2 -2
- package/esm/cosmos/crypto/secp256r1/keys.js +2 -2
- package/esm/cosmos/distribution/v1beta1/distribution.js +3 -3
- package/esm/cosmos/distribution/v1beta1/tx.js +4 -4
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/feegrant/v1beta1/tx.js +3 -3
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1/gov.js +7 -7
- package/esm/cosmos/gov/v1/tx.js +15 -15
- package/esm/cosmos/gov/v1/tx.registry.js +1 -1
- package/esm/cosmos/gov/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1beta1/gov.js +14 -14
- package/esm/cosmos/gov/v1beta1/query.js +5 -5
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1beta1/tx.js +13 -13
- package/esm/cosmos/gov/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/group/v1/tx.js +5 -5
- package/esm/cosmos/group/v1/tx.registry.js +1 -1
- package/esm/cosmos/group/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/group/v1/types.js +6 -6
- package/esm/cosmos/ics23/v1/proofs.js +3 -3
- package/esm/cosmos/staking/v1beta1/query.js +4 -4
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/staking/v1beta1/staking.js +9 -9
- package/esm/cosmos/staking/v1beta1/tx.js +7 -7
- package/esm/cosmos/staking/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -5
- package/esm/cosmos/tx/v1beta1/service.js +8 -8
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +2 -2
- package/esm/cosmos/tx/v1beta1/tx.js +7 -7
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +5 -5
- package/esm/cosmos/vesting/v1beta1/tx.js +4 -4
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/vesting/v1beta1/vesting.js +4 -4
- package/esm/cosmos_proto/bundle.js +1 -1
- package/esm/cosmos_proto/cosmos.js +1 -1
- package/esm/cosmwasm/bundle.js +8 -8
- package/esm/cosmwasm/wasm/v1/authz.js +6 -6
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +5 -5
- package/esm/cosmwasm/wasm/v1/query.js +5 -5
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +2 -2
- package/esm/cosmwasm/wasm/v1/tx.js +5 -5
- package/esm/cosmwasm/wasm/v1/tx.registry.js +1 -1
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +2 -2
- package/esm/cosmwasm/wasm/v1/types.js +4 -4
- package/esm/google/api/http.js +2 -2
- package/esm/google/bundle.js +5 -5
- package/esm/google/protobuf/any.js +1 -1
- package/esm/google/protobuf/descriptor.js +3 -3
- package/esm/google/protobuf/duration.js +1 -1
- package/esm/google/protobuf/timestamp.js +2 -2
- package/esm/helper-func-types.js +2 -2
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.js +4 -4
- package/esm/ibc/applications/transfer/v1/tx.registry.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/bundle.js +17 -17
- package/esm/ibc/core/channel/v1/channel.js +4 -4
- package/esm/ibc/core/channel/v1/tx.js +5 -5
- package/esm/ibc/core/channel/v1/tx.registry.js +1 -1
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/core/client/v1/client.js +3 -3
- package/esm/ibc/core/client/v1/tx.js +6 -6
- package/esm/ibc/core/client/v1/tx.registry.js +1 -1
- package/esm/ibc/core/client/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/core/commitment/v1/commitment.js +4 -4
- package/esm/ibc/core/connection/v1/connection.js +4 -4
- package/esm/ibc/core/connection/v1/tx.js +6 -6
- package/esm/ibc/core/connection/v1/tx.registry.js +1 -1
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +2 -2
- package/esm/index.js +14 -14
- package/esm/injective/auction/v1beta1/auction.js +3 -3
- package/esm/injective/auction/v1beta1/genesis.js +3 -3
- package/esm/injective/auction/v1beta1/query.js +5 -5
- package/esm/injective/auction/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/auction/v1beta1/tx.js +4 -4
- package/esm/injective/auction/v1beta1/tx.registry.js +1 -1
- package/esm/injective/auction/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/bundle.js +94 -94
- package/esm/injective/crypto/v1beta1/ethsecp256k1/keys.js +2 -2
- package/esm/injective/exchange/v1beta1/authz.js +2 -2
- package/esm/injective/exchange/v1beta1/events.js +5 -5
- package/esm/injective/exchange/v1beta1/exchange.js +4 -4
- package/esm/injective/exchange/v1beta1/genesis.js +3 -3
- package/esm/injective/exchange/v1beta1/proposal.js +5 -5
- package/esm/injective/exchange/v1beta1/query.js +6 -6
- package/esm/injective/exchange/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/exchange/v1beta1/tx.js +7 -7
- package/esm/injective/exchange/v1beta1/tx.registry.js +1 -1
- package/esm/injective/exchange/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/insurance/v1beta1/events.js +4 -4
- package/esm/injective/insurance/v1beta1/genesis.js +3 -3
- package/esm/injective/insurance/v1beta1/insurance.js +6 -6
- package/esm/injective/insurance/v1beta1/query.js +5 -5
- package/esm/injective/insurance/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/insurance/v1beta1/tx.js +5 -5
- package/esm/injective/insurance/v1beta1/tx.registry.js +1 -1
- package/esm/injective/insurance/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/ocr/v1beta1/genesis.js +4 -4
- package/esm/injective/ocr/v1beta1/ocr.js +5 -5
- package/esm/injective/ocr/v1beta1/query.js +6 -6
- package/esm/injective/ocr/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/ocr/v1beta1/tx.js +5 -5
- package/esm/injective/ocr/v1beta1/tx.registry.js +1 -1
- package/esm/injective/ocr/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/oracle/v1beta1/events.js +3 -3
- package/esm/injective/oracle/v1beta1/genesis.js +4 -4
- package/esm/injective/oracle/v1beta1/oracle.js +4 -4
- package/esm/injective/oracle/v1beta1/proposal.js +3 -3
- package/esm/injective/oracle/v1beta1/query.js +5 -5
- package/esm/injective/oracle/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/oracle/v1beta1/tx.js +4 -4
- package/esm/injective/oracle/v1beta1/tx.registry.js +1 -1
- package/esm/injective/oracle/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/peggy/v1/attestation.js +2 -2
- package/esm/injective/peggy/v1/batch.js +3 -3
- package/esm/injective/peggy/v1/events.js +4 -4
- package/esm/injective/peggy/v1/genesis.js +7 -7
- package/esm/injective/peggy/v1/msgs.js +6 -6
- package/esm/injective/peggy/v1/msgs.registry.js +1 -1
- package/esm/injective/peggy/v1/msgs.rpc.func.js +2 -2
- package/esm/injective/peggy/v1/params.js +4 -4
- package/esm/injective/peggy/v1/pool.js +1 -1
- package/esm/injective/peggy/v1/query.js +8 -8
- package/esm/injective/peggy/v1/query.rpc.func.js +2 -2
- package/esm/injective/peggy/v1/types.js +2 -2
- package/esm/injective/permissions/v1beta1/events.js +3 -3
- package/esm/injective/permissions/v1beta1/genesis.js +4 -4
- package/esm/injective/permissions/v1beta1/params.js +1 -1
- package/esm/injective/permissions/v1beta1/permissions.js +4 -4
- package/esm/injective/permissions/v1beta1/query.js +6 -6
- package/esm/injective/permissions/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/permissions/v1beta1/tx.js +4 -4
- package/esm/injective/permissions/v1beta1/tx.registry.js +1 -1
- package/esm/injective/permissions/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/stream/v1beta1/query.js +5 -5
- package/esm/injective/tokenfactory/v1beta1/authorityMetadata.js +1 -1
- package/esm/injective/tokenfactory/v1beta1/events.js +4 -4
- package/esm/injective/tokenfactory/v1beta1/genesis.js +4 -4
- package/esm/injective/tokenfactory/v1beta1/params.js +3 -3
- package/esm/injective/tokenfactory/v1beta1/query.js +5 -5
- package/esm/injective/tokenfactory/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/tokenfactory/v1beta1/tx.js +4 -4
- package/esm/injective/tokenfactory/v1beta1/tx.registry.js +1 -1
- package/esm/injective/tokenfactory/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/txfees/v1beta1/genesis.js +3 -3
- package/esm/injective/txfees/v1beta1/query.js +3 -3
- package/esm/injective/txfees/v1beta1/query.rpc.func.js +2 -2
- package/esm/injective/txfees/v1beta1/tx.js +3 -3
- package/esm/injective/txfees/v1beta1/tx.registry.js +1 -1
- package/esm/injective/txfees/v1beta1/tx.rpc.func.js +2 -2
- package/esm/injective/txfees/v1beta1/txfees.js +1 -1
- package/esm/injective/types/v1beta1/account.js +4 -4
- package/esm/injective/types/v1beta1/tx_ext.js +2 -2
- package/esm/injective/types/v1beta1/tx_response.js +3 -3
- package/esm/injective/wasmx/v1/authz.js +3 -3
- package/esm/injective/wasmx/v1/events.js +2 -2
- package/esm/injective/wasmx/v1/genesis.js +3 -3
- package/esm/injective/wasmx/v1/proposal.js +4 -4
- package/esm/injective/wasmx/v1/query.js +4 -4
- package/esm/injective/wasmx/v1/query.rpc.func.js +2 -2
- package/esm/injective/wasmx/v1/tx.js +5 -5
- package/esm/injective/wasmx/v1/tx.registry.js +1 -1
- package/esm/injective/wasmx/v1/tx.rpc.func.js +2 -2
- package/esm/injective/wasmx/v1/wasmx.js +4 -4
- package/esm/registry.js +2 -2
- package/esm/tendermint/abci/types.js +7 -7
- package/esm/tendermint/bundle.js +9 -9
- package/esm/tendermint/crypto/keys.js +2 -2
- package/esm/tendermint/crypto/proof.js +3 -3
- package/esm/tendermint/types/block.js +4 -4
- package/esm/tendermint/types/evidence.js +6 -6
- package/esm/tendermint/types/params.js +3 -3
- package/esm/tendermint/types/types.js +7 -7
- package/esm/tendermint/types/validator.js +4 -4
- package/esm/tendermint/version/types.js +1 -1
- package/package.json +15 -11
package/esm/binary.js
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
// of the input file used when generating it. This code is not
|
|
32
32
|
// standalone and requires a support library to be linked with it. This
|
|
33
33
|
// support library is itself covered by the above license.
|
|
34
|
-
import { utf8Length, utf8Read, utf8Write } from "./utf8";
|
|
35
|
-
import { int64ToString, readInt32, readUInt32, uInt64ToString, varint32read, varint64read, writeVarint32, writeVarint64, int64FromString, int64Length, writeFixed32, writeByte, zzDecode, zzEncode, } from "./varint";
|
|
34
|
+
import { utf8Length, utf8Read, utf8Write } from "./utf8.js";
|
|
35
|
+
import { int64ToString, readInt32, readUInt32, uInt64ToString, varint32read, varint64read, writeVarint32, writeVarint64, int64FromString, int64Length, writeFixed32, writeByte, zzDecode, zzEncode, } from "./varint.js";
|
|
36
36
|
export var WireType;
|
|
37
37
|
(function (WireType) {
|
|
38
38
|
WireType[WireType["Varint"] = 0] = "Varint";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
5
5
|
function createBaseBaseAccount() {
|
|
6
6
|
return {
|
|
7
7
|
$typeUrl: "/cosmos.auth.v1beta1.BaseAccount",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { Params, BaseAccount, ModuleAccount } from "./auth";
|
|
4
|
-
import { EthAccount } from "../../../injective/types/v1beta1/account";
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
7
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination.js";
|
|
2
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
3
|
+
import { Params, BaseAccount, ModuleAccount } from "./auth.js";
|
|
4
|
+
import { EthAccount } from "../../../injective/types/v1beta1/account.js";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
6
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
7
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
8
8
|
function createBaseQueryAccountsRequest() {
|
|
9
9
|
return {
|
|
10
10
|
pagination: undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse, QueryAccountInfoRequest, QueryAccountInfoResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse, QueryAccountInfoRequest, QueryAccountInfoResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Accounts returns all the existing accounts.
|
|
5
5
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
3
|
-
import { ContractExecutionCompatAuthorization } from "../../../injective/wasmx/v1/authz";
|
|
4
|
-
import { StoreCodeAuthorization, ContractExecutionAuthorization, ContractMigrationAuthorization } from "../../../cosmwasm/wasm/v1/authz";
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
-
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
3
|
+
import { ContractExecutionCompatAuthorization } from "../../../injective/wasmx/v1/authz.js";
|
|
4
|
+
import { StoreCodeAuthorization, ContractExecutionAuthorization, ContractMigrationAuthorization } from "../../../cosmwasm/wasm/v1/authz.js";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
6
|
+
import { toTimestamp, fromTimestamp } from "../../../helpers.js";
|
|
7
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
8
8
|
function createBaseGenericAuthorization() {
|
|
9
9
|
return {
|
|
10
10
|
$typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Grant } from "./authz";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { Grant } from "./authz.js";
|
|
2
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
6
6
|
function createBaseMsgGrant() {
|
|
7
7
|
return {
|
|
8
8
|
granter: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
1
|
+
import { MsgGrant, MsgExec, MsgRevoke } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgGrant, MsgExec, MsgRevoke } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* Grant grants the provided authorization to the grantee on the granter's
|
|
5
5
|
* account with the provided expiration time. If there is already a grant
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseParams() {
|
|
5
5
|
return {
|
|
6
6
|
sendEnabled: [],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
import { Params, Metadata, SendEnabled } from "./bank";
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination.js";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
3
|
+
import { Params, Metadata, SendEnabled } from "./bank.js";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
6
6
|
function createBaseQueryBalanceRequest() {
|
|
7
7
|
return {
|
|
8
8
|
address: "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QuerySendEnabledRequest, QuerySendEnabledResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QuerySendEnabledRequest, QuerySendEnabledResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Balance queries the balance of a single coin for a single account.
|
|
5
5
|
* @name getBalance
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { Input, Output, Params, SendEnabled } from "./bank";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { Input, Output, Params, SendEnabled } from "./bank.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseMsgSend() {
|
|
6
6
|
return {
|
|
7
7
|
fromAddress: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
|
|
1
|
+
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.bank.v1beta1.MsgSend", MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend], ["/cosmos.bank.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.bank.v1beta1.MsgSetSendEnabled", MsgSetSendEnabled]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* Send defines a method for sending coins from one account to another account.
|
|
5
5
|
* @name send
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Any } from "../../../../google/protobuf/any";
|
|
2
|
-
import { Event } from "../../../../tendermint/abci/types";
|
|
3
|
-
import { Block } from "../../../../tendermint/types/block";
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
6
|
-
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
1
|
+
import { Any } from "../../../../google/protobuf/any.js";
|
|
2
|
+
import { Event } from "../../../../tendermint/abci/types.js";
|
|
3
|
+
import { Block } from "../../../../tendermint/types/block.js";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary.js";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../../registry.js";
|
|
6
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers.js";
|
|
7
7
|
function createBaseTxResponse() {
|
|
8
8
|
return {
|
|
9
9
|
height: BigInt(0),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
-
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary.js";
|
|
2
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers.js";
|
|
3
3
|
function createBasePageRequest() {
|
|
4
4
|
return {
|
|
5
5
|
key: new Uint8Array(),
|
package/esm/cosmos/bundle.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
export * from "./vesting/v1beta1/vesting";
|
|
2
|
-
export * from "./vesting/v1beta1/tx";
|
|
3
|
-
export * from "./upgrade/v1beta1/upgrade";
|
|
4
|
-
export * from "./tx/v1beta1/tx";
|
|
5
|
-
export * from "./tx/v1beta1/service";
|
|
6
|
-
export * from "./tx/signing/v1beta1/signing";
|
|
7
|
-
export { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse, MsgUpdateParams as CosmosStakingV1beta1MsgUpdateParams, MsgUpdateParamsResponse as CosmosStakingV1beta1MsgUpdateParamsResponse } from "./staking/v1beta1/tx";
|
|
8
|
-
export { BondStatus, BondStatusAmino, Infraction, InfractionAmino, HistoricalInfo, CommissionRates, Commission, Description, Validator, ValAddresses, DVPair, DVPairs, DVVTriplet, DVVTriplets, Delegation, UnbondingDelegation, UnbondingDelegationEntry, RedelegationEntry, Redelegation, Params, DelegationResponse, RedelegationEntryResponse, RedelegationResponse, Pool, ValidatorUpdates } from "./staking/v1beta1/staking";
|
|
9
|
-
export { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest as CosmosStakingV1beta1QueryParamsRequest, QueryParamsResponse as CosmosStakingV1beta1QueryParamsResponse } from "./staking/v1beta1/query";
|
|
10
|
-
export * from "./ics23/v1/proofs";
|
|
11
|
-
export { VoteOption as CosmosGroupV1VoteOption, VoteOptionAmino as CosmosGroupV1VoteOptionAmino, ProposalStatus as CosmosGroupV1ProposalStatus, ProposalStatusAmino as CosmosGroupV1ProposalStatusAmino, ProposalExecutorResult, ProposalExecutorResultAmino, Member, MemberRequest, ThresholdDecisionPolicy, PercentageDecisionPolicy, DecisionPolicyWindows, GroupInfo, GroupMember, GroupPolicyInfo, Proposal as CosmosGroupV1Proposal, TallyResult as CosmosGroupV1TallyResult, Vote as CosmosGroupV1Vote } from "./group/v1/types";
|
|
12
|
-
export { Exec, ExecAmino, MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal as CosmosGroupV1MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGroupV1MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote as CosmosGroupV1MsgVote, MsgVoteResponse as CosmosGroupV1MsgVoteResponse, MsgExec as CosmosGroupV1MsgExec, MsgExecResponse as CosmosGroupV1MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./group/v1/tx";
|
|
13
|
-
export { MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGovV1beta1MsgSubmitProposalResponse, MsgVote, MsgVoteResponse as CosmosGovV1beta1MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse as CosmosGovV1beta1MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse as CosmosGovV1beta1MsgDepositResponse } from "./gov/v1beta1/tx";
|
|
14
|
-
export { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest as CosmosGovV1beta1QueryParamsRequest, QueryParamsResponse as CosmosGovV1beta1QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./gov/v1beta1/query";
|
|
15
|
-
export { VoteOption, VoteOptionAmino as CosmosGovV1beta1VoteOptionAmino, ProposalStatus, ProposalStatusAmino as CosmosGovV1beta1ProposalStatusAmino, WeightedVoteOption as CosmosGovV1beta1WeightedVoteOption, TextProposal, Deposit, Proposal, TallyResult, Vote, DepositParams, VotingParams, TallyParams } from "./gov/v1beta1/gov";
|
|
16
|
-
export { MsgSubmitProposal as CosmosGovV1MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGovV1MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote as CosmosGovV1MsgVote, MsgVoteResponse as CosmosGovV1MsgVoteResponse, MsgVoteWeighted as CosmosGovV1MsgVoteWeighted, MsgVoteWeightedResponse as CosmosGovV1MsgVoteWeightedResponse, MsgDeposit as CosmosGovV1MsgDeposit, MsgDepositResponse as CosmosGovV1MsgDepositResponse, MsgUpdateParams as CosmosGovV1MsgUpdateParams, MsgUpdateParamsResponse as CosmosGovV1MsgUpdateParamsResponse, MsgCancelProposal, MsgCancelProposalResponse } from "./gov/v1/tx";
|
|
17
|
-
export { VoteOption as CosmosGovV1VoteOption, VoteOptionAmino as CosmosGovV1VoteOptionAmino, ProposalStatus as CosmosGovV1ProposalStatus, ProposalStatusAmino as CosmosGovV1ProposalStatusAmino, WeightedVoteOption as CosmosGovV1WeightedVoteOption, Deposit as CosmosGovV1Deposit, Proposal as CosmosGovV1Proposal, TallyResult as CosmosGovV1TallyResult, Vote as CosmosGovV1Vote, DepositParams as CosmosGovV1DepositParams, VotingParams as CosmosGovV1VotingParams, TallyParams as CosmosGovV1TallyParams, Params as CosmosGovV1Params } from "./gov/v1/gov";
|
|
18
|
-
export * from "./feegrant/v1beta1/tx";
|
|
19
|
-
export { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgUpdateParams as CosmosDistributionV1beta1MsgUpdateParams, MsgUpdateParamsResponse as CosmosDistributionV1beta1MsgUpdateParamsResponse, MsgCommunityPoolSpend, MsgCommunityPoolSpendResponse, MsgDepositValidatorRewardsPool, MsgDepositValidatorRewardsPoolResponse } from "./distribution/v1beta1/tx";
|
|
20
|
-
export { Params as CosmosDistributionV1beta1Params, ValidatorHistoricalRewards, ValidatorCurrentRewards, ValidatorAccumulatedCommission, ValidatorOutstandingRewards, ValidatorSlashEvent, ValidatorSlashEvents, FeePool, CommunityPoolSpendProposal, DelegatorStartingInfo, DelegationDelegatorReward, CommunityPoolSpendProposalWithDeposit } from "./distribution/v1beta1/distribution";
|
|
21
|
-
export { PubKey as CosmosCryptoSecp256r1PubKey, PrivKey as CosmosCryptoSecp256r1PrivKey } from "./crypto/secp256r1/keys";
|
|
22
|
-
export { PubKey as CosmosCryptoSecp256k1PubKey, PrivKey as CosmosCryptoSecp256k1PrivKey } from "./crypto/secp256k1/keys";
|
|
23
|
-
export * from "./crypto/multisig/v1beta1/multisig";
|
|
24
|
-
export { PubKey as CosmosCryptoEd25519PubKey, PrivKey as CosmosCryptoEd25519PrivKey } from "./crypto/ed25519/keys";
|
|
25
|
-
export * from "./base/v1beta1/coin";
|
|
26
|
-
export * from "./base/query/v1beta1/pagination";
|
|
27
|
-
export * from "./base/abci/v1beta1/abci";
|
|
28
|
-
export { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse, MsgUpdateParams, MsgUpdateParamsResponse as CosmosBankV1beta1MsgUpdateParamsResponse, MsgSetSendEnabled, MsgSetSendEnabledResponse } from "./bank/v1beta1/tx";
|
|
29
|
-
export { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomOwnersRequest, DenomOwner, QueryDenomOwnersResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QuerySendEnabledRequest, QuerySendEnabledResponse } from "./bank/v1beta1/query";
|
|
30
|
-
export { Params as CosmosBankV1beta1Params, SendEnabled, Input, Output, Supply, DenomUnit, Metadata } from "./bank/v1beta1/bank";
|
|
31
|
-
export { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse as CosmosAuthzV1beta1MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./authz/v1beta1/tx";
|
|
32
|
-
export { GenericAuthorization, Grant, GrantAuthorization, GrantQueueItem } from "./authz/v1beta1/authz";
|
|
33
|
-
export { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest as CosmosAuthV1beta1QueryParamsRequest, QueryParamsResponse as CosmosAuthV1beta1QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryAccountInfoRequest, QueryAccountInfoResponse } from "./auth/v1beta1/query";
|
|
34
|
-
export { BaseAccount, ModuleAccount, ModuleCredential, Params as CosmosAuthV1beta1Params } from "./auth/v1beta1/auth";
|
|
35
|
-
export { registry as CosmosVestingV1beta1Registry, MessageComposer as CosmosVestingV1beta1MessageComposer } from "./vesting/v1beta1/tx.registry";
|
|
36
|
-
export { registry as CosmosStakingV1beta1Registry, MessageComposer as CosmosStakingV1beta1MessageComposer } from "./staking/v1beta1/tx.registry";
|
|
37
|
-
export { registry as CosmosGroupV1Registry, MessageComposer as CosmosGroupV1MessageComposer } from "./group/v1/tx.registry";
|
|
38
|
-
export { registry as CosmosGovV1beta1Registry, MessageComposer as CosmosGovV1beta1MessageComposer } from "./gov/v1beta1/tx.registry";
|
|
39
|
-
export { registry as CosmosGovV1Registry, MessageComposer as CosmosGovV1MessageComposer } from "./gov/v1/tx.registry";
|
|
40
|
-
export { registry as CosmosFeegrantV1beta1Registry, MessageComposer as CosmosFeegrantV1beta1MessageComposer } from "./feegrant/v1beta1/tx.registry";
|
|
41
|
-
export { registry as CosmosDistributionV1beta1Registry, MessageComposer as CosmosDistributionV1beta1MessageComposer } from "./distribution/v1beta1/tx.registry";
|
|
42
|
-
export { registry as CosmosBankV1beta1Registry, MessageComposer as CosmosBankV1beta1MessageComposer } from "./bank/v1beta1/tx.registry";
|
|
43
|
-
export { registry as CosmosAuthzV1beta1Registry, MessageComposer as CosmosAuthzV1beta1MessageComposer } from "./authz/v1beta1/tx.registry";
|
|
44
|
-
export * from "./tx/v1beta1/service.rpc.func";
|
|
45
|
-
export { getValidators, getValidator, getValidatorDelegations, getValidatorUnbondingDelegations, getDelegation, getUnbondingDelegation, getDelegatorDelegations, getDelegatorUnbondingDelegations, getRedelegations, getDelegatorValidators, getDelegatorValidator, getHistoricalInfo, getPool, getParams as getParamsCosmosStakingV1beta1 } from "./staking/v1beta1/query.rpc.func";
|
|
46
|
-
export { getProposal, getProposals, getVote, getVotes, getParams as getParamsCosmosGovV1beta1, getDeposit, getDeposits, getTallyResult } from "./gov/v1beta1/query.rpc.func";
|
|
47
|
-
export { getBalance, getAllBalances, getSpendableBalances, getSpendableBalanceByDenom, getTotalSupply, getSupplyOf, getParams as getParamsCosmosBankV1beta1, getDenomsMetadata, getDenomMetadata, getDenomMetadataByQueryString, getDenomOwners, getDenomOwnersByQuery, getSendEnabled } from "./bank/v1beta1/query.rpc.func";
|
|
48
|
-
export { getAccounts, getAccount, getAccountAddressByID, getParams, getModuleAccounts, getModuleAccountByName, getBech32Prefix, getAddressBytesToString, getAddressStringToBytes, getAccountInfo } from "./auth/v1beta1/query.rpc.func";
|
|
49
|
-
export * from "./vesting/v1beta1/tx.rpc.func";
|
|
50
|
-
export { createValidator, editValidator, delegate, beginRedelegate, undelegate, cancelUnbondingDelegation, updateParams as updateParamsCosmosStakingV1beta1 } from "./staking/v1beta1/tx.rpc.func";
|
|
51
|
-
export { createGroup, updateGroupMembers, updateGroupAdmin, updateGroupMetadata, createGroupPolicy, createGroupWithPolicy, updateGroupPolicyAdmin, updateGroupPolicyDecisionPolicy, updateGroupPolicyMetadata, submitProposal as submitProposalCosmosGroupV1, withdrawProposal, vote as voteCosmosGroupV1, exec as execCosmosGroupV1, leaveGroup } from "./group/v1/tx.rpc.func";
|
|
52
|
-
export { submitProposal, vote, voteWeighted as voteWeightedCosmosGovV1beta1, deposit } from "./gov/v1beta1/tx.rpc.func";
|
|
53
|
-
export { submitProposal as submitProposalCosmosGovV1, execLegacyContent, vote as voteCosmosGovV1, voteWeighted as voteWeightedCosmosGovV1, deposit as depositCosmosGovV1, updateParams as updateParamsCosmosGovV1, cancelProposal } from "./gov/v1/tx.rpc.func";
|
|
54
|
-
export * from "./feegrant/v1beta1/tx.rpc.func";
|
|
55
|
-
export { setWithdrawAddress, withdrawDelegatorReward, withdrawValidatorCommission, fundCommunityPool, updateParams as updateParamsCosmosDistributionV1beta1, communityPoolSpend, depositValidatorRewardsPool } from "./distribution/v1beta1/tx.rpc.func";
|
|
56
|
-
export { send, multiSend, updateParams as updateParamsCosmosBankV1beta1, setSendEnabled } from "./bank/v1beta1/tx.rpc.func";
|
|
57
|
-
export { grant, exec, revoke } from "./authz/v1beta1/tx.rpc.func";
|
|
1
|
+
export * from "./vesting/v1beta1/vesting.js";
|
|
2
|
+
export * from "./vesting/v1beta1/tx.js";
|
|
3
|
+
export * from "./upgrade/v1beta1/upgrade.js";
|
|
4
|
+
export * from "./tx/v1beta1/tx.js";
|
|
5
|
+
export * from "./tx/v1beta1/service.js";
|
|
6
|
+
export * from "./tx/signing/v1beta1/signing.js";
|
|
7
|
+
export { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse, MsgUpdateParams as CosmosStakingV1beta1MsgUpdateParams, MsgUpdateParamsResponse as CosmosStakingV1beta1MsgUpdateParamsResponse } from "./staking/v1beta1/tx.js";
|
|
8
|
+
export { BondStatus, BondStatusAmino, Infraction, InfractionAmino, HistoricalInfo, CommissionRates, Commission, Description, Validator, ValAddresses, DVPair, DVPairs, DVVTriplet, DVVTriplets, Delegation, UnbondingDelegation, UnbondingDelegationEntry, RedelegationEntry, Redelegation, Params, DelegationResponse, RedelegationEntryResponse, RedelegationResponse, Pool, ValidatorUpdates } from "./staking/v1beta1/staking.js";
|
|
9
|
+
export { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest as CosmosStakingV1beta1QueryParamsRequest, QueryParamsResponse as CosmosStakingV1beta1QueryParamsResponse } from "./staking/v1beta1/query.js";
|
|
10
|
+
export * from "./ics23/v1/proofs.js";
|
|
11
|
+
export { VoteOption as CosmosGroupV1VoteOption, VoteOptionAmino as CosmosGroupV1VoteOptionAmino, ProposalStatus as CosmosGroupV1ProposalStatus, ProposalStatusAmino as CosmosGroupV1ProposalStatusAmino, ProposalExecutorResult, ProposalExecutorResultAmino, Member, MemberRequest, ThresholdDecisionPolicy, PercentageDecisionPolicy, DecisionPolicyWindows, GroupInfo, GroupMember, GroupPolicyInfo, Proposal as CosmosGroupV1Proposal, TallyResult as CosmosGroupV1TallyResult, Vote as CosmosGroupV1Vote } from "./group/v1/types.js";
|
|
12
|
+
export { Exec, ExecAmino, MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal as CosmosGroupV1MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGroupV1MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote as CosmosGroupV1MsgVote, MsgVoteResponse as CosmosGroupV1MsgVoteResponse, MsgExec as CosmosGroupV1MsgExec, MsgExecResponse as CosmosGroupV1MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./group/v1/tx.js";
|
|
13
|
+
export { MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGovV1beta1MsgSubmitProposalResponse, MsgVote, MsgVoteResponse as CosmosGovV1beta1MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse as CosmosGovV1beta1MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse as CosmosGovV1beta1MsgDepositResponse } from "./gov/v1beta1/tx.js";
|
|
14
|
+
export { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest as CosmosGovV1beta1QueryParamsRequest, QueryParamsResponse as CosmosGovV1beta1QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./gov/v1beta1/query.js";
|
|
15
|
+
export { VoteOption, VoteOptionAmino as CosmosGovV1beta1VoteOptionAmino, ProposalStatus, ProposalStatusAmino as CosmosGovV1beta1ProposalStatusAmino, WeightedVoteOption as CosmosGovV1beta1WeightedVoteOption, TextProposal, Deposit, Proposal, TallyResult, Vote, DepositParams, VotingParams, TallyParams } from "./gov/v1beta1/gov.js";
|
|
16
|
+
export { MsgSubmitProposal as CosmosGovV1MsgSubmitProposal, MsgSubmitProposalResponse as CosmosGovV1MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote as CosmosGovV1MsgVote, MsgVoteResponse as CosmosGovV1MsgVoteResponse, MsgVoteWeighted as CosmosGovV1MsgVoteWeighted, MsgVoteWeightedResponse as CosmosGovV1MsgVoteWeightedResponse, MsgDeposit as CosmosGovV1MsgDeposit, MsgDepositResponse as CosmosGovV1MsgDepositResponse, MsgUpdateParams as CosmosGovV1MsgUpdateParams, MsgUpdateParamsResponse as CosmosGovV1MsgUpdateParamsResponse, MsgCancelProposal, MsgCancelProposalResponse } from "./gov/v1/tx.js";
|
|
17
|
+
export { VoteOption as CosmosGovV1VoteOption, VoteOptionAmino as CosmosGovV1VoteOptionAmino, ProposalStatus as CosmosGovV1ProposalStatus, ProposalStatusAmino as CosmosGovV1ProposalStatusAmino, WeightedVoteOption as CosmosGovV1WeightedVoteOption, Deposit as CosmosGovV1Deposit, Proposal as CosmosGovV1Proposal, TallyResult as CosmosGovV1TallyResult, Vote as CosmosGovV1Vote, DepositParams as CosmosGovV1DepositParams, VotingParams as CosmosGovV1VotingParams, TallyParams as CosmosGovV1TallyParams, Params as CosmosGovV1Params } from "./gov/v1/gov.js";
|
|
18
|
+
export * from "./feegrant/v1beta1/tx.js";
|
|
19
|
+
export { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgUpdateParams as CosmosDistributionV1beta1MsgUpdateParams, MsgUpdateParamsResponse as CosmosDistributionV1beta1MsgUpdateParamsResponse, MsgCommunityPoolSpend, MsgCommunityPoolSpendResponse, MsgDepositValidatorRewardsPool, MsgDepositValidatorRewardsPoolResponse } from "./distribution/v1beta1/tx.js";
|
|
20
|
+
export { Params as CosmosDistributionV1beta1Params, ValidatorHistoricalRewards, ValidatorCurrentRewards, ValidatorAccumulatedCommission, ValidatorOutstandingRewards, ValidatorSlashEvent, ValidatorSlashEvents, FeePool, CommunityPoolSpendProposal, DelegatorStartingInfo, DelegationDelegatorReward, CommunityPoolSpendProposalWithDeposit } from "./distribution/v1beta1/distribution.js";
|
|
21
|
+
export { PubKey as CosmosCryptoSecp256r1PubKey, PrivKey as CosmosCryptoSecp256r1PrivKey } from "./crypto/secp256r1/keys.js";
|
|
22
|
+
export { PubKey as CosmosCryptoSecp256k1PubKey, PrivKey as CosmosCryptoSecp256k1PrivKey } from "./crypto/secp256k1/keys.js";
|
|
23
|
+
export * from "./crypto/multisig/v1beta1/multisig.js";
|
|
24
|
+
export { PubKey as CosmosCryptoEd25519PubKey, PrivKey as CosmosCryptoEd25519PrivKey } from "./crypto/ed25519/keys.js";
|
|
25
|
+
export * from "./base/v1beta1/coin.js";
|
|
26
|
+
export * from "./base/query/v1beta1/pagination.js";
|
|
27
|
+
export * from "./base/abci/v1beta1/abci.js";
|
|
28
|
+
export { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse, MsgUpdateParams, MsgUpdateParamsResponse as CosmosBankV1beta1MsgUpdateParamsResponse, MsgSetSendEnabled, MsgSetSendEnabledResponse } from "./bank/v1beta1/tx.js";
|
|
29
|
+
export { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse, QueryDenomOwnersRequest, DenomOwner, QueryDenomOwnersResponse, QueryDenomOwnersByQueryRequest, QueryDenomOwnersByQueryResponse, QuerySendEnabledRequest, QuerySendEnabledResponse } from "./bank/v1beta1/query.js";
|
|
30
|
+
export { Params as CosmosBankV1beta1Params, SendEnabled, Input, Output, Supply, DenomUnit, Metadata } from "./bank/v1beta1/bank.js";
|
|
31
|
+
export { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse as CosmosAuthzV1beta1MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./authz/v1beta1/tx.js";
|
|
32
|
+
export { GenericAuthorization, Grant, GrantAuthorization, GrantQueueItem } from "./authz/v1beta1/authz.js";
|
|
33
|
+
export { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest as CosmosAuthV1beta1QueryParamsRequest, QueryParamsResponse as CosmosAuthV1beta1QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryAccountInfoRequest, QueryAccountInfoResponse } from "./auth/v1beta1/query.js";
|
|
34
|
+
export { BaseAccount, ModuleAccount, ModuleCredential, Params as CosmosAuthV1beta1Params } from "./auth/v1beta1/auth.js";
|
|
35
|
+
export { registry as CosmosVestingV1beta1Registry, MessageComposer as CosmosVestingV1beta1MessageComposer } from "./vesting/v1beta1/tx.registry.js";
|
|
36
|
+
export { registry as CosmosStakingV1beta1Registry, MessageComposer as CosmosStakingV1beta1MessageComposer } from "./staking/v1beta1/tx.registry.js";
|
|
37
|
+
export { registry as CosmosGroupV1Registry, MessageComposer as CosmosGroupV1MessageComposer } from "./group/v1/tx.registry.js";
|
|
38
|
+
export { registry as CosmosGovV1beta1Registry, MessageComposer as CosmosGovV1beta1MessageComposer } from "./gov/v1beta1/tx.registry.js";
|
|
39
|
+
export { registry as CosmosGovV1Registry, MessageComposer as CosmosGovV1MessageComposer } from "./gov/v1/tx.registry.js";
|
|
40
|
+
export { registry as CosmosFeegrantV1beta1Registry, MessageComposer as CosmosFeegrantV1beta1MessageComposer } from "./feegrant/v1beta1/tx.registry.js";
|
|
41
|
+
export { registry as CosmosDistributionV1beta1Registry, MessageComposer as CosmosDistributionV1beta1MessageComposer } from "./distribution/v1beta1/tx.registry.js";
|
|
42
|
+
export { registry as CosmosBankV1beta1Registry, MessageComposer as CosmosBankV1beta1MessageComposer } from "./bank/v1beta1/tx.registry.js";
|
|
43
|
+
export { registry as CosmosAuthzV1beta1Registry, MessageComposer as CosmosAuthzV1beta1MessageComposer } from "./authz/v1beta1/tx.registry.js";
|
|
44
|
+
export * from "./tx/v1beta1/service.rpc.func.js";
|
|
45
|
+
export { getValidators, getValidator, getValidatorDelegations, getValidatorUnbondingDelegations, getDelegation, getUnbondingDelegation, getDelegatorDelegations, getDelegatorUnbondingDelegations, getRedelegations, getDelegatorValidators, getDelegatorValidator, getHistoricalInfo, getPool, getParams as getParamsCosmosStakingV1beta1 } from "./staking/v1beta1/query.rpc.func.js";
|
|
46
|
+
export { getProposal, getProposals, getVote, getVotes, getParams as getParamsCosmosGovV1beta1, getDeposit, getDeposits, getTallyResult } from "./gov/v1beta1/query.rpc.func.js";
|
|
47
|
+
export { getBalance, getAllBalances, getSpendableBalances, getSpendableBalanceByDenom, getTotalSupply, getSupplyOf, getParams as getParamsCosmosBankV1beta1, getDenomsMetadata, getDenomMetadata, getDenomMetadataByQueryString, getDenomOwners, getDenomOwnersByQuery, getSendEnabled } from "./bank/v1beta1/query.rpc.func.js";
|
|
48
|
+
export { getAccounts, getAccount, getAccountAddressByID, getParams, getModuleAccounts, getModuleAccountByName, getBech32Prefix, getAddressBytesToString, getAddressStringToBytes, getAccountInfo } from "./auth/v1beta1/query.rpc.func.js";
|
|
49
|
+
export * from "./vesting/v1beta1/tx.rpc.func.js";
|
|
50
|
+
export { createValidator, editValidator, delegate, beginRedelegate, undelegate, cancelUnbondingDelegation, updateParams as updateParamsCosmosStakingV1beta1 } from "./staking/v1beta1/tx.rpc.func.js";
|
|
51
|
+
export { createGroup, updateGroupMembers, updateGroupAdmin, updateGroupMetadata, createGroupPolicy, createGroupWithPolicy, updateGroupPolicyAdmin, updateGroupPolicyDecisionPolicy, updateGroupPolicyMetadata, submitProposal as submitProposalCosmosGroupV1, withdrawProposal, vote as voteCosmosGroupV1, exec as execCosmosGroupV1, leaveGroup } from "./group/v1/tx.rpc.func.js";
|
|
52
|
+
export { submitProposal, vote, voteWeighted as voteWeightedCosmosGovV1beta1, deposit } from "./gov/v1beta1/tx.rpc.func.js";
|
|
53
|
+
export { submitProposal as submitProposalCosmosGovV1, execLegacyContent, vote as voteCosmosGovV1, voteWeighted as voteWeightedCosmosGovV1, deposit as depositCosmosGovV1, updateParams as updateParamsCosmosGovV1, cancelProposal } from "./gov/v1/tx.rpc.func.js";
|
|
54
|
+
export * from "./feegrant/v1beta1/tx.rpc.func.js";
|
|
55
|
+
export { setWithdrawAddress, withdrawDelegatorReward, withdrawValidatorCommission, fundCommunityPool, updateParams as updateParamsCosmosDistributionV1beta1, communityPoolSpend, depositValidatorRewardsPool } from "./distribution/v1beta1/tx.rpc.func.js";
|
|
56
|
+
export { send, multiSend, updateParams as updateParamsCosmosBankV1beta1, setSendEnabled } from "./bank/v1beta1/tx.rpc.func.js";
|
|
57
|
+
export { grant, exec, revoke } from "./authz/v1beta1/tx.rpc.func.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
2
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
3
3
|
function createBasePubKey() {
|
|
4
4
|
return {
|
|
5
5
|
key: new Uint8Array()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
-
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary.js";
|
|
2
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers.js";
|
|
3
3
|
function createBaseMultiSignature() {
|
|
4
4
|
return {
|
|
5
5
|
signatures: []
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
2
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
3
3
|
function createBasePubKey() {
|
|
4
4
|
return {
|
|
5
5
|
key: new Uint8Array()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
2
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
3
3
|
function createBasePubKey() {
|
|
4
4
|
return {
|
|
5
5
|
key: new Uint8Array()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DecCoin, Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
1
|
+
import { DecCoin, Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
3
|
import { Decimal } from "@interchainjs/math";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseParams() {
|
|
6
6
|
return {
|
|
7
7
|
communityTax: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { Params } from "./distribution";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { Params } from "./distribution.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseMsgSetWithdrawAddress() {
|
|
6
6
|
return {
|
|
7
7
|
delegatorAddress: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
1
|
+
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", MsgCommunityPoolSpend], ["/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool", MsgDepositValidatorRewardsPool]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* SetWithdrawAddress defines a method to change the withdraw address
|
|
5
5
|
* for a delegator (or validator self-delegation).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseMsgGrantAllowance() {
|
|
5
5
|
return {
|
|
6
6
|
granter: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
1
|
+
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", MsgRevokeAllowance], ["/cosmos.feegrant.v1beta1.MsgPruneAllowances", MsgPruneAllowances]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* GrantAllowance grants fee allowance to the grantee on the granter's
|
|
5
5
|
* account with the provided expiration time.
|
package/esm/cosmos/gov/v1/gov.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
4
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
5
|
-
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
6
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
3
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
4
|
+
import { Duration } from "../../../google/protobuf/duration.js";
|
|
5
|
+
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers.js";
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
7
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
8
8
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
9
9
|
export var VoteOption;
|
|
10
10
|
(function (VoteOption) {
|
package/esm/cosmos/gov/v1/tx.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
import { WeightedVoteOption, Params } from "./gov";
|
|
4
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
5
|
-
import { ContractRegistrationRequestProposal, BatchContractRegistrationRequestProposal, BatchContractDeregistrationProposal, ContractRegistrationRequest, BatchStoreCodeProposal } from "../../../injective/wasmx/v1/proposal";
|
|
6
|
-
import { GrantBandOraclePrivilegeProposal, RevokeBandOraclePrivilegeProposal, GrantPriceFeederPrivilegeProposal, GrantProviderPrivilegeProposal, RevokeProviderPrivilegeProposal, RevokePriceFeederPrivilegeProposal, AuthorizeBandOracleRequestProposal, UpdateBandOracleRequestProposal, EnableBandIBCProposal, GrantStorkPublisherPrivilegeProposal, RevokeStorkPublisherPrivilegeProposal } from "../../../injective/oracle/v1beta1/proposal";
|
|
7
|
-
import { SetConfigProposal, SetBatchConfigProposal } from "../../../injective/ocr/v1beta1/ocr";
|
|
8
|
-
import { SpotMarketParamUpdateProposal, BatchExchangeModificationProposal, SpotMarketLaunchProposal, PerpetualMarketLaunchProposal, BinaryOptionsMarketLaunchProposal, ExpiryFuturesMarketLaunchProposal, DerivativeMarketParamUpdateProposal, MarketForcedSettlementProposal, UpdateDenomDecimalsProposal, BinaryOptionsMarketParamUpdateProposal, TradingRewardCampaignLaunchProposal, TradingRewardCampaignUpdateProposal, TradingRewardPendingPointsUpdateProposal, FeeDiscountProposal, BatchCommunityPoolSpendProposal, AtomicMarketOrderFeeMultiplierScheduleProposal, DenomMinNotionalProposal } from "../../../injective/exchange/v1beta1/proposal";
|
|
9
|
-
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy";
|
|
10
|
-
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade";
|
|
11
|
-
import { TextProposal } from "../v1beta1/gov";
|
|
12
|
-
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution";
|
|
13
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
14
|
-
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
15
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
3
|
+
import { WeightedVoteOption, Params } from "./gov.js";
|
|
4
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
5
|
+
import { ContractRegistrationRequestProposal, BatchContractRegistrationRequestProposal, BatchContractDeregistrationProposal, ContractRegistrationRequest, BatchStoreCodeProposal } from "../../../injective/wasmx/v1/proposal.js";
|
|
6
|
+
import { GrantBandOraclePrivilegeProposal, RevokeBandOraclePrivilegeProposal, GrantPriceFeederPrivilegeProposal, GrantProviderPrivilegeProposal, RevokeProviderPrivilegeProposal, RevokePriceFeederPrivilegeProposal, AuthorizeBandOracleRequestProposal, UpdateBandOracleRequestProposal, EnableBandIBCProposal, GrantStorkPublisherPrivilegeProposal, RevokeStorkPublisherPrivilegeProposal } from "../../../injective/oracle/v1beta1/proposal.js";
|
|
7
|
+
import { SetConfigProposal, SetBatchConfigProposal } from "../../../injective/ocr/v1beta1/ocr.js";
|
|
8
|
+
import { SpotMarketParamUpdateProposal, BatchExchangeModificationProposal, SpotMarketLaunchProposal, PerpetualMarketLaunchProposal, BinaryOptionsMarketLaunchProposal, ExpiryFuturesMarketLaunchProposal, DerivativeMarketParamUpdateProposal, MarketForcedSettlementProposal, UpdateDenomDecimalsProposal, BinaryOptionsMarketParamUpdateProposal, TradingRewardCampaignLaunchProposal, TradingRewardCampaignUpdateProposal, TradingRewardPendingPointsUpdateProposal, FeeDiscountProposal, BatchCommunityPoolSpendProposal, AtomicMarketOrderFeeMultiplierScheduleProposal, DenomMinNotionalProposal } from "../../../injective/exchange/v1beta1/proposal.js";
|
|
9
|
+
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy.js";
|
|
10
|
+
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade.js";
|
|
11
|
+
import { TextProposal } from "../v1beta1/gov.js";
|
|
12
|
+
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution.js";
|
|
13
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
14
|
+
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers.js";
|
|
15
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
16
16
|
function createBaseMsgSubmitProposal() {
|
|
17
17
|
return {
|
|
18
18
|
messages: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
1
|
+
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1.MsgExecLegacyContent", MsgExecLegacyContent], ["/cosmos.gov.v1.MsgVote", MsgVote], ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1.MsgDeposit", MsgDeposit], ["/cosmos.gov.v1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.gov.v1.MsgCancelProposal", MsgCancelProposal]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* SubmitProposal defines a method to create new proposal given the messages.
|
|
5
5
|
* @name submitProposal
|