@initia/initia.js 0.0.32 → 0.0.34
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/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.node.js +1 -1
- package/dist/bundle.node.js.map +1 -1
- package/dist/client/lcd/LCDClient.d.ts +2 -1
- package/dist/client/lcd/LCDClient.js +1 -0
- package/dist/client/lcd/LCDClient.js.map +1 -1
- package/dist/client/lcd/api/IbcAPI.d.ts +6 -0
- package/dist/client/lcd/api/IbcAPI.js +18 -0
- package/dist/client/lcd/api/IbcAPI.js.map +1 -1
- package/dist/client/lcd/api/IbcTransferAPI.d.ts +3 -1
- package/dist/client/lcd/api/IbcTransferAPI.js +12 -1
- package/dist/client/lcd/api/IbcTransferAPI.js.map +1 -1
- package/dist/client/lcd/api/InterTxAPI.d.ts +5 -0
- package/dist/client/lcd/api/InterTxAPI.js +73 -0
- package/dist/client/lcd/api/InterTxAPI.js.map +1 -0
- package/dist/client/lcd/api/index.d.ts +1 -0
- package/dist/client/lcd/api/index.js +1 -0
- package/dist/client/lcd/api/index.js.map +1 -1
- package/dist/core/Msg.d.ts +5 -4
- package/dist/core/Msg.js +15 -4
- package/dist/core/Msg.js.map +1 -1
- package/dist/core/crisis/msgs/MsgVerifyInvariant.d.ts +43 -0
- package/dist/core/crisis/msgs/MsgVerifyInvariant.js +77 -0
- package/dist/core/crisis/msgs/MsgVerifyInvariant.js.map +1 -0
- package/dist/core/crisis/msgs/index.d.ts +8 -0
- package/dist/core/crisis/msgs/index.js +18 -0
- package/dist/core/crisis/msgs/index.js.map +1 -0
- package/dist/core/ibc/applications/fee/index.d.ts +2 -1
- package/dist/core/ibc/applications/fee/index.js +2 -1
- package/dist/core/ibc/applications/fee/index.js.map +1 -1
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.d.ts +37 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.js +86 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.js.map +1 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterPayee.d.ts +37 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterPayee.js +86 -0
- package/dist/core/ibc/applications/fee/msgs/MsgRegisterPayee.js.map +1 -0
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.d.ts +5 -1
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.js +14 -9
- package/dist/core/ibc/applications/transfer/v1/msgs/MsgTransfer.js.map +1 -1
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.d.ts +5 -1
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.js +14 -9
- package/dist/core/ibc/applications/transfer/v2/FungibleTokenPacketData.js.map +1 -1
- package/dist/core/index.d.ts +2 -1
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/intertx/msgs/MsgRegisterAccount.d.ts +32 -0
- package/dist/core/intertx/msgs/MsgRegisterAccount.js +78 -0
- package/dist/core/intertx/msgs/MsgRegisterAccount.js.map +1 -0
- package/dist/core/intertx/msgs/MsgSubmitTx.d.ts +32 -0
- package/dist/core/intertx/msgs/MsgSubmitTx.js +78 -0
- package/dist/core/intertx/msgs/MsgSubmitTx.js.map +1 -0
- package/dist/core/intertx/msgs/index.d.ts +9 -0
- package/dist/core/intertx/msgs/index.js +19 -0
- package/dist/core/intertx/msgs/index.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MsgRegisterCounterpartyPayee = void 0;
|
|
19
|
+
var json_1 = require("../../../../../util/json");
|
|
20
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
21
|
+
var tx_1 = require("@initia/initia.proto/ibc/applications/fee/v1/tx");
|
|
22
|
+
/**
|
|
23
|
+
* MsgRegisterCounterpartyPayee defines the request type for the RegisterCounterpartyPayee rpc
|
|
24
|
+
*/
|
|
25
|
+
var MsgRegisterCounterpartyPayee = /** @class */ (function (_super) {
|
|
26
|
+
__extends(MsgRegisterCounterpartyPayee, _super);
|
|
27
|
+
/**
|
|
28
|
+
* @param port_id unique port identifier
|
|
29
|
+
* @param channel_id unique channel identifier
|
|
30
|
+
* @param relayer the relayer address
|
|
31
|
+
* @param counterparty_payee the counterparty payee address
|
|
32
|
+
*/
|
|
33
|
+
function MsgRegisterCounterpartyPayee(port_id, channel_id, relayer, counterparty_payee) {
|
|
34
|
+
var _this = _super.call(this) || this;
|
|
35
|
+
_this.port_id = port_id;
|
|
36
|
+
_this.channel_id = channel_id;
|
|
37
|
+
_this.relayer = relayer;
|
|
38
|
+
_this.counterparty_payee = counterparty_payee;
|
|
39
|
+
return _this;
|
|
40
|
+
}
|
|
41
|
+
MsgRegisterCounterpartyPayee.fromAmino = function (_) {
|
|
42
|
+
_;
|
|
43
|
+
throw new Error('Amino not supported');
|
|
44
|
+
};
|
|
45
|
+
MsgRegisterCounterpartyPayee.prototype.toAmino = function () {
|
|
46
|
+
throw new Error('Amino not supported');
|
|
47
|
+
};
|
|
48
|
+
MsgRegisterCounterpartyPayee.fromData = function (data) {
|
|
49
|
+
var port_id = data.port_id, channel_id = data.channel_id, relayer = data.relayer, counterparty_payee = data.counterparty_payee;
|
|
50
|
+
return new MsgRegisterCounterpartyPayee(port_id, channel_id, relayer, counterparty_payee);
|
|
51
|
+
};
|
|
52
|
+
MsgRegisterCounterpartyPayee.prototype.toData = function () {
|
|
53
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, relayer = _a.relayer, counterparty_payee = _a.counterparty_payee;
|
|
54
|
+
return {
|
|
55
|
+
'@type': '/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee',
|
|
56
|
+
port_id: port_id,
|
|
57
|
+
channel_id: channel_id,
|
|
58
|
+
relayer: relayer,
|
|
59
|
+
counterparty_payee: counterparty_payee,
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
MsgRegisterCounterpartyPayee.fromProto = function (proto) {
|
|
63
|
+
return new MsgRegisterCounterpartyPayee(proto.portId, proto.channelId, proto.relayer, proto.counterpartyPayee);
|
|
64
|
+
};
|
|
65
|
+
MsgRegisterCounterpartyPayee.prototype.toProto = function () {
|
|
66
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, relayer = _a.relayer, counterparty_payee = _a.counterparty_payee;
|
|
67
|
+
return tx_1.MsgRegisterCounterpartyPayee.fromPartial({
|
|
68
|
+
portId: port_id,
|
|
69
|
+
channelId: channel_id,
|
|
70
|
+
relayer: relayer,
|
|
71
|
+
counterpartyPayee: counterparty_payee,
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
MsgRegisterCounterpartyPayee.prototype.packAny = function () {
|
|
75
|
+
return any_1.Any.fromPartial({
|
|
76
|
+
typeUrl: '/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee',
|
|
77
|
+
value: tx_1.MsgRegisterCounterpartyPayee.encode(this.toProto()).finish(),
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
MsgRegisterCounterpartyPayee.unpackAny = function (msgAny) {
|
|
81
|
+
return MsgRegisterCounterpartyPayee.fromProto(tx_1.MsgRegisterCounterpartyPayee.decode(msgAny.value));
|
|
82
|
+
};
|
|
83
|
+
return MsgRegisterCounterpartyPayee;
|
|
84
|
+
}(json_1.JSONSerializable));
|
|
85
|
+
exports.MsgRegisterCounterpartyPayee = MsgRegisterCounterpartyPayee;
|
|
86
|
+
//# sourceMappingURL=MsgRegisterCounterpartyPayee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgRegisterCounterpartyPayee.js","sourceRoot":"","sources":["../../../../../../src/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iDAA4D;AAC5D,gEAA+D;AAC/D,sEAAkI;AAElI;;GAEG;AACH;IAAkD,gDAIjD;IACC;;;;;OAKG;IACH,sCACS,OAAe,EACf,UAAkB,EAClB,OAAe,EACf,kBAA0B;QAJnC,YAME,iBAAO,SACR;QANQ,aAAO,GAAP,OAAO,CAAQ;QACf,gBAAU,GAAV,UAAU,CAAQ;QAClB,aAAO,GAAP,OAAO,CAAQ;QACf,wBAAkB,GAAlB,kBAAkB,CAAQ;;IAGnC,CAAC;IAEa,sCAAS,GAAvB,UAAwB,CAAM;QAC5B,CAAC,CAAC;QACF,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEM,8CAAO,GAAd;QACE,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEa,qCAAQ,GAAtB,UACE,IAAuC;QAE/B,IAAA,OAAO,GAA8C,IAAI,QAAlD,EAAE,UAAU,GAAkC,IAAI,WAAtC,EAAE,OAAO,GAAyB,IAAI,QAA7B,EAAE,kBAAkB,GAAK,IAAI,mBAAT,CAAU;QAElE,OAAO,IAAI,4BAA4B,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@ -0,0 +1,37 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../../../util/json';
|
|
2
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
3
|
+
import { MsgRegisterPayee as MsgRegisterPayee_pb } from '@initia/initia.proto/ibc/applications/fee/v1/tx';
|
|
4
|
+
/**
|
|
5
|
+
* MsgRegisterPayee defines the request type for the RegisterPayee rpc
|
|
6
|
+
*/
|
|
7
|
+
export declare class MsgRegisterPayee extends JSONSerializable<any, MsgRegisterPayee.Data, MsgRegisterPayee.Proto> {
|
|
8
|
+
port_id: string;
|
|
9
|
+
channel_id: string;
|
|
10
|
+
relayer: string;
|
|
11
|
+
payee: string;
|
|
12
|
+
/**
|
|
13
|
+
* @param port_id unique port identifier
|
|
14
|
+
* @param channel_id unique channel identifier
|
|
15
|
+
* @param relayer the relayer address
|
|
16
|
+
* @param payee the payee address
|
|
17
|
+
*/
|
|
18
|
+
constructor(port_id: string, channel_id: string, relayer: string, payee: string);
|
|
19
|
+
static fromAmino(_: any): MsgRegisterPayee;
|
|
20
|
+
toAmino(): any;
|
|
21
|
+
static fromData(data: MsgRegisterPayee.Data): MsgRegisterPayee;
|
|
22
|
+
toData(): MsgRegisterPayee.Data;
|
|
23
|
+
static fromProto(proto: MsgRegisterPayee.Proto): MsgRegisterPayee;
|
|
24
|
+
toProto(): MsgRegisterPayee.Proto;
|
|
25
|
+
packAny(): Any;
|
|
26
|
+
static unpackAny(msgAny: Any): MsgRegisterPayee;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace MsgRegisterPayee {
|
|
29
|
+
interface Data {
|
|
30
|
+
'@type': '/ibc.applications.fee.v1.MsgRegisterPayee';
|
|
31
|
+
port_id: string;
|
|
32
|
+
channel_id: string;
|
|
33
|
+
relayer: string;
|
|
34
|
+
payee: string;
|
|
35
|
+
}
|
|
36
|
+
type Proto = MsgRegisterPayee_pb;
|
|
37
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MsgRegisterPayee = void 0;
|
|
19
|
+
var json_1 = require("../../../../../util/json");
|
|
20
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
21
|
+
var tx_1 = require("@initia/initia.proto/ibc/applications/fee/v1/tx");
|
|
22
|
+
/**
|
|
23
|
+
* MsgRegisterPayee defines the request type for the RegisterPayee rpc
|
|
24
|
+
*/
|
|
25
|
+
var MsgRegisterPayee = /** @class */ (function (_super) {
|
|
26
|
+
__extends(MsgRegisterPayee, _super);
|
|
27
|
+
/**
|
|
28
|
+
* @param port_id unique port identifier
|
|
29
|
+
* @param channel_id unique channel identifier
|
|
30
|
+
* @param relayer the relayer address
|
|
31
|
+
* @param payee the payee address
|
|
32
|
+
*/
|
|
33
|
+
function MsgRegisterPayee(port_id, channel_id, relayer, payee) {
|
|
34
|
+
var _this = _super.call(this) || this;
|
|
35
|
+
_this.port_id = port_id;
|
|
36
|
+
_this.channel_id = channel_id;
|
|
37
|
+
_this.relayer = relayer;
|
|
38
|
+
_this.payee = payee;
|
|
39
|
+
return _this;
|
|
40
|
+
}
|
|
41
|
+
MsgRegisterPayee.fromAmino = function (_) {
|
|
42
|
+
_;
|
|
43
|
+
throw new Error('Amino not supported');
|
|
44
|
+
};
|
|
45
|
+
MsgRegisterPayee.prototype.toAmino = function () {
|
|
46
|
+
throw new Error('Amino not supported');
|
|
47
|
+
};
|
|
48
|
+
MsgRegisterPayee.fromData = function (data) {
|
|
49
|
+
var port_id = data.port_id, channel_id = data.channel_id, relayer = data.relayer, payee = data.payee;
|
|
50
|
+
return new MsgRegisterPayee(port_id, channel_id, relayer, payee);
|
|
51
|
+
};
|
|
52
|
+
MsgRegisterPayee.prototype.toData = function () {
|
|
53
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, relayer = _a.relayer, payee = _a.payee;
|
|
54
|
+
return {
|
|
55
|
+
'@type': '/ibc.applications.fee.v1.MsgRegisterPayee',
|
|
56
|
+
port_id: port_id,
|
|
57
|
+
channel_id: channel_id,
|
|
58
|
+
relayer: relayer,
|
|
59
|
+
payee: payee,
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
MsgRegisterPayee.fromProto = function (proto) {
|
|
63
|
+
return new MsgRegisterPayee(proto.portId, proto.channelId, proto.relayer, proto.payee);
|
|
64
|
+
};
|
|
65
|
+
MsgRegisterPayee.prototype.toProto = function () {
|
|
66
|
+
var _a = this, port_id = _a.port_id, channel_id = _a.channel_id, relayer = _a.relayer, payee = _a.payee;
|
|
67
|
+
return tx_1.MsgRegisterPayee.fromPartial({
|
|
68
|
+
portId: port_id,
|
|
69
|
+
channelId: channel_id,
|
|
70
|
+
relayer: relayer,
|
|
71
|
+
payee: payee,
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
MsgRegisterPayee.prototype.packAny = function () {
|
|
75
|
+
return any_1.Any.fromPartial({
|
|
76
|
+
typeUrl: '/ibc.applications.fee.v1.MsgRegisterPayee',
|
|
77
|
+
value: tx_1.MsgRegisterPayee.encode(this.toProto()).finish(),
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
MsgRegisterPayee.unpackAny = function (msgAny) {
|
|
81
|
+
return MsgRegisterPayee.fromProto(tx_1.MsgRegisterPayee.decode(msgAny.value));
|
|
82
|
+
};
|
|
83
|
+
return MsgRegisterPayee;
|
|
84
|
+
}(json_1.JSONSerializable));
|
|
85
|
+
exports.MsgRegisterPayee = MsgRegisterPayee;
|
|
86
|
+
//# sourceMappingURL=MsgRegisterPayee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgRegisterPayee.js","sourceRoot":"","sources":["../../../../../../src/core/ibc/applications/fee/msgs/MsgRegisterPayee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iDAA4D;AAC5D,gEAA+D;AAC/D,sEAA0G;AAE1G;;GAEG;AACH;IAAsC,oCAIrC;IACC;;;;;OAKG;IACH,0BACS,OAAe,EACf,UAAkB,EAClB,OAAe,EACf,KAAa;QAJtB,YAME,iBAAO,SACR;QANQ,aAAO,GAAP,OAAO,CAAQ;QACf,gBAAU,GAAV,UAAU,CAAQ;QAClB,aAAO,GAAP,OAAO,CAAQ;QACf,WAAK,GAAL,KAAK,CAAQ;;IAGtB,CAAC;IAEa,0BAAS,GAAvB,UAAwB,CAAM;QAC5B,CAAC,CAAC;QACF,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEM,kCAAO,GAAd;QACE,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEa,yBAAQ,GAAtB,UACE,IAA2B;QAEnB,IAAA,OAAO,GAAiC,IAAI,QAArC,EAAE,UAAU,GAAqB,IAAI,WAAzB,EAAE,OAAO,GAAY,IAAI,QAAhB,EAAE,KAAK,GAAK,IAAI,MAAT,CAAU;QAErD,OAAO,IAAI,gBAAgB,CACzB,OAAO,EACP,UAAU,EACV,OAAO,EACP,KAAK,CACN,CAAC;IACJ,CAAC;IAEM,iCAAM,GAAb;QACQ,I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timeout_timestamp?: string;
|
|
18
|
+
memo?: string;
|
|
18
19
|
/**
|
|
19
20
|
* @param source_port the port on which the packet will be sent
|
|
20
21
|
* @param source_channel the channel by which the packet will be sent
|
|
@@ -23,8 +24,9 @@ export declare class MsgTransfer extends JSONSerializable<MsgTransfer.Amino, Msg
|
|
|
23
24
|
* @param receiver the recipient address on the destination chain
|
|
24
25
|
* @param timeout_height Timeout height relative to the current block height. (0 to disable)
|
|
25
26
|
* @param timeout_timestamp Timeout timestamp (in nanoseconds) relative to the current block timestamp. (0 to disable)
|
|
27
|
+
* @param memo optional memo
|
|
26
28
|
*/
|
|
27
|
-
constructor(source_port: string, source_channel: string, token: Coin | undefined, sender: AccAddress, receiver: string, timeout_height: Height | undefined, timeout_timestamp: string | undefined);
|
|
29
|
+
constructor(source_port: string, source_channel: string, token: Coin | undefined, sender: AccAddress, receiver: string, timeout_height: Height | undefined, timeout_timestamp: string | undefined, memo: string | undefined);
|
|
28
30
|
static fromAmino(data: MsgTransfer.Amino): MsgTransfer;
|
|
29
31
|
toAmino(): MsgTransfer.Amino;
|
|
30
32
|
static fromData(data: MsgTransfer.Data): MsgTransfer;
|
|
@@ -45,6 +47,7 @@ export declare namespace MsgTransfer {
|
|
|
45
47
|
receiver: string;
|
|
46
48
|
timeout_height: Height.Amino;
|
|
47
49
|
timeout_timestamp?: string;
|
|
50
|
+
memo?: string;
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
interface Data {
|
|
@@ -56,6 +59,7 @@ export declare namespace MsgTransfer {
|
|
|
56
59
|
receiver: string;
|
|
57
60
|
timeout_height: Height.Data;
|
|
58
61
|
timeout_timestamp: string;
|
|
62
|
+
memo?: string;
|
|
59
63
|
}
|
|
60
64
|
type Proto = MsgTransfer_pb;
|
|
61
65
|
}
|
|
@@ -38,8 +38,9 @@ var MsgTransfer = /** @class */ (function (_super) {
|
|
|
38
38
|
* @param receiver the recipient address on the destination chain
|
|
39
39
|
* @param timeout_height Timeout height relative to the current block height. (0 to disable)
|
|
40
40
|
* @param timeout_timestamp Timeout timestamp (in nanoseconds) relative to the current block timestamp. (0 to disable)
|
|
41
|
+
* @param memo optional memo
|
|
41
42
|
*/
|
|
42
|
-
function MsgTransfer(source_port, source_channel, token, sender, receiver, timeout_height, timeout_timestamp) {
|
|
43
|
+
function MsgTransfer(source_port, source_channel, token, sender, receiver, timeout_height, timeout_timestamp, memo) {
|
|
43
44
|
var _this = _super.call(this) || this;
|
|
44
45
|
if (!timeout_height && !timeout_timestamp) {
|
|
45
46
|
throw 'both of timeout_height and timeout_timestamp are undefined';
|
|
@@ -51,17 +52,18 @@ var MsgTransfer = /** @class */ (function (_super) {
|
|
|
51
52
|
_this.receiver = receiver;
|
|
52
53
|
_this.timeout_height = timeout_height;
|
|
53
54
|
_this.timeout_timestamp = timeout_timestamp;
|
|
55
|
+
_this.memo = memo;
|
|
54
56
|
return _this;
|
|
55
57
|
}
|
|
56
58
|
MsgTransfer.fromAmino = function (data) {
|
|
57
|
-
var _a = data.value, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp;
|
|
59
|
+
var _a = data.value, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp, memo = _a.memo;
|
|
58
60
|
if (!timeout_height && !timeout_timestamp) {
|
|
59
61
|
throw 'both of timeout_height and timeout_timestamp are undefined';
|
|
60
62
|
}
|
|
61
|
-
return new MsgTransfer(source_port, source_channel, token ? Coin_1.Coin.fromAmino(token) : undefined, sender, receiver, timeout_height ? Height_1.Height.fromAmino(timeout_height) : undefined, timeout_timestamp);
|
|
63
|
+
return new MsgTransfer(source_port, source_channel, token ? Coin_1.Coin.fromAmino(token) : undefined, sender, receiver, timeout_height ? Height_1.Height.fromAmino(timeout_height) : undefined, timeout_timestamp, memo);
|
|
62
64
|
};
|
|
63
65
|
MsgTransfer.prototype.toAmino = function () {
|
|
64
|
-
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp;
|
|
66
|
+
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp, memo = _a.memo;
|
|
65
67
|
return {
|
|
66
68
|
type: 'cosmos-sdk/MsgTransfer',
|
|
67
69
|
value: {
|
|
@@ -72,18 +74,19 @@ var MsgTransfer = /** @class */ (function (_super) {
|
|
|
72
74
|
receiver: receiver,
|
|
73
75
|
timeout_height: (timeout_height === null || timeout_height === void 0 ? void 0 : timeout_height.toAmino()) || {},
|
|
74
76
|
timeout_timestamp: timeout_timestamp,
|
|
77
|
+
memo: memo,
|
|
75
78
|
},
|
|
76
79
|
};
|
|
77
80
|
};
|
|
78
81
|
MsgTransfer.fromData = function (data) {
|
|
79
|
-
var source_port = data.source_port, source_channel = data.source_channel, token = data.token, sender = data.sender, receiver = data.receiver, timeout_timestamp = data.timeout_timestamp, timeout_height = data.timeout_height;
|
|
82
|
+
var source_port = data.source_port, source_channel = data.source_channel, token = data.token, sender = data.sender, receiver = data.receiver, timeout_timestamp = data.timeout_timestamp, timeout_height = data.timeout_height, memo = data.memo;
|
|
80
83
|
if (!timeout_height && !timeout_timestamp) {
|
|
81
84
|
throw 'both of timeout_height and timeout_timestamp are undefined';
|
|
82
85
|
}
|
|
83
|
-
return new MsgTransfer(source_port, source_channel, token ? Coin_1.Coin.fromData(token) : undefined, sender, receiver, timeout_height ? Height_1.Height.fromData(timeout_height) : undefined, timeout_timestamp === '0' ? undefined : timeout_timestamp);
|
|
86
|
+
return new MsgTransfer(source_port, source_channel, token ? Coin_1.Coin.fromData(token) : undefined, sender, receiver, timeout_height ? Height_1.Height.fromData(timeout_height) : undefined, timeout_timestamp === '0' ? undefined : timeout_timestamp, memo);
|
|
84
87
|
};
|
|
85
88
|
MsgTransfer.prototype.toData = function () {
|
|
86
|
-
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp;
|
|
89
|
+
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp, memo = _a.memo;
|
|
87
90
|
return {
|
|
88
91
|
'@type': '/ibc.applications.transfer.v1.MsgTransfer',
|
|
89
92
|
source_port: source_port,
|
|
@@ -95,16 +98,17 @@ var MsgTransfer = /** @class */ (function (_super) {
|
|
|
95
98
|
? timeout_height.toData()
|
|
96
99
|
: new Height_1.Height(0, 0).toData(),
|
|
97
100
|
timeout_timestamp: timeout_timestamp !== null && timeout_timestamp !== void 0 ? timeout_timestamp : '0',
|
|
101
|
+
memo: memo,
|
|
98
102
|
};
|
|
99
103
|
};
|
|
100
104
|
MsgTransfer.fromProto = function (proto) {
|
|
101
105
|
if (!proto.timeoutHeight && proto.timeoutTimestamp.toNumber() == 0) {
|
|
102
106
|
throw 'both of timeout_height and timeout_timestamp are empty';
|
|
103
107
|
}
|
|
104
|
-
return new MsgTransfer(proto.sourcePort, proto.sourceChannel, proto.token ? Coin_1.Coin.fromProto(proto.token) : undefined, proto.sender, proto.receiver, proto.timeoutHeight ? Height_1.Height.fromProto(proto.timeoutHeight) : undefined, proto.timeoutTimestamp.toString());
|
|
108
|
+
return new MsgTransfer(proto.sourcePort, proto.sourceChannel, proto.token ? Coin_1.Coin.fromProto(proto.token) : undefined, proto.sender, proto.receiver, proto.timeoutHeight ? Height_1.Height.fromProto(proto.timeoutHeight) : undefined, proto.timeoutTimestamp.toString(), proto.memo);
|
|
105
109
|
};
|
|
106
110
|
MsgTransfer.prototype.toProto = function () {
|
|
107
|
-
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp;
|
|
111
|
+
var _a = this, source_port = _a.source_port, source_channel = _a.source_channel, token = _a.token, sender = _a.sender, receiver = _a.receiver, timeout_height = _a.timeout_height, timeout_timestamp = _a.timeout_timestamp, memo = _a.memo;
|
|
108
112
|
return tx_1.MsgTransfer.fromPartial({
|
|
109
113
|
sourcePort: source_port,
|
|
110
114
|
sourceChannel: source_channel,
|
|
@@ -113,6 +117,7 @@ var MsgTransfer = /** @class */ (function (_super) {
|
|
|
113
117
|
receiver: receiver,
|
|
114
118
|
timeoutHeight: timeout_height ? timeout_height.toProto() : undefined,
|
|
115
119
|
timeoutTimestamp: long_1.default.fromString(timeout_timestamp !== null && timeout_timestamp !== void 0 ? timeout_timestamp : '0'),
|
|
120
|
+
memo: memo,
|
|
116
121
|
});
|
|
117
122
|
};
|
|
118
123
|
MsgTransfer.prototype.packAny = function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MsgTransfer.js","sourceRoot":"","sources":["../../../../../../../src/core/ibc/applications/transfer/v1/msgs/MsgTransfer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAA+D;AAE/D,4CAA2C;AAC3C,8CAAwB;AACxB,gEAA+D;AAC/D,2EAAqG;AACrG,yDAAwD;AAExD;;GAEG;AACH;IAAiC,+BAIhC;
|
|
1
|
+
{"version":3,"file":"MsgTransfer.js","sourceRoot":"","sources":["../../../../../../../src/core/ibc/applications/transfer/v1/msgs/MsgTransfer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAA+D;AAE/D,4CAA2C;AAC3C,8CAAwB;AACxB,gEAA+D;AAC/D,2EAAqG;AACrG,yDAAwD;AAExD;;GAEG;AACH;IAAiC,+BAIhC;IASC;;;;;;;;;OASG;IACH,qBACE,WAAmB,EACnB,cAAsB,EACt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AC;IAEM,6BAAO,GAAd;QACQ,IAAA,KASF,IAAI,EARN,WAAW,iBAAA,EACX,cAAc,oBAAA,EACd,KAAK,WAAA,EACL,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,cAAc,oBAAA,EACd,iBAAiB,uBAAA,EACjB,IAAI,UACE,CAAC;QACT,OAAO,gBAAc,CAAC,WAAW,CAAC;YAChC,UAAU,EAAE,WAAW;YACvB,aAAa,EAAE,cAAc;YAC7B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1C,MAAM,QAAA;YACN,QAAQ,UAAA;YACR,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,SAAS;YACpE,gBAAgB,EAAE,cAAI,CAAC,UAAU,CAAC,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,GAAG,CAAC;YAC3D,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IAEM,6BAAO,GAAd;QACE,OAAO,SAAG,CAAC,WAAW,CAAC;YACrB,OAAO,EAAE,2CAA2C;YACpD,KAAK,EAAE,gBAAc,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;IAEa,qBAAS,GAAvB,UAAwB,MAAW;QACjC,OAAO,WAAW,CAAC,SAAS,CAAC,gBAAc,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACpE,CAAC;IACH,kBAAC;AAAD,CAAC,AAjND,CAAiC,uBAAgB,GAiNhD;AAjNY,kCAAW"}
|
|
@@ -10,13 +10,15 @@ export declare class FungibleTokenPacketData extends JSONSerializable<FungibleTo
|
|
|
10
10
|
amount: string;
|
|
11
11
|
sender: string;
|
|
12
12
|
receiver: string;
|
|
13
|
+
memo?: string | undefined;
|
|
13
14
|
/**
|
|
14
15
|
* @param denom the token denomination to be transferred
|
|
15
16
|
* @param amount the token amount to be transferred
|
|
16
17
|
* @param sender the sender address
|
|
17
18
|
* @param receiver the recipient address on the destination chain
|
|
19
|
+
* @param memo optional memo
|
|
18
20
|
*/
|
|
19
|
-
constructor(denom: string, amount: string, sender: string, receiver: string);
|
|
21
|
+
constructor(denom: string, amount: string, sender: string, receiver: string, memo?: string | undefined);
|
|
20
22
|
static fromAmino(data: FungibleTokenPacketData.Amino): FungibleTokenPacketData;
|
|
21
23
|
toAmino(): FungibleTokenPacketData.Amino;
|
|
22
24
|
static fromData(data: FungibleTokenPacketData.Data): FungibleTokenPacketData;
|
|
@@ -30,12 +32,14 @@ export declare namespace FungibleTokenPacketData {
|
|
|
30
32
|
amount: string;
|
|
31
33
|
sender: string;
|
|
32
34
|
receiver: string;
|
|
35
|
+
memo?: string;
|
|
33
36
|
}
|
|
34
37
|
interface Data {
|
|
35
38
|
denom: string;
|
|
36
39
|
amount: string;
|
|
37
40
|
sender: string;
|
|
38
41
|
receiver: string;
|
|
42
|
+
memo?: string;
|
|
39
43
|
}
|
|
40
44
|
type Proto = FungibleTokenPacketData_pb;
|
|
41
45
|
}
|
|
@@ -30,53 +30,58 @@ var FungibleTokenPacketData = /** @class */ (function (_super) {
|
|
|
30
30
|
* @param amount the token amount to be transferred
|
|
31
31
|
* @param sender the sender address
|
|
32
32
|
* @param receiver the recipient address on the destination chain
|
|
33
|
+
* @param memo optional memo
|
|
33
34
|
*/
|
|
34
|
-
function FungibleTokenPacketData(denom, amount, sender, receiver) {
|
|
35
|
+
function FungibleTokenPacketData(denom, amount, sender, receiver, memo) {
|
|
35
36
|
var _this = _super.call(this) || this;
|
|
36
37
|
_this.denom = denom;
|
|
37
38
|
_this.amount = amount;
|
|
38
39
|
_this.sender = sender;
|
|
39
40
|
_this.receiver = receiver;
|
|
41
|
+
_this.memo = memo;
|
|
40
42
|
return _this;
|
|
41
43
|
}
|
|
42
44
|
FungibleTokenPacketData.fromAmino = function (data) {
|
|
43
|
-
var denom = data.denom, amount = data.amount, sender = data.sender, receiver = data.receiver;
|
|
44
|
-
return new FungibleTokenPacketData(denom, amount, sender, receiver);
|
|
45
|
+
var denom = data.denom, amount = data.amount, sender = data.sender, receiver = data.receiver, memo = data.memo;
|
|
46
|
+
return new FungibleTokenPacketData(denom, amount, sender, receiver, memo);
|
|
45
47
|
};
|
|
46
48
|
FungibleTokenPacketData.prototype.toAmino = function () {
|
|
47
|
-
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver;
|
|
49
|
+
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver, memo = _a.memo;
|
|
48
50
|
var res = {
|
|
49
51
|
denom: denom,
|
|
50
52
|
amount: amount,
|
|
51
53
|
sender: sender,
|
|
52
54
|
receiver: receiver,
|
|
55
|
+
memo: memo,
|
|
53
56
|
};
|
|
54
57
|
return res;
|
|
55
58
|
};
|
|
56
59
|
FungibleTokenPacketData.fromData = function (data) {
|
|
57
|
-
var denom = data.denom, amount = data.amount, sender = data.sender, receiver = data.receiver;
|
|
58
|
-
return new FungibleTokenPacketData(denom, amount, sender, receiver);
|
|
60
|
+
var denom = data.denom, amount = data.amount, sender = data.sender, receiver = data.receiver, memo = data.memo;
|
|
61
|
+
return new FungibleTokenPacketData(denom, amount, sender, receiver, memo);
|
|
59
62
|
};
|
|
60
63
|
FungibleTokenPacketData.prototype.toData = function () {
|
|
61
|
-
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver;
|
|
64
|
+
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver, memo = _a.memo;
|
|
62
65
|
var res = {
|
|
63
66
|
denom: denom,
|
|
64
67
|
amount: amount,
|
|
65
68
|
sender: sender,
|
|
66
69
|
receiver: receiver,
|
|
70
|
+
memo: memo,
|
|
67
71
|
};
|
|
68
72
|
return res;
|
|
69
73
|
};
|
|
70
74
|
FungibleTokenPacketData.fromProto = function (proto) {
|
|
71
|
-
return new FungibleTokenPacketData(proto.denom, proto.amount, proto.sender, proto.receiver);
|
|
75
|
+
return new FungibleTokenPacketData(proto.denom, proto.amount, proto.sender, proto.receiver, proto.memo);
|
|
72
76
|
};
|
|
73
77
|
FungibleTokenPacketData.prototype.toProto = function () {
|
|
74
|
-
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver;
|
|
78
|
+
var _a = this, denom = _a.denom, amount = _a.amount, sender = _a.sender, receiver = _a.receiver, memo = _a.memo;
|
|
75
79
|
return packet_1.FungibleTokenPacketData.fromPartial({
|
|
76
80
|
denom: denom,
|
|
77
81
|
amount: amount,
|
|
78
82
|
sender: sender,
|
|
79
83
|
receiver: receiver,
|
|
84
|
+
memo: memo,
|
|
80
85
|
});
|
|
81
86
|
};
|
|
82
87
|
return FungibleTokenPacketData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FungibleTokenPacketData.js","sourceRoot":"","sources":["../../../../../../src/core/ibc/applications/transfer/v2/FungibleTokenPacketData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,mFAAiI;AACjI,iDAA4D;AAE5D;;;;GAIG;AACH;IAA6C,2CAI5C;IACC
|
|
1
|
+
{"version":3,"file":"FungibleTokenPacketData.js","sourceRoot":"","sources":["../../../../../../src/core/ibc/applications/transfer/v2/FungibleTokenPacketData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,mFAAiI;AACjI,iDAA4D;AAE5D;;;;GAIG;AACH;IAA6C,2CAI5C;IACC;;;;;;OAMG;IACH,iCACS,KAAa,EACb,MAAc,EACd,MAAc,EACd,QAAgB,EAChB,IAAa;QALtB,YAOE,iBAAO,SACR;QAPQ,WAAK,GAAL,KAAK,CAAQ;QACb,YAAM,GAAN,MAAM,CAAQ;QACd,YAAM,GAAN,MAAM,CAAQ;QACd,cAAQ,GAAR,QAAQ,CAAQ;QAChB,UAAI,GAAJ,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,OAAO,GAAG,CAAC;IACb,CAAC;IAEa,iCAAS,GAAvB,UACE,KAAoC;QAEpC,OAAO,IAAI,uBAAuB,CAChC,KAAK,CAAC,KAAK,EACX,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,QAAQ,EACd,KAAK,CAAC,IAAI,CACX,CAAC;IACJ,CAAC;IAEM,yCAAO,GAAd;QACQ,IAAA,KAA4C,IAAI,EAA9C,KAAK,WAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,QAAQ,cAAA,EAAE,IAAI,UAAS,CAAC;QACvD,OAAO,gCAA0B,CAAC,WAAW,CAAC;YAC5C,KAAK,OAAA;YACL,MAAM,QAAA;YACN,MAAM,QAAA;YACN,QAAQ,UAAA;YACR,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IACH,8BAAC;AAAD,CAAC,AAlFD,CAA6C,uBAAgB,GAkF5D;AAlFY,0DAAuB"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export * from './auth';
|
|
|
18
18
|
export * from './authz/msgs';
|
|
19
19
|
export * from './authz/authorizations';
|
|
20
20
|
export * from './bank/msgs';
|
|
21
|
-
export * from './crisis';
|
|
21
|
+
export * from './crisis/msgs';
|
|
22
22
|
export * from './distribution/msgs';
|
|
23
23
|
export * from './distribution/proposals';
|
|
24
24
|
export * from './feegrant/msgs';
|
|
@@ -43,3 +43,4 @@ export * from './mstaking/UnbondingDelegation';
|
|
|
43
43
|
export * from './mstaking/Validator';
|
|
44
44
|
export * from './upgrade';
|
|
45
45
|
export * from './vesting';
|
|
46
|
+
export * from './intertx/msgs';
|
package/dist/core/index.js
CHANGED
|
@@ -38,7 +38,7 @@ __exportStar(require("./authz/authorizations"), exports);
|
|
|
38
38
|
// Bank
|
|
39
39
|
__exportStar(require("./bank/msgs"), exports);
|
|
40
40
|
// Crisis
|
|
41
|
-
__exportStar(require("./crisis"), exports);
|
|
41
|
+
__exportStar(require("./crisis/msgs"), exports);
|
|
42
42
|
// Distribution
|
|
43
43
|
__exportStar(require("./distribution/msgs"), exports);
|
|
44
44
|
__exportStar(require("./distribution/proposals"), exports);
|
|
@@ -74,4 +74,6 @@ __exportStar(require("./mstaking/Validator"), exports);
|
|
|
74
74
|
__exportStar(require("./upgrade"), exports);
|
|
75
75
|
// Vesting
|
|
76
76
|
__exportStar(require("./vesting"), exports);
|
|
77
|
+
// InterTx
|
|
78
|
+
__exportStar(require("./intertx/msgs"), exports);
|
|
77
79
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,wCAAsB;AACtB,wCAAsB;AACtB,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,uCAAqB;AACrB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,wCAAsB;AAEtB,OAAO;AACP,yCAAuB;AAEvB,QAAQ;AACR,+CAA6B;AAC7B,yDAAuC;AAEvC,OAAO;AACP,8CAA4B;AAE5B,SAAS;AACT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,wCAAsB;AACtB,wCAAsB;AACtB,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,uCAAqB;AACrB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,wCAAsB;AAEtB,OAAO;AACP,yCAAuB;AAEvB,QAAQ;AACR,+CAA6B;AAC7B,yDAAuC;AAEvC,OAAO;AACP,8CAA4B;AAE5B,SAAS;AACT,gDAA8B;AAE9B,eAAe;AACf,sDAAoC;AACpC,2DAAyC;AAEzC,WAAW;AACX,kDAAgC;AAChC,wDAAsC;AAEtC,aAAa;AACb,6CAA2B;AAC3B,kDAAgC;AAChC,iDAA+B;AAC/B,6CAA2B;AAE3B,MAAM;AACN,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AAEtC,eAAe;AACf,8DAA4C;AAE5C,OAAO;AACP,8CAA4B;AAC5B,mDAAiC;AAEjC,aAAa;AACb,qDAAmC;AACnC,uDAAqC;AAErC,WAAW;AACX,kDAAgC;AAEhC,WAAW;AACX,kDAAgC;AAChC,wDAAsC;AACtC,0DAAwC;AACxC,iEAA+C;AAC/C,uDAAqC;AAErC,UAAU;AACV,4CAA0B;AAE1B,UAAU;AACV,4CAA0B;AAE1B,UAAU;AACV,iDAA+B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../util/json';
|
|
2
|
+
import { AccAddress } from '../../bech32';
|
|
3
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
4
|
+
import { MsgRegisterAccount as MsgRegisterAccount_pb } from '@initia/initia.proto/intertx/tx';
|
|
5
|
+
export declare class MsgRegisterAccount extends JSONSerializable<any, MsgRegisterAccount.Data, MsgRegisterAccount.Proto> {
|
|
6
|
+
owner: AccAddress;
|
|
7
|
+
connection_id: string;
|
|
8
|
+
version: string;
|
|
9
|
+
/**
|
|
10
|
+
* @param owner
|
|
11
|
+
* @param connection_id
|
|
12
|
+
* @param version
|
|
13
|
+
*/
|
|
14
|
+
constructor(owner: AccAddress, connection_id: string, version: string);
|
|
15
|
+
static fromAmino(_: any): any;
|
|
16
|
+
toAmino(): any;
|
|
17
|
+
static fromData(data: MsgRegisterAccount.Data): MsgRegisterAccount;
|
|
18
|
+
toData(): MsgRegisterAccount.Data;
|
|
19
|
+
static fromProto(proto: MsgRegisterAccount.Proto): MsgRegisterAccount;
|
|
20
|
+
toProto(): MsgRegisterAccount.Proto;
|
|
21
|
+
packAny(): Any;
|
|
22
|
+
static unpackAny(msgAny: Any): MsgRegisterAccount;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace MsgRegisterAccount {
|
|
25
|
+
interface Data {
|
|
26
|
+
'@type': '/intertx.MsgRegisterAccount';
|
|
27
|
+
owner: AccAddress;
|
|
28
|
+
connection_id: string;
|
|
29
|
+
version: string;
|
|
30
|
+
}
|
|
31
|
+
type Proto = MsgRegisterAccount_pb;
|
|
32
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MsgRegisterAccount = void 0;
|
|
19
|
+
var json_1 = require("../../../util/json");
|
|
20
|
+
var any_1 = require("@initia/initia.proto/google/protobuf/any");
|
|
21
|
+
var tx_1 = require("@initia/initia.proto/intertx/tx");
|
|
22
|
+
var MsgRegisterAccount = /** @class */ (function (_super) {
|
|
23
|
+
__extends(MsgRegisterAccount, _super);
|
|
24
|
+
/**
|
|
25
|
+
* @param owner
|
|
26
|
+
* @param connection_id
|
|
27
|
+
* @param version
|
|
28
|
+
*/
|
|
29
|
+
function MsgRegisterAccount(owner, connection_id, version) {
|
|
30
|
+
var _this = _super.call(this) || this;
|
|
31
|
+
_this.owner = owner;
|
|
32
|
+
_this.connection_id = connection_id;
|
|
33
|
+
_this.version = version;
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
MsgRegisterAccount.fromAmino = function (_) {
|
|
37
|
+
throw new Error('Amino not supported');
|
|
38
|
+
};
|
|
39
|
+
MsgRegisterAccount.prototype.toAmino = function () {
|
|
40
|
+
throw new Error('Amino not supported');
|
|
41
|
+
};
|
|
42
|
+
MsgRegisterAccount.fromData = function (data) {
|
|
43
|
+
var owner = data.owner, connection_id = data.connection_id, version = data.version;
|
|
44
|
+
return new MsgRegisterAccount(owner, connection_id, version);
|
|
45
|
+
};
|
|
46
|
+
MsgRegisterAccount.prototype.toData = function () {
|
|
47
|
+
var _a = this, owner = _a.owner, connection_id = _a.connection_id, version = _a.version;
|
|
48
|
+
return {
|
|
49
|
+
'@type': '/intertx.MsgRegisterAccount',
|
|
50
|
+
owner: owner,
|
|
51
|
+
connection_id: connection_id,
|
|
52
|
+
version: version,
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
MsgRegisterAccount.fromProto = function (proto) {
|
|
56
|
+
return new MsgRegisterAccount(proto.owner, proto.connectionId, proto.version);
|
|
57
|
+
};
|
|
58
|
+
MsgRegisterAccount.prototype.toProto = function () {
|
|
59
|
+
var _a = this, owner = _a.owner, connection_id = _a.connection_id, version = _a.version;
|
|
60
|
+
return tx_1.MsgRegisterAccount.fromPartial({
|
|
61
|
+
owner: owner,
|
|
62
|
+
connectionId: connection_id,
|
|
63
|
+
version: version,
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
MsgRegisterAccount.prototype.packAny = function () {
|
|
67
|
+
return any_1.Any.fromPartial({
|
|
68
|
+
typeUrl: '/intertx.MsgRegisterAccount',
|
|
69
|
+
value: tx_1.MsgRegisterAccount.encode(this.toProto()).finish(),
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
MsgRegisterAccount.unpackAny = function (msgAny) {
|
|
73
|
+
return MsgRegisterAccount.fromProto(tx_1.MsgRegisterAccount.decode(msgAny.value));
|
|
74
|
+
};
|
|
75
|
+
return MsgRegisterAccount;
|
|
76
|
+
}(json_1.JSONSerializable));
|
|
77
|
+
exports.MsgRegisterAccount = MsgRegisterAccount;
|
|
78
|
+
//# sourceMappingURL=MsgRegisterAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgRegisterAccount.js","sourceRoot":"","sources":["../../../../src/core/intertx/msgs/MsgRegisterAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAsD;AAEtD,gEAA+D;AAC/D,sDAA8F;AAE9F;IAAwC,sCAIvC;IACC;;;;OAIG;IACH,4BACS,KAAiB,EACjB,aAAqB,EACrB,OAAe;QAHxB,YAKE,iBAAO,SACR;QALQ,WAAK,GAAL,KAAK,CAAY;QACjB,mBAAa,GAAb,aAAa,CAAQ;QACrB,aAAO,GAAP,OAAO,CAAQ;;IAGxB,CAAC;IAEa,4BAAS,GAAvB,UAAwB,CAAM;QAC5B,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEM,oCAAO,GAAd;QACE,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAEa,2BAAQ,GAAtB,UACE,IAA6B;QAErB,IAAA,KAAK,GAA6B,IAAI,MAAjC,EAAE,aAAa,GAAc,IAAI,cAAlB,EAAE,OAAO,GAAK,IAAI,QAAT,CAAU;QAC/C,OAAO,IAAI,kBAAkB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEM,mCAAM,GAAb;QACQ,IAAA,KAAoC,IAAI,EAAtC,KAAK,WAAA,EAAE,aAAa,mBA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