@injectivelabs/sdk-ts 1.0.185 → 1.0.187
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/eip712/eip712.d.ts +3 -3
- package/dist/core/modules/distribution/index.d.ts +1 -0
- package/dist/core/modules/distribution/index.d.ts.map +1 -1
- package/dist/core/modules/distribution/index.js +3 -1
- package/dist/core/modules/distribution/index.js.map +1 -1
- package/dist/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +33 -0
- package/dist/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts.map +1 -0
- package/dist/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js +51 -0
- package/dist/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js.map +1 -0
- package/dist/core/modules/msgs.d.ts +3 -1
- package/dist/core/modules/msgs.d.ts.map +1 -1
- package/dist/core/modules/msgs.js.map +1 -1
- package/dist/core/modules/staking/index.d.ts +1 -0
- package/dist/core/modules/staking/index.d.ts.map +1 -1
- package/dist/core/modules/staking/index.js +3 -1
- package/dist/core/modules/staking/index.js.map +1 -1
- package/dist/core/modules/staking/msgs/MsgEditValidator.d.ts +42 -0
- package/dist/core/modules/staking/msgs/MsgEditValidator.d.ts.map +1 -0
- package/dist/core/modules/staking/msgs/MsgEditValidator.js +77 -0
- package/dist/core/modules/staking/msgs/MsgEditValidator.js.map +1 -0
- package/package.json +3 -3
|
@@ -26,9 +26,6 @@ export declare const getEip712TypedData: ({ msgs, tx, fee, ethereumChainId, }: {
|
|
|
26
26
|
} | {
|
|
27
27
|
type: string;
|
|
28
28
|
value: Omit<import("../modules/exchange/msgs/MsgBatchUpdateOrders").MsgBatchUpdateOrders.Amino, "type">;
|
|
29
|
-
} | {
|
|
30
|
-
type: string;
|
|
31
|
-
value: Omit<import("../modules/distribution/msgs/MsgWithdrawDelegatorReward").MsgWithdrawDelegatorReward.Amino, "type">;
|
|
32
29
|
} | {
|
|
33
30
|
type: string;
|
|
34
31
|
value: Omit<import("../modules/exchange/msgs/MsgBatchCancelDerivativeOrders").MsgBatchCancelDerivativeOrders.Amino, "type">;
|
|
@@ -89,6 +86,9 @@ export declare const getEip712TypedData: ({ msgs, tx, fee, ethereumChainId, }: {
|
|
|
89
86
|
} | {
|
|
90
87
|
type: string;
|
|
91
88
|
value: Omit<import("../modules/exchange/msgs/MsgMultiExecute").MsgMultiExecute.Amino, "type">;
|
|
89
|
+
} | {
|
|
90
|
+
type: string;
|
|
91
|
+
value: Omit<import("../modules/distribution/msgs/MsgWithdrawValidatorCommission").MsgWithdrawValidatorCommission.Amino, "type">;
|
|
92
92
|
})[];
|
|
93
93
|
fee: {
|
|
94
94
|
amount: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/modules/distribution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,mCAAmC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/modules/distribution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,uCAAuC,CAAA"}
|
|
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgWithdrawDelegatorReward = void 0;
|
|
6
|
+
exports.MsgWithdrawValidatorCommission = exports.MsgWithdrawDelegatorReward = void 0;
|
|
7
7
|
var MsgWithdrawDelegatorReward_1 = require("./msgs/MsgWithdrawDelegatorReward");
|
|
8
8
|
Object.defineProperty(exports, "MsgWithdrawDelegatorReward", { enumerable: true, get: function () { return __importDefault(MsgWithdrawDelegatorReward_1).default; } });
|
|
9
|
+
var MsgWithdrawValidatorCommission_1 = require("./msgs/MsgWithdrawValidatorCommission");
|
|
10
|
+
Object.defineProperty(exports, "MsgWithdrawValidatorCommission", { enumerable: true, get: function () { return __importDefault(MsgWithdrawValidatorCommission_1).default; } });
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/modules/distribution/index.ts"],"names":[],"mappings":";;;;;;AAAA,gFAAyF;AAAhF,yJAAA,OAAO,OAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/modules/distribution/index.ts"],"names":[],"mappings":";;;;;;AAAA,gFAAyF;AAAhF,yJAAA,OAAO,OAA8B;AAC9C,wFAAiG;AAAxF,iKAAA,OAAO,OAAkC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { MsgWithdrawValidatorCommission as BaseMsgWithdrawValidatorCommission } from '@injectivelabs/chain-api/cosmos/distribution/v1beta1/tx_pb';
|
|
2
|
+
import { MsgBase } from '../../MsgBase';
|
|
3
|
+
export declare namespace MsgWithdrawValidatorCommission {
|
|
4
|
+
interface Params {
|
|
5
|
+
validatorAddress: string;
|
|
6
|
+
}
|
|
7
|
+
interface DirectSign {
|
|
8
|
+
type: '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission';
|
|
9
|
+
message: BaseMsgWithdrawValidatorCommission;
|
|
10
|
+
}
|
|
11
|
+
interface Data extends BaseMsgWithdrawValidatorCommission.AsObject {
|
|
12
|
+
'@type': '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission';
|
|
13
|
+
}
|
|
14
|
+
interface Amino extends BaseMsgWithdrawValidatorCommission.AsObject {
|
|
15
|
+
type: 'cosmos-sdk/MsgWithdrawDelegationReward';
|
|
16
|
+
}
|
|
17
|
+
interface Web3 extends BaseMsgWithdrawValidatorCommission.AsObject {
|
|
18
|
+
'@type': '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission';
|
|
19
|
+
}
|
|
20
|
+
type Proto = BaseMsgWithdrawValidatorCommission;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @category Messages
|
|
24
|
+
*/
|
|
25
|
+
export default class MsgWithdrawValidatorCommission extends MsgBase<MsgWithdrawValidatorCommission.Params, MsgWithdrawValidatorCommission.Data, MsgWithdrawValidatorCommission.Proto, MsgWithdrawValidatorCommission.Amino, MsgWithdrawValidatorCommission.DirectSign> {
|
|
26
|
+
static fromJSON(params: MsgWithdrawValidatorCommission.Params): MsgWithdrawValidatorCommission;
|
|
27
|
+
toProto(): MsgWithdrawValidatorCommission.Proto;
|
|
28
|
+
toData(): MsgWithdrawValidatorCommission.Data;
|
|
29
|
+
toAmino(): MsgWithdrawValidatorCommission.Amino;
|
|
30
|
+
toWeb3(): MsgWithdrawValidatorCommission.Web3;
|
|
31
|
+
toDirectSign(): MsgWithdrawValidatorCommission.DirectSign;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=MsgWithdrawValidatorCommission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgWithdrawValidatorCommission.d.ts","sourceRoot":"","sources":["../../../../../src/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,IAAI,kCAAkC,EAAE,MAAM,4DAA4D,CAAA;AACjJ,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,MAAM,CAAC,OAAO,WAAW,8BAA8B,CAAC;IACtD,UAAiB,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAA;KACzB;IAED,UAAiB,UAAU;QACzB,IAAI,EAAE,6DAA6D,CAAA;QACnE,OAAO,EAAE,kCAAkC,CAAA;KAC5C;IAED,UAAiB,IAAK,SAAQ,kCAAkC,CAAC,QAAQ;QACvE,OAAO,EAAE,6DAA6D,CAAA;KACvE;IAED,UAAiB,KAAM,SAAQ,kCAAkC,CAAC,QAAQ;QACxE,IAAI,EAAE,wCAAwC,CAAA;KAC/C;IAED,UAAiB,IAAK,SAAQ,kCAAkC,CAAC,QAAQ;QACvE,OAAO,EAAE,6DAA6D,CAAA;KACvE;IAED,KAAY,KAAK,GAAG,kCAAkC,CAAA;CACvD;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,8BAA+B,SAAQ,OAAO,CACjE,8BAA8B,CAAC,MAAM,EACrC,8BAA8B,CAAC,IAAI,EACnC,8BAA8B,CAAC,KAAK,EACpC,8BAA8B,CAAC,KAAK,EACpC,8BAA8B,CAAC,UAAU,CAC1C;IACC,MAAM,CAAC,QAAQ,CACb,MAAM,EAAE,8BAA8B,CAAC,MAAM,GAC5C,8BAA8B;IAI1B,OAAO,IAAI,8BAA8B,CAAC,KAAK;IAS/C,MAAM,IAAI,8BAA8B,CAAC,IAAI;IAS7C,OAAO,IAAI,8BAA8B,CAAC,KAAK;IAS/C,MAAM,IAAI,8BAA8B,CAAC,IAAI;IAU7C,YAAY,IAAI,8BAA8B,CAAC,UAAU;CAQjE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
const tx_pb_1 = require("@injectivelabs/chain-api/cosmos/distribution/v1beta1/tx_pb");
|
|
15
|
+
const MsgBase_1 = require("../../MsgBase");
|
|
16
|
+
/**
|
|
17
|
+
* @category Messages
|
|
18
|
+
*/
|
|
19
|
+
class MsgWithdrawValidatorCommission extends MsgBase_1.MsgBase {
|
|
20
|
+
static fromJSON(params) {
|
|
21
|
+
return new MsgWithdrawValidatorCommission(params);
|
|
22
|
+
}
|
|
23
|
+
toProto() {
|
|
24
|
+
const { params } = this;
|
|
25
|
+
const message = new tx_pb_1.MsgWithdrawValidatorCommission();
|
|
26
|
+
message.setValidatorAddress(params.validatorAddress);
|
|
27
|
+
return message;
|
|
28
|
+
}
|
|
29
|
+
toData() {
|
|
30
|
+
const proto = this.toProto();
|
|
31
|
+
return Object.assign({ '@type': '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission' }, proto.toObject());
|
|
32
|
+
}
|
|
33
|
+
toAmino() {
|
|
34
|
+
const proto = this.toProto();
|
|
35
|
+
return Object.assign({ type: 'cosmos-sdk/MsgWithdrawDelegationReward' }, proto.toObject());
|
|
36
|
+
}
|
|
37
|
+
toWeb3() {
|
|
38
|
+
const amino = this.toAmino();
|
|
39
|
+
const { type } = amino, rest = __rest(amino, ["type"]);
|
|
40
|
+
return Object.assign({ '@type': '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission' }, rest);
|
|
41
|
+
}
|
|
42
|
+
toDirectSign() {
|
|
43
|
+
const proto = this.toProto();
|
|
44
|
+
return {
|
|
45
|
+
type: '/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission',
|
|
46
|
+
message: proto,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.default = MsgWithdrawValidatorCommission;
|
|
51
|
+
//# sourceMappingURL=MsgWithdrawValidatorCommission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgWithdrawValidatorCommission.js","sourceRoot":"","sources":["../../../../../src/core/modules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msgs/MsgExec';
|
|
5
5
|
import MsgSend from './bank/msgs/MsgSend';
|
|
6
6
|
import MsgWithdrawDelegatorReward from './distribution/msgs/MsgWithdrawDelegatorReward';
|
|
7
|
+
import MsgWithdrawValidatorCommission from './distribution/msgs/MsgWithdrawValidatorCommission';
|
|
7
8
|
import MsgBatchCancelDerivativeOrders from './exchange/msgs/MsgBatchCancelDerivativeOrders';
|
|
8
9
|
import MsgBatchCancelSpotOrders from './exchange/msgs/MsgBatchCancelSpotOrders';
|
|
9
10
|
import MsgBatchCancelBinaryOptionsOrders from './exchange/msgs/MsgBatchCancelBinaryOptionsOrders';
|
|
@@ -32,6 +33,7 @@ import MsgUnderwrite from './insurance/msgs/MsgUnderwrite';
|
|
|
32
33
|
import MsgSendToEth from './peggy/msgs/MsgSendToEth';
|
|
33
34
|
import MsgDelegate from './staking/msgs/MsgDelegate';
|
|
34
35
|
import MsgUndelegate from './staking/msgs/MsgUndelegate';
|
|
36
|
+
import MsgEditValidator from './staking/msgs/MsgEditValidator';
|
|
35
37
|
import MsgBeginRedelegate from './staking/msgs/MsgBeginRedelegate';
|
|
36
38
|
import MsgExecuteContract from './wasm/msgs/MsgExecuteContract';
|
|
37
39
|
import MsgExec from './wasm/msgs/MsgExec';
|
|
@@ -40,7 +42,7 @@ import { MsgSubmitProposal } from './gov';
|
|
|
40
42
|
/**
|
|
41
43
|
* @category Messages
|
|
42
44
|
*/
|
|
43
|
-
export declare type Msgs = MsgBid | MsgGrant | MsgRevoke | MsgAuthzExec | MsgSend | MsgBatchUpdateOrders | MsgWithdrawDelegatorReward | MsgBatchCancelDerivativeOrders | MsgBatchCancelSpotOrders | MsgCancelDerivativeOrder | MsgCancelSpotOrder | MsgCreateDerivativeLimitOrder | MsgCreateDerivativeMarketOrder | MsgCreateSpotLimitOrder | MsgCreateSpotMarketOrder | MsgDeposit | MsgIncreasePositionMargin | MsgInstantSpotMarketLaunch | MsgWithdraw | MsgGovDeposit | MsgSubmitProposal | MsgVote | MsgTransfer | MsgCreateInsuranceFund | MsgRequestRedemption | MsgUnderwrite | MsgSendToEth | MsgDelegate | MsgUndelegate | MsgBeginRedelegate | MsgExecuteContract | MsgExec | MsgInstantiateContract | MsgCreateBinaryOptionsLimitOrder | MsgCreateBinaryOptionsMarketOrder | MsgCancelBinaryOptionsOrder | MsgBatchCancelBinaryOptionsOrders | MsgTransferAndExecute | MsgMultiExecute;
|
|
45
|
+
export declare type Msgs = MsgBid | MsgGrant | MsgRevoke | MsgAuthzExec | MsgSend | MsgBatchUpdateOrders | MsgWithdrawDelegatorReward | MsgBatchCancelDerivativeOrders | MsgBatchCancelSpotOrders | MsgCancelDerivativeOrder | MsgCancelSpotOrder | MsgCreateDerivativeLimitOrder | MsgCreateDerivativeMarketOrder | MsgCreateSpotLimitOrder | MsgCreateSpotMarketOrder | MsgDeposit | MsgIncreasePositionMargin | MsgInstantSpotMarketLaunch | MsgWithdraw | MsgGovDeposit | MsgSubmitProposal | MsgVote | MsgTransfer | MsgCreateInsuranceFund | MsgRequestRedemption | MsgUnderwrite | MsgSendToEth | MsgDelegate | MsgUndelegate | MsgBeginRedelegate | MsgExecuteContract | MsgExec | MsgInstantiateContract | MsgCreateBinaryOptionsLimitOrder | MsgCreateBinaryOptionsMarketOrder | MsgCancelBinaryOptionsOrder | MsgBatchCancelBinaryOptionsOrders | MsgTransferAndExecute | MsgMultiExecute | MsgWithdrawValidatorCommission | MsgEditValidator;
|
|
44
46
|
/**
|
|
45
47
|
* @category Messages
|
|
46
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msgs.d.ts","sourceRoot":"","sources":["../../../src/core/modules/msgs.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAC1C,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,SAAS,MAAM,wBAAwB,CAAA;AAC9C,OAAO,YAAY,MAAM,sBAAsB,CAAA;AAC/C,OAAO,OAAO,MAAM,qBAA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AM,OAAO,CAAA;AAEzC;;GAEG;AACH,oBAAY,IAAI,GACZ,MAAM,GACN,QAAQ,GACR,SAAS,GACT,YAAY,GACZ,OAAO,GACP,oBAAoB,GACpB,0BAA0B,GAC1B,8BAA8B,GAC9B,wBAAwB,GACxB,wBAAwB,GACxB,kBAAkB,GAClB,6BAA6B,GAC7B,8BAA8B,GAC9B,uBAAuB,GACvB,wBAAwB,GACxB,UAAU,GACV,yBAAyB,GACzB,0BAA0B,GAC1B,WAAW,GACX,aAAa,GACb,iBAAiB,GACjB,OAAO,GACP,WAAW,GACX,sBAAsB,GACtB,oBAAoB,GACpB,aAAa,GACb,YAAY,GACZ,WAAW,GACX,aAAa,GACb,kBAAkB,GAClB,kBAAkB,GAClB,OAAO,GACP,sBAAsB,GACtB,gCAAgC,GAChC,iCAAiC,GACjC,2BAA2B,GAC3B,iCAAiC,GACjC,qBAAqB,GACrB,eAAe,GACf,8BAA8B,GAC9B,gBAAgB,CAAA;AAGpB;;GAEG;AACH,oBAAY,YAAY,GACpB,8BAA8B,GAC9B,wBAAwB,GACxB,wBAAwB,GACxB,kBAAkB,GAClB,6BAA6B,GAC7B,8BAA8B,GAC9B,uBAAuB,GACvB,wBAAwB,GACxB,UAAU,GACV,yBAAyB,GACzB,0BAA0B,GAC1B,WAAW,GACX,OAAO,GACP,oBAAoB,GACpB,gCAAgC,GAChC,iCAAiC,GACjC,2BAA2B,GAC3B,iCAAiC,GACjC,qBAAqB,GACrB,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msgs.js","sourceRoot":"","sources":["../../../src/core/modules/msgs.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"msgs.js","sourceRoot":"","sources":["../../../src/core/modules/msgs.ts"],"names":[],"mappings":";;AAkHA,0BAA0B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as MsgBeginRedelegate } from './msgs/MsgBeginRedelegate';
|
|
2
2
|
export { default as MsgDelegate } from './msgs/MsgDelegate';
|
|
3
3
|
export { default as MsgUndelegate } from './msgs/MsgUndelegate';
|
|
4
|
+
export { default as MsgEditValidator } from './msgs/MsgEditValidator';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/modules/staking/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/modules/staking/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -3,11 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgUndelegate = exports.MsgDelegate = exports.MsgBeginRedelegate = void 0;
|
|
6
|
+
exports.MsgEditValidator = exports.MsgUndelegate = exports.MsgDelegate = exports.MsgBeginRedelegate = void 0;
|
|
7
7
|
var MsgBeginRedelegate_1 = require("./msgs/MsgBeginRedelegate");
|
|
8
8
|
Object.defineProperty(exports, "MsgBeginRedelegate", { enumerable: true, get: function () { return __importDefault(MsgBeginRedelegate_1).default; } });
|
|
9
9
|
var MsgDelegate_1 = require("./msgs/MsgDelegate");
|
|
10
10
|
Object.defineProperty(exports, "MsgDelegate", { enumerable: true, get: function () { return __importDefault(MsgDelegate_1).default; } });
|
|
11
11
|
var MsgUndelegate_1 = require("./msgs/MsgUndelegate");
|
|
12
12
|
Object.defineProperty(exports, "MsgUndelegate", { enumerable: true, get: function () { return __importDefault(MsgUndelegate_1).default; } });
|
|
13
|
+
var MsgEditValidator_1 = require("./msgs/MsgEditValidator");
|
|
14
|
+
Object.defineProperty(exports, "MsgEditValidator", { enumerable: true, get: function () { return __importDefault(MsgEditValidator_1).default; } });
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/modules/staking/index.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAyE;AAAhE,yIAAA,OAAO,OAAsB;AACtC,kDAA2D;AAAlD,2HAAA,OAAO,OAAe;AAC/B,sDAA+D;AAAtD,+HAAA,OAAO,OAAiB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/modules/staking/index.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAyE;AAAhE,yIAAA,OAAO,OAAsB;AACtC,kDAA2D;AAAlD,2HAAA,OAAO,OAAe;AAC/B,sDAA+D;AAAtD,+HAAA,OAAO,OAAiB;AACjC,4DAAqE;AAA5D,qIAAA,OAAO,OAAoB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MsgEditValidator as BaseMsgEditValidator } from '@injectivelabs/chain-api/cosmos/staking/v1beta1/tx_pb';
|
|
2
|
+
import { MsgBase } from '../../MsgBase';
|
|
3
|
+
export declare namespace MsgEditValidator {
|
|
4
|
+
interface Params {
|
|
5
|
+
description: {
|
|
6
|
+
moniker: string;
|
|
7
|
+
identity: string;
|
|
8
|
+
website: string;
|
|
9
|
+
securityContact?: string;
|
|
10
|
+
details: string;
|
|
11
|
+
};
|
|
12
|
+
validatorAddress: string;
|
|
13
|
+
commissionRate?: string;
|
|
14
|
+
minSelfDelegation?: string;
|
|
15
|
+
}
|
|
16
|
+
interface DirectSign {
|
|
17
|
+
type: '/cosmos.staking.v1beta1.MsgEditValidator';
|
|
18
|
+
message: BaseMsgEditValidator;
|
|
19
|
+
}
|
|
20
|
+
interface Data extends BaseMsgEditValidator.AsObject {
|
|
21
|
+
'@type': '/cosmos.staking.v1beta1.MsgEditValidator';
|
|
22
|
+
}
|
|
23
|
+
interface Amino extends BaseMsgEditValidator.AsObject {
|
|
24
|
+
type: 'cosmos-sdk/MsgEditValidator';
|
|
25
|
+
}
|
|
26
|
+
interface Web3 extends BaseMsgEditValidator.AsObject {
|
|
27
|
+
'@type': '/cosmos.authz.v1beta1.MsgEditValidator';
|
|
28
|
+
}
|
|
29
|
+
type Proto = BaseMsgEditValidator;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @category Messages
|
|
33
|
+
*/
|
|
34
|
+
export default class MsgEditValidator extends MsgBase<MsgEditValidator.Params, MsgEditValidator.Data, MsgEditValidator.Proto, MsgEditValidator.Amino, MsgEditValidator.DirectSign> {
|
|
35
|
+
static fromJSON(params: MsgEditValidator.Params): MsgEditValidator;
|
|
36
|
+
toProto(): MsgEditValidator.Proto;
|
|
37
|
+
toData(): MsgEditValidator.Data;
|
|
38
|
+
toAmino(): MsgEditValidator.Amino;
|
|
39
|
+
toWeb3(): MsgEditValidator.Web3;
|
|
40
|
+
toDirectSign(): MsgEditValidator.DirectSign;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=MsgEditValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgEditValidator.d.ts","sourceRoot":"","sources":["../../../../../src/core/modules/staking/msgs/MsgEditValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,uDAAuD,CAAA;A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IAAI;IAU/B,YAAY,IAAI,gBAAgB,CAAC,UAAU;CAQnD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
const tx_pb_1 = require("@injectivelabs/chain-api/cosmos/staking/v1beta1/tx_pb");
|
|
15
|
+
const MsgBase_1 = require("../../MsgBase");
|
|
16
|
+
const staking_pb_1 = require("@injectivelabs/chain-api/cosmos/staking/v1beta1/staking_pb");
|
|
17
|
+
/**
|
|
18
|
+
* @category Messages
|
|
19
|
+
*/
|
|
20
|
+
class MsgEditValidator extends MsgBase_1.MsgBase {
|
|
21
|
+
static fromJSON(params) {
|
|
22
|
+
return new MsgEditValidator(params);
|
|
23
|
+
}
|
|
24
|
+
toProto() {
|
|
25
|
+
const { params } = this;
|
|
26
|
+
const message = new tx_pb_1.MsgEditValidator();
|
|
27
|
+
if (params.commissionRate) {
|
|
28
|
+
message.setCommissionRate(params.commissionRate);
|
|
29
|
+
}
|
|
30
|
+
if (params.minSelfDelegation) {
|
|
31
|
+
message.setMinSelfDelegation(params.minSelfDelegation);
|
|
32
|
+
}
|
|
33
|
+
if (params.description) {
|
|
34
|
+
const description = new staking_pb_1.Description();
|
|
35
|
+
if (params.description.moniker) {
|
|
36
|
+
description.setMoniker(params.description.moniker);
|
|
37
|
+
}
|
|
38
|
+
if (params.description.identity) {
|
|
39
|
+
description.setIdentity(params.description.identity);
|
|
40
|
+
}
|
|
41
|
+
if (params.description.website) {
|
|
42
|
+
description.setWebsite(params.description.website);
|
|
43
|
+
}
|
|
44
|
+
if (params.description.securityContact) {
|
|
45
|
+
description.setSecurityContact(params.description.securityContact);
|
|
46
|
+
}
|
|
47
|
+
if (params.description.details) {
|
|
48
|
+
description.setDetails(params.description.details);
|
|
49
|
+
}
|
|
50
|
+
message.setDescription(description);
|
|
51
|
+
}
|
|
52
|
+
message.setValidatorAddress(params.validatorAddress);
|
|
53
|
+
return message;
|
|
54
|
+
}
|
|
55
|
+
toData() {
|
|
56
|
+
const proto = this.toProto();
|
|
57
|
+
return Object.assign({ '@type': '/cosmos.staking.v1beta1.MsgEditValidator' }, proto.toObject());
|
|
58
|
+
}
|
|
59
|
+
toAmino() {
|
|
60
|
+
const proto = this.toProto();
|
|
61
|
+
return Object.assign({ type: 'cosmos-sdk/MsgEditValidator' }, proto.toObject());
|
|
62
|
+
}
|
|
63
|
+
toWeb3() {
|
|
64
|
+
const amino = this.toAmino();
|
|
65
|
+
const { type } = amino, rest = __rest(amino, ["type"]);
|
|
66
|
+
return Object.assign({ '@type': '/cosmos.staking.v1beta1.MsgEditValidator' }, rest);
|
|
67
|
+
}
|
|
68
|
+
toDirectSign() {
|
|
69
|
+
const proto = this.toProto();
|
|
70
|
+
return {
|
|
71
|
+
type: '/cosmos.staking.v1beta1.MsgEditValidator',
|
|
72
|
+
message: proto,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.default = MsgEditValidator;
|
|
77
|
+
//# sourceMappingURL=MsgEditValidator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MsgEditValidator.js","sourceRoot":"","sources":["../../../../../src/core/modules/staking/msgs/MsgEditValidator.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iFAAgH;AAChH,2CAA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AO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;SACpC;QAED,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA;QAEpD,OAAO,OAAO,CAAA;IAChB,CAAC;IAEM,MAAM;QACX,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;QAE5B,uBACE,OAAO,EAAE,0CAA0C,IAChD,KAAK,CAAC,QAAQ,EAAE,EACpB;IACH,CAAC;IAEM,OAAO;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;QAE5B,uBACE,IAAI,EAAE,6BAA6B,IAChC,KAAK,CAAC,QAAQ,EAAE,EACpB;IACH,CAAC;IAEM,MAAM;QACX,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;QAC5B,MAAM,EAAE,IAAI,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAAzB,QAAiB,CAAQ,CAAA;QAE/B,OAAO,gBACL,OAAO,EAAE,0CAA0C,IAChD,IAAI,CAC4B,CAAA;IACvC,CAAC;IAEM,YAAY;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;QAE5B,OAAO;YACL,IAAI,EAAE,0CAA0C;YAChD,OAAO,EAAE,KAAK;SACf,CAAA;IACH,CAAC;CACF;AA3FD,mCA2FC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
3
|
"description": "SDK in TypeScript for building Injective applications in a Node environment.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.187",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bojan Angjelkoski",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@improbable-eng/grpc-web-react-native-transport": "^0.15.0",
|
|
42
42
|
"@injectivelabs/chain-api": "1.8.0-rc10",
|
|
43
43
|
"@injectivelabs/exceptions": "^1.0.24",
|
|
44
|
-
"@injectivelabs/indexer-api": "1.0.
|
|
44
|
+
"@injectivelabs/indexer-api": "1.0.25",
|
|
45
45
|
"@injectivelabs/networks": "^1.0.35",
|
|
46
46
|
"@injectivelabs/token-metadata": "^1.0.49",
|
|
47
47
|
"@injectivelabs/ts-types": "^1.0.13",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"shx": "^0.3.2",
|
|
67
67
|
"snakecase-keys": "^5.4.1"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "944393905b64ef56f0dfe9f6abf5bfdbf445f1ad",
|
|
70
70
|
"typedoc": {
|
|
71
71
|
"entryPoint": "./src/index.ts",
|
|
72
72
|
"readmeFile": "./README.md",
|