@ercworldio/blockchain-shared 1.0.3-dev.7 → 1.0.5-dev.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.
- package/build/chains/networks_dev.json +17 -17
- package/build/chains/networks_prod-dz.json +0 -35
- package/build/chains/networks_prod-sh.json +40 -4
- package/build/chains/networks_prod-yb.json +40 -4
- package/build/contracts/Escrow.d.ts +16 -6
- package/build/contracts/Escrow.d.ts.map +1 -1
- package/build/contracts/Escrow.js +112 -4
- package/build/contracts/EscrowErrors.d.ts +110 -1
- package/build/contracts/EscrowErrors.d.ts.map +1 -1
- package/build/contracts/EscrowErrors.js +71 -14
- package/build/contracts/artifacts/Escrow.json +244 -14
- package/build/contracts/contract-events/AccessControlEvents.d.ts +12 -2
- package/build/contracts/contract-events/AccessControlEvents.d.ts.map +1 -1
- package/build/contracts/contract-events/AccessControlEvents.js +29 -5
- package/build/contracts/contract-events/EscrowEvents.d.ts +134 -2
- package/build/contracts/contract-events/EscrowEvents.d.ts.map +1 -1
- package/build/contracts/contract-events/EscrowEvents.js +67 -17
- package/build/contracts/contract-events/types/events.d.ts +35 -1
- package/build/contracts/contract-events/types/events.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -15
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +2 -8
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +69 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +91 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +69 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +91 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +188 -13
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +245 -15
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +1 -11
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +1 -13
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +45 -1
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +59 -1
- package/build/contracts/types/escrow.d.ts +16 -2
- package/build/contracts/types/escrow.d.ts.map +1 -1
- package/build/contracts/types/escrow.js +4 -0
- package/build/entities/AdminOperationThresholds.d.ts +0 -1
- package/build/entities/AdminOperationThresholds.d.ts.map +1 -1
- package/build/entities/AdminOperationThresholds.js +1 -5
- package/build/entities/ClaimJob.d.ts +1 -0
- package/build/entities/ClaimJob.d.ts.map +1 -1
- package/build/entities/ClaimJob.js +4 -0
- package/build/entities/EscrowRoles.js +1 -1
- package/build/entities/GlobalTimelock.d.ts +0 -1
- package/build/entities/GlobalTimelock.d.ts.map +1 -1
- package/build/entities/GlobalTimelock.js +1 -5
- package/build/entities/RoleHash.js +1 -1
- package/build/entities/TokenExecutionThresholds.d.ts +0 -1
- package/build/entities/TokenExecutionThresholds.d.ts.map +1 -1
- package/build/entities/TokenExecutionThresholds.js +1 -5
- package/build/errors/errors.d.ts +33 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +70 -2
- package/build/index.d.ts +6 -9
- package/build/index.d.ts.map +1 -1
- package/build/index.js +22 -11
- package/build/interfaces.d.ts +2 -2
- package/build/interfaces.d.ts.map +1 -1
- package/build/services/AlchemyService.d.ts +2 -1
- package/build/services/AlchemyService.d.ts.map +1 -1
- package/build/services/AlchemyService.js +8 -2
- package/build/services/AlchemyWebhooks.d.ts.map +1 -1
- package/build/services/AlchemyWebhooks.js +34 -29
- package/build/services/AzureEventHubHandler.d.ts.map +1 -1
- package/build/services/AzureEventHubHandler.js +17 -5
- package/build/services/ClaimJobService.d.ts +6 -2
- package/build/services/ClaimJobService.d.ts.map +1 -1
- package/build/services/ClaimJobService.js +155 -24
- package/build/services/WithdrawalService.d.ts.map +1 -1
- package/build/services/WithdrawalService.js +4 -2
- package/build/services/db/roles/ContractRoles.d.ts +2 -2
- package/build/services/db/roles/ContractRoles.d.ts.map +1 -1
- package/build/services/db/roles/ContractRoles.js +18 -12
- package/build/services/types/azure_event_hub_handler.d.ts +9 -1
- package/build/services/types/azure_event_hub_handler.d.ts.map +1 -1
- package/build/services/types/azure_event_hub_handler.js +8 -0
- package/build/services/types/claim.d.ts +17 -1
- package/build/services/types/claim.d.ts.map +1 -1
- package/build/services/types/claim_job_service.d.ts +9 -1
- package/build/services/types/claim_job_service.d.ts.map +1 -1
- package/build/services/types/index.d.ts +1 -0
- package/build/services/types/index.d.ts.map +1 -1
- package/build/services/types/index.js +1 -0
- package/build/services/utils/alchemy.d.ts.map +1 -1
- package/build/services/utils/alchemy.js +6 -1
- package/build/utils/AsyncTTLCache.d.ts +2 -0
- package/build/utils/AsyncTTLCache.d.ts.map +1 -1
- package/build/utils/AsyncTTLCache.js +10 -2
- package/build/utils/custodial.d.ts +9 -0
- package/build/utils/custodial.d.ts.map +1 -1
- package/build/utils/custodial.js +32 -4
- package/package.json +6 -3
|
@@ -14,7 +14,7 @@ export declare class MultisigLib__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): MultisigLib__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220b5f7e6d03a35ce48cab826e80ee9da9f04833a34f4dc08ea045cbedba43bdd3364736f6c634300081c0033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [{
|
|
20
20
|
readonly internalType: "uint256";
|
|
@@ -27,6 +27,22 @@ export declare class MultisigLib__factory extends ContractFactory {
|
|
|
27
27
|
}];
|
|
28
28
|
readonly name: "InsufficientExecutiveSigs";
|
|
29
29
|
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
readonly name: "requestId";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}, {
|
|
36
|
+
readonly internalType: "uint256";
|
|
37
|
+
readonly name: "required";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly internalType: "uint256";
|
|
41
|
+
readonly name: "provided";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "InsufficientExecutiveSigsForRequest";
|
|
45
|
+
readonly type: "error";
|
|
30
46
|
}, {
|
|
31
47
|
readonly inputs: readonly [{
|
|
32
48
|
readonly internalType: "uint256";
|
|
@@ -39,6 +55,22 @@ export declare class MultisigLib__factory extends ContractFactory {
|
|
|
39
55
|
}];
|
|
40
56
|
readonly name: "InsufficientManagerSigs";
|
|
41
57
|
readonly type: "error";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "requestId";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "required";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}, {
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "provided";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "InsufficientManagerSigsForRequest";
|
|
73
|
+
readonly type: "error";
|
|
42
74
|
}, {
|
|
43
75
|
readonly inputs: readonly [{
|
|
44
76
|
readonly internalType: "uint256";
|
|
@@ -47,6 +79,18 @@ export declare class MultisigLib__factory extends ContractFactory {
|
|
|
47
79
|
}];
|
|
48
80
|
readonly name: "InvalidMultiSig";
|
|
49
81
|
readonly type: "error";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [{
|
|
84
|
+
readonly internalType: "uint256";
|
|
85
|
+
readonly name: "requestId";
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}, {
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "sig_idx";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "InvalidMultiSigForRequest";
|
|
93
|
+
readonly type: "error";
|
|
50
94
|
}];
|
|
51
95
|
static createInterface(): MultisigLibInterface;
|
|
52
96
|
static connect(address: string, runner?: ContractRunner | null): MultisigLib;
|
package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultisigLib__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"MultisigLib__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AA6G5C,KAAK,4BAA4B,GAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,oBAAqB,SAAQ,eAAe;gBAC3C,GAAG,IAAI,EAAE,4BAA4B;IAQxC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,WAAW,GAAG;QACZ,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,oBAAoB;IAIrE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oBAAoB;IAG9C,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,WAAW;CAG7E"}
|
|
@@ -22,6 +22,27 @@ const _abi = [
|
|
|
22
22
|
name: "InsufficientExecutiveSigs",
|
|
23
23
|
type: "error",
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "requestId",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
internalType: "uint256",
|
|
34
|
+
name: "required",
|
|
35
|
+
type: "uint256",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
internalType: "uint256",
|
|
39
|
+
name: "provided",
|
|
40
|
+
type: "uint256",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
name: "InsufficientExecutiveSigsForRequest",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
25
46
|
{
|
|
26
47
|
inputs: [
|
|
27
48
|
{
|
|
@@ -38,6 +59,27 @@ const _abi = [
|
|
|
38
59
|
name: "InsufficientManagerSigs",
|
|
39
60
|
type: "error",
|
|
40
61
|
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "uint256",
|
|
66
|
+
name: "requestId",
|
|
67
|
+
type: "uint256",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "required",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "provided",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "InsufficientManagerSigsForRequest",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
41
83
|
{
|
|
42
84
|
inputs: [
|
|
43
85
|
{
|
|
@@ -49,8 +91,24 @@ const _abi = [
|
|
|
49
91
|
name: "InvalidMultiSig",
|
|
50
92
|
type: "error",
|
|
51
93
|
},
|
|
94
|
+
{
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
internalType: "uint256",
|
|
98
|
+
name: "requestId",
|
|
99
|
+
type: "uint256",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
internalType: "uint256",
|
|
103
|
+
name: "sig_idx",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "InvalidMultiSigForRequest",
|
|
108
|
+
type: "error",
|
|
109
|
+
},
|
|
52
110
|
];
|
|
53
|
-
const _bytecode = "
|
|
111
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220b5f7e6d03a35ce48cab826e80ee9da9f04833a34f4dc08ea045cbedba43bdd3364736f6c634300081c0033";
|
|
54
112
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
55
113
|
class MultisigLib__factory extends ethers_1.ContractFactory {
|
|
56
114
|
constructor(...args) {
|
|
@@ -24,7 +24,11 @@ export interface Signature {
|
|
|
24
24
|
}
|
|
25
25
|
export declare enum OperationType {
|
|
26
26
|
DEPOSIT = 0,
|
|
27
|
-
WITHDRAW = 1
|
|
27
|
+
WITHDRAW = 1,
|
|
28
|
+
SETTLE = 2,
|
|
29
|
+
ADMIN_WITHDRAWAL = 3,
|
|
30
|
+
MANAGE_MULTISIG = 4,// Admin conf: Configure Withdrawal and Admin withdrawal thresholds
|
|
31
|
+
CONFIG_TIMELOCK = 5
|
|
28
32
|
}
|
|
29
33
|
export type OpType = "DEPOSIT" | "WITHDRAW";
|
|
30
34
|
export interface DepositResult {
|
|
@@ -34,9 +38,19 @@ export interface DepositResult {
|
|
|
34
38
|
error?: EscrowErrorMessage;
|
|
35
39
|
}
|
|
36
40
|
export interface BatchWithdrawPayload {
|
|
37
|
-
|
|
41
|
+
committedAmount: bigint;
|
|
42
|
+
netAmount: bigint;
|
|
43
|
+
requestId: number;
|
|
44
|
+
tokenAddress: string;
|
|
45
|
+
receiverAddress: string;
|
|
46
|
+
signatures: Signature[];
|
|
47
|
+
}
|
|
48
|
+
export interface ExecuteWithdrawalPayload {
|
|
49
|
+
committedAmount: bigint;
|
|
50
|
+
netAmount: bigint;
|
|
38
51
|
requestId: number;
|
|
39
52
|
tokenAddress: string;
|
|
40
53
|
receiverAddress: string;
|
|
54
|
+
executeAt: number;
|
|
41
55
|
}
|
|
42
56
|
//# sourceMappingURL=escrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escrow.d.ts","sourceRoot":"","sources":["../../../src/contracts/types/escrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,KAAK;CACb;AAED,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,iBAAiB;IACzB,OAAO,YAAY;IACnB,MAAM,WAAW;CACpB;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;AAGD,oBAAY,aAAa;IACrB,OAAO,IAAI;IACX,QAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"escrow.d.ts","sourceRoot":"","sources":["../../../src/contracts/types/escrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,SAAS;IACjB,MAAM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AE,MAAM,CAAC;CACrB"}
|
|
@@ -17,4 +17,8 @@ var OperationType;
|
|
|
17
17
|
(function (OperationType) {
|
|
18
18
|
OperationType[OperationType["DEPOSIT"] = 0] = "DEPOSIT";
|
|
19
19
|
OperationType[OperationType["WITHDRAW"] = 1] = "WITHDRAW";
|
|
20
|
+
OperationType[OperationType["SETTLE"] = 2] = "SETTLE";
|
|
21
|
+
OperationType[OperationType["ADMIN_WITHDRAWAL"] = 3] = "ADMIN_WITHDRAWAL";
|
|
22
|
+
OperationType[OperationType["MANAGE_MULTISIG"] = 4] = "MANAGE_MULTISIG";
|
|
23
|
+
OperationType[OperationType["CONFIG_TIMELOCK"] = 5] = "CONFIG_TIMELOCK";
|
|
20
24
|
})(OperationType || (exports.OperationType = OperationType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminOperationThresholds.d.ts","sourceRoot":"","sources":["../../src/entities/AdminOperationThresholds.ts"],"names":[],"mappings":"AAEA,qBAEa,wBAAwB;IAEjC,EAAE,EAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"AdminOperationThresholds.d.ts","sourceRoot":"","sources":["../../src/entities/AdminOperationThresholds.ts"],"names":[],"mappings":"AAEA,qBAEa,wBAAwB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAIxB,WAAW,EAAG,MAAM,CAAC;IAGrB,aAAa,EAAG,MAAM,CAAC;IAGvB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -18,10 +18,6 @@ __decorate([
|
|
|
18
18
|
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
19
|
__metadata("design:type", Number)
|
|
20
20
|
], AdminOperationThresholds.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], AdminOperationThresholds.prototype, "operation_type", void 0);
|
|
25
21
|
__decorate([
|
|
26
22
|
(0, typeorm_1.Column)(),
|
|
27
23
|
__metadata("design:type", String)
|
|
@@ -51,6 +47,6 @@ __decorate([
|
|
|
51
47
|
__metadata("design:type", Date)
|
|
52
48
|
], AdminOperationThresholds.prototype, "updated_at", void 0);
|
|
53
49
|
exports.AdminOperationThresholds = AdminOperationThresholds = __decorate([
|
|
54
|
-
(0, typeorm_1.Entity)({ name: "crypto_admin_operation_thresholds", schema: "" }),
|
|
50
|
+
(0, typeorm_1.Entity)({ name: "crypto_admin_operation_thresholds", schema: "multisig" }),
|
|
55
51
|
(0, typeorm_1.Unique)(['blockchain', 'operation_type', 'chain_id', 'escrow_address'])
|
|
56
52
|
], AdminOperationThresholds);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaimJob.d.ts","sourceRoot":"","sources":["../../src/entities/ClaimJob.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGjE,qBAGa,SAAS;IAElB,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IAGvC,QAAQ,EAAG,MAAM,CAAC;IAGlB,YAAY,EAAG,WAAW,CAAC;IAG3B,UAAU,EAAG,SAAS,CAAC;IAGvB,UAAU,EAAG,MAAM,CAAC;IAGpB,OAAO,EAAG,MAAM,CAAC;IAGjB,QAAQ,EAAG,MAAM,CAAC;IAGlB,MAAM,EAAG,MAAM,CAAC;IAGhB,KAAK,EAAG,MAAM,CAAC;IAGf,QAAQ,EAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ClaimJob.d.ts","sourceRoot":"","sources":["../../src/entities/ClaimJob.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGjE,qBAGa,SAAS;IAElB,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IAGvC,QAAQ,EAAG,MAAM,CAAC;IAGlB,YAAY,EAAG,WAAW,CAAC;IAG3B,UAAU,EAAG,SAAS,CAAC;IAGvB,UAAU,EAAG,MAAM,CAAC;IAGpB,OAAO,EAAG,MAAM,CAAC;IAGjB,QAAQ,EAAG,MAAM,CAAC;IAGlB,MAAM,EAAG,MAAM,CAAC;IAGhB,KAAK,EAAG,MAAM,CAAC;IAGf,QAAQ,EAAG,MAAM,CAAC;IAGlB,YAAY,EAAG,OAAO,CAAC;IAIvB,eAAe,EAAG,IAAI,GAAG,IAAI,CAAC;IAG9B,SAAS,EAAG,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAGxB,OAAO,EAAG,IAAI,GAAG,IAAI,CAAC;IAGtB,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;IAG3B,WAAW,EAAG,MAAM,CAAC;IAGrB,aAAa,EAAG,MAAM,GAAG,IAAI,CAAC;IAG9B,aAAa,EAAG,IAAI,GAAG,IAAI,CAAC;IAG5B,QAAQ,EAAG,GAAG,CAAC;IAGf,cAAc,EAAG,MAAM,GAAG,IAAI,CAAC;IAG/B,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -58,6 +58,10 @@ __decorate([
|
|
|
58
58
|
(0, typeorm_1.Column)(),
|
|
59
59
|
__metadata("design:type", Number)
|
|
60
60
|
], ClaimJobs.prototype, "decimals", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'boolean', nullable: true, default: false }),
|
|
63
|
+
__metadata("design:type", Boolean)
|
|
64
|
+
], ClaimJobs.prototype, "has_timelock", void 0);
|
|
61
65
|
__decorate([
|
|
62
66
|
(0, typeorm_1.Column)({ type: "timestamptz", nullable: true }),
|
|
63
67
|
__metadata("design:type", Object)
|
|
@@ -51,7 +51,7 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Date)
|
|
52
52
|
], EscrowRoles.prototype, "updated_at", void 0);
|
|
53
53
|
exports.EscrowRoles = EscrowRoles = __decorate([
|
|
54
|
-
(0, typeorm_1.Entity)({ name: "crypto_escrow_roles", schema: "" }),
|
|
54
|
+
(0, typeorm_1.Entity)({ name: "crypto_escrow_roles", schema: "multisig" }),
|
|
55
55
|
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'contract_address', 'wallet_address', 'role_id']),
|
|
56
56
|
(0, typeorm_1.Index)(['wallet_address', 'role_id', 'user_id'])
|
|
57
57
|
], EscrowRoles);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTimelock.d.ts","sourceRoot":"","sources":["../../src/entities/GlobalTimelock.ts"],"names":[],"mappings":"AAEA,qBAEa,cAAc;IAGvB,EAAE,EAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"GlobalTimelock.d.ts","sourceRoot":"","sources":["../../src/entities/GlobalTimelock.ts"],"names":[],"mappings":"AAEA,qBAEa,cAAc;IAGvB,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAGxB,aAAa,EAAG,MAAM,CAAC;IAGvB,eAAe,EAAG,MAAM,CAAC;IAGzB,aAAa,EAAG,MAAM,CAAC;IAGvB,aAAa,EAAG,MAAM,CAAC;IAGvB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CAErB"}
|
|
@@ -18,10 +18,6 @@ __decorate([
|
|
|
18
18
|
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
19
|
__metadata("design:type", Number)
|
|
20
20
|
], GlobalTimelock.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], GlobalTimelock.prototype, "operation_type", void 0);
|
|
25
21
|
__decorate([
|
|
26
22
|
(0, typeorm_1.Column)(),
|
|
27
23
|
__metadata("design:type", String)
|
|
@@ -59,6 +55,6 @@ __decorate([
|
|
|
59
55
|
__metadata("design:type", Date)
|
|
60
56
|
], GlobalTimelock.prototype, "updated_at", void 0);
|
|
61
57
|
exports.GlobalTimelock = GlobalTimelock = __decorate([
|
|
62
|
-
(0, typeorm_1.Entity)({ name: "crypto_withdrawal_global_timelock", schema: "" }),
|
|
58
|
+
(0, typeorm_1.Entity)({ name: "crypto_withdrawal_global_timelock", schema: "multisig" }),
|
|
63
59
|
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'escrow_address', 'token_address'])
|
|
64
60
|
], GlobalTimelock);
|
|
@@ -47,6 +47,6 @@ __decorate([
|
|
|
47
47
|
__metadata("design:type", Date)
|
|
48
48
|
], RoleHash.prototype, "updated_at", void 0);
|
|
49
49
|
exports.RoleHash = RoleHash = __decorate([
|
|
50
|
-
(0, typeorm_1.Entity)({ name: "crypto_role_hash", schema: "" }),
|
|
50
|
+
(0, typeorm_1.Entity)({ name: "crypto_role_hash", schema: "multisig" }),
|
|
51
51
|
(0, typeorm_1.Unique)(['blockchain', 'role_name', 'role_hash'])
|
|
52
52
|
], RoleHash);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenExecutionThresholds.d.ts","sourceRoot":"","sources":["../../src/entities/TokenExecutionThresholds.ts"],"names":[],"mappings":"AAEA,qBAEa,wBAAwB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAGZ,
|
|
1
|
+
{"version":3,"file":"TokenExecutionThresholds.d.ts","sourceRoot":"","sources":["../../src/entities/TokenExecutionThresholds.ts"],"names":[],"mappings":"AAEA,qBAEa,wBAAwB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAGxB,aAAa,EAAG,MAAM,CAAC;IAGvB,eAAe,EAAG,MAAM,CAAC;IAGzB,kBAAkB,EAAG,MAAM,CAAC;IAG5B,kBAAkB,EAAG,MAAM,CAAC;IAG5B,gBAAgB,EAAG,MAAM,CAAC;IAG1B,gBAAgB,EAAG,MAAM,CAAC;IAG1B,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -18,10 +18,6 @@ __decorate([
|
|
|
18
18
|
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
19
|
__metadata("design:type", Number)
|
|
20
20
|
], TokenExecutionThresholds.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], TokenExecutionThresholds.prototype, "operation_type", void 0);
|
|
25
21
|
__decorate([
|
|
26
22
|
(0, typeorm_1.Column)(),
|
|
27
23
|
__metadata("design:type", String)
|
|
@@ -67,6 +63,6 @@ __decorate([
|
|
|
67
63
|
__metadata("design:type", Date)
|
|
68
64
|
], TokenExecutionThresholds.prototype, "updated_at", void 0);
|
|
69
65
|
exports.TokenExecutionThresholds = TokenExecutionThresholds = __decorate([
|
|
70
|
-
(0, typeorm_1.Entity)({ name: "crypto_token_execution_thresholds", schema: "" }),
|
|
66
|
+
(0, typeorm_1.Entity)({ name: "crypto_token_execution_thresholds", schema: "multisig" }),
|
|
71
67
|
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'escrow_address', 'token_address'])
|
|
72
68
|
], TokenExecutionThresholds);
|
package/build/errors/errors.d.ts
CHANGED
|
@@ -65,6 +65,17 @@ export declare const ErrorMessages: {
|
|
|
65
65
|
readonly INSUFFICIENT_ENERGY_WALLET_BALANCE: "Rent energy wallet has insufficient balance";
|
|
66
66
|
readonly RENT_ENERGY_MIN_WITHDRAWAL_ERROR: "Minimum withdrawal of 50TRX required.";
|
|
67
67
|
readonly TELEGRAM_ALREADY_CONNECTED: "Telegram account is already connected";
|
|
68
|
+
readonly MAX_BATCH_SIZE_EXCEEDED: "Maximum batch size is exceeded";
|
|
69
|
+
readonly FAILED_SCHEDULE_WITHDRAWAL: "Scheduling withdrawal failed";
|
|
70
|
+
readonly FAILED_EXECUTE_WITHDRAWAL: "Failed to execute scheduled withdrawal";
|
|
71
|
+
readonly FAILED_CANCEL_WITHDRAWAL: "Failed to cancel scheduled withdrawal";
|
|
72
|
+
readonly WITHDRAWAL_INSUFFICIENT_SIGNATURES: "Insufficient signatures for withdrawal scheduling";
|
|
73
|
+
readonly WITHDRAWAL_INVALID_SIGNATURES: "One or more signatures are invalid for withdrawal scheduling";
|
|
74
|
+
readonly UNDEFINED_DESTINATION_DETAILS: "Lightning withdrawal has no destination payment details";
|
|
75
|
+
readonly UNDEFINED_WITHDRAWAL_TOKEN: "Token address does not exist in withdraw request";
|
|
76
|
+
readonly MISSING_WITHDRAWAL_DETAILS: "Withdraw request details is missing";
|
|
77
|
+
readonly REQUEST_ALREADY_FULFILLED: "Withdraw request is already fulfilled";
|
|
78
|
+
readonly NOT_FOUND_SCHEDULED_WITHDRAWAL: "Withdraw request scheduling not found";
|
|
68
79
|
};
|
|
69
80
|
export declare const ErrorCodes: {
|
|
70
81
|
readonly INTERNAL_SERVER: "error.internal_server_error";
|
|
@@ -126,6 +137,17 @@ export declare const ErrorCodes: {
|
|
|
126
137
|
readonly INSUFFICIENT_ENERGY_WALLET_BALANCE: "error.insufficient_energy_wallet_balance";
|
|
127
138
|
readonly RENT_ENERGY_MIN_WITHDRAWAL_ERROR: "error.rent_energy_min_withdrawal_error";
|
|
128
139
|
readonly TELEGRAM_ALREADY_CONNECTED: "error.telegram_already_connected";
|
|
140
|
+
readonly MAX_BATCH_SIZE_EXCEEDED: "error.max_batch_size_exceeded";
|
|
141
|
+
readonly FAILED_SCHEDULE_WITHDRAWAL: "error.failed_schedule_withdrawal";
|
|
142
|
+
readonly FAILED_EXECUTE_WITHDRAWAL: "error.failed_execute_withdrawal";
|
|
143
|
+
readonly FAILED_CANCEL_WITHDRAWAL: "error.failed_cancel_withdrawal";
|
|
144
|
+
readonly WITHDRAWAL_INSUFFICIENT_SIGNATURES: "error.withdrawal_insufficient_signatures";
|
|
145
|
+
readonly WITHDRAWAL_INVALID_SIGNATURES: "error.withdrawal_invalid_signatures";
|
|
146
|
+
readonly UNDEFINED_DESTINATION_DETAILS: "error.undefined_destination_details";
|
|
147
|
+
readonly UNDEFINED_WITHDRAWAL_TOKEN: "error.undefined_withdrawawal_token";
|
|
148
|
+
readonly MISSING_WITHDRAWAL_DETAILS: "error.invalid_withdraw_request";
|
|
149
|
+
readonly REQUEST_ALREADY_FULFILLED: "error.request_already_fulfilled";
|
|
150
|
+
readonly NOT_FOUND_SCHEDULED_WITHDRAWAL: "error.not_found_scheduled_withdrawal";
|
|
129
151
|
};
|
|
130
152
|
export type ErrorCode = typeof ErrorCodes[keyof typeof ErrorCodes];
|
|
131
153
|
export interface ErrorCodeEntry {
|
|
@@ -211,6 +233,17 @@ declare class BaseErrors {
|
|
|
211
233
|
InsufficientRentEnergyWalletBalance(): "Rent energy wallet has insufficient balance";
|
|
212
234
|
RentEnergyMinWithdrawalError(): "Minimum withdrawal of 50TRX required.";
|
|
213
235
|
TelegramAlreadyConnected(): "Telegram account is already connected";
|
|
236
|
+
MaxBatchSizeExceeded(): "Maximum batch size is exceeded";
|
|
237
|
+
FailedScheduleWithdrawal(): "Scheduling withdrawal failed";
|
|
238
|
+
FailedExecuteWithdrawal(): "Failed to execute scheduled withdrawal";
|
|
239
|
+
FailedCancelWithdrawal(): "Failed to cancel scheduled withdrawal";
|
|
240
|
+
WithdrawalInvalidSignatures(): "One or more signatures are invalid for withdrawal scheduling";
|
|
241
|
+
WithdrawalInsufficientSignatures(): "Insufficient signatures for withdrawal scheduling";
|
|
242
|
+
MissingWithdrawDetails(): "Withdraw request details is missing";
|
|
243
|
+
UndefinedWithdrawalToken(): "Token address does not exist in withdraw request";
|
|
244
|
+
UndefinedDestinationDetails(): "Lightning withdrawal has no destination payment details";
|
|
245
|
+
RequestAlreadyFulfilled(): "Withdraw request is already fulfilled";
|
|
246
|
+
NotFoundWithdrawCommitment(): "Withdraw request scheduling not found";
|
|
214
247
|
/** Handler methods */
|
|
215
248
|
handle_error: (error: any, source_method: string) => ErrorHandlerResponse;
|
|
216
249
|
get_error_code_base: (message: string) => ErrorCodeEntry | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/errors/errors.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqFtB,2BAA2B;;;;IAK3B,sBAAsB
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/errors/errors.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqFtB,2BAA2B;;;;IAK3B,sBAAsB;;;;;;;;;;;;;;;;;;;;;CA4BhB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFb,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;CACzB;AAED,UAAU,oBAAoB;IAC1B,WAAW,EAAE,MAAM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G;IAC3B,cAAc,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,MAAM;IAC/B,yBAAyB,CAAC,CAAC,CAAC,EAAE,GAAG;IACjC,gBAAgB,CAAC,CAAC,CAAC,EAAE,GAAG;IACxB,aAAa,CAAC,CAAC,CAAC,EAAE,GAAG;IACrB,yBAAyB;IACzB,WAAW;IACX,cAAc;IACd,iBAAiB;IACjB,oBAAoB;IACpB,kBAAkB;IAClB,mCAAmC;IACnC,4BAA4B;IAC5B,wBAAwB;IACxB,oBAAoB;IACpB,wBAAwB;IACxB,uBAAuB;IACvB,sBAAsB;IACtB,2BAA2B;IAC3B,gCAAgC;IAChC,sBAAsB;IACtB,wBAAwB;IACxB,2BAA2B;IAC3B,uBAAuB;IACvB,0BAA0B;IAEjC,sBAAsB;IACf,YAAY,GAAI,OAAO,GAAG,EAAE,eAAe,MAAM,KAAG,oBAAoB,CAuB9E;IAEM,mBAAmB,GAAI,SAAS,MAAM,KAAG,cAAc,GAAG,IAAI,CA+CpE;CACJ;AAED,eAAe,UAAU,CAAC"}
|
package/build/errors/errors.js
CHANGED
|
@@ -102,7 +102,19 @@ exports.ErrorMessages = {
|
|
|
102
102
|
RENT_ENERGY_API_ERROR: `Encountered error when calling rent API`, // 500
|
|
103
103
|
INSUFFICIENT_ENERGY_WALLET_BALANCE: `Rent energy wallet has insufficient balance`,
|
|
104
104
|
RENT_ENERGY_MIN_WITHDRAWAL_ERROR: `Minimum withdrawal of 50TRX required.`,
|
|
105
|
-
TELEGRAM_ALREADY_CONNECTED: `Telegram account is already connected
|
|
105
|
+
TELEGRAM_ALREADY_CONNECTED: `Telegram account is already connected`, // 409
|
|
106
|
+
/// Multisig
|
|
107
|
+
MAX_BATCH_SIZE_EXCEEDED: `Maximum batch size is exceeded`,
|
|
108
|
+
FAILED_SCHEDULE_WITHDRAWAL: `Scheduling withdrawal failed`,
|
|
109
|
+
FAILED_EXECUTE_WITHDRAWAL: `Failed to execute scheduled withdrawal`,
|
|
110
|
+
FAILED_CANCEL_WITHDRAWAL: `Failed to cancel scheduled withdrawal`,
|
|
111
|
+
WITHDRAWAL_INSUFFICIENT_SIGNATURES: `Insufficient signatures for withdrawal scheduling`,
|
|
112
|
+
WITHDRAWAL_INVALID_SIGNATURES: `One or more signatures are invalid for withdrawal scheduling`,
|
|
113
|
+
UNDEFINED_DESTINATION_DETAILS: `Lightning withdrawal has no destination payment details`,
|
|
114
|
+
UNDEFINED_WITHDRAWAL_TOKEN: `Token address does not exist in withdraw request`,
|
|
115
|
+
MISSING_WITHDRAWAL_DETAILS: `Withdraw request details is missing`,
|
|
116
|
+
REQUEST_ALREADY_FULFILLED: `Withdraw request is already fulfilled`,
|
|
117
|
+
NOT_FOUND_SCHEDULED_WITHDRAWAL: `Withdraw request scheduling not found`,
|
|
106
118
|
};
|
|
107
119
|
exports.ErrorCodes = {
|
|
108
120
|
INTERNAL_SERVER: 'error.internal_server_error',
|
|
@@ -169,7 +181,19 @@ exports.ErrorCodes = {
|
|
|
169
181
|
RENT_ENERGY_API_ERROR: `error.rent_enegy_api_error`,
|
|
170
182
|
INSUFFICIENT_ENERGY_WALLET_BALANCE: `error.insufficient_energy_wallet_balance`,
|
|
171
183
|
RENT_ENERGY_MIN_WITHDRAWAL_ERROR: `error.rent_energy_min_withdrawal_error`,
|
|
172
|
-
TELEGRAM_ALREADY_CONNECTED: `error.telegram_already_connected
|
|
184
|
+
TELEGRAM_ALREADY_CONNECTED: `error.telegram_already_connected`,
|
|
185
|
+
/// Multisig
|
|
186
|
+
MAX_BATCH_SIZE_EXCEEDED: `error.max_batch_size_exceeded`,
|
|
187
|
+
FAILED_SCHEDULE_WITHDRAWAL: `error.failed_schedule_withdrawal`,
|
|
188
|
+
FAILED_EXECUTE_WITHDRAWAL: `error.failed_execute_withdrawal`,
|
|
189
|
+
FAILED_CANCEL_WITHDRAWAL: `error.failed_cancel_withdrawal`,
|
|
190
|
+
WITHDRAWAL_INSUFFICIENT_SIGNATURES: `error.withdrawal_insufficient_signatures`,
|
|
191
|
+
WITHDRAWAL_INVALID_SIGNATURES: `error.withdrawal_invalid_signatures`,
|
|
192
|
+
UNDEFINED_DESTINATION_DETAILS: `error.undefined_destination_details`,
|
|
193
|
+
UNDEFINED_WITHDRAWAL_TOKEN: `error.undefined_withdrawawal_token`,
|
|
194
|
+
MISSING_WITHDRAWAL_DETAILS: `error.invalid_withdraw_request`,
|
|
195
|
+
REQUEST_ALREADY_FULFILLED: `error.request_already_fulfilled`,
|
|
196
|
+
NOT_FOUND_SCHEDULED_WITHDRAWAL: `error.not_found_scheduled_withdrawal`,
|
|
173
197
|
};
|
|
174
198
|
class BaseErrors {
|
|
175
199
|
constructor() {
|
|
@@ -275,6 +299,28 @@ class BaseErrors {
|
|
|
275
299
|
return Object.assign(Object.assign({}, this.codes[400]), { error_code: exports.ErrorCodes.RENT_ENERGY_MIN_WITHDRAWAL_ERROR });
|
|
276
300
|
if (message.includes(exports.ErrorMessages.TELEGRAM_ALREADY_CONNECTED))
|
|
277
301
|
return Object.assign(Object.assign({}, this.codes[409]), { error_code: exports.ErrorCodes.TELEGRAM_ALREADY_CONNECTED });
|
|
302
|
+
if (message.includes(exports.ErrorMessages.MAX_BATCH_SIZE_EXCEEDED))
|
|
303
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.MAX_BATCH_SIZE_EXCEEDED });
|
|
304
|
+
if (message.includes(exports.ErrorMessages.FAILED_SCHEDULE_WITHDRAWAL))
|
|
305
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.FAILED_SCHEDULE_WITHDRAWAL });
|
|
306
|
+
if (message.includes(exports.ErrorMessages.FAILED_EXECUTE_WITHDRAWAL))
|
|
307
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.FAILED_EXECUTE_WITHDRAWAL });
|
|
308
|
+
if (message.includes(exports.ErrorMessages.FAILED_CANCEL_WITHDRAWAL))
|
|
309
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.FAILED_CANCEL_WITHDRAWAL });
|
|
310
|
+
if (message.includes(exports.ErrorMessages.WITHDRAWAL_INSUFFICIENT_SIGNATURES))
|
|
311
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.WITHDRAWAL_INSUFFICIENT_SIGNATURES });
|
|
312
|
+
if (message.includes(exports.ErrorMessages.WITHDRAWAL_INVALID_SIGNATURES))
|
|
313
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.WITHDRAWAL_INVALID_SIGNATURES });
|
|
314
|
+
if (message.includes(exports.ErrorMessages.UNDEFINED_DESTINATION_DETAILS))
|
|
315
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.UNDEFINED_DESTINATION_DETAILS });
|
|
316
|
+
if (message.includes(exports.ErrorMessages.UNDEFINED_WITHDRAWAL_TOKEN))
|
|
317
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.UNDEFINED_WITHDRAWAL_TOKEN });
|
|
318
|
+
if (message.includes(exports.ErrorMessages.MISSING_WITHDRAWAL_DETAILS))
|
|
319
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.MISSING_WITHDRAWAL_DETAILS });
|
|
320
|
+
if (message.includes(exports.ErrorMessages.REQUEST_ALREADY_FULFILLED))
|
|
321
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.REQUEST_ALREADY_FULFILLED });
|
|
322
|
+
if (message.includes(exports.ErrorMessages.NOT_FOUND_SCHEDULED_WITHDRAWAL))
|
|
323
|
+
return Object.assign(Object.assign({}, this.codes[500]), { error_code: exports.ErrorCodes.NOT_FOUND_SCHEDULED_WITHDRAWAL });
|
|
278
324
|
return null;
|
|
279
325
|
};
|
|
280
326
|
}
|
|
@@ -345,5 +391,27 @@ class BaseErrors {
|
|
|
345
391
|
;
|
|
346
392
|
TelegramAlreadyConnected() { return exports.ErrorMessages.TELEGRAM_ALREADY_CONNECTED; }
|
|
347
393
|
;
|
|
394
|
+
MaxBatchSizeExceeded() { return exports.ErrorMessages.MAX_BATCH_SIZE_EXCEEDED; }
|
|
395
|
+
;
|
|
396
|
+
FailedScheduleWithdrawal() { return exports.ErrorMessages.FAILED_SCHEDULE_WITHDRAWAL; }
|
|
397
|
+
;
|
|
398
|
+
FailedExecuteWithdrawal() { return exports.ErrorMessages.FAILED_EXECUTE_WITHDRAWAL; }
|
|
399
|
+
;
|
|
400
|
+
FailedCancelWithdrawal() { return exports.ErrorMessages.FAILED_CANCEL_WITHDRAWAL; }
|
|
401
|
+
;
|
|
402
|
+
WithdrawalInvalidSignatures() { return exports.ErrorMessages.WITHDRAWAL_INVALID_SIGNATURES; }
|
|
403
|
+
;
|
|
404
|
+
WithdrawalInsufficientSignatures() { return exports.ErrorMessages.WITHDRAWAL_INSUFFICIENT_SIGNATURES; }
|
|
405
|
+
;
|
|
406
|
+
MissingWithdrawDetails() { return exports.ErrorMessages.MISSING_WITHDRAWAL_DETAILS; }
|
|
407
|
+
;
|
|
408
|
+
UndefinedWithdrawalToken() { return exports.ErrorMessages.UNDEFINED_WITHDRAWAL_TOKEN; }
|
|
409
|
+
;
|
|
410
|
+
UndefinedDestinationDetails() { return exports.ErrorMessages.UNDEFINED_DESTINATION_DETAILS; }
|
|
411
|
+
;
|
|
412
|
+
RequestAlreadyFulfilled() { return exports.ErrorMessages.REQUEST_ALREADY_FULFILLED; }
|
|
413
|
+
;
|
|
414
|
+
NotFoundWithdrawCommitment() { return exports.ErrorMessages.NOT_FOUND_SCHEDULED_WITHDRAWAL; }
|
|
415
|
+
;
|
|
348
416
|
}
|
|
349
417
|
exports.default = BaseErrors;
|
package/build/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { default as ChainManager } from './services/ChainManager';
|
|
|
11
11
|
export { default as ContractRoles } from './services/db/roles/ContractRoles';
|
|
12
12
|
export { default as ClaimHistoryService } from './services/ClaimHistoryService';
|
|
13
13
|
export { default as ClaimJobService } from './services/ClaimJobService';
|
|
14
|
+
export { default as ClaimJobServiceStatic } from './services/ClaimJobServiceStatic';
|
|
14
15
|
export { default as DepositAddressService } from './services/DepositAddressService';
|
|
15
16
|
export { default as DepositAddressArchiveService } from './services/DepositAddressArchiveService';
|
|
16
17
|
export { default as ElasticSearch } from './services/ElasticSearch';
|
|
@@ -21,6 +22,7 @@ export { default as InvoiceQueue } from './services/InvoiceQueue';
|
|
|
21
22
|
export { default as KeyVaultHandler } from './services/KeyVaultService';
|
|
22
23
|
export { default as Logger } from "./utils/Logger";
|
|
23
24
|
export { default as MemoryMonitor } from './utils/MemoryMonitor';
|
|
25
|
+
export { default as MultisigService } from './services/db/multisig/MultisigService';
|
|
24
26
|
export { default as Redis } from './services/Redis';
|
|
25
27
|
export { default as RedisQueue } from './services/RedisQueue';
|
|
26
28
|
export { default as RedisListQueue } from './services/RedisListQueue';
|
|
@@ -33,6 +35,8 @@ export { default as TronHelper } from "./services/tron/services/TronHelper";
|
|
|
33
35
|
export { default as TronHotWallet } from "./services/tron/services/TronHotWallet";
|
|
34
36
|
export { default as TronCustodialWallet } from "./services/tron/services/TronCustodialWallet";
|
|
35
37
|
export { default as TronFundingWallet } from "./services/tron/services/TronFundingWallet";
|
|
38
|
+
export { default as ScheduleTransactionService } from "./services/db/timelock/ScheduleTransactionService";
|
|
39
|
+
export { default as ScheduleTransactionJobHistoryService } from "./services/db/timelock/ScheduleTransactionJobHistoryService";
|
|
36
40
|
export { default as Provider } from './chains/Provider';
|
|
37
41
|
export { default as ProviderManager } from './services/ProviderManager';
|
|
38
42
|
export { default as StorageService } from './services/StorageService';
|
|
@@ -42,6 +46,7 @@ export { default as WalletIndexService } from './services/WalletIndexService';
|
|
|
42
46
|
export { default as WalletManager } from './services/WalletManager';
|
|
43
47
|
export { default as WalletManagerHelper } from "./services/WalletManagerHelper";
|
|
44
48
|
export { default as WithdrawalManager } from './services/WithdrawalManager';
|
|
49
|
+
export { default as WithdrawalService } from './services/WithdrawalService';
|
|
45
50
|
export { default as Worker } from './services/Worker';
|
|
46
51
|
export { default as QuicknodeWebhookSignature } from './services/QuicknodeWebhookSignature';
|
|
47
52
|
export { default as QnNotificationsApi } from "./services/quicknode-notifications/QnNotificationsApi";
|
|
@@ -60,15 +65,7 @@ export * from './utils/solana';
|
|
|
60
65
|
export * from './utils/Parsing';
|
|
61
66
|
export * from './services/utils/alchemy';
|
|
62
67
|
export * from './constants';
|
|
63
|
-
export * from './entities/
|
|
64
|
-
export * from './entities/ClaimHistory';
|
|
65
|
-
export * from './entities/ClaimJob';
|
|
66
|
-
export * from './entities/DepositAddress';
|
|
67
|
-
export * from './entities/DepositAddressArchive';
|
|
68
|
-
export * from './entities/DepositWalletBalance';
|
|
69
|
-
export * from './entities/SweepHistory';
|
|
70
|
-
export * from './entities/SweepJob';
|
|
71
|
-
export * from './entities/WalletIndex';
|
|
68
|
+
export * from './entities/index';
|
|
72
69
|
export * from './contracts/deployment/config';
|
|
73
70
|
export { default as EscrowInteraction } from './contracts/Escrow';
|
|
74
71
|
export * from './contracts/EscrowErrors';
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,OAA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