@initia/initia.js
Advanced tools
Comparing version 0.2.16 to 0.2.17
import { BaseAPI } from './BaseAPI'; | ||
import { Proposal, Deposit, Vote, GovParams } from '../../../core'; | ||
import { Proposal, Deposit, Vote, GovParams, TallyResult } from '../../../core'; | ||
import { APIParams, Pagination, PaginationOptions } from '../APIRequester'; | ||
@@ -9,5 +9,5 @@ export declare class GovAPI extends BaseAPI { | ||
votes(proposalId: number, _params?: Partial<PaginationOptions & APIParams>): Promise<[Vote[], Pagination]>; | ||
tally(proposalId: number, params?: APIParams): Promise<Proposal.FinalTallyResult>; | ||
tally(proposalId: number, params?: APIParams): Promise<TallyResult>; | ||
parameters(params?: APIParams): Promise<GovParams>; | ||
emergencyProposals(params?: Partial<PaginationOptions & APIParams>): Promise<[Proposal[], Pagination]>; | ||
} |
@@ -6,9 +6,5 @@ import { BaseAPI } from './BaseAPI'; | ||
channel_id: string; | ||
halt_state: HaltState; | ||
admin: string; | ||
relayers: string[]; | ||
} | ||
export interface HaltState { | ||
halted: boolean; | ||
halted_by: string; | ||
} | ||
export declare class IbcPermAPI extends BaseAPI { | ||
@@ -15,0 +11,0 @@ channelStates(params?: Partial<PaginationOptions & APIParams>): Promise<[ChannelState[], Pagination]>; |
@@ -5,2 +5,3 @@ export * from './msgs'; | ||
export * from './Vote'; | ||
export * from './TallyResult'; | ||
export * from './GovParams'; |
@@ -5,2 +5,3 @@ import { JSONSerializable } from '../../../util/json'; | ||
import { Msg } from '../../Msg'; | ||
import { TallyResult } from '../TallyResult'; | ||
import { ProposalStatus } from '@initia/initia.proto/cosmos/gov/v1/gov'; | ||
@@ -12,3 +13,3 @@ import { Proposal as Proposal_pb } from '@initia/initia.proto/initia/gov/v1/gov'; | ||
status: ProposalStatus; | ||
final_tally_result: Proposal.FinalTallyResult; | ||
final_tally_result: TallyResult; | ||
submit_time: Date; | ||
@@ -28,3 +29,3 @@ deposit_end_time: Date; | ||
total_deposit: Coins; | ||
constructor(id: number, messages: Msg[], status: ProposalStatus, final_tally_result: Proposal.FinalTallyResult, submit_time: Date, deposit_end_time: Date, total_deposit: Coins.Input, voting_start_time: Date, voting_end_time: Date, emergency_start_time: Date, emergency_next_tally_time: Date, metadata: string, title: string, summary: string, proposer: AccAddress, expedited: boolean, emergency: boolean, failed_reason: string); | ||
constructor(id: number, messages: Msg[], status: ProposalStatus, final_tally_result: TallyResult, submit_time: Date, deposit_end_time: Date, total_deposit: Coins.Input, voting_start_time: Date, voting_end_time: Date, emergency_start_time: Date, emergency_next_tally_time: Date, metadata: string, title: string, summary: string, proposer: AccAddress, expedited: boolean, emergency: boolean, failed_reason: string); | ||
static fromAmino(data: Proposal.Amino): Proposal; | ||
@@ -40,8 +41,2 @@ toAmino(): Proposal.Amino; | ||
type Status = ProposalStatus; | ||
interface FinalTallyResult { | ||
yes_count: string; | ||
abstain_count: string; | ||
no_count: string; | ||
no_with_veto_count: string; | ||
} | ||
interface Amino { | ||
@@ -51,8 +46,3 @@ id: string; | ||
status: string; | ||
final_tally_result: { | ||
yes_count: string; | ||
abstain_count: string; | ||
no_count: string; | ||
no_with_veto_count: string; | ||
}; | ||
final_tally_result: TallyResult.Amino; | ||
submit_time: string; | ||
@@ -77,8 +67,3 @@ deposit_end_time: string; | ||
status: string; | ||
final_tally_result: { | ||
yes_count: string; | ||
abstain_count: string; | ||
no_count: string; | ||
no_with_veto_count: string; | ||
}; | ||
final_tally_result: TallyResult.Data; | ||
submit_time: string; | ||
@@ -85,0 +70,0 @@ deposit_end_time: string; |
@@ -1,12 +0,10 @@ | ||
import { MsgSetPermissionedRelayers } from './MsgSetPermissionedRelayers'; | ||
import { MsgHaltChannel } from './MsgHaltChannel'; | ||
import { MsgResumeChannel } from './MsgResumeChannel'; | ||
export * from './MsgSetPermissionedRelayers'; | ||
export * from './MsgHaltChannel'; | ||
export * from './MsgResumeChannel'; | ||
export type IbcPermMsg = MsgSetPermissionedRelayers | MsgHaltChannel | MsgResumeChannel; | ||
import { MsgUpdateIbcPermAdmin } from './MsgUpdateIbcPermAdmin'; | ||
import { MsgUpdatePermissionedRelayers } from './MsgUpdatePermissionedRelayers'; | ||
export * from './MsgUpdateIbcPermAdmin'; | ||
export * from './MsgUpdatePermissionedRelayers'; | ||
export type IbcPermMsg = MsgUpdateIbcPermAdmin | MsgUpdatePermissionedRelayers; | ||
export declare namespace IbcPermMsg { | ||
type Amino = MsgSetPermissionedRelayers.Amino | MsgHaltChannel.Amino | MsgResumeChannel.Amino; | ||
type Data = MsgSetPermissionedRelayers.Data | MsgHaltChannel.Data | MsgResumeChannel.Data; | ||
type Proto = MsgSetPermissionedRelayers.Proto | MsgHaltChannel.Proto | MsgResumeChannel.Proto; | ||
type Amino = MsgUpdateIbcPermAdmin.Amino | MsgUpdatePermissionedRelayers.Amino; | ||
type Data = MsgUpdateIbcPermAdmin.Data | MsgUpdatePermissionedRelayers.Data; | ||
type Proto = MsgUpdateIbcPermAdmin.Proto | MsgUpdatePermissionedRelayers.Proto; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { DenomTrace as DenomTrace_pb } from '@initia/initia.proto/ibc/applications/transfer/v1/denomtrace'; | ||
import { DenomTrace as DenomTrace_pb } from '@initia/initia.proto/ibc/applications/transfer/v1/transfer'; | ||
import { JSONSerializable } from '../../../../util/json'; | ||
@@ -3,0 +3,0 @@ export declare class DenomTrace extends JSONSerializable<DenomTrace.Amino, DenomTrace.Data, DenomTrace.Proto> { |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { Order } from '@initia/initia.proto/ibc/core/channel/v1/channel'; | ||
import { MsgRegisterAccount as MsgRegisterAccount_pb } from '@initia/initia.proto/initia/intertx/v1/tx'; | ||
@@ -9,3 +10,4 @@ export declare class MsgRegisterAccount extends JSONSerializable<MsgRegisterAccount.Amino, MsgRegisterAccount.Data, MsgRegisterAccount.Proto> { | ||
version: string; | ||
constructor(owner: AccAddress, connection_id: string, version: string); | ||
ordering: Order; | ||
constructor(owner: AccAddress, connection_id: string, version: string, ordering: Order); | ||
static fromAmino(data: MsgRegisterAccount.Amino): MsgRegisterAccount; | ||
@@ -27,2 +29,3 @@ toAmino(): MsgRegisterAccount.Amino; | ||
version: string; | ||
ordering: Order; | ||
}; | ||
@@ -35,4 +38,5 @@ } | ||
version: string; | ||
ordering: Order; | ||
} | ||
type Proto = MsgRegisterAccount_pb; | ||
} |
import { JSONSerializable } from '../../util/json'; | ||
import { ProviderConfig } from './ProviderConfig'; | ||
import { Ticker } from './Ticker'; | ||
import { Market as Market_pb } from '@initia/initia.proto/slinky/marketmap/v1/market'; | ||
import { Market as Market_pb } from '@initia/initia.proto/connect/marketmap/v2/market'; | ||
export declare class Market extends JSONSerializable<Market.Amino, Market.Data, Market.Proto> { | ||
@@ -6,0 +6,0 @@ ticker: Ticker; |
import { AccAddress } from '../bech32'; | ||
import { JSONSerializable } from '../../util/json'; | ||
import { Params as Params_pb } from '@initia/initia.proto/slinky/marketmap/v1/params'; | ||
import { Params as Params_pb } from '@initia/initia.proto/connect/marketmap/v2/params'; | ||
export declare class MarketmapParams extends JSONSerializable<MarketmapParams.Amino, MarketmapParams.Data, MarketmapParams.Proto> { | ||
@@ -5,0 +5,0 @@ market_authorities: AccAddress[]; |
import { MsgCreateMarkets } from './MsgCreateMarkets'; | ||
import { MsgUpdateMarkets } from './MsgUpdateMarkets'; | ||
import { MsgUpsertMarkets } from './MsgUpsertMarkets'; | ||
import { MsgRemoveMarketAuthorities } from './MsgRemoveMarketAuthorities'; | ||
@@ -7,9 +8,10 @@ import { MsgUpdateMarketmapParams } from './MsgUpdateMarketmapParams'; | ||
export * from './MsgUpdateMarkets'; | ||
export * from './MsgUpsertMarkets'; | ||
export * from './MsgRemoveMarketAuthorities'; | ||
export * from './MsgUpdateMarketmapParams'; | ||
export type MarketmapMsg = MsgCreateMarkets | MsgUpdateMarkets | MsgRemoveMarketAuthorities | MsgUpdateMarketmapParams; | ||
export type MarketmapMsg = MsgCreateMarkets | MsgUpdateMarkets | MsgUpsertMarkets | MsgRemoveMarketAuthorities | MsgUpdateMarketmapParams; | ||
export declare namespace MarketmapMsg { | ||
type Amino = MsgCreateMarkets.Amino | MsgUpdateMarkets.Amino | MsgRemoveMarketAuthorities.Amino | MsgUpdateMarketmapParams.Amino; | ||
type Data = MsgCreateMarkets.Data | MsgUpdateMarkets.Data | MsgRemoveMarketAuthorities.Data | MsgUpdateMarketmapParams.Data; | ||
type Proto = MsgCreateMarkets.Proto | MsgUpdateMarkets.Proto | MsgRemoveMarketAuthorities.Proto | MsgUpdateMarketmapParams.Proto; | ||
type Amino = MsgCreateMarkets.Amino | MsgUpdateMarkets.Amino | MsgUpsertMarkets.Amino | MsgRemoveMarketAuthorities.Amino | MsgUpdateMarketmapParams.Amino; | ||
type Data = MsgCreateMarkets.Data | MsgUpdateMarkets.Data | MsgUpsertMarkets.Data | MsgRemoveMarketAuthorities.Data | MsgUpdateMarketmapParams.Data; | ||
type Proto = MsgCreateMarkets.Proto | MsgUpdateMarkets.Proto | MsgUpsertMarkets.Proto | MsgRemoveMarketAuthorities.Proto | MsgUpdateMarketmapParams.Proto; | ||
} |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgCreateMarkets as MsgCreateMarkets_pb } from '@initia/initia.proto/slinky/marketmap/v1/tx'; | ||
import { MsgCreateMarkets as MsgCreateMarkets_pb } from '@initia/initia.proto/connect/marketmap/v2/tx'; | ||
import { Market } from '../Market'; | ||
@@ -21,3 +21,3 @@ export declare class MsgCreateMarkets extends JSONSerializable<MsgCreateMarkets.Amino, MsgCreateMarkets.Data, MsgCreateMarkets.Proto> { | ||
interface Amino { | ||
type: 'slinky/x/marketmap/MsgCreateMarkets'; | ||
type: 'connect/x/marketmap/MsgCreateMarkets'; | ||
value: { | ||
@@ -29,3 +29,3 @@ authority: AccAddress; | ||
interface Data { | ||
'@type': '/slinky.marketmap.v1.MsgCreateMarkets'; | ||
'@type': '/connect.marketmap.v2.MsgCreateMarkets'; | ||
authority: AccAddress; | ||
@@ -32,0 +32,0 @@ create_markets: Market.Data[]; |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgRemoveMarketAuthorities as MsgRemoveMarketAuthorities_pb } from '@initia/initia.proto/slinky/marketmap/v1/tx'; | ||
import { MsgRemoveMarketAuthorities as MsgRemoveMarketAuthorities_pb } from '@initia/initia.proto/connect/marketmap/v2/tx'; | ||
export declare class MsgRemoveMarketAuthorities extends JSONSerializable<MsgRemoveMarketAuthorities.Amino, MsgRemoveMarketAuthorities.Data, MsgRemoveMarketAuthorities.Proto> { | ||
@@ -20,3 +20,3 @@ remove_addresses: AccAddress[]; | ||
interface Amino { | ||
type: 'slinky/x/marketmap/MsgRemoveMarketAuthorities'; | ||
type: 'connect/x/marketmap/MsgRemoveMarketAuthorities'; | ||
value: { | ||
@@ -28,3 +28,3 @@ remove_addresses: AccAddress[]; | ||
interface Data { | ||
'@type': '/slinky.marketmap.v1.MsgRemoveMarketAuthorities'; | ||
'@type': '/connect.marketmap.v2.MsgRemoveMarketAuthorities'; | ||
remove_addresses: AccAddress[]; | ||
@@ -31,0 +31,0 @@ admin: AccAddress; |
@@ -5,3 +5,3 @@ import { JSONSerializable } from '../../../util/json'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgParams as MsgParams_pb } from '@initia/initia.proto/slinky/marketmap/v1/tx'; | ||
import { MsgParams as MsgParams_pb } from '@initia/initia.proto/connect/marketmap/v2/tx'; | ||
export declare class MsgUpdateMarketmapParams extends JSONSerializable<MsgUpdateMarketmapParams.Amino, MsgUpdateMarketmapParams.Data, MsgUpdateMarketmapParams.Proto> { | ||
@@ -22,3 +22,3 @@ authority: AccAddress; | ||
interface Amino { | ||
type: 'slinky/x/marketmap/MsgParams'; | ||
type: 'connect/x/marketmap/MsgParams'; | ||
value: { | ||
@@ -30,3 +30,3 @@ authority: AccAddress; | ||
interface Data { | ||
'@type': '/slinky.marketmap.v1.MsgParams'; | ||
'@type': '/connect.marketmap.v2.MsgParams'; | ||
authority: AccAddress; | ||
@@ -33,0 +33,0 @@ params: MarketmapParams.Data; |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgUpdateMarkets as MsgUpdateMarkets_pb } from '@initia/initia.proto/slinky/marketmap/v1/tx'; | ||
import { MsgUpdateMarkets as MsgUpdateMarkets_pb } from '@initia/initia.proto/connect/marketmap/v2/tx'; | ||
import { Market } from '../Market'; | ||
@@ -21,3 +21,3 @@ export declare class MsgUpdateMarkets extends JSONSerializable<MsgUpdateMarkets.Amino, MsgUpdateMarkets.Data, MsgUpdateMarkets.Proto> { | ||
interface Amino { | ||
type: 'slinky/x/marketmap/MsgUpdateMarkets'; | ||
type: 'connect/x/marketmap/MsgUpdateMarkets'; | ||
value: { | ||
@@ -29,3 +29,3 @@ authority: AccAddress; | ||
interface Data { | ||
'@type': '/slinky.marketmap.v1.MsgUpdateMarkets'; | ||
'@type': '/connect.marketmap.v2.MsgUpdateMarkets'; | ||
authority: AccAddress; | ||
@@ -32,0 +32,0 @@ update_markets: Market.Data[]; |
import { JSONSerializable } from '../../util/json'; | ||
import { CurrencyPair } from '../oracle'; | ||
import { ProviderConfig as ProviderConfig_pb } from '@initia/initia.proto/slinky/marketmap/v1/market'; | ||
import { ProviderConfig as ProviderConfig_pb } from '@initia/initia.proto/connect/marketmap/v2/market'; | ||
export declare class ProviderConfig extends JSONSerializable<ProviderConfig.Amino, ProviderConfig.Data, ProviderConfig.Proto> { | ||
@@ -5,0 +5,0 @@ name: string; |
import { JSONSerializable } from '../../util/json'; | ||
import { CurrencyPair } from '../oracle'; | ||
import { Ticker as Ticker_pb } from '@initia/initia.proto/slinky/marketmap/v1/market'; | ||
import { Ticker as Ticker_pb } from '@initia/initia.proto/connect/marketmap/v2/market'; | ||
export declare class Ticker extends JSONSerializable<Ticker.Amino, Ticker.Data, Ticker.Proto> { | ||
@@ -5,0 +5,0 @@ currency_pair: CurrencyPair; |
@@ -7,3 +7,3 @@ import { JSONSerializable } from '../../util/json'; | ||
export declare class BridgeConfig extends JSONSerializable<BridgeConfig.Amino, BridgeConfig.Data, BridgeConfig.Proto> { | ||
challengers: AccAddress[]; | ||
challenger: AccAddress; | ||
proposer: AccAddress; | ||
@@ -16,3 +16,3 @@ batch_info: BatchInfo; | ||
metadata?: string | undefined; | ||
constructor(challengers: AccAddress[], proposer: AccAddress, batch_info: BatchInfo, submission_interval: Duration, finalization_period: Duration, submission_start_height: number, oracle_enabled: boolean, metadata?: string | undefined); | ||
constructor(challenger: AccAddress, proposer: AccAddress, batch_info: BatchInfo, submission_interval: Duration, finalization_period: Duration, submission_start_height: number, oracle_enabled: boolean, metadata?: string | undefined); | ||
static fromAmino(data: BridgeConfig.Amino): BridgeConfig; | ||
@@ -27,3 +27,3 @@ toAmino(): BridgeConfig.Amino; | ||
interface Amino { | ||
challengers: AccAddress[]; | ||
challenger: AccAddress; | ||
proposer: AccAddress; | ||
@@ -38,3 +38,3 @@ batch_info: BatchInfo.Amino; | ||
interface Data { | ||
challengers: AccAddress[]; | ||
challenger: AccAddress; | ||
proposer: AccAddress; | ||
@@ -41,0 +41,0 @@ batch_info: BatchInfo.Data; |
@@ -8,3 +8,3 @@ import { MsgRecordBatch } from './MsgRecordBatch'; | ||
import { MsgUpdateProposer } from './MsgUpdateProposer'; | ||
import { MsgUpdateChallengers } from './MsgUpdateChallengers'; | ||
import { MsgUpdateChallenger } from './MsgUpdateChallenger'; | ||
import { MsgUpdateBatchInfo } from './MsgUpdateBatchInfo'; | ||
@@ -21,3 +21,3 @@ import { MsgUpdateOracleConfig } from './MsgUpdateOracleConfig'; | ||
export * from './MsgUpdateProposer'; | ||
export * from './MsgUpdateChallengers'; | ||
export * from './MsgUpdateChallenger'; | ||
export * from './MsgUpdateBatchInfo'; | ||
@@ -27,7 +27,7 @@ export * from './MsgUpdateOracleConfig'; | ||
export * from './MsgUpdateOphostParams'; | ||
export type OphostMsg = MsgRecordBatch | MsgCreateBridge | MsgProposeOutput | MsgDeleteOutput | MsgInitiateTokenDeposit | MsgFinalizeTokenWithdrawal | MsgUpdateProposer | MsgUpdateChallengers | MsgUpdateBatchInfo | MsgUpdateOracleConfig | MsgUpdateMetadata | MsgUpdateOphostParams; | ||
export type OphostMsg = MsgRecordBatch | MsgCreateBridge | MsgProposeOutput | MsgDeleteOutput | MsgInitiateTokenDeposit | MsgFinalizeTokenWithdrawal | MsgUpdateProposer | MsgUpdateChallenger | MsgUpdateBatchInfo | MsgUpdateOracleConfig | MsgUpdateMetadata | MsgUpdateOphostParams; | ||
export declare namespace OphostMsg { | ||
type Amino = MsgRecordBatch.Amino | MsgCreateBridge.Amino | MsgProposeOutput.Amino | MsgDeleteOutput.Amino | MsgInitiateTokenDeposit.Amino | MsgFinalizeTokenWithdrawal.Amino | MsgUpdateProposer.Amino | MsgUpdateChallengers.Amino | MsgUpdateBatchInfo.Amino | MsgUpdateOracleConfig.Amino | MsgUpdateMetadata.Amino | MsgUpdateOphostParams.Amino; | ||
type Data = MsgRecordBatch.Data | MsgCreateBridge.Data | MsgProposeOutput.Data | MsgDeleteOutput.Data | MsgInitiateTokenDeposit.Data | MsgFinalizeTokenWithdrawal.Data | MsgUpdateProposer.Data | MsgUpdateChallengers.Data | MsgUpdateBatchInfo.Data | MsgUpdateOracleConfig.Data | MsgUpdateMetadata.Data | MsgUpdateOphostParams.Data; | ||
type Proto = MsgRecordBatch.Proto | MsgCreateBridge.Proto | MsgProposeOutput.Proto | MsgDeleteOutput.Proto | MsgInitiateTokenDeposit.Proto | MsgFinalizeTokenWithdrawal.Proto | MsgUpdateProposer.Proto | MsgUpdateChallengers.Proto | MsgUpdateBatchInfo.Proto | MsgUpdateOracleConfig.Proto | MsgUpdateMetadata.Proto | MsgUpdateOphostParams.Proto; | ||
type Amino = MsgRecordBatch.Amino | MsgCreateBridge.Amino | MsgProposeOutput.Amino | MsgDeleteOutput.Amino | MsgInitiateTokenDeposit.Amino | MsgFinalizeTokenWithdrawal.Amino | MsgUpdateProposer.Amino | MsgUpdateChallenger.Amino | MsgUpdateBatchInfo.Amino | MsgUpdateOracleConfig.Amino | MsgUpdateMetadata.Amino | MsgUpdateOphostParams.Amino; | ||
type Data = MsgRecordBatch.Data | MsgCreateBridge.Data | MsgProposeOutput.Data | MsgDeleteOutput.Data | MsgInitiateTokenDeposit.Data | MsgFinalizeTokenWithdrawal.Data | MsgUpdateProposer.Data | MsgUpdateChallenger.Data | MsgUpdateBatchInfo.Data | MsgUpdateOracleConfig.Data | MsgUpdateMetadata.Data | MsgUpdateOphostParams.Data; | ||
type Proto = MsgRecordBatch.Proto | MsgCreateBridge.Proto | MsgProposeOutput.Proto | MsgDeleteOutput.Proto | MsgInitiateTokenDeposit.Proto | MsgFinalizeTokenWithdrawal.Proto | MsgUpdateProposer.Proto | MsgUpdateChallenger.Proto | MsgUpdateBatchInfo.Proto | MsgUpdateOracleConfig.Proto | MsgUpdateMetadata.Proto | MsgUpdateOphostParams.Proto; | ||
} |
import { JSONSerializable } from '../../util/json'; | ||
import { CurrencyPair as CurrencyPair_pb } from '@initia/initia.proto/slinky/types/v1/currency_pair'; | ||
import { CurrencyPair as CurrencyPair_pb } from '@initia/initia.proto/connect/types/v2/currency_pair'; | ||
export declare class CurrencyPair extends JSONSerializable<CurrencyPair.Amino, CurrencyPair.Data, CurrencyPair.Proto> { | ||
@@ -4,0 +4,0 @@ Base: string; |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgAddCurrencyPairs as MsgAddCurrencyPairs_pb } from '@initia/initia.proto/slinky/oracle/v1/tx'; | ||
import { MsgAddCurrencyPairs as MsgAddCurrencyPairs_pb } from '@initia/initia.proto/connect/oracle/v2/tx'; | ||
import { CurrencyPair } from '../CurrencyPair'; | ||
@@ -21,3 +21,3 @@ export declare class MsgAddCurrencyPairs extends JSONSerializable<MsgAddCurrencyPairs.Amino, MsgAddCurrencyPairs.Data, MsgAddCurrencyPairs.Proto> { | ||
interface Amino { | ||
type: 'slinky/x/oracle/MsgAddCurrencyPairs'; | ||
type: 'connect/x/oracle/MsgAddCurrencyPairs'; | ||
value: { | ||
@@ -29,3 +29,3 @@ authority: AccAddress; | ||
interface Data { | ||
'@type': '/slinky.oracle.v1.MsgAddCurrencyPairs'; | ||
'@type': '/connect.oracle.v2.MsgAddCurrencyPairs'; | ||
authority: AccAddress; | ||
@@ -32,0 +32,0 @@ currency_pairs: CurrencyPair.Data[]; |
import { JSONSerializable } from '../../../util/json'; | ||
import { AccAddress } from '../../bech32'; | ||
import { Any } from '@initia/initia.proto/google/protobuf/any'; | ||
import { MsgRemoveCurrencyPairs as MsgRemoveCurrencyPairs_pb } from '@initia/initia.proto/slinky/oracle/v1/tx'; | ||
import { MsgRemoveCurrencyPairs as MsgRemoveCurrencyPairs_pb } from '@initia/initia.proto/connect/oracle/v2/tx'; | ||
export declare class MsgRemoveCurrencyPairs extends JSONSerializable<MsgRemoveCurrencyPairs.Amino, MsgRemoveCurrencyPairs.Data, MsgRemoveCurrencyPairs.Proto> { | ||
@@ -20,3 +20,3 @@ authority: AccAddress; | ||
interface Amino { | ||
type: 'slinky/x/oracle/MsgSetCurrencyPairs'; | ||
type: 'connect/x/oracle/MsgRemoveCurrencyPairs'; | ||
value: { | ||
@@ -28,3 +28,3 @@ authority: AccAddress; | ||
interface Data { | ||
'@type': '/slinky.oracle.v1.MsgRemoveCurrencyPairs'; | ||
'@type': '/connect.oracle.v2.MsgRemoveCurrencyPairs'; | ||
authority: AccAddress; | ||
@@ -31,0 +31,0 @@ currency_pair_ids: string[]; |
import { JSONSerializable } from '../../util/json'; | ||
import { QuotePrice as QuotePrice_pb } from '@initia/initia.proto/slinky/oracle/v1/genesis'; | ||
import { QuotePrice as QuotePrice_pb } from '@initia/initia.proto/connect/oracle/v2/genesis'; | ||
export declare class QuotePrice extends JSONSerializable<QuotePrice.Amino, QuotePrice.Data, QuotePrice.Proto> { | ||
@@ -4,0 +4,0 @@ price: string; |
{ | ||
"name": "@initia/initia.js", | ||
"version": "0.2.16", | ||
"version": "0.2.17", | ||
"description": "The JavaScript SDK for Initia", | ||
@@ -60,5 +60,5 @@ "license": "Apache-2.0", | ||
"typescript-eslint": "^7.13.1", | ||
"vite": "^5.4.3", | ||
"vite-plugin-dts": "^4.2.1", | ||
"webpack": "^5.74.0", | ||
"vite": "^5.4.8", | ||
"vite-plugin-dts": "^4.2.3", | ||
"webpack": "^5.94.0", | ||
"webpack-bundle-analyzer": "^4.6.1", | ||
@@ -68,4 +68,4 @@ "webpack-cli": "^4.10.0" | ||
"dependencies": { | ||
"@initia/initia.proto": "^0.2.2", | ||
"@initia/opinit.proto": "^0.0.9", | ||
"@initia/initia.proto": "^0.2.3", | ||
"@initia/opinit.proto": "^0.0.10", | ||
"@ledgerhq/hw-transport": "^6.27.12", | ||
@@ -72,0 +72,0 @@ "@ledgerhq/hw-transport-webhid": "^6.27.12", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1800342
460
43377
0
+ Added@initia/opinit.proto@0.0.10(transitive)
- Removed@initia/opinit.proto@0.0.9(transitive)
Updated@initia/initia.proto@^0.2.3
Updated@initia/opinit.proto@^0.0.10