@initia/initia.js 0.2.20 → 0.2.21
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/dist/core/ibc/core/client/index.d.ts +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1307 -1300
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -34,7 +34,7 @@ import { AccessType as dd, accessTypeFromJSON as qn, accessTypeToJSON as zn, Acc
|
|
|
34
34
|
import { MsgStoreCode as va, MsgInstantiateContract as ba, MsgInstantiateContract2 as wa, MsgExecuteContract as Pa, MsgMigrateContract as Aa, MsgUpdateAdmin as Da, MsgClearAdmin as ka, MsgUpdateInstantiateConfig as xa, MsgUpdateParams as Ma, MsgSudoContract as Sa, MsgPinCodes as Ia, MsgUnpinCodes as Na, MsgStoreAndInstantiateContract as Ua, MsgStoreAndMigrateContract as Ca, MsgAddCodeUploadParamsAddresses as $a, MsgRemoveCodeUploadParamsAddresses as Ea, MsgUpdateContractLabel as Ba } from "@initia/initia.proto/cosmwasm/wasm/v1/tx";
|
|
35
35
|
import { Allocation as gd, TransferAuthorization as Oa } from "@initia/initia.proto/ibc/applications/transfer/v1/authz";
|
|
36
36
|
import { MsgTransfer as Ta, MsgUpdateParams as Ra } from "@initia/initia.proto/ibc/applications/transfer/v1/tx";
|
|
37
|
-
import { Height as _d,
|
|
37
|
+
import { Height as _d, Params as yd, ConsensusStateWithHeight as vd, ClientConsensusStates as bd, IdentifiedClientState as wd } from "@initia/initia.proto/ibc/core/client/v1/client";
|
|
38
38
|
import { Params as Pd, DenomTrace as Ad } from "@initia/initia.proto/ibc/applications/transfer/v1/transfer";
|
|
39
39
|
import { FungibleTokenPacketData as Dd } from "@initia/initia.proto/ibc/applications/transfer/v2/packet";
|
|
40
40
|
import { MsgGrant as Fa, MsgRevoke as La, MsgExec as qa } from "@initia/initia.proto/cosmos/authz/v1beta1/tx";
|
|
@@ -79,12 +79,12 @@ import { Params as Dl, ClassTrace as kl } from "@initia/initia.proto/ibc/applica
|
|
|
79
79
|
import { NonFungibleTokenPacketData as xl } from "@initia/initia.proto/ibc/applications/nft_transfer/v1/packet";
|
|
80
80
|
import { MsgUpdateAdmin as Yi, MsgUpdatePermissionedRelayers as Zi } from "@initia/initia.proto/ibc/applications/perm/v1/tx";
|
|
81
81
|
import { MsgChannelOpenInit as Xi, MsgChannelOpenTry as tc, MsgChannelOpenConfirm as ec, MsgChannelOpenAck as rc, MsgChannelCloseInit as oc, MsgChannelCloseConfirm as sc, MsgRecvPacket as nc, MsgAcknowledgement as ac, MsgTimeout as ic, MsgTimeoutOnClose as cc, MsgUpdateParams as mc } from "@initia/initia.proto/ibc/core/channel/v1/tx";
|
|
82
|
-
import { MerklePrefix as Ml, MerkleRoot as Sl } from "@initia/initia.proto/ibc/core/commitment/v1/commitment";
|
|
83
|
-
import { Counterparty as Il, Version as Nl, stateFromJSON as su, stateToJSON as nu, IdentifiedConnection as Ul, Params as Cl } from "@initia/initia.proto/ibc/core/connection/v1/connection";
|
|
84
|
-
import { State as Og, stateFromJSON as Tg, stateToJSON as Rg } from "@initia/initia.proto/ibc/core/connection/v1/connection";
|
|
85
82
|
import { MsgCreateClient as uc, MsgUpdateClient as dc, MsgUpgradeClient as lc, MsgSubmitMisbehaviour as pc, MsgRecoverClient as hc, MsgIBCSoftwareUpgrade as fc, MsgUpdateParams as gc } from "@initia/initia.proto/ibc/core/client/v1/tx";
|
|
86
|
-
import { Plan as
|
|
83
|
+
import { Plan as Ml } from "@initia/initia.proto/cosmos/upgrade/v1beta1/upgrade";
|
|
87
84
|
import { MsgSoftwareUpgrade as _c, MsgCancelUpgrade as yc } from "@initia/initia.proto/cosmos/upgrade/v1beta1/tx";
|
|
85
|
+
import { MerklePrefix as Sl, MerkleRoot as Il } from "@initia/initia.proto/ibc/core/commitment/v1/commitment";
|
|
86
|
+
import { Counterparty as Nl, Version as Ul, stateFromJSON as su, stateToJSON as nu, IdentifiedConnection as Cl, Params as $l } from "@initia/initia.proto/ibc/core/connection/v1/connection";
|
|
87
|
+
import { State as Og, stateFromJSON as Tg, stateToJSON as Rg } from "@initia/initia.proto/ibc/core/connection/v1/connection";
|
|
88
88
|
import { MsgConnectionOpenInit as vc, MsgConnectionOpenTry as bc, MsgConnectionOpenConfirm as wc, MsgConnectionOpenAck as Pc, MsgUpdateParams as Ac } from "@initia/initia.proto/ibc/core/connection/v1/tx";
|
|
89
89
|
import { MsgRegisterAccount as Dc, MsgSubmitTx as kc } from "@initia/initia.proto/initia/intertx/v1/tx";
|
|
90
90
|
import { MsgCreateMarkets as xc, MsgUpdateMarkets as Mc, MsgUpsertMarkets as Sc, MsgRemoveMarketAuthorities as Ic, MsgParams as Nc } from "@initia/initia.proto/connect/marketmap/v2/tx";
|
|
@@ -13564,441 +13564,486 @@ class Rs extends m {
|
|
|
13564
13564
|
);
|
|
13565
13565
|
}
|
|
13566
13566
|
}
|
|
13567
|
-
class
|
|
13567
|
+
class Fs extends m {
|
|
13568
13568
|
/**
|
|
13569
|
-
* @param
|
|
13570
|
-
* @param consensus_state consensus state
|
|
13569
|
+
* @param client_state light client state
|
|
13570
|
+
* @param consensus_state consensus state associated with the client that corresponds to a given
|
|
13571
|
+
* @param signer signer address
|
|
13571
13572
|
*/
|
|
13572
|
-
constructor(e, r) {
|
|
13573
|
+
constructor(e, r, o) {
|
|
13573
13574
|
super();
|
|
13574
|
-
p(this, "
|
|
13575
|
+
p(this, "client_state");
|
|
13575
13576
|
p(this, "consensus_state");
|
|
13576
|
-
this
|
|
13577
|
+
p(this, "signer");
|
|
13578
|
+
this.client_state = e, this.consensus_state = r, this.signer = o;
|
|
13577
13579
|
}
|
|
13578
13580
|
static fromAmino(e) {
|
|
13579
|
-
|
|
13580
|
-
return new gs(
|
|
13581
|
-
r ? w.fromAmino(r) : void 0,
|
|
13582
|
-
o
|
|
13583
|
-
);
|
|
13581
|
+
throw new Error("Amino not supported");
|
|
13584
13582
|
}
|
|
13585
13583
|
toAmino() {
|
|
13586
|
-
|
|
13587
|
-
return {
|
|
13588
|
-
height: e == null ? void 0 : e.toAmino(),
|
|
13589
|
-
consensus_state: r
|
|
13590
|
-
};
|
|
13584
|
+
throw new Error("Amino not supported");
|
|
13591
13585
|
}
|
|
13592
13586
|
static fromData(e) {
|
|
13593
|
-
const {
|
|
13594
|
-
return new
|
|
13595
|
-
r ? w.fromData(r) : void 0,
|
|
13596
|
-
o
|
|
13597
|
-
);
|
|
13587
|
+
const { client_state: r, consensus_state: o, signer: s } = e;
|
|
13588
|
+
return new Fs(r, o, s);
|
|
13598
13589
|
}
|
|
13599
13590
|
toData() {
|
|
13600
|
-
const {
|
|
13591
|
+
const { client_state: e, consensus_state: r, signer: o } = this;
|
|
13601
13592
|
return {
|
|
13602
|
-
|
|
13603
|
-
|
|
13593
|
+
"@type": "/ibc.core.client.v1.MsgCreateClient",
|
|
13594
|
+
client_state: e,
|
|
13595
|
+
consensus_state: r,
|
|
13596
|
+
signer: o
|
|
13604
13597
|
};
|
|
13605
13598
|
}
|
|
13606
13599
|
static fromProto(e) {
|
|
13607
|
-
return new
|
|
13608
|
-
e.
|
|
13609
|
-
e.consensusState
|
|
13600
|
+
return new Fs(
|
|
13601
|
+
e.clientState,
|
|
13602
|
+
e.consensusState,
|
|
13603
|
+
e.signer
|
|
13610
13604
|
);
|
|
13611
13605
|
}
|
|
13612
13606
|
toProto() {
|
|
13613
|
-
const {
|
|
13614
|
-
return
|
|
13615
|
-
|
|
13616
|
-
consensusState: r
|
|
13607
|
+
const { client_state: e, consensus_state: r, signer: o } = this;
|
|
13608
|
+
return uc.fromPartial({
|
|
13609
|
+
clientState: e,
|
|
13610
|
+
consensusState: r,
|
|
13611
|
+
signer: o
|
|
13612
|
+
});
|
|
13613
|
+
}
|
|
13614
|
+
packAny() {
|
|
13615
|
+
return l.fromPartial({
|
|
13616
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
13617
|
+
value: uc.encode(this.toProto()).finish()
|
|
13617
13618
|
});
|
|
13618
13619
|
}
|
|
13620
|
+
static unpackAny(e) {
|
|
13621
|
+
return Fs.fromProto(uc.decode(e.value));
|
|
13622
|
+
}
|
|
13619
13623
|
}
|
|
13620
|
-
class
|
|
13624
|
+
class Ls extends m {
|
|
13621
13625
|
/**
|
|
13622
|
-
* @param client_id client identifier
|
|
13623
|
-
* @param
|
|
13626
|
+
* @param client_id client unique identifier
|
|
13627
|
+
* @param client_message client message to update the light client
|
|
13628
|
+
* @param signer signer address
|
|
13624
13629
|
*/
|
|
13625
|
-
constructor(t, e) {
|
|
13626
|
-
super(), this.client_id = t, this.
|
|
13630
|
+
constructor(t, e, r) {
|
|
13631
|
+
super(), this.client_id = t, this.client_message = e, this.signer = r;
|
|
13627
13632
|
}
|
|
13628
13633
|
static fromAmino(t) {
|
|
13629
|
-
|
|
13630
|
-
return new Rn(
|
|
13631
|
-
e,
|
|
13632
|
-
r.map((o) => gs.fromAmino(o))
|
|
13633
|
-
);
|
|
13634
|
+
throw new Error("Amino not supported");
|
|
13634
13635
|
}
|
|
13635
13636
|
toAmino() {
|
|
13636
|
-
|
|
13637
|
-
return {
|
|
13638
|
-
client_id: t,
|
|
13639
|
-
consensus_states: e.map((o) => o.toAmino())
|
|
13640
|
-
};
|
|
13637
|
+
throw new Error("Amino not supported");
|
|
13641
13638
|
}
|
|
13642
13639
|
static fromData(t) {
|
|
13643
|
-
const { client_id: e,
|
|
13644
|
-
return new
|
|
13645
|
-
e,
|
|
13646
|
-
r.map((o) => gs.fromData(o))
|
|
13647
|
-
);
|
|
13640
|
+
const { client_id: e, client_message: r, signer: o } = t;
|
|
13641
|
+
return new Ls(e, r, o);
|
|
13648
13642
|
}
|
|
13649
13643
|
toData() {
|
|
13650
|
-
const { client_id: t,
|
|
13644
|
+
const { client_id: t, client_message: e, signer: r } = this;
|
|
13651
13645
|
return {
|
|
13646
|
+
"@type": "/ibc.core.client.v1.MsgUpdateClient",
|
|
13652
13647
|
client_id: t,
|
|
13653
|
-
|
|
13648
|
+
client_message: e,
|
|
13649
|
+
signer: r
|
|
13654
13650
|
};
|
|
13655
13651
|
}
|
|
13656
13652
|
static fromProto(t) {
|
|
13657
|
-
return new
|
|
13653
|
+
return new Ls(
|
|
13658
13654
|
t.clientId,
|
|
13659
|
-
t.
|
|
13660
|
-
|
|
13661
|
-
)
|
|
13655
|
+
t.clientMessage,
|
|
13656
|
+
t.signer
|
|
13662
13657
|
);
|
|
13663
13658
|
}
|
|
13664
13659
|
toProto() {
|
|
13665
|
-
const { client_id: t,
|
|
13666
|
-
return
|
|
13660
|
+
const { client_id: t, client_message: e, signer: r } = this;
|
|
13661
|
+
return dc.fromPartial({
|
|
13667
13662
|
clientId: t,
|
|
13668
|
-
|
|
13663
|
+
clientMessage: e,
|
|
13664
|
+
signer: r
|
|
13665
|
+
});
|
|
13666
|
+
}
|
|
13667
|
+
packAny() {
|
|
13668
|
+
return l.fromPartial({
|
|
13669
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
13670
|
+
value: dc.encode(this.toProto()).finish()
|
|
13669
13671
|
});
|
|
13670
13672
|
}
|
|
13673
|
+
static unpackAny(t) {
|
|
13674
|
+
return Ls.fromProto(dc.decode(t.value));
|
|
13675
|
+
}
|
|
13671
13676
|
}
|
|
13672
|
-
class
|
|
13677
|
+
class qs extends m {
|
|
13673
13678
|
/**
|
|
13674
|
-
* @param client_id client identifier
|
|
13675
|
-
* @param client_state client state
|
|
13679
|
+
* @param client_id client unique identifier
|
|
13680
|
+
* @param client_state upgraded client state
|
|
13681
|
+
* @param consensus_state upgraded consensus state, only contains enough information to serve as a basis of trust in update logic
|
|
13682
|
+
* @param proof_upgrade_client proof that old chain committed to new client
|
|
13683
|
+
* @param proof_upgrade_consensus_state proof that old chain committed to new consensus state
|
|
13684
|
+
* @param signer signer address
|
|
13676
13685
|
*/
|
|
13677
|
-
constructor(t, e) {
|
|
13678
|
-
super(), this.client_id = t, this.client_state = e;
|
|
13686
|
+
constructor(t, e, r, o, s, n) {
|
|
13687
|
+
super(), this.client_id = t, this.client_state = e, this.consensus_state = r, this.proof_upgrade_client = o, this.proof_upgrade_consensus_state = s, this.signer = n;
|
|
13679
13688
|
}
|
|
13680
13689
|
static fromAmino(t) {
|
|
13681
|
-
|
|
13682
|
-
return new Dn(e, r);
|
|
13690
|
+
throw new Error("Amino not supported");
|
|
13683
13691
|
}
|
|
13684
13692
|
toAmino() {
|
|
13685
|
-
|
|
13686
|
-
return {
|
|
13687
|
-
client_id: t,
|
|
13688
|
-
client_state: e
|
|
13689
|
-
};
|
|
13693
|
+
throw new Error("Amino not supported");
|
|
13690
13694
|
}
|
|
13691
13695
|
static fromData(t) {
|
|
13692
|
-
const {
|
|
13693
|
-
|
|
13696
|
+
const {
|
|
13697
|
+
client_id: e,
|
|
13698
|
+
client_state: r,
|
|
13699
|
+
consensus_state: o,
|
|
13700
|
+
proof_upgrade_client: s,
|
|
13701
|
+
proof_upgrade_consensus_state: n,
|
|
13702
|
+
signer: a
|
|
13703
|
+
} = t;
|
|
13704
|
+
return new qs(
|
|
13705
|
+
e,
|
|
13706
|
+
r,
|
|
13707
|
+
o,
|
|
13708
|
+
s,
|
|
13709
|
+
n,
|
|
13710
|
+
a
|
|
13711
|
+
);
|
|
13694
13712
|
}
|
|
13695
13713
|
toData() {
|
|
13696
|
-
const {
|
|
13714
|
+
const {
|
|
13715
|
+
client_id: t,
|
|
13716
|
+
client_state: e,
|
|
13717
|
+
consensus_state: r,
|
|
13718
|
+
proof_upgrade_client: o,
|
|
13719
|
+
proof_upgrade_consensus_state: s,
|
|
13720
|
+
signer: n
|
|
13721
|
+
} = this;
|
|
13697
13722
|
return {
|
|
13723
|
+
"@type": "/ibc.core.client.v1.MsgUpgradeClient",
|
|
13698
13724
|
client_id: t,
|
|
13699
|
-
client_state: e
|
|
13725
|
+
client_state: e,
|
|
13726
|
+
consensus_state: r,
|
|
13727
|
+
proof_upgrade_client: o,
|
|
13728
|
+
proof_upgrade_consensus_state: s,
|
|
13729
|
+
signer: n
|
|
13700
13730
|
};
|
|
13701
13731
|
}
|
|
13702
13732
|
static fromProto(t) {
|
|
13703
|
-
return new
|
|
13733
|
+
return new qs(
|
|
13734
|
+
t.clientId,
|
|
13735
|
+
t.clientState,
|
|
13736
|
+
t.consensusState,
|
|
13737
|
+
Buffer.from(t.proofUpgradeClient).toString("base64"),
|
|
13738
|
+
Buffer.from(t.proofUpgradeConsensusState).toString("base64"),
|
|
13739
|
+
t.signer
|
|
13740
|
+
);
|
|
13704
13741
|
}
|
|
13705
13742
|
toProto() {
|
|
13706
|
-
const {
|
|
13707
|
-
|
|
13743
|
+
const {
|
|
13744
|
+
client_id: t,
|
|
13745
|
+
client_state: e,
|
|
13746
|
+
consensus_state: r,
|
|
13747
|
+
proof_upgrade_client: o,
|
|
13748
|
+
proof_upgrade_consensus_state: s,
|
|
13749
|
+
signer: n
|
|
13750
|
+
} = this;
|
|
13751
|
+
return lc.fromPartial({
|
|
13708
13752
|
clientId: t,
|
|
13709
|
-
clientState: e
|
|
13753
|
+
clientState: e,
|
|
13754
|
+
consensusState: r,
|
|
13755
|
+
proofUpgradeClient: Buffer.from(o, "base64"),
|
|
13756
|
+
proofUpgradeConsensusState: Buffer.from(
|
|
13757
|
+
s,
|
|
13758
|
+
"base64"
|
|
13759
|
+
),
|
|
13760
|
+
signer: n
|
|
13761
|
+
});
|
|
13762
|
+
}
|
|
13763
|
+
packAny() {
|
|
13764
|
+
return l.fromPartial({
|
|
13765
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
13766
|
+
value: lc.encode(this.toProto()).finish()
|
|
13710
13767
|
});
|
|
13711
13768
|
}
|
|
13769
|
+
static unpackAny(t) {
|
|
13770
|
+
return qs.fromProto(lc.decode(t.value));
|
|
13771
|
+
}
|
|
13712
13772
|
}
|
|
13713
|
-
class
|
|
13773
|
+
class zs extends m {
|
|
13714
13774
|
/**
|
|
13715
|
-
* @param
|
|
13775
|
+
* @param client_id client unique identifier
|
|
13776
|
+
* @param misbehaviour misbehaviour used for freezing the light client
|
|
13777
|
+
* @param signer signer address
|
|
13716
13778
|
*/
|
|
13717
|
-
constructor(t) {
|
|
13718
|
-
super(), this.
|
|
13779
|
+
constructor(t, e, r) {
|
|
13780
|
+
super(), this.client_id = t, this.misbehaviour = e, this.signer = r;
|
|
13719
13781
|
}
|
|
13720
13782
|
static fromAmino(t) {
|
|
13721
|
-
|
|
13722
|
-
return new _s(e);
|
|
13783
|
+
throw new Error("Amino not supported");
|
|
13723
13784
|
}
|
|
13724
13785
|
toAmino() {
|
|
13725
|
-
|
|
13726
|
-
return {
|
|
13727
|
-
allowed_clients: t
|
|
13728
|
-
};
|
|
13786
|
+
throw new Error("Amino not supported");
|
|
13729
13787
|
}
|
|
13730
13788
|
static fromData(t) {
|
|
13731
|
-
const {
|
|
13732
|
-
return new
|
|
13789
|
+
const { client_id: e, misbehaviour: r, signer: o } = t;
|
|
13790
|
+
return new zs(e, r, o);
|
|
13733
13791
|
}
|
|
13734
13792
|
toData() {
|
|
13735
|
-
const {
|
|
13793
|
+
const { client_id: t, misbehaviour: e, signer: r } = this;
|
|
13736
13794
|
return {
|
|
13737
|
-
|
|
13795
|
+
"@type": "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
13796
|
+
client_id: t,
|
|
13797
|
+
misbehaviour: e,
|
|
13798
|
+
signer: r
|
|
13738
13799
|
};
|
|
13739
13800
|
}
|
|
13740
13801
|
static fromProto(t) {
|
|
13741
|
-
return new
|
|
13802
|
+
return new zs(
|
|
13803
|
+
t.clientId,
|
|
13804
|
+
t.misbehaviour,
|
|
13805
|
+
t.signer
|
|
13806
|
+
);
|
|
13742
13807
|
}
|
|
13743
13808
|
toProto() {
|
|
13744
|
-
const {
|
|
13745
|
-
return
|
|
13746
|
-
|
|
13809
|
+
const { client_id: t, misbehaviour: e, signer: r } = this;
|
|
13810
|
+
return pc.fromPartial({
|
|
13811
|
+
clientId: t,
|
|
13812
|
+
misbehaviour: e,
|
|
13813
|
+
signer: r
|
|
13747
13814
|
});
|
|
13748
13815
|
}
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13816
|
+
packAny() {
|
|
13817
|
+
return l.fromPartial({
|
|
13818
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
13819
|
+
value: pc.encode(this.toProto()).finish()
|
|
13820
|
+
});
|
|
13821
|
+
}
|
|
13822
|
+
static unpackAny(t) {
|
|
13823
|
+
return zs.fromProto(
|
|
13824
|
+
pc.decode(t.value)
|
|
13825
|
+
);
|
|
13826
|
+
}
|
|
13827
|
+
}
|
|
13828
|
+
class Ks extends m {
|
|
13829
|
+
/**
|
|
13830
|
+
* @param subject_client_id the client identifier to be updated if the proposal passes
|
|
13831
|
+
* @param substitute_client_id the substitute client identifier which will replace the subject client
|
|
13832
|
+
* @param signer signer address
|
|
13833
|
+
*/
|
|
13834
|
+
constructor(t, e, r) {
|
|
13835
|
+
super(), this.subject_client_id = t, this.substitute_client_id = e, this.signer = r;
|
|
13757
13836
|
}
|
|
13758
13837
|
static fromAmino(t) {
|
|
13759
|
-
|
|
13760
|
-
return new ys(w.fromAmino(e), Number.parseInt(r));
|
|
13838
|
+
throw new Error("Amino not supported");
|
|
13761
13839
|
}
|
|
13762
13840
|
toAmino() {
|
|
13763
|
-
|
|
13764
|
-
return {
|
|
13765
|
-
height: t.toAmino(),
|
|
13766
|
-
timestamp: e.toString()
|
|
13767
|
-
};
|
|
13841
|
+
throw new Error("Amino not supported");
|
|
13768
13842
|
}
|
|
13769
13843
|
static fromData(t) {
|
|
13770
|
-
const {
|
|
13771
|
-
return new
|
|
13844
|
+
const { subject_client_id: e, substitute_client_id: r, signer: o } = t;
|
|
13845
|
+
return new Ks(e, r, o);
|
|
13772
13846
|
}
|
|
13773
13847
|
toData() {
|
|
13774
|
-
const {
|
|
13848
|
+
const { subject_client_id: t, substitute_client_id: e, signer: r } = this;
|
|
13775
13849
|
return {
|
|
13776
|
-
|
|
13777
|
-
|
|
13850
|
+
"@type": "/ibc.core.client.v1.MsgRecoverClient",
|
|
13851
|
+
subject_client_id: t,
|
|
13852
|
+
substitute_client_id: e,
|
|
13853
|
+
signer: r
|
|
13778
13854
|
};
|
|
13779
13855
|
}
|
|
13780
13856
|
static fromProto(t) {
|
|
13781
|
-
return new
|
|
13782
|
-
|
|
13783
|
-
t.
|
|
13857
|
+
return new Ks(
|
|
13858
|
+
t.subjectClientId,
|
|
13859
|
+
t.substituteClientId,
|
|
13860
|
+
t.signer
|
|
13784
13861
|
);
|
|
13785
13862
|
}
|
|
13786
13863
|
toProto() {
|
|
13787
|
-
const {
|
|
13788
|
-
return
|
|
13789
|
-
|
|
13790
|
-
|
|
13864
|
+
const { subject_client_id: t, substitute_client_id: e, signer: r } = this;
|
|
13865
|
+
return hc.fromPartial({
|
|
13866
|
+
subjectClientId: t,
|
|
13867
|
+
substituteClientId: e,
|
|
13868
|
+
signer: r
|
|
13791
13869
|
});
|
|
13792
13870
|
}
|
|
13871
|
+
packAny() {
|
|
13872
|
+
return l.fromPartial({
|
|
13873
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
13874
|
+
value: hc.encode(this.toProto()).finish()
|
|
13875
|
+
});
|
|
13876
|
+
}
|
|
13877
|
+
static unpackAny(t) {
|
|
13878
|
+
return Ks.fromProto(hc.decode(t.value));
|
|
13879
|
+
}
|
|
13793
13880
|
}
|
|
13794
|
-
class
|
|
13881
|
+
class St extends m {
|
|
13795
13882
|
/**
|
|
13796
|
-
* @param
|
|
13883
|
+
* @param name the name for the upgrade
|
|
13884
|
+
* @param height the height at which the upgrade must be performed
|
|
13885
|
+
* @param info any application specific upgrade info to be included on-chain
|
|
13797
13886
|
*/
|
|
13798
|
-
constructor(t) {
|
|
13799
|
-
super(), this.
|
|
13887
|
+
constructor(t, e, r) {
|
|
13888
|
+
super(), this.name = t, this.height = e, this.info = r;
|
|
13800
13889
|
}
|
|
13801
13890
|
static fromAmino(t) {
|
|
13802
|
-
|
|
13891
|
+
const { name: e, height: r, info: o } = t;
|
|
13892
|
+
return new St(e, Number.parseInt(r), o);
|
|
13803
13893
|
}
|
|
13804
13894
|
toAmino() {
|
|
13895
|
+
const { name: t, height: e, info: r } = this;
|
|
13805
13896
|
return {
|
|
13806
|
-
|
|
13897
|
+
name: t,
|
|
13898
|
+
height: e.toString(),
|
|
13899
|
+
info: r
|
|
13807
13900
|
};
|
|
13808
13901
|
}
|
|
13809
13902
|
static fromData(t) {
|
|
13810
|
-
|
|
13903
|
+
const { name: e, height: r, info: o } = t;
|
|
13904
|
+
return new St(e, Number.parseInt(r), o);
|
|
13811
13905
|
}
|
|
13812
13906
|
toData() {
|
|
13907
|
+
const { name: t, height: e, info: r } = this;
|
|
13813
13908
|
return {
|
|
13814
|
-
|
|
13909
|
+
name: t,
|
|
13910
|
+
height: e.toString(),
|
|
13911
|
+
info: r
|
|
13815
13912
|
};
|
|
13816
13913
|
}
|
|
13817
13914
|
static fromProto(t) {
|
|
13818
|
-
return new
|
|
13819
|
-
ys.fromProto(t.upgradeTimeout)
|
|
13820
|
-
);
|
|
13915
|
+
return new St(t.name, t.height.toNumber(), t.info);
|
|
13821
13916
|
}
|
|
13822
13917
|
toProto() {
|
|
13823
|
-
|
|
13824
|
-
|
|
13918
|
+
const { name: t, height: e, info: r } = this;
|
|
13919
|
+
return Ml.fromPartial({
|
|
13920
|
+
name: t,
|
|
13921
|
+
height: f.fromNumber(e),
|
|
13922
|
+
info: r
|
|
13825
13923
|
});
|
|
13826
13924
|
}
|
|
13827
13925
|
}
|
|
13828
|
-
class
|
|
13926
|
+
class xr extends m {
|
|
13829
13927
|
/**
|
|
13830
|
-
*
|
|
13831
|
-
* @param
|
|
13928
|
+
*
|
|
13929
|
+
* @param authority the address that controls the module
|
|
13930
|
+
* @param plan the upgrade plan
|
|
13832
13931
|
*/
|
|
13833
|
-
constructor(t, e
|
|
13834
|
-
super(), this.
|
|
13932
|
+
constructor(t, e) {
|
|
13933
|
+
super(), this.authority = t, this.plan = e;
|
|
13835
13934
|
}
|
|
13836
13935
|
static fromAmino(t) {
|
|
13837
13936
|
const {
|
|
13838
|
-
|
|
13839
|
-
source_port: r,
|
|
13840
|
-
source_channel: o,
|
|
13841
|
-
destination_port: s,
|
|
13842
|
-
destination_channel: n,
|
|
13843
|
-
data: a,
|
|
13844
|
-
timeout_height: c,
|
|
13845
|
-
timeout_timestamp: d
|
|
13937
|
+
value: { authority: e, plan: r }
|
|
13846
13938
|
} = t;
|
|
13847
|
-
return new
|
|
13848
|
-
e,
|
|
13849
|
-
r,
|
|
13850
|
-
o,
|
|
13851
|
-
s,
|
|
13852
|
-
n,
|
|
13853
|
-
a,
|
|
13854
|
-
c ? w.fromAmino(c) : void 0,
|
|
13855
|
-
d
|
|
13856
|
-
);
|
|
13939
|
+
return new xr(e, St.fromAmino(r));
|
|
13857
13940
|
}
|
|
13858
13941
|
toAmino() {
|
|
13859
|
-
const {
|
|
13860
|
-
sequence: t,
|
|
13861
|
-
source_port: e,
|
|
13862
|
-
source_channel: r,
|
|
13863
|
-
destination_port: o,
|
|
13864
|
-
destination_channel: s,
|
|
13865
|
-
data: n,
|
|
13866
|
-
timeout_height: a,
|
|
13867
|
-
timeout_timestamp: c
|
|
13868
|
-
} = this;
|
|
13942
|
+
const { authority: t, plan: e } = this;
|
|
13869
13943
|
return {
|
|
13870
|
-
|
|
13871
|
-
|
|
13872
|
-
|
|
13873
|
-
|
|
13874
|
-
|
|
13875
|
-
data: n,
|
|
13876
|
-
timeout_height: a == null ? void 0 : a.toAmino(),
|
|
13877
|
-
timeout_timestamp: c
|
|
13944
|
+
type: "cosmos-sdk/MsgSoftwareUpgrade",
|
|
13945
|
+
value: {
|
|
13946
|
+
authority: t,
|
|
13947
|
+
plan: e.toAmino()
|
|
13948
|
+
}
|
|
13878
13949
|
};
|
|
13879
13950
|
}
|
|
13880
13951
|
static fromData(t) {
|
|
13881
|
-
const {
|
|
13882
|
-
|
|
13883
|
-
source_port: r,
|
|
13884
|
-
source_channel: o,
|
|
13885
|
-
destination_port: s,
|
|
13886
|
-
destination_channel: n,
|
|
13887
|
-
data: a,
|
|
13888
|
-
timeout_height: c,
|
|
13889
|
-
timeout_timestamp: d
|
|
13890
|
-
} = t;
|
|
13891
|
-
return new tt(
|
|
13892
|
-
e,
|
|
13893
|
-
r,
|
|
13894
|
-
o,
|
|
13895
|
-
s,
|
|
13896
|
-
n,
|
|
13897
|
-
a,
|
|
13898
|
-
c ? w.fromData(c) : void 0,
|
|
13899
|
-
d
|
|
13900
|
-
);
|
|
13952
|
+
const { authority: e, plan: r } = t;
|
|
13953
|
+
return new xr(e, St.fromData(r));
|
|
13901
13954
|
}
|
|
13902
13955
|
toData() {
|
|
13903
|
-
const {
|
|
13904
|
-
sequence: t,
|
|
13905
|
-
source_port: e,
|
|
13906
|
-
source_channel: r,
|
|
13907
|
-
destination_port: o,
|
|
13908
|
-
destination_channel: s,
|
|
13909
|
-
data: n,
|
|
13910
|
-
timeout_height: a,
|
|
13911
|
-
timeout_timestamp: c
|
|
13912
|
-
} = this;
|
|
13956
|
+
const { authority: t, plan: e } = this;
|
|
13913
13957
|
return {
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
destination_port: o,
|
|
13918
|
-
destination_channel: s,
|
|
13919
|
-
data: n,
|
|
13920
|
-
timeout_height: a == null ? void 0 : a.toData(),
|
|
13921
|
-
timeout_timestamp: c
|
|
13958
|
+
"@type": "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
13959
|
+
authority: t,
|
|
13960
|
+
plan: e.toData()
|
|
13922
13961
|
};
|
|
13923
13962
|
}
|
|
13924
13963
|
static fromProto(t) {
|
|
13925
|
-
return new
|
|
13926
|
-
t.
|
|
13927
|
-
t.
|
|
13928
|
-
t.sourceChannel,
|
|
13929
|
-
t.destinationPort,
|
|
13930
|
-
t.destinationChannel,
|
|
13931
|
-
Buffer.from(t.data).toString("base64"),
|
|
13932
|
-
t.timeoutHeight ? w.fromProto(t.timeoutHeight) : void 0,
|
|
13933
|
-
t.timeoutTimestamp.toString()
|
|
13964
|
+
return new xr(
|
|
13965
|
+
t.authority,
|
|
13966
|
+
St.fromProto(t.plan)
|
|
13934
13967
|
);
|
|
13935
13968
|
}
|
|
13936
13969
|
toProto() {
|
|
13937
|
-
const {
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13944
|
-
|
|
13945
|
-
|
|
13946
|
-
|
|
13947
|
-
return bl.fromPartial({
|
|
13948
|
-
sequence: f.fromNumber(t),
|
|
13949
|
-
sourcePort: e,
|
|
13950
|
-
sourceChannel: r,
|
|
13951
|
-
destinationPort: o,
|
|
13952
|
-
destinationChannel: s,
|
|
13953
|
-
data: Buffer.from(n, "base64"),
|
|
13954
|
-
timeoutHeight: a == null ? void 0 : a.toProto(),
|
|
13955
|
-
timeoutTimestamp: f.fromString(c)
|
|
13970
|
+
const { authority: t, plan: e } = this;
|
|
13971
|
+
return _c.fromPartial({
|
|
13972
|
+
authority: t,
|
|
13973
|
+
plan: e.toProto()
|
|
13974
|
+
});
|
|
13975
|
+
}
|
|
13976
|
+
packAny() {
|
|
13977
|
+
return l.fromPartial({
|
|
13978
|
+
typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
|
|
13979
|
+
value: _c.encode(this.toProto()).finish()
|
|
13956
13980
|
});
|
|
13957
13981
|
}
|
|
13982
|
+
static unpackAny(t) {
|
|
13983
|
+
return xr.fromProto(
|
|
13984
|
+
_c.decode(t.value)
|
|
13985
|
+
);
|
|
13986
|
+
}
|
|
13958
13987
|
}
|
|
13959
|
-
class
|
|
13988
|
+
class Mr extends m {
|
|
13960
13989
|
/**
|
|
13961
|
-
*
|
|
13990
|
+
*
|
|
13991
|
+
* @param authority the address that controls the module
|
|
13962
13992
|
*/
|
|
13963
13993
|
constructor(t) {
|
|
13964
|
-
super(), this.
|
|
13994
|
+
super(), this.authority = t;
|
|
13965
13995
|
}
|
|
13966
13996
|
static fromAmino(t) {
|
|
13967
|
-
const {
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
13997
|
+
const {
|
|
13998
|
+
value: { authority: e }
|
|
13999
|
+
} = t;
|
|
14000
|
+
return new Mr(e);
|
|
14001
|
+
}
|
|
14002
|
+
toAmino() {
|
|
14003
|
+
const { authority: t } = this;
|
|
13972
14004
|
return {
|
|
13973
|
-
|
|
14005
|
+
type: "cosmos-sdk/MsgCancelUpgrade",
|
|
14006
|
+
value: { authority: t }
|
|
13974
14007
|
};
|
|
13975
14008
|
}
|
|
13976
14009
|
static fromData(t) {
|
|
13977
|
-
const {
|
|
13978
|
-
return new
|
|
14010
|
+
const { authority: e } = t;
|
|
14011
|
+
return new Mr(e);
|
|
13979
14012
|
}
|
|
13980
14013
|
toData() {
|
|
13981
|
-
const {
|
|
14014
|
+
const { authority: t } = this;
|
|
13982
14015
|
return {
|
|
13983
|
-
|
|
14016
|
+
"@type": "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
14017
|
+
authority: t
|
|
13984
14018
|
};
|
|
13985
14019
|
}
|
|
13986
14020
|
static fromProto(t) {
|
|
13987
|
-
return new
|
|
14021
|
+
return new Mr(t.authority);
|
|
13988
14022
|
}
|
|
13989
14023
|
toProto() {
|
|
13990
|
-
const {
|
|
13991
|
-
return
|
|
13992
|
-
|
|
14024
|
+
const { authority: t } = this;
|
|
14025
|
+
return yc.fromPartial({
|
|
14026
|
+
authority: t
|
|
14027
|
+
});
|
|
14028
|
+
}
|
|
14029
|
+
packAny() {
|
|
14030
|
+
return l.fromPartial({
|
|
14031
|
+
typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
|
|
14032
|
+
value: yc.encode(this.toProto()).finish()
|
|
13993
14033
|
});
|
|
13994
14034
|
}
|
|
14035
|
+
static unpackAny(t) {
|
|
14036
|
+
return Mr.fromProto(yc.decode(t.value));
|
|
14037
|
+
}
|
|
13995
14038
|
}
|
|
13996
|
-
class
|
|
14039
|
+
class Vs extends m {
|
|
13997
14040
|
/**
|
|
13998
|
-
* @param
|
|
14041
|
+
* @param plan
|
|
14042
|
+
* @param upgraded_client_state
|
|
14043
|
+
* @param signer signer address
|
|
13999
14044
|
*/
|
|
14000
|
-
constructor(t) {
|
|
14001
|
-
super(), this.
|
|
14045
|
+
constructor(t, e, r) {
|
|
14046
|
+
super(), this.plan = t, this.upgraded_client_state = e, this.signer = r;
|
|
14002
14047
|
}
|
|
14003
14048
|
static fromAmino(t) {
|
|
14004
14049
|
throw new Error("Amino not supported");
|
|
@@ -14007,636 +14052,538 @@ class Om extends m {
|
|
|
14007
14052
|
throw new Error("Amino not supported");
|
|
14008
14053
|
}
|
|
14009
14054
|
static fromData(t) {
|
|
14010
|
-
|
|
14055
|
+
const { plan: e, upgraded_client_state: r, signer: o } = t;
|
|
14056
|
+
return new Vs(
|
|
14057
|
+
St.fromData(e),
|
|
14058
|
+
r,
|
|
14059
|
+
o
|
|
14060
|
+
);
|
|
14011
14061
|
}
|
|
14012
14062
|
toData() {
|
|
14063
|
+
const { plan: t, upgraded_client_state: e, signer: r } = this;
|
|
14013
14064
|
return {
|
|
14014
|
-
|
|
14065
|
+
"@type": "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
14066
|
+
plan: t.toData(),
|
|
14067
|
+
upgraded_client_state: e,
|
|
14068
|
+
signer: r
|
|
14015
14069
|
};
|
|
14016
14070
|
}
|
|
14017
14071
|
static fromProto(t) {
|
|
14018
|
-
return new
|
|
14072
|
+
return new Vs(
|
|
14073
|
+
St.fromProto(t.plan),
|
|
14074
|
+
t.upgradedClientState,
|
|
14075
|
+
t.signer
|
|
14076
|
+
);
|
|
14019
14077
|
}
|
|
14020
14078
|
toProto() {
|
|
14021
|
-
|
|
14022
|
-
|
|
14079
|
+
const { plan: t, upgraded_client_state: e, signer: r } = this;
|
|
14080
|
+
return fc.fromPartial({
|
|
14081
|
+
plan: t.toProto(),
|
|
14082
|
+
upgradedClientState: e,
|
|
14083
|
+
signer: r
|
|
14023
14084
|
});
|
|
14024
14085
|
}
|
|
14086
|
+
packAny() {
|
|
14087
|
+
return l.fromPartial({
|
|
14088
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
14089
|
+
value: fc.encode(this.toProto()).finish()
|
|
14090
|
+
});
|
|
14091
|
+
}
|
|
14092
|
+
static unpackAny(t) {
|
|
14093
|
+
return Vs.fromProto(
|
|
14094
|
+
fc.decode(t.value)
|
|
14095
|
+
);
|
|
14096
|
+
}
|
|
14025
14097
|
}
|
|
14026
|
-
class
|
|
14098
|
+
class gs extends m {
|
|
14027
14099
|
/**
|
|
14028
|
-
* @param
|
|
14029
|
-
* @param connection_id identifies the connection end on the ConnectionCounterparty chain associated with a given connection.
|
|
14030
|
-
* @param prefix commitment merkle prefix of the ConnectionCounterparty chain.
|
|
14100
|
+
* @param allowed_clients the list of allowed client state types.
|
|
14031
14101
|
*/
|
|
14032
|
-
constructor(t
|
|
14033
|
-
super(), this.
|
|
14102
|
+
constructor(t) {
|
|
14103
|
+
super(), this.allowed_clients = t;
|
|
14034
14104
|
}
|
|
14035
14105
|
static fromAmino(t) {
|
|
14036
|
-
const {
|
|
14037
|
-
return new
|
|
14038
|
-
e,
|
|
14039
|
-
r,
|
|
14040
|
-
o ? vs.fromAmino(o) : void 0
|
|
14041
|
-
);
|
|
14106
|
+
const { allowed_clients: e } = t;
|
|
14107
|
+
return new gs(e);
|
|
14042
14108
|
}
|
|
14043
14109
|
toAmino() {
|
|
14044
|
-
const {
|
|
14110
|
+
const { allowed_clients: t } = this;
|
|
14045
14111
|
return {
|
|
14046
|
-
|
|
14047
|
-
connection_id: e,
|
|
14048
|
-
prefix: r
|
|
14112
|
+
allowed_clients: t
|
|
14049
14113
|
};
|
|
14050
14114
|
}
|
|
14051
14115
|
static fromData(t) {
|
|
14052
|
-
const {
|
|
14053
|
-
return new
|
|
14054
|
-
e,
|
|
14055
|
-
r,
|
|
14056
|
-
o ? vs.fromData(o) : void 0
|
|
14057
|
-
);
|
|
14116
|
+
const { allowed_clients: e } = t;
|
|
14117
|
+
return new gs(e);
|
|
14058
14118
|
}
|
|
14059
14119
|
toData() {
|
|
14060
|
-
const {
|
|
14120
|
+
const { allowed_clients: t } = this;
|
|
14061
14121
|
return {
|
|
14062
|
-
|
|
14063
|
-
connection_id: e,
|
|
14064
|
-
prefix: r == null ? void 0 : r.toData()
|
|
14122
|
+
allowed_clients: t
|
|
14065
14123
|
};
|
|
14066
14124
|
}
|
|
14067
14125
|
static fromProto(t) {
|
|
14068
|
-
return new
|
|
14069
|
-
t.clientId,
|
|
14070
|
-
t.connectionId,
|
|
14071
|
-
t.prefix ? vs.fromProto(t.prefix) : void 0
|
|
14072
|
-
);
|
|
14126
|
+
return new gs(t.allowedClients);
|
|
14073
14127
|
}
|
|
14074
14128
|
toProto() {
|
|
14075
|
-
const {
|
|
14076
|
-
return
|
|
14077
|
-
|
|
14078
|
-
connectionId: e,
|
|
14079
|
-
prefix: r == null ? void 0 : r.toProto()
|
|
14129
|
+
const { allowed_clients: t } = this;
|
|
14130
|
+
return yd.fromPartial({
|
|
14131
|
+
allowedClients: t
|
|
14080
14132
|
});
|
|
14081
14133
|
}
|
|
14082
14134
|
}
|
|
14083
|
-
class
|
|
14135
|
+
class Hs extends m {
|
|
14084
14136
|
/**
|
|
14085
|
-
* @param
|
|
14086
|
-
* @param
|
|
14137
|
+
* @param signer signer address
|
|
14138
|
+
* @param params params defines the client parameters to update
|
|
14087
14139
|
*/
|
|
14088
14140
|
constructor(t, e) {
|
|
14089
|
-
super(), this.
|
|
14141
|
+
super(), this.signer = t, this.params = e;
|
|
14090
14142
|
}
|
|
14091
14143
|
static fromAmino(t) {
|
|
14092
|
-
|
|
14093
|
-
return new Y(e, r);
|
|
14144
|
+
throw new Error("Amino not supported");
|
|
14094
14145
|
}
|
|
14095
14146
|
toAmino() {
|
|
14096
|
-
|
|
14097
|
-
return {
|
|
14098
|
-
identifier: t,
|
|
14099
|
-
features: e
|
|
14100
|
-
};
|
|
14147
|
+
throw new Error("Amino not supported");
|
|
14101
14148
|
}
|
|
14102
14149
|
static fromData(t) {
|
|
14103
|
-
const {
|
|
14104
|
-
return new
|
|
14150
|
+
const { signer: e, params: r } = t;
|
|
14151
|
+
return new Hs(
|
|
14152
|
+
e,
|
|
14153
|
+
gs.fromData(r)
|
|
14154
|
+
);
|
|
14105
14155
|
}
|
|
14106
14156
|
toData() {
|
|
14107
|
-
const {
|
|
14157
|
+
const { signer: t, params: e } = this;
|
|
14108
14158
|
return {
|
|
14109
|
-
|
|
14110
|
-
|
|
14159
|
+
"@type": "/ibc.core.client.v1.MsgUpdateParams",
|
|
14160
|
+
signer: t,
|
|
14161
|
+
params: e.toData()
|
|
14111
14162
|
};
|
|
14112
14163
|
}
|
|
14113
14164
|
static fromProto(t) {
|
|
14114
|
-
return new
|
|
14165
|
+
return new Hs(
|
|
14166
|
+
t.signer,
|
|
14167
|
+
gs.fromProto(t.params)
|
|
14168
|
+
);
|
|
14115
14169
|
}
|
|
14116
14170
|
toProto() {
|
|
14117
|
-
const {
|
|
14118
|
-
return
|
|
14171
|
+
const { signer: t, params: e } = this;
|
|
14172
|
+
return gc.fromPartial({
|
|
14173
|
+
signer: t,
|
|
14174
|
+
params: e.toProto()
|
|
14175
|
+
});
|
|
14176
|
+
}
|
|
14177
|
+
packAny() {
|
|
14178
|
+
return l.fromPartial({
|
|
14179
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
14180
|
+
value: gc.encode(this.toProto()).finish()
|
|
14181
|
+
});
|
|
14182
|
+
}
|
|
14183
|
+
static unpackAny(t) {
|
|
14184
|
+
return Hs.fromProto(
|
|
14185
|
+
gc.decode(t.value)
|
|
14186
|
+
);
|
|
14119
14187
|
}
|
|
14120
14188
|
}
|
|
14121
|
-
class
|
|
14189
|
+
class _s extends m {
|
|
14122
14190
|
/**
|
|
14123
|
-
* @param
|
|
14124
|
-
* @param
|
|
14125
|
-
* @param versions IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection
|
|
14126
|
-
* @param state current state of the connection end
|
|
14127
|
-
* @param counterparty counterparty chain associated with this connection
|
|
14128
|
-
* @param delay_period delay period associated with this connection
|
|
14191
|
+
* @param height consensus state height
|
|
14192
|
+
* @param consensus_state consensus state
|
|
14129
14193
|
*/
|
|
14130
|
-
constructor(
|
|
14131
|
-
super()
|
|
14194
|
+
constructor(e, r) {
|
|
14195
|
+
super();
|
|
14196
|
+
p(this, "height");
|
|
14197
|
+
p(this, "consensus_state");
|
|
14198
|
+
this.height = e, this.consensus_state = r;
|
|
14132
14199
|
}
|
|
14133
|
-
static fromAmino(
|
|
14134
|
-
const {
|
|
14135
|
-
return new
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
o.map(Y.fromAmino),
|
|
14139
|
-
su(s),
|
|
14140
|
-
n ? it.fromAmino(n) : void 0,
|
|
14141
|
-
Number.parseInt(a)
|
|
14200
|
+
static fromAmino(e) {
|
|
14201
|
+
const { height: r, consensus_state: o } = e;
|
|
14202
|
+
return new _s(
|
|
14203
|
+
r ? w.fromAmino(r) : void 0,
|
|
14204
|
+
o
|
|
14142
14205
|
);
|
|
14143
14206
|
}
|
|
14144
14207
|
toAmino() {
|
|
14145
|
-
const {
|
|
14208
|
+
const { height: e, consensus_state: r } = this;
|
|
14146
14209
|
return {
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
versions: r.map((c) => c.toAmino()),
|
|
14150
|
-
state: nu(o),
|
|
14151
|
-
counterparty: s == null ? void 0 : s.toAmino(),
|
|
14152
|
-
delay_period: n.toFixed()
|
|
14210
|
+
height: e == null ? void 0 : e.toAmino(),
|
|
14211
|
+
consensus_state: r
|
|
14153
14212
|
};
|
|
14154
14213
|
}
|
|
14155
|
-
static fromData(
|
|
14156
|
-
const {
|
|
14157
|
-
return new
|
|
14158
|
-
|
|
14159
|
-
|
|
14160
|
-
o.map(Y.fromData),
|
|
14161
|
-
su(s),
|
|
14162
|
-
n ? it.fromData(n) : void 0,
|
|
14163
|
-
Number.parseInt(a)
|
|
14214
|
+
static fromData(e) {
|
|
14215
|
+
const { height: r, consensus_state: o } = e;
|
|
14216
|
+
return new _s(
|
|
14217
|
+
r ? w.fromData(r) : void 0,
|
|
14218
|
+
o
|
|
14164
14219
|
);
|
|
14165
14220
|
}
|
|
14166
14221
|
toData() {
|
|
14167
|
-
const {
|
|
14222
|
+
const { height: e, consensus_state: r } = this;
|
|
14168
14223
|
return {
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
versions: r.map((c) => c.toData()),
|
|
14172
|
-
state: nu(o),
|
|
14173
|
-
counterparty: s == null ? void 0 : s.toData(),
|
|
14174
|
-
delay_period: n.toFixed()
|
|
14224
|
+
height: e == null ? void 0 : e.toData(),
|
|
14225
|
+
consensus_state: r
|
|
14175
14226
|
};
|
|
14176
14227
|
}
|
|
14177
|
-
static fromProto(
|
|
14178
|
-
return new
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
t.versions.map(Y.fromProto),
|
|
14182
|
-
t.state,
|
|
14183
|
-
t.counterparty ? it.fromProto(t.counterparty) : void 0,
|
|
14184
|
-
t.delayPeriod.toNumber()
|
|
14228
|
+
static fromProto(e) {
|
|
14229
|
+
return new _s(
|
|
14230
|
+
e.height ? w.fromProto(e.height) : void 0,
|
|
14231
|
+
e.consensusState
|
|
14185
14232
|
);
|
|
14186
14233
|
}
|
|
14187
14234
|
toProto() {
|
|
14188
|
-
const {
|
|
14189
|
-
return
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
versions: r.map((a) => a.toProto()),
|
|
14193
|
-
state: o,
|
|
14194
|
-
counterparty: s == null ? void 0 : s.toProto(),
|
|
14195
|
-
delayPeriod: f.fromNumber(n)
|
|
14235
|
+
const { height: e, consensus_state: r } = this;
|
|
14236
|
+
return vd.fromPartial({
|
|
14237
|
+
height: e == null ? void 0 : e.toProto(),
|
|
14238
|
+
consensusState: r
|
|
14196
14239
|
});
|
|
14197
14240
|
}
|
|
14198
14241
|
}
|
|
14199
|
-
class
|
|
14242
|
+
class Rn extends m {
|
|
14200
14243
|
/**
|
|
14201
|
-
* @param
|
|
14244
|
+
* @param client_id client identifier
|
|
14245
|
+
* @param consensus_states consensus states and their heights associated with the client
|
|
14202
14246
|
*/
|
|
14203
|
-
constructor(t) {
|
|
14204
|
-
super(), this.
|
|
14247
|
+
constructor(t, e) {
|
|
14248
|
+
super(), this.client_id = t, this.consensus_states = e;
|
|
14205
14249
|
}
|
|
14206
14250
|
static fromAmino(t) {
|
|
14207
|
-
const {
|
|
14208
|
-
return new
|
|
14251
|
+
const { client_id: e, consensus_states: r } = t;
|
|
14252
|
+
return new Rn(
|
|
14253
|
+
e,
|
|
14254
|
+
r.map((o) => _s.fromAmino(o))
|
|
14255
|
+
);
|
|
14209
14256
|
}
|
|
14210
14257
|
toAmino() {
|
|
14211
|
-
const {
|
|
14258
|
+
const { client_id: t, consensus_states: e } = this;
|
|
14212
14259
|
return {
|
|
14213
|
-
|
|
14260
|
+
client_id: t,
|
|
14261
|
+
consensus_states: e.map((o) => o.toAmino())
|
|
14214
14262
|
};
|
|
14215
14263
|
}
|
|
14216
14264
|
static fromData(t) {
|
|
14217
|
-
const {
|
|
14218
|
-
return new
|
|
14265
|
+
const { client_id: e, consensus_states: r } = t;
|
|
14266
|
+
return new Rn(
|
|
14267
|
+
e,
|
|
14268
|
+
r.map((o) => _s.fromData(o))
|
|
14269
|
+
);
|
|
14219
14270
|
}
|
|
14220
14271
|
toData() {
|
|
14221
|
-
const {
|
|
14272
|
+
const { client_id: t, consensus_states: e } = this;
|
|
14222
14273
|
return {
|
|
14223
|
-
|
|
14274
|
+
client_id: t,
|
|
14275
|
+
consensus_states: e.map((o) => o.toData())
|
|
14224
14276
|
};
|
|
14225
14277
|
}
|
|
14226
14278
|
static fromProto(t) {
|
|
14227
|
-
return new
|
|
14279
|
+
return new Rn(
|
|
14280
|
+
t.clientId,
|
|
14281
|
+
t.consensusStates.map(
|
|
14282
|
+
(e) => _s.fromProto(e)
|
|
14283
|
+
)
|
|
14284
|
+
);
|
|
14228
14285
|
}
|
|
14229
14286
|
toProto() {
|
|
14230
|
-
const {
|
|
14231
|
-
return
|
|
14232
|
-
|
|
14287
|
+
const { client_id: t, consensus_states: e } = this;
|
|
14288
|
+
return bd.fromPartial({
|
|
14289
|
+
clientId: t,
|
|
14290
|
+
consensusStates: e.map((r) => r.toProto())
|
|
14233
14291
|
});
|
|
14234
14292
|
}
|
|
14235
14293
|
}
|
|
14236
|
-
class
|
|
14294
|
+
class Dn extends m {
|
|
14237
14295
|
/**
|
|
14238
|
-
* @param
|
|
14239
|
-
* @param
|
|
14240
|
-
* @param channel channel info
|
|
14241
|
-
* @param counterparty_version
|
|
14242
|
-
* @param proof_init
|
|
14243
|
-
* @param proof_height
|
|
14244
|
-
* @param signer signer address
|
|
14296
|
+
* @param client_id client identifier
|
|
14297
|
+
* @param client_state client state
|
|
14245
14298
|
*/
|
|
14246
|
-
constructor(t, e
|
|
14247
|
-
super(), this.
|
|
14299
|
+
constructor(t, e) {
|
|
14300
|
+
super(), this.client_id = t, this.client_state = e;
|
|
14248
14301
|
}
|
|
14249
14302
|
static fromAmino(t) {
|
|
14250
|
-
|
|
14303
|
+
const { client_id: e, client_state: r } = t;
|
|
14304
|
+
return new Dn(e, r);
|
|
14251
14305
|
}
|
|
14252
14306
|
toAmino() {
|
|
14253
|
-
|
|
14307
|
+
const { client_id: t, client_state: e } = this;
|
|
14308
|
+
return {
|
|
14309
|
+
client_id: t,
|
|
14310
|
+
client_state: e
|
|
14311
|
+
};
|
|
14254
14312
|
}
|
|
14255
14313
|
static fromData(t) {
|
|
14256
|
-
const {
|
|
14257
|
-
|
|
14258
|
-
previous_channel_id: r,
|
|
14259
|
-
channel: o,
|
|
14260
|
-
counterparty_version: s,
|
|
14261
|
-
proof_init: n,
|
|
14262
|
-
proof_height: a,
|
|
14263
|
-
signer: c
|
|
14264
|
-
} = t;
|
|
14265
|
-
return new zs(
|
|
14266
|
-
e,
|
|
14267
|
-
r,
|
|
14268
|
-
o ? at.fromData(o) : void 0,
|
|
14269
|
-
s,
|
|
14270
|
-
n,
|
|
14271
|
-
a ? w.fromData(a) : void 0,
|
|
14272
|
-
c
|
|
14273
|
-
);
|
|
14314
|
+
const { client_id: e, client_state: r } = t;
|
|
14315
|
+
return new Dn(e, r);
|
|
14274
14316
|
}
|
|
14275
14317
|
toData() {
|
|
14276
|
-
const {
|
|
14277
|
-
port_id: t,
|
|
14278
|
-
previous_channel_id: e,
|
|
14279
|
-
channel: r,
|
|
14280
|
-
counterparty_version: o,
|
|
14281
|
-
proof_init: s,
|
|
14282
|
-
proof_height: n,
|
|
14283
|
-
signer: a
|
|
14284
|
-
} = this;
|
|
14318
|
+
const { client_id: t, client_state: e } = this;
|
|
14285
14319
|
return {
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
previous_channel_id: e,
|
|
14289
|
-
channel: r == null ? void 0 : r.toData(),
|
|
14290
|
-
counterparty_version: o,
|
|
14291
|
-
proof_init: s,
|
|
14292
|
-
proof_height: n == null ? void 0 : n.toData(),
|
|
14293
|
-
signer: a
|
|
14320
|
+
client_id: t,
|
|
14321
|
+
client_state: e
|
|
14294
14322
|
};
|
|
14295
14323
|
}
|
|
14296
14324
|
static fromProto(t) {
|
|
14297
|
-
return new
|
|
14298
|
-
t.portId,
|
|
14299
|
-
t.previousChannelId,
|
|
14300
|
-
t.channel ? at.fromProto(t.channel) : void 0,
|
|
14301
|
-
t.counterpartyVersion,
|
|
14302
|
-
Buffer.from(t.proofInit).toString("base64"),
|
|
14303
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14304
|
-
t.signer
|
|
14305
|
-
);
|
|
14325
|
+
return new Dn(t.clientId, t.clientState);
|
|
14306
14326
|
}
|
|
14307
14327
|
toProto() {
|
|
14308
|
-
const {
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
counterparty_version: o,
|
|
14313
|
-
proof_init: s,
|
|
14314
|
-
proof_height: n,
|
|
14315
|
-
signer: a
|
|
14316
|
-
} = this;
|
|
14317
|
-
return tc.fromPartial({
|
|
14318
|
-
portId: t,
|
|
14319
|
-
previousChannelId: e,
|
|
14320
|
-
channel: r == null ? void 0 : r.toProto(),
|
|
14321
|
-
counterpartyVersion: o,
|
|
14322
|
-
proofInit: Buffer.from(s, "base64"),
|
|
14323
|
-
proofHeight: n == null ? void 0 : n.toProto(),
|
|
14324
|
-
signer: a
|
|
14325
|
-
});
|
|
14326
|
-
}
|
|
14327
|
-
packAny() {
|
|
14328
|
-
return l.fromPartial({
|
|
14329
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
14330
|
-
value: tc.encode(this.toProto()).finish()
|
|
14328
|
+
const { client_id: t, client_state: e } = this;
|
|
14329
|
+
return wd.fromPartial({
|
|
14330
|
+
clientId: t,
|
|
14331
|
+
clientState: e
|
|
14331
14332
|
});
|
|
14332
14333
|
}
|
|
14333
|
-
static unpackAny(t) {
|
|
14334
|
-
return zs.fromProto(
|
|
14335
|
-
tc.decode(t.value)
|
|
14336
|
-
);
|
|
14337
|
-
}
|
|
14338
14334
|
}
|
|
14339
|
-
class
|
|
14335
|
+
class ys extends m {
|
|
14340
14336
|
/**
|
|
14341
|
-
* @param
|
|
14342
|
-
* @param
|
|
14343
|
-
* @param proof_ack
|
|
14344
|
-
* @param proof_height
|
|
14345
|
-
* @param signer signer address
|
|
14337
|
+
* @param height block height after which the packet or upgrade times out
|
|
14338
|
+
* @param timestamp block timestamp (in nanoseconds) after which the packet or upgrade times out
|
|
14346
14339
|
*/
|
|
14347
|
-
constructor(t, e
|
|
14348
|
-
super(), this.
|
|
14340
|
+
constructor(t, e) {
|
|
14341
|
+
super(), this.height = t, this.timestamp = e;
|
|
14349
14342
|
}
|
|
14350
14343
|
static fromAmino(t) {
|
|
14351
|
-
|
|
14344
|
+
const { height: e, timestamp: r } = t;
|
|
14345
|
+
return new ys(w.fromAmino(e), Number.parseInt(r));
|
|
14352
14346
|
}
|
|
14353
14347
|
toAmino() {
|
|
14354
|
-
|
|
14348
|
+
const { height: t, timestamp: e } = this;
|
|
14349
|
+
return {
|
|
14350
|
+
height: t.toAmino(),
|
|
14351
|
+
timestamp: e.toString()
|
|
14352
|
+
};
|
|
14355
14353
|
}
|
|
14356
14354
|
static fromData(t) {
|
|
14357
|
-
const {
|
|
14358
|
-
return new
|
|
14359
|
-
e,
|
|
14360
|
-
r,
|
|
14361
|
-
o,
|
|
14362
|
-
s ? w.fromData(s) : void 0,
|
|
14363
|
-
n
|
|
14364
|
-
);
|
|
14355
|
+
const { height: e, timestamp: r } = t;
|
|
14356
|
+
return new ys(w.fromData(e), Number.parseInt(r));
|
|
14365
14357
|
}
|
|
14366
14358
|
toData() {
|
|
14367
|
-
const {
|
|
14359
|
+
const { height: t, timestamp: e } = this;
|
|
14368
14360
|
return {
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
channel_id: e,
|
|
14372
|
-
proof_ack: r,
|
|
14373
|
-
proof_height: o == null ? void 0 : o.toData(),
|
|
14374
|
-
signer: s
|
|
14361
|
+
height: t.toData(),
|
|
14362
|
+
timestamp: e.toString()
|
|
14375
14363
|
};
|
|
14376
14364
|
}
|
|
14377
14365
|
static fromProto(t) {
|
|
14378
|
-
return new
|
|
14379
|
-
t.
|
|
14380
|
-
t.
|
|
14381
|
-
Buffer.from(t.proofAck).toString("base64"),
|
|
14382
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14383
|
-
t.signer
|
|
14366
|
+
return new ys(
|
|
14367
|
+
w.fromProto(t.height),
|
|
14368
|
+
t.timestamp.toNumber()
|
|
14384
14369
|
);
|
|
14385
14370
|
}
|
|
14386
14371
|
toProto() {
|
|
14387
|
-
const {
|
|
14388
|
-
return
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
proofAck: Buffer.from(r, "base64"),
|
|
14392
|
-
proofHeight: o == null ? void 0 : o.toProto(),
|
|
14393
|
-
signer: s
|
|
14394
|
-
});
|
|
14395
|
-
}
|
|
14396
|
-
packAny() {
|
|
14397
|
-
return l.fromPartial({
|
|
14398
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
14399
|
-
value: ec.encode(this.toProto()).finish()
|
|
14372
|
+
const { height: t, timestamp: e } = this;
|
|
14373
|
+
return yl.fromPartial({
|
|
14374
|
+
height: t.toProto(),
|
|
14375
|
+
timestamp: f.fromNumber(e)
|
|
14400
14376
|
});
|
|
14401
14377
|
}
|
|
14402
|
-
static unpackAny(t) {
|
|
14403
|
-
return Ks.fromProto(
|
|
14404
|
-
ec.decode(t.value)
|
|
14405
|
-
);
|
|
14406
|
-
}
|
|
14407
14378
|
}
|
|
14408
|
-
class
|
|
14379
|
+
class Gs extends m {
|
|
14409
14380
|
/**
|
|
14410
|
-
* @param
|
|
14411
|
-
* @param channel_id
|
|
14412
|
-
* @param counterparty_channel_id
|
|
14413
|
-
* @param counterparty_version
|
|
14414
|
-
* @param proof_try
|
|
14415
|
-
* @param proof_height
|
|
14416
|
-
* @param signer signer address
|
|
14381
|
+
* @param upgrade_timeout the relative timeout after which channel upgrades will time out
|
|
14417
14382
|
*/
|
|
14418
|
-
constructor(t
|
|
14419
|
-
super(), this.
|
|
14383
|
+
constructor(t) {
|
|
14384
|
+
super(), this.upgrade_timeout = t;
|
|
14420
14385
|
}
|
|
14421
14386
|
static fromAmino(t) {
|
|
14422
|
-
|
|
14387
|
+
return new Gs(ys.fromAmino(t.upgrade_timeout));
|
|
14423
14388
|
}
|
|
14424
14389
|
toAmino() {
|
|
14425
|
-
|
|
14390
|
+
return {
|
|
14391
|
+
upgrade_timeout: this.upgrade_timeout.toAmino()
|
|
14392
|
+
};
|
|
14426
14393
|
}
|
|
14427
14394
|
static fromData(t) {
|
|
14428
|
-
|
|
14429
|
-
port_id: e,
|
|
14430
|
-
channel_id: r,
|
|
14431
|
-
counterparty_channel_id: o,
|
|
14432
|
-
counterparty_version: s,
|
|
14433
|
-
proof_try: n,
|
|
14434
|
-
proof_height: a,
|
|
14435
|
-
signer: c
|
|
14436
|
-
} = t;
|
|
14437
|
-
return new Vs(
|
|
14438
|
-
e,
|
|
14439
|
-
r,
|
|
14440
|
-
o,
|
|
14441
|
-
s,
|
|
14442
|
-
n,
|
|
14443
|
-
a ? w.fromData(a) : void 0,
|
|
14444
|
-
c
|
|
14445
|
-
);
|
|
14395
|
+
return new Gs(ys.fromData(t.upgrade_timeout));
|
|
14446
14396
|
}
|
|
14447
14397
|
toData() {
|
|
14448
|
-
const {
|
|
14449
|
-
port_id: t,
|
|
14450
|
-
channel_id: e,
|
|
14451
|
-
counterparty_channel_id: r,
|
|
14452
|
-
counterparty_version: o,
|
|
14453
|
-
proof_try: s,
|
|
14454
|
-
proof_height: n,
|
|
14455
|
-
signer: a
|
|
14456
|
-
} = this;
|
|
14457
14398
|
return {
|
|
14458
|
-
|
|
14459
|
-
port_id: t,
|
|
14460
|
-
channel_id: e,
|
|
14461
|
-
counterparty_channel_id: r,
|
|
14462
|
-
counterparty_version: o,
|
|
14463
|
-
proof_try: s,
|
|
14464
|
-
proof_height: n == null ? void 0 : n.toData(),
|
|
14465
|
-
signer: a
|
|
14399
|
+
upgrade_timeout: this.upgrade_timeout.toData()
|
|
14466
14400
|
};
|
|
14467
14401
|
}
|
|
14468
14402
|
static fromProto(t) {
|
|
14469
|
-
return new
|
|
14470
|
-
t.
|
|
14471
|
-
t.channelId,
|
|
14472
|
-
t.counterpartyChannelId,
|
|
14473
|
-
t.counterpartyVersion,
|
|
14474
|
-
Buffer.from(t.proofTry).toString("base64"),
|
|
14475
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14476
|
-
t.signer
|
|
14403
|
+
return new Gs(
|
|
14404
|
+
ys.fromProto(t.upgradeTimeout)
|
|
14477
14405
|
);
|
|
14478
14406
|
}
|
|
14479
14407
|
toProto() {
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
channel_id: e,
|
|
14483
|
-
counterparty_channel_id: r,
|
|
14484
|
-
counterparty_version: o,
|
|
14485
|
-
proof_try: s,
|
|
14486
|
-
proof_height: n,
|
|
14487
|
-
signer: a
|
|
14488
|
-
} = this;
|
|
14489
|
-
return rc.fromPartial({
|
|
14490
|
-
portId: t,
|
|
14491
|
-
channelId: e,
|
|
14492
|
-
counterpartyChannelId: r,
|
|
14493
|
-
counterpartyVersion: o,
|
|
14494
|
-
proofTry: Buffer.from(s, "base64"),
|
|
14495
|
-
proofHeight: n == null ? void 0 : n.toProto(),
|
|
14496
|
-
signer: a
|
|
14497
|
-
});
|
|
14498
|
-
}
|
|
14499
|
-
packAny() {
|
|
14500
|
-
return l.fromPartial({
|
|
14501
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
14502
|
-
value: rc.encode(this.toProto()).finish()
|
|
14408
|
+
return vl.fromPartial({
|
|
14409
|
+
upgradeTimeout: this.upgrade_timeout.toProto()
|
|
14503
14410
|
});
|
|
14504
14411
|
}
|
|
14505
|
-
static unpackAny(t) {
|
|
14506
|
-
return Vs.fromProto(
|
|
14507
|
-
rc.decode(t.value)
|
|
14508
|
-
);
|
|
14509
|
-
}
|
|
14510
14412
|
}
|
|
14511
|
-
class
|
|
14413
|
+
class tt extends m {
|
|
14512
14414
|
/**
|
|
14513
|
-
* @param port_id
|
|
14514
|
-
* @param
|
|
14515
|
-
* @param signer signer address
|
|
14415
|
+
* @param port_id port on the counterparty chain which owns the other end of the channel.
|
|
14416
|
+
* @param channel_id channel end on the counterparty chain
|
|
14516
14417
|
*/
|
|
14517
|
-
constructor(t, e, r) {
|
|
14518
|
-
super(), this.
|
|
14418
|
+
constructor(t, e, r, o, s, n, a, c) {
|
|
14419
|
+
super(), this.sequence = t, this.source_port = e, this.source_channel = r, this.destination_port = o, this.destination_channel = s, this.data = n, this.timeout_height = a, this.timeout_timestamp = c;
|
|
14519
14420
|
}
|
|
14520
14421
|
static fromAmino(t) {
|
|
14521
|
-
|
|
14422
|
+
const {
|
|
14423
|
+
sequence: e,
|
|
14424
|
+
source_port: r,
|
|
14425
|
+
source_channel: o,
|
|
14426
|
+
destination_port: s,
|
|
14427
|
+
destination_channel: n,
|
|
14428
|
+
data: a,
|
|
14429
|
+
timeout_height: c,
|
|
14430
|
+
timeout_timestamp: d
|
|
14431
|
+
} = t;
|
|
14432
|
+
return new tt(
|
|
14433
|
+
e,
|
|
14434
|
+
r,
|
|
14435
|
+
o,
|
|
14436
|
+
s,
|
|
14437
|
+
n,
|
|
14438
|
+
a,
|
|
14439
|
+
c ? w.fromAmino(c) : void 0,
|
|
14440
|
+
d
|
|
14441
|
+
);
|
|
14522
14442
|
}
|
|
14523
14443
|
toAmino() {
|
|
14524
|
-
|
|
14444
|
+
const {
|
|
14445
|
+
sequence: t,
|
|
14446
|
+
source_port: e,
|
|
14447
|
+
source_channel: r,
|
|
14448
|
+
destination_port: o,
|
|
14449
|
+
destination_channel: s,
|
|
14450
|
+
data: n,
|
|
14451
|
+
timeout_height: a,
|
|
14452
|
+
timeout_timestamp: c
|
|
14453
|
+
} = this;
|
|
14454
|
+
return {
|
|
14455
|
+
sequence: t,
|
|
14456
|
+
source_port: e,
|
|
14457
|
+
source_channel: r,
|
|
14458
|
+
destination_port: o,
|
|
14459
|
+
destination_channel: s,
|
|
14460
|
+
data: n,
|
|
14461
|
+
timeout_height: a == null ? void 0 : a.toAmino(),
|
|
14462
|
+
timeout_timestamp: c
|
|
14463
|
+
};
|
|
14525
14464
|
}
|
|
14526
14465
|
static fromData(t) {
|
|
14527
|
-
const {
|
|
14528
|
-
|
|
14466
|
+
const {
|
|
14467
|
+
sequence: e,
|
|
14468
|
+
source_port: r,
|
|
14469
|
+
source_channel: o,
|
|
14470
|
+
destination_port: s,
|
|
14471
|
+
destination_channel: n,
|
|
14472
|
+
data: a,
|
|
14473
|
+
timeout_height: c,
|
|
14474
|
+
timeout_timestamp: d
|
|
14475
|
+
} = t;
|
|
14476
|
+
return new tt(
|
|
14477
|
+
e,
|
|
14478
|
+
r,
|
|
14479
|
+
o,
|
|
14480
|
+
s,
|
|
14481
|
+
n,
|
|
14482
|
+
a,
|
|
14483
|
+
c ? w.fromData(c) : void 0,
|
|
14484
|
+
d
|
|
14485
|
+
);
|
|
14529
14486
|
}
|
|
14530
14487
|
toData() {
|
|
14531
|
-
const {
|
|
14488
|
+
const {
|
|
14489
|
+
sequence: t,
|
|
14490
|
+
source_port: e,
|
|
14491
|
+
source_channel: r,
|
|
14492
|
+
destination_port: o,
|
|
14493
|
+
destination_channel: s,
|
|
14494
|
+
data: n,
|
|
14495
|
+
timeout_height: a,
|
|
14496
|
+
timeout_timestamp: c
|
|
14497
|
+
} = this;
|
|
14532
14498
|
return {
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14499
|
+
sequence: t,
|
|
14500
|
+
source_port: e,
|
|
14501
|
+
source_channel: r,
|
|
14502
|
+
destination_port: o,
|
|
14503
|
+
destination_channel: s,
|
|
14504
|
+
data: n,
|
|
14505
|
+
timeout_height: a == null ? void 0 : a.toData(),
|
|
14506
|
+
timeout_timestamp: c
|
|
14537
14507
|
};
|
|
14538
14508
|
}
|
|
14539
14509
|
static fromProto(t) {
|
|
14540
|
-
return new
|
|
14510
|
+
return new tt(
|
|
14511
|
+
t.sequence.toNumber(),
|
|
14512
|
+
t.sourcePort,
|
|
14513
|
+
t.sourceChannel,
|
|
14514
|
+
t.destinationPort,
|
|
14515
|
+
t.destinationChannel,
|
|
14516
|
+
Buffer.from(t.data).toString("base64"),
|
|
14517
|
+
t.timeoutHeight ? w.fromProto(t.timeoutHeight) : void 0,
|
|
14518
|
+
t.timeoutTimestamp.toString()
|
|
14519
|
+
);
|
|
14541
14520
|
}
|
|
14542
14521
|
toProto() {
|
|
14543
|
-
const {
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14522
|
+
const {
|
|
14523
|
+
sequence: t,
|
|
14524
|
+
source_port: e,
|
|
14525
|
+
source_channel: r,
|
|
14526
|
+
destination_port: o,
|
|
14527
|
+
destination_channel: s,
|
|
14528
|
+
data: n,
|
|
14529
|
+
timeout_height: a,
|
|
14530
|
+
timeout_timestamp: c
|
|
14531
|
+
} = this;
|
|
14532
|
+
return bl.fromPartial({
|
|
14533
|
+
sequence: f.fromNumber(t),
|
|
14534
|
+
sourcePort: e,
|
|
14535
|
+
sourceChannel: r,
|
|
14536
|
+
destinationPort: o,
|
|
14537
|
+
destinationChannel: s,
|
|
14538
|
+
data: Buffer.from(n, "base64"),
|
|
14539
|
+
timeoutHeight: a == null ? void 0 : a.toProto(),
|
|
14540
|
+
timeoutTimestamp: f.fromString(c)
|
|
14554
14541
|
});
|
|
14555
14542
|
}
|
|
14556
|
-
static unpackAny(t) {
|
|
14557
|
-
return Hs.fromProto(
|
|
14558
|
-
oc.decode(t.value)
|
|
14559
|
-
);
|
|
14560
|
-
}
|
|
14561
14543
|
}
|
|
14562
|
-
class
|
|
14544
|
+
class vs extends m {
|
|
14563
14545
|
/**
|
|
14564
|
-
* @param
|
|
14565
|
-
* @param channel_id
|
|
14566
|
-
* @param proof_init
|
|
14567
|
-
* @param proof_height
|
|
14568
|
-
* @param signer signer address
|
|
14546
|
+
* @param key_prefix
|
|
14569
14547
|
*/
|
|
14570
|
-
constructor(t
|
|
14571
|
-
super(), this.
|
|
14548
|
+
constructor(t) {
|
|
14549
|
+
super(), this.key_prefix = t;
|
|
14572
14550
|
}
|
|
14573
14551
|
static fromAmino(t) {
|
|
14574
|
-
|
|
14552
|
+
const { key_prefix: e } = t;
|
|
14553
|
+
return new vs(e);
|
|
14575
14554
|
}
|
|
14576
14555
|
toAmino() {
|
|
14577
|
-
|
|
14556
|
+
const { key_prefix: t } = this;
|
|
14557
|
+
return {
|
|
14558
|
+
key_prefix: t
|
|
14559
|
+
};
|
|
14578
14560
|
}
|
|
14579
14561
|
static fromData(t) {
|
|
14580
|
-
const {
|
|
14581
|
-
return new
|
|
14582
|
-
e,
|
|
14583
|
-
r,
|
|
14584
|
-
o,
|
|
14585
|
-
s ? w.fromData(s) : void 0,
|
|
14586
|
-
n
|
|
14587
|
-
);
|
|
14562
|
+
const { key_prefix: e } = t;
|
|
14563
|
+
return new vs(e);
|
|
14588
14564
|
}
|
|
14589
14565
|
toData() {
|
|
14590
|
-
const {
|
|
14566
|
+
const { key_prefix: t } = this;
|
|
14591
14567
|
return {
|
|
14592
|
-
|
|
14593
|
-
port_id: t,
|
|
14594
|
-
channel_id: e,
|
|
14595
|
-
proof_init: r,
|
|
14596
|
-
proof_height: o == null ? void 0 : o.toData(),
|
|
14597
|
-
signer: s
|
|
14568
|
+
key_prefix: t
|
|
14598
14569
|
};
|
|
14599
14570
|
}
|
|
14600
14571
|
static fromProto(t) {
|
|
14601
|
-
return new
|
|
14602
|
-
t.portId,
|
|
14603
|
-
t.channelId,
|
|
14604
|
-
Buffer.from(t.proofInit).toString("base64"),
|
|
14605
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14606
|
-
t.signer
|
|
14607
|
-
);
|
|
14572
|
+
return new vs(Buffer.from(t.keyPrefix).toString("base64"));
|
|
14608
14573
|
}
|
|
14609
14574
|
toProto() {
|
|
14610
|
-
const {
|
|
14611
|
-
return
|
|
14612
|
-
|
|
14613
|
-
channelId: e,
|
|
14614
|
-
proofInit: Buffer.from(r, "base64"),
|
|
14615
|
-
proofHeight: o == null ? void 0 : o.toProto(),
|
|
14616
|
-
signer: s
|
|
14617
|
-
});
|
|
14618
|
-
}
|
|
14619
|
-
packAny() {
|
|
14620
|
-
return l.fromPartial({
|
|
14621
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
14622
|
-
value: sc.encode(this.toProto()).finish()
|
|
14575
|
+
const { key_prefix: t } = this;
|
|
14576
|
+
return Sl.fromPartial({
|
|
14577
|
+
keyPrefix: Buffer.from(t, "base64")
|
|
14623
14578
|
});
|
|
14624
14579
|
}
|
|
14625
|
-
static unpackAny(t) {
|
|
14626
|
-
return Gs.fromProto(
|
|
14627
|
-
sc.decode(t.value)
|
|
14628
|
-
);
|
|
14629
|
-
}
|
|
14630
14580
|
}
|
|
14631
|
-
class
|
|
14581
|
+
class Om extends m {
|
|
14632
14582
|
/**
|
|
14633
|
-
* @param
|
|
14634
|
-
* @param proof_commitment
|
|
14635
|
-
* @param proof_height
|
|
14636
|
-
* @param signer signer address
|
|
14583
|
+
* @param hash
|
|
14637
14584
|
*/
|
|
14638
|
-
constructor(t
|
|
14639
|
-
super(), this.
|
|
14585
|
+
constructor(t) {
|
|
14586
|
+
super(), this.hash = t;
|
|
14640
14587
|
}
|
|
14641
14588
|
static fromAmino(t) {
|
|
14642
14589
|
throw new Error("Amino not supported");
|
|
@@ -14645,419 +14592,345 @@ class Ws extends m {
|
|
|
14645
14592
|
throw new Error("Amino not supported");
|
|
14646
14593
|
}
|
|
14647
14594
|
static fromData(t) {
|
|
14648
|
-
|
|
14649
|
-
return new Ws(
|
|
14650
|
-
e ? tt.fromData(e) : void 0,
|
|
14651
|
-
r,
|
|
14652
|
-
o ? w.fromData(o) : void 0,
|
|
14653
|
-
s
|
|
14654
|
-
);
|
|
14595
|
+
return new Om(t.hash);
|
|
14655
14596
|
}
|
|
14656
14597
|
toData() {
|
|
14657
|
-
const { packet: t, proof_commitment: e, proof_height: r, signer: o } = this;
|
|
14658
14598
|
return {
|
|
14659
|
-
|
|
14660
|
-
packet: t == null ? void 0 : t.toData(),
|
|
14661
|
-
proof_commitment: e,
|
|
14662
|
-
proof_height: r == null ? void 0 : r.toData(),
|
|
14663
|
-
signer: o
|
|
14599
|
+
hash: this.hash
|
|
14664
14600
|
};
|
|
14665
14601
|
}
|
|
14666
14602
|
static fromProto(t) {
|
|
14667
|
-
return new
|
|
14668
|
-
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
14669
|
-
Buffer.from(t.proofCommitment).toString("base64"),
|
|
14670
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14671
|
-
t.signer
|
|
14672
|
-
);
|
|
14603
|
+
return new Om(Buffer.from(t.hash).toString("base64"));
|
|
14673
14604
|
}
|
|
14674
14605
|
toProto() {
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
packet: t == null ? void 0 : t.toProto(),
|
|
14678
|
-
proofCommitment: Buffer.from(e, "base64"),
|
|
14679
|
-
proofHeight: r == null ? void 0 : r.toProto(),
|
|
14680
|
-
signer: o
|
|
14681
|
-
});
|
|
14682
|
-
}
|
|
14683
|
-
packAny() {
|
|
14684
|
-
return l.fromPartial({
|
|
14685
|
-
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
14686
|
-
value: nc.encode(this.toProto()).finish()
|
|
14606
|
+
return Il.fromPartial({
|
|
14607
|
+
hash: Buffer.from(this.hash, "base64")
|
|
14687
14608
|
});
|
|
14688
14609
|
}
|
|
14689
|
-
static unpackAny(t) {
|
|
14690
|
-
return Ws.fromProto(nc.decode(t.value));
|
|
14691
|
-
}
|
|
14692
14610
|
}
|
|
14693
|
-
class
|
|
14611
|
+
class it extends m {
|
|
14694
14612
|
/**
|
|
14695
|
-
* @param
|
|
14696
|
-
* @param
|
|
14697
|
-
* @param
|
|
14698
|
-
* @param proof_height
|
|
14699
|
-
* @param signer signer address
|
|
14613
|
+
* @param client_id identifies the client on the ConnectionCounterparty chain associated with a given connection.
|
|
14614
|
+
* @param connection_id identifies the connection end on the ConnectionCounterparty chain associated with a given connection.
|
|
14615
|
+
* @param prefix commitment merkle prefix of the ConnectionCounterparty chain.
|
|
14700
14616
|
*/
|
|
14701
|
-
constructor(t, e, r
|
|
14702
|
-
super(), this.
|
|
14617
|
+
constructor(t, e, r) {
|
|
14618
|
+
super(), this.client_id = t, this.connection_id = e, this.prefix = r;
|
|
14703
14619
|
}
|
|
14704
14620
|
static fromAmino(t) {
|
|
14705
|
-
|
|
14621
|
+
const { client_id: e, connection_id: r, prefix: o } = t;
|
|
14622
|
+
return new it(
|
|
14623
|
+
e,
|
|
14624
|
+
r,
|
|
14625
|
+
o ? vs.fromAmino(o) : void 0
|
|
14626
|
+
);
|
|
14706
14627
|
}
|
|
14707
14628
|
toAmino() {
|
|
14708
|
-
|
|
14629
|
+
const { client_id: t, connection_id: e, prefix: r } = this;
|
|
14630
|
+
return {
|
|
14631
|
+
client_id: t,
|
|
14632
|
+
connection_id: e,
|
|
14633
|
+
prefix: r
|
|
14634
|
+
};
|
|
14709
14635
|
}
|
|
14710
14636
|
static fromData(t) {
|
|
14711
|
-
const {
|
|
14712
|
-
return new
|
|
14713
|
-
e
|
|
14714
|
-
o,
|
|
14637
|
+
const { client_id: e, connection_id: r, prefix: o } = t;
|
|
14638
|
+
return new it(
|
|
14639
|
+
e,
|
|
14715
14640
|
r,
|
|
14716
|
-
|
|
14717
|
-
n
|
|
14641
|
+
o ? vs.fromData(o) : void 0
|
|
14718
14642
|
);
|
|
14719
14643
|
}
|
|
14720
14644
|
toData() {
|
|
14721
|
-
const {
|
|
14645
|
+
const { client_id: t, connection_id: e, prefix: r } = this;
|
|
14722
14646
|
return {
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
proof_acked: r,
|
|
14727
|
-
proof_height: o == null ? void 0 : o.toData(),
|
|
14728
|
-
signer: s
|
|
14647
|
+
client_id: t,
|
|
14648
|
+
connection_id: e,
|
|
14649
|
+
prefix: r == null ? void 0 : r.toData()
|
|
14729
14650
|
};
|
|
14730
14651
|
}
|
|
14731
14652
|
static fromProto(t) {
|
|
14732
|
-
return new
|
|
14733
|
-
t.
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14737
|
-
t.signer
|
|
14653
|
+
return new it(
|
|
14654
|
+
t.clientId,
|
|
14655
|
+
t.connectionId,
|
|
14656
|
+
t.prefix ? vs.fromProto(t.prefix) : void 0
|
|
14738
14657
|
);
|
|
14739
14658
|
}
|
|
14740
14659
|
toProto() {
|
|
14741
|
-
const {
|
|
14742
|
-
return
|
|
14743
|
-
|
|
14744
|
-
|
|
14745
|
-
|
|
14746
|
-
proofHeight: o == null ? void 0 : o.toProto(),
|
|
14747
|
-
signer: s
|
|
14748
|
-
});
|
|
14749
|
-
}
|
|
14750
|
-
packAny() {
|
|
14751
|
-
return l.fromPartial({
|
|
14752
|
-
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
14753
|
-
value: ac.encode(this.toProto()).finish()
|
|
14660
|
+
const { client_id: t, connection_id: e, prefix: r } = this;
|
|
14661
|
+
return Nl.fromPartial({
|
|
14662
|
+
clientId: t,
|
|
14663
|
+
connectionId: e,
|
|
14664
|
+
prefix: r == null ? void 0 : r.toProto()
|
|
14754
14665
|
});
|
|
14755
14666
|
}
|
|
14756
|
-
static unpackAny(t) {
|
|
14757
|
-
return js.fromProto(
|
|
14758
|
-
ac.decode(t.value)
|
|
14759
|
-
);
|
|
14760
|
-
}
|
|
14761
14667
|
}
|
|
14762
|
-
class
|
|
14668
|
+
class Y extends m {
|
|
14763
14669
|
/**
|
|
14764
|
-
* @param
|
|
14765
|
-
* @param
|
|
14766
|
-
* @param proof_height
|
|
14767
|
-
* @param next_seuqnce_recv
|
|
14768
|
-
* @param signer signer address
|
|
14670
|
+
* @param identifier unique version identifier
|
|
14671
|
+
* @param features list of features compatible with the specified identifier
|
|
14769
14672
|
*/
|
|
14770
|
-
constructor(t, e
|
|
14771
|
-
super(), this.
|
|
14673
|
+
constructor(t, e) {
|
|
14674
|
+
super(), this.identifier = t, this.features = e;
|
|
14772
14675
|
}
|
|
14773
14676
|
static fromAmino(t) {
|
|
14774
|
-
|
|
14677
|
+
const { identifier: e, features: r } = t;
|
|
14678
|
+
return new Y(e, r);
|
|
14775
14679
|
}
|
|
14776
14680
|
toAmino() {
|
|
14777
|
-
|
|
14681
|
+
const { identifier: t, features: e } = this;
|
|
14682
|
+
return {
|
|
14683
|
+
identifier: t,
|
|
14684
|
+
features: e
|
|
14685
|
+
};
|
|
14778
14686
|
}
|
|
14779
14687
|
static fromData(t) {
|
|
14780
|
-
const {
|
|
14781
|
-
|
|
14782
|
-
proof_unreceived: r,
|
|
14783
|
-
proof_height: o,
|
|
14784
|
-
next_sequence_recv: s,
|
|
14785
|
-
signer: n
|
|
14786
|
-
} = t;
|
|
14787
|
-
return new Js(
|
|
14788
|
-
e ? tt.fromData(e) : void 0,
|
|
14789
|
-
r,
|
|
14790
|
-
o ? w.fromData(o) : void 0,
|
|
14791
|
-
Number.parseInt(s),
|
|
14792
|
-
n
|
|
14793
|
-
);
|
|
14688
|
+
const { identifier: e, features: r } = t;
|
|
14689
|
+
return new Y(e, r);
|
|
14794
14690
|
}
|
|
14795
14691
|
toData() {
|
|
14796
|
-
const {
|
|
14797
|
-
packet: t,
|
|
14798
|
-
proof_unreceived: e,
|
|
14799
|
-
proof_height: r,
|
|
14800
|
-
next_sequence_recv: o,
|
|
14801
|
-
signer: s
|
|
14802
|
-
} = this;
|
|
14692
|
+
const { identifier: t, features: e } = this;
|
|
14803
14693
|
return {
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
proof_unreceived: e,
|
|
14807
|
-
proof_height: r == null ? void 0 : r.toData(),
|
|
14808
|
-
next_sequence_recv: o.toFixed(),
|
|
14809
|
-
signer: s
|
|
14694
|
+
identifier: t,
|
|
14695
|
+
features: e
|
|
14810
14696
|
};
|
|
14811
14697
|
}
|
|
14812
14698
|
static fromProto(t) {
|
|
14813
|
-
return new
|
|
14814
|
-
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
14815
|
-
Buffer.from(t.proofUnreceived).toString("base64"),
|
|
14816
|
-
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14817
|
-
t.nextSequenceRecv.toNumber(),
|
|
14818
|
-
t.signer
|
|
14819
|
-
);
|
|
14699
|
+
return new Y(t.identifier, t.features);
|
|
14820
14700
|
}
|
|
14821
14701
|
toProto() {
|
|
14822
|
-
const {
|
|
14823
|
-
|
|
14824
|
-
proof_unreceived: e,
|
|
14825
|
-
proof_height: r,
|
|
14826
|
-
next_sequence_recv: o,
|
|
14827
|
-
signer: s
|
|
14828
|
-
} = this;
|
|
14829
|
-
return ic.fromPartial({
|
|
14830
|
-
packet: t == null ? void 0 : t.toProto(),
|
|
14831
|
-
proofUnreceived: Buffer.from(e, "base64"),
|
|
14832
|
-
proofHeight: r == null ? void 0 : r.toProto(),
|
|
14833
|
-
nextSequenceRecv: f.fromNumber(o),
|
|
14834
|
-
signer: s
|
|
14835
|
-
});
|
|
14836
|
-
}
|
|
14837
|
-
packAny() {
|
|
14838
|
-
return l.fromPartial({
|
|
14839
|
-
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
14840
|
-
value: ic.encode(this.toProto()).finish()
|
|
14841
|
-
});
|
|
14842
|
-
}
|
|
14843
|
-
static unpackAny(t) {
|
|
14844
|
-
return Js.fromProto(ic.decode(t.value));
|
|
14702
|
+
const { identifier: t, features: e } = this;
|
|
14703
|
+
return Ul.fromPartial({ identifier: t, features: e });
|
|
14845
14704
|
}
|
|
14846
14705
|
}
|
|
14847
|
-
class
|
|
14706
|
+
class Ws extends m {
|
|
14848
14707
|
/**
|
|
14849
|
-
* @param
|
|
14850
|
-
* @param
|
|
14851
|
-
* @param
|
|
14852
|
-
* @param
|
|
14853
|
-
* @param
|
|
14854
|
-
* @param
|
|
14708
|
+
* @param id connection identifier
|
|
14709
|
+
* @param client_id client associated with this connection.
|
|
14710
|
+
* @param versions IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection
|
|
14711
|
+
* @param state current state of the connection end
|
|
14712
|
+
* @param counterparty counterparty chain associated with this connection
|
|
14713
|
+
* @param delay_period delay period associated with this connection
|
|
14855
14714
|
*/
|
|
14856
14715
|
constructor(t, e, r, o, s, n) {
|
|
14857
|
-
super(), this.
|
|
14716
|
+
super(), this.id = t, this.client_id = e, this.versions = r, this.state = o, this.counterparty = s, this.delay_period = n;
|
|
14858
14717
|
}
|
|
14859
14718
|
static fromAmino(t) {
|
|
14860
|
-
|
|
14719
|
+
const { id: e, client_id: r, versions: o, state: s, counterparty: n, delay_period: a } = t;
|
|
14720
|
+
return new Ws(
|
|
14721
|
+
e,
|
|
14722
|
+
r,
|
|
14723
|
+
o.map(Y.fromAmino),
|
|
14724
|
+
su(s),
|
|
14725
|
+
n ? it.fromAmino(n) : void 0,
|
|
14726
|
+
Number.parseInt(a)
|
|
14727
|
+
);
|
|
14861
14728
|
}
|
|
14862
14729
|
toAmino() {
|
|
14863
|
-
|
|
14730
|
+
const { id: t, client_id: e, versions: r, state: o, counterparty: s, delay_period: n } = this;
|
|
14731
|
+
return {
|
|
14732
|
+
id: t,
|
|
14733
|
+
client_id: e,
|
|
14734
|
+
versions: r.map((c) => c.toAmino()),
|
|
14735
|
+
state: nu(o),
|
|
14736
|
+
counterparty: s == null ? void 0 : s.toAmino(),
|
|
14737
|
+
delay_period: n.toFixed()
|
|
14738
|
+
};
|
|
14864
14739
|
}
|
|
14865
14740
|
static fromData(t) {
|
|
14866
|
-
const {
|
|
14867
|
-
|
|
14868
|
-
|
|
14869
|
-
proof_close: o,
|
|
14870
|
-
proof_height: s,
|
|
14871
|
-
next_sequence_recv: n,
|
|
14872
|
-
signer: a
|
|
14873
|
-
} = t;
|
|
14874
|
-
return new Qs(
|
|
14875
|
-
e ? tt.fromData(e) : void 0,
|
|
14876
|
-
o,
|
|
14741
|
+
const { id: e, client_id: r, versions: o, state: s, counterparty: n, delay_period: a } = t;
|
|
14742
|
+
return new Ws(
|
|
14743
|
+
e,
|
|
14877
14744
|
r,
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
-
|
|
14745
|
+
o.map(Y.fromData),
|
|
14746
|
+
su(s),
|
|
14747
|
+
n ? it.fromData(n) : void 0,
|
|
14748
|
+
Number.parseInt(a)
|
|
14881
14749
|
);
|
|
14882
14750
|
}
|
|
14883
14751
|
toData() {
|
|
14884
|
-
const {
|
|
14885
|
-
packet: t,
|
|
14886
|
-
proof_unreceived: e,
|
|
14887
|
-
proof_close: r,
|
|
14888
|
-
proof_height: o,
|
|
14889
|
-
next_sequence_recv: s,
|
|
14890
|
-
signer: n
|
|
14891
|
-
} = this;
|
|
14752
|
+
const { id: t, client_id: e, versions: r, state: o, counterparty: s, delay_period: n } = this;
|
|
14892
14753
|
return {
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
signer: n
|
|
14754
|
+
id: t,
|
|
14755
|
+
client_id: e,
|
|
14756
|
+
versions: r.map((c) => c.toData()),
|
|
14757
|
+
state: nu(o),
|
|
14758
|
+
counterparty: s == null ? void 0 : s.toData(),
|
|
14759
|
+
delay_period: n.toFixed()
|
|
14900
14760
|
};
|
|
14901
14761
|
}
|
|
14902
14762
|
static fromProto(t) {
|
|
14903
|
-
return new
|
|
14904
|
-
t.
|
|
14905
|
-
|
|
14906
|
-
|
|
14907
|
-
t.
|
|
14908
|
-
t.
|
|
14909
|
-
t.
|
|
14763
|
+
return new Ws(
|
|
14764
|
+
t.id,
|
|
14765
|
+
t.clientId,
|
|
14766
|
+
t.versions.map(Y.fromProto),
|
|
14767
|
+
t.state,
|
|
14768
|
+
t.counterparty ? it.fromProto(t.counterparty) : void 0,
|
|
14769
|
+
t.delayPeriod.toNumber()
|
|
14910
14770
|
);
|
|
14911
14771
|
}
|
|
14912
14772
|
toProto() {
|
|
14913
|
-
const {
|
|
14914
|
-
|
|
14915
|
-
|
|
14916
|
-
|
|
14917
|
-
|
|
14918
|
-
|
|
14919
|
-
|
|
14920
|
-
|
|
14921
|
-
return cc.fromPartial({
|
|
14922
|
-
packet: t == null ? void 0 : t.toProto(),
|
|
14923
|
-
proofUnreceived: Buffer.from(e, "base64"),
|
|
14924
|
-
proofClose: Buffer.from(r, "base64"),
|
|
14925
|
-
proofHeight: o == null ? void 0 : o.toProto(),
|
|
14926
|
-
nextSequenceRecv: f.fromNumber(s),
|
|
14927
|
-
signer: n
|
|
14928
|
-
});
|
|
14929
|
-
}
|
|
14930
|
-
packAny() {
|
|
14931
|
-
return l.fromPartial({
|
|
14932
|
-
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
14933
|
-
value: cc.encode(this.toProto()).finish()
|
|
14773
|
+
const { id: t, client_id: e, versions: r, state: o, counterparty: s, delay_period: n } = this;
|
|
14774
|
+
return Cl.fromPartial({
|
|
14775
|
+
id: t,
|
|
14776
|
+
clientId: e,
|
|
14777
|
+
versions: r.map((a) => a.toProto()),
|
|
14778
|
+
state: o,
|
|
14779
|
+
counterparty: s == null ? void 0 : s.toProto(),
|
|
14780
|
+
delayPeriod: f.fromNumber(n)
|
|
14934
14781
|
});
|
|
14935
14782
|
}
|
|
14936
|
-
static unpackAny(t) {
|
|
14937
|
-
return Qs.fromProto(
|
|
14938
|
-
cc.decode(t.value)
|
|
14939
|
-
);
|
|
14940
|
-
}
|
|
14941
14783
|
}
|
|
14942
|
-
class
|
|
14784
|
+
class js extends m {
|
|
14943
14785
|
/**
|
|
14944
|
-
* @param
|
|
14945
|
-
* @param params params defines the channel parameters to update
|
|
14786
|
+
* @param max_expected_time_per_block maximum expected time per block (in nanoseconds), used to enforce block delay
|
|
14946
14787
|
*/
|
|
14947
|
-
constructor(t
|
|
14948
|
-
super(), this.
|
|
14788
|
+
constructor(t) {
|
|
14789
|
+
super(), this.max_expected_time_per_block = t;
|
|
14949
14790
|
}
|
|
14950
14791
|
static fromAmino(t) {
|
|
14951
|
-
|
|
14792
|
+
const { max_expected_time_per_block: e } = t;
|
|
14793
|
+
return new js(Number.parseInt(e));
|
|
14952
14794
|
}
|
|
14953
14795
|
toAmino() {
|
|
14954
|
-
|
|
14796
|
+
const { max_expected_time_per_block: t } = this;
|
|
14797
|
+
return {
|
|
14798
|
+
max_expected_time_per_block: t.toString()
|
|
14799
|
+
};
|
|
14955
14800
|
}
|
|
14956
14801
|
static fromData(t) {
|
|
14957
|
-
const {
|
|
14958
|
-
return new
|
|
14959
|
-
e,
|
|
14960
|
-
Fs.fromData(r)
|
|
14961
|
-
);
|
|
14802
|
+
const { max_expected_time_per_block: e } = t;
|
|
14803
|
+
return new js(Number.parseInt(e));
|
|
14962
14804
|
}
|
|
14963
14805
|
toData() {
|
|
14964
|
-
const {
|
|
14806
|
+
const { max_expected_time_per_block: t } = this;
|
|
14965
14807
|
return {
|
|
14966
|
-
|
|
14967
|
-
authority: t,
|
|
14968
|
-
params: e.toData()
|
|
14808
|
+
max_expected_time_per_block: t.toString()
|
|
14969
14809
|
};
|
|
14970
14810
|
}
|
|
14971
14811
|
static fromProto(t) {
|
|
14972
|
-
return new
|
|
14973
|
-
t.authority,
|
|
14974
|
-
Fs.fromProto(t.params)
|
|
14975
|
-
);
|
|
14812
|
+
return new js(t.maxExpectedTimePerBlock.toNumber());
|
|
14976
14813
|
}
|
|
14977
14814
|
toProto() {
|
|
14978
|
-
const {
|
|
14979
|
-
return
|
|
14980
|
-
|
|
14981
|
-
params: e.toProto()
|
|
14982
|
-
});
|
|
14983
|
-
}
|
|
14984
|
-
packAny() {
|
|
14985
|
-
return l.fromPartial({
|
|
14986
|
-
typeUrl: "/ibc.core.channel.v1.MsgUpdateParams",
|
|
14987
|
-
value: mc.encode(this.toProto()).finish()
|
|
14815
|
+
const { max_expected_time_per_block: t } = this;
|
|
14816
|
+
return $l.fromPartial({
|
|
14817
|
+
maxExpectedTimePerBlock: f.fromNumber(t)
|
|
14988
14818
|
});
|
|
14989
14819
|
}
|
|
14990
|
-
static unpackAny(t) {
|
|
14991
|
-
return Ys.fromProto(
|
|
14992
|
-
mc.decode(t.value)
|
|
14993
|
-
);
|
|
14994
|
-
}
|
|
14995
14820
|
}
|
|
14996
|
-
class
|
|
14821
|
+
class Js extends m {
|
|
14997
14822
|
/**
|
|
14998
|
-
* @param
|
|
14999
|
-
* @param
|
|
14823
|
+
* @param port_id identifier of the port to use
|
|
14824
|
+
* @param previous_channel_id
|
|
14825
|
+
* @param channel channel info
|
|
14826
|
+
* @param counterparty_version
|
|
14827
|
+
* @param proof_init
|
|
14828
|
+
* @param proof_height
|
|
15000
14829
|
* @param signer signer address
|
|
15001
14830
|
*/
|
|
15002
|
-
constructor(e, r, o) {
|
|
15003
|
-
super();
|
|
15004
|
-
p(this, "client_state");
|
|
15005
|
-
p(this, "consensus_state");
|
|
15006
|
-
p(this, "signer");
|
|
15007
|
-
this.client_state = e, this.consensus_state = r, this.signer = o;
|
|
14831
|
+
constructor(t, e, r, o, s, n, a) {
|
|
14832
|
+
super(), this.port_id = t, this.previous_channel_id = e, this.channel = r, this.counterparty_version = o, this.proof_init = s, this.proof_height = n, this.signer = a;
|
|
15008
14833
|
}
|
|
15009
|
-
static fromAmino(
|
|
14834
|
+
static fromAmino(t) {
|
|
15010
14835
|
throw new Error("Amino not supported");
|
|
15011
14836
|
}
|
|
15012
14837
|
toAmino() {
|
|
15013
14838
|
throw new Error("Amino not supported");
|
|
15014
14839
|
}
|
|
15015
|
-
static fromData(
|
|
15016
|
-
const {
|
|
15017
|
-
|
|
14840
|
+
static fromData(t) {
|
|
14841
|
+
const {
|
|
14842
|
+
port_id: e,
|
|
14843
|
+
previous_channel_id: r,
|
|
14844
|
+
channel: o,
|
|
14845
|
+
counterparty_version: s,
|
|
14846
|
+
proof_init: n,
|
|
14847
|
+
proof_height: a,
|
|
14848
|
+
signer: c
|
|
14849
|
+
} = t;
|
|
14850
|
+
return new Js(
|
|
14851
|
+
e,
|
|
14852
|
+
r,
|
|
14853
|
+
o ? at.fromData(o) : void 0,
|
|
14854
|
+
s,
|
|
14855
|
+
n,
|
|
14856
|
+
a ? w.fromData(a) : void 0,
|
|
14857
|
+
c
|
|
14858
|
+
);
|
|
15018
14859
|
}
|
|
15019
14860
|
toData() {
|
|
15020
|
-
const {
|
|
14861
|
+
const {
|
|
14862
|
+
port_id: t,
|
|
14863
|
+
previous_channel_id: e,
|
|
14864
|
+
channel: r,
|
|
14865
|
+
counterparty_version: o,
|
|
14866
|
+
proof_init: s,
|
|
14867
|
+
proof_height: n,
|
|
14868
|
+
signer: a
|
|
14869
|
+
} = this;
|
|
15021
14870
|
return {
|
|
15022
|
-
"@type": "/ibc.core.
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
14871
|
+
"@type": "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
14872
|
+
port_id: t,
|
|
14873
|
+
previous_channel_id: e,
|
|
14874
|
+
channel: r == null ? void 0 : r.toData(),
|
|
14875
|
+
counterparty_version: o,
|
|
14876
|
+
proof_init: s,
|
|
14877
|
+
proof_height: n == null ? void 0 : n.toData(),
|
|
14878
|
+
signer: a
|
|
15026
14879
|
};
|
|
15027
14880
|
}
|
|
15028
|
-
static fromProto(
|
|
15029
|
-
return new
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
14881
|
+
static fromProto(t) {
|
|
14882
|
+
return new Js(
|
|
14883
|
+
t.portId,
|
|
14884
|
+
t.previousChannelId,
|
|
14885
|
+
t.channel ? at.fromProto(t.channel) : void 0,
|
|
14886
|
+
t.counterpartyVersion,
|
|
14887
|
+
Buffer.from(t.proofInit).toString("base64"),
|
|
14888
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
14889
|
+
t.signer
|
|
15033
14890
|
);
|
|
15034
14891
|
}
|
|
15035
14892
|
toProto() {
|
|
15036
|
-
const {
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
14893
|
+
const {
|
|
14894
|
+
port_id: t,
|
|
14895
|
+
previous_channel_id: e,
|
|
14896
|
+
channel: r,
|
|
14897
|
+
counterparty_version: o,
|
|
14898
|
+
proof_init: s,
|
|
14899
|
+
proof_height: n,
|
|
14900
|
+
signer: a
|
|
14901
|
+
} = this;
|
|
14902
|
+
return tc.fromPartial({
|
|
14903
|
+
portId: t,
|
|
14904
|
+
previousChannelId: e,
|
|
14905
|
+
channel: r == null ? void 0 : r.toProto(),
|
|
14906
|
+
counterpartyVersion: o,
|
|
14907
|
+
proofInit: Buffer.from(s, "base64"),
|
|
14908
|
+
proofHeight: n == null ? void 0 : n.toProto(),
|
|
14909
|
+
signer: a
|
|
15041
14910
|
});
|
|
15042
14911
|
}
|
|
15043
14912
|
packAny() {
|
|
15044
14913
|
return l.fromPartial({
|
|
15045
|
-
typeUrl: "/ibc.core.
|
|
15046
|
-
value:
|
|
14914
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
14915
|
+
value: tc.encode(this.toProto()).finish()
|
|
15047
14916
|
});
|
|
15048
14917
|
}
|
|
15049
|
-
static unpackAny(
|
|
15050
|
-
return
|
|
14918
|
+
static unpackAny(t) {
|
|
14919
|
+
return Js.fromProto(
|
|
14920
|
+
tc.decode(t.value)
|
|
14921
|
+
);
|
|
15051
14922
|
}
|
|
15052
14923
|
}
|
|
15053
|
-
class
|
|
14924
|
+
class Qs extends m {
|
|
15054
14925
|
/**
|
|
15055
|
-
* @param
|
|
15056
|
-
* @param
|
|
14926
|
+
* @param port_id identifier of the port to use
|
|
14927
|
+
* @param channel_id
|
|
14928
|
+
* @param proof_ack
|
|
14929
|
+
* @param proof_height
|
|
15057
14930
|
* @param signer signer address
|
|
15058
14931
|
*/
|
|
15059
|
-
constructor(t, e, r) {
|
|
15060
|
-
super(), this.
|
|
14932
|
+
constructor(t, e, r, o, s) {
|
|
14933
|
+
super(), this.port_id = t, this.channel_id = e, this.proof_ack = r, this.proof_height = o, this.signer = s;
|
|
15061
14934
|
}
|
|
15062
14935
|
static fromAmino(t) {
|
|
15063
14936
|
throw new Error("Amino not supported");
|
|
@@ -15066,54 +14939,69 @@ class Xs extends m {
|
|
|
15066
14939
|
throw new Error("Amino not supported");
|
|
15067
14940
|
}
|
|
15068
14941
|
static fromData(t) {
|
|
15069
|
-
const {
|
|
15070
|
-
return new
|
|
14942
|
+
const { port_id: e, channel_id: r, proof_ack: o, proof_height: s, signer: n } = t;
|
|
14943
|
+
return new Qs(
|
|
14944
|
+
e,
|
|
14945
|
+
r,
|
|
14946
|
+
o,
|
|
14947
|
+
s ? w.fromData(s) : void 0,
|
|
14948
|
+
n
|
|
14949
|
+
);
|
|
15071
14950
|
}
|
|
15072
14951
|
toData() {
|
|
15073
|
-
const {
|
|
14952
|
+
const { port_id: t, channel_id: e, proof_ack: r, proof_height: o, signer: s } = this;
|
|
15074
14953
|
return {
|
|
15075
|
-
"@type": "/ibc.core.
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
14954
|
+
"@type": "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
14955
|
+
port_id: t,
|
|
14956
|
+
channel_id: e,
|
|
14957
|
+
proof_ack: r,
|
|
14958
|
+
proof_height: o == null ? void 0 : o.toData(),
|
|
14959
|
+
signer: s
|
|
15079
14960
|
};
|
|
15080
14961
|
}
|
|
15081
14962
|
static fromProto(t) {
|
|
15082
|
-
return new
|
|
15083
|
-
t.
|
|
15084
|
-
t.
|
|
14963
|
+
return new Qs(
|
|
14964
|
+
t.portId,
|
|
14965
|
+
t.channelId,
|
|
14966
|
+
Buffer.from(t.proofAck).toString("base64"),
|
|
14967
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15085
14968
|
t.signer
|
|
15086
14969
|
);
|
|
15087
14970
|
}
|
|
15088
14971
|
toProto() {
|
|
15089
|
-
const {
|
|
15090
|
-
return
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
14972
|
+
const { port_id: t, channel_id: e, proof_ack: r, proof_height: o, signer: s } = this;
|
|
14973
|
+
return ec.fromPartial({
|
|
14974
|
+
portId: t,
|
|
14975
|
+
channelId: e,
|
|
14976
|
+
proofAck: Buffer.from(r, "base64"),
|
|
14977
|
+
proofHeight: o == null ? void 0 : o.toProto(),
|
|
14978
|
+
signer: s
|
|
15094
14979
|
});
|
|
15095
14980
|
}
|
|
15096
14981
|
packAny() {
|
|
15097
14982
|
return l.fromPartial({
|
|
15098
|
-
typeUrl: "/ibc.core.
|
|
15099
|
-
value:
|
|
14983
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
14984
|
+
value: ec.encode(this.toProto()).finish()
|
|
15100
14985
|
});
|
|
15101
14986
|
}
|
|
15102
14987
|
static unpackAny(t) {
|
|
15103
|
-
return
|
|
14988
|
+
return Qs.fromProto(
|
|
14989
|
+
ec.decode(t.value)
|
|
14990
|
+
);
|
|
15104
14991
|
}
|
|
15105
14992
|
}
|
|
15106
|
-
class
|
|
14993
|
+
class Ys extends m {
|
|
15107
14994
|
/**
|
|
15108
|
-
* @param
|
|
15109
|
-
* @param
|
|
15110
|
-
* @param
|
|
15111
|
-
* @param
|
|
15112
|
-
* @param
|
|
14995
|
+
* @param port_id identifier of the port to use
|
|
14996
|
+
* @param channel_id
|
|
14997
|
+
* @param counterparty_channel_id
|
|
14998
|
+
* @param counterparty_version
|
|
14999
|
+
* @param proof_try
|
|
15000
|
+
* @param proof_height
|
|
15113
15001
|
* @param signer signer address
|
|
15114
15002
|
*/
|
|
15115
|
-
constructor(t, e, r, o, s, n) {
|
|
15116
|
-
super(), this.
|
|
15003
|
+
constructor(t, e, r, o, s, n, a) {
|
|
15004
|
+
super(), this.port_id = t, this.channel_id = e, this.counterparty_channel_id = r, this.counterparty_version = o, this.proof_try = s, this.proof_height = n, this.signer = a;
|
|
15117
15005
|
}
|
|
15118
15006
|
static fromAmino(t) {
|
|
15119
15007
|
throw new Error("Amino not supported");
|
|
@@ -15123,90 +15011,96 @@ class tn extends m {
|
|
|
15123
15011
|
}
|
|
15124
15012
|
static fromData(t) {
|
|
15125
15013
|
const {
|
|
15126
|
-
|
|
15127
|
-
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
15131
|
-
|
|
15014
|
+
port_id: e,
|
|
15015
|
+
channel_id: r,
|
|
15016
|
+
counterparty_channel_id: o,
|
|
15017
|
+
counterparty_version: s,
|
|
15018
|
+
proof_try: n,
|
|
15019
|
+
proof_height: a,
|
|
15020
|
+
signer: c
|
|
15132
15021
|
} = t;
|
|
15133
|
-
return new
|
|
15022
|
+
return new Ys(
|
|
15134
15023
|
e,
|
|
15135
15024
|
r,
|
|
15136
15025
|
o,
|
|
15137
15026
|
s,
|
|
15138
15027
|
n,
|
|
15139
|
-
a
|
|
15028
|
+
a ? w.fromData(a) : void 0,
|
|
15029
|
+
c
|
|
15140
15030
|
);
|
|
15141
15031
|
}
|
|
15142
15032
|
toData() {
|
|
15143
15033
|
const {
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15034
|
+
port_id: t,
|
|
15035
|
+
channel_id: e,
|
|
15036
|
+
counterparty_channel_id: r,
|
|
15037
|
+
counterparty_version: o,
|
|
15038
|
+
proof_try: s,
|
|
15039
|
+
proof_height: n,
|
|
15040
|
+
signer: a
|
|
15150
15041
|
} = this;
|
|
15151
15042
|
return {
|
|
15152
|
-
"@type": "/ibc.core.
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15043
|
+
"@type": "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
15044
|
+
port_id: t,
|
|
15045
|
+
channel_id: e,
|
|
15046
|
+
counterparty_channel_id: r,
|
|
15047
|
+
counterparty_version: o,
|
|
15048
|
+
proof_try: s,
|
|
15049
|
+
proof_height: n == null ? void 0 : n.toData(),
|
|
15050
|
+
signer: a
|
|
15159
15051
|
};
|
|
15160
15052
|
}
|
|
15161
15053
|
static fromProto(t) {
|
|
15162
|
-
return new
|
|
15163
|
-
t.
|
|
15164
|
-
t.
|
|
15165
|
-
t.
|
|
15166
|
-
|
|
15167
|
-
Buffer.from(t.
|
|
15054
|
+
return new Ys(
|
|
15055
|
+
t.portId,
|
|
15056
|
+
t.channelId,
|
|
15057
|
+
t.counterpartyChannelId,
|
|
15058
|
+
t.counterpartyVersion,
|
|
15059
|
+
Buffer.from(t.proofTry).toString("base64"),
|
|
15060
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15168
15061
|
t.signer
|
|
15169
15062
|
);
|
|
15170
15063
|
}
|
|
15171
15064
|
toProto() {
|
|
15172
15065
|
const {
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
signer: n
|
|
15066
|
+
port_id: t,
|
|
15067
|
+
channel_id: e,
|
|
15068
|
+
counterparty_channel_id: r,
|
|
15069
|
+
counterparty_version: o,
|
|
15070
|
+
proof_try: s,
|
|
15071
|
+
proof_height: n,
|
|
15072
|
+
signer: a
|
|
15073
|
+
} = this;
|
|
15074
|
+
return rc.fromPartial({
|
|
15075
|
+
portId: t,
|
|
15076
|
+
channelId: e,
|
|
15077
|
+
counterpartyChannelId: r,
|
|
15078
|
+
counterpartyVersion: o,
|
|
15079
|
+
proofTry: Buffer.from(s, "base64"),
|
|
15080
|
+
proofHeight: n == null ? void 0 : n.toProto(),
|
|
15081
|
+
signer: a
|
|
15190
15082
|
});
|
|
15191
15083
|
}
|
|
15192
15084
|
packAny() {
|
|
15193
15085
|
return l.fromPartial({
|
|
15194
|
-
typeUrl: "/ibc.core.
|
|
15195
|
-
value:
|
|
15086
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
15087
|
+
value: rc.encode(this.toProto()).finish()
|
|
15196
15088
|
});
|
|
15197
15089
|
}
|
|
15198
15090
|
static unpackAny(t) {
|
|
15199
|
-
return
|
|
15091
|
+
return Ys.fromProto(
|
|
15092
|
+
rc.decode(t.value)
|
|
15093
|
+
);
|
|
15200
15094
|
}
|
|
15201
15095
|
}
|
|
15202
|
-
class
|
|
15096
|
+
class Zs extends m {
|
|
15203
15097
|
/**
|
|
15204
|
-
* @param
|
|
15205
|
-
* @param
|
|
15098
|
+
* @param port_id identifier of the port to use
|
|
15099
|
+
* @param channel channel info
|
|
15206
15100
|
* @param signer signer address
|
|
15207
15101
|
*/
|
|
15208
15102
|
constructor(t, e, r) {
|
|
15209
|
-
super(), this.
|
|
15103
|
+
super(), this.port_id = t, this.channel_id = e, this.signer = r;
|
|
15210
15104
|
}
|
|
15211
15105
|
static fromAmino(t) {
|
|
15212
15106
|
throw new Error("Amino not supported");
|
|
@@ -15215,53 +15109,51 @@ class en extends m {
|
|
|
15215
15109
|
throw new Error("Amino not supported");
|
|
15216
15110
|
}
|
|
15217
15111
|
static fromData(t) {
|
|
15218
|
-
const {
|
|
15219
|
-
return new
|
|
15112
|
+
const { port_id: e, channel_id: r, signer: o } = t;
|
|
15113
|
+
return new Zs(e, r, o);
|
|
15220
15114
|
}
|
|
15221
15115
|
toData() {
|
|
15222
|
-
const {
|
|
15116
|
+
const { port_id: t, channel_id: e, signer: r } = this;
|
|
15223
15117
|
return {
|
|
15224
|
-
"@type": "/ibc.core.
|
|
15225
|
-
|
|
15226
|
-
|
|
15118
|
+
"@type": "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
15119
|
+
port_id: t,
|
|
15120
|
+
channel_id: e,
|
|
15227
15121
|
signer: r
|
|
15228
15122
|
};
|
|
15229
15123
|
}
|
|
15230
15124
|
static fromProto(t) {
|
|
15231
|
-
return new
|
|
15232
|
-
t.clientId,
|
|
15233
|
-
t.misbehaviour,
|
|
15234
|
-
t.signer
|
|
15235
|
-
);
|
|
15125
|
+
return new Zs(t.portId, t.channelId, t.signer);
|
|
15236
15126
|
}
|
|
15237
15127
|
toProto() {
|
|
15238
|
-
const {
|
|
15239
|
-
return
|
|
15240
|
-
|
|
15241
|
-
|
|
15128
|
+
const { port_id: t, channel_id: e, signer: r } = this;
|
|
15129
|
+
return oc.fromPartial({
|
|
15130
|
+
portId: t,
|
|
15131
|
+
channelId: e,
|
|
15242
15132
|
signer: r
|
|
15243
15133
|
});
|
|
15244
15134
|
}
|
|
15245
15135
|
packAny() {
|
|
15246
15136
|
return l.fromPartial({
|
|
15247
|
-
typeUrl: "/ibc.core.
|
|
15248
|
-
value:
|
|
15137
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
15138
|
+
value: oc.encode(this.toProto()).finish()
|
|
15249
15139
|
});
|
|
15250
15140
|
}
|
|
15251
15141
|
static unpackAny(t) {
|
|
15252
|
-
return
|
|
15253
|
-
|
|
15142
|
+
return Zs.fromProto(
|
|
15143
|
+
oc.decode(t.value)
|
|
15254
15144
|
);
|
|
15255
15145
|
}
|
|
15256
15146
|
}
|
|
15257
|
-
class
|
|
15147
|
+
class Xs extends m {
|
|
15258
15148
|
/**
|
|
15259
|
-
* @param
|
|
15260
|
-
* @param
|
|
15149
|
+
* @param port_id identifier of the port to use
|
|
15150
|
+
* @param channel_id
|
|
15151
|
+
* @param proof_init
|
|
15152
|
+
* @param proof_height
|
|
15261
15153
|
* @param signer signer address
|
|
15262
15154
|
*/
|
|
15263
|
-
constructor(t, e, r) {
|
|
15264
|
-
super(), this.
|
|
15155
|
+
constructor(t, e, r, o, s) {
|
|
15156
|
+
super(), this.port_id = t, this.channel_id = e, this.proof_init = r, this.proof_height = o, this.signer = s;
|
|
15265
15157
|
}
|
|
15266
15158
|
static fromAmino(t) {
|
|
15267
15159
|
throw new Error("Amino not supported");
|
|
@@ -15270,209 +15162,284 @@ class rn extends m {
|
|
|
15270
15162
|
throw new Error("Amino not supported");
|
|
15271
15163
|
}
|
|
15272
15164
|
static fromData(t) {
|
|
15273
|
-
const {
|
|
15274
|
-
return new
|
|
15165
|
+
const { port_id: e, channel_id: r, proof_init: o, proof_height: s, signer: n } = t;
|
|
15166
|
+
return new Xs(
|
|
15167
|
+
e,
|
|
15168
|
+
r,
|
|
15169
|
+
o,
|
|
15170
|
+
s ? w.fromData(s) : void 0,
|
|
15171
|
+
n
|
|
15172
|
+
);
|
|
15275
15173
|
}
|
|
15276
15174
|
toData() {
|
|
15277
|
-
const {
|
|
15175
|
+
const { port_id: t, channel_id: e, proof_init: r, proof_height: o, signer: s } = this;
|
|
15278
15176
|
return {
|
|
15279
|
-
"@type": "/ibc.core.
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
|
|
15177
|
+
"@type": "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
15178
|
+
port_id: t,
|
|
15179
|
+
channel_id: e,
|
|
15180
|
+
proof_init: r,
|
|
15181
|
+
proof_height: o == null ? void 0 : o.toData(),
|
|
15182
|
+
signer: s
|
|
15283
15183
|
};
|
|
15284
15184
|
}
|
|
15285
15185
|
static fromProto(t) {
|
|
15286
|
-
return new
|
|
15287
|
-
t.
|
|
15288
|
-
t.
|
|
15186
|
+
return new Xs(
|
|
15187
|
+
t.portId,
|
|
15188
|
+
t.channelId,
|
|
15189
|
+
Buffer.from(t.proofInit).toString("base64"),
|
|
15190
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15289
15191
|
t.signer
|
|
15290
15192
|
);
|
|
15291
15193
|
}
|
|
15292
15194
|
toProto() {
|
|
15293
|
-
const {
|
|
15294
|
-
return
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15195
|
+
const { port_id: t, channel_id: e, proof_init: r, proof_height: o, signer: s } = this;
|
|
15196
|
+
return sc.fromPartial({
|
|
15197
|
+
portId: t,
|
|
15198
|
+
channelId: e,
|
|
15199
|
+
proofInit: Buffer.from(r, "base64"),
|
|
15200
|
+
proofHeight: o == null ? void 0 : o.toProto(),
|
|
15201
|
+
signer: s
|
|
15298
15202
|
});
|
|
15299
15203
|
}
|
|
15300
15204
|
packAny() {
|
|
15301
15205
|
return l.fromPartial({
|
|
15302
|
-
typeUrl: "/ibc.core.
|
|
15303
|
-
value:
|
|
15206
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
15207
|
+
value: sc.encode(this.toProto()).finish()
|
|
15304
15208
|
});
|
|
15305
15209
|
}
|
|
15306
15210
|
static unpackAny(t) {
|
|
15307
|
-
return
|
|
15211
|
+
return Xs.fromProto(
|
|
15212
|
+
sc.decode(t.value)
|
|
15213
|
+
);
|
|
15308
15214
|
}
|
|
15309
15215
|
}
|
|
15310
|
-
class
|
|
15216
|
+
class tn extends m {
|
|
15311
15217
|
/**
|
|
15312
|
-
* @param
|
|
15313
|
-
* @param
|
|
15314
|
-
* @param
|
|
15218
|
+
* @param packet
|
|
15219
|
+
* @param proof_commitment
|
|
15220
|
+
* @param proof_height
|
|
15221
|
+
* @param signer signer address
|
|
15315
15222
|
*/
|
|
15316
|
-
constructor(t, e, r) {
|
|
15317
|
-
super(), this.
|
|
15223
|
+
constructor(t, e, r, o) {
|
|
15224
|
+
super(), this.packet = t, this.proof_commitment = e, this.proof_height = r, this.signer = o;
|
|
15318
15225
|
}
|
|
15319
15226
|
static fromAmino(t) {
|
|
15320
|
-
|
|
15321
|
-
return new St(e, Number.parseInt(r), o);
|
|
15227
|
+
throw new Error("Amino not supported");
|
|
15322
15228
|
}
|
|
15323
15229
|
toAmino() {
|
|
15324
|
-
|
|
15325
|
-
return {
|
|
15326
|
-
name: t,
|
|
15327
|
-
height: e.toString(),
|
|
15328
|
-
info: r
|
|
15329
|
-
};
|
|
15230
|
+
throw new Error("Amino not supported");
|
|
15330
15231
|
}
|
|
15331
15232
|
static fromData(t) {
|
|
15332
|
-
const {
|
|
15333
|
-
return new
|
|
15233
|
+
const { packet: e, proof_commitment: r, proof_height: o, signer: s } = t;
|
|
15234
|
+
return new tn(
|
|
15235
|
+
e ? tt.fromData(e) : void 0,
|
|
15236
|
+
r,
|
|
15237
|
+
o ? w.fromData(o) : void 0,
|
|
15238
|
+
s
|
|
15239
|
+
);
|
|
15334
15240
|
}
|
|
15335
15241
|
toData() {
|
|
15336
|
-
const {
|
|
15242
|
+
const { packet: t, proof_commitment: e, proof_height: r, signer: o } = this;
|
|
15337
15243
|
return {
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15244
|
+
"@type": "/ibc.core.channel.v1.MsgRecvPacket",
|
|
15245
|
+
packet: t == null ? void 0 : t.toData(),
|
|
15246
|
+
proof_commitment: e,
|
|
15247
|
+
proof_height: r == null ? void 0 : r.toData(),
|
|
15248
|
+
signer: o
|
|
15341
15249
|
};
|
|
15342
15250
|
}
|
|
15343
15251
|
static fromProto(t) {
|
|
15344
|
-
return new
|
|
15252
|
+
return new tn(
|
|
15253
|
+
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
15254
|
+
Buffer.from(t.proofCommitment).toString("base64"),
|
|
15255
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15256
|
+
t.signer
|
|
15257
|
+
);
|
|
15345
15258
|
}
|
|
15346
15259
|
toProto() {
|
|
15347
|
-
const {
|
|
15348
|
-
return
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15260
|
+
const { packet: t, proof_commitment: e, proof_height: r, signer: o } = this;
|
|
15261
|
+
return nc.fromPartial({
|
|
15262
|
+
packet: t == null ? void 0 : t.toProto(),
|
|
15263
|
+
proofCommitment: Buffer.from(e, "base64"),
|
|
15264
|
+
proofHeight: r == null ? void 0 : r.toProto(),
|
|
15265
|
+
signer: o
|
|
15352
15266
|
});
|
|
15353
15267
|
}
|
|
15268
|
+
packAny() {
|
|
15269
|
+
return l.fromPartial({
|
|
15270
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
15271
|
+
value: nc.encode(this.toProto()).finish()
|
|
15272
|
+
});
|
|
15273
|
+
}
|
|
15274
|
+
static unpackAny(t) {
|
|
15275
|
+
return tn.fromProto(nc.decode(t.value));
|
|
15276
|
+
}
|
|
15354
15277
|
}
|
|
15355
|
-
class
|
|
15278
|
+
class en extends m {
|
|
15356
15279
|
/**
|
|
15357
|
-
*
|
|
15358
|
-
* @param
|
|
15359
|
-
* @param
|
|
15280
|
+
* @param packet
|
|
15281
|
+
* @param acknowledgement
|
|
15282
|
+
* @param proof_acked
|
|
15283
|
+
* @param proof_height
|
|
15284
|
+
* @param signer signer address
|
|
15360
15285
|
*/
|
|
15361
|
-
constructor(t, e) {
|
|
15362
|
-
super(), this.
|
|
15286
|
+
constructor(t, e, r, o, s) {
|
|
15287
|
+
super(), this.packet = t, this.acknowledgement = e, this.proof_acked = r, this.proof_height = o, this.signer = s;
|
|
15363
15288
|
}
|
|
15364
15289
|
static fromAmino(t) {
|
|
15365
|
-
|
|
15366
|
-
value: { authority: e, plan: r }
|
|
15367
|
-
} = t;
|
|
15368
|
-
return new xr(e, St.fromAmino(r));
|
|
15290
|
+
throw new Error("Amino not supported");
|
|
15369
15291
|
}
|
|
15370
15292
|
toAmino() {
|
|
15371
|
-
|
|
15372
|
-
return {
|
|
15373
|
-
type: "cosmos-sdk/MsgSoftwareUpgrade",
|
|
15374
|
-
value: {
|
|
15375
|
-
authority: t,
|
|
15376
|
-
plan: e.toAmino()
|
|
15377
|
-
}
|
|
15378
|
-
};
|
|
15293
|
+
throw new Error("Amino not supported");
|
|
15379
15294
|
}
|
|
15380
15295
|
static fromData(t) {
|
|
15381
|
-
const {
|
|
15382
|
-
return new
|
|
15296
|
+
const { packet: e, acknowledgement: r, proof_acked: o, proof_height: s, signer: n } = t;
|
|
15297
|
+
return new en(
|
|
15298
|
+
e ? tt.fromData(e) : void 0,
|
|
15299
|
+
o,
|
|
15300
|
+
r,
|
|
15301
|
+
s ? w.fromData(s) : void 0,
|
|
15302
|
+
n
|
|
15303
|
+
);
|
|
15383
15304
|
}
|
|
15384
15305
|
toData() {
|
|
15385
|
-
const {
|
|
15306
|
+
const { packet: t, acknowledgement: e, proof_acked: r, proof_height: o, signer: s } = this;
|
|
15386
15307
|
return {
|
|
15387
|
-
"@type": "/
|
|
15388
|
-
|
|
15389
|
-
|
|
15308
|
+
"@type": "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
15309
|
+
packet: t == null ? void 0 : t.toData(),
|
|
15310
|
+
acknowledgement: e,
|
|
15311
|
+
proof_acked: r,
|
|
15312
|
+
proof_height: o == null ? void 0 : o.toData(),
|
|
15313
|
+
signer: s
|
|
15390
15314
|
};
|
|
15391
15315
|
}
|
|
15392
15316
|
static fromProto(t) {
|
|
15393
|
-
return new
|
|
15394
|
-
t.
|
|
15395
|
-
|
|
15317
|
+
return new en(
|
|
15318
|
+
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
15319
|
+
Buffer.from(t.acknowledgement).toString("base64"),
|
|
15320
|
+
Buffer.from(t.proofAcked).toString("base64"),
|
|
15321
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15322
|
+
t.signer
|
|
15396
15323
|
);
|
|
15397
15324
|
}
|
|
15398
15325
|
toProto() {
|
|
15399
|
-
const {
|
|
15400
|
-
return
|
|
15401
|
-
|
|
15402
|
-
|
|
15326
|
+
const { packet: t, acknowledgement: e, proof_acked: r, proof_height: o, signer: s } = this;
|
|
15327
|
+
return ac.fromPartial({
|
|
15328
|
+
packet: t == null ? void 0 : t.toProto(),
|
|
15329
|
+
acknowledgement: Buffer.from(e, "base64"),
|
|
15330
|
+
proofAcked: Buffer.from(r, "base64"),
|
|
15331
|
+
proofHeight: o == null ? void 0 : o.toProto(),
|
|
15332
|
+
signer: s
|
|
15403
15333
|
});
|
|
15404
15334
|
}
|
|
15405
15335
|
packAny() {
|
|
15406
|
-
return l.fromPartial({
|
|
15407
|
-
typeUrl: "/
|
|
15408
|
-
value:
|
|
15336
|
+
return l.fromPartial({
|
|
15337
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
15338
|
+
value: ac.encode(this.toProto()).finish()
|
|
15409
15339
|
});
|
|
15410
15340
|
}
|
|
15411
15341
|
static unpackAny(t) {
|
|
15412
|
-
return
|
|
15413
|
-
|
|
15342
|
+
return en.fromProto(
|
|
15343
|
+
ac.decode(t.value)
|
|
15414
15344
|
);
|
|
15415
15345
|
}
|
|
15416
15346
|
}
|
|
15417
|
-
class
|
|
15347
|
+
class rn extends m {
|
|
15418
15348
|
/**
|
|
15419
|
-
*
|
|
15420
|
-
* @param
|
|
15349
|
+
* @param packet
|
|
15350
|
+
* @param proof_unreceived
|
|
15351
|
+
* @param proof_height
|
|
15352
|
+
* @param next_seuqnce_recv
|
|
15353
|
+
* @param signer signer address
|
|
15421
15354
|
*/
|
|
15422
|
-
constructor(t) {
|
|
15423
|
-
super(), this.
|
|
15355
|
+
constructor(t, e, r, o, s) {
|
|
15356
|
+
super(), this.packet = t, this.proof_unreceived = e, this.proof_height = r, this.next_sequence_recv = o, this.signer = s;
|
|
15424
15357
|
}
|
|
15425
15358
|
static fromAmino(t) {
|
|
15426
|
-
|
|
15427
|
-
value: { authority: e }
|
|
15428
|
-
} = t;
|
|
15429
|
-
return new Mr(e);
|
|
15359
|
+
throw new Error("Amino not supported");
|
|
15430
15360
|
}
|
|
15431
15361
|
toAmino() {
|
|
15432
|
-
|
|
15433
|
-
return {
|
|
15434
|
-
type: "cosmos-sdk/MsgCancelUpgrade",
|
|
15435
|
-
value: { authority: t }
|
|
15436
|
-
};
|
|
15362
|
+
throw new Error("Amino not supported");
|
|
15437
15363
|
}
|
|
15438
15364
|
static fromData(t) {
|
|
15439
|
-
const {
|
|
15440
|
-
|
|
15365
|
+
const {
|
|
15366
|
+
packet: e,
|
|
15367
|
+
proof_unreceived: r,
|
|
15368
|
+
proof_height: o,
|
|
15369
|
+
next_sequence_recv: s,
|
|
15370
|
+
signer: n
|
|
15371
|
+
} = t;
|
|
15372
|
+
return new rn(
|
|
15373
|
+
e ? tt.fromData(e) : void 0,
|
|
15374
|
+
r,
|
|
15375
|
+
o ? w.fromData(o) : void 0,
|
|
15376
|
+
Number.parseInt(s),
|
|
15377
|
+
n
|
|
15378
|
+
);
|
|
15441
15379
|
}
|
|
15442
15380
|
toData() {
|
|
15443
|
-
const {
|
|
15381
|
+
const {
|
|
15382
|
+
packet: t,
|
|
15383
|
+
proof_unreceived: e,
|
|
15384
|
+
proof_height: r,
|
|
15385
|
+
next_sequence_recv: o,
|
|
15386
|
+
signer: s
|
|
15387
|
+
} = this;
|
|
15444
15388
|
return {
|
|
15445
|
-
"@type": "/
|
|
15446
|
-
|
|
15389
|
+
"@type": "/ibc.core.channel.v1.MsgTimeout",
|
|
15390
|
+
packet: t == null ? void 0 : t.toData(),
|
|
15391
|
+
proof_unreceived: e,
|
|
15392
|
+
proof_height: r == null ? void 0 : r.toData(),
|
|
15393
|
+
next_sequence_recv: o.toFixed(),
|
|
15394
|
+
signer: s
|
|
15447
15395
|
};
|
|
15448
15396
|
}
|
|
15449
15397
|
static fromProto(t) {
|
|
15450
|
-
return new
|
|
15398
|
+
return new rn(
|
|
15399
|
+
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
15400
|
+
Buffer.from(t.proofUnreceived).toString("base64"),
|
|
15401
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15402
|
+
t.nextSequenceRecv.toNumber(),
|
|
15403
|
+
t.signer
|
|
15404
|
+
);
|
|
15451
15405
|
}
|
|
15452
15406
|
toProto() {
|
|
15453
|
-
const {
|
|
15454
|
-
|
|
15455
|
-
|
|
15407
|
+
const {
|
|
15408
|
+
packet: t,
|
|
15409
|
+
proof_unreceived: e,
|
|
15410
|
+
proof_height: r,
|
|
15411
|
+
next_sequence_recv: o,
|
|
15412
|
+
signer: s
|
|
15413
|
+
} = this;
|
|
15414
|
+
return ic.fromPartial({
|
|
15415
|
+
packet: t == null ? void 0 : t.toProto(),
|
|
15416
|
+
proofUnreceived: Buffer.from(e, "base64"),
|
|
15417
|
+
proofHeight: r == null ? void 0 : r.toProto(),
|
|
15418
|
+
nextSequenceRecv: f.fromNumber(o),
|
|
15419
|
+
signer: s
|
|
15456
15420
|
});
|
|
15457
15421
|
}
|
|
15458
15422
|
packAny() {
|
|
15459
15423
|
return l.fromPartial({
|
|
15460
|
-
typeUrl: "/
|
|
15461
|
-
value:
|
|
15424
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
15425
|
+
value: ic.encode(this.toProto()).finish()
|
|
15462
15426
|
});
|
|
15463
15427
|
}
|
|
15464
15428
|
static unpackAny(t) {
|
|
15465
|
-
return
|
|
15429
|
+
return rn.fromProto(ic.decode(t.value));
|
|
15466
15430
|
}
|
|
15467
15431
|
}
|
|
15468
15432
|
class on extends m {
|
|
15469
15433
|
/**
|
|
15470
|
-
* @param
|
|
15471
|
-
* @param
|
|
15434
|
+
* @param packet
|
|
15435
|
+
* @param proof_unreceived
|
|
15436
|
+
* @param proof_height
|
|
15437
|
+
* @param proof_close
|
|
15438
|
+
* @param next_seuqnce_recv
|
|
15472
15439
|
* @param signer signer address
|
|
15473
15440
|
*/
|
|
15474
|
-
constructor(t, e, r) {
|
|
15475
|
-
super(), this.
|
|
15441
|
+
constructor(t, e, r, o, s, n) {
|
|
15442
|
+
super(), this.packet = t, this.proof_unreceived = e, this.proof_close = r, this.proof_height = o, this.next_sequence_recv = s, this.signer = n;
|
|
15476
15443
|
}
|
|
15477
15444
|
static fromAmino(t) {
|
|
15478
15445
|
throw new Error("Amino not supported");
|
|
@@ -15481,56 +15448,89 @@ class on extends m {
|
|
|
15481
15448
|
throw new Error("Amino not supported");
|
|
15482
15449
|
}
|
|
15483
15450
|
static fromData(t) {
|
|
15484
|
-
const {
|
|
15451
|
+
const {
|
|
15452
|
+
packet: e,
|
|
15453
|
+
proof_unreceived: r,
|
|
15454
|
+
proof_close: o,
|
|
15455
|
+
proof_height: s,
|
|
15456
|
+
next_sequence_recv: n,
|
|
15457
|
+
signer: a
|
|
15458
|
+
} = t;
|
|
15485
15459
|
return new on(
|
|
15486
|
-
|
|
15460
|
+
e ? tt.fromData(e) : void 0,
|
|
15461
|
+
o,
|
|
15487
15462
|
r,
|
|
15488
|
-
|
|
15463
|
+
s ? w.fromData(s) : void 0,
|
|
15464
|
+
Number.parseInt(n),
|
|
15465
|
+
a
|
|
15489
15466
|
);
|
|
15490
15467
|
}
|
|
15491
15468
|
toData() {
|
|
15492
|
-
const {
|
|
15469
|
+
const {
|
|
15470
|
+
packet: t,
|
|
15471
|
+
proof_unreceived: e,
|
|
15472
|
+
proof_close: r,
|
|
15473
|
+
proof_height: o,
|
|
15474
|
+
next_sequence_recv: s,
|
|
15475
|
+
signer: n
|
|
15476
|
+
} = this;
|
|
15493
15477
|
return {
|
|
15494
|
-
"@type": "/ibc.core.
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15478
|
+
"@type": "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
15479
|
+
packet: t == null ? void 0 : t.toData(),
|
|
15480
|
+
proof_unreceived: e,
|
|
15481
|
+
proof_close: r,
|
|
15482
|
+
proof_height: o == null ? void 0 : o.toData(),
|
|
15483
|
+
next_sequence_recv: s.toFixed(),
|
|
15484
|
+
signer: n
|
|
15498
15485
|
};
|
|
15499
15486
|
}
|
|
15500
15487
|
static fromProto(t) {
|
|
15501
15488
|
return new on(
|
|
15502
|
-
|
|
15503
|
-
t.
|
|
15489
|
+
t.packet ? tt.fromProto(t.packet) : void 0,
|
|
15490
|
+
Buffer.from(t.proofUnreceived).toString("base64"),
|
|
15491
|
+
Buffer.from(t.proofClose).toString("base64"),
|
|
15492
|
+
t.proofHeight ? w.fromProto(t.proofHeight) : void 0,
|
|
15493
|
+
t.nextSequenceRecv.toNumber(),
|
|
15504
15494
|
t.signer
|
|
15505
15495
|
);
|
|
15506
15496
|
}
|
|
15507
15497
|
toProto() {
|
|
15508
|
-
const {
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15498
|
+
const {
|
|
15499
|
+
packet: t,
|
|
15500
|
+
proof_unreceived: e,
|
|
15501
|
+
proof_close: r,
|
|
15502
|
+
proof_height: o,
|
|
15503
|
+
next_sequence_recv: s,
|
|
15504
|
+
signer: n
|
|
15505
|
+
} = this;
|
|
15506
|
+
return cc.fromPartial({
|
|
15507
|
+
packet: t == null ? void 0 : t.toProto(),
|
|
15508
|
+
proofUnreceived: Buffer.from(e, "base64"),
|
|
15509
|
+
proofClose: Buffer.from(r, "base64"),
|
|
15510
|
+
proofHeight: o == null ? void 0 : o.toProto(),
|
|
15511
|
+
nextSequenceRecv: f.fromNumber(s),
|
|
15512
|
+
signer: n
|
|
15513
15513
|
});
|
|
15514
15514
|
}
|
|
15515
15515
|
packAny() {
|
|
15516
15516
|
return l.fromPartial({
|
|
15517
|
-
typeUrl: "/ibc.core.
|
|
15518
|
-
value:
|
|
15517
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
15518
|
+
value: cc.encode(this.toProto()).finish()
|
|
15519
15519
|
});
|
|
15520
15520
|
}
|
|
15521
15521
|
static unpackAny(t) {
|
|
15522
15522
|
return on.fromProto(
|
|
15523
|
-
|
|
15523
|
+
cc.decode(t.value)
|
|
15524
15524
|
);
|
|
15525
15525
|
}
|
|
15526
15526
|
}
|
|
15527
15527
|
class sn extends m {
|
|
15528
15528
|
/**
|
|
15529
|
-
* @param
|
|
15530
|
-
* @param params params defines the
|
|
15529
|
+
* @param authority the address that controls the module
|
|
15530
|
+
* @param params params defines the channel parameters to update
|
|
15531
15531
|
*/
|
|
15532
15532
|
constructor(t, e) {
|
|
15533
|
-
super(), this.
|
|
15533
|
+
super(), this.authority = t, this.params = e;
|
|
15534
15534
|
}
|
|
15535
15535
|
static fromAmino(t) {
|
|
15536
15536
|
throw new Error("Amino not supported");
|
|
@@ -15539,42 +15539,42 @@ class sn extends m {
|
|
|
15539
15539
|
throw new Error("Amino not supported");
|
|
15540
15540
|
}
|
|
15541
15541
|
static fromData(t) {
|
|
15542
|
-
const {
|
|
15542
|
+
const { authority: e, params: r } = t;
|
|
15543
15543
|
return new sn(
|
|
15544
15544
|
e,
|
|
15545
|
-
|
|
15545
|
+
Gs.fromData(r)
|
|
15546
15546
|
);
|
|
15547
15547
|
}
|
|
15548
15548
|
toData() {
|
|
15549
|
-
const {
|
|
15549
|
+
const { authority: t, params: e } = this;
|
|
15550
15550
|
return {
|
|
15551
|
-
"@type": "/ibc.core.
|
|
15552
|
-
|
|
15551
|
+
"@type": "/ibc.core.channel.v1.MsgUpdateParams",
|
|
15552
|
+
authority: t,
|
|
15553
15553
|
params: e.toData()
|
|
15554
15554
|
};
|
|
15555
15555
|
}
|
|
15556
15556
|
static fromProto(t) {
|
|
15557
15557
|
return new sn(
|
|
15558
|
-
t.
|
|
15559
|
-
|
|
15558
|
+
t.authority,
|
|
15559
|
+
Gs.fromProto(t.params)
|
|
15560
15560
|
);
|
|
15561
15561
|
}
|
|
15562
15562
|
toProto() {
|
|
15563
|
-
const {
|
|
15564
|
-
return
|
|
15565
|
-
|
|
15563
|
+
const { authority: t, params: e } = this;
|
|
15564
|
+
return mc.fromPartial({
|
|
15565
|
+
authority: t,
|
|
15566
15566
|
params: e.toProto()
|
|
15567
15567
|
});
|
|
15568
15568
|
}
|
|
15569
15569
|
packAny() {
|
|
15570
15570
|
return l.fromPartial({
|
|
15571
|
-
typeUrl: "/ibc.core.
|
|
15572
|
-
value:
|
|
15571
|
+
typeUrl: "/ibc.core.channel.v1.MsgUpdateParams",
|
|
15572
|
+
value: mc.encode(this.toProto()).finish()
|
|
15573
15573
|
});
|
|
15574
15574
|
}
|
|
15575
15575
|
static unpackAny(t) {
|
|
15576
15576
|
return sn.fromProto(
|
|
15577
|
-
|
|
15577
|
+
mc.decode(t.value)
|
|
15578
15578
|
);
|
|
15579
15579
|
}
|
|
15580
15580
|
}
|
|
@@ -15993,7 +15993,7 @@ class un extends m {
|
|
|
15993
15993
|
const { signer: e, params: r } = t;
|
|
15994
15994
|
return new un(
|
|
15995
15995
|
e,
|
|
15996
|
-
|
|
15996
|
+
js.fromData(r)
|
|
15997
15997
|
);
|
|
15998
15998
|
}
|
|
15999
15999
|
toData() {
|
|
@@ -16007,7 +16007,7 @@ class un extends m {
|
|
|
16007
16007
|
static fromProto(t) {
|
|
16008
16008
|
return new un(
|
|
16009
16009
|
t.signer,
|
|
16010
|
-
|
|
16010
|
+
js.fromProto(t.params)
|
|
16011
16011
|
);
|
|
16012
16012
|
}
|
|
16013
16013
|
toProto() {
|
|
@@ -23270,39 +23270,39 @@ var U;
|
|
|
23270
23270
|
case "/ibc.core.channel.v1.MsgChannelOpenInit":
|
|
23271
23271
|
return Rs.fromData(o);
|
|
23272
23272
|
case "/ibc.core.channel.v1.MsgChannelOpenTry":
|
|
23273
|
-
return
|
|
23273
|
+
return Js.fromData(o);
|
|
23274
23274
|
case "/ibc.core.channel.v1.MsgChannelOpenConfirm":
|
|
23275
|
-
return
|
|
23275
|
+
return Qs.fromData(o);
|
|
23276
23276
|
case "/ibc.core.channel.v1.MsgChannelOpenAck":
|
|
23277
|
-
return
|
|
23277
|
+
return Ys.fromData(o);
|
|
23278
23278
|
case "/ibc.core.channel.v1.MsgChannelCloseInit":
|
|
23279
|
-
return
|
|
23279
|
+
return Zs.fromData(o);
|
|
23280
23280
|
case "/ibc.core.channel.v1.MsgChannelCloseConfirm":
|
|
23281
|
-
return
|
|
23281
|
+
return Xs.fromData(o);
|
|
23282
23282
|
case "/ibc.core.channel.v1.MsgRecvPacket":
|
|
23283
|
-
return
|
|
23283
|
+
return tn.fromData(o);
|
|
23284
23284
|
case "/ibc.core.channel.v1.MsgAcknowledgement":
|
|
23285
|
-
return
|
|
23285
|
+
return en.fromData(o);
|
|
23286
23286
|
case "/ibc.core.channel.v1.MsgTimeout":
|
|
23287
|
-
return
|
|
23287
|
+
return rn.fromData(o);
|
|
23288
23288
|
case "/ibc.core.channel.v1.MsgTimeoutOnClose":
|
|
23289
|
-
return
|
|
23289
|
+
return on.fromData(o);
|
|
23290
23290
|
case "/ibc.core.channel.v1.MsgUpdateParams":
|
|
23291
|
-
return
|
|
23291
|
+
return sn.fromData(o);
|
|
23292
23292
|
case "/ibc.core.client.v1.MsgCreateClient":
|
|
23293
|
-
return
|
|
23293
|
+
return Fs.fromData(o);
|
|
23294
23294
|
case "/ibc.core.client.v1.MsgUpdateClient":
|
|
23295
|
-
return
|
|
23295
|
+
return Ls.fromData(o);
|
|
23296
23296
|
case "/ibc.core.client.v1.MsgUpgradeClient":
|
|
23297
|
-
return
|
|
23297
|
+
return qs.fromData(o);
|
|
23298
23298
|
case "/ibc.core.client.v1.MsgSubmitMisbehaviour":
|
|
23299
|
-
return
|
|
23299
|
+
return zs.fromData(o);
|
|
23300
23300
|
case "/ibc.core.client.v1.MsgRecoverClient":
|
|
23301
|
-
return
|
|
23301
|
+
return Ks.fromData(o);
|
|
23302
23302
|
case "/ibc.core.client.v1.MsgIBCSoftwareUpgrade":
|
|
23303
|
-
return
|
|
23303
|
+
return Vs.fromData(o);
|
|
23304
23304
|
case "/ibc.core.client.v1.MsgUpdateParams":
|
|
23305
|
-
return
|
|
23305
|
+
return Hs.fromData(o);
|
|
23306
23306
|
case "/ibc.core.connection.v1.MsgConnectionOpenInit":
|
|
23307
23307
|
return nn.fromData(o);
|
|
23308
23308
|
case "/ibc.core.connection.v1.MsgConnectionOpenTry":
|
|
@@ -23613,39 +23613,39 @@ var U;
|
|
|
23613
23613
|
case "/ibc.core.channel.v1.MsgChannelOpenInit":
|
|
23614
23614
|
return Rs.unpackAny(o);
|
|
23615
23615
|
case "/ibc.core.channel.v1.MsgChannelOpenTry":
|
|
23616
|
-
return
|
|
23616
|
+
return Js.unpackAny(o);
|
|
23617
23617
|
case "/ibc.core.channel.v1.MsgChannelOpenConfirm":
|
|
23618
|
-
return
|
|
23618
|
+
return Qs.unpackAny(o);
|
|
23619
23619
|
case "/ibc.core.channel.v1.MsgChannelOpenAck":
|
|
23620
|
-
return
|
|
23620
|
+
return Ys.unpackAny(o);
|
|
23621
23621
|
case "/ibc.core.channel.v1.MsgChannelCloseInit":
|
|
23622
|
-
return
|
|
23622
|
+
return Zs.unpackAny(o);
|
|
23623
23623
|
case "/ibc.core.channel.v1.MsgChannelCloseConfirm":
|
|
23624
|
-
return
|
|
23624
|
+
return Xs.unpackAny(o);
|
|
23625
23625
|
case "/ibc.core.channel.v1.MsgRecvPacket":
|
|
23626
|
-
return
|
|
23626
|
+
return tn.unpackAny(o);
|
|
23627
23627
|
case "/ibc.core.channel.v1.MsgAcknowledgement":
|
|
23628
|
-
return
|
|
23628
|
+
return en.unpackAny(o);
|
|
23629
23629
|
case "/ibc.core.channel.v1.MsgTimeout":
|
|
23630
|
-
return
|
|
23630
|
+
return rn.unpackAny(o);
|
|
23631
23631
|
case "/ibc.core.channel.v1.MsgTimeoutOnClose":
|
|
23632
|
-
return
|
|
23632
|
+
return on.unpackAny(o);
|
|
23633
23633
|
case "/ibc.core.channel.v1.MsgUpdateParams":
|
|
23634
|
-
return
|
|
23634
|
+
return sn.unpackAny(o);
|
|
23635
23635
|
case "/ibc.core.client.v1.MsgCreateClient":
|
|
23636
|
-
return
|
|
23636
|
+
return Fs.unpackAny(o);
|
|
23637
23637
|
case "/ibc.core.client.v1.MsgUpdateClient":
|
|
23638
|
-
return
|
|
23638
|
+
return Ls.unpackAny(o);
|
|
23639
23639
|
case "/ibc.core.client.v1.MsgUpgradeClient":
|
|
23640
|
-
return
|
|
23640
|
+
return qs.unpackAny(o);
|
|
23641
23641
|
case "/ibc.core.client.v1.MsgSubmitMisbehaviour":
|
|
23642
|
-
return
|
|
23642
|
+
return zs.unpackAny(o);
|
|
23643
23643
|
case "/ibc.core.client.v1.MsgRecoverClient":
|
|
23644
|
-
return
|
|
23644
|
+
return Ks.unpackAny(o);
|
|
23645
23645
|
case "/ibc.core.client.v1.MsgIBCSoftwareUpgrade":
|
|
23646
|
-
return
|
|
23646
|
+
return Vs.unpackAny(o);
|
|
23647
23647
|
case "/ibc.core.client.v1.MsgUpdateParams":
|
|
23648
|
-
return
|
|
23648
|
+
return Hs.unpackAny(o);
|
|
23649
23649
|
case "/ibc.core.connection.v1.MsgConnectionOpenInit":
|
|
23650
23650
|
return nn.unpackAny(o);
|
|
23651
23651
|
case "/ibc.core.connection.v1.MsgConnectionOpenTry":
|
|
@@ -24503,7 +24503,7 @@ class Ep extends k {
|
|
|
24503
24503
|
*/
|
|
24504
24504
|
async connections(t = {}) {
|
|
24505
24505
|
return this.c.get("/ibc/core/connection/v1/connections", t).then((e) => [
|
|
24506
|
-
e.connections.map(
|
|
24506
|
+
e.connections.map(Ws.fromData),
|
|
24507
24507
|
e.pagination
|
|
24508
24508
|
]);
|
|
24509
24509
|
}
|
|
@@ -24512,7 +24512,7 @@ class Ep extends k {
|
|
|
24512
24512
|
* @param connection_id connection unique identifier
|
|
24513
24513
|
*/
|
|
24514
24514
|
async connection(t, e = {}) {
|
|
24515
|
-
return this.c.get(`/ibc/core/connection/v1/connections/${t}`, e).then((r) =>
|
|
24515
|
+
return this.c.get(`/ibc/core/connection/v1/connections/${t}`, e).then((r) => Ws.fromData(r.connection));
|
|
24516
24516
|
}
|
|
24517
24517
|
/**
|
|
24518
24518
|
* query all the channels associated with a connection end
|
|
@@ -24529,7 +24529,7 @@ class Ep extends k {
|
|
|
24529
24529
|
* Gets the current transfer application parameters.
|
|
24530
24530
|
*/
|
|
24531
24531
|
async parameters(t = {}) {
|
|
24532
|
-
return this.c.get("/ibc/core/client/v1/params", t).then((e) =>
|
|
24532
|
+
return this.c.get("/ibc/core/client/v1/params", t).then((e) => gs.fromData(e.params));
|
|
24533
24533
|
}
|
|
24534
24534
|
/**
|
|
24535
24535
|
* query all the IBC light clients of a chain
|
|
@@ -26852,7 +26852,7 @@ export {
|
|
|
26852
26852
|
u as Coins,
|
|
26853
26853
|
Yt as CombinedLimit,
|
|
26854
26854
|
it as ConnectionCounterparty,
|
|
26855
|
-
|
|
26855
|
+
_s as ConsensusStateWithHeight,
|
|
26856
26856
|
wn as Content,
|
|
26857
26857
|
ee as ContractExecutionAuthorization,
|
|
26858
26858
|
wt as ContractGrant,
|
|
@@ -26897,9 +26897,9 @@ export {
|
|
|
26897
26897
|
Eu as INIT_COIN_TYPE,
|
|
26898
26898
|
Cn as INS,
|
|
26899
26899
|
Ep as IbcAPI,
|
|
26900
|
-
|
|
26901
|
-
|
|
26902
|
-
|
|
26900
|
+
Gs as IbcChannelParams,
|
|
26901
|
+
gs as IbcClientParams,
|
|
26902
|
+
js as IbcConnectionParams,
|
|
26903
26903
|
Rt as IbcFee,
|
|
26904
26904
|
Bp as IbcHooksAPI,
|
|
26905
26905
|
Vo as IbcHooksParams,
|
|
@@ -26909,7 +26909,7 @@ export {
|
|
|
26909
26909
|
Tp as IbcTransferAPI,
|
|
26910
26910
|
Y as IbcVersion,
|
|
26911
26911
|
Dn as IdentifiedClientState,
|
|
26912
|
-
|
|
26912
|
+
Ws as IdentifiedConnection,
|
|
26913
26913
|
On as IdentifiedPacketFees,
|
|
26914
26914
|
Fp as InterTxAPI,
|
|
26915
26915
|
m as JSONSerializable,
|
|
@@ -26935,7 +26935,7 @@ export {
|
|
|
26935
26935
|
qp as MoveAPI,
|
|
26936
26936
|
Wo as MoveParams,
|
|
26937
26937
|
U as Msg,
|
|
26938
|
-
|
|
26938
|
+
en as MsgAcknowledgement,
|
|
26939
26939
|
_e as MsgAddCodeUploadParamsAddresses,
|
|
26940
26940
|
Nr as MsgAddCurrencyPairs,
|
|
26941
26941
|
to as MsgAddValidator,
|
|
@@ -26947,18 +26947,19 @@ export {
|
|
|
26947
26947
|
Zr as MsgCancelUnbondingDelegation,
|
|
26948
26948
|
Mr as MsgCancelUpgrade,
|
|
26949
26949
|
So as MsgChangeAdmin,
|
|
26950
|
-
|
|
26951
|
-
|
|
26952
|
-
|
|
26953
|
-
|
|
26950
|
+
Xs as MsgChannelCloseConfirm,
|
|
26951
|
+
Zs as MsgChannelCloseInit,
|
|
26952
|
+
Ys as MsgChannelOpenAck,
|
|
26953
|
+
Qs as MsgChannelOpenConfirm,
|
|
26954
26954
|
Rs as MsgChannelOpenInit,
|
|
26955
|
-
|
|
26955
|
+
Js as MsgChannelOpenTry,
|
|
26956
26956
|
me as MsgClearAdmin,
|
|
26957
26957
|
je as MsgClearForwardingAccount,
|
|
26958
26958
|
Oe as MsgCommunityPoolSpend,
|
|
26959
26959
|
Le as MsgCreate,
|
|
26960
26960
|
qe as MsgCreate2,
|
|
26961
26961
|
io as MsgCreateBridge,
|
|
26962
|
+
Fs as MsgCreateClient,
|
|
26962
26963
|
ko as MsgCreateDenom,
|
|
26963
26964
|
ar as MsgCreateGroup,
|
|
26964
26965
|
mr as MsgCreateGroupPolicy,
|
|
@@ -26990,6 +26991,7 @@ export {
|
|
|
26990
26991
|
we as MsgGrantAuthorization,
|
|
26991
26992
|
dr as MsgGroupExec,
|
|
26992
26993
|
ft as MsgGroupVote,
|
|
26994
|
+
Vs as MsgIBCSoftwareUpgrade,
|
|
26993
26995
|
uo as MsgInitiateTokenDeposit,
|
|
26994
26996
|
oo as MsgInitiateTokenWithdrawal,
|
|
26995
26997
|
se as MsgInstantiateContract,
|
|
@@ -27006,7 +27008,8 @@ export {
|
|
|
27006
27008
|
co as MsgProposeOutput,
|
|
27007
27009
|
_t as MsgPublish,
|
|
27008
27010
|
ao as MsgRecordBatch,
|
|
27009
|
-
|
|
27011
|
+
Ks as MsgRecoverClient,
|
|
27012
|
+
tn as MsgRecvPacket,
|
|
27010
27013
|
Sr as MsgRegisterAccount,
|
|
27011
27014
|
Bs as MsgRegisterCounterpartyPayee,
|
|
27012
27015
|
We as MsgRegisterForwardingAccount,
|
|
@@ -27033,12 +27036,13 @@ export {
|
|
|
27033
27036
|
oe as MsgStoreCode,
|
|
27034
27037
|
Fe as MsgSubmitEvidence,
|
|
27035
27038
|
gt as MsgSubmitGroupProposal,
|
|
27039
|
+
zs as MsgSubmitMisbehaviour,
|
|
27036
27040
|
rr as MsgSubmitProposal,
|
|
27037
27041
|
er as MsgSubmitProposalLegacy,
|
|
27038
27042
|
Ir as MsgSubmitTx,
|
|
27039
27043
|
le as MsgSudoContract,
|
|
27040
|
-
|
|
27041
|
-
|
|
27044
|
+
rn as MsgTimeout,
|
|
27045
|
+
on as MsgTimeoutOnClose,
|
|
27042
27046
|
be as MsgTransfer,
|
|
27043
27047
|
Jr as MsgUndelegate,
|
|
27044
27048
|
Ao as MsgUnjail,
|
|
@@ -27050,6 +27054,7 @@ export {
|
|
|
27050
27054
|
ke as MsgUpdateBankParams,
|
|
27051
27055
|
fo as MsgUpdateBatchInfo,
|
|
27052
27056
|
ho as MsgUpdateChallenger,
|
|
27057
|
+
Ls as MsgUpdateClient,
|
|
27053
27058
|
Se as MsgUpdateConsensusParams,
|
|
27054
27059
|
ve as MsgUpdateContractLabel,
|
|
27055
27060
|
Ne as MsgUpdateCrisisParams,
|
|
@@ -27062,7 +27067,8 @@ export {
|
|
|
27062
27067
|
gr as MsgUpdateGroupMetadata,
|
|
27063
27068
|
_r as MsgUpdateGroupPolicyAdmin,
|
|
27064
27069
|
yr as MsgUpdateGroupPolicyMetadata,
|
|
27065
|
-
|
|
27070
|
+
sn as MsgUpdateIbcChannelParams,
|
|
27071
|
+
Hs as MsgUpdateIbcClientParams,
|
|
27066
27072
|
wr as MsgUpdateIbcHooksParams,
|
|
27067
27073
|
Ar as MsgUpdateIbcNftParams,
|
|
27068
27074
|
Dr as MsgUpdateIbcPermAdmin,
|
|
@@ -27083,6 +27089,7 @@ export {
|
|
|
27083
27089
|
Do as MsgUpdateSlashingParams,
|
|
27084
27090
|
Co as MsgUpdateTokenfactoryParams,
|
|
27085
27091
|
de as MsgUpdateWasmParams,
|
|
27092
|
+
qs as MsgUpgradeClient,
|
|
27086
27093
|
Er as MsgUpsertMarkets,
|
|
27087
27094
|
Ie as MsgVerifyInvariant,
|
|
27088
27095
|
ht as MsgVote,
|