@ercworldio/blockchain-shared 1.0.3-dev.4-PROJ-1296.11 → 1.0.3-dev.4-PROJ-1448.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 (30) hide show
  1. package/build/chains/networks_dev.json +5 -5
  2. package/build/contracts/Escrow.d.ts +5 -5
  3. package/build/contracts/EscrowErrors.d.ts +13 -1
  4. package/build/contracts/EscrowErrors.d.ts.map +1 -1
  5. package/build/contracts/EscrowErrors.js +12 -0
  6. package/build/contracts/artifacts/Escrow.json +114 -0
  7. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +34 -5
  8. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  9. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +1 -4
  10. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -1
  11. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +13 -1
  12. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  13. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +17 -1
  14. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +13 -1
  15. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +17 -1
  17. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  18. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  19. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +88 -6
  20. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  21. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +115 -7
  22. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +1 -6
  23. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -1
  24. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +1 -7
  25. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +45 -1
  26. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -1
  27. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +59 -1
  28. package/build/utils/custodial.d.ts.map +1 -1
  29. package/build/utils/custodial.js +4 -0
  30. package/package.json +1 -1
@@ -46,7 +46,7 @@
46
46
  "treasury_receiver": "TN4tXH5F36BxWEe8UQuUeMr1EuPwJjNUFJ",
47
47
  "overflow_treasury_receiver": "TCdE3ZGvBjUcqVCreT25SWwF36gkiLYTGD",
48
48
  "overflow_threshold_decimal": 100000,
49
- "min_funding_wallet_balance_usd": 5,
49
+ "min_funding_wallet_balance_usd": 1,
50
50
  "allowed_receivers": [
51
51
  "TCdE3ZGvBjUcqVCreT25SWwF36gkiLYTGD"
52
52
  ]
@@ -120,7 +120,7 @@
120
120
  "treasury_receiver": "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu",
121
121
  "overflow_treasury_receiver": "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq",
122
122
  "overflow_threshold_decimal": 100000,
123
- "min_funding_wallet_balance_usd": 5,
123
+ "min_funding_wallet_balance_usd": 1,
124
124
  "allowed_receivers": [
125
125
  "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu"
126
126
  ]
@@ -223,7 +223,7 @@
223
223
  "treasury_receiver": "0xaD372aCDd0F14A9430Af29DaEc8229A9F109d7F5",
224
224
  "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
225
225
  "overflow_threshold_decimal": 100000,
226
- "min_funding_wallet_balance_usd": 5,
226
+ "min_funding_wallet_balance_usd": 1,
227
227
  "allowed_receivers": [
228
228
  "0xaD372aCDd0F14A9430Af29DaEc8229A9F109d7F5"
229
229
  ]
@@ -398,7 +398,7 @@
398
398
  "treasury_receiver": "0x81E612A63f7e1E8435fdbaE04a81ac84638D25f3",
399
399
  "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
400
400
  "overflow_threshold_decimal": 100000,
401
- "min_funding_wallet_balance_usd": 5,
401
+ "min_funding_wallet_balance_usd": 1,
402
402
  "allowed_receivers": [
403
403
  "0x81E612A63f7e1E8435fdbaE04a81ac84638D25f3"
404
404
  ]
@@ -509,7 +509,7 @@
509
509
  "treasury_receiver": "0x296d7BfECCa7Fa59157b012e12Bab48859F11b32",
510
510
  "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
511
511
  "overflow_threshold_decimal": 100000,
512
- "min_funding_wallet_balance_usd": 5,
512
+ "min_funding_wallet_balance_usd": 1,
513
513
  "allowed_receivers": [
514
514
  "0x296d7BfECCa7Fa59157b012e12Bab48859F11b32"
515
515
  ]
