@bitgo/public-types 2.5.0 → 2.6.1

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.
Files changed (61) hide show
  1. package/dist/src/schema/index.d.ts +2 -0
  2. package/dist/src/schema/index.d.ts.map +1 -1
  3. package/dist/src/schema/index.js +2 -0
  4. package/dist/src/schema/index.js.map +1 -1
  5. package/dist/src/schema/keyGen/index.d.ts +3 -0
  6. package/dist/src/schema/keyGen/index.d.ts.map +1 -0
  7. package/dist/src/schema/keyGen/index.js +19 -0
  8. package/dist/src/schema/keyGen/index.js.map +1 -0
  9. package/dist/src/schema/keyGen/keyGenState.d.ts +14 -0
  10. package/dist/src/schema/keyGen/keyGenState.d.ts.map +1 -0
  11. package/dist/src/schema/keyGen/keyGenState.js +33 -0
  12. package/dist/src/schema/keyGen/keyGenState.js.map +1 -0
  13. package/dist/src/schema/keyGen/keyGenType.d.ts +7 -0
  14. package/dist/src/schema/keyGen/keyGenType.d.ts.map +1 -0
  15. package/dist/src/schema/keyGen/keyGenType.js +33 -0
  16. package/dist/src/schema/keyGen/keyGenType.js.map +1 -0
  17. package/dist/src/schema/mpcv2/common/index.d.ts +4 -0
  18. package/dist/src/schema/mpcv2/common/index.d.ts.map +1 -0
  19. package/dist/src/schema/mpcv2/common/index.js +20 -0
  20. package/dist/src/schema/mpcv2/common/index.js.map +1 -0
  21. package/dist/src/schema/mpcv2/common/mpcv2BroadcastMessage.d.ts +12 -0
  22. package/dist/src/schema/mpcv2/common/mpcv2BroadcastMessage.d.ts.map +1 -0
  23. package/dist/src/schema/mpcv2/common/mpcv2BroadcastMessage.js +34 -0
  24. package/dist/src/schema/mpcv2/common/mpcv2BroadcastMessage.js.map +1 -0
  25. package/dist/src/schema/mpcv2/common/mpcv2P2PMessage.d.ts +17 -0
  26. package/dist/src/schema/mpcv2/common/mpcv2P2PMessage.d.ts.map +1 -0
  27. package/dist/src/schema/mpcv2/common/mpcv2P2PMessage.js +35 -0
  28. package/dist/src/schema/mpcv2/common/mpcv2P2PMessage.js.map +1 -0
  29. package/dist/src/schema/mpcv2/common/mpcv2Party.d.ts +13 -0
  30. package/dist/src/schema/mpcv2/common/mpcv2Party.d.ts.map +1 -0
  31. package/dist/src/schema/mpcv2/common/mpcv2Party.js +34 -0
  32. package/dist/src/schema/mpcv2/common/mpcv2Party.js.map +1 -0
  33. package/dist/src/schema/mpcv2/index.d.ts +4 -0
  34. package/dist/src/schema/mpcv2/index.d.ts.map +1 -0
  35. package/dist/src/schema/mpcv2/index.js +20 -0
  36. package/dist/src/schema/mpcv2/index.js.map +1 -0
  37. package/dist/src/schema/mpcv2/keyGen/index.d.ts +3 -0
  38. package/dist/src/schema/mpcv2/keyGen/index.d.ts.map +1 -0
  39. package/dist/src/schema/mpcv2/keyGen/index.js +19 -0
  40. package/dist/src/schema/mpcv2/keyGen/index.js.map +1 -0
  41. package/dist/src/schema/mpcv2/keyGen/keygenRound.d.ts +197 -0
  42. package/dist/src/schema/mpcv2/keyGen/keygenRound.d.ts.map +1 -0
  43. package/dist/src/schema/mpcv2/keyGen/keygenRound.js +67 -0
  44. package/dist/src/schema/mpcv2/keyGen/keygenRound.js.map +1 -0
  45. package/dist/src/schema/mpcv2/keyGen/mpcv2KeyGenState.d.ts +9 -0
  46. package/dist/src/schema/mpcv2/keyGen/mpcv2KeyGenState.d.ts.map +1 -0
  47. package/dist/src/schema/mpcv2/keyGen/mpcv2KeyGenState.js +35 -0
  48. package/dist/src/schema/mpcv2/keyGen/mpcv2KeyGenState.js.map +1 -0
  49. package/dist/src/schema/mpcv2/signing/index.d.ts +3 -0
  50. package/dist/src/schema/mpcv2/signing/index.d.ts.map +1 -0
  51. package/dist/src/schema/mpcv2/signing/index.js +19 -0
  52. package/dist/src/schema/mpcv2/signing/index.js.map +1 -0
  53. package/dist/src/schema/mpcv2/signing/mpcv2SigningState.d.ts +4 -0
  54. package/dist/src/schema/mpcv2/signing/mpcv2SigningState.d.ts.map +1 -0
  55. package/dist/src/schema/mpcv2/signing/mpcv2SigningState.js +35 -0
  56. package/dist/src/schema/mpcv2/signing/mpcv2SigningState.js.map +1 -0
  57. package/dist/src/schema/mpcv2/signing/signingRound.d.ts +128 -0
  58. package/dist/src/schema/mpcv2/signing/signingRound.d.ts.map +1 -0
  59. package/dist/src/schema/mpcv2/signing/signingRound.js +80 -0
  60. package/dist/src/schema/mpcv2/signing/signingRound.js.map +1 -0
  61. package/package.json +1 -1
