@injectivelabs/chain-consumer
Advanced tools
Comparing version 0.0.91 to 0.0.92
import { TextProposal } from '@injectivelabs/chain-api/cosmos/gov/v1beta1/gov_pb'; | ||
import { SoftwareUpgradeProposal } from '@injectivelabs/chain-api/cosmos/upgrade/v1beta1/upgrade_pb'; | ||
export declare class CosmosProposalDecomposer { | ||
static textProposal(content: Uint8Array): TextProposal; | ||
static SoftwareUpgrade(content: Uint8Array): SoftwareUpgradeProposal; | ||
} | ||
//# sourceMappingURL=CosmosProposalDecomposer.d.ts.map |
@@ -5,2 +5,3 @@ "use strict"; | ||
const gov_pb_1 = require("@injectivelabs/chain-api/cosmos/gov/v1beta1/gov_pb"); | ||
const upgrade_pb_1 = require("@injectivelabs/chain-api/cosmos/upgrade/v1beta1/upgrade_pb"); | ||
class CosmosProposalDecomposer { | ||
@@ -10,4 +11,7 @@ static textProposal(content) { | ||
} | ||
static SoftwareUpgrade(content) { | ||
return upgrade_pb_1.SoftwareUpgradeProposal.deserializeBinary(content); | ||
} | ||
} | ||
exports.CosmosProposalDecomposer = CosmosProposalDecomposer; | ||
//# sourceMappingURL=CosmosProposalDecomposer.js.map |
@@ -1,2 +0,2 @@ | ||
import { DerivativeMarketParamUpdateProposal, ExchangeEnableProposal, ExpiryFuturesMarketLaunchProposal, PerpetualMarketLaunchProposal, SpotMarketLaunchProposal, SpotMarketParamUpdateProposal } from '@injectivelabs/chain-api/injective/exchange/v1beta1/tx_pb'; | ||
import { DerivativeMarketParamUpdateProposal, ExchangeEnableProposal, ExpiryFuturesMarketLaunchProposal, FeeDiscountProposal, PerpetualMarketLaunchProposal, SpotMarketLaunchProposal, SpotMarketParamUpdateProposal, TradingRewardCampaignLaunchProposal, TradingRewardCampaignUpdateProposal } from '@injectivelabs/chain-api/injective/exchange/v1beta1/tx_pb'; | ||
export declare class ExchangeProposalDecomposer { | ||
@@ -9,3 +9,6 @@ static spotMarketLaunch(content: Uint8Array): SpotMarketLaunchProposal; | ||
static derivativeMarketUpdate(content: Uint8Array): DerivativeMarketParamUpdateProposal; | ||
static FeeDiscount(content: Uint8Array): FeeDiscountProposal; | ||
static TradingRewardCampaignLaunch(content: Uint8Array): TradingRewardCampaignLaunchProposal; | ||
static TradingRewardCampaignUpdate(content: Uint8Array): TradingRewardCampaignUpdateProposal; | ||
} | ||
//# sourceMappingURL=ExchangeProposalDecomposer.d.ts.map |
@@ -24,4 +24,13 @@ "use strict"; | ||
} | ||
static FeeDiscount(content) { | ||
return tx_pb_1.FeeDiscountProposal.deserializeBinary(content); | ||
} | ||
static TradingRewardCampaignLaunch(content) { | ||
return tx_pb_1.TradingRewardCampaignLaunchProposal.deserializeBinary(content); | ||
} | ||
static TradingRewardCampaignUpdate(content) { | ||
return tx_pb_1.TradingRewardCampaignUpdateProposal.deserializeBinary(content); | ||
} | ||
} | ||
exports.ExchangeProposalDecomposer = ExchangeProposalDecomposer; | ||
//# sourceMappingURL=ExchangeProposalDecomposer.js.map |
export * from './ExchangeProposalDecomposer'; | ||
export * from './GovernanceProposalDecomposer'; | ||
export * from './CosmosProposalDecomposer'; | ||
export * from './OracleProposalDecomposer'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,2 +16,3 @@ "use strict"; | ||
__exportStar(require("./CosmosProposalDecomposer"), exports); | ||
__exportStar(require("./OracleProposalDecomposer"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@injectivelabs/chain-consumer", | ||
"description": "Interacting with our Chain API made easy. Can be reused throughout Injective's projects.", | ||
"version": "0.0.91", | ||
"version": "0.0.92", | ||
"license": "MIT", | ||
@@ -42,3 +42,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "14f660ae3d908fc7028dd93721bfcd880e0346fd" | ||
"gitHead": "bea3e09cd8beb1292782071376929bef7edcc260" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
201835
167
2514