@ercworldio/blockchain-shared 1.0.3-dev.1-PROJ-1296.0 → 1.0.3-dev.3

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 (96) hide show
  1. package/build/chains/networks_prod-bu.json +5 -2
  2. package/build/chains/networks_prod-dz.json +10 -9
  3. package/build/chains/networks_stg-bu.json +2 -1
  4. package/build/chains/networks_stg-dz.json +2 -1
  5. package/build/chains/networks_stg-sh.json +2 -1
  6. package/build/chains/networks_stg-yb.json +2 -1
  7. package/build/contracts/artifacts/Escrow.json +490 -1979
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  10. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +6 -0
  11. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  12. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -761
  13. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  14. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +17 -65
  15. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/contracts/index.d.ts +0 -2
  17. package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
  18. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  19. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  20. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +3 -1
  21. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
  22. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
  23. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
  24. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +4 -0
  25. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  26. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +7 -1
  27. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +12 -286
  28. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  29. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +12 -374
  30. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +1 -137
  31. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  32. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +1 -182
  33. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  34. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
  35. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  36. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +96 -1245
  37. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  38. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +241 -1730
  39. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
  40. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
  41. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
  42. package/build/contracts/typechain-types/factories/contracts/index.d.ts +0 -1
  43. package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
  44. package/build/contracts/typechain-types/factories/contracts/index.js +1 -2
  45. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
  46. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
  47. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
  48. package/build/contracts/typechain-types/index.d.ts +10 -4
  49. package/build/contracts/typechain-types/index.d.ts.map +1 -1
  50. package/build/contracts/typechain-types/index.js +11 -5
  51. package/build/errors/errors.d.ts +3 -0
  52. package/build/errors/errors.d.ts.map +1 -1
  53. package/build/errors/errors.js +6 -0
  54. package/package.json +1 -1
  55. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +0 -386
  56. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +0 -1
  57. package/build/contracts/typechain-types/contracts/lib/Events.js +0 -2
  58. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +0 -21
  59. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +0 -1
  60. package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +0 -2
  61. package/build/contracts/typechain-types/contracts/lib/index.d.ts +0 -3
  62. package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +0 -1
  63. package/build/contracts/typechain-types/contracts/lib/index.js +0 -2
  64. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +0 -373
  65. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +0 -1
  66. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +0 -473
  67. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +0 -55
  68. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +0 -1
  69. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +0 -82
  70. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +0 -3
  71. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +0 -1
  72. package/build/contracts/typechain-types/factories/contracts/lib/index.js +0 -10
  73. package/build/entities/AdminOperationThresholds.d.ts +0 -12
  74. package/build/entities/AdminOperationThresholds.d.ts.map +0 -1
  75. package/build/entities/AdminOperationThresholds.js +0 -56
  76. package/build/entities/EscrowRoles.d.ts +0 -12
  77. package/build/entities/EscrowRoles.d.ts.map +0 -1
  78. package/build/entities/EscrowRoles.js +0 -57
  79. package/build/entities/GlobalTimelock.d.ts +0 -14
  80. package/build/entities/GlobalTimelock.d.ts.map +0 -1
  81. package/build/entities/GlobalTimelock.js +0 -64
  82. package/build/entities/GranularTimelock .d.ts +0 -12
  83. package/build/entities/GranularTimelock .d.ts.map +0 -1
  84. package/build/entities/GranularTimelock .js +0 -56
  85. package/build/entities/OperationType.d.ts +0 -18
  86. package/build/entities/OperationType.d.ts.map +0 -1
  87. package/build/entities/OperationType.js +0 -50
  88. package/build/entities/RoleHash.d.ts +0 -11
  89. package/build/entities/RoleHash.d.ts.map +0 -1
  90. package/build/entities/RoleHash.js +0 -52
  91. package/build/entities/Signatures.d.ts +0 -16
  92. package/build/entities/Signatures.d.ts.map +0 -1
  93. package/build/entities/Signatures.js +0 -72
  94. package/build/entities/TokenExecutionThresholds.d.ts +0 -16
  95. package/build/entities/TokenExecutionThresholds.d.ts.map +0 -1
  96. package/build/entities/TokenExecutionThresholds.js +0 -72
