@human-protocol/sdk 3.0.7 → 4.0.0

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 (64) hide show
  1. package/dist/constants.d.ts +2 -25
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +25 -66
  4. package/dist/decorators.js +1 -1
  5. package/dist/encryption.d.ts +21 -29
  6. package/dist/encryption.d.ts.map +1 -1
  7. package/dist/encryption.js +34 -36
  8. package/dist/error.d.ts +31 -28
  9. package/dist/error.d.ts.map +1 -1
  10. package/dist/error.js +36 -33
  11. package/dist/escrow.d.ts +118 -112
  12. package/dist/escrow.d.ts.map +1 -1
  13. package/dist/escrow.js +254 -180
  14. package/dist/graphql/queries/operator.d.ts.map +1 -1
  15. package/dist/graphql/queries/operator.js +15 -7
  16. package/dist/graphql/queries/statistics.d.ts.map +1 -1
  17. package/dist/graphql/queries/statistics.js +0 -2
  18. package/dist/graphql/queries/transaction.d.ts.map +1 -1
  19. package/dist/graphql/queries/transaction.js +23 -10
  20. package/dist/graphql/types.d.ts +0 -2
  21. package/dist/graphql/types.d.ts.map +1 -1
  22. package/dist/interfaces.d.ts +29 -12
  23. package/dist/interfaces.d.ts.map +1 -1
  24. package/dist/kvstore.d.ts +16 -16
  25. package/dist/kvstore.d.ts.map +1 -1
  26. package/dist/kvstore.js +16 -16
  27. package/dist/operator.d.ts +11 -10
  28. package/dist/operator.d.ts.map +1 -1
  29. package/dist/operator.js +36 -11
  30. package/dist/staking.d.ts +26 -118
  31. package/dist/staking.d.ts.map +1 -1
  32. package/dist/staking.js +46 -173
  33. package/dist/statistics.d.ts +10 -29
  34. package/dist/statistics.d.ts.map +1 -1
  35. package/dist/statistics.js +13 -30
  36. package/dist/storage.d.ts +13 -18
  37. package/dist/storage.d.ts.map +1 -1
  38. package/dist/storage.js +30 -25
  39. package/dist/transaction.js +1 -1
  40. package/dist/types.d.ts +23 -6
  41. package/dist/types.d.ts.map +1 -1
  42. package/dist/types.js +1 -1
  43. package/dist/utils.d.ts +0 -1
  44. package/dist/utils.d.ts.map +1 -1
  45. package/dist/utils.js +0 -1
  46. package/package.json +8 -4
  47. package/src/constants.ts +25 -66
  48. package/src/decorators.ts +1 -1
  49. package/src/encryption.ts +21 -29
  50. package/src/error.ts +39 -37
  51. package/src/escrow.ts +360 -216
  52. package/src/graphql/queries/operator.ts +15 -7
  53. package/src/graphql/queries/statistics.ts +0 -2
  54. package/src/graphql/queries/transaction.ts +23 -13
  55. package/src/graphql/types.ts +0 -2
  56. package/src/interfaces.ts +30 -13
  57. package/src/kvstore.ts +17 -17
  58. package/src/operator.ts +47 -12
  59. package/src/staking.ts +53 -187
  60. package/src/statistics.ts +13 -30
  61. package/src/storage.ts +13 -18
  62. package/src/transaction.ts +2 -2
  63. package/src/types.ts +24 -6
  64. package/src/utils.ts +0 -1
@@ -1,32 +1,10 @@
1
1
  import { ChainId } from './enums';
2
2
  import { NetworkData } from './types';
3
- /**
4
- * @constant Default public bucket name
5
- */
6
3
  export declare const DEFAULT_PUBLIC_BUCKET = "escrow-public-results";
7
- /**
8
- * @constant Default storage endpoint
9
- */
10
4
  export declare const DEFAULT_ENDPOINT = "localhost";
11
- /**
12
- * @constant Default storage region
13
- */
14
5
  export declare const DEFAULT_REGION = "eu";
15
- /**
16
- * @constant Default storage port
17
- */
18
6
  export declare const DEFAULT_PORT = 9000;
19
- /**
20
- * @constant Default storage port
21
- */
22
7
  export declare const DEFAULT_USE_SSL = false;
