@initia/initia.js 0.0.33 → 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/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/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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIRequester } from './APIRequester';
|
|
2
|
-
import { AuthAPI, BankAPI, DistributionAPI, FeeGrantAPI, GovAPI, MintAPI, AuthzAPI, SlashingAPI, MstakingAPI, TendermintAPI, TxAPI, UpgradeAPI, MoveAPI, IbcTransferAPI, IbcAPI } from './api';
|
|
2
|
+
import { AuthAPI, BankAPI, DistributionAPI, FeeGrantAPI, GovAPI, MintAPI, AuthzAPI, SlashingAPI, MstakingAPI, TendermintAPI, TxAPI, UpgradeAPI, MoveAPI, IbcTransferAPI, IbcAPI, InterTxAPI } from './api';
|
|
3
3
|
import { LCDUtils } from './LCDUtils';
|
|
4
4
|
import { Wallet } from './Wallet';
|
|
5
5
|
import { Coins } from '../../core/Coins';
|
|
@@ -51,6 +51,7 @@ export declare class LCDClient {
|
|
|
51
51
|
move: MoveAPI;
|
|
52
52
|
ibc: IbcAPI;
|
|
53
53
|
ibcTransfer: IbcTransferAPI;
|
|
54
|
+
interTx: InterTxAPI;
|
|
54
55
|
utils: LCDUtils;
|
|
55
56
|
/**
|
|
56
57
|
* Creates a new LCD client with the specified configuration.
|
|
@@ -65,6 +65,7 @@ var LCDClient = /** @class */ (function () {
|
|
|
65
65
|
this.ibcTransfer = new api_1.IbcTransferAPI(this.apiRequester);
|
|
66
66
|
this.tx = new api_1.TxAPI(this);
|
|
67
67
|
this.upgrade = new api_1.UpgradeAPI(this.apiRequester);
|
|
68
|
+
this.interTx = new api_1.InterTxAPI(this.apiRequester);
|
|
68
69
|
this.utils = new LCDUtils_1.LCDUtils(this);
|
|
69
70
|
}
|
|
70
71
|
/** Creates a new wallet with the Key. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LCDClient.js","sourceRoot":"","sources":["../../../src/client/lcd/LCDClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"LCDClient.js","sourceRoot":"","sources":["../../../src/client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,IAAI,CAAC,KAAK,GAAG,IAAI,cAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACnD,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,mBAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvD,IAAI,CAAC,IAAI,GAAG,IAAI,aAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3C,IAAI,CAAC,GAAG,GAAG,IAAI,YAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,IAAI,oBAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACzD,IAAI,CAAC,EAAE,GAAG,IAAI,WAAK,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjD,IAAI,CAAC,KAAK,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,yCAAyC;IAClC,0BAAM,GAAb,UAAc,GAAQ;QACpB,OAAO,IAAI,eAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC/B,CAAC;IACH,gBAAC;AAAD,CAAC,AAhED,IAgEC;AAhEY,8BAAS"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (_) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
+
exports.InterTxAPI = void 0;
|
|
55
|
+
var BaseAPI_1 = require("./BaseAPI");
|
|
56
|
+
var InterTxAPI = /** @class */ (function (_super) {
|
|
57
|
+
__extends(InterTxAPI, _super);
|
|
58
|
+
function InterTxAPI() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
InterTxAPI.prototype.interchainAccount = function (owner, connection_id) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
return [2 /*return*/, this.c
|
|
65
|
+
.get("/inter-tx/interchain_account/owner/".concat(owner, "/connection/").concat(connection_id))
|
|
66
|
+
.then(function (d) { return d.interchain_account_address; })];
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
return InterTxAPI;
|
|
71
|
+
}(BaseAPI_1.BaseAPI));
|
|
72
|
+
exports.InterTxAPI = InterTxAPI;
|
|
73
|
+
//# sourceMappingURL=InterTxAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InterTxAPI.js","sourceRoot":"","sources":["../../../../src/client/lcd/api/InterTxAPI.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAoC;AAEpC;IAAgC,8BAAO;IAAvC;;IAMA,CAAC;IALc,sCAAiB,GAA9B,UAA+B,KAAiB,EAAE,aAAqB;;;gBACrE,sBAAO,IAAI,CAAC,CAAC;yBACV,GAAG,CAAyC,6CAAsC,KAAK,yBAAe,aAAa,CAAE,CAAC;yBACtH,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,0BAA0B,EAA5B,CAA4B,CAAC,EAAC;;;KAC5C;IACH,iBAAC;AAAD,CAAC,AAND,CAAgC,iBAAO,GAMtC;AANY,gCAAU"}
|
|
@@ -29,4 +29,5 @@ __exportStar(require("./MintAPI"), exports);
|
|
|
29
29
|
__exportStar(require("./IbcAPI"), exports);
|
|
30
30
|
__exportStar(require("./IbcTransferAPI"), exports);
|
|
31
31
|
__exportStar(require("./UpgradeAPI"), exports);
|
|
32
|
+
__exportStar(require("./InterTxAPI"), exports);
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/lcd/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,gDAA8B;AAC9B,2CAAyB;AACzB,6CAA2B;AAC3B,gDAA8B;AAC9B,gDAA8B;AAC9B,kDAAgC;AAChC,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,mDAAiC;AACjC,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/lcd/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,gDAA8B;AAC9B,2CAAyB;AACzB,6CAA2B;AAC3B,gDAA8B;AAC9B,gDAA8B;AAC9B,kDAAgC;AAChC,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B"}
|
package/dist/core/Msg.d.ts
CHANGED
|
@@ -11,13 +11,14 @@ import { IbcTransferMsg } from './ibc/applications/transfer';
|
|
|
11
11
|
import { IbcClientMsg } from './ibc/msgs/client';
|
|
12
12
|
import { IbcConnectionMsg } from './ibc/msgs/connection';
|
|
13
13
|
import { IbcChannelMsg } from './ibc/msgs/channel';
|
|
14
|
-
import { CrisisMsg } from './crisis';
|
|
14
|
+
import { CrisisMsg } from './crisis/msgs';
|
|
15
|
+
import { InterTxMsg } from './intertx/msgs';
|
|
15
16
|
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
16
|
-
export declare type Msg = BankMsg | DistributionMsg | FeeGrantMsg | GovMsg | MsgAuthMsg | SlashingMsg | MstakingMsg | VestingMsg | MoveMsg | IbcTransferMsg | IbcClientMsg | IbcConnectionMsg | IbcChannelMsg | CrisisMsg;
|
|
17
|
+
export declare type Msg = BankMsg | DistributionMsg | FeeGrantMsg | GovMsg | MsgAuthMsg | SlashingMsg | MstakingMsg | VestingMsg | MoveMsg | IbcTransferMsg | IbcClientMsg | IbcConnectionMsg | IbcChannelMsg | CrisisMsg | InterTxMsg;
|
|
17
18
|
export declare namespace Msg {
|
|
18
19
|
type Amino = BankMsg.Amino | DistributionMsg.Amino | FeeGrantMsg.Amino | GovMsg.Amino | MsgAuthMsg.Amino | SlashingMsg.Amino | MstakingMsg.Amino | VestingMsg.Amino | MoveMsg.Amino | IbcTransferMsg.Amino | CrisisMsg.Amino;
|
|
19
|
-
type Data = BankMsg.Data | DistributionMsg.Data | FeeGrantMsg.Data | GovMsg.Data | MsgAuthMsg.Data | SlashingMsg.Data | MstakingMsg.Data | VestingMsg.Data | MoveMsg.Data | IbcTransferMsg.Data | IbcClientMsg.Data | IbcConnectionMsg.Data | IbcChannelMsg.Data | CrisisMsg.Data;
|
|
20
|
-
type Proto = BankMsg.Proto | DistributionMsg.Proto | FeeGrantMsg.Proto | GovMsg.Proto | MsgAuthMsg.Proto | SlashingMsg.Proto | MstakingMsg.Proto | VestingMsg.Proto | MoveMsg.Proto | IbcTransferMsg.Proto | IbcClientMsg.Proto | IbcConnectionMsg.Proto | IbcChannelMsg.Proto | CrisisMsg.Proto;
|
|
20
|
+
type Data = BankMsg.Data | DistributionMsg.Data | FeeGrantMsg.Data | GovMsg.Data | MsgAuthMsg.Data | SlashingMsg.Data | MstakingMsg.Data | VestingMsg.Data | MoveMsg.Data | IbcTransferMsg.Data | IbcClientMsg.Data | IbcConnectionMsg.Data | IbcChannelMsg.Data | CrisisMsg.Data | InterTxMsg.Data;
|
|
21
|
+
type Proto = BankMsg.Proto | DistributionMsg.Proto | FeeGrantMsg.Proto | GovMsg.Proto | MsgAuthMsg.Proto | SlashingMsg.Proto | MstakingMsg.Proto | VestingMsg.Proto | MoveMsg.Proto | IbcTransferMsg.Proto | IbcClientMsg.Proto | IbcConnectionMsg.Proto | IbcChannelMsg.Proto | CrisisMsg.Proto | InterTxMsg.Proto;
|
|
21
22
|
function fromAmino(data: Msg.Amino): Msg;
|
|
22
23
|
function fromData(data: Msg.Data): Msg;
|
|
23
24
|
function fromProto(proto: Any): Msg;
|
package/dist/core/Msg.js
CHANGED
|
@@ -14,7 +14,8 @@ var transfer_1 = require("./ibc/applications/transfer");
|
|
|
14
14
|
var client_1 = require("./ibc/msgs/client");
|
|
15
15
|
var connection_1 = require("./ibc/msgs/connection");
|
|
16
16
|
var channel_1 = require("./ibc/msgs/channel");
|
|
17
|
-
var
|
|
17
|
+
var msgs_10 = require("./crisis/msgs");
|
|
18
|
+
var msgs_11 = require("./intertx/msgs");
|
|
18
19
|
var Msg;
|
|
19
20
|
(function (Msg) {
|
|
20
21
|
function fromAmino(data) {
|
|
@@ -83,7 +84,7 @@ var Msg;
|
|
|
83
84
|
return transfer_1.MsgTransfer.fromAmino(data);
|
|
84
85
|
// crisis
|
|
85
86
|
case 'cosmos-sdk/MsgVerifyInvariant':
|
|
86
|
-
return
|
|
87
|
+
return msgs_10.MsgVerifyInvariant.fromAmino(data);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
Msg.fromAmino = fromAmino;
|
|
@@ -192,7 +193,12 @@ var Msg;
|
|
|
192
193
|
return channel_1.MsgTimeoutOnClose.fromData(data);
|
|
193
194
|
// crisis
|
|
194
195
|
case '/cosmos.crisis.v1beta1.MsgVerifyInvariant':
|
|
195
|
-
return
|
|
196
|
+
return msgs_10.MsgVerifyInvariant.fromData(data);
|
|
197
|
+
// intertx
|
|
198
|
+
case '/intertx.MsgRegisterAccount':
|
|
199
|
+
return msgs_11.MsgRegisterAccount.fromData(data);
|
|
200
|
+
case '/intertx.MsgSubmitTx':
|
|
201
|
+
return msgs_11.MsgSubmitTx.fromData(data);
|
|
196
202
|
default:
|
|
197
203
|
throw Error("not supported msg ".concat(data['@type']));
|
|
198
204
|
}
|
|
@@ -301,7 +307,12 @@ var Msg;
|
|
|
301
307
|
return channel_1.MsgTimeoutOnClose.unpackAny(proto);
|
|
302
308
|
// crisis
|
|
303
309
|
case '/cosmos.crisis.v1beta1.MsgVerifyInvariant':
|
|
304
|
-
return
|
|
310
|
+
return msgs_10.MsgVerifyInvariant.unpackAny(proto);
|
|
311
|
+
// intertx
|
|
312
|
+
case '/intertx.MsgRegisterAccount':
|
|
313
|
+
return msgs_11.MsgRegisterAccount.unpackAny(proto);
|
|
314
|
+
case '/intertx.MsgSubmitTx':
|
|
315
|
+
return msgs_11.MsgSubmitTx.unpackAny(proto);
|
|
305
316
|
default:
|
|
306
317
|
throw Error("not supported msg ".concat(proto.typeUrl));
|
|
307
318
|
}
|
package/dist/core/Msg.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Msg.js","sourceRoot":"","sources":["../../src/core/Msg.ts"],"names":[],"mappings":";;;AAAA,oCAA6D;AAC7D,4CAM6B;AAC7B,wCAIyB;AACzB,mCAMoB;AACpB,qCAKsB;AACtB,wCAAyD;AACzD,wCAOyB;AACzB,uCAGwB;AACxB,oCAKqB;AACrB,wDAA0E;AAC1E,4CAM2B;AAC3B,oDAM+B;AAC/B,8CAY4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"Msg.js","sourceRoot":"","sources":["../../src/core/Msg.ts"],"names":[],"mappings":";;;AAAA,oCAA6D;AAC7D,4CAM6B;AAC7B,wCAIyB;AACzB,mCAMoB;AACpB,qCAKsB;AACtB,wCAAyD;AACzD,wCAOyB;AACzB,uCAGwB;AACxB,oCAKqB;AACrB,wDAA0E;AAC1E,4CAM2B;AAC3B,oDAM+B;AAC/B,8CAY4B;AAC5B,uCAA8D;AAC9D,wCAA6E;AAoB7E,IAAiB,GAAG,CAmYnB;AAnYD,WAAiB,GAAG;IAgDlB,SAAgB,SAAS,CAAC,IAAe;QACvC,QAAQ,IAAI,CAAC,IAAI,EAAE;YACjB,OAAO;YACP,KAAK,oBAAoB;gBACvB,OAAO,cAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACjC,KAAK,yBAAyB;gBAC5B,OAAO,mBAAY,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAEtC,eAAe;YACf,KAAK,qCAAqC;gBACxC,OAAO,4BAAqB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAC/C,KAAK,wCAAwC;gBAC3C,OAAO,iCA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AChC,OAAO,0BAAkB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC7C,KAAK,sBAAsB;gBACzB,OAAO,mBAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAEtC;gBACE,MAAM,KAAK,CAAC,4BAAqB,KAAK,CAAC,OAAO,CAAE,CAAC,CAAC;SACrD;IACH,CAAC;IA/He,aAAS,YA+HxB,CAAA;AACH,CAAC,EAnYgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAmYnB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { JSONSerializable } from '../../../util/json';
|
|
2
|
+
import { Any } from '@initia/initia.proto/google/protobuf/any';
|
|
3
|
+
import { MsgVerifyInvariant as MsgVerifyInvariant_pb } from '@initia/initia.proto/cosmos/crisis/v1beta1/tx';
|
|
4
|
+
import { AccAddress } from '../../bech32';
|
|
5
|
+
/**
|
|
6
|
+
* MsgVerifyInvariant represents a message to verify a particular invariance.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MsgVerifyInvariant extends JSONSerializable<MsgVerifyInvariant.Amino, MsgVerifyInvariant.Data, MsgVerifyInvariant.Proto> {
|
|
9
|
+
sender: AccAddress;
|
|
10
|
+
invariantModuleName: string;
|
|
11
|
+
invariantRoute: string;
|
|
12
|
+
/**
|
|
13
|
+
* @param sender sender's address
|
|
14
|
+
* @param invariantModuleName module name to verify invariant
|
|
15
|
+
* @param invariantRoute route to verify
|
|
16
|
+
*/
|
|
17
|
+
constructor(sender: AccAddress, invariantModuleName: string, invariantRoute: string);
|
|
18
|
+
static fromAmino(data: MsgVerifyInvariant.Amino): MsgVerifyInvariant;
|
|
19
|
+
toAmino(): MsgVerifyInvariant.Amino;
|
|
20
|
+
static fromData(data: MsgVerifyInvariant.Data): MsgVerifyInvariant;
|
|
21
|
+
toData(): MsgVerifyInvariant.Data;
|
|
22
|
+
static fromProto(proto: MsgVerifyInvariant.Proto): MsgVerifyInvariant;
|
|
23
|
+
toProto(): MsgVerifyInvariant.Proto;
|
|
24
|
+
packAny(): Any;
|
|
25
|
+
static unpackAny(msgAny: Any): MsgVerifyInvariant;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace MsgVerifyInvariant {
|
|
28
|
+
interface Amino {
|
|
29
|
+
type: 'cosmos-sdk/MsgVerifyInvariant';
|
|
30
|
+
value: {
|
|
31
|
+
sender: AccAddress;
|
|
32
|
+
invariantModuleName: string;
|
|
33
|
+
invariantRoute: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
interface Data {
|
|
37
|
+
'@type': '/cosmos.crisis.v1beta1.MsgVerifyInvariant';
|
|
38
|
+
sender: AccAddress;
|
|
39
|
+
invariantModuleName: string;
|
|
40
|
+
invariantRoute: string;
|
|
41
|
+
}
|
|
42
|
+
type Proto = MsgVerifyInvariant_pb;
|
|
43
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.MsgVerifyInvariant = 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/cosmos/crisis/v1beta1/tx");
|
|
22
|
+
/**
|
|
23
|
+
* MsgVerifyInvariant represents a message to verify a particular invariance.
|
|
24
|
+
*/
|
|
25
|
+
var MsgVerifyInvariant = /** @class */ (function (_super) {
|
|
26
|
+
__extends(MsgVerifyInvariant, _super);
|
|
27
|
+
/**
|
|
28
|
+
* @param sender sender's address
|
|
29
|
+
* @param invariantModuleName module name to verify invariant
|
|
30
|
+
* @param invariantRoute route to verify
|
|
31
|
+
*/
|
|
32
|
+
function MsgVerifyInvariant(sender, invariantModuleName, invariantRoute) {
|
|
33
|
+
var _this = _super.call(this) || this;
|
|
34
|
+
_this.sender = sender;
|
|
35
|
+
_this.invariantModuleName = invariantModuleName;
|
|
36
|
+
_this.invariantRoute = invariantRoute;
|
|
37
|
+
return _this;
|
|
38
|
+
}
|
|
39
|
+
MsgVerifyInvariant.fromAmino = function (data) {
|
|
40
|
+
var _a = data.value, sender = _a.sender, invariantModuleName = _a.invariantModuleName, invariantRoute = _a.invariantRoute;
|
|
41
|
+
return new MsgVerifyInvariant(sender, invariantModuleName, invariantRoute);
|
|
42
|
+
};
|
|
43
|
+
MsgVerifyInvariant.prototype.toAmino = function () {
|
|
44
|
+
throw new Error('MsgVerifyInvarant is not allowed to send');
|
|
45
|
+
};
|
|
46
|
+
MsgVerifyInvariant.fromData = function (data) {
|
|
47
|
+
var sender = data.sender, invariantModuleName = data.invariantModuleName, invariantRoute = data.invariantRoute;
|
|
48
|
+
return new MsgVerifyInvariant(sender, invariantModuleName, invariantRoute);
|
|
49
|
+
};
|
|
50
|
+
MsgVerifyInvariant.prototype.toData = function () {
|
|
51
|
+
var _a = this, sender = _a.sender, invariantModuleName = _a.invariantModuleName, invariantRoute = _a.invariantRoute;
|
|
52
|
+
return {
|
|
53
|
+
'@type': '/cosmos.crisis.v1beta1.MsgVerifyInvariant',
|
|
54
|
+
sender: sender,
|
|
55
|
+
invariantModuleName: invariantModuleName,
|
|
56
|
+
invariantRoute: invariantRoute,
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
MsgVerifyInvariant.fromProto = function (proto) {
|
|
60
|
+
return new MsgVerifyInvariant(proto.sender, proto.invariantModuleName, proto.invariantRoute);
|
|
61
|
+
};
|
|
62
|
+
MsgVerifyInvariant.prototype.toProto = function () {
|
|
63
|
+
throw new Error('MsgVerifyInvarant is not allowed to send');
|
|
64
|
+
};
|
|
65
|
+
MsgVerifyInvariant.prototype.packAny = function () {
|
|
66
|
+
return any_1.Any.fromPartial({
|
|
67
|
+
typeUrl: '/cosmos.crisis.v1beta1.MsgVerifyInvariant',
|
|
68
|
+
value: tx_1.MsgVerifyInvariant.encode(this.toProto()).finish(),
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
MsgVerifyInvariant.unpackAny = function (msgAny) {
|
|
72
|
+
return MsgVerifyInvariant.fromProto(tx_1.MsgVerifyInvariant.decode(msgAny.value));
|
|
73
|
+
};
|
|
74
|
+
return MsgVerifyInvariant;
|
|
75
|
+
}(json_1.JSONSerializable));
|
|
76
|
+
exports.MsgVerifyInvariant = MsgVerifyInvariant;
|
|
77
|
+
//# sourceMappingURL=MsgVerifyInvariant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgVerifyInvariant.js","sourceRoot":"","sources":["../../../../src/core/crisis/msgs/MsgVerifyInvariant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAsD;AACtD,gEAA+D;AAC/D,oEAA4G;AAG5G;;GAEG;AACH;IAAwC,sCAIvC;IACC;;;;OAIG;IACH,4BACS,MAAkB,EAClB,mBAA2B,EAC3B,cAAsB;QAH/B,YAKE,iBAAO,SACR;QALQ,YAAM,GAAN,MAAM,CAAY;QAClB,yBAAmB,GAAnB,mBAAmB,CAAQ;QAC3B,oBAAc,GAAd,cAAc,CAAQ;;IAG/B,CAAC;IAEa,4BAAS,GAAvB,UAAwB,I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,kBAAkB,CAAC,SAAS,CACjC,uBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAC3C,CAAC;IACJ,CAAC;IACH,yBAAC;AAAD,CAAC,AArED,CAAwC,uBAAgB,GAqEvD;AArEY,gDAAkB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MsgVerifyInvariant } from './MsgVerifyInvariant';
|
|
2
|
+
export * from './MsgVerifyInvariant';
|
|
3
|
+
export declare type CrisisMsg = MsgVerifyInvariant;
|
|
4
|
+
export declare namespace CrisisMsg {
|
|
5
|
+
type Amino = MsgVerifyInvariant.Amino;
|
|
6
|
+
type Data = MsgVerifyInvariant.Data;
|
|
7
|
+
type Proto = MsgVerifyInvariant.Proto;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MsgVerifyInvariant"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/crisis/msgs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,uDAAqC"}
|
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/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ACL,CAAC;IAEM,oCAAO,GAAd;QACE,OAAO,SAAG,CAAC,WAAW,CAAC;YACrB,OAAO,EAAE,6BAA6B;YACtC,KAAK,EAAE,uBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;SAC7D,CAAC,CAAC;IACL,CAAC;IAEa,4BAAS,GAAvB,UAAwB,MAAW;QACjC,OAAO,kBAAkB,CAAC,SAAS,CACjC,uBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAC3C,CAAC;IACJ,CAAC;IACH,yBAAC;AAAD,CAAC,AA1ED,CAAwC,uBAAgB,GA0EvD;AA1EY,gDAAkB"}
|
|
@@ -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 { MsgSubmitTx as MsgSubmitTx_pb } from '@initia/initia.proto/intertx/tx';
|
|
5
|
+
export declare class MsgSubmitTx extends JSONSerializable<any, MsgSubmitTx.Data, MsgSubmitTx.Proto> {
|
|
6
|
+
owner: AccAddress;
|
|
7
|
+
connection_id: string;
|
|
8
|
+
msg: any;
|
|
9
|
+
/**
|
|
10
|
+
* @param owner
|
|
11
|
+
* @param connection_id
|
|
12
|
+
* @param msg
|
|
13
|
+
*/
|
|
14
|
+
constructor(owner: AccAddress, connection_id: string, msg: any);
|
|
15
|
+
static fromAmino(_: any): any;
|
|
16
|
+
toAmino(): any;
|
|
17
|
+
static fromData(data: MsgSubmitTx.Data): MsgSubmitTx;
|
|
18
|
+
toData(): MsgSubmitTx.Data;
|
|
19
|
+
static fromProto(proto: MsgSubmitTx.Proto): MsgSubmitTx;
|
|
20
|
+
toProto(): MsgSubmitTx.Proto;
|
|
21
|
+
packAny(): Any;
|
|
22
|
+
static unpackAny(msgAny: Any): MsgSubmitTx;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace MsgSubmitTx {
|
|
25
|
+
interface Data {
|
|
26
|
+
'@type': '/intertx.MsgSubmitTx';
|
|
27
|
+
owner: AccAddress;
|
|
28
|
+
connection_id: string;
|
|
29
|
+
msg: Any;
|
|
30
|
+
}
|
|
31
|
+
type Proto = MsgSubmitTx_pb;
|
|
32
|
+
}
|