injectivejs 1.19.4 → 1.21.0
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/README.md +8 -12
- 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 +14 -17
- package/LICENSE-Apache +0 -201
- /package/{LICENSE-MIT → LICENSE} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params, FeedConfig, Transmission, EpochAndRound } from "./ocr
|
|
2
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params, FeedConfig, Transmission, EpochAndRound } from "./ocr";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseGenesisState() {
|
|
6
6
|
return {
|
|
7
7
|
params: Params.fromPartial({}),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { Timestamp } from "../../../google/protobuf/timestamp
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
6
|
import { Decimal } from "@interchainjs/math";
|
|
7
7
|
function createBaseParams() {
|
|
8
8
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Params, FeedConfigInfo, FeedConfig, EpochAndRound, Transmission } from "./ocr
|
|
2
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
3
|
-
import { GenesisState } from "./genesis
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
5
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
6
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params, FeedConfigInfo, FeedConfig, EpochAndRound, Transmission } from "./ocr";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { GenesisState } from "./genesis";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
6
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
7
7
|
function createBaseQueryParamsRequest() {
|
|
8
8
|
return {};
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryFeedConfigRequest, QueryFeedConfigResponse, QueryFeedConfigInfoRequest, QueryFeedConfigInfoResponse, QueryLatestRoundRequest, QueryLatestRoundResponse, QueryLatestTransmissionDetailsRequest, QueryLatestTransmissionDetailsResponse, QueryOwedAmountRequest, QueryOwedAmountResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryFeedConfigRequest, QueryFeedConfigResponse, QueryFeedConfigInfoRequest, QueryFeedConfigInfoResponse, QueryLatestRoundRequest, QueryLatestRoundResponse, QueryLatestTransmissionDetailsRequest, QueryLatestTransmissionDetailsResponse, QueryOwedAmountRequest, QueryOwedAmountResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query";
|
|
3
3
|
/**
|
|
4
4
|
* @name getParams
|
|
5
5
|
* @package injective.ocr.v1beta1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FeedConfig, Report, Params } from "./ocr
|
|
2
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
5
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
1
|
+
import { FeedConfig, Report, Params } from "./ocr";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
6
6
|
function createBaseMsgCreateFeed() {
|
|
7
7
|
return {
|
|
8
8
|
sender: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgCreateFeed, MsgUpdateFeed, MsgTransmit, MsgFundFeedRewardPool, MsgWithdrawFeedRewardPool, MsgSetPayees, MsgTransferPayeeship, MsgAcceptPayeeship, MsgUpdateParams } from "./tx
|
|
1
|
+
import { MsgCreateFeed, MsgUpdateFeed, MsgTransmit, MsgFundFeedRewardPool, MsgWithdrawFeedRewardPool, MsgSetPayees, MsgTransferPayeeship, MsgAcceptPayeeship, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/injective.ocr.v1beta1.MsgCreateFeed", MsgCreateFeed], ["/injective.ocr.v1beta1.MsgUpdateFeed", MsgUpdateFeed], ["/injective.ocr.v1beta1.MsgTransmit", MsgTransmit], ["/injective.ocr.v1beta1.MsgFundFeedRewardPool", MsgFundFeedRewardPool], ["/injective.ocr.v1beta1.MsgWithdrawFeedRewardPool", MsgWithdrawFeedRewardPool], ["/injective.ocr.v1beta1.MsgSetPayees", MsgSetPayees], ["/injective.ocr.v1beta1.MsgTransferPayeeship", MsgTransferPayeeship], ["/injective.ocr.v1beta1.MsgAcceptPayeeship", MsgAcceptPayeeship], ["/injective.ocr.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types
|
|
2
|
-
import { MsgCreateFeed, MsgUpdateFeed, MsgTransmit, MsgFundFeedRewardPool, MsgWithdrawFeedRewardPool, MsgSetPayees, MsgTransferPayeeship, MsgAcceptPayeeship, MsgUpdateParams } from "./tx
|
|
1
|
+
import { buildTx } from "../../../helper-func-types";
|
|
2
|
+
import { MsgCreateFeed, MsgUpdateFeed, MsgTransmit, MsgFundFeedRewardPool, MsgWithdrawFeedRewardPool, MsgSetPayees, MsgTransferPayeeship, MsgAcceptPayeeship, MsgUpdateParams } from "./tx";
|
|
3
3
|
/**
|
|
4
4
|
* CreateFeed defines a method for creating feed by module admin
|
|
5
5
|
* @name createFeed
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StorkPriceState, PythPriceState } from "./oracle
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
1
|
+
import { StorkPriceState, PythPriceState } from "./oracle";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { Decimal } from "@interchainjs/math";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseSetChainlinkPriceEvent() {
|
|
6
6
|
return {
|
|
7
7
|
feedId: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params, BandPriceState, PriceFeedState, CoinbasePriceState, BandOracleRequest, BandIBCParams, ChainlinkPriceState, PriceRecords, ProviderState, PythPriceState, StorkPriceState } from "./oracle
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
4
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
1
|
+
import { Params, BandPriceState, PriceFeedState, CoinbasePriceState, BandOracleRequest, BandIBCParams, ChainlinkPriceState, PriceRecords, ProviderState, PythPriceState, StorkPriceState } from "./oracle";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
5
|
function createBaseGenesisState() {
|
|
6
6
|
return {
|
|
7
7
|
params: Params.fromPartial({}),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
4
|
import { Decimal } from "@interchainjs/math";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
6
|
export var OracleType;
|
|
7
7
|
(function (OracleType) {
|
|
8
8
|
OracleType[OracleType["Unspecified"] = 0] = "Unspecified";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BandOracleRequest, BandIBCParams } from "./oracle
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { BandOracleRequest, BandIBCParams } from "./oracle";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
function createBaseGrantBandOraclePrivilegeProposal() {
|
|
5
5
|
return {
|
|
6
6
|
$typeUrl: "/injective.oracle.v1beta1.GrantBandOraclePrivilegeProposal",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OracleInfo, PythPriceState, Params, BandPriceState, PriceFeedState, CoinbasePriceState, StorkPriceState, PriceState, PriceRecords, MetadataStatistics, PriceRecord, ProviderInfo, ProviderState } from "./oracle
|
|
2
|
-
import { GenesisState } from "./genesis
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { isSet } from "../../../helpers
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { OracleInfo, PythPriceState, Params, BandPriceState, PriceFeedState, CoinbasePriceState, StorkPriceState, PriceState, PriceRecords, MetadataStatistics, PriceRecord, ProviderInfo, ProviderState } from "./oracle";
|
|
2
|
+
import { GenesisState } from "./genesis";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { isSet } from "../../../helpers";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
6
|
import { Decimal } from "@interchainjs/math";
|
|
7
7
|
function createBaseQueryPythPriceRequest() {
|
|
8
8
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryBandRelayersRequest, QueryBandRelayersResponse, QueryBandPriceStatesRequest, QueryBandPriceStatesResponse, QueryBandIBCPriceStatesRequest, QueryBandIBCPriceStatesResponse, QueryPriceFeedPriceStatesRequest, QueryPriceFeedPriceStatesResponse, QueryCoinbasePriceStatesRequest, QueryCoinbasePriceStatesResponse, QueryPythPriceStatesRequest, QueryPythPriceStatesResponse, QueryStorkPriceStatesRequest, QueryStorkPriceStatesResponse, QueryStorkPublishersRequest, QueryStorkPublishersResponse, QueryProviderPriceStateRequest, QueryProviderPriceStateResponse, QueryModuleStateRequest, QueryModuleStateResponse, QueryHistoricalPriceRecordsRequest, QueryHistoricalPriceRecordsResponse, QueryOracleVolatilityRequest, QueryOracleVolatilityResponse, QueryOracleProvidersInfoRequest, QueryOracleProvidersInfoResponse, QueryOracleProviderPricesRequest, QueryOracleProviderPricesResponse, QueryOraclePriceRequest, QueryOraclePriceResponse, QueryPythPriceRequest, QueryPythPriceResponse } from "./query
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryBandRelayersRequest, QueryBandRelayersResponse, QueryBandPriceStatesRequest, QueryBandPriceStatesResponse, QueryBandIBCPriceStatesRequest, QueryBandIBCPriceStatesResponse, QueryPriceFeedPriceStatesRequest, QueryPriceFeedPriceStatesResponse, QueryCoinbasePriceStatesRequest, QueryCoinbasePriceStatesResponse, QueryPythPriceStatesRequest, QueryPythPriceStatesResponse, QueryStorkPriceStatesRequest, QueryStorkPriceStatesResponse, QueryStorkPublishersRequest, QueryStorkPublishersResponse, QueryProviderPriceStateRequest, QueryProviderPriceStateResponse, QueryModuleStateRequest, QueryModuleStateResponse, QueryHistoricalPriceRecordsRequest, QueryHistoricalPriceRecordsResponse, QueryOracleVolatilityRequest, QueryOracleVolatilityResponse, QueryOracleProvidersInfoRequest, QueryOracleProvidersInfoResponse, QueryOracleProviderPricesRequest, QueryOracleProviderPricesResponse, QueryOraclePriceRequest, QueryOraclePriceResponse, QueryPythPriceRequest, QueryPythPriceResponse } from "./query";
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves oracle params
|
|
5
5
|
* @name getParams
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AssetPair, PriceAttestation, Params } from "./oracle
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
1
|
+
import { AssetPair, PriceAttestation, Params } from "./oracle";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { Decimal } from "@interchainjs/math";
|
|
4
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
6
|
function createBaseMsgRelayProviderPrices() {
|
|
7
7
|
return {
|
|
8
8
|
sender: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgRelayProviderPrices, MsgRelayPriceFeedPrice, MsgRelayBandRates, MsgRequestBandIBCRates, MsgRelayCoinbaseMessages, MsgRelayStorkPrices, MsgRelayPythPrices, MsgUpdateParams } from "./tx
|
|
1
|
+
import { MsgRelayProviderPrices, MsgRelayPriceFeedPrice, MsgRelayBandRates, MsgRequestBandIBCRates, MsgRelayCoinbaseMessages, MsgRelayStorkPrices, MsgRelayPythPrices, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/injective.oracle.v1beta1.MsgRelayProviderPrices", MsgRelayProviderPrices], ["/injective.oracle.v1beta1.MsgRelayPriceFeedPrice", MsgRelayPriceFeedPrice], ["/injective.oracle.v1beta1.MsgRelayBandRates", MsgRelayBandRates], ["/injective.oracle.v1beta1.MsgRequestBandIBCRates", MsgRequestBandIBCRates], ["/injective.oracle.v1beta1.MsgRelayCoinbaseMessages", MsgRelayCoinbaseMessages], ["/injective.oracle.v1beta1.MsgRelayStorkPrices", MsgRelayStorkPrices], ["/injective.oracle.v1beta1.MsgRelayPythPrices", MsgRelayPythPrices], ["/injective.oracle.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types
|
|
2
|
-
import { MsgRelayProviderPrices, MsgRelayPriceFeedPrice, MsgRelayBandRates, MsgRequestBandIBCRates, MsgRelayCoinbaseMessages, MsgRelayStorkPrices, MsgRelayPythPrices, MsgUpdateParams } from "./tx
|
|
1
|
+
import { buildTx } from "../../../helper-func-types";
|
|
2
|
+
import { MsgRelayProviderPrices, MsgRelayPriceFeedPrice, MsgRelayBandRates, MsgRequestBandIBCRates, MsgRelayCoinbaseMessages, MsgRelayStorkPrices, MsgRelayPythPrices, MsgUpdateParams } from "./tx";
|
|
3
3
|
/**
|
|
4
4
|
* RelayProviderPrice defines a method for relaying a price for a
|
|
5
5
|
* provider-based oracle
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
1
|
+
import { Any } from "../../../google/protobuf/any";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
/**
|
|
4
4
|
* ClaimType is the cosmos type of an event from the counterpart chain that can
|
|
5
5
|
* be handled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ERC20Token } from "./attestation
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { ERC20Token } from "./attestation";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
function createBaseOutgoingTxBatch() {
|
|
5
5
|
return {
|
|
6
6
|
batchNonce: BigInt(0),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BridgeValidator } from "./types
|
|
2
|
-
import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { BridgeValidator } from "./types";
|
|
2
|
+
import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseEventAttestationObserved() {
|
|
6
6
|
return {
|
|
7
7
|
attestationType: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { Valset, ERC20ToDenom } from "./types
|
|
3
|
-
import { MsgValsetConfirm, MsgConfirmBatch, MsgSetOrchestratorAddresses } from "./msgs
|
|
4
|
-
import { OutgoingTxBatch, OutgoingTransferTx } from "./batch
|
|
5
|
-
import { Attestation } from "./attestation
|
|
6
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { Valset, ERC20ToDenom } from "./types";
|
|
3
|
+
import { MsgValsetConfirm, MsgConfirmBatch, MsgSetOrchestratorAddresses } from "./msgs";
|
|
4
|
+
import { OutgoingTxBatch, OutgoingTransferTx } from "./batch";
|
|
5
|
+
import { Attestation } from "./attestation";
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
8
8
|
function createBaseGenesisState() {
|
|
9
9
|
return {
|
|
10
10
|
params: undefined,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BridgeValidator } from "./types
|
|
3
|
-
import { Any } from "../../../google/protobuf/any
|
|
4
|
-
import { Params } from "./params
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
6
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BridgeValidator } from "./types";
|
|
3
|
+
import { Any } from "../../../google/protobuf/any";
|
|
4
|
+
import { Params } from "./params";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
7
7
|
function createBaseMsgSetOrchestratorAddresses() {
|
|
8
8
|
return {
|
|
9
9
|
sender: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgValsetConfirm, MsgSendToEth, MsgRequestBatch, MsgConfirmBatch, MsgDepositClaim, MsgWithdrawClaim, MsgValsetUpdatedClaim, MsgERC20DeployedClaim, MsgSetOrchestratorAddresses, MsgCancelSendToEth, MsgSubmitBadSignatureEvidence, MsgUpdateParams, MsgBlacklistEthereumAddresses, MsgRevokeEthereumBlacklist } from "./msgs
|
|
1
|
+
import { MsgValsetConfirm, MsgSendToEth, MsgRequestBatch, MsgConfirmBatch, MsgDepositClaim, MsgWithdrawClaim, MsgValsetUpdatedClaim, MsgERC20DeployedClaim, MsgSetOrchestratorAddresses, MsgCancelSendToEth, MsgSubmitBadSignatureEvidence, MsgUpdateParams, MsgBlacklistEthereumAddresses, MsgRevokeEthereumBlacklist } from "./msgs";
|
|
2
2
|
export const registry = [["/injective.peggy.v1.MsgValsetConfirm", MsgValsetConfirm], ["/injective.peggy.v1.MsgSendToEth", MsgSendToEth], ["/injective.peggy.v1.MsgRequestBatch", MsgRequestBatch], ["/injective.peggy.v1.MsgConfirmBatch", MsgConfirmBatch], ["/injective.peggy.v1.MsgDepositClaim", MsgDepositClaim], ["/injective.peggy.v1.MsgWithdrawClaim", MsgWithdrawClaim], ["/injective.peggy.v1.MsgValsetUpdatedClaim", MsgValsetUpdatedClaim], ["/injective.peggy.v1.MsgERC20DeployedClaim", MsgERC20DeployedClaim], ["/injective.peggy.v1.MsgSetOrchestratorAddresses", MsgSetOrchestratorAddresses], ["/injective.peggy.v1.MsgCancelSendToEth", MsgCancelSendToEth], ["/injective.peggy.v1.MsgSubmitBadSignatureEvidence", MsgSubmitBadSignatureEvidence], ["/injective.peggy.v1.MsgUpdateParams", MsgUpdateParams], ["/injective.peggy.v1.MsgBlacklistEthereumAddresses", MsgBlacklistEthereumAddresses], ["/injective.peggy.v1.MsgRevokeEthereumBlacklist", MsgRevokeEthereumBlacklist]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types
|
|
2
|
-
import { MsgValsetConfirm, MsgSendToEth, MsgRequestBatch, MsgConfirmBatch, MsgDepositClaim, MsgWithdrawClaim, MsgValsetUpdatedClaim, MsgERC20DeployedClaim, MsgSetOrchestratorAddresses, MsgCancelSendToEth, MsgSubmitBadSignatureEvidence, MsgUpdateParams, MsgBlacklistEthereumAddresses, MsgRevokeEthereumBlacklist } from "./msgs
|
|
1
|
+
import { buildTx } from "../../../helper-func-types";
|
|
2
|
+
import { MsgValsetConfirm, MsgSendToEth, MsgRequestBatch, MsgConfirmBatch, MsgDepositClaim, MsgWithdrawClaim, MsgValsetUpdatedClaim, MsgERC20DeployedClaim, MsgSetOrchestratorAddresses, MsgCancelSendToEth, MsgSubmitBadSignatureEvidence, MsgUpdateParams, MsgBlacklistEthereumAddresses, MsgRevokeEthereumBlacklist } from "./msgs";
|
|
3
3
|
/**
|
|
4
4
|
* @name valsetConfirm
|
|
5
5
|
* @package injective.peggy.v1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
4
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
5
|
function createBaseParams() {
|
|
6
6
|
return {
|
|
7
7
|
peggyId: "",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { Valset, LastClaimEvent } from "./types
|
|
3
|
-
import { MsgValsetConfirm, MsgConfirmBatch } from "./msgs
|
|
4
|
-
import { BatchFees } from "./pool
|
|
5
|
-
import { OutgoingTxBatch, OutgoingTransferTx } from "./batch
|
|
6
|
-
import { GenesisState } from "./genesis
|
|
7
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
8
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { Valset, LastClaimEvent } from "./types";
|
|
3
|
+
import { MsgValsetConfirm, MsgConfirmBatch } from "./msgs";
|
|
4
|
+
import { BatchFees } from "./pool";
|
|
5
|
+
import { OutgoingTxBatch, OutgoingTransferTx } from "./batch";
|
|
6
|
+
import { GenesisState } from "./genesis";
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
9
9
|
function createBaseQueryParamsRequest() {
|
|
10
10
|
return {};
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryCurrentValsetRequest, QueryCurrentValsetResponse, QueryValsetRequestRequest, QueryValsetRequestResponse, QueryValsetConfirmRequest, QueryValsetConfirmResponse, QueryValsetConfirmsByNonceRequest, QueryValsetConfirmsByNonceResponse, QueryLastValsetRequestsRequest, QueryLastValsetRequestsResponse, QueryLastPendingValsetRequestByAddrRequest, QueryLastPendingValsetRequestByAddrResponse, QueryLastEventByAddrRequest, QueryLastEventByAddrResponse, QueryPendingSendToEth, QueryPendingSendToEthResponse, QueryBatchFeeRequest, QueryBatchFeeResponse, QueryOutgoingTxBatchesRequest, QueryOutgoingTxBatchesResponse, QueryLastPendingBatchRequestByAddrRequest, QueryLastPendingBatchRequestByAddrResponse, QueryBatchRequestByNonceRequest, QueryBatchRequestByNonceResponse, QueryBatchConfirmsRequest, QueryBatchConfirmsResponse, QueryERC20ToDenomRequest, QueryERC20ToDenomResponse, QueryDenomToERC20Request, QueryDenomToERC20Response, QueryDelegateKeysByValidatorAddress, QueryDelegateKeysByValidatorAddressResponse, QueryDelegateKeysByEthAddress, QueryDelegateKeysByEthAddressResponse, QueryDelegateKeysByOrchestratorAddress, QueryDelegateKeysByOrchestratorAddressResponse, QueryModuleStateRequest, QueryModuleStateResponse, MissingNoncesRequest, MissingNoncesResponse } from "./query
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryCurrentValsetRequest, QueryCurrentValsetResponse, QueryValsetRequestRequest, QueryValsetRequestResponse, QueryValsetConfirmRequest, QueryValsetConfirmResponse, QueryValsetConfirmsByNonceRequest, QueryValsetConfirmsByNonceResponse, QueryLastValsetRequestsRequest, QueryLastValsetRequestsResponse, QueryLastPendingValsetRequestByAddrRequest, QueryLastPendingValsetRequestByAddrResponse, QueryLastEventByAddrRequest, QueryLastEventByAddrResponse, QueryPendingSendToEth, QueryPendingSendToEthResponse, QueryBatchFeeRequest, QueryBatchFeeResponse, QueryOutgoingTxBatchesRequest, QueryOutgoingTxBatchesResponse, QueryLastPendingBatchRequestByAddrRequest, QueryLastPendingBatchRequestByAddrResponse, QueryBatchRequestByNonceRequest, QueryBatchRequestByNonceResponse, QueryBatchConfirmsRequest, QueryBatchConfirmsResponse, QueryERC20ToDenomRequest, QueryERC20ToDenomResponse, QueryDenomToERC20Request, QueryDenomToERC20Response, QueryDelegateKeysByValidatorAddress, QueryDelegateKeysByValidatorAddressResponse, QueryDelegateKeysByEthAddress, QueryDelegateKeysByEthAddressResponse, QueryDelegateKeysByOrchestratorAddress, QueryDelegateKeysByOrchestratorAddressResponse, QueryModuleStateRequest, QueryModuleStateResponse, MissingNoncesRequest, MissingNoncesResponse } from "./query";
|
|
3
3
|
/**
|
|
4
4
|
* Deployments queries deployments
|
|
5
5
|
* @name getParams
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
2
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
3
3
|
function createBaseBridgeValidator() {
|
|
4
4
|
return {
|
|
5
5
|
power: BigInt(0),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
function createBaseEventSetVoucher() {
|
|
5
5
|
return {
|
|
6
6
|
addr: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { Namespace, AddressVoucher } from "./permissions
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { Namespace, AddressVoucher } from "./permissions";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseGenesisState() {
|
|
6
6
|
return {
|
|
7
7
|
params: Params.fromPartial({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { isSet } from "../../../helpers
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { isSet } from "../../../helpers";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
/** each Action enum value should be a power of two */
|
|
6
6
|
export var Action;
|
|
7
7
|
(function (Action) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { Namespace, RoleManager, PolicyStatus, PolicyManagerCapability, AddressVoucher } from "./permissions
|
|
3
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
4
|
-
import { GenesisState } from "./genesis
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
6
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { Namespace, RoleManager, PolicyStatus, PolicyManagerCapability, AddressVoucher } from "./permissions";
|
|
3
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
|
+
import { GenesisState } from "./genesis";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
7
7
|
function createBaseQueryParamsRequest() {
|
|
8
8
|
return {};
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryNamespaceDenomsRequest, QueryNamespaceDenomsResponse, QueryNamespacesRequest, QueryNamespacesResponse, QueryNamespaceRequest, QueryNamespaceResponse, QueryRolesByActorRequest, QueryRolesByActorResponse, QueryActorsByRoleRequest, QueryActorsByRoleResponse, QueryRoleManagersRequest, QueryRoleManagersResponse, QueryRoleManagerRequest, QueryRoleManagerResponse, QueryPolicyStatusesRequest, QueryPolicyStatusesResponse, QueryPolicyManagerCapabilitiesRequest, QueryPolicyManagerCapabilitiesResponse, QueryVouchersRequest, QueryVouchersResponse, QueryVoucherRequest, QueryVoucherResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryNamespaceDenomsRequest, QueryNamespaceDenomsResponse, QueryNamespacesRequest, QueryNamespacesResponse, QueryNamespaceRequest, QueryNamespaceResponse, QueryRolesByActorRequest, QueryRolesByActorResponse, QueryActorsByRoleRequest, QueryActorsByRoleResponse, QueryRoleManagersRequest, QueryRoleManagersResponse, QueryRoleManagerRequest, QueryRoleManagerResponse, QueryPolicyStatusesRequest, QueryPolicyStatusesResponse, QueryPolicyManagerCapabilitiesRequest, QueryPolicyManagerCapabilitiesResponse, QueryVouchersRequest, QueryVouchersResponse, QueryVoucherRequest, QueryVoucherResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query";
|
|
3
3
|
/**
|
|
4
4
|
* Params defines a gRPC query method that returns the permissions module's
|
|
5
5
|
* parameters.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params } from "../../../cosmos/bank/v1beta1/bank
|
|
2
|
-
import { Namespace, Role, RoleManager, PolicyStatus, PolicyManagerCapability, RoleActors } from "./permissions
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "../../../cosmos/bank/v1beta1/bank";
|
|
2
|
+
import { Namespace, Role, RoleManager, PolicyStatus, PolicyManagerCapability, RoleActors } from "./permissions";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseMsgUpdateParams() {
|
|
6
6
|
return {
|
|
7
7
|
authority: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgCreateNamespace, MsgUpdateNamespace, MsgUpdateActorRoles, MsgClaimVoucher } from "./tx
|
|
1
|
+
import { MsgUpdateParams, MsgCreateNamespace, MsgUpdateNamespace, MsgUpdateActorRoles, MsgClaimVoucher } from "./tx";
|
|
2
2
|
export const registry = [["/injective.permissions.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/injective.permissions.v1beta1.MsgCreateNamespace", MsgCreateNamespace], ["/injective.permissions.v1beta1.MsgUpdateNamespace", MsgUpdateNamespace], ["/injective.permissions.v1beta1.MsgUpdateActorRoles", MsgUpdateActorRoles], ["/injective.permissions.v1beta1.MsgClaimVoucher", MsgClaimVoucher]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types
|
|
2
|
-
import { MsgUpdateParams, MsgCreateNamespace, MsgUpdateNamespace, MsgUpdateActorRoles, MsgClaimVoucher } from "./tx
|
|
1
|
+
import { buildTx } from "../../../helper-func-types";
|
|
2
|
+
import { MsgUpdateParams, MsgCreateNamespace, MsgUpdateNamespace, MsgUpdateActorRoles, MsgClaimVoucher } from "./tx";
|
|
3
3
|
/**
|
|
4
4
|
* @name updateParams
|
|
5
5
|
* @package injective.permissions.v1beta1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Level, Deposit, SpotLimitOrder, DerivativeLimitOrder, PositionDelta } from "../../exchange/v1beta1/exchange
|
|
2
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
5
|
-
import { isSet } from "../../../helpers
|
|
1
|
+
import { Level, Deposit, SpotLimitOrder, DerivativeLimitOrder, PositionDelta } from "../../exchange/v1beta1/exchange";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
import { isSet } from "../../../helpers";
|
|
6
6
|
import { Decimal } from "@interchainjs/math";
|
|
7
7
|
export var OrderUpdateStatus;
|
|
8
8
|
(function (OrderUpdateStatus) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { Metadata } from "../../../cosmos/bank/v1beta1/bank
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Metadata } from "../../../cosmos/bank/v1beta1/bank";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseEventCreateDenom() {
|
|
6
6
|
return {
|
|
7
7
|
account: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { DenomAuthorityMetadata } from "./authorityMetadata
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { DenomAuthorityMetadata } from "./authorityMetadata";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseGenesisState() {
|
|
6
6
|
return {
|
|
7
7
|
params: Params.fromPartial({}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
function createBaseParams() {
|
|
5
5
|
return {
|
|
6
6
|
denomCreationFee: []
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Params } from "./params
|
|
2
|
-
import { DenomAuthorityMetadata } from "./authorityMetadata
|
|
3
|
-
import { GenesisState } from "./genesis
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./params";
|
|
2
|
+
import { DenomAuthorityMetadata } from "./authorityMetadata";
|
|
3
|
+
import { GenesisState } from "./genesis";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
6
|
function createBaseQueryParamsRequest() {
|
|
7
7
|
return {};
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse, QueryModuleStateRequest, QueryModuleStateResponse } from "./query";
|
|
3
3
|
/**
|
|
4
4
|
* Params defines a gRPC query method that returns the tokenfactory module's
|
|
5
5
|
* parameters.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin
|
|
2
|
-
import { Metadata, Params } from "../../../cosmos/bank/v1beta1/bank
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Metadata, Params } from "../../../cosmos/bank/v1beta1/bank";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
function createBaseMsgCreateDenom() {
|
|
6
6
|
return {
|
|
7
7
|
sender: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx
|
|
1
|
+
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/injective.tokenfactory.v1beta1.MsgCreateDenom", MsgCreateDenom], ["/injective.tokenfactory.v1beta1.MsgMint", MsgMint], ["/injective.tokenfactory.v1beta1.MsgBurn", MsgBurn], ["/injective.tokenfactory.v1beta1.MsgChangeAdmin", MsgChangeAdmin], ["/injective.tokenfactory.v1beta1.MsgSetDenomMetadata", MsgSetDenomMetadata], ["/injective.tokenfactory.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types
|
|
2
|
-
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx
|
|
1
|
+
import { buildTx } from "../../../helper-func-types";
|
|
2
|
+
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx";
|
|
3
3
|
/**
|
|
4
4
|
* @name createDenom
|
|
5
5
|
* @package injective.tokenfactory.v1beta1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Params } from "./txfees
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry
|
|
1
|
+
import { Params } from "./txfees";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
function createBaseGenesisState() {
|
|
5
5
|
return {
|
|
6
6
|
params: Params.fromPartial({})
|