@@ -44,7 +44,7 @@ declare class EscrowInteraction extends Errors {
44
44
  transactionHash: null;
45
45
  receipt: null;
46
46
  error: {
47
- name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
47
+ name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
48
48
  message: string;
49
49
  data?: any;
50
50
  };
@@ -61,7 +61,7 @@ declare class EscrowInteraction extends Errors {
61
61
  transactionHash: null;
62
62
  receipt: null;
63
63
  error: {
64
- name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
64
+ name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
65
65
  message: string;
66
66
  data?: any;
67
67
  };
@@ -108,7 +108,7 @@ declare class EscrowInteraction extends Errors {
108
108
  receipt: null;
109
109
  executed_at: Date;
110
110
  error: {
111
- name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
111
+ name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
112
112
  message: string;
113
113
  data?: any;
114
114
  };
@@ -169,7 +169,7 @@ declare class EscrowInteraction extends Errors {
169
169
  receipt: null;
170
170
  executed_at: Date;
171
171
  error: {
172
- name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
172
+ name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
173
173
  message: string;
174
174
  data?: any;
175
175
  };
@@ -209,7 +209,7 @@ declare class EscrowInteraction extends Errors {
209
209
  transactionHash: null;
210
210
  receipt: null;
211
211
  error: {
212
- name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
212
+ name: "ContractBusy" | "ContractPaused" | "InvalidSignature" | "SignatureAlreadyUsed" | "ZeroValue" | "ZeroAddress" | "RequestAlreadyFulfilled" | "EtherDirectTransferNotAllowed" | "DepositOnlyERC20" | "TokenNotAllowed" | "InsufficientBalance" | "InsufficientReserves" | "TransferError" | "NotAdmin" | "NotAuthorized" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
213
213
  message: string;
214
214
  data?: any;
215
215
  };
@@ -143,7 +143,19 @@ export interface InsufficientManagerSigsError {
143
143
  name: "InsufficientManagerSigs";
144
144
  args: [number, number];
145
145
  }
146
- type ErrorName = "NotAuthorized" | "NotAdmin" | "TransferError" | "InsufficientReserves" | "InsufficientBalance" | "TokenNotAllowed" | "DepositOnlyERC20" | "EtherDirectTransferNotAllowed" | "RequestAlreadyFulfilled" | "ZeroAddress" | "ZeroValue" | "SignatureAlreadyUsed" | "InvalidSignature" | "ContractPaused" | "ContractBusy" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs";
146
+ export interface InvalidMultiSigForRequest {
147
+ name: "InvalidMultiSigForRequest";
148
+ args: [number, number];
149
+ }
150
+ export interface InsufficientManagerSigsForRequest {
151
+ name: "InsufficientManagerSigsForRequest";
152
+ args: [number, number, number];
153
+ }
154
+ export interface InsufficientExecutiveSigsForRequest {
155
+ name: "InsufficientExecutiveSigsForRequest";
156
+ args: [number, number, number];
157
+ }
158
+ type ErrorName = "NotAuthorized" | "NotAdmin" | "TransferError" | "InsufficientReserves" | "InsufficientBalance" | "TokenNotAllowed" | "DepositOnlyERC20" | "EtherDirectTransferNotAllowed" | "RequestAlreadyFulfilled" | "ZeroAddress" | "ZeroValue" | "SignatureAlreadyUsed" | "InvalidSignature" | "ContractPaused" | "ContractBusy" | "ExceedsLimit" | "ExceedsMax" | "UnknownError" | "InvalidNonce" | "TimelockConfigGroupNotSet" | "ConfigGroupNotSet" | "TimelockConfigNotSet" | "CommitmentNotFound" | "AlreadyCreatedTransaction" | "AccountAlreadyHasSignerRole" | "InvalidOperation" | "InvalidConfig" | "InvalidSignatures" | "AdminMultisigConfigNotSet" | "MultisigConfigNotSet" | "RequireTreasuryReceiverRole" | "InvalidMultiSig" | "RequireMultiSig" | "TimelockNotExpired" | "InsufficientExecutiveSigs" | "InsufficientManagerSigs" | "InvalidMultiSigForRequest" | "InsufficientManagerSigsForRequest" | "InsufficientExecutiveSigsForRequest";
147
159
  export interface EscrowErrorMessage {
148
160
  name: ErrorName;
149
161
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"EscrowErrors.d.ts","sourceRoot":"","sources":["../../src/contracts/EscrowErrors.ts"],"names":[],"mappings":"AAAA,OAA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,GACb,WAAW,GACX,sBAAsB,GACtB,kBAAkB,GAClB,gBAAgB,GAChB,cAAc,GACd,cAAc,GACd,YAAY,GACZ,cAAc,GACd,cAAc,GACd,2BAA2B,GAC3B,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,2BAA2B,GAC3B,6BAA6B,GAC7B,kBAAkB,GAClB,eAAe,GACf,mBAAmB,GACnB,2BAA2B,GAC3B,sBAAsB,GACtB,6BAA6B,GAC7B,iBAAiB,GACjB,iBAAiB,GACjB,oBAAoB,GACpB,2BAA2B,GAC3B,yBAAyB,GACzB,2BAA2B,GAC3B,mCAAmC,GACnC,qCAAqC,CAAA;AAE3C,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,WAAW;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB,GAAI,cAAc,gBAAgB,KAAG,kBAmGlE,CAAC"}
@@ -85,6 +85,18 @@ const parseDecodedError = (decodedError) => {
85
85
  const [signerAddress] = decodedError.args;
86
86
  return { name: decodedError.name, message: `Account ${signerAddress} already has the signer role.` };
87
87
  }
88
+ case "InvalidMultiSigForRequest": {
89
+ const [requestId, sigIdx] = decodedError.args;
90
+ return { name: decodedError.name, message: `Invalid signature at index: ${sigIdx} for request id: ${requestId}` };
91
+ }
92
+ case "InsufficientManagerSigsForRequest": {
93
+ const [requestId, required, provided] = decodedError.args;
94
+ return { name: decodedError.name, message: `Insufficient manager signatures for request ${requestId}. Required: ${required}, provided: ${provided}.` };
95
+ }
96
+ case "InsufficientExecutiveSigsForRequest": {
97
+ const [requestId, required, provided] = decodedError.args;
98
+ return { name: decodedError.name, message: `Insufficient executive signatures for request ${requestId}. Required: ${required}, provided: ${provided}.` };
99
+ }
88
100
  default:
89
101
  return { name: "UnknownError", message: "Unexpected error occurred." };
90
102
  }
@@ -47,6 +47,22 @@
47
47
  "name": "AlreadyCreatedTransaction",
48
48
  "type": "error"
49
49
  },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "request_id",
55
+ "type": "uint256"
56
+ },
57
+ {
58
+ "internalType": "uint8",
59
+ "name": "error_id",
60
+ "type": "uint8"
61
+ }
62
+ ],
63
+ "name": "BatchError",
64
+ "type": "error"
65
+ },
50
66
  {
51
67
  "inputs": [
52
68
  {
@@ -167,6 +183,27 @@
167
183
  "name": "InsufficientExecutiveSigs",
168
184
  "type": "error"
169
185
  },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "uint256",
190
+ "name": "requestId",
191
+ "type": "uint256"
192
+ },
193
+ {
194
+ "internalType": "uint256",
195
+ "name": "required",
196
+ "type": "uint256"
197
+ },
198
+ {
199
+ "internalType": "uint256",
200
+ "name": "provided",
201
+ "type": "uint256"
202
+ }
203
+ ],
204
+ "name": "InsufficientExecutiveSigsForRequest",
205
+ "type": "error"
206
+ },
170
207
  {
171
208
  "inputs": [
172
209
  {
@@ -199,6 +236,27 @@
199
236
  "name": "InsufficientManagerSigs",
200
237
  "type": "error"
201
238
  },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "requestId",
244
+ "type": "uint256"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "required",
249
+ "type": "uint256"
250
+ },
251
+ {
252
+ "internalType": "uint256",
253
+ "name": "provided",
254
+ "type": "uint256"
255
+ }
256
+ ],
257
+ "name": "InsufficientManagerSigsForRequest",
258
+ "type": "error"
259
+ },
202
260
  {
203
261
  "inputs": [],
204
262
  "name": "InsufficientReserves",
@@ -236,6 +294,22 @@
236
294
  "name": "InvalidMultiSig",
237
295
  "type": "error"
238
296
  },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "requestId",