23
- /**
24
- * @constant Default tx Id
25
- */
26
- export declare const DEFAULT_TX_ID = 1;
27
- /**
28
- * @constant Default Enum for escrow statuses.
29
- */
30
8
  export declare enum HttpStatus {
31
9
  OK = 200,
32
10
  CREATED = 201,
@@ -37,9 +15,6 @@ export declare enum HttpStatus {
37
15
  NOT_FOUND = 404,
38
16
  INTERNAL_SERVER_ERROR = 500
39
17
  }
40
- /**
41
- * @constant Default network parameters
42
- */
43
18
  export declare const NETWORKS: {
44
19
  [chainId in ChainId]?: NetworkData;
45
20
  };
@@ -48,6 +23,7 @@ export declare const KVStoreKeys: {
48
23
  fee: string;
49
24
  publicKey: string;
50
25
  webhookUrl: string;
26
+ website: string;
51
27
  url: string;
52
28
  jobTypes: string;
53
29
  registrationNeeded: string;
@@ -60,4 +36,5 @@ export declare const Role: {
60
36
  RecordingOracle: string;
61
37
  };
62
38
  export declare const SUBGRAPH_API_KEY_PLACEHOLDER = "[SUBGRAPH_API_KEY]";
39
+ export declare const ESCROW_BULK_PAYOUT_MAX_ITEMS = 99;
63
40
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,gBAAgB,cAAc,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B;;GAEG;AACH,oBAAY,UAAU;IACpB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,gBAAgB,MAAM;IACtB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,qBAAqB,MAAM;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE;KACpB,OAAO,IAAI,OAAO,CAAC,CAAC,EAAE,WAAW;CAmSnC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;CASvB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;CAKhB,CAAC;AAEF,eAAO,MAAM,4BAA4B,uBAAuB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,eAAO,MAAM,gBAAgB,cAAc,CAAC;AAE5C,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC,oBAAY,UAAU;IACpB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,gBAAgB,MAAM;IACtB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,qBAAqB,MAAM;CAC5B;AAED,eAAO,MAAM,QAAQ,EAAE;KACpB,OAAO,IAAI,OAAO,CAAC,CAAC,EAAE,WAAW;CAiRnC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;CAKhB,CAAC;AAEF,eAAO,MAAM,4BAA4B,uBAAuB,CAAC;AAEjE,eAAO,MAAM,4BAA4B,KAAK,CAAC"}
package/dist/constants.js CHANGED
@@ -1,34 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SUBGRAPH_API_KEY_PLACEHOLDER = exports.Role = exports.KVStoreKeys = exports.NETWORKS = exports.HttpStatus = exports.DEFAULT_TX_ID = exports.DEFAULT_USE_SSL = exports.DEFAULT_PORT = exports.DEFAULT_REGION = exports.DEFAULT_ENDPOINT = exports.DEFAULT_PUBLIC_BUCKET = void 0;
3
+ exports.ESCROW_BULK_PAYOUT_MAX_ITEMS = exports.SUBGRAPH_API_KEY_PLACEHOLDER = exports.Role = exports.KVStoreKeys = exports.NETWORKS = exports.HttpStatus = exports.DEFAULT_USE_SSL = exports.DEFAULT_PORT = exports.DEFAULT_REGION = exports.DEFAULT_ENDPOINT = exports.DEFAULT_PUBLIC_BUCKET = void 0;
4
4
  const enums_1 = require("./enums");
5
- /**
6
- * @constant Default public bucket name
7
- */
8
5
  exports.DEFAULT_PUBLIC_BUCKET = 'escrow-public-results';
9
- /**
10
- * @constant Default storage endpoint
11
- */
12
6
  exports.DEFAULT_ENDPOINT = 'localhost';
13
- /**
14
- * @constant Default storage region
15
- */
16
7
  exports.DEFAULT_REGION = 'eu';
17
- /**
18
- * @constant Default storage port
19
- */
20
8
  exports.DEFAULT_PORT = 9000;
21
- /**
22
- * @constant Default storage port
23
- */
24
9
  exports.DEFAULT_USE_SSL = false;
25
- /**
26
- * @constant Default tx Id
27
- */
28
- exports.DEFAULT_TX_ID = 1;
29
- /**
30
- * @constant Default Enum for escrow statuses.
31
- */
32
10
  var HttpStatus;
33
11
  (function (HttpStatus) {
34
12
  HttpStatus[HttpStatus["OK"] = 200] = "OK";
@@ -40,9 +18,6 @@ var HttpStatus;
40
18
  HttpStatus[HttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
41
19
  HttpStatus[HttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
42
20
  })(HttpStatus || (exports.HttpStatus = HttpStatus = {}));
43
- /**
44
- * @constant Default network parameters
45
- */
46
21
  exports.NETWORKS = {
47
22
  [enums_1.ChainId.MAINNET]: {
48
23
  chainId: enums_1.ChainId.MAINNET,
@@ -50,11 +25,10 @@ exports.NETWORKS = {
50
25
  scanUrl: 'https://etherscan.io',
51
26
  factoryAddress: '0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a',
52
27
  hmtAddress: '0xd1ba9BAC957322D6e8c07a160a3A8dA11A0d2867',
53
- stakingAddress: '0x05398211bA2046E296fBc9a9D3EB49e3F15C3123',
54
- rewardPoolAddress: '0x4A5963Dd6792692e9147EdC7659936b96251917a',
28
+ stakingAddress: '0xEf6Da3aB52c33925Be3F84038193a7e1331F51E6',
55
29
  kvstoreAddress: '0xB6d36B1CDaD50302BCB3DB43bAb0D349458e1b8D',
56
30
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/ethereum/version/latest',
57
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmaTcYR8NCzZuxwY7tBkMJAo1Q64BMqNNSzqjxd7FH9s2p',
31
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmNTdYHpQLW4sbrCxihXNdQwhxa2zdyu1yPkCUuTbqESba',
58
32
  oldSubgraphUrl: '',
59
33
  oldFactoryAddress: '',
60
34
  },
@@ -65,7 +39,6 @@ exports.NETWORKS = {
65
39
  factoryAddress: '0x925B24444511c86F4d4E63141D8Be0A025E2dca4',
66
40
  hmtAddress: '0x4dCf5ac4509888714dd43A5cCc46d7ab389D9c23',
67
41
  stakingAddress: '',
68
- rewardPoolAddress: '',
69
42
  kvstoreAddress: '',
70
43
  subgraphUrl: '',
71
44
  subgraphUrlApiKey: '',
@@ -79,7 +52,6 @@ exports.NETWORKS = {
79
52
  factoryAddress: '0x87469B4f2Fcf37cBd34E54244c0BD4Fa0603664c',
80
53
  hmtAddress: '0xd3A31D57FDD790725d0F6B78095F62E8CD4ab317',
81
54
  stakingAddress: '0xf46B45Df3d956369726d8Bd93Ba33963Ab692920',
82
- rewardPoolAddress: '0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4',
83
55
  kvstoreAddress: '0x19Fc3e859C1813ac9427a7a78BeB9ae102CE96d3',
84
56
  subgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/goerli-v2',
85
57
  subgraphUrlApiKey: '',
@@ -90,13 +62,12 @@ exports.NETWORKS = {
90
62
  chainId: enums_1.ChainId.SEPOLIA,
91
63
  title: 'Ethereum Sepolia',
92
64
  scanUrl: 'https://sepolia.etherscan.io/',
93
- factoryAddress: '0xD6D347ba6987519B4e42EcED43dF98eFf5465a23',
65
+ factoryAddress: '0x5987A5558d961ee674efe4A8c8eB7B1b5495D3bf',
94
66
  hmtAddress: '0x792abbcC99c01dbDec49c9fa9A828a186Da45C33',
95
- stakingAddress: '0x2B9C5EC6220BA8Ad08CB51A60FFdbC6a6235B203',
96
- rewardPoolAddress: '0xAFf5a986A530ff839d49325A5dF69F96627E8D29',
67
+ stakingAddress: '0x2163e3A40032Af1C359ac731deaB48258b317890',
97
68
  kvstoreAddress: '0xCc0AF0635aa19fE799B6aFDBe28fcFAeA7f00a60',
98
69
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/sepolia/version/latest',
99
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmadNQBBzcfJHTmzLezZGbwvLux7HmnmfByBHubS2cmLUr',
70
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmXVFVCLm2XxupxdKgnLRzvmkPJnpRbcoe4RNXoTqSRHsg',
100
71
  oldSubgraphUrl: '',
101
72
  oldFactoryAddress: '',
102
73
  },
@@ -106,11 +77,10 @@ exports.NETWORKS = {
106
77
  scanUrl: 'https://bscscan.com',
107
78
  factoryAddress: '0x92FD968AcBd521c232f5fB8c33b342923cC72714',
108
79
  hmtAddress: '0x711Fd6ab6d65A98904522d4e3586F492B989c527',
109
- stakingAddress: '0xdFbB79dC35a3A53741be54a2C9b587d6BafAbd1C',
110
- rewardPoolAddress: '0xf376443BCc6d4d4D63eeC086bc4A9E4a83878e0e',
80
+ stakingAddress: '0xE24e5C08E28331D24758b69A5E9f383D2bDD1c98',
111
81
  kvstoreAddress: '0x21A0C4CED7aE447fCf87D9FE3A29FA9B3AB20Ff1',
112
82
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/bsc/version/latest',
113
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmXZ4QJMi8kyfXDEJwtdizyKf5JdJui89iYCLCE79N8Xf5',
83
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmPMS6G5evLm5ZpbnmpCfUy8bHJPwzPkZTv9DgfNdFfrCM',
114
84
  oldSubgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/bsc',
115
85
  oldFactoryAddress: '0xc88bC422cAAb2ac8812de03176402dbcA09533f4',
116
86
  },
@@ -120,11 +90,10 @@ exports.NETWORKS = {
120
90
  scanUrl: 'https://testnet.bscscan.com',
121
91
  factoryAddress: '0x2bfA592DBDaF434DDcbb893B1916120d181DAD18',
122
92
  hmtAddress: '0xE3D74BBFa45B4bCa69FF28891fBE392f4B4d4e4d',
123
- stakingAddress: '0x5517fE916Fe9F8dB15B0DDc76ebDf0BdDCd4ed18',
124
- rewardPoolAddress: '0xB0A0500103eCEc431b73F6BAd923F0a2774E6e29',
93
+ stakingAddress: '0xD6D347ba6987519B4e42EcED43dF98eFf5465a23',
125
94
  kvstoreAddress: '0x32e27177BA6Ea91cf28dfd91a0Da9822A4b74EcF',
126
95
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/bsc-testnet/version/latest',
127
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmdq449rn4WKDf7NLvRZgt7CedZRrvpDzPqcvSmhvuu16D',
96
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmW6JqXvhDnhRVHU6ixKVSD65U1GKWUf3xwJo8E6mTBsAu',
128
97
  oldSubgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/bsctest',
129
98
  oldFactoryAddress: '0xaae6a2646c1f88763e62e0cd08ad050ea66ac46f',
130
99
  },
@@ -134,11 +103,10 @@ exports.NETWORKS = {
134
103
  scanUrl: 'https://polygonscan.com',
135
104
  factoryAddress: '0xBDBfD2cC708199C5640C6ECdf3B0F4A4C67AdfcB',
136
105
  hmtAddress: '0xc748B2A084F8eFc47E086ccdDD9b7e67aEb571BF',
137
- stakingAddress: '0xcbAd56bE3f504E98bd70875823d3CC0242B7bB29',
138
- rewardPoolAddress: '0xa8e32d777a3839440cc7c24D591A64B9481753B3',
106
+ stakingAddress: '0x01D115E9E8bF0C58318793624CC662a030D07F1D',
139
107
  kvstoreAddress: '0xbcB28672F826a50B03EE91B28145EAbddA73B2eD',
140
108
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/polygon/version/latest',
141
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmNdsofT4Cj2KRwr8vgyKgCWpZNmrMN41zUdygRz7eSGC9',
109
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmTyCQMQd5QtogeTEuiqxnGQZa2PtgpUBsWLYwPCCFPbUe',
142
110
  oldSubgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/polygon',
143
111
  oldFactoryAddress: '0x45eBc3eAE6DA485097054ae10BA1A0f8e8c7f794',
144
112
  },
@@ -149,7 +117,6 @@ exports.NETWORKS = {
149
117
  factoryAddress: '0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d',
150
118
  hmtAddress: '0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4',
151
119
  stakingAddress: '0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac',
152
- rewardPoolAddress: '0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE',
153
120
  kvstoreAddress: '0xD96158c7267Ea658a4688F4aEf1c85659851625d',
154
121
  subgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/mumbai-v2',
155
122
  subgraphUrlApiKey: '',
@@ -162,11 +129,10 @@ exports.NETWORKS = {
162
129
  scanUrl: 'https://amoy.polygonscan.com/',
163
130
  factoryAddress: '0xAFf5a986A530ff839d49325A5dF69F96627E8D29',
164
131
  hmtAddress: '0x792abbcC99c01dbDec49c9fa9A828a186Da45C33',
165
- stakingAddress: '0xCc0AF0635aa19fE799B6aFDBe28fcFAeA7f00a60',
166
- rewardPoolAddress: '0xd866bCEFf6D0F77E1c3EAE28230AE6C79b03fDa7',
132
+ stakingAddress: '0xffE496683F842a923110415b7278ded3F265f2C5',
167
133
  kvstoreAddress: '0x724AeFC243EdacCA27EAB86D3ec5a76Af4436Fc7',
168
134
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/amoy/version/latest',
169
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmbwio5UnvDn5GQRJ5kLJfK27fqHK9nkEh4YXXYKWCc9rH',
135
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmawobiPUYsGNK9chtb5PvicUtaa8Jsjpwvv8dNyMVXQ9r',
170
136
  oldSubgraphUrl: '',
171
137
  oldFactoryAddress: '',
172
138
  },
@@ -177,7 +143,6 @@ exports.NETWORKS = {
177
143
  factoryAddress: '0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a',
178
144
  hmtAddress: '0x3b25BC1dC591D24d60560d0135D6750A561D4764',
179
145
  stakingAddress: '0x05398211bA2046E296fBc9a9D3EB49e3F15C3123',
180
- rewardPoolAddress: '0x4A5963Dd6792692e9147EdC7659936b96251917a',
181
146
  kvstoreAddress: '0x2B95bEcb6EBC4589f64CB000dFCF716b4aeF8aA6',
182
147
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/moonbeam/version/latest',
183
148
  subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmYe9hsFYuVgQsH719AsqRNqgVM8YBYfCuhBNYjXtBqQru',
@@ -190,11 +155,10 @@ exports.NETWORKS = {
190
155
  scanUrl: 'https://moonbase.moonscan.io/',
191
156
  factoryAddress: '0x5e622FF522D81aa426f082bDD95210BC25fCA7Ed',
192
157
  hmtAddress: '0x2dd72db2bBA65cE663e476bA8b84A1aAF802A8e3',
193
- stakingAddress: '0xBFC7009F3371F93F3B54DdC8caCd02914a37495c',
194
- rewardPoolAddress: '0xf46B45Df3d956369726d8Bd93Ba33963Ab692920',
158
+ stakingAddress: '0xbA537fEF2442cD48f60686FE1Bbbe40F964a7940',
195
159
  kvstoreAddress: '0xcC561f4482f4Ff051D2Dcc65c2cE1A0f291bbA46',
196
160
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/moonbase-alpha/version/latest',
197
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmeC4JrotcrXWJtJU519RX3KkxE5879wveRJJ58EheH3j1',
161
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmSDPbm5xxMvYVSJzHFVsRiMekvJVYSJ7UfZw17DhPMdaH',
198
162
  oldSubgraphUrl: '',
199
163
  oldFactoryAddress: '',
200
164
  },
@@ -204,11 +168,10 @@ exports.NETWORKS = {
204
168
  scanUrl: 'https://testnet.snowtrace.io',
205
169
  factoryAddress: '0x56C2ba540726ED4f46E7a134b6b9Ee9C867FcF92',
206
170
  hmtAddress: '0x9406d5c635AD22b0d76c75E52De57A2177919ca3',
207
- stakingAddress: '0x9890473B0b93E24d6D1a8Dfb739D577C6f25FFd3',
208
- rewardPoolAddress: '0x5517fE916Fe9F8dB15B0DDc76ebDf0BdDCd4ed18',
171
+ stakingAddress: '0xbA537fEF2442cD48f60686FE1Bbbe40F964a7940',
209
172
  kvstoreAddress: '0x3aD4B091E054f192a822D1406f4535eAd38580e4',
210
173
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/fuji/version/latest',
211
- subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmcFhecY6w3AhKGSg8XeidXwwuXCV9DAQ5SYGE1sTzydgR',
174
+ subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmYXwNPwC5DcitK1SLVUR6gPANmEn3UsVvGeTbjCv1tTb2',
212
175
  oldSubgraphUrl: 'https://api.thegraph.com/subgraphs/name/humanprotocol/fuji',
213
176
  oldFactoryAddress: '0xfb4469201951C3B9a7F1996c477cb7BDBEcE0A88',
214
177
  },
@@ -219,7 +182,6 @@ exports.NETWORKS = {
219
182
  factoryAddress: '0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a',
220
183
  hmtAddress: '0x12365293cb6477d4fc2686e46BB97E3Fb64f1550',
221
184
  stakingAddress: '0x05398211bA2046E296fBc9a9D3EB49e3F15C3123',
222
- rewardPoolAddress: '0x4A5963Dd6792692e9147EdC7659936b96251917a',
223
185
  kvstoreAddress: '0x9Bc7bff35B2Be2413708d48c3B0aEF5c43646728',
224
186
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/avalanche/version/latest',
225
187
  subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmYR8NUuAQVoGmGSwKanUJLjX9iZxrEyGH39HjUuXLmsum',
@@ -233,7 +195,6 @@ exports.NETWORKS = {
233
195
  factoryAddress: '0x86Af9f6Cd34B69Db1B202223C6d6D109f2491569',
234
196
  hmtAddress: '0x2736B33455A872dC478E1E004106D04c35472468',
235
197
  stakingAddress: '0x003548Df34be8836cF0F9673403a1E40ba449a0F',
236
- rewardPoolAddress: '0xA9545C2530BD5bdb464d5E274F59ACceAa73eD86',
237
198
  kvstoreAddress: '0x938335006ea6F9Eb0e8020969cFF94404425e298',
238
199
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/celo-alfajores/version/latest',
239
200
  subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmb2WKCFFhT7REAjTuMd9pZvGw7rRpzeZSPJ3KRztD2pMM',
@@ -247,7 +208,6 @@ exports.NETWORKS = {
247
208
  factoryAddress: '0xc90B43a5d576D9d8026c48904dfbaED50C15Fa08',
248
209
  hmtAddress: '0x19Ead835951493A763c96910255d5eeF147E914F',
249
210
  stakingAddress: '0x34cD3Bd6B16c559f321799b516dE61E12017fFd1',
250
- rewardPoolAddress: '0xb9344bAD98E3d26a4d83900922baf395a2Ec154c',
251
211
  kvstoreAddress: '0x86Af9f6Cd34B69Db1B202223C6d6D109f2491569',
252
212
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/celo/version/latest',
253
213
  subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmeeb5zshw1z9Q38NNPun2Pd7P951Mkzz5ywK171tauNRY',
@@ -261,7 +221,6 @@ exports.NETWORKS = {
261
221
  factoryAddress: '0x4949C9DFFD83F0D5Ab0AB24C57C4D403D5c20C15',
262
222
  hmtAddress: '0x10acbe3b9e6a2ff7f341e5cbf4b6617741ff44aa',
263
223
  stakingAddress: '0x01D115E9E8bF0C58318793624CC662a030D07F1D',
264
- rewardPoolAddress: '0x7ABa5F75b2b530cB0c8927C86591c21dF44f06b6',
265
224
  kvstoreAddress: '0x6512d894cc3d3FE93Da9d0420430136fA889FaB9',
266
225
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/xlayer/version/latest',
267
226
  subgraphUrlApiKey: 'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmWTggMrB5sRSs2fePuqQG9WbLMk8HtnfLH3VbRhmVdF8s',
@@ -274,11 +233,10 @@ exports.NETWORKS = {
274
233
  scanUrl: 'https://www.okx.com/explorer/xlayer-test',
275
234
  factoryAddress: '0x6Cd3ecAD36ee88E9ef3665CF381D9dAE0FE0a32e',
276
235
  hmtAddress: '0x792abbcC99c01dbDec49c9fa9A828a186Da45C33',
277
- stakingAddress: '0x819069fEd50581587fAB9E583b5488fc2D33B7ea',
278
- rewardPoolAddress: '0x6daccd1f3a68945f8a7ac6d20260953f7a97fae4',
236
+ stakingAddress: '0xeF9849a904dF0d494D69ac0B0a6860a3A7936114',
279
237
  kvstoreAddress: '0xdE8BE9E3C12E9F546309A429cd88d026a25EaF8C',
280
238
  subgraphUrl: 'https://api.studio.thegraph.com/query/74256/xlayer-testnet/version/latest',
281
- subgraphUrlApiKey: 'https://gateway-testnet-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmQrTmq89ZCdVABsFpLHtQUWuyyVzbcARoan9eztHd21oP',
239
+ subgraphUrlApiKey: 'https://gateway-testnet-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmNoRyqZtJTRrkbKAmWMZQUHuah7YSs8U9R3nzPu8WEhtY',
282
240
  oldSubgraphUrl: '',
283
241
  oldFactoryAddress: '',
284
242
  },
@@ -286,11 +244,10 @@ exports.NETWORKS = {
286
244
  chainId: enums_1.ChainId.LOCALHOST,
287
245
  title: 'Localhost',
288
246
  scanUrl: '',
289
- factoryAddress: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9',
247
+ factoryAddress: '0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9',
290
248
  hmtAddress: '0x5FbDB2315678afecb367f032d93F642f64180aa3',
291
- stakingAddress: '0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0',
292
- rewardPoolAddress: '0xa513E6E4b8f2a923D98304ec87F64353C4D5C853',
293
- kvstoreAddress: '0x5FC8d32690cc91D4c39d9d3abcBD16989F875707',
249
+ stakingAddress: '0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512',
250
+ kvstoreAddress: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9',
294
251
  subgraphUrl: 'http://localhost:8000/subgraphs/name/humanprotocol/localhost',
295
252
  subgraphUrlApiKey: '',
296
253
  oldSubgraphUrl: '',
@@ -302,6 +259,7 @@ exports.KVStoreKeys = {
302
259
  fee: 'fee',
303
260
  publicKey: 'public_key',
304
261
  webhookUrl: 'webhook_url',
262
+ website: 'website',
305
263
  url: 'url',
306
264
  jobTypes: 'job_types',
307
265
  registrationNeeded: 'registration_needed',
@@ -314,3 +272,4 @@ exports.Role = {
314
272
  RecordingOracle: 'Recording Oracle',
315
273
  };
316
274
  exports.SUBGRAPH_API_KEY_PLACEHOLDER = '[SUBGRAPH_API_KEY]';
275
+ exports.ESCROW_BULK_PAYOUT_MAX_ITEMS = 99;
@@ -7,7 +7,7 @@ function requiresSigner(target, propertyKey, descriptor) {
7
7
  const originalMethod = descriptor.value;
8
8
  descriptor.value = async function (...args) {
9
9
  try {
10
- !this.runner.getAddress();
10
+ this.runner.getAddress();
11
11
  }
12
12
  catch {
13
13
  throw error_1.ErrorSigner;
@@ -1,5 +1,9 @@
1
1
  import * as openpgp from 'openpgp';
2
2
  import { IKeyPair } from './interfaces';
3
+ /**
4
+ * Type representing the data type of a message.
5
+ * It can be either a string or a Uint8Array.
6
+ */
3
7
  type MessageDataType = string | Uint8Array;
4
8
  /**
5
9
  * ## Introduction
@@ -38,7 +42,7 @@ type MessageDataType = string | Uint8Array;
38
42
  *
39
43
  * const privateKey = 'Armored_priv_key';
40
44
  * const passphrase = 'example_passphrase';
41
- * const encription = await Encryption.build(privateKey, passphrase);
45
+ * const encryption = await Encryption.build(privateKey, passphrase);
42
46
  * ```
43
47
  */
44
48
  export declare class Encryption {
@@ -60,7 +64,7 @@ export declare class Encryption {
60
64
  /**
61
65
  * This function signs and encrypts a message using the private key used to initialize the client and the specified public keys.
62
66
  *
63
- * @param {string} message Message to sign and encrypt.
67
+ * @param {MessageDataType} message Message to sign and encrypt.
64
68
  * @param {string[]} publicKeys Array of public keys to use for encryption.
65
69
  * @returns {Promise<string>} Message signed and encrypted.
66
70
  *
@@ -72,7 +76,7 @@ export declare class Encryption {
72
76
  *
73
77
  * const privateKey = 'Armored_priv_key';
74
78
  * const passphrase = 'example_passphrase';
75
- * const encription = await Encryption.build(privateKey, passphrase);
79
+ * const encryption = await Encryption.build(privateKey, passphrase);
76
80
  * const publicKey1 = `-----BEGIN PGP PUBLIC KEY BLOCK-----
77
81
  * xjMEZKQEMxYJKwYBBAHaRw8BAQdA5oZTq4UPlS0IXn4kEaSqQdAa9+Cq522v
78
82
  * WYxJQn3vo1/NFEh1bWFuIDxodW1hbkBobXQuYWk+wowEEBYKAD4FAmSkBDME
@@ -98,7 +102,7 @@ export declare class Encryption {
98
102
  * -----END PGP PUBLIC KEY BLOCK-----`;
99
103
  *
100
104
  * const publicKeys = [publicKey1, publicKey2];
101
- * const resultMessage = await encription.signAndEncrypt('message', publicKeys);
105
+ * const resultMessage = await encryption.signAndEncrypt('message', publicKeys);
102
106
  * ```
103
107
  */
104
108
  signAndEncrypt(message: MessageDataType, publicKeys: string[]): Promise<string>;
@@ -107,7 +111,7 @@ export declare class Encryption {
107
111
  *
108
112
  * @param {string} message Message to decrypt.
109
113
  * @param {string} publicKey Public key used to verify signature if needed. This is optional.
110
- * @returns {Promise<string>} Message decrypted.
114
+ * @returns {Promise<Uint8Array>} Message decrypted.
111
115
  *
112
116
  * **Code example**
113
117
  *
@@ -116,7 +120,7 @@ export declare class Encryption {
116
120
  *
117
121
  * const privateKey = 'Armored_priv_key';
118
122
  * const passphrase = 'example_passphrase';
119
- * const encription = await Encryption.build(privateKey, passphrase);
123
+ * const encryption = await Encryption.build(privateKey, passphrase);
120
124
  *
121
125
  * const publicKey = `-----BEGIN PGP PUBLIC KEY BLOCK-----
122
126
  * xjMEZKQEMxYJKwYBBAHaRw8BAQdA5oZTq4UPlS0IXn4kEaSqQdAa9+Cq522v
@@ -130,7 +134,7 @@ export declare class Encryption {
130
134
  * UYLqAQDfdym4kiUvKO1+REKASt0Gwykndl7hra9txqlUL5DXBQ===Vwgv
131
135
  * -----END PGP PUBLIC KEY BLOCK-----`;
132
136
  *
133
- * const resultMessage = await encription.decrypt('message');
137
+ * const resultMessage = await encryption.decrypt('message');
134
138
  * ```
135
139
  */
136
140
  decrypt(message: string, publicKey?: string): Promise<Uint8Array>;
@@ -147,9 +151,9 @@ export declare class Encryption {
147
151
  *
148
152
  * const privateKey = 'Armored_priv_key';
149
153
  * const passphrase = 'example_passphrase';
150
- * const encription = await Encryption.build(privateKey, passphrase);
154
+ * const encryption = await Encryption.build(privateKey, passphrase);
151
155
  *
152
- * const resultMessage = await encription.sign('message');
156
+ * const resultMessage = await encryption.sign('message');
153
157
  * ```
154
158
  */
155
159
  sign(message: string): Promise<string>;
@@ -184,7 +188,7 @@ export declare class EncryptionUtils {
184
188
  * This function verifies the signature of a signed message using the public key.
185
189
  *
186
190
  * @param {string} message Message to verify.
187
- * @param {string} publicKey Public key to verify that the message was sign by a specific source.
191
+ * @param {string} publicKey Public key to verify that the message was signed by a specific source.
188
192
  * @returns {Promise<boolean>} True if verified. False if not verified.
189
193
  *
190
194
  * **Code example**
@@ -204,7 +208,7 @@ export declare class EncryptionUtils {
204
208
  * UYLqAQDfdym4kiUvKO1+REKASt0Gwykndl7hra9txqlUL5DXBQ===Vwgv
205
209
  * -----END PGP PUBLIC KEY BLOCK-----`;
206
210
  *
207
- * const result = await EncriptionUtils.verify('message', publicKey);
211
+ * const result = await EncryptionUtils.verify('message', publicKey);
208
212
  * ```
209
213
  */
210
214
  static verify(message: string, publicKey: string): Promise<boolean>;
@@ -219,7 +223,7 @@ export declare class EncryptionUtils {
219
223
  * ```ts
220
224
  * import { EncryptionUtils } from '@human-protocol/sdk';
221
225
  *
222
- * const signedData = await EncriptionUtils.getSignedData('message');
226
+ * const signedData = await EncryptionUtils.getSignedData('message');
223
227
  * ```
224
228
  */
225
229
  static getSignedData(message: string): Promise<string>;
@@ -236,30 +240,18 @@ export declare class EncryptionUtils {
236
240
  * ```ts
237
241
  * import { EncryptionUtils } from '@human-protocol/sdk';
238
242
  *
239
- * const publicKey = `-----BEGIN PGP PUBLIC KEY BLOCK-----
240
- * xjMEZKQEMxYJKwYBBAHaRw8BAQdA5oZTq4UPlS0IXn4kEaSqQdAa9+Cq522v
241
- * WYxJQn3vo1/NFEh1bWFuIDxodW1hbkBobXQuYWk+wowEEBYKAD4FAmSkBDME
242
- * CwkHCAkQJBFPuuhtQo4DFQgKBBYAAgECGQECGwMCHgEWIQTQ5fbVPB9CWIdf
243
- * XdYkEU+66G1CjgAAKYYA/jMyDCtJtqu6hj22kq9SW6fuV1FCT2ySJ9vBhumF
244
- * X8wWAP433zVFl4VECOkgGk8qFr8BgkYxaz16GOFAqYbfO6oMBc44BGSkBDMS
245
- * CisGAQQBl1UBBQEBB0AKR+A48zVVYZWQvgu7Opn2IGvzI9jePB/J8pzqRhg2
246
- * YAMBCAfCeAQYFggAKgUCZKQEMwkQJBFPuuhtQo4CGwwWIQTQ5fbVPB9CWIdf
247
- * XdYkEU+66G1CjgAA0xgBAK4AIahFFnmWR2Mp6A3q021cZXpGklc0Xw1Hfswc
248
- * UYLqAQDfdym4kiUvKO1+REKASt0Gwykndl7hra9txqlUL5DXBQ===Vwgv
249
- * -----END PGP PUBLIC KEY BLOCK-----`;
250
- *
251
243
  * const name = 'YOUR_NAME';
252
244
  * const email = 'YOUR_EMAIL';
253
245
  * const passphrase = 'YOUR_PASSPHRASE';
254
- * const result = await EncriptionUtils.generateKeyPair(name, email, passphrase);
246
+ * const result = await EncryptionUtils.generateKeyPair(name, email, passphrase);
255
247
  * ```
256
248
  */
257
249
  static generateKeyPair(name: string, email: string, passphrase?: string): Promise<IKeyPair>;
258
250
  /**
259
251
  * This function encrypts a message using the specified public keys.
260
252
  *
261
- * @param {string} message Message to encrypt.
262
- * @param {string} publicKey Array of public keys to use for encryption.
253
+ * @param {MessageDataType} message Message to encrypt.
254
+ * @param {string[]} publicKeys Array of public keys to use for encryption.
263
255
  * @returns {Promise<string>} Message encrypted.
264
256
  *
265
257
  * **Code example**
@@ -292,7 +284,7 @@ export declare class EncryptionUtils {
292
284
  * -----END PGP PUBLIC KEY BLOCK-----`;
293
285
  *
294
286
  * const publicKeys = [publicKey1, publicKey2]
295
- * const result = await EncriptionUtils.encrypt('message', publicKeys);
287
+ * const result = await EncryptionUtils.encrypt('message', publicKeys);
296
288
  * ```
297
289
  */
298
290
  static encrypt(message: MessageDataType, publicKeys: string[]): Promise<string>;
@@ -317,7 +309,7 @@ export declare class EncryptionUtils {
317
309
  * =tsmI
318
310
  * -----END PGP MESSAGE-----`;
319
311
  *
320
- * const isEncrypted = await EncriptionUtils.isEncrypted(message);
312
+ * const isEncrypted = await EncryptionUtils.isEncrypted(message);
321
313
  *
322
314
  * if (isEncrypted) {
323
315
  * console.log('The message is encrypted with OpenPGP.');
@@ -1 +1 @@
1
- {"version":3,"file":"encryption.d.ts","sourceRoot":"","sources":["../src/encryption.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,KAAK,eAAe,GAAG,MAAM,GAAG,UAAU,CAAC;AAU3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,UAAU,CAAqB;IAEvC;;;;OAIG;gBACS,UAAU,EAAE,OAAO,CAAC,UAAU;IAI1C;;;;;;OAMG;WACiB,KAAK,CACvB,iBAAiB,EAAE,MAAM,EACzB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,UAAU,CAAC;IAkBtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACU,cAAc,CACzB,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,MAAM,CAAC;IAkBlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACU,OAAO,CAClB,OAAO,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,UAAU,CAAC;IAoCtB;;;;;;;;;;;;;;;;;OAiBG;IACU,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAYpD;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,eAAe;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;WACiB,MAAM,CACxB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,OAAO,CAAC;IAgBnB;;;;;;;;;;;;;OAaG;WACiB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;WACiB,eAAe,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,UAAU,SAAK,GACd,OAAO,CAAC,QAAQ,CAAC;IAkBpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;WACiB,OAAO,CACzB,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,MAAM,CAAC;IAiBlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;WACW,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;CASpD"}
1
+ {"version":3,"file":"encryption.d.ts","sourceRoot":"","sources":["../src/encryption.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC;;;GAGG;AACH,KAAK,eAAe,GAAG,MAAM,GAAG,UAAU,CAAC;AAU3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,UAAU,CAAqB;IAEvC;;;;OAIG;gBACS,UAAU,EAAE,OAAO,CAAC,UAAU;IAI1C;;;;;;OAMG;WACiB,KAAK,CACvB,iBAAiB,EAAE,MAAM,EACzB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,UAAU,CAAC;IAkBtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACU,cAAc,CACzB,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,MAAM,CAAC;IAkBlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACU,OAAO,CAClB,OAAO,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,UAAU,CAAC;IAoCtB;;;;;;;;;;;;;;;;;OAiBG;IACU,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAYpD;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,eAAe;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;WACiB,MAAM,CACxB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,OAAO,CAAC;IAgBnB;;;;;;;;;;;;;OAaG;WACiB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYnE;;;;;;;;;;;;;;;;;;OAkBG;WACiB,eAAe,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,UAAU,SAAK,GACd,OAAO,CAAC,QAAQ,CAAC;IAkBpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;WACiB,OAAO,CACzB,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,MAAM,CAAC;IAiBlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;WACW,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;CASpD"}