@verana-labs/verana-types 0.10.1-dev.12 → 0.10.1-dev.14
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/amino-converter/co.d.ts +3 -0
- package/dist/amino-converter/co.js +164 -0
- package/dist/amino-converter/cs.js +2 -2
- package/dist/amino-converter/ec.d.ts +4 -0
- package/dist/amino-converter/ec.js +63 -0
- package/dist/amino-converter/{tr.d.ts → gf.d.ts} +0 -3
- package/dist/amino-converter/gf.js +48 -0
- package/dist/amino-converter/group.d.ts +3 -0
- package/dist/amino-converter/group.js +91 -0
- package/dist/amino-converter/pp.d.ts +12 -0
- package/dist/amino-converter/{perm.js → pp.js} +95 -79
- package/dist/codec/verana/cs/v1/query.d.ts +2 -2
- package/dist/codec/verana/cs/v1/query.js +21 -21
- package/dist/codec/verana/cs/v1/tx.d.ts +1 -1
- package/dist/codec/verana/cs/v1/tx.js +22 -22
- package/dist/codec/verana/cs/v1/types.d.ts +6 -2
- package/dist/codec/verana/cs/v1/types.js +30 -30
- package/dist/codec/verana/de/v1/query.d.ts +72 -4
- package/dist/codec/verana/de/v1/query.js +261 -19
- package/dist/codec/verana/de/v1/types.d.ts +124 -34
- package/dist/codec/verana/de/v1/types.js +361 -109
- package/dist/codec/verana/{tr → ec}/module/module.d.ts +1 -1
- package/dist/codec/verana/{tr → ec}/module/module.js +2 -2
- package/dist/codec/verana/{tr → ec}/v1/genesis.d.ts +10 -12
- package/dist/codec/verana/{tr → ec}/v1/genesis.js +16 -56
- package/dist/codec/verana/{tr → ec}/v1/params.d.ts +1 -1
- package/dist/codec/verana/{tr → ec}/v1/params.js +2 -2
- package/dist/codec/verana/ec/v1/query.d.ts +109 -0
- package/dist/codec/verana/{tr → ec}/v1/query.js +69 -71
- package/dist/codec/verana/ec/v1/tx.d.ts +152 -0
- package/dist/codec/verana/{tr → ec}/v1/tx.js +85 -403
- package/dist/codec/verana/ec/v1/types.d.ts +67 -0
- package/dist/codec/verana/ec/v1/types.js +422 -0
- package/dist/codec/verana/{perm → pp}/module/module.d.ts +1 -1
- package/dist/codec/verana/{perm → pp}/module/module.js +2 -2
- package/dist/codec/verana/{perm → pp}/v1/genesis.d.ts +9 -9
- package/dist/codec/verana/{perm → pp}/v1/genesis.js +26 -26
- package/dist/codec/verana/{perm → pp}/v1/params.d.ts +1 -1
- package/dist/codec/verana/{perm → pp}/v1/params.js +2 -2
- package/dist/codec/verana/pp/v1/query.d.ts +208 -0
- package/dist/codec/verana/{perm → pp}/v1/query.js +148 -148
- package/dist/codec/verana/pp/v1/tx.d.ts +447 -0
- package/dist/codec/verana/{perm → pp}/v1/tx.js +412 -302
- package/dist/codec/verana/pp/v1/types.d.ts +137 -0
- package/dist/codec/verana/{perm → pp}/v1/types.js +270 -345
- package/dist/helpers/aminoConverters.d.ts +6 -4
- package/dist/helpers/aminoConverters.js +6 -4
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/signing.d.ts +36 -32
- package/dist/signing.js +85 -68
- package/package.json +1 -1
- package/dist/amino-converter/perm.d.ts +0 -12
- package/dist/amino-converter/tr.js +0 -107
- package/dist/codec/verana/perm/v1/query.d.ts +0 -208
- package/dist/codec/verana/perm/v1/tx.d.ts +0 -441
- package/dist/codec/verana/perm/v1/types.d.ts +0 -134
- package/dist/codec/verana/tr/v1/query.d.ts +0 -117
- package/dist/codec/verana/tr/v1/tx.d.ts +0 -255
- package/dist/codec/verana/tr/v1/types.d.ts +0 -105
- package/dist/codec/verana/tr/v1/types.js +0 -809
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export * from "../amino-converter/
|
|
1
|
+
export * from "../amino-converter/co";
|
|
2
2
|
export * from "../amino-converter/cs";
|
|
3
|
-
export * from "../amino-converter/td";
|
|
4
|
-
export * from "../amino-converter/perm";
|
|
5
3
|
export * from "../amino-converter/de";
|
|
6
4
|
export * from "../amino-converter/di";
|
|
7
|
-
export * from "../amino-converter/
|
|
5
|
+
export * from "../amino-converter/ec";
|
|
6
|
+
export * from "../amino-converter/gf";
|
|
7
|
+
export * from "../amino-converter/pp";
|
|
8
|
+
export * from "../amino-converter/td";
|
|
8
9
|
export * from "../amino-converter/util/helpers";
|
|
10
|
+
export * from "../amino-converter/xr";
|
|
@@ -14,11 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../amino-converter/
|
|
17
|
+
__exportStar(require("../amino-converter/co"), exports);
|
|
18
18
|
__exportStar(require("../amino-converter/cs"), exports);
|
|
19
|
-
__exportStar(require("../amino-converter/td"), exports);
|
|
20
|
-
__exportStar(require("../amino-converter/perm"), exports);
|
|
21
19
|
__exportStar(require("../amino-converter/de"), exports);
|
|
22
20
|
__exportStar(require("../amino-converter/di"), exports);
|
|
23
|
-
__exportStar(require("../amino-converter/
|
|
21
|
+
__exportStar(require("../amino-converter/ec"), exports);
|
|
22
|
+
__exportStar(require("../amino-converter/gf"), exports);
|
|
23
|
+
__exportStar(require("../amino-converter/pp"), exports);
|
|
24
|
+
__exportStar(require("../amino-converter/td"), exports);
|
|
24
25
|
__exportStar(require("../amino-converter/util/helpers"), exports);
|
|
26
|
+
__exportStar(require("../amino-converter/xr"), exports);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Entry point for the Verana TypeScript codecs.
|
|
3
3
|
*/
|
|
4
|
+
export * from "./amino-converter/co";
|
|
4
5
|
export * from "./amino-converter/cs";
|
|
5
6
|
export * from "./amino-converter/de";
|
|
6
7
|
export * from "./amino-converter/di";
|
|
7
|
-
export * from "./amino-converter/
|
|
8
|
+
export * from "./amino-converter/ec";
|
|
9
|
+
export * from "./amino-converter/gf";
|
|
10
|
+
export * from "./amino-converter/pp";
|
|
8
11
|
export * from "./amino-converter/td";
|
|
9
|
-
export * from "./amino-converter/tr";
|
|
10
12
|
export * from "./amino-converter/util/helpers";
|
|
11
13
|
export * from "./amino-converter/xr";
|
|
12
14
|
export * from "./signing";
|
package/dist/index.js
CHANGED
|
@@ -17,12 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/**
|
|
18
18
|
* Entry point for the Verana TypeScript codecs.
|
|
19
19
|
*/
|
|
20
|
+
__exportStar(require("./amino-converter/co"), exports);
|
|
20
21
|
__exportStar(require("./amino-converter/cs"), exports);
|
|
21
22
|
__exportStar(require("./amino-converter/de"), exports);
|
|
22
23
|
__exportStar(require("./amino-converter/di"), exports);
|
|
23
|
-
__exportStar(require("./amino-converter/
|
|
24
|
+
__exportStar(require("./amino-converter/ec"), exports);
|
|
25
|
+
__exportStar(require("./amino-converter/gf"), exports);
|
|
26
|
+
__exportStar(require("./amino-converter/pp"), exports);
|
|
24
27
|
__exportStar(require("./amino-converter/td"), exports);
|
|
25
|
-
__exportStar(require("./amino-converter/tr"), exports);
|
|
26
28
|
__exportStar(require("./amino-converter/util/helpers"), exports);
|
|
27
29
|
__exportStar(require("./amino-converter/xr"), exports);
|
|
28
30
|
__exportStar(require("./signing"), exports);
|
package/dist/signing.d.ts
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
2
|
import { AminoTypes } from "@cosmjs/stargate";
|
|
3
3
|
export declare const veranaTypeUrls: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
4
|
+
readonly MsgCreateCorporation: "/verana.co.v1.MsgCreateCorporation";
|
|
5
|
+
readonly MsgUpdateCorporation: "/verana.co.v1.MsgUpdateCorporation";
|
|
6
|
+
readonly MsgCreateEcosystem: "/verana.ec.v1.MsgCreateEcosystem";
|
|
7
|
+
readonly MsgUpdateEcosystem: "/verana.ec.v1.MsgUpdateEcosystem";
|
|
8
|
+
readonly MsgArchiveEcosystem: "/verana.ec.v1.MsgArchiveEcosystem";
|
|
9
|
+
readonly MsgAddGovernanceFrameworkDocument: "/verana.gf.v1.MsgAddGovernanceFrameworkDocument";
|
|
10
|
+
readonly MsgIncreaseActiveGovernanceFrameworkVersion: "/verana.gf.v1.MsgIncreaseActiveGovernanceFrameworkVersion";
|
|
9
11
|
readonly MsgCreateCredentialSchema: "/verana.cs.v1.MsgCreateCredentialSchema";
|
|
10
12
|
readonly MsgUpdateCredentialSchema: "/verana.cs.v1.MsgUpdateCredentialSchema";
|
|
11
13
|
readonly MsgArchiveCredentialSchema: "/verana.cs.v1.MsgArchiveCredentialSchema";
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
14
|
+
readonly MsgSelfCreateParticipant: "/verana.pp.v1.MsgSelfCreateParticipant";
|
|
15
|
+
readonly MsgCreateRootParticipant: "/verana.pp.v1.MsgCreateRootParticipant";
|
|
16
|
+
readonly MsgSetParticipantEffectiveUntil: "/verana.pp.v1.MsgSetParticipantEffectiveUntil";
|
|
17
|
+
readonly MsgRevokeParticipant: "/verana.pp.v1.MsgRevokeParticipant";
|
|
18
|
+
readonly MsgStartParticipantOP: "/verana.pp.v1.MsgStartParticipantOP";
|
|
19
|
+
readonly MsgRenewParticipantOP: "/verana.pp.v1.MsgRenewParticipantOP";
|
|
20
|
+
readonly MsgSetParticipantOPToValidated: "/verana.pp.v1.MsgSetParticipantOPToValidated";
|
|
21
|
+
readonly MsgCancelParticipantOPLastRequest: "/verana.pp.v1.MsgCancelParticipantOPLastRequest";
|
|
22
|
+
readonly MsgCreateOrUpdateParticipantSession: "/verana.pp.v1.MsgCreateOrUpdateParticipantSession";
|
|
23
|
+
readonly MsgSlashParticipantTrustDeposit: "/verana.pp.v1.MsgSlashParticipantTrustDeposit";
|
|
24
|
+
readonly MsgRepayParticipantSlashedTrustDeposit: "/verana.pp.v1.MsgRepayParticipantSlashedTrustDeposit";
|
|
23
25
|
readonly MsgReclaimTrustDepositYield: "/verana.td.v1.MsgReclaimTrustDepositYield";
|
|
24
26
|
readonly MsgSlashTrustDeposit: "/verana.td.v1.MsgSlashTrustDeposit";
|
|
25
27
|
readonly MsgRepaySlashedTrustDeposit: "/verana.td.v1.MsgRepaySlashedTrustDeposit";
|
|
@@ -31,25 +33,27 @@ export declare const veranaTypeUrls: {
|
|
|
31
33
|
readonly MsgSetExchangeRateState: "/verana.xr.v1.MsgSetExchangeRateState";
|
|
32
34
|
};
|
|
33
35
|
export declare const typeUrls: {
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
36
|
+
readonly MsgCreateCorporation: "/verana.co.v1.MsgCreateCorporation";
|
|
37
|
+
readonly MsgUpdateCorporation: "/verana.co.v1.MsgUpdateCorporation";
|
|
38
|
+
readonly MsgCreateEcosystem: "/verana.ec.v1.MsgCreateEcosystem";
|
|
39
|
+
readonly MsgUpdateEcosystem: "/verana.ec.v1.MsgUpdateEcosystem";
|
|
40
|
+
readonly MsgArchiveEcosystem: "/verana.ec.v1.MsgArchiveEcosystem";
|
|
41
|
+
readonly MsgAddGovernanceFrameworkDocument: "/verana.gf.v1.MsgAddGovernanceFrameworkDocument";
|
|
42
|
+
readonly MsgIncreaseActiveGovernanceFrameworkVersion: "/verana.gf.v1.MsgIncreaseActiveGovernanceFrameworkVersion";
|
|
39
43
|
readonly MsgCreateCredentialSchema: "/verana.cs.v1.MsgCreateCredentialSchema";
|
|
40
44
|
readonly MsgUpdateCredentialSchema: "/verana.cs.v1.MsgUpdateCredentialSchema";
|
|
41
45
|
readonly MsgArchiveCredentialSchema: "/verana.cs.v1.MsgArchiveCredentialSchema";
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
46
|
+
readonly MsgSelfCreateParticipant: "/verana.pp.v1.MsgSelfCreateParticipant";
|
|
47
|
+
readonly MsgCreateRootParticipant: "/verana.pp.v1.MsgCreateRootParticipant";
|
|
48
|
+
readonly MsgSetParticipantEffectiveUntil: "/verana.pp.v1.MsgSetParticipantEffectiveUntil";
|
|
49
|
+
readonly MsgRevokeParticipant: "/verana.pp.v1.MsgRevokeParticipant";
|
|
50
|
+
readonly MsgStartParticipantOP: "/verana.pp.v1.MsgStartParticipantOP";
|
|
51
|
+
readonly MsgRenewParticipantOP: "/verana.pp.v1.MsgRenewParticipantOP";
|
|
52
|
+
readonly MsgSetParticipantOPToValidated: "/verana.pp.v1.MsgSetParticipantOPToValidated";
|
|
53
|
+
readonly MsgCancelParticipantOPLastRequest: "/verana.pp.v1.MsgCancelParticipantOPLastRequest";
|
|
54
|
+
readonly MsgCreateOrUpdateParticipantSession: "/verana.pp.v1.MsgCreateOrUpdateParticipantSession";
|
|
55
|
+
readonly MsgSlashParticipantTrustDeposit: "/verana.pp.v1.MsgSlashParticipantTrustDeposit";
|
|
56
|
+
readonly MsgRepayParticipantSlashedTrustDeposit: "/verana.pp.v1.MsgRepayParticipantSlashedTrustDeposit";
|
|
53
57
|
readonly MsgReclaimTrustDepositYield: "/verana.td.v1.MsgReclaimTrustDepositYield";
|
|
54
58
|
readonly MsgSlashTrustDeposit: "/verana.td.v1.MsgSlashTrustDeposit";
|
|
55
59
|
readonly MsgRepaySlashedTrustDeposit: "/verana.td.v1.MsgRepaySlashedTrustDeposit";
|
package/dist/signing.js
CHANGED
|
@@ -5,40 +5,47 @@ exports.createVeranaRegistry = createVeranaRegistry;
|
|
|
5
5
|
exports.createVeranaAminoTypes = createVeranaAminoTypes;
|
|
6
6
|
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
7
7
|
const stargate_1 = require("@cosmjs/stargate");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
8
|
+
const group_1 = require("./amino-converter/group");
|
|
9
|
+
const tx_1 = require("./codec/verana/co/v1/tx");
|
|
10
|
+
const tx_2 = require("./codec/verana/cs/v1/tx");
|
|
11
|
+
const tx_3 = require("./codec/verana/de/v1/tx");
|
|
12
|
+
const tx_4 = require("./codec/verana/di/v1/tx");
|
|
13
|
+
const tx_5 = require("./codec/verana/ec/v1/tx");
|
|
14
|
+
const tx_6 = require("./codec/verana/gf/v1/tx");
|
|
15
|
+
const tx_7 = require("./codec/verana/pp/v1/tx");
|
|
16
|
+
const tx_8 = require("./codec/verana/td/v1/tx");
|
|
17
|
+
const tx_9 = require("./codec/verana/xr/v1/tx");
|
|
18
|
+
const co_1 = require("./amino-converter/co");
|
|
15
19
|
const cs_1 = require("./amino-converter/cs");
|
|
16
20
|
const de_1 = require("./amino-converter/de");
|
|
17
21
|
const di_1 = require("./amino-converter/di");
|
|
18
|
-
const
|
|
22
|
+
const ec_1 = require("./amino-converter/ec");
|
|
23
|
+
const gf_1 = require("./amino-converter/gf");
|
|
24
|
+
const pp_1 = require("./amino-converter/pp");
|
|
19
25
|
const td_1 = require("./amino-converter/td");
|
|
20
|
-
const tr_1 = require("./amino-converter/tr");
|
|
21
26
|
const xr_1 = require("./amino-converter/xr");
|
|
22
27
|
exports.veranaTypeUrls = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
MsgCreateCorporation: "/verana.co.v1.MsgCreateCorporation",
|
|
29
|
+
MsgUpdateCorporation: "/verana.co.v1.MsgUpdateCorporation",
|
|
30
|
+
MsgCreateEcosystem: "/verana.ec.v1.MsgCreateEcosystem",
|
|
31
|
+
MsgUpdateEcosystem: "/verana.ec.v1.MsgUpdateEcosystem",
|
|
32
|
+
MsgArchiveEcosystem: "/verana.ec.v1.MsgArchiveEcosystem",
|
|
33
|
+
MsgAddGovernanceFrameworkDocument: "/verana.gf.v1.MsgAddGovernanceFrameworkDocument",
|
|
34
|
+
MsgIncreaseActiveGovernanceFrameworkVersion: "/verana.gf.v1.MsgIncreaseActiveGovernanceFrameworkVersion",
|
|
28
35
|
MsgCreateCredentialSchema: "/verana.cs.v1.MsgCreateCredentialSchema",
|
|
29
36
|
MsgUpdateCredentialSchema: "/verana.cs.v1.MsgUpdateCredentialSchema",
|
|
30
37
|
MsgArchiveCredentialSchema: "/verana.cs.v1.MsgArchiveCredentialSchema",
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
MsgSelfCreateParticipant: "/verana.pp.v1.MsgSelfCreateParticipant",
|
|
39
|
+
MsgCreateRootParticipant: "/verana.pp.v1.MsgCreateRootParticipant",
|
|
40
|
+
MsgSetParticipantEffectiveUntil: "/verana.pp.v1.MsgSetParticipantEffectiveUntil",
|
|
41
|
+
MsgRevokeParticipant: "/verana.pp.v1.MsgRevokeParticipant",
|
|
42
|
+
MsgStartParticipantOP: "/verana.pp.v1.MsgStartParticipantOP",
|
|
43
|
+
MsgRenewParticipantOP: "/verana.pp.v1.MsgRenewParticipantOP",
|
|
44
|
+
MsgSetParticipantOPToValidated: "/verana.pp.v1.MsgSetParticipantOPToValidated",
|
|
45
|
+
MsgCancelParticipantOPLastRequest: "/verana.pp.v1.MsgCancelParticipantOPLastRequest",
|
|
46
|
+
MsgCreateOrUpdateParticipantSession: "/verana.pp.v1.MsgCreateOrUpdateParticipantSession",
|
|
47
|
+
MsgSlashParticipantTrustDeposit: "/verana.pp.v1.MsgSlashParticipantTrustDeposit",
|
|
48
|
+
MsgRepayParticipantSlashedTrustDeposit: "/verana.pp.v1.MsgRepayParticipantSlashedTrustDeposit",
|
|
42
49
|
MsgReclaimTrustDepositYield: "/verana.td.v1.MsgReclaimTrustDepositYield",
|
|
43
50
|
MsgSlashTrustDeposit: "/verana.td.v1.MsgSlashTrustDeposit",
|
|
44
51
|
MsgRepaySlashedTrustDeposit: "/verana.td.v1.MsgRepaySlashedTrustDeposit",
|
|
@@ -51,34 +58,36 @@ exports.veranaTypeUrls = {
|
|
|
51
58
|
};
|
|
52
59
|
exports.typeUrls = exports.veranaTypeUrls;
|
|
53
60
|
exports.veranaRegistryTypes = [
|
|
54
|
-
[exports.veranaTypeUrls.
|
|
55
|
-
[exports.veranaTypeUrls.
|
|
56
|
-
[exports.veranaTypeUrls.
|
|
61
|
+
[exports.veranaTypeUrls.MsgCreateCorporation, tx_1.MsgCreateCorporation],
|
|
62
|
+
[exports.veranaTypeUrls.MsgUpdateCorporation, tx_1.MsgUpdateCorporation],
|
|
63
|
+
[exports.veranaTypeUrls.MsgCreateEcosystem, tx_5.MsgCreateEcosystem],
|
|
64
|
+
[exports.veranaTypeUrls.MsgUpdateEcosystem, tx_5.MsgUpdateEcosystem],
|
|
65
|
+
[exports.veranaTypeUrls.MsgArchiveEcosystem, tx_5.MsgArchiveEcosystem],
|
|
57
66
|
[exports.veranaTypeUrls.MsgAddGovernanceFrameworkDocument, tx_6.MsgAddGovernanceFrameworkDocument],
|
|
58
67
|
[exports.veranaTypeUrls.MsgIncreaseActiveGovernanceFrameworkVersion, tx_6.MsgIncreaseActiveGovernanceFrameworkVersion],
|
|
59
|
-
[exports.veranaTypeUrls.MsgCreateCredentialSchema,
|
|
60
|
-
[exports.veranaTypeUrls.MsgUpdateCredentialSchema,
|
|
61
|
-
[exports.veranaTypeUrls.MsgArchiveCredentialSchema,
|
|
62
|
-
[exports.veranaTypeUrls.
|
|
63
|
-
[exports.veranaTypeUrls.
|
|
64
|
-
[exports.veranaTypeUrls.
|
|
65
|
-
[exports.veranaTypeUrls.
|
|
66
|
-
[exports.veranaTypeUrls.
|
|
67
|
-
[exports.veranaTypeUrls.
|
|
68
|
-
[exports.veranaTypeUrls.
|
|
69
|
-
[exports.veranaTypeUrls.
|
|
70
|
-
[exports.veranaTypeUrls.
|
|
71
|
-
[exports.veranaTypeUrls.
|
|
72
|
-
[exports.veranaTypeUrls.
|
|
73
|
-
[exports.veranaTypeUrls.MsgReclaimTrustDepositYield,
|
|
74
|
-
[exports.veranaTypeUrls.MsgSlashTrustDeposit,
|
|
75
|
-
[exports.veranaTypeUrls.MsgRepaySlashedTrustDeposit,
|
|
76
|
-
[exports.veranaTypeUrls.MsgGrantOperatorAuthorization,
|
|
77
|
-
[exports.veranaTypeUrls.MsgRevokeOperatorAuthorization,
|
|
78
|
-
[exports.veranaTypeUrls.MsgStoreDigest,
|
|
79
|
-
[exports.veranaTypeUrls.MsgCreateExchangeRate,
|
|
80
|
-
[exports.veranaTypeUrls.MsgUpdateExchangeRate,
|
|
81
|
-
[exports.veranaTypeUrls.MsgSetExchangeRateState,
|
|
68
|
+
[exports.veranaTypeUrls.MsgCreateCredentialSchema, tx_2.MsgCreateCredentialSchema],
|
|
69
|
+
[exports.veranaTypeUrls.MsgUpdateCredentialSchema, tx_2.MsgUpdateCredentialSchema],
|
|
70
|
+
[exports.veranaTypeUrls.MsgArchiveCredentialSchema, tx_2.MsgArchiveCredentialSchema],
|
|
71
|
+
[exports.veranaTypeUrls.MsgSelfCreateParticipant, tx_7.MsgSelfCreateParticipant],
|
|
72
|
+
[exports.veranaTypeUrls.MsgCreateRootParticipant, tx_7.MsgCreateRootParticipant],
|
|
73
|
+
[exports.veranaTypeUrls.MsgSetParticipantEffectiveUntil, tx_7.MsgSetParticipantEffectiveUntil],
|
|
74
|
+
[exports.veranaTypeUrls.MsgRevokeParticipant, tx_7.MsgRevokeParticipant],
|
|
75
|
+
[exports.veranaTypeUrls.MsgStartParticipantOP, tx_7.MsgStartParticipantOP],
|
|
76
|
+
[exports.veranaTypeUrls.MsgRenewParticipantOP, tx_7.MsgRenewParticipantOP],
|
|
77
|
+
[exports.veranaTypeUrls.MsgSetParticipantOPToValidated, tx_7.MsgSetParticipantOPToValidated],
|
|
78
|
+
[exports.veranaTypeUrls.MsgCancelParticipantOPLastRequest, tx_7.MsgCancelParticipantOPLastRequest],
|
|
79
|
+
[exports.veranaTypeUrls.MsgCreateOrUpdateParticipantSession, tx_7.MsgCreateOrUpdateParticipantSession],
|
|
80
|
+
[exports.veranaTypeUrls.MsgSlashParticipantTrustDeposit, tx_7.MsgSlashParticipantTrustDeposit],
|
|
81
|
+
[exports.veranaTypeUrls.MsgRepayParticipantSlashedTrustDeposit, tx_7.MsgRepayParticipantSlashedTrustDeposit],
|
|
82
|
+
[exports.veranaTypeUrls.MsgReclaimTrustDepositYield, tx_8.MsgReclaimTrustDepositYield],
|
|
83
|
+
[exports.veranaTypeUrls.MsgSlashTrustDeposit, tx_8.MsgSlashTrustDeposit],
|
|
84
|
+
[exports.veranaTypeUrls.MsgRepaySlashedTrustDeposit, tx_8.MsgRepaySlashedTrustDeposit],
|
|
85
|
+
[exports.veranaTypeUrls.MsgGrantOperatorAuthorization, tx_3.MsgGrantOperatorAuthorization],
|
|
86
|
+
[exports.veranaTypeUrls.MsgRevokeOperatorAuthorization, tx_3.MsgRevokeOperatorAuthorization],
|
|
87
|
+
[exports.veranaTypeUrls.MsgStoreDigest, tx_4.MsgStoreDigest],
|
|
88
|
+
[exports.veranaTypeUrls.MsgCreateExchangeRate, tx_9.MsgCreateExchangeRate],
|
|
89
|
+
[exports.veranaTypeUrls.MsgUpdateExchangeRate, tx_9.MsgUpdateExchangeRate],
|
|
90
|
+
[exports.veranaTypeUrls.MsgSetExchangeRateState, tx_9.MsgSetExchangeRateState],
|
|
82
91
|
];
|
|
83
92
|
function createVeranaRegistry() {
|
|
84
93
|
const registry = new proto_signing_1.Registry(stargate_1.defaultRegistryTypes);
|
|
@@ -88,26 +97,33 @@ function createVeranaRegistry() {
|
|
|
88
97
|
return registry;
|
|
89
98
|
}
|
|
90
99
|
function createVeranaAminoTypes() {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
100
|
+
const registry = createVeranaRegistry();
|
|
101
|
+
let aminoTypesRef;
|
|
102
|
+
const groupConverters = (0, group_1.createGroupAminoConverters)(() => aminoTypesRef, registry);
|
|
103
|
+
aminoTypesRef = new stargate_1.AminoTypes({
|
|
104
|
+
...(0, stargate_1.createDefaultAminoConverters)(),
|
|
105
|
+
...groupConverters,
|
|
106
|
+
[exports.veranaTypeUrls.MsgCreateCorporation]: co_1.MsgCreateCorporationAminoConverter,
|
|
107
|
+
[exports.veranaTypeUrls.MsgUpdateCorporation]: co_1.MsgUpdateCorporationAminoConverter,
|
|
108
|
+
[exports.veranaTypeUrls.MsgCreateEcosystem]: ec_1.MsgCreateEcosystemAminoConverter,
|
|
109
|
+
[exports.veranaTypeUrls.MsgUpdateEcosystem]: ec_1.MsgUpdateEcosystemAminoConverter,
|
|
110
|
+
[exports.veranaTypeUrls.MsgArchiveEcosystem]: ec_1.MsgArchiveEcosystemAminoConverter,
|
|
111
|
+
[exports.veranaTypeUrls.MsgAddGovernanceFrameworkDocument]: gf_1.MsgAddGovernanceFrameworkDocumentAminoConverter,
|
|
112
|
+
[exports.veranaTypeUrls.MsgIncreaseActiveGovernanceFrameworkVersion]: gf_1.MsgIncreaseActiveGovernanceFrameworkVersionAminoConverter,
|
|
97
113
|
[exports.veranaTypeUrls.MsgCreateCredentialSchema]: cs_1.MsgCreateCredentialSchemaAminoConverter,
|
|
98
114
|
[exports.veranaTypeUrls.MsgUpdateCredentialSchema]: cs_1.MsgUpdateCredentialSchemaAminoConverter,
|
|
99
115
|
[exports.veranaTypeUrls.MsgArchiveCredentialSchema]: cs_1.MsgArchiveCredentialSchemaAminoConverter,
|
|
100
|
-
[exports.veranaTypeUrls.
|
|
101
|
-
[exports.veranaTypeUrls.
|
|
102
|
-
[exports.veranaTypeUrls.
|
|
103
|
-
[exports.veranaTypeUrls.
|
|
104
|
-
[exports.veranaTypeUrls.
|
|
105
|
-
[exports.veranaTypeUrls.
|
|
106
|
-
[exports.veranaTypeUrls.
|
|
107
|
-
[exports.veranaTypeUrls.
|
|
108
|
-
[exports.veranaTypeUrls.
|
|
109
|
-
[exports.veranaTypeUrls.
|
|
110
|
-
[exports.veranaTypeUrls.
|
|
116
|
+
[exports.veranaTypeUrls.MsgSelfCreateParticipant]: pp_1.MsgSelfCreateParticipantAminoConverter,
|
|
117
|
+
[exports.veranaTypeUrls.MsgCreateRootParticipant]: pp_1.MsgCreateRootParticipantAminoConverter,
|
|
118
|
+
[exports.veranaTypeUrls.MsgSetParticipantEffectiveUntil]: pp_1.MsgSetParticipantEffectiveUntilAminoConverter,
|
|
119
|
+
[exports.veranaTypeUrls.MsgRevokeParticipant]: pp_1.MsgRevokeParticipantAminoConverter,
|
|
120
|
+
[exports.veranaTypeUrls.MsgStartParticipantOP]: pp_1.MsgStartParticipantOPAminoConverter,
|
|
121
|
+
[exports.veranaTypeUrls.MsgRenewParticipantOP]: pp_1.MsgRenewParticipantOPAminoConverter,
|
|
122
|
+
[exports.veranaTypeUrls.MsgSetParticipantOPToValidated]: pp_1.MsgSetParticipantOPToValidatedAminoConverter,
|
|
123
|
+
[exports.veranaTypeUrls.MsgCancelParticipantOPLastRequest]: pp_1.MsgCancelParticipantOPLastRequestAminoConverter,
|
|
124
|
+
[exports.veranaTypeUrls.MsgCreateOrUpdateParticipantSession]: pp_1.MsgCreateOrUpdateParticipantSessionAminoConverter,
|
|
125
|
+
[exports.veranaTypeUrls.MsgSlashParticipantTrustDeposit]: pp_1.MsgSlashParticipantTrustDepositAminoConverter,
|
|
126
|
+
[exports.veranaTypeUrls.MsgRepayParticipantSlashedTrustDeposit]: pp_1.MsgRepayParticipantSlashedTrustDepositAminoConverter,
|
|
111
127
|
[exports.veranaTypeUrls.MsgReclaimTrustDepositYield]: td_1.MsgReclaimTrustDepositYieldAminoConverter,
|
|
112
128
|
[exports.veranaTypeUrls.MsgSlashTrustDeposit]: td_1.MsgSlashTrustDepositAminoConverter,
|
|
113
129
|
[exports.veranaTypeUrls.MsgRepaySlashedTrustDeposit]: td_1.MsgRepaySlashedTrustDepositAminoConverter,
|
|
@@ -118,4 +134,5 @@ function createVeranaAminoTypes() {
|
|
|
118
134
|
[exports.veranaTypeUrls.MsgUpdateExchangeRate]: xr_1.MsgUpdateExchangeRateAminoConverter,
|
|
119
135
|
[exports.veranaTypeUrls.MsgSetExchangeRateState]: xr_1.MsgSetExchangeRateStateAminoConverter,
|
|
120
136
|
});
|
|
137
|
+
return aminoTypesRef;
|
|
121
138
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { AminoConverter } from "@cosmjs/stargate";
|
|
2
|
-
export declare const MsgCreateRootPermissionAminoConverter: AminoConverter;
|
|
3
|
-
export declare const MsgAdjustPermissionAminoConverter: AminoConverter;
|
|
4
|
-
export declare const MsgRevokePermissionAminoConverter: AminoConverter;
|
|
5
|
-
export declare const MsgStartPermissionVPAminoConverter: AminoConverter;
|
|
6
|
-
export declare const MsgRenewPermissionVPAminoConverter: AminoConverter;
|
|
7
|
-
export declare const MsgSetPermissionVPToValidatedAminoConverter: AminoConverter;
|
|
8
|
-
export declare const MsgCancelPermissionVPLastRequestAminoConverter: AminoConverter;
|
|
9
|
-
export declare const MsgCreateOrUpdatePermissionSessionAminoConverter: AminoConverter;
|
|
10
|
-
export declare const MsgSlashPermissionTrustDepositAminoConverter: AminoConverter;
|
|
11
|
-
export declare const MsgRepayPermissionSlashedTrustDepositAminoConverter: AminoConverter;
|
|
12
|
-
export declare const MsgSelfCreatePermissionAminoConverter: AminoConverter;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgIncreaseActiveGovernanceFrameworkVersionAminoConverter = exports.MsgAddGovernanceFrameworkDocumentAminoConverter = exports.MsgArchiveTrustRegistryAminoConverter = exports.MsgUpdateTrustRegistryAminoConverter = exports.MsgCreateTrustRegistryAminoConverter = void 0;
|
|
4
|
-
const tx_1 = require("../codec/verana/tr/v1/tx");
|
|
5
|
-
const helpers_1 = require("./util/helpers");
|
|
6
|
-
exports.MsgCreateTrustRegistryAminoConverter = {
|
|
7
|
-
aminoType: "verana/x/tr/MsgCreateTrustRegistry",
|
|
8
|
-
toAmino: ({ corporation, operator, did, aka, language, docUrl, docDigestSri }) => (0, helpers_1.clean)({
|
|
9
|
-
corporation: corporation || undefined,
|
|
10
|
-
operator: operator || undefined,
|
|
11
|
-
did: did || undefined,
|
|
12
|
-
aka: aka || undefined,
|
|
13
|
-
language: language || undefined,
|
|
14
|
-
doc_url: docUrl || undefined,
|
|
15
|
-
doc_digest_sri: docDigestSri || undefined,
|
|
16
|
-
}),
|
|
17
|
-
fromAmino: (value) => {
|
|
18
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
19
|
-
return tx_1.MsgCreateTrustRegistry.fromPartial({
|
|
20
|
-
corporation: (_a = value.corporation) !== null && _a !== void 0 ? _a : "",
|
|
21
|
-
operator: (_b = value.operator) !== null && _b !== void 0 ? _b : "",
|
|
22
|
-
did: (_c = value.did) !== null && _c !== void 0 ? _c : "",
|
|
23
|
-
aka: (_d = value.aka) !== null && _d !== void 0 ? _d : "",
|
|
24
|
-
language: (_e = value.language) !== null && _e !== void 0 ? _e : "",
|
|
25
|
-
docUrl: (_f = value.doc_url) !== null && _f !== void 0 ? _f : "",
|
|
26
|
-
docDigestSri: (_g = value.doc_digest_sri) !== null && _g !== void 0 ? _g : "",
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
exports.MsgUpdateTrustRegistryAminoConverter = {
|
|
31
|
-
aminoType: "verana/x/tr/MsgUpdateTrustRegistry",
|
|
32
|
-
toAmino: ({ corporation, operator, trId, did, aka }) => (0, helpers_1.clean)({
|
|
33
|
-
corporation: corporation || undefined,
|
|
34
|
-
operator: operator || undefined,
|
|
35
|
-
tr_id: (0, helpers_1.u64ToStr)(trId),
|
|
36
|
-
did: did || undefined,
|
|
37
|
-
aka: aka || undefined,
|
|
38
|
-
}),
|
|
39
|
-
fromAmino: (value) => {
|
|
40
|
-
var _a, _b, _c, _d;
|
|
41
|
-
return tx_1.MsgUpdateTrustRegistry.fromPartial({
|
|
42
|
-
corporation: (_a = value.corporation) !== null && _a !== void 0 ? _a : "",
|
|
43
|
-
operator: (_b = value.operator) !== null && _b !== void 0 ? _b : "",
|
|
44
|
-
trId: value.tr_id != null ? Number(value.tr_id) : 0,
|
|
45
|
-
did: (_c = value.did) !== null && _c !== void 0 ? _c : "",
|
|
46
|
-
aka: (_d = value.aka) !== null && _d !== void 0 ? _d : "",
|
|
47
|
-
});
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
exports.MsgArchiveTrustRegistryAminoConverter = {
|
|
51
|
-
aminoType: "verana/x/tr/MsgArchiveTrustRegistry",
|
|
52
|
-
toAmino: ({ corporation, operator, trId, archive }) => (0, helpers_1.clean)({
|
|
53
|
-
corporation: corporation || undefined,
|
|
54
|
-
operator: operator || undefined,
|
|
55
|
-
tr_id: (0, helpers_1.u64ToStr)(trId),
|
|
56
|
-
archive: archive || undefined,
|
|
57
|
-
}),
|
|
58
|
-
fromAmino: (value) => {
|
|
59
|
-
var _a, _b, _c;
|
|
60
|
-
return tx_1.MsgArchiveTrustRegistry.fromPartial({
|
|
61
|
-
corporation: (_a = value.corporation) !== null && _a !== void 0 ? _a : "",
|
|
62
|
-
operator: (_b = value.operator) !== null && _b !== void 0 ? _b : "",
|
|
63
|
-
trId: value.tr_id != null ? Number(value.tr_id) : 0,
|
|
64
|
-
archive: (_c = value.archive) !== null && _c !== void 0 ? _c : false,
|
|
65
|
-
});
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
exports.MsgAddGovernanceFrameworkDocumentAminoConverter = {
|
|
69
|
-
aminoType: "verana/x/tr/MsgAddGovFrameworkDoc",
|
|
70
|
-
toAmino: ({ corporation, operator, trId, language, url, digestSri, version, }) => (0, helpers_1.clean)({
|
|
71
|
-
corporation: corporation || undefined,
|
|
72
|
-
operator: operator || undefined,
|
|
73
|
-
tr_id: (0, helpers_1.u64ToStr)(trId),
|
|
74
|
-
language: language || undefined,
|
|
75
|
-
url: url || undefined,
|
|
76
|
-
digest_sri: digestSri || undefined,
|
|
77
|
-
version: version || undefined,
|
|
78
|
-
}),
|
|
79
|
-
fromAmino: (value) => {
|
|
80
|
-
var _a, _b, _c, _d, _e, _f;
|
|
81
|
-
return tx_1.MsgAddGovernanceFrameworkDocument.fromPartial({
|
|
82
|
-
corporation: (_a = value.corporation) !== null && _a !== void 0 ? _a : "",
|
|
83
|
-
operator: (_b = value.operator) !== null && _b !== void 0 ? _b : "",
|
|
84
|
-
trId: value.tr_id != null ? Number(value.tr_id) : 0,
|
|
85
|
-
language: (_c = value.language) !== null && _c !== void 0 ? _c : "",
|
|
86
|
-
url: (_d = value.url) !== null && _d !== void 0 ? _d : "",
|
|
87
|
-
digestSri: (_e = value.digest_sri) !== null && _e !== void 0 ? _e : "",
|
|
88
|
-
version: (_f = value.version) !== null && _f !== void 0 ? _f : 0,
|
|
89
|
-
});
|
|
90
|
-
},
|
|
91
|
-
};
|
|
92
|
-
exports.MsgIncreaseActiveGovernanceFrameworkVersionAminoConverter = {
|
|
93
|
-
aminoType: "verana/x/tr/MsgIncreaseActiveGovFWVer",
|
|
94
|
-
toAmino: ({ corporation, operator, trId }) => (0, helpers_1.clean)({
|
|
95
|
-
corporation: corporation || undefined,
|
|
96
|
-
operator: operator || undefined,
|
|
97
|
-
tr_id: (0, helpers_1.u64ToStr)(trId),
|
|
98
|
-
}),
|
|
99
|
-
fromAmino: (value) => {
|
|
100
|
-
var _a, _b;
|
|
101
|
-
return tx_1.MsgIncreaseActiveGovernanceFrameworkVersion.fromPartial({
|
|
102
|
-
corporation: (_a = value.corporation) !== null && _a !== void 0 ? _a : "",
|
|
103
|
-
operator: (_b = value.operator) !== null && _b !== void 0 ? _b : "",
|
|
104
|
-
trId: value.tr_id != null ? Number(value.tr_id) : 0,
|
|
105
|
-
});
|
|
106
|
-
},
|
|
107
|
-
};
|