302
+ "type": "uint256"
303
+ },
304
+ {
305
+ "internalType": "uint256",
306
+ "name": "sig_idx",
307
+ "type": "uint256"
308
+ }
309
+ ],
310
+ "name": "InvalidMultiSigForRequest",
311
+ "type": "error"
312
+ },
239
313
  {
240
314
  "inputs": [
241
315
  {
@@ -1305,6 +1379,46 @@
1305
1379
  "stateMutability": "nonpayable",
1306
1380
  "type": "function"
1307
1381
  },
1382
+ {
1383
+ "inputs": [
1384
+ {
1385
+ "components": [
1386
+ {
1387
+ "internalType": "uint256",
1388
+ "name": "amount",
1389
+ "type": "uint256"
1390
+ },
1391
+ {
1392
+ "internalType": "uint256",
1393
+ "name": "requestId",
1394
+ "type": "uint256"
1395
+ },
1396
+ {
1397
+ "internalType": "address",
1398
+ "name": "tokenAddress",
1399
+ "type": "address"
1400
+ },
1401
+ {
1402
+ "internalType": "address",
1403
+ "name": "receiverAddress",
1404
+ "type": "address"
1405
+ },
1406
+ {
1407
+ "internalType": "uint256",
1408
+ "name": "executeAt",
1409
+ "type": "uint256"
1410
+ }
1411
+ ],
1412
+ "internalType": "struct Types.ExecuteWithdrawalPayload[]",
1413
+ "name": "payload",
1414
+ "type": "tuple[]"
1415
+ }
1416
+ ],
1417
+ "name": "batchExecuteWithdrawal",
1418
+ "outputs": [],
1419
+ "stateMutability": "nonpayable",
1420
+ "type": "function"
1421
+ },
1308
1422
  {
1309
1423
  "inputs": [
1310
1424
  {
@@ -34,6 +34,26 @@ export declare namespace Types {
34
34
  r: string;
35
35
  s: string;
36
36
  };
37
+ type ExecuteWithdrawalPayloadStruct = {
38
+ amount: BigNumberish;
39
+ requestId: BigNumberish;
40
+ tokenAddress: AddressLike;
41
+ receiverAddress: AddressLike;
42
+ executeAt: BigNumberish;
43
+ };
44
+ type ExecuteWithdrawalPayloadStructOutput = [
45
+ amount: bigint,
46
+ requestId: bigint,
47
+ tokenAddress: string,
48
+ receiverAddress: string,
49
+ executeAt: bigint
50
+ ] & {
51
+ amount: bigint;
52
+ requestId: bigint;
53
+ tokenAddress: string;
54
+ receiverAddress: string;
55
+ executeAt: bigint;
56
+ };
37
57
  type SweepJobStruct = {
38
58
  wallet: AddressLike;
39
59
  token: AddressLike;
@@ -238,7 +258,7 @@ export declare namespace Types {
238
258
  };
239
259
  }
240
260
  export interface EscrowInterface extends Interface {
241
- getFunction(nameOrSignature: "ADMIN_TREASURY_EXECUTIVE_ROLE" | "ADMIN_TREASURY_MANAGER_ROLE" | "CONFIG_EXECUTIVE_ROLE" | "CONFIG_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "FUNDS_MANAGER_ROLE" | "OPERATOR_ROLE" | "TIMELOCK_CONFIG_EXECUTIVE_ROLE" | "TIMELOCK_CONFIG_MANAGER_ROLE" | "TIMELOCK_DELAY" | "TREASURY_DISPATCH_ROLE" | "TREASURY_EXECUTIVE_ROLE" | "TREASURY_MANAGER_ROLE" | "TREASURY_RECEIVER_ROLE" | "__AccessControl_init" | "__Signature_init" | "__TokensWhitelist_init" | "addTokens" | "adminTokenThresholdSettings" | "adminWithdraw" | "batchSweepERC20" | "batchWithdrawWithTimelock" | "batch_withdraw" | "cancelWithdrawal" | "configNonce" | "configThresholdSettings" | "deposit" | "depositErc20" | "executeWithdrawal" | "fundWallets" | "getAdminMultisigConfig" | "getBalance()" | "getBalance(address)" | "getDepositSigner" | "getGroupConfig" | "getNonce" | "getRequestStatus" | "getReservesCoverage" | "getRoleAdmin" | "getTokenMultisigConfig" | "getWithdrawalSigner" | "get_admin_used_ids" | "get_used_ids" | "grantRole" | "hasRole" | "initialize" | "isFundsManager" | "isPaused" | "isWhitelisted" | "nonces" | "pause" | "receiverTimelockConfig" | "removeTokens" | "renounceRole" | "reset_admin_request_ids" | "reset_request_ids" | "revokeRole" | "setAdminTokenMultisigThreshold" | "setGroupConfig" | "setTimelock" | "setTimelockGranular" | "setTokenMultisigThreshold" | "signerBitmap" | "supportsInterface" | "sweepFunds" | "timelockCommitments" | "timelockConfig" | "timelockConfigNonce" | "timelockThresholdSettings" | "tokenThresholdSettings" | "unpackAdminThresholds" | "unpackTokenThresholds" | "unpause" | "whitelist" | "withdraw" | "withdrawWithTimelock"): FunctionFragment;
261
+ getFunction(nameOrSignature: "ADMIN_TREASURY_EXECUTIVE_ROLE" | "ADMIN_TREASURY_MANAGER_ROLE" | "CONFIG_EXECUTIVE_ROLE" | "CONFIG_MANAGER_ROLE" | "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "FUNDS_MANAGER_ROLE" | "OPERATOR_ROLE" | "TIMELOCK_CONFIG_EXECUTIVE_ROLE" | "TIMELOCK_CONFIG_MANAGER_ROLE" | "TIMELOCK_DELAY" | "TREASURY_DISPATCH_ROLE" | "TREASURY_EXECUTIVE_ROLE" | "TREASURY_MANAGER_ROLE" | "TREASURY_RECEIVER_ROLE" | "__AccessControl_init" | "__Signature_init" | "__TokensWhitelist_init" | "addTokens" | "adminTokenThresholdSettings" | "adminWithdraw" | "batchExecuteWithdrawal" | "batchSweepERC20" | "batchWithdrawWithTimelock" | "batch_withdraw" | "cancelWithdrawal" | "configNonce" | "configThresholdSettings" | "deposit" | "depositErc20" | "executeWithdrawal" | "fundWallets" | "getAdminMultisigConfig" | "getBalance()" | "getBalance(address)" | "getDepositSigner" | "getGroupConfig" | "getNonce" | "getRequestStatus" | "getReservesCoverage" | "getRoleAdmin" | "getTokenMultisigConfig" | "getWithdrawalSigner" | "get_admin_used_ids" | "get_used_ids" | "grantRole" | "hasRole" | "initialize" | "isFundsManager" | "isPaused" | "isWhitelisted" | "nonces" | "pause" | "receiverTimelockConfig" | "removeTokens" | "renounceRole" | "reset_admin_request_ids" | "reset_request_ids" | "revokeRole" | "setAdminTokenMultisigThreshold" | "setGroupConfig" | "setTimelock" | "setTimelockGranular" | "setTokenMultisigThreshold" | "signerBitmap" | "supportsInterface" | "sweepFunds" | "timelockCommitments" | "timelockConfig" | "timelockConfigNonce" | "timelockThresholdSettings" | "tokenThresholdSettings" | "unpackAdminThresholds" | "unpackTokenThresholds" | "unpause" | "whitelist" | "withdraw" | "withdrawWithTimelock"): FunctionFragment;
242
262
  getEvent(nameOrSignatureOrTopic: "AdminWithdraw" | "ConfigureAdminMultisig" | "ConfigureTokenMultisig" | "Deposit" | "FundWallets" | "FundedContract" | "Initialized" | "LowReserves" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetTimelockGranular" | "SetTokenTimelock" | "SweepTokens" | "TokenAdded" | "TokenRemoved" | "Withdrawal" | "WithdrawalCancelled" | "WithdrawalExecuted" | "WithdrawalScheduled"): EventFragment;
243
263
  encodeFunctionData(functionFragment: "ADMIN_TREASURY_EXECUTIVE_ROLE", values?: undefined): string;
244
264
  encodeFunctionData(functionFragment: "ADMIN_TREASURY_MANAGER_ROLE", values?: undefined): string;
@@ -267,6 +287,7 @@ export interface EscrowInterface extends Interface {
267
287
  AddressLike,
268
288
  Types.SignatureStruct[]
269
289
  ]): string;
290
+ encodeFunctionData(functionFragment: "batchExecuteWithdrawal", values: [Types.ExecuteWithdrawalPayloadStruct[]]): string;
270
291
  encodeFunctionData(functionFragment: "batchSweepERC20", values: [Types.SweepJobStruct[], AddressLike]): string;
271
292
  encodeFunctionData(functionFragment: "batchWithdrawWithTimelock", values: [Types.BatchWithdrawWithTimelockStruct[]]): string;
272
293
  encodeFunctionData(functionFragment: "batch_withdraw", values: [Types.BatchWithdrawStruct[]]): string;
@@ -383,6 +404,7 @@ export interface EscrowInterface extends Interface {
383
404
  decodeFunctionResult(functionFragment: "addTokens", data: BytesLike): Result;
384
405
  decodeFunctionResult(functionFragment: "adminTokenThresholdSettings", data: BytesLike): Result;
385
406
  decodeFunctionResult(functionFragment: "adminWithdraw", data: BytesLike): Result;
407
+ decodeFunctionResult(functionFragment: "batchExecuteWithdrawal", data: BytesLike): Result;
386
408
  decodeFunctionResult(functionFragment: "batchSweepERC20", data: BytesLike): Result;
387
409
  decodeFunctionResult(functionFragment: "batchWithdrawWithTimelock", data: BytesLike): Result;
388
410
  decodeFunctionResult(functionFragment: "batch_withdraw", data: BytesLike): Result;
@@ -700,21 +722,18 @@ export declare namespace SetTokenTimelockEvent {
700
722
  }
701
723
  export declare namespace SweepTokensEvent {
702
724
  type InputTuple = [
703
- caller: AddressLike,
704
725
  from: AddressLike,
705
726
  to: AddressLike,
706
727
  token: AddressLike,
707
728
  amount: BigNumberish
708
729
  ];
709
730
  type OutputTuple = [
710
- caller: string,
711
731
  from: string,
712
732
  to: string,
713
733
  token: string,
714
734
  amount: bigint
715
735
  ];
716
736
  interface OutputObject {
717
- caller: string;
718
737
  from: string;
719
738
  to: string;
720
739
  token: string;
@@ -892,6 +911,11 @@ export interface Escrow extends BaseContract {
892
911
  ], [
893
912
  void
894
913
  ], "nonpayable">;
914
+ batchExecuteWithdrawal: TypedContractMethod<[
915
+ payload: Types.ExecuteWithdrawalPayloadStruct[]
916
+ ], [
917
+ void
918
+ ], "nonpayable">;
895
919
  batchSweepERC20: TypedContractMethod<[
896
920
  jobs: Types.SweepJobStruct[],
897
921
  receiver: AddressLike
@@ -1221,6 +1245,11 @@ export interface Escrow extends BaseContract {
1221
1245
  ], [
1222
1246
  void
1223
1247
  ], "nonpayable">;
1248
+ getFunction(nameOrSignature: "batchExecuteWithdrawal"): TypedContractMethod<[
1249
+ payload: Types.ExecuteWithdrawalPayloadStruct[]
1250
+ ], [
1251
+ void
1252
+ ], "nonpayable">;
1224
1253
  getFunction(nameOrSignature: "batchSweepERC20"): TypedContractMethod<[
1225
1254
  jobs: Types.SweepJobStruct[],
1226
1255
  receiver: AddressLike
@@ -1521,7 +1550,7 @@ export interface Escrow extends BaseContract {
1521
1550
  SetTimelockGranular: TypedContractEvent<SetTimelockGranularEvent.InputTuple, SetTimelockGranularEvent.OutputTuple, SetTimelockGranularEvent.OutputObject>;
1522
1551
  "SetTokenTimelock(address,uint256,uint256,uint256)": TypedContractEvent<SetTokenTimelockEvent.InputTuple, SetTokenTimelockEvent.OutputTuple, SetTokenTimelockEvent.OutputObject>;
1523
1552
  SetTokenTimelock: TypedContractEvent<SetTokenTimelockEvent.InputTuple, SetTokenTimelockEvent.OutputTuple, SetTokenTimelockEvent.OutputObject>;
1524
- "SweepTokens(address,address,address,address,uint256)": TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1553
+ "SweepTokens(address,address,address,uint256)": TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1525
1554
  SweepTokens: TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1526
1555
  "TokenAdded(address)": TypedContractEvent<TokenAddedEvent.InputTuple, TokenAddedEvent.OutputTuple, TokenAddedEvent.OutputObject>;
1527
1556
  TokenAdded: TypedContractEvent<TokenAddedEvent.InputTuple, TokenAddedEvent.OutputTuple, TokenAddedEvent.OutputObject>;