@@ -1,3 +1,5 @@
1
1
  export * from "./transactions";
2
2
  export * from "./webhook";
3
+ export * from "./mpcv2";
4
+ export * from "./keyGen";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./transactions"), exports);
18
18
  __exportStar(require("./webhook"), exports);
19
+ __exportStar(require("./mpcv2"), exports);
20
+ __exportStar(require("./keyGen"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,4CAA0B;AAC1B,0CAAwB;AACxB,2CAAyB"}
@@ -0,0 +1,3 @@
1
+ export * from "./keyGenState";
2
+ export * from "./keyGenType";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,19 @@
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("./keyGenState"), exports);
18
+ __exportStar(require("./keyGenType"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B"}
@@ -0,0 +1,14 @@
1
+ import * as t from "io-ts";
2
+ import { MPCv2KeyGenStateEnum } from "../mpcv2/keyGen/mpcv2KeyGenState";
3
+ export declare const KeyGenStateEnum: {
4
+ "MPCv2-R1": (typeof MPCv2KeyGenStateEnum)["MPCv2-R1"];
5
+ "MPCv2-R2": (typeof MPCv2KeyGenStateEnum)["MPCv2-R2"];
6
+ "MPCv2-R3": (typeof MPCv2KeyGenStateEnum)["MPCv2-R3"];
7
+ };
8
+ export declare const KeyGenState: t.KeyofC<{
9
+ "MPCv2-R1": (typeof MPCv2KeyGenStateEnum)["MPCv2-R1"];
10
+ "MPCv2-R2": (typeof MPCv2KeyGenStateEnum)["MPCv2-R2"];
11
+ "MPCv2-R3": (typeof MPCv2KeyGenStateEnum)["MPCv2-R3"];
12
+ }>;
13
+ export type KeyGenState = t.TypeOf<typeof KeyGenState>;
14
+ //# sourceMappingURL=keyGenState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyGenState.d.ts","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyGenState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,eAAO,MAAM,eAAe;;;;CAE3B,CAAC;AACF,eAAO,MAAM,WAAW;;;;EAA2B,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -0,0 +1,33 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.KeyGenState = exports.KeyGenStateEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const mpcv2KeyGenState_1 = require("../mpcv2/keyGen/mpcv2KeyGenState");
29
+ exports.KeyGenStateEnum = {
30
+ ...mpcv2KeyGenState_1.MPCv2KeyGenStateEnum,
31
+ };
32
+ exports.KeyGenState = t.keyof(exports.KeyGenStateEnum);
33
+ //# sourceMappingURL=keyGenState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyGenState.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyGenState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uEAAwE;AAE3D,QAAA,eAAe,GAAG;IAC7B,GAAG,uCAAoB;CACxB,CAAC;AACW,QAAA,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as t from "io-ts";
2
+ export declare enum KeyGenTypeEnum {
3
+ MPCv2 = "MPCv2"
4
+ }
5
+ export declare const KeyGenType: t.KeyofC<typeof KeyGenTypeEnum>;
6
+ export type KeyGenType = t.TypeOf<typeof KeyGenType>;
7
+ //# sourceMappingURL=keyGenType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyGenType.d.ts","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyGenType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,oBAAY,cAAc;IACxB,KAAK,UAAU;CAChB;AACD,eAAO,MAAM,UAAU,iCAA0B,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -0,0 +1,33 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.KeyGenType = exports.KeyGenTypeEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ var KeyGenTypeEnum;
29
+ (function (KeyGenTypeEnum) {
30
+ KeyGenTypeEnum["MPCv2"] = "MPCv2";
31
+ })(KeyGenTypeEnum || (exports.KeyGenTypeEnum = KeyGenTypeEnum = {}));
32
+ exports.KeyGenType = t.keyof(KeyGenTypeEnum);
33
+ //# sourceMappingURL=keyGenType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyGenType.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyGenType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,iCAAe,CAAA;AACjB,CAAC,EAFW,cAAc,8BAAd,cAAc,QAEzB;AACY,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./mpcv2BroadcastMessage";
2
+ export * from "./mpcv2P2PMessage";
3
+ export * from "./mpcv2Party";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,20 @@
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("./mpcv2BroadcastMessage"), exports);
18
+ __exportStar(require("./mpcv2P2PMessage"), exports);
19
+ __exportStar(require("./mpcv2Party"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,oDAAkC;AAClC,+CAA6B"}
@@ -0,0 +1,12 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2BroadcastMessage: t.TypeC<{
3
+ from: t.KeyofC<{
4
+ readonly 0: 0;
5
+ readonly 1: 1;
6
+ readonly 2: 2;
7
+ }>;
8
+ message: t.StringC;
9
+ signature: t.StringC;
10
+ }>;
11
+ export type MPCv2BroadcastMessage = t.TypeOf<typeof MPCv2BroadcastMessage>;
12
+ //# sourceMappingURL=mpcv2BroadcastMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2BroadcastMessage.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2BroadcastMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,eAAO,MAAM,qBAAqB;;;;;;;;EAOjC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,34 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2BroadcastMessage = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const mpcv2Party_1 = require("./mpcv2Party");
29
+ exports.MPCv2BroadcastMessage = t.type({
30
+ from: mpcv2Party_1.MPCv2Party,
31
+ message: t.string,
32
+ signature: t.string,
33
+ }, "MPCv2BroadcastMessage");
34
+ //# sourceMappingURL=mpcv2BroadcastMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2BroadcastMessage.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2BroadcastMessage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAE7B,QAAA,qBAAqB,GAAG,CAAC,CAAC,IAAI,CACzC;IACE,IAAI,EAAE,uBAAU;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM;CACpB,EACD,uBAAuB,CACxB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2P2PMessage: t.TypeC<{
3
+ from: t.KeyofC<{
4
+ readonly 0: 0;
5
+ readonly 1: 1;
6
+ readonly 2: 2;
7
+ }>;
8
+ to: t.KeyofC<{
9
+ readonly 0: 0;
10
+ readonly 1: 1;
11
+ readonly 2: 2;
12
+ }>;
13
+ encryptedMessage: t.StringC;
14
+ signature: t.StringC;
15
+ }>;
16
+ export type MPCv2P2PMessage = t.TypeOf<typeof MPCv2P2PMessage>;
17
+ //# sourceMappingURL=mpcv2P2PMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2P2PMessage.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2P2PMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAQ3B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,35 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2P2PMessage = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const mpcv2Party_1 = require("./mpcv2Party");
29
+ exports.MPCv2P2PMessage = t.type({
30
+ from: mpcv2Party_1.MPCv2Party,
31
+ to: mpcv2Party_1.MPCv2Party,
32
+ encryptedMessage: t.string,
33
+ signature: t.string,
34
+ }, "P2PMessage");
35
+ //# sourceMappingURL=mpcv2P2PMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2P2PMessage.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2P2PMessage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAE7B,QAAA,eAAe,GAAG,CAAC,CAAC,IAAI,CACnC;IACE,IAAI,EAAE,uBAAU;IAChB,EAAE,EAAE,uBAAU;IACd,gBAAgB,EAAE,CAAC,CAAC,MAAM;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM;CACpB,EACD,YAAY,CACb,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2PartyEnum: {
3
+ readonly 0: 0;
4
+ readonly 1: 1;
5
+ readonly 2: 2;
6
+ };
7
+ export declare const MPCv2Party: t.KeyofC<{
8
+ readonly 0: 0;
9
+ readonly 1: 1;
10
+ readonly 2: 2;
11
+ }>;
12
+ export type MPCv2Party = t.TypeOf<typeof MPCv2Party>;
13
+ //# sourceMappingURL=mpcv2Party.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2Party.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2Party.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;EAAwC,CAAC;AAEhE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -0,0 +1,34 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2Party = exports.MPCv2PartyEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ exports.MPCv2PartyEnum = {
29
+ 0: 0,
30
+ 1: 1,
31
+ 2: 2,
32
+ };
33
+ exports.MPCv2Party = t.keyof(exports.MPCv2PartyEnum, "MPCv2Party");
34
+ //# sourceMappingURL=mpcv2Party.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2Party.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/common/mpcv2Party.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAGd,QAAA,cAAc,GAAG;IAC5B,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;CACI,CAAC;AAEE,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,sBAAc,EAAE,YAAY,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./common";
2
+ export * from "./keyGen";
3
+ export * from "./signing";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/mpcv2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,20 @@
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("./common"), exports);
18
+ __exportStar(require("./keyGen"), exports);
19
+ __exportStar(require("./signing"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/mpcv2/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B"}
@@ -0,0 +1,3 @@
1
+ export * from "./keygenRound";
2
+ export * from "./mpcv2KeyGenState";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,19 @@
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("./keygenRound"), exports);
18
+ __exportStar(require("./mpcv2KeyGenState"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC"}
@@ -0,0 +1,197 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2KeyGenRound1Request: t.TypeC<{
3
+ userGpgPublicKey: import("io-ts-types").NonEmptyStringC;
4
+ backupGpgPublicKey: import("io-ts-types").NonEmptyStringC;
5
+ userMsg1: t.TypeC<{
6
+ from: t.KeyofC<{
7
+ readonly 0: 0;
8
+ readonly 1: 1;
9
+ readonly 2: 2;
10
+ }>;
11
+ message: t.StringC;
12
+ signature: t.StringC;
13
+ }>;
14
+ backupMsg1: t.TypeC<{
15
+ from: t.KeyofC<{
16
+ readonly 0: 0;
17
+ readonly 1: 1;
18
+ readonly 2: 2;
19
+ }>;
20
+ message: t.StringC;
21
+ signature: t.StringC;
22
+ }>;
23
+ }>;
24
+ export type MPCv2KeyGenRound1Request = t.TypeOf<typeof MPCv2KeyGenRound1Request>;
25
+ export declare const MPCv2KeyGenRound1Response: t.TypeC<{
26
+ sessionId: import("io-ts-types").NonEmptyStringC;
27
+ bitgoMsg1: t.TypeC<{
28
+ from: t.KeyofC<{
29
+ readonly 0: 0;
30
+ readonly 1: 1;
31
+ readonly 2: 2;
32
+ }>;
33
+ message: t.StringC;
34
+ signature: t.StringC;
35
+ }>;
36
+ bitgoToUserMsg2: t.TypeC<{
37
+ from: t.KeyofC<{
38
+ readonly 0: 0;
39
+ readonly 1: 1;
40
+ readonly 2: 2;
41
+ }>;
42
+ to: t.KeyofC<{
43
+ readonly 0: 0;
44
+ readonly 1: 1;
45
+ readonly 2: 2;
46
+ }>;
47
+ encryptedMessage: t.StringC;
48
+ signature: t.StringC;
49
+ }>;
50
+ bitgoToBackupMsg2: t.TypeC<{
51
+ from: t.KeyofC<{
52
+ readonly 0: 0;
53
+ readonly 1: 1;
54
+ readonly 2: 2;
55
+ }>;
56
+ to: t.KeyofC<{
57
+ readonly 0: 0;
58
+ readonly 1: 1;
59
+ readonly 2: 2;
60
+ }>;
61
+ encryptedMessage: t.StringC;
62
+ signature: t.StringC;
63
+ }>;
64
+ }>;
65
+ export type MPCv2KeyGenRound1Response = t.TypeOf<typeof MPCv2KeyGenRound1Response>;
66
+ export declare const MPCv2KeyGenRound2Request: t.TypeC<{
67
+ sessionId: import("io-ts-types").NonEmptyStringC;
68
+ userMsg2: t.TypeC<{
69
+ from: t.KeyofC<{
70
+ readonly 0: 0;
71
+ readonly 1: 1;
72
+ readonly 2: 2;
73
+ }>;
74
+ to: t.KeyofC<{
75
+ readonly 0: 0;
76
+ readonly 1: 1;
77
+ readonly 2: 2;
78
+ }>;
79
+ encryptedMessage: t.StringC;
80
+ signature: t.StringC;
81
+ }>;
82
+ userCommitment2: import("io-ts-types").NonEmptyStringC;
83
+ backupMsg2: t.TypeC<{
84
+ from: t.KeyofC<{
85
+ readonly 0: 0;
86
+ readonly 1: 1;
87
+ readonly 2: 2;
88
+ }>;
89
+ to: t.KeyofC<{
90
+ readonly 0: 0;
91
+ readonly 1: 1;
92
+ readonly 2: 2;
93
+ }>;
94
+ encryptedMessage: t.StringC;
95
+ signature: t.StringC;
96
+ }>;
97
+ backupCommitment2: import("io-ts-types").NonEmptyStringC;
98
+ }>;
99
+ export type MPCv2KeyGenRound2Request = t.TypeOf<typeof MPCv2KeyGenRound2Request>;
100
+ export declare const MPCv2KeyGenRound2Response: t.TypeC<{
101
+ sessionId: import("io-ts-types").NonEmptyStringC;
102
+ bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
103
+ bitgoToUserMsg3: t.TypeC<{
104
+ from: t.KeyofC<{
105
+ readonly 0: 0;
106
+ readonly 1: 1;
107
+ readonly 2: 2;
108
+ }>;
109
+ to: t.KeyofC<{
110
+ readonly 0: 0;
111
+ readonly 1: 1;
112
+ readonly 2: 2;
113
+ }>;
114
+ encryptedMessage: t.StringC;
115
+ signature: t.StringC;
116
+ }>;
117
+ bitgoToBackupMsg3: t.TypeC<{
118
+ from: t.KeyofC<{
119
+ readonly 0: 0;
120
+ readonly 1: 1;
121
+ readonly 2: 2;
122
+ }>;
123
+ to: t.KeyofC<{
124
+ readonly 0: 0;
125
+ readonly 1: 1;
126
+ readonly 2: 2;
127
+ }>;
128
+ encryptedMessage: t.StringC;
129
+ signature: t.StringC;
130
+ }>;
131
+ }>;
132
+ export type MPCv2KeyGenRound2Response = t.TypeOf<typeof MPCv2KeyGenRound2Response>;
133
+ export declare const MPCv2KeyGenRound3Request: t.TypeC<{
134
+ sessionId: import("io-ts-types").NonEmptyStringC;
135
+ userMsg3: t.TypeC<{
136
+ from: t.KeyofC<{
137
+ readonly 0: 0;
138
+ readonly 1: 1;
139
+ readonly 2: 2;
140
+ }>;
141
+ to: t.KeyofC<{
142
+ readonly 0: 0;
143
+ readonly 1: 1;
144
+ readonly 2: 2;
145
+ }>;
146
+ encryptedMessage: t.StringC;
147
+ signature: t.StringC;
148
+ }>;
149
+ backupMsg3: t.TypeC<{
150
+ from: t.KeyofC<{
151
+ readonly 0: 0;
152
+ readonly 1: 1;
153
+ readonly 2: 2;
154
+ }>;
155
+ to: t.KeyofC<{
156
+ readonly 0: 0;
157
+ readonly 1: 1;
158
+ readonly 2: 2;
159
+ }>;
160
+ encryptedMessage: t.StringC;
161
+ signature: t.StringC;
162
+ }>;
163
+ userMsg4: t.TypeC<{
164
+ from: t.KeyofC<{
165
+ readonly 0: 0;
166
+ readonly 1: 1;
167
+ readonly 2: 2;
168
+ }>;
169
+ message: t.StringC;
170
+ signature: t.StringC;
171
+ }>;
172
+ backupMsg4: t.TypeC<{
173
+ from: t.KeyofC<{
174
+ readonly 0: 0;
175
+ readonly 1: 1;
176
+ readonly 2: 2;
177
+ }>;
178
+ message: t.StringC;
179
+ signature: t.StringC;
180
+ }>;
181
+ }>;
182
+ export type MPCv2KeyGenRound3Request = t.TypeOf<typeof MPCv2KeyGenRound3Request>;
183
+ export declare const MPCv2KeyGenRound3Response: t.TypeC<{
184
+ sessionId: import("io-ts-types").NonEmptyStringC;
185
+ commonKeychain: import("io-ts-types").NonEmptyStringC;
186
+ bitgoMsg4: t.TypeC<{
187
+ from: t.KeyofC<{
188
+ readonly 0: 0;
189
+ readonly 1: 1;
190
+ readonly 2: 2;
191
+ }>;
192
+ message: t.StringC;
193
+ signature: t.StringC;
194
+ }>;
195
+ }>;
196
+ export type MPCv2KeyGenRound3Response = t.TypeOf<typeof MPCv2KeyGenRound3Response>;
197
+ //# sourceMappingURL=keygenRound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keygenRound.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/keygenRound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAC9C,OAAO,yBAAyB,CACjC,CAAC"}
@@ -0,0 +1,67 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2KeyGenRound3Response = exports.MPCv2KeyGenRound3Request = exports.MPCv2KeyGenRound2Response = exports.MPCv2KeyGenRound2Request = exports.MPCv2KeyGenRound1Response = exports.MPCv2KeyGenRound1Request = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const io_ts_types_1 = require("io-ts-types");
29
+ const common_1 = require("../common");
30
+ exports.MPCv2KeyGenRound1Request = t.type({
31
+ userGpgPublicKey: io_ts_types_1.NonEmptyString,
32
+ backupGpgPublicKey: io_ts_types_1.NonEmptyString,
33
+ userMsg1: common_1.MPCv2BroadcastMessage,
34
+ backupMsg1: common_1.MPCv2BroadcastMessage,
35
+ });
36
+ exports.MPCv2KeyGenRound1Response = t.type({
37
+ sessionId: io_ts_types_1.NonEmptyString,
38
+ bitgoMsg1: common_1.MPCv2BroadcastMessage,
39
+ bitgoToUserMsg2: common_1.MPCv2P2PMessage,
40
+ bitgoToBackupMsg2: common_1.MPCv2P2PMessage,
41
+ });
42
+ exports.MPCv2KeyGenRound2Request = t.type({
43
+ sessionId: io_ts_types_1.NonEmptyString,
44
+ userMsg2: common_1.MPCv2P2PMessage,
45
+ userCommitment2: io_ts_types_1.NonEmptyString,
46
+ backupMsg2: common_1.MPCv2P2PMessage,
47
+ backupCommitment2: io_ts_types_1.NonEmptyString,
48
+ });
49
+ exports.MPCv2KeyGenRound2Response = t.type({
50
+ sessionId: io_ts_types_1.NonEmptyString,
51
+ bitgoCommitment2: io_ts_types_1.NonEmptyString,
52
+ bitgoToUserMsg3: common_1.MPCv2P2PMessage,
53
+ bitgoToBackupMsg3: common_1.MPCv2P2PMessage,
54
+ });
55
+ exports.MPCv2KeyGenRound3Request = t.type({
56
+ sessionId: io_ts_types_1.NonEmptyString,
57
+ userMsg3: common_1.MPCv2P2PMessage,
58
+ backupMsg3: common_1.MPCv2P2PMessage,
59
+ userMsg4: common_1.MPCv2BroadcastMessage,
60
+ backupMsg4: common_1.MPCv2BroadcastMessage,
61
+ });
62
+ exports.MPCv2KeyGenRound3Response = t.type({
63
+ sessionId: io_ts_types_1.NonEmptyString,
64
+ commonKeychain: io_ts_types_1.NonEmptyString,
65
+ bitgoMsg4: common_1.MPCv2BroadcastMessage,
66
+ });
67
+ //# sourceMappingURL=keygenRound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keygenRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/keygenRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA6C;AAC7C,sCAAmE;AAEtD,QAAA,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,gBAAgB,EAAE,4BAAc;IAChC,kBAAkB,EAAE,4BAAc;IAClC,QAAQ,EAAE,8BAAqB;IAC/B,UAAU,EAAE,8BAAqB;CAClC,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,4BAAc;IACzB,SAAS,EAAE,8BAAqB;IAChC,eAAe,EAAE,wBAAe;IAChC,iBAAiB,EAAE,wBAAe;CACnC,CAAC,CAAC;AAMU,QAAA,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,SAAS,EAAE,4BAAc;IACzB,QAAQ,EAAE,wBAAe;IACzB,eAAe,EAAE,4BAAc;IAC/B,UAAU,EAAE,wBAAe;IAC3B,iBAAiB,EAAE,4BAAc;CAClC,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,4BAAc;IACzB,gBAAgB,EAAE,4BAAc;IAChC,eAAe,EAAE,wBAAe;IAChC,iBAAiB,EAAE,wBAAe;CACnC,CAAC,CAAC;AAMU,QAAA,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,SAAS,EAAE,4BAAc;IACzB,QAAQ,EAAE,wBAAe;IACzB,UAAU,EAAE,wBAAe;IAC3B,QAAQ,EAAE,8BAAqB;IAC/B,UAAU,EAAE,8BAAqB;CAClC,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,4BAAc;IACzB,cAAc,EAAE,4BAAc;IAC9B,SAAS,EAAE,8BAAqB;CACjC,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as t from "io-ts";
2
+ export declare enum MPCv2KeyGenStateEnum {
3
+ "MPCv2-R1" = "MPCv2-R1",
4
+ "MPCv2-R2" = "MPCv2-R2",
5
+ "MPCv2-R3" = "MPCv2-R3"
6
+ }
7
+ export declare const MPCv2KeyGenState: t.KeyofC<typeof MPCv2KeyGenStateEnum>;
8
+ export type MPCv2KeyGenState = t.TypeOf<typeof MPCv2KeyGenState>;
9
+ //# sourceMappingURL=mpcv2KeyGenState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2KeyGenState.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/mpcv2KeyGenState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,oBAAY,oBAAoB;IAC9B,UAAU,aAAa;IACvB,UAAU,aAAa;IACvB,UAAU,aAAa;CACxB;AACD,eAAO,MAAM,gBAAgB,uCAG5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,35 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2KeyGenState = exports.MPCv2KeyGenStateEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ var MPCv2KeyGenStateEnum;
29
+ (function (MPCv2KeyGenStateEnum) {
30
+ MPCv2KeyGenStateEnum["MPCv2-R1"] = "MPCv2-R1";
31
+ MPCv2KeyGenStateEnum["MPCv2-R2"] = "MPCv2-R2";
32
+ MPCv2KeyGenStateEnum["MPCv2-R3"] = "MPCv2-R3";
33
+ })(MPCv2KeyGenStateEnum || (exports.MPCv2KeyGenStateEnum = MPCv2KeyGenStateEnum = {}));
34
+ exports.MPCv2KeyGenState = t.keyof(MPCv2KeyGenStateEnum, "MPCv2KeyGenState");
35
+ //# sourceMappingURL=mpcv2KeyGenState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2KeyGenState.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/keyGen/mpcv2KeyGenState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;AACzB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AACY,QAAA,gBAAgB,GAAG,CAAC,CAAC,KAAK,CACrC,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./mpcv2SigningState";
2
+ export * from "./signingRound";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
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("./mpcv2SigningState"), exports);
18
+ __exportStar(require("./signingRound"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B"}
@@ -0,0 +1,4 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2SigningState: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
3
+ export type MPCv2SigningState = t.TypeOf<typeof MPCv2SigningState>;
4
+ //# sourceMappingURL=mpcv2SigningState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2SigningState.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/mpcv2SigningState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,iBAAiB,qJAM5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,35 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2SigningState = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ exports.MPCv2SigningState = t.union([
29
+ t.literal("round1Input"),
30
+ t.literal("round1Output"),
31
+ t.literal("round2Input"),
32
+ t.literal("round2Output"),
33
+ t.literal("round3Input"),
34
+ ]);
35
+ //# sourceMappingURL=mpcv2SigningState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mpcv2SigningState.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/mpcv2SigningState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;CACzB,CAAC,CAAC"}
@@ -0,0 +1,128 @@
1
+ import * as t from "io-ts";
2
+ export declare const MPCv2SignatureShareBase: t.TypeC<{
3
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
4
+ }>;
5
+ export declare const MPCv2SignatureShareRound1Input: t.IntersectionC<[t.TypeC<{
6
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
7
+ }>, t.TypeC<{
8
+ type: t.LiteralC<"round1Input">;
9
+ data: t.TypeC<{
10
+ msg1: t.TypeC<{
11
+ from: t.KeyofC<{
12
+ readonly 0: 0;
13
+ readonly 1: 1;
14
+ readonly 2: 2;
15
+ }>;
16
+ message: t.StringC;
17
+ signature: t.StringC;
18
+ }>;
19
+ }>;
20
+ }>]>;
21
+ export type MPCv2SignatureShareRound1Input = t.TypeOf<typeof MPCv2SignatureShareRound1Input>;
22
+ export declare const MPCv2SignatureShareRound1Output: t.IntersectionC<[t.TypeC<{
23
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
24
+ }>, t.TypeC<{
25
+ type: t.LiteralC<"round1Output">;
26
+ data: t.TypeC<{
27
+ msg1: t.TypeC<{
28
+ from: t.KeyofC<{
29
+ readonly 0: 0;
30
+ readonly 1: 1;
31
+ readonly 2: 2;
32
+ }>;
33
+ message: t.StringC;
34
+ signature: t.StringC;
35
+ }>;
36
+ msg2: t.TypeC<{
37
+ from: t.KeyofC<{
38
+ readonly 0: 0;
39
+ readonly 1: 1;
40
+ readonly 2: 2;
41
+ }>;
42
+ to: t.KeyofC<{
43
+ readonly 0: 0;
44
+ readonly 1: 1;
45
+ readonly 2: 2;
46
+ }>;
47
+ encryptedMessage: t.StringC;
48
+ signature: t.StringC;
49
+ }>;
50
+ }>;
51
+ }>]>;
52
+ export type MPCv2SignatureShareRound1Output = t.TypeOf<typeof MPCv2SignatureShareRound1Output>;
53
+ export declare const MPCv2SignatureShareRound2Input: t.IntersectionC<[t.TypeC<{
54
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
55
+ }>, t.TypeC<{
56
+ type: t.LiteralC<"round2Input">;
57
+ data: t.TypeC<{
58
+ msg2: t.TypeC<{
59
+ from: t.KeyofC<{
60
+ readonly 0: 0;
61
+ readonly 1: 1;
62
+ readonly 2: 2;
63
+ }>;
64
+ to: t.KeyofC<{
65
+ readonly 0: 0;
66
+ readonly 1: 1;
67
+ readonly 2: 2;
68
+ }>;
69
+ encryptedMessage: t.StringC;
70
+ signature: t.StringC;
71
+ }>;
72
+ msg3: t.TypeC<{
73
+ from: t.KeyofC<{
74
+ readonly 0: 0;
75
+ readonly 1: 1;
76
+ readonly 2: 2;
77
+ }>;
78
+ to: t.KeyofC<{
79
+ readonly 0: 0;
80
+ readonly 1: 1;
81
+ readonly 2: 2;
82
+ }>;
83
+ encryptedMessage: t.StringC;
84
+ signature: t.StringC;
85
+ }>;
86
+ }>;
87
+ }>]>;
88
+ export type MPCv2SignatureShareRound2Input = t.TypeOf<typeof MPCv2SignatureShareRound2Input>;
89
+ export declare const MPCv2SignatureShareRound2Output: t.IntersectionC<[t.TypeC<{
90
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
91
+ }>, t.TypeC<{
92
+ type: t.LiteralC<"round2Output">;
93
+ data: t.TypeC<{
94
+ msg3: t.TypeC<{
95
+ from: t.KeyofC<{
96
+ readonly 0: 0;
97
+ readonly 1: 1;
98
+ readonly 2: 2;
99
+ }>;
100
+ to: t.KeyofC<{
101
+ readonly 0: 0;
102
+ readonly 1: 1;
103
+ readonly 2: 2;
104
+ }>;
105
+ encryptedMessage: t.StringC;
106
+ signature: t.StringC;
107
+ }>;
108
+ }>;
109
+ }>]>;
110
+ export type MPCv2SignatureShareRound2Output = t.TypeOf<typeof MPCv2SignatureShareRound2Output>;
111
+ export declare const MPCv2SignatureShareRound3Input: t.IntersectionC<[t.TypeC<{
112
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
113
+ }>, t.TypeC<{
114
+ type: t.LiteralC<"round3Input">;
115
+ data: t.TypeC<{
116
+ msg4: t.TypeC<{
117
+ from: t.KeyofC<{
118
+ readonly 0: 0;
119
+ readonly 1: 1;
120
+ readonly 2: 2;
121
+ }>;
122
+ message: t.StringC;
123
+ signature: t.StringC;
124
+ }>;
125
+ }>;
126
+ }>]>;
127
+ export type MPCv2SignatureShareRound3Input = t.TypeOf<typeof MPCv2SignatureShareRound3Input>;
128
+ //# sourceMappingURL=signingRound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signingRound.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,eAAO,MAAM,uBAAuB;;EAElC,CAAC;AAKH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAY1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;IAW1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC"}
@@ -0,0 +1,80 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MPCv2SignatureShareRound3Input = exports.MPCv2SignatureShareRound2Output = exports.MPCv2SignatureShareRound2Input = exports.MPCv2SignatureShareRound1Output = exports.MPCv2SignatureShareRound1Input = exports.MPCv2SignatureShareBase = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const common_1 = require("../common");
29
+ const mpcv2SigningState_1 = require("./mpcv2SigningState");
30
+ exports.MPCv2SignatureShareBase = t.type({
31
+ type: mpcv2SigningState_1.MPCv2SigningState,
32
+ });
33
+ exports.MPCv2SignatureShareRound1Input = t.intersection([
34
+ exports.MPCv2SignatureShareBase,
35
+ t.type({
36
+ type: t.literal("round1Input"),
37
+ data: t.type({
38
+ msg1: common_1.MPCv2BroadcastMessage,
39
+ }),
40
+ }, "MPCv2SignatureShareRound1"),
41
+ ]);
42
+ exports.MPCv2SignatureShareRound1Output = t.intersection([
43
+ exports.MPCv2SignatureShareBase,
44
+ t.type({
45
+ type: t.literal("round1Output"),
46
+ data: t.type({
47
+ msg1: common_1.MPCv2BroadcastMessage,
48
+ msg2: common_1.MPCv2P2PMessage,
49
+ }),
50
+ }, "MPCv2SignatureShareRound1Output"),
51
+ ]);
52
+ exports.MPCv2SignatureShareRound2Input = t.intersection([
53
+ exports.MPCv2SignatureShareBase,
54
+ t.type({
55
+ type: t.literal("round2Input"),
56
+ data: t.type({
57
+ msg2: common_1.MPCv2P2PMessage,
58
+ msg3: common_1.MPCv2P2PMessage,
59
+ }),
60
+ }, "MPCv2SignatureShareRound2Input"),
61
+ ]);
62
+ exports.MPCv2SignatureShareRound2Output = t.intersection([
63
+ exports.MPCv2SignatureShareBase,
64
+ t.type({
65
+ type: t.literal("round2Output"),
66
+ data: t.type({
67
+ msg3: common_1.MPCv2P2PMessage,
68
+ }),
69
+ }, "MPCv2SignatureShareRound2Output"),
70
+ ]);
71
+ exports.MPCv2SignatureShareRound3Input = t.intersection([
72
+ exports.MPCv2SignatureShareBase,
73
+ t.type({
74
+ type: t.literal("round3Input"),
75
+ data: t.type({
76
+ msg4: common_1.MPCv2BroadcastMessage,
77
+ }),
78
+ }, "MPCv2SignatureShareRound3Input"),
79
+ ]);
80
+ //# sourceMappingURL=signingRound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signingRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,sCAAmE;AACnE,2DAAwD;AAE3C,QAAA,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,IAAI,EAAE,qCAAiB;CACxB,CAAC,CAAC;AAKU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,2BAA2B,CAC5B;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;YAC3B,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;YACrB,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "2.5.0",
3
+ "version": "2.6.1",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",