@@ -1,39 +1,6 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export declare namespace Types {
4
- type MultisigConfigInputStruct = {
5
- tokenAddress: AddressLike;
6
- thresholdAmount: BigNumberish;
7
- sigsExecutiveBelow: BigNumberish;
8
- sigsExecutiveAbove: BigNumberish;
9
- sigsBelow: BigNumberish;
10
- sigsAbove: BigNumberish;
11
- };
12
- type MultisigConfigInputStructOutput = [
13
- tokenAddress: string,
14
- thresholdAmount: bigint,
15
- sigsExecutiveBelow: bigint,
16
- sigsExecutiveAbove: bigint,
17
- sigsBelow: bigint,
18
- sigsAbove: bigint
19
- ] & {
20
- tokenAddress: string;
21
- thresholdAmount: bigint;
22
- sigsExecutiveBelow: bigint;
23
- sigsExecutiveAbove: bigint;
24
- sigsBelow: bigint;
25
- sigsAbove: bigint;
26
- };
27
- type SignatureStruct = {
28
- v: BigNumberish;
29
- r: BytesLike;
30
- s: BytesLike;
31
- };
32
- type SignatureStructOutput = [v: bigint, r: string, s: string] & {
33
- v: bigint;
34
- r: string;
35
- s: string;
36
- };
37
4
  type SweepJobStruct = {
38
5
  wallet: AddressLike;
39
6
  token: AddressLike;
@@ -42,26 +9,6 @@ export declare namespace Types {
42
9
  wallet: string;
43
10
  token: string;
44
11
  };
45
- type BatchWithdrawWithTimelockStruct = {
46
- amount: BigNumberish;
47
- requestId: BigNumberish;
48
- tokenAddress: AddressLike;
49
- receiverAddress: AddressLike;
50
- signatures: Types.SignatureStruct[];
51
- };
52
- type BatchWithdrawWithTimelockStructOutput = [
53
- amount: bigint,
54
- requestId: bigint,
55
- tokenAddress: string,
56
- receiverAddress: string,
57
- signatures: Types.SignatureStructOutput[]
58
- ] & {
59
- amount: bigint;
60
- requestId: bigint;
61
- tokenAddress: string;
62
- receiverAddress: string;
63
- signatures: Types.SignatureStructOutput[];
64
- };
65
12
  type BatchWithdrawStruct = {
66
13
  amount: BigNumberish;
67
14
  requestId: BigNumberish;
@@ -79,19 +26,15 @@ export declare namespace Types {
79
26
  tokenAddress: string;
80
27
  receiverAddress: string;
81
28
  };
82
- type AdminMultisigConfigStruct = {
83
- sigsManagerRequired: BigNumberish;
84
- sigsExecutiveRequired: BigNumberish;
85
- configured: boolean;
29
+ type SignatureStruct = {
30
+ v: BigNumberish;
31
+ r: BytesLike;
32
+ s: BytesLike;
86
33
  };
87
- type AdminMultisigConfigStructOutput = [
88
- sigsManagerRequired: bigint,
89
- sigsExecutiveRequired: bigint,
90
- configured: boolean
91
- ] & {
92
- sigsManagerRequired: bigint;
93
- sigsExecutiveRequired: bigint;
94
- configured: boolean;
34
+ type SignatureStructOutput = [v: bigint, r: string, s: string] & {
35
+ v: bigint;
36
+ r: string;
37
+ s: string;
95
38
  };
96
39
  type CoverageInfoStruct = {
97
40
  level: BigNumberish;
@@ -110,174 +53,36 @@ export declare namespace Types {
110
53
  currentReserves: bigint;
111
54
  token: string;
112
55
  };
113
- type MultisigConfigStruct = {
114
- thresholdAmount: BigNumberish;
115
- sigsExecutiveBelow: BigNumberish;
116
- sigsExecutiveAbove: BigNumberish;
117
- sigsBelow: BigNumberish;
118
- sigsAbove: BigNumberish;
119
- configured: boolean;
120
- };
121
- type MultisigConfigStructOutput = [
122
- thresholdAmount: bigint,
123
- sigsExecutiveBelow: bigint,
124
- sigsExecutiveAbove: bigint,
125
- sigsBelow: bigint,
126
- sigsAbove: bigint,
127
- configured: boolean
128
- ] & {
129
- thresholdAmount: bigint;
130
- sigsExecutiveBelow: bigint;
131
- sigsExecutiveAbove: bigint;
132
- sigsBelow: bigint;
133
- sigsAbove: bigint;
134
- configured: boolean;
135
- };
136
- type AdminMultisigConfigSetupStruct = {
137
- opType: BigNumberish;
138
- sigsManagerRequired: BigNumberish;
139
- sigsExecutiveRequired: BigNumberish;
140
- configured: boolean;
141
- };
142
- type AdminMultisigConfigSetupStructOutput = [
143
- opType: bigint,
144
- sigsManagerRequired: bigint,
145
- sigsExecutiveRequired: bigint,
146
- configured: boolean
147
- ] & {
148
- opType: bigint;
149
- sigsManagerRequired: bigint;
150
- sigsExecutiveRequired: bigint;
151
- configured: boolean;
152
- };
153
- type SetAdminMultisigConfigSignDataStruct = {
154
- operationType: BigNumberish;
155
- sigsManagerRequired: BigNumberish;
156
- sigsExecutiveRequired: BigNumberish;
157
- nonce: BigNumberish;
158
- };
159
- type SetAdminMultisigConfigSignDataStructOutput = [
160
- operationType: bigint,
161
- sigsManagerRequired: bigint,
162
- sigsExecutiveRequired: bigint,
163
- nonce: bigint
164
- ] & {
165
- operationType: bigint;
166
- sigsManagerRequired: bigint;
167
- sigsExecutiveRequired: bigint;
168
- nonce: bigint;
169
- };
170
- type SetTimelockConfigSignDataStruct = {
171
- operationType: BigNumberish;
172
- tokenAddress: AddressLike;
173
- thresholdAmount: BigNumberish;
174
- durationBelow: BigNumberish;
175
- durationAbove: BigNumberish;
176
- nonce: BigNumberish;
177
- };
178
- type SetTimelockConfigSignDataStructOutput = [
179
- operationType: bigint,
180
- tokenAddress: string,
181
- thresholdAmount: bigint,
182
- durationBelow: bigint,
183
- durationAbove: bigint,
184
- nonce: bigint
185
- ] & {
186
- operationType: bigint;
187
- tokenAddress: string;
188
- thresholdAmount: bigint;
189
- durationBelow: bigint;
190
- durationAbove: bigint;
191
- nonce: bigint;
192
- };
193
- type SetReceiverTimelockConfigSignDataStruct = {
194
- operationType: BigNumberish;
195
- receiverAddress: AddressLike;
196
- duration: BigNumberish;
197
- nonce: BigNumberish;
198
- };
199
- type SetReceiverTimelockConfigSignDataStructOutput = [
200
- operationType: bigint,
201
- receiverAddress: string,
202
- duration: bigint,
203
- nonce: bigint
204
- ] & {
205
- operationType: bigint;
206
- receiverAddress: string;
207
- duration: bigint;
208
- nonce: bigint;
209
- };
210
- type SetMultisigConfigSignDataStruct = {
211
- operationType: BigNumberish;
212
- tokenAddress: AddressLike;
213
- thresholdAmount: BigNumberish;
214
- sigsExecutiveBelow: BigNumberish;
215
- sigsExecutiveAbove: BigNumberish;
216
- sigsBelow: BigNumberish;
217
- sigsAbove: BigNumberish;
218
- nonce: BigNumberish;
56
+ type TransactionStatusStruct = {
57
+ totalCount: BigNumberish;
58
+ lastBlockNumber: BigNumberish;
219
59
  };
220
- type SetMultisigConfigSignDataStructOutput = [
221
- operationType: bigint,
222
- tokenAddress: string,
223
- thresholdAmount: bigint,
224
- sigsExecutiveBelow: bigint,
225
- sigsExecutiveAbove: bigint,
226
- sigsBelow: bigint,
227
- sigsAbove: bigint,
228
- nonce: bigint
60
+ type TransactionStatusStructOutput = [
61
+ totalCount: bigint,
62
+ lastBlockNumber: bigint
229
63
  ] & {
230
- operationType: bigint;
231
- tokenAddress: string;
232
- thresholdAmount: bigint;
233
- sigsExecutiveBelow: bigint;
234
- sigsExecutiveAbove: bigint;
235
- sigsBelow: bigint;
236
- sigsAbove: bigint;
237
- nonce: bigint;
64
+ totalCount: bigint;
65
+ lastBlockNumber: bigint;
238
66
  };
239
67
  }
240
68
  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;
242
- getEvent(nameOrSignatureOrTopic: "AdminWithdraw" | "ConfigureAdminMultisig" | "ConfigureTokenMultisig" | "Deposit" | "FundWallets" | "FundedContract" | "Initialized" | "LowReserves" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetTimelockGranular" | "SetTokenTimelock" | "SweepTokens" | "TokenAdded" | "TokenRemoved" | "Withdrawal" | "WithdrawalCancelled" | "WithdrawalExecuted" | "WithdrawalScheduled"): EventFragment;
243
- encodeFunctionData(functionFragment: "ADMIN_TREASURY_EXECUTIVE_ROLE", values?: undefined): string;
244
- encodeFunctionData(functionFragment: "ADMIN_TREASURY_MANAGER_ROLE", values?: undefined): string;
245
- encodeFunctionData(functionFragment: "CONFIG_EXECUTIVE_ROLE", values?: undefined): string;
246
- encodeFunctionData(functionFragment: "CONFIG_MANAGER_ROLE", values?: undefined): string;
69
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "FUNDS_MANAGER_ROLE" | "OPERATOR_ROLE" | "__AccessControl_init" | "__Signature_init" | "__TokensWhitelist_init" | "addTokens" | "adminWithdraw" | "batchSweepERC20" | "batch_withdraw" | "changeAdmin" | "deposit" | "depositErc20" | "fundWallets" | "getBalance()" | "getBalance(address)" | "getDepositSigner" | "getLastBlockNumber" | "getNonce" | "getRequestStatus" | "getReservesCoverage" | "getRoleAdmin" | "getTotalTransactions" | "getTransactionStatus" | "getWithdrawalSigner" | "get_used_ids" | "grantRole" | "hasRole" | "initialize" | "isFundsManager" | "isPaused" | "isWhitelisted" | "nonces" | "pause" | "removeTokens" | "renounceRole" | "reset_request_ids" | "revokeRole" | "setOperator" | "setTransactionStatus" | "supportsInterface" | "sweepFunds" | "unpause" | "whitelist" | "withdraw"): FunctionFragment;
70
+ getEvent(nameOrSignatureOrTopic: "AdminWithdraw" | "Deposit" | "FundWallets" | "FundedContract" | "Initialized" | "LowReserves" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SweepTokens" | "TokenAdded" | "TokenRemoved" | "TransactionCount" | "Withdrawal"): EventFragment;
247
71
  encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
248
72
  encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
249
73
  encodeFunctionData(functionFragment: "FUNDS_MANAGER_ROLE", values?: undefined): string;
250
74
  encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
251
- encodeFunctionData(functionFragment: "TIMELOCK_CONFIG_EXECUTIVE_ROLE", values?: undefined): string;
252
- encodeFunctionData(functionFragment: "TIMELOCK_CONFIG_MANAGER_ROLE", values?: undefined): string;
253
- encodeFunctionData(functionFragment: "TIMELOCK_DELAY", values?: undefined): string;
254
- encodeFunctionData(functionFragment: "TREASURY_DISPATCH_ROLE", values?: undefined): string;
255
- encodeFunctionData(functionFragment: "TREASURY_EXECUTIVE_ROLE", values?: undefined): string;
256
- encodeFunctionData(functionFragment: "TREASURY_MANAGER_ROLE", values?: undefined): string;
257
- encodeFunctionData(functionFragment: "TREASURY_RECEIVER_ROLE", values?: undefined): string;
258
75
  encodeFunctionData(functionFragment: "__AccessControl_init", values: [AddressLike, AddressLike, AddressLike]): string;
259
76
  encodeFunctionData(functionFragment: "__Signature_init", values: [string, string]): string;
260
77
  encodeFunctionData(functionFragment: "__TokensWhitelist_init", values: [AddressLike[]]): string;
261
- encodeFunctionData(functionFragment: "addTokens", values: [Types.MultisigConfigInputStruct[]]): string;
262
- encodeFunctionData(functionFragment: "adminTokenThresholdSettings", values?: undefined): string;
263
- encodeFunctionData(functionFragment: "adminWithdraw", values: [
264
- BigNumberish,
265
- BigNumberish,
266
- AddressLike,
267
- AddressLike,
268
- Types.SignatureStruct[]
269
- ]): string;
78
+ encodeFunctionData(functionFragment: "addTokens", values: [AddressLike[]]): string;
79
+ encodeFunctionData(functionFragment: "adminWithdraw", values: [BigNumberish, AddressLike, AddressLike]): string;
270
80
  encodeFunctionData(functionFragment: "batchSweepERC20", values: [Types.SweepJobStruct[], AddressLike]): string;
271
- encodeFunctionData(functionFragment: "batchWithdrawWithTimelock", values: [Types.BatchWithdrawWithTimelockStruct[]]): string;
272
81
  encodeFunctionData(functionFragment: "batch_withdraw", values: [Types.BatchWithdrawStruct[]]): string;
273
- encodeFunctionData(functionFragment: "cancelWithdrawal", values: [BigNumberish, BigNumberish, AddressLike, AddressLike, BigNumberish]): string;
274
- encodeFunctionData(functionFragment: "configNonce", values?: undefined): string;
275
- encodeFunctionData(functionFragment: "configThresholdSettings", values?: undefined): string;
82
+ encodeFunctionData(functionFragment: "changeAdmin", values: [AddressLike]): string;
276
83
  encodeFunctionData(functionFragment: "deposit", values: [string, Types.SignatureStruct]): string;
277
84
  encodeFunctionData(functionFragment: "depositErc20", values: [BigNumberish, AddressLike, string, Types.SignatureStruct]): string;
278
- encodeFunctionData(functionFragment: "executeWithdrawal", values: [BigNumberish, BigNumberish, AddressLike, AddressLike, BigNumberish]): string;
279
85
  encodeFunctionData(functionFragment: "fundWallets", values: [AddressLike[], BigNumberish]): string;
280
- encodeFunctionData(functionFragment: "getAdminMultisigConfig", values?: undefined): string;
281
86
  encodeFunctionData(functionFragment: "getBalance()", values?: undefined): string;
282
87
  encodeFunctionData(functionFragment: "getBalance(address)", values: [AddressLike]): string;
283
88
  encodeFunctionData(functionFragment: "getDepositSigner", values: [
@@ -287,12 +92,13 @@ export interface EscrowInterface extends Interface {
287
92
  BigNumberish,
288
93
  Types.SignatureStruct
289
94
  ]): string;
290
- encodeFunctionData(functionFragment: "getGroupConfig", values: [BigNumberish]): string;
95
+ encodeFunctionData(functionFragment: "getLastBlockNumber", values?: undefined): string;
291
96
  encodeFunctionData(functionFragment: "getNonce", values: [AddressLike, BigNumberish]): string;
292
97
  encodeFunctionData(functionFragment: "getRequestStatus", values: [BigNumberish]): string;
293
98
  encodeFunctionData(functionFragment: "getReservesCoverage", values: [BigNumberish, AddressLike]): string;
294
99
  encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
295
- encodeFunctionData(functionFragment: "getTokenMultisigConfig", values: [AddressLike]): string;
100
+ encodeFunctionData(functionFragment: "getTotalTransactions", values?: undefined): string;
101
+ encodeFunctionData(functionFragment: "getTransactionStatus", values?: undefined): string;
296
102
  encodeFunctionData(functionFragment: "getWithdrawalSigner", values: [
297
103
  BigNumberish,
298
104
  AddressLike,
@@ -300,51 +106,23 @@ export interface EscrowInterface extends Interface {
300
106
  BigNumberish,
301
107
  Types.SignatureStruct
302
108
  ]): string;
303
- encodeFunctionData(functionFragment: "get_admin_used_ids", values: [BigNumberish[]]): string;
304
109
  encodeFunctionData(functionFragment: "get_used_ids", values: [BigNumberish[]]): string;
305
110
  encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
306
111
  encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
307
- encodeFunctionData(functionFragment: "initialize", values: [
308
- AddressLike,
309
- AddressLike,
310
- string,
311
- AddressLike[],
312
- Types.MultisigConfigInputStruct[],
313
- Types.AdminMultisigConfigSetupStruct[],
314
- BigNumberish
315
- ]): string;
112
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, string, AddressLike[]]): string;
316
113
  encodeFunctionData(functionFragment: "isFundsManager", values: [AddressLike]): string;
317
114
  encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
318
115
  encodeFunctionData(functionFragment: "isWhitelisted", values: [AddressLike]): string;
319
116
  encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
320
117
  encodeFunctionData(functionFragment: "pause", values?: undefined): string;
321
- encodeFunctionData(functionFragment: "receiverTimelockConfig", values: [AddressLike]): string;
322
118
  encodeFunctionData(functionFragment: "removeTokens", values: [AddressLike[]]): string;
323
119
  encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
324
- encodeFunctionData(functionFragment: "reset_admin_request_ids", values: [BigNumberish, BigNumberish]): string;
325
120
  encodeFunctionData(functionFragment: "reset_request_ids", values: [BigNumberish, BigNumberish]): string;
326
121
  encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
327
- encodeFunctionData(functionFragment: "setAdminTokenMultisigThreshold", values: [
328
- Types.SetAdminMultisigConfigSignDataStruct,
329
- Types.SignatureStruct[]
330
- ]): string;
331
- encodeFunctionData(functionFragment: "setGroupConfig", values: [BigNumberish, BigNumberish, BigNumberish]): string;
332
- encodeFunctionData(functionFragment: "setTimelock", values: [Types.SetTimelockConfigSignDataStruct, Types.SignatureStruct[]]): string;
333
- encodeFunctionData(functionFragment: "setTimelockGranular", values: [
334
- Types.SetReceiverTimelockConfigSignDataStruct,
335
- Types.SignatureStruct[]
336
- ]): string;
337
- encodeFunctionData(functionFragment: "setTokenMultisigThreshold", values: [Types.SetMultisigConfigSignDataStruct, Types.SignatureStruct[]]): string;
338
- encodeFunctionData(functionFragment: "signerBitmap", values: [AddressLike]): string;
122
+ encodeFunctionData(functionFragment: "setOperator", values: [AddressLike]): string;
123
+ encodeFunctionData(functionFragment: "setTransactionStatus", values: [BigNumberish, BigNumberish]): string;
339
124
  encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
340
125
  encodeFunctionData(functionFragment: "sweepFunds", values: [AddressLike, AddressLike]): string;
341
- encodeFunctionData(functionFragment: "timelockCommitments", values: [BytesLike]): string;
342
- encodeFunctionData(functionFragment: "timelockConfig", values: [AddressLike]): string;
343
- encodeFunctionData(functionFragment: "timelockConfigNonce", values?: undefined): string;
344
- encodeFunctionData(functionFragment: "timelockThresholdSettings", values?: undefined): string;
345
- encodeFunctionData(functionFragment: "tokenThresholdSettings", values: [AddressLike]): string;
346
- encodeFunctionData(functionFragment: "unpackAdminThresholds", values: [BigNumberish]): string;
347
- encodeFunctionData(functionFragment: "unpackTokenThresholds", values: [BigNumberish]): string;
348
126
  encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
349
127
  encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
350
128
  encodeFunctionData(functionFragment: "withdraw", values: [
@@ -354,57 +132,32 @@ export interface EscrowInterface extends Interface {
354
132
  AddressLike,
355
133
  Types.SignatureStruct
356
134
  ]): string;
357
- encodeFunctionData(functionFragment: "withdrawWithTimelock", values: [
358
- BigNumberish,
359
- BigNumberish,
360
- AddressLike,
361
- AddressLike,
362
- Types.SignatureStruct,
363
- Types.SignatureStruct[]
364
- ]): string;
365
- decodeFunctionResult(functionFragment: "ADMIN_TREASURY_EXECUTIVE_ROLE", data: BytesLike): Result;
366
- decodeFunctionResult(functionFragment: "ADMIN_TREASURY_MANAGER_ROLE", data: BytesLike): Result;
367
- decodeFunctionResult(functionFragment: "CONFIG_EXECUTIVE_ROLE", data: BytesLike): Result;
368
- decodeFunctionResult(functionFragment: "CONFIG_MANAGER_ROLE", data: BytesLike): Result;
369
135
  decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
370
136
  decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result;
371
137
  decodeFunctionResult(functionFragment: "FUNDS_MANAGER_ROLE", data: BytesLike): Result;
372
138
  decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
373
- decodeFunctionResult(functionFragment: "TIMELOCK_CONFIG_EXECUTIVE_ROLE", data: BytesLike): Result;
374
- decodeFunctionResult(functionFragment: "TIMELOCK_CONFIG_MANAGER_ROLE", data: BytesLike): Result;
375
- decodeFunctionResult(functionFragment: "TIMELOCK_DELAY", data: BytesLike): Result;
376
- decodeFunctionResult(functionFragment: "TREASURY_DISPATCH_ROLE", data: BytesLike): Result;
377
- decodeFunctionResult(functionFragment: "TREASURY_EXECUTIVE_ROLE", data: BytesLike): Result;
378
- decodeFunctionResult(functionFragment: "TREASURY_MANAGER_ROLE", data: BytesLike): Result;
379
- decodeFunctionResult(functionFragment: "TREASURY_RECEIVER_ROLE", data: BytesLike): Result;
380
139
  decodeFunctionResult(functionFragment: "__AccessControl_init", data: BytesLike): Result;
381
140
  decodeFunctionResult(functionFragment: "__Signature_init", data: BytesLike): Result;
382
141
  decodeFunctionResult(functionFragment: "__TokensWhitelist_init", data: BytesLike): Result;
383
142
  decodeFunctionResult(functionFragment: "addTokens", data: BytesLike): Result;
384
- decodeFunctionResult(functionFragment: "adminTokenThresholdSettings", data: BytesLike): Result;
385
143
  decodeFunctionResult(functionFragment: "adminWithdraw", data: BytesLike): Result;
386
144
  decodeFunctionResult(functionFragment: "batchSweepERC20", data: BytesLike): Result;
387
- decodeFunctionResult(functionFragment: "batchWithdrawWithTimelock", data: BytesLike): Result;
388
145
  decodeFunctionResult(functionFragment: "batch_withdraw", data: BytesLike): Result;
389
- decodeFunctionResult(functionFragment: "cancelWithdrawal", data: BytesLike): Result;
390
- decodeFunctionResult(functionFragment: "configNonce", data: BytesLike): Result;
391
- decodeFunctionResult(functionFragment: "configThresholdSettings", data: BytesLike): Result;
146
+ decodeFunctionResult(functionFragment: "changeAdmin", data: BytesLike): Result;
392
147
  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
393
148
  decodeFunctionResult(functionFragment: "depositErc20", data: BytesLike): Result;
394
- decodeFunctionResult(functionFragment: "executeWithdrawal", data: BytesLike): Result;
395
149
  decodeFunctionResult(functionFragment: "fundWallets", data: BytesLike): Result;
396
- decodeFunctionResult(functionFragment: "getAdminMultisigConfig", data: BytesLike): Result;
397
150
  decodeFunctionResult(functionFragment: "getBalance()", data: BytesLike): Result;
398
151
  decodeFunctionResult(functionFragment: "getBalance(address)", data: BytesLike): Result;
399
152
  decodeFunctionResult(functionFragment: "getDepositSigner", data: BytesLike): Result;
400
- decodeFunctionResult(functionFragment: "getGroupConfig", data: BytesLike): Result;
153
+ decodeFunctionResult(functionFragment: "getLastBlockNumber", data: BytesLike): Result;
401
154
  decodeFunctionResult(functionFragment: "getNonce", data: BytesLike): Result;
402
155
  decodeFunctionResult(functionFragment: "getRequestStatus", data: BytesLike): Result;
403
156
  decodeFunctionResult(functionFragment: "getReservesCoverage", data: BytesLike): Result;
404
157
  decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
405
- decodeFunctionResult(functionFragment: "getTokenMultisigConfig", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "getTotalTransactions", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "getTransactionStatus", data: BytesLike): Result;
406
160
  decodeFunctionResult(functionFragment: "getWithdrawalSigner", data: BytesLike): Result;
407
- decodeFunctionResult(functionFragment: "get_admin_used_ids", data: BytesLike): Result;
408
161
  decodeFunctionResult(functionFragment: "get_used_ids", data: BytesLike): Result;
409
162
  decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
410
163
  decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
@@ -414,107 +167,36 @@ export interface EscrowInterface extends Interface {
414
167
  decodeFunctionResult(functionFragment: "isWhitelisted", data: BytesLike): Result;
415
168
  decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
416
169
  decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
417
- decodeFunctionResult(functionFragment: "receiverTimelockConfig", data: BytesLike): Result;
418
170
  decodeFunctionResult(functionFragment: "removeTokens", data: BytesLike): Result;
419
171
  decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
420
- decodeFunctionResult(functionFragment: "reset_admin_request_ids", data: BytesLike): Result;
421
172
  decodeFunctionResult(functionFragment: "reset_request_ids", data: BytesLike): Result;
422
173
  decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
423
- decodeFunctionResult(functionFragment: "setAdminTokenMultisigThreshold", data: BytesLike): Result;
424
- decodeFunctionResult(functionFragment: "setGroupConfig", data: BytesLike): Result;
425
- decodeFunctionResult(functionFragment: "setTimelock", data: BytesLike): Result;
426
- decodeFunctionResult(functionFragment: "setTimelockGranular", data: BytesLike): Result;
427
- decodeFunctionResult(functionFragment: "setTokenMultisigThreshold", data: BytesLike): Result;
428
- decodeFunctionResult(functionFragment: "signerBitmap", data: BytesLike): Result;
174
+ decodeFunctionResult(functionFragment: "setOperator", data: BytesLike): Result;
175
+ decodeFunctionResult(functionFragment: "setTransactionStatus", data: BytesLike): Result;
429
176
  decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
430
177
  decodeFunctionResult(functionFragment: "sweepFunds", data: BytesLike): Result;
431
- decodeFunctionResult(functionFragment: "timelockCommitments", data: BytesLike): Result;
432
- decodeFunctionResult(functionFragment: "timelockConfig", data: BytesLike): Result;
433
- decodeFunctionResult(functionFragment: "timelockConfigNonce", data: BytesLike): Result;
434
- decodeFunctionResult(functionFragment: "timelockThresholdSettings", data: BytesLike): Result;
435
- decodeFunctionResult(functionFragment: "tokenThresholdSettings", data: BytesLike): Result;
436
- decodeFunctionResult(functionFragment: "unpackAdminThresholds", data: BytesLike): Result;
437
- decodeFunctionResult(functionFragment: "unpackTokenThresholds", data: BytesLike): Result;
438
178
  decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
439
179
  decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
440
180
  decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
441
- decodeFunctionResult(functionFragment: "withdrawWithTimelock", data: BytesLike): Result;
442
181
  }
443
182
  export declare namespace AdminWithdrawEvent {
444
183
  type InputTuple = [
445
184
  caller: AddressLike,
446
185
  receiver: AddressLike,
447
186
  amount: BigNumberish,
448
- tokenAddress: AddressLike,
449
- requestId: BigNumberish
187
+ tokenAddress: AddressLike
450
188
  ];
451
189
  type OutputTuple = [
452
190
  caller: string,
453
191
  receiver: string,
454
192
  amount: bigint,
455
- tokenAddress: string,
456
- requestId: bigint
193
+ tokenAddress: string
457
194
  ];
458
195
  interface OutputObject {
459
196
  caller: string;
460
197
  receiver: string;
461
198
  amount: bigint;
462
199
  tokenAddress: string;
463
- requestId: bigint;
464
- }
465
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
466
- type Filter = TypedDeferredTopicFilter<Event>;
467
- type Log = TypedEventLog<Event>;
468
- type LogDescription = TypedLogDescription<Event>;
469
- }
470
- export declare namespace ConfigureAdminMultisigEvent {
471
- type InputTuple = [
472
- opType: BigNumberish,
473
- sigsManagerRequired: BigNumberish,
474
- sigsExecutiveRequired: BigNumberish
475
- ];
476
- type OutputTuple = [
477
- opType: bigint,
478
- sigsManagerRequired: bigint,
479
- sigsExecutiveRequired: bigint
480
- ];
481
- interface OutputObject {
482
- opType: bigint;
483
- sigsManagerRequired: bigint;
484
- sigsExecutiveRequired: bigint;
485
- }
486
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
487
- type Filter = TypedDeferredTopicFilter<Event>;
488
- type Log = TypedEventLog<Event>;
489
- type LogDescription = TypedLogDescription<Event>;
490
- }
491
- export declare namespace ConfigureTokenMultisigEvent {
492
- type InputTuple = [
493
- opType: BigNumberish,
494
- tokenAddress: AddressLike,
495
- thresholdAmount: BigNumberish,
496
- sigsExecutiveBelow: BigNumberish,
497
- sigsExecutiveAbove: BigNumberish,
498
- sigsManagerBelow: BigNumberish,
499
- sigsManagerAbove: BigNumberish
500
- ];
501
- type OutputTuple = [
502
- opType: bigint,
503
- tokenAddress: string,
504
- thresholdAmount: bigint,
505
- sigsExecutiveBelow: bigint,
506
- sigsExecutiveAbove: bigint,
507
- sigsManagerBelow: bigint,
508
- sigsManagerAbove: bigint
509
- ];
510
- interface OutputObject {
511
- opType: bigint;
512
- tokenAddress: string;
513
- thresholdAmount: bigint;
514
- sigsExecutiveBelow: bigint;
515
- sigsExecutiveAbove: bigint;
516
- sigsManagerBelow: bigint;
517
- sigsManagerAbove: bigint;
518
200
  }
519
201
  type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
520
202
  type Filter = TypedDeferredTopicFilter<Event>;
@@ -662,45 +344,6 @@ export declare namespace RoleRevokedEvent {
662
344
  type Log = TypedEventLog<Event>;
663
345
  type LogDescription = TypedLogDescription<Event>;
664
346
  }
665
- export declare namespace SetTimelockGranularEvent {
666
- type InputTuple = [
667
- receiverAddress: AddressLike,
668
- duration: BigNumberish
669
- ];
670
- type OutputTuple = [receiverAddress: string, duration: bigint];
671
- interface OutputObject {
672
- receiverAddress: string;
673
- duration: bigint;
674
- }
675
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
676
- type Filter = TypedDeferredTopicFilter<Event>;
677
- type Log = TypedEventLog<Event>;
678
- type LogDescription = TypedLogDescription<Event>;
679
- }
680
- export declare namespace SetTokenTimelockEvent {
681
- type InputTuple = [
682
- tokenAddress: AddressLike,
683
- thresholdAmount: BigNumberish,
684
- durationBelow: BigNumberish,
685
- durationAbove: BigNumberish
686
- ];
687
- type OutputTuple = [
688
- tokenAddress: string,
689
- thresholdAmount: bigint,
690
- durationBelow: bigint,
691
- durationAbove: bigint
692
- ];
693
- interface OutputObject {
694
- tokenAddress: string;
695
- thresholdAmount: bigint;
696
- durationBelow: bigint;
697
- durationAbove: bigint;
698
- }
699
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
700
- type Filter = TypedDeferredTopicFilter<Event>;
701
- type Log = TypedEventLog<Event>;
702
- type LogDescription = TypedLogDescription<Event>;
703
- }
704
347
  export declare namespace SweepTokensEvent {
705
348
  type InputTuple = [
706
349
  caller: AddressLike,
@@ -750,6 +393,18 @@ export declare namespace TokenRemovedEvent {
750
393
  type Log = TypedEventLog<Event>;
751
394
  type LogDescription = TypedLogDescription<Event>;
752
395
  }
396
+ export declare namespace TransactionCountEvent {
397
+ type InputTuple = [amount: BigNumberish, blockNumber: BigNumberish];
398
+ type OutputTuple = [amount: bigint, blockNumber: bigint];
399
+ interface OutputObject {
400
+ amount: bigint;
401
+ blockNumber: bigint;
402
+ }
403
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
404
+ type Filter = TypedDeferredTopicFilter<Event>;
405
+ type Log = TypedEventLog<Event>;
406
+ type LogDescription = TypedLogDescription<Event>;
407
+ }
753
408
  export declare namespace WithdrawalEvent {
754
409
  type InputTuple = [
755
410
  payer: AddressLike,
@@ -780,60 +435,6 @@ export declare namespace WithdrawalEvent {
780
435
  type Log = TypedEventLog<Event>;
781
436
  type LogDescription = TypedLogDescription<Event>;
782
437
  }
783
- export declare namespace WithdrawalCancelledEvent {
784
- type InputTuple = [commitmentHash: BytesLike, requestId: BigNumberish];
785
- type OutputTuple = [commitmentHash: string, requestId: bigint];
786
- interface OutputObject {
787
- commitmentHash: string;
788
- requestId: bigint;
789
- }
790
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
791
- type Filter = TypedDeferredTopicFilter<Event>;
792
- type Log = TypedEventLog<Event>;
793
- type LogDescription = TypedLogDescription<Event>;
794
- }
795
- export declare namespace WithdrawalExecutedEvent {
796
- type InputTuple = [commitmentHash: BytesLike, requestId: BigNumberish];
797
- type OutputTuple = [commitmentHash: string, requestId: bigint];
798
- interface OutputObject {
799
- commitmentHash: string;
800
- requestId: bigint;
801
- }
802
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
803
- type Filter = TypedDeferredTopicFilter<Event>;
804
- type Log = TypedEventLog<Event>;
805
- type LogDescription = TypedLogDescription<Event>;
806
- }
807
- export declare namespace WithdrawalScheduledEvent {
808
- type InputTuple = [
809
- commitmentHash: BytesLike,
810
- requestId: BigNumberish,
811
- amount: BigNumberish,
812
- tokenAddress: AddressLike,
813
- receiverAddress: AddressLike,
814
- executeAt: BigNumberish
815
- ];
816
- type OutputTuple = [
817
- commitmentHash: string,
818
- requestId: bigint,
819
- amount: bigint,
820
- tokenAddress: string,
821
- receiverAddress: string,
822
- executeAt: bigint
823
- ];
824
- interface OutputObject {
825
- commitmentHash: string;
826
- requestId: bigint;
827
- amount: bigint;
828
- tokenAddress: string;
829
- receiverAddress: string;
830
- executeAt: bigint;
831
- }
832
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
833
- type Filter = TypedDeferredTopicFilter<Event>;
834
- type Log = TypedEventLog<Event>;
835
- type LogDescription = TypedLogDescription<Event>;
836
- }
837
438
  export interface Escrow extends BaseContract {
838
439
  connect(runner?: ContractRunner | null): Escrow;
839
440
  waitForDeployment(): Promise<this>;
@@ -847,21 +448,10 @@ export interface Escrow extends BaseContract {
847
448
  listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
848
449
  listeners(eventName?: string): Promise<Array<Listener>>;
849
450
  removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
850
- ADMIN_TREASURY_EXECUTIVE_ROLE: TypedContractMethod<[], [string], "view">;
851
- ADMIN_TREASURY_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
852
- CONFIG_EXECUTIVE_ROLE: TypedContractMethod<[], [string], "view">;
853
- CONFIG_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
854
451
  DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
855
452
  DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">;
856
453
  FUNDS_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
857
454
  OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
858
- TIMELOCK_CONFIG_EXECUTIVE_ROLE: TypedContractMethod<[], [string], "view">;
859
- TIMELOCK_CONFIG_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
860
- TIMELOCK_DELAY: TypedContractMethod<[], [bigint], "view">;
861
- TREASURY_DISPATCH_ROLE: TypedContractMethod<[], [string], "view">;
862
- TREASURY_EXECUTIVE_ROLE: TypedContractMethod<[], [string], "view">;
863
- TREASURY_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
864
- TREASURY_RECEIVER_ROLE: TypedContractMethod<[], [string], "view">;
865
455
  __AccessControl_init: TypedContractMethod<[
866
456
  _operator: AddressLike,
867
457
  _owner: AddressLike,
@@ -880,18 +470,11 @@ export interface Escrow extends BaseContract {
880
470
  ], [
881
471
  void
882
472
  ], "nonpayable">;
883
- addTokens: TypedContractMethod<[
884
- configs: Types.MultisigConfigInputStruct[]
885
- ], [
886
- void
887
- ], "nonpayable">;
888
- adminTokenThresholdSettings: TypedContractMethod<[], [bigint], "view">;
473
+ addTokens: TypedContractMethod<[tokens: AddressLike[]], [void], "nonpayable">;
889
474
  adminWithdraw: TypedContractMethod<[
890
- requestId: BigNumberish,
891
475
  amount: BigNumberish,
892
476
  token: AddressLike,
893
- receiver: AddressLike,
894
- signatures: Types.SignatureStruct[]
477
+ receiver: AddressLike
895
478
  ], [
896
479
  void
897
480
  ], "nonpayable">;
@@ -901,27 +484,16 @@ export interface Escrow extends BaseContract {
901
484
  ], [
902
485
  boolean
903
486
  ], "nonpayable">;
904
- batchWithdrawWithTimelock: TypedContractMethod<[
905
- requests: Types.BatchWithdrawWithTimelockStruct[]
906
- ], [
907
- void
908
- ], "nonpayable">;
909
487
  batch_withdraw: TypedContractMethod<[
910
488
  requests: Types.BatchWithdrawStruct[]
911
489
  ], [
912
490
  void
913
491
  ], "nonpayable">;
914
- cancelWithdrawal: TypedContractMethod<[
915
- amount: BigNumberish,
916
- requestId: BigNumberish,
917
- tokenAddress: AddressLike,
918
- receiverAddress: AddressLike,
919
- executeAt: BigNumberish
492
+ changeAdmin: TypedContractMethod<[
493
+ newAdmin: AddressLike
920
494
  ], [
921
495
  void
922
496
  ], "nonpayable">;
923
- configNonce: TypedContractMethod<[], [bigint], "view">;
924
- configThresholdSettings: TypedContractMethod<[], [bigint], "view">;
925
497
  deposit: TypedContractMethod<[
926
498
  bonusCode: string,
927
499
  signature: Types.SignatureStruct
@@ -936,25 +508,12 @@ export interface Escrow extends BaseContract {
936
508
  ], [
937
509
  void
938
510
  ], "nonpayable">;
939
- executeWithdrawal: TypedContractMethod<[
940
- amount: BigNumberish,
941
- requestId: BigNumberish,
942
- tokenAddress: AddressLike,
943
- receiverAddress: AddressLike,
944
- executeAt: BigNumberish
945
- ], [
946
- void
947
- ], "nonpayable">;
948
511
  fundWallets: TypedContractMethod<[
949
512
  wallets: AddressLike[],
950
513
  amount: BigNumberish
951
514
  ], [
952
515
  void
953
516
  ], "nonpayable">;
954
- getAdminMultisigConfig: TypedContractMethod<[
955
- ], [
956
- Types.AdminMultisigConfigStructOutput
957
- ], "view">;
958
517
  "getBalance()": TypedContractMethod<[], [bigint], "view">;
959
518
  "getBalance(address)": TypedContractMethod<[
960
519
  token: AddressLike
@@ -970,11 +529,7 @@ export interface Escrow extends BaseContract {
970
529
  ], [
971
530
  string
972
531
  ], "view">;
973
- getGroupConfig: TypedContractMethod<[
974
- opType: BigNumberish
975
- ], [
976
- Types.AdminMultisigConfigStructOutput
977
- ], "view">;
532
+ getLastBlockNumber: TypedContractMethod<[], [bigint], "view">;
978
533
  getNonce: TypedContractMethod<[
979
534
  user: AddressLike,
980
535
  opType: BigNumberish
@@ -993,10 +548,10 @@ export interface Escrow extends BaseContract {
993
548
  Types.CoverageInfoStructOutput
994
549
  ], "view">;
995
550
  getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
996
- getTokenMultisigConfig: TypedContractMethod<[
997
- tokenAddress: AddressLike
551
+ getTotalTransactions: TypedContractMethod<[], [bigint], "view">;
552
+ getTransactionStatus: TypedContractMethod<[
998
553
  ], [
999
- Types.MultisigConfigStructOutput
554
+ Types.TransactionStatusStructOutput
1000
555
  ], "view">;
1001
556
  getWithdrawalSigner: TypedContractMethod<[
1002
557
  _amount: BigNumberish,
@@ -1007,11 +562,6 @@ export interface Escrow extends BaseContract {
1007
562
  ], [
1008
563
  string
1009
564
  ], "view">;
1010
- get_admin_used_ids: TypedContractMethod<[
1011
- ids: BigNumberish[]
1012
- ], [
1013
- bigint[]
1014
- ], "view">;
1015
565
  get_used_ids: TypedContractMethod<[ids: BigNumberish[]], [bigint[]], "view">;
1016
566
  grantRole: TypedContractMethod<[
1017
567
  role: BytesLike,
@@ -1029,10 +579,7 @@ export interface Escrow extends BaseContract {
1029
579
  _operator: AddressLike,
1030
580
  _fundsManager: AddressLike,
1031
581
  _version: string,
1032
- _tokens: AddressLike[],
1033
- _multisigConfigs: Types.MultisigConfigInputStruct[],
1034
- _adminMultisigConfigs: Types.AdminMultisigConfigSetupStruct[],
1035
- _maxFundWalletAmount: BigNumberish
582
+ _tokens: AddressLike[]
1036
583
  ], [
1037
584
  void
1038
585
  ], "nonpayable">;
@@ -1041,14 +588,6 @@ export interface Escrow extends BaseContract {
1041
588
  isWhitelisted: TypedContractMethod<[_token: AddressLike], [boolean], "view">;
1042
589
  nonces: TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
1043
590
  pause: TypedContractMethod<[], [void], "nonpayable">;
1044
- receiverTimelockConfig: TypedContractMethod<[
1045
- arg0: AddressLike
1046
- ], [
1047
- [bigint, boolean] & {
1048
- duration: bigint;
1049
- configured: boolean;
1050
- }
1051
- ], "view">;
1052
591
  removeTokens: TypedContractMethod<[
1053
592
  tokens: AddressLike[]
1054
593
  ], [
@@ -1060,12 +599,6 @@ export interface Escrow extends BaseContract {
1060
599
  ], [
1061
600
  void
1062
601
  ], "nonpayable">;
1063
- reset_admin_request_ids: TypedContractMethod<[
1064
- start: BigNumberish,
1065
- end: BigNumberish
1066
- ], [
1067
- void
1068
- ], "nonpayable">;
1069
602
  reset_request_ids: TypedContractMethod<[
1070
603
  start: BigNumberish,
1071
604
  end: BigNumberish
@@ -1078,38 +611,17 @@ export interface Escrow extends BaseContract {
1078
611
  ], [
1079
612
  void
1080
613
  ], "nonpayable">;
1081
- setAdminTokenMultisigThreshold: TypedContractMethod<[
1082
- configData: Types.SetAdminMultisigConfigSignDataStruct,
1083
- signatures: Types.SignatureStruct[]
1084
- ], [
1085
- void
1086
- ], "nonpayable">;
1087
- setGroupConfig: TypedContractMethod<[
1088
- opType: BigNumberish,
1089
- sigsManager: BigNumberish,
1090
- sigsExecutive: BigNumberish
1091
- ], [
1092
- void
1093
- ], "nonpayable">;
1094
- setTimelock: TypedContractMethod<[
1095
- configData: Types.SetTimelockConfigSignDataStruct,
1096
- signatures: Types.SignatureStruct[]
614
+ setOperator: TypedContractMethod<[
615
+ _operator: AddressLike
1097
616
  ], [
1098
617
  void
1099
618
  ], "nonpayable">;
1100
- setTimelockGranular: TypedContractMethod<[
1101
- configData: Types.SetReceiverTimelockConfigSignDataStruct,
1102
- signatures: Types.SignatureStruct[]
619
+ setTransactionStatus: TypedContractMethod<[
620
+ totalCount: BigNumberish,
621
+ blockNumber: BigNumberish
1103
622
  ], [
1104
623
  void
1105
624
  ], "nonpayable">;
1106
- setTokenMultisigThreshold: TypedContractMethod<[
1107
- configData: Types.SetMultisigConfigSignDataStruct,
1108
- signatures: Types.SignatureStruct[]
1109
- ], [
1110
- void
1111
- ], "nonpayable">;
1112
- signerBitmap: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1113
625
  supportsInterface: TypedContractMethod<[
1114
626
  interfaceId: BytesLike
1115
627
  ], [
@@ -1121,43 +633,6 @@ export interface Escrow extends BaseContract {
1121
633
  ], [
1122
634
  boolean
1123
635
  ], "payable">;
1124
- timelockCommitments: TypedContractMethod<[
1125
- arg0: BytesLike
1126
- ], [
1127
- boolean
1128
- ], "view">;
1129
- timelockConfig: TypedContractMethod<[
1130
- arg0: AddressLike
1131
- ], [
1132
- [
1133
- bigint,
1134
- bigint,
1135
- bigint,
1136
- boolean
1137
- ] & {
1138
- thresholdAmount: bigint;
1139
- durationBelow: bigint;
1140
- durationAbove: bigint;
1141
- configured: boolean;
1142
- }
1143
- ], "view">;
1144
- timelockConfigNonce: TypedContractMethod<[], [bigint], "view">;
1145
- timelockThresholdSettings: TypedContractMethod<[], [bigint], "view">;
1146
- tokenThresholdSettings: TypedContractMethod<[
1147
- arg0: AddressLike
1148
- ], [
1149
- bigint
1150
- ], "view">;
1151
- unpackAdminThresholds: TypedContractMethod<[
1152
- packed: BigNumberish
1153
- ], [
1154
- Types.AdminMultisigConfigStructOutput
1155
- ], "view">;
1156
- unpackTokenThresholds: TypedContractMethod<[
1157
- packed: BigNumberish
1158
- ], [
1159
- Types.MultisigConfigStructOutput
1160
- ], "view">;
1161
636
  unpause: TypedContractMethod<[], [void], "nonpayable">;
1162
637
  whitelist: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
1163
638
  withdraw: TypedContractMethod<[
@@ -1169,32 +644,11 @@ export interface Escrow extends BaseContract {
1169
644
  ], [
1170
645
  void
1171
646
  ], "nonpayable">;
1172
- withdrawWithTimelock: TypedContractMethod<[
1173
- amount: BigNumberish,
1174
- requestId: BigNumberish,
1175
- tokenAddress: AddressLike,
1176
- receiverAddress: AddressLike,
1177
- operatorSignature: Types.SignatureStruct,
1178
- signatures: Types.SignatureStruct[]
1179
- ], [
1180
- void
1181
- ], "nonpayable">;
1182
647
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
1183
- getFunction(nameOrSignature: "ADMIN_TREASURY_EXECUTIVE_ROLE"): TypedContractMethod<[], [string], "view">;
1184
- getFunction(nameOrSignature: "ADMIN_TREASURY_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
1185
- getFunction(nameOrSignature: "CONFIG_EXECUTIVE_ROLE"): TypedContractMethod<[], [string], "view">;
1186
- getFunction(nameOrSignature: "CONFIG_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
1187
648
  getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
1188
649
  getFunction(nameOrSignature: "DOMAIN_SEPARATOR"): TypedContractMethod<[], [string], "view">;
1189
650
  getFunction(nameOrSignature: "FUNDS_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
1190
651
  getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
1191
- getFunction(nameOrSignature: "TIMELOCK_CONFIG_EXECUTIVE_ROLE"): TypedContractMethod<[], [string], "view">;
1192
- getFunction(nameOrSignature: "TIMELOCK_CONFIG_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
1193
- getFunction(nameOrSignature: "TIMELOCK_DELAY"): TypedContractMethod<[], [bigint], "view">;
1194
- getFunction(nameOrSignature: "TREASURY_DISPATCH_ROLE"): TypedContractMethod<[], [string], "view">;
1195
- getFunction(nameOrSignature: "TREASURY_EXECUTIVE_ROLE"): TypedContractMethod<[], [string], "view">;
1196
- getFunction(nameOrSignature: "TREASURY_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
1197
- getFunction(nameOrSignature: "TREASURY_RECEIVER_ROLE"): TypedContractMethod<[], [string], "view">;
1198
652
  getFunction(nameOrSignature: "__AccessControl_init"): TypedContractMethod<[
1199
653
  _operator: AddressLike,
1200
654
  _owner: AddressLike,
@@ -1209,18 +663,11 @@ export interface Escrow extends BaseContract {
1209
663
  void
1210
664
  ], "nonpayable">;
1211
665
  getFunction(nameOrSignature: "__TokensWhitelist_init"): TypedContractMethod<[_tokens: AddressLike[]], [void], "nonpayable">;
1212
- getFunction(nameOrSignature: "addTokens"): TypedContractMethod<[
1213
- configs: Types.MultisigConfigInputStruct[]
1214
- ], [
1215
- void
1216
- ], "nonpayable">;
1217
- getFunction(nameOrSignature: "adminTokenThresholdSettings"): TypedContractMethod<[], [bigint], "view">;
666
+ getFunction(nameOrSignature: "addTokens"): TypedContractMethod<[tokens: AddressLike[]], [void], "nonpayable">;
1218
667
  getFunction(nameOrSignature: "adminWithdraw"): TypedContractMethod<[
1219
- requestId: BigNumberish,
1220
668
  amount: BigNumberish,
1221
669
  token: AddressLike,
1222
- receiver: AddressLike,
1223
- signatures: Types.SignatureStruct[]
670
+ receiver: AddressLike
1224
671
  ], [
1225
672
  void
1226
673
  ], "nonpayable">;
@@ -1230,27 +677,12 @@ export interface Escrow extends BaseContract {
1230
677
  ], [
1231
678
  boolean
1232
679
  ], "nonpayable">;
1233
- getFunction(nameOrSignature: "batchWithdrawWithTimelock"): TypedContractMethod<[
1234
- requests: Types.BatchWithdrawWithTimelockStruct[]
1235
- ], [
1236
- void
1237
- ], "nonpayable">;
1238
680
  getFunction(nameOrSignature: "batch_withdraw"): TypedContractMethod<[
1239
681
  requests: Types.BatchWithdrawStruct[]
1240
682
  ], [
1241
683
  void
1242
684
  ], "nonpayable">;
1243
- getFunction(nameOrSignature: "cancelWithdrawal"): TypedContractMethod<[
1244
- amount: BigNumberish,
1245
- requestId: BigNumberish,
1246
- tokenAddress: AddressLike,
1247
- receiverAddress: AddressLike,
1248
- executeAt: BigNumberish
1249
- ], [
1250
- void
1251
- ], "nonpayable">;
1252
- getFunction(nameOrSignature: "configNonce"): TypedContractMethod<[], [bigint], "view">;
1253
- getFunction(nameOrSignature: "configThresholdSettings"): TypedContractMethod<[], [bigint], "view">;
685
+ getFunction(nameOrSignature: "changeAdmin"): TypedContractMethod<[newAdmin: AddressLike], [void], "nonpayable">;
1254
686
  getFunction(nameOrSignature: "deposit"): TypedContractMethod<[
1255
687
  bonusCode: string,
1256
688
  signature: Types.SignatureStruct
@@ -1265,22 +697,12 @@ export interface Escrow extends BaseContract {
1265
697
  ], [
1266
698
  void
1267
699
  ], "nonpayable">;
1268
- getFunction(nameOrSignature: "executeWithdrawal"): TypedContractMethod<[
1269
- amount: BigNumberish,
1270
- requestId: BigNumberish,
1271
- tokenAddress: AddressLike,
1272
- receiverAddress: AddressLike,
1273
- executeAt: BigNumberish
1274
- ], [
1275
- void
1276
- ], "nonpayable">;
1277
700
  getFunction(nameOrSignature: "fundWallets"): TypedContractMethod<[
1278
701
  wallets: AddressLike[],
1279
702
  amount: BigNumberish
1280
703
  ], [
1281
704
  void
1282
705
  ], "nonpayable">;
1283
- getFunction(nameOrSignature: "getAdminMultisigConfig"): TypedContractMethod<[], [Types.AdminMultisigConfigStructOutput], "view">;
1284
706
  getFunction(nameOrSignature: "getBalance()"): TypedContractMethod<[], [bigint], "view">;
1285
707
  getFunction(nameOrSignature: "getBalance(address)"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
1286
708
  getFunction(nameOrSignature: "getDepositSigner"): TypedContractMethod<[
@@ -1292,11 +714,7 @@ export interface Escrow extends BaseContract {
1292
714
  ], [
1293
715
  string
1294
716
  ], "view">;
1295
- getFunction(nameOrSignature: "getGroupConfig"): TypedContractMethod<[
1296
- opType: BigNumberish
1297
- ], [
1298
- Types.AdminMultisigConfigStructOutput
1299
- ], "view">;
717
+ getFunction(nameOrSignature: "getLastBlockNumber"): TypedContractMethod<[], [bigint], "view">;
1300
718
  getFunction(nameOrSignature: "getNonce"): TypedContractMethod<[
1301
719
  user: AddressLike,
1302
720
  opType: BigNumberish
@@ -1311,11 +729,8 @@ export interface Escrow extends BaseContract {
1311
729
  Types.CoverageInfoStructOutput
1312
730
  ], "view">;
1313
731
  getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
1314
- getFunction(nameOrSignature: "getTokenMultisigConfig"): TypedContractMethod<[
1315
- tokenAddress: AddressLike
1316
- ], [
1317
- Types.MultisigConfigStructOutput
1318
- ], "view">;
732
+ getFunction(nameOrSignature: "getTotalTransactions"): TypedContractMethod<[], [bigint], "view">;
733
+ getFunction(nameOrSignature: "getTransactionStatus"): TypedContractMethod<[], [Types.TransactionStatusStructOutput], "view">;
1319
734
  getFunction(nameOrSignature: "getWithdrawalSigner"): TypedContractMethod<[
1320
735
  _amount: BigNumberish,
1321
736
  _receiverAddress: AddressLike,
@@ -1325,7 +740,6 @@ export interface Escrow extends BaseContract {
1325
740
  ], [
1326
741
  string
1327
742
  ], "view">;
1328
- getFunction(nameOrSignature: "get_admin_used_ids"): TypedContractMethod<[ids: BigNumberish[]], [bigint[]], "view">;
1329
743
  getFunction(nameOrSignature: "get_used_ids"): TypedContractMethod<[ids: BigNumberish[]], [bigint[]], "view">;
1330
744
  getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
1331
745
  role: BytesLike,
@@ -1343,10 +757,7 @@ export interface Escrow extends BaseContract {
1343
757
  _operator: AddressLike,
1344
758
  _fundsManager: AddressLike,
1345
759
  _version: string,
1346
- _tokens: AddressLike[],
1347
- _multisigConfigs: Types.MultisigConfigInputStruct[],
1348
- _adminMultisigConfigs: Types.AdminMultisigConfigSetupStruct[],
1349
- _maxFundWalletAmount: BigNumberish
760
+ _tokens: AddressLike[]
1350
761
  ], [
1351
762
  void
1352
763
  ], "nonpayable">;
@@ -1355,14 +766,6 @@ export interface Escrow extends BaseContract {
1355
766
  getFunction(nameOrSignature: "isWhitelisted"): TypedContractMethod<[_token: AddressLike], [boolean], "view">;
1356
767
  getFunction(nameOrSignature: "nonces"): TypedContractMethod<[_owner: AddressLike], [bigint], "view">;
1357
768
  getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
1358
- getFunction(nameOrSignature: "receiverTimelockConfig"): TypedContractMethod<[
1359
- arg0: AddressLike
1360
- ], [
1361
- [bigint, boolean] & {
1362
- duration: bigint;
1363
- configured: boolean;
1364
- }
1365
- ], "view">;
1366
769
  getFunction(nameOrSignature: "removeTokens"): TypedContractMethod<[tokens: AddressLike[]], [void], "nonpayable">;
1367
770
  getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
1368
771
  role: BytesLike,
@@ -1370,12 +773,6 @@ export interface Escrow extends BaseContract {
1370
773
  ], [
1371
774
  void
1372
775
  ], "nonpayable">;
1373
- getFunction(nameOrSignature: "reset_admin_request_ids"): TypedContractMethod<[
1374
- start: BigNumberish,
1375
- end: BigNumberish
1376
- ], [
1377
- void
1378
- ], "nonpayable">;
1379
776
  getFunction(nameOrSignature: "reset_request_ids"): TypedContractMethod<[
1380
777
  start: BigNumberish,
1381
778
  end: BigNumberish
@@ -1388,38 +785,13 @@ export interface Escrow extends BaseContract {
1388
785
  ], [
1389
786
  void
1390
787
  ], "nonpayable">;
1391
- getFunction(nameOrSignature: "setAdminTokenMultisigThreshold"): TypedContractMethod<[
1392
- configData: Types.SetAdminMultisigConfigSignDataStruct,
1393
- signatures: Types.SignatureStruct[]
1394
- ], [
1395
- void
1396
- ], "nonpayable">;
1397
- getFunction(nameOrSignature: "setGroupConfig"): TypedContractMethod<[
1398
- opType: BigNumberish,
1399
- sigsManager: BigNumberish,
1400
- sigsExecutive: BigNumberish
788
+ getFunction(nameOrSignature: "setOperator"): TypedContractMethod<[_operator: AddressLike], [void], "nonpayable">;
789
+ getFunction(nameOrSignature: "setTransactionStatus"): TypedContractMethod<[
790
+ totalCount: BigNumberish,
791
+ blockNumber: BigNumberish
1401
792
  ], [
1402
793
  void
1403
794
  ], "nonpayable">;
1404
- getFunction(nameOrSignature: "setTimelock"): TypedContractMethod<[
1405
- configData: Types.SetTimelockConfigSignDataStruct,
1406
- signatures: Types.SignatureStruct[]
1407
- ], [
1408
- void
1409
- ], "nonpayable">;
1410
- getFunction(nameOrSignature: "setTimelockGranular"): TypedContractMethod<[
1411
- configData: Types.SetReceiverTimelockConfigSignDataStruct,
1412
- signatures: Types.SignatureStruct[]
1413
- ], [
1414
- void
1415
- ], "nonpayable">;
1416
- getFunction(nameOrSignature: "setTokenMultisigThreshold"): TypedContractMethod<[
1417
- configData: Types.SetMultisigConfigSignDataStruct,
1418
- signatures: Types.SignatureStruct[]
1419
- ], [
1420
- void
1421
- ], "nonpayable">;
1422
- getFunction(nameOrSignature: "signerBitmap"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1423
795
  getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
1424
796
  getFunction(nameOrSignature: "sweepFunds"): TypedContractMethod<[
1425
797
  wallet: AddressLike,
@@ -1427,35 +799,6 @@ export interface Escrow extends BaseContract {
1427
799
  ], [
1428
800
  boolean
1429
801
  ], "payable">;
1430
- getFunction(nameOrSignature: "timelockCommitments"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
1431
- getFunction(nameOrSignature: "timelockConfig"): TypedContractMethod<[
1432
- arg0: AddressLike
1433
- ], [
1434
- [
1435
- bigint,
1436
- bigint,
1437
- bigint,
1438
- boolean
1439
- ] & {
1440
- thresholdAmount: bigint;
1441
- durationBelow: bigint;
1442
- durationAbove: bigint;
1443
- configured: boolean;
1444
- }
1445
- ], "view">;
1446
- getFunction(nameOrSignature: "timelockConfigNonce"): TypedContractMethod<[], [bigint], "view">;
1447
- getFunction(nameOrSignature: "timelockThresholdSettings"): TypedContractMethod<[], [bigint], "view">;
1448
- getFunction(nameOrSignature: "tokenThresholdSettings"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1449
- getFunction(nameOrSignature: "unpackAdminThresholds"): TypedContractMethod<[
1450
- packed: BigNumberish
1451
- ], [
1452
- Types.AdminMultisigConfigStructOutput
1453
- ], "view">;
1454
- getFunction(nameOrSignature: "unpackTokenThresholds"): TypedContractMethod<[
1455
- packed: BigNumberish
1456
- ], [
1457
- Types.MultisigConfigStructOutput
1458
- ], "view">;
1459
802
  getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
1460
803
  getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
1461
804
  getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
@@ -1467,19 +810,7 @@ export interface Escrow extends BaseContract {
1467
810
  ], [
1468
811
  void
1469
812
  ], "nonpayable">;
1470
- getFunction(nameOrSignature: "withdrawWithTimelock"): TypedContractMethod<[
1471
- amount: BigNumberish,
1472
- requestId: BigNumberish,
1473
- tokenAddress: AddressLike,
1474
- receiverAddress: AddressLike,
1475
- operatorSignature: Types.SignatureStruct,
1476
- signatures: Types.SignatureStruct[]
1477
- ], [
1478
- void
1479
- ], "nonpayable">;
1480
813
  getEvent(key: "AdminWithdraw"): TypedContractEvent<AdminWithdrawEvent.InputTuple, AdminWithdrawEvent.OutputTuple, AdminWithdrawEvent.OutputObject>;
1481
- getEvent(key: "ConfigureAdminMultisig"): TypedContractEvent<ConfigureAdminMultisigEvent.InputTuple, ConfigureAdminMultisigEvent.OutputTuple, ConfigureAdminMultisigEvent.OutputObject>;
1482
- getEvent(key: "ConfigureTokenMultisig"): TypedContractEvent<ConfigureTokenMultisigEvent.InputTuple, ConfigureTokenMultisigEvent.OutputTuple, ConfigureTokenMultisigEvent.OutputObject>;
1483
814
  getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
1484
815
  getEvent(key: "FundWallets"): TypedContractEvent<FundWalletsEvent.InputTuple, FundWalletsEvent.OutputTuple, FundWalletsEvent.OutputObject>;
1485
816
  getEvent(key: "FundedContract"): TypedContractEvent<FundedContractEvent.InputTuple, FundedContractEvent.OutputTuple, FundedContractEvent.OutputObject>;
@@ -1488,22 +819,14 @@ export interface Escrow extends BaseContract {
1488
819
  getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
1489
820
  getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1490
821
  getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1491
- getEvent(key: "SetTimelockGranular"): TypedContractEvent<SetTimelockGranularEvent.InputTuple, SetTimelockGranularEvent.OutputTuple, SetTimelockGranularEvent.OutputObject>;
1492
- getEvent(key: "SetTokenTimelock"): TypedContractEvent<SetTokenTimelockEvent.InputTuple, SetTokenTimelockEvent.OutputTuple, SetTokenTimelockEvent.OutputObject>;
1493
822
  getEvent(key: "SweepTokens"): TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1494
823
  getEvent(key: "TokenAdded"): TypedContractEvent<TokenAddedEvent.InputTuple, TokenAddedEvent.OutputTuple, TokenAddedEvent.OutputObject>;
1495
824
  getEvent(key: "TokenRemoved"): TypedContractEvent<TokenRemovedEvent.InputTuple, TokenRemovedEvent.OutputTuple, TokenRemovedEvent.OutputObject>;
825
+ getEvent(key: "TransactionCount"): TypedContractEvent<TransactionCountEvent.InputTuple, TransactionCountEvent.OutputTuple, TransactionCountEvent.OutputObject>;
1496
826
  getEvent(key: "Withdrawal"): TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
1497
- getEvent(key: "WithdrawalCancelled"): TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
1498
- getEvent(key: "WithdrawalExecuted"): TypedContractEvent<WithdrawalExecutedEvent.InputTuple, WithdrawalExecutedEvent.OutputTuple, WithdrawalExecutedEvent.OutputObject>;
1499
- getEvent(key: "WithdrawalScheduled"): TypedContractEvent<WithdrawalScheduledEvent.InputTuple, WithdrawalScheduledEvent.OutputTuple, WithdrawalScheduledEvent.OutputObject>;
1500
827
  filters: {
1501
- "AdminWithdraw(address,address,uint256,address,uint256)": TypedContractEvent<AdminWithdrawEvent.InputTuple, AdminWithdrawEvent.OutputTuple, AdminWithdrawEvent.OutputObject>;
828
+ "AdminWithdraw(address,address,uint256,address)": TypedContractEvent<AdminWithdrawEvent.InputTuple, AdminWithdrawEvent.OutputTuple, AdminWithdrawEvent.OutputObject>;
1502
829
  AdminWithdraw: TypedContractEvent<AdminWithdrawEvent.InputTuple, AdminWithdrawEvent.OutputTuple, AdminWithdrawEvent.OutputObject>;
1503
- "ConfigureAdminMultisig(uint8,uint256,uint256)": TypedContractEvent<ConfigureAdminMultisigEvent.InputTuple, ConfigureAdminMultisigEvent.OutputTuple, ConfigureAdminMultisigEvent.OutputObject>;
1504
- ConfigureAdminMultisig: TypedContractEvent<ConfigureAdminMultisigEvent.InputTuple, ConfigureAdminMultisigEvent.OutputTuple, ConfigureAdminMultisigEvent.OutputObject>;
1505
- "ConfigureTokenMultisig(uint8,address,uint256,uint8,uint8,uint8,uint8)": TypedContractEvent<ConfigureTokenMultisigEvent.InputTuple, ConfigureTokenMultisigEvent.OutputTuple, ConfigureTokenMultisigEvent.OutputObject>;
1506
- ConfigureTokenMultisig: TypedContractEvent<ConfigureTokenMultisigEvent.InputTuple, ConfigureTokenMultisigEvent.OutputTuple, ConfigureTokenMultisigEvent.OutputObject>;
1507
830
  "Deposit(address,address,uint256,string)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
1508
831
  Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
1509
832
  "FundWallets()": TypedContractEvent<FundWalletsEvent.InputTuple, FundWalletsEvent.OutputTuple, FundWalletsEvent.OutputObject>;
@@ -1520,24 +843,16 @@ export interface Escrow extends BaseContract {
1520
843
  RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1521
844
  "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1522
845
  RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1523
- "SetTimelockGranular(address,uint256)": TypedContractEvent<SetTimelockGranularEvent.InputTuple, SetTimelockGranularEvent.OutputTuple, SetTimelockGranularEvent.OutputObject>;
1524
- SetTimelockGranular: TypedContractEvent<SetTimelockGranularEvent.InputTuple, SetTimelockGranularEvent.OutputTuple, SetTimelockGranularEvent.OutputObject>;
1525
- "SetTokenTimelock(address,uint256,uint256,uint256)": TypedContractEvent<SetTokenTimelockEvent.InputTuple, SetTokenTimelockEvent.OutputTuple, SetTokenTimelockEvent.OutputObject>;
1526
- SetTokenTimelock: TypedContractEvent<SetTokenTimelockEvent.InputTuple, SetTokenTimelockEvent.OutputTuple, SetTokenTimelockEvent.OutputObject>;
1527
846
  "SweepTokens(address,address,address,address,uint256)": TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1528
847
  SweepTokens: TypedContractEvent<SweepTokensEvent.InputTuple, SweepTokensEvent.OutputTuple, SweepTokensEvent.OutputObject>;
1529
848
  "TokenAdded(address)": TypedContractEvent<TokenAddedEvent.InputTuple, TokenAddedEvent.OutputTuple, TokenAddedEvent.OutputObject>;
1530
849
  TokenAdded: TypedContractEvent<TokenAddedEvent.InputTuple, TokenAddedEvent.OutputTuple, TokenAddedEvent.OutputObject>;
1531
850
  "TokenRemoved(address)": TypedContractEvent<TokenRemovedEvent.InputTuple, TokenRemovedEvent.OutputTuple, TokenRemovedEvent.OutputObject>;
1532
851
  TokenRemoved: TypedContractEvent<TokenRemovedEvent.InputTuple, TokenRemovedEvent.OutputTuple, TokenRemovedEvent.OutputObject>;
852
+ "TransactionCount(uint256,uint256)": TypedContractEvent<TransactionCountEvent.InputTuple, TransactionCountEvent.OutputTuple, TransactionCountEvent.OutputObject>;
853
+ TransactionCount: TypedContractEvent<TransactionCountEvent.InputTuple, TransactionCountEvent.OutputTuple, TransactionCountEvent.OutputObject>;
1533
854
  "Withdrawal(address,address,address,uint256,uint256,uint32)": TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
1534
855
  Withdrawal: TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
1535
- "WithdrawalCancelled(bytes32,uint256)": TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
1536
- WithdrawalCancelled: TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
1537
- "WithdrawalExecuted(bytes32,uint256)": TypedContractEvent<WithdrawalExecutedEvent.InputTuple, WithdrawalExecutedEvent.OutputTuple, WithdrawalExecutedEvent.OutputObject>;
1538
- WithdrawalExecuted: TypedContractEvent<WithdrawalExecutedEvent.InputTuple, WithdrawalExecutedEvent.OutputTuple, WithdrawalExecutedEvent.OutputObject>;
1539
- "WithdrawalScheduled(bytes32,uint256,uint256,address,address,uint256)": TypedContractEvent<WithdrawalScheduledEvent.InputTuple, WithdrawalScheduledEvent.OutputTuple, WithdrawalScheduledEvent.OutputObject>;
1540
- WithdrawalScheduled: TypedContractEvent<WithdrawalScheduledEvent.InputTuple, WithdrawalScheduledEvent.OutputTuple, WithdrawalScheduledEvent.OutputObject>;
1541
856
  };
1542
857
  }
1543
858
  //# sourceMappingURL=Escrow.d.ts.map