@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +28 -18
- package/abis.json +23476 -12295
- package/dist/contracts/Addys.d.ts +124 -0
- package/dist/contracts/Addys.d.ts.map +1 -0
- package/dist/contracts/Addys.js +134 -0
- package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +892 -97
- package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +139 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
- package/dist/contracts/AgentWrapper.d.ts +164 -6
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +219 -6
- package/dist/contracts/ChequeBook.d.ts +360 -204
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +507 -298
- package/dist/contracts/DefaultsLocal.d.ts +320 -0
- package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
- package/dist/contracts/DefaultsLocal.js +350 -0
- package/dist/contracts/ERC20.d.ts +552 -27
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +713 -66
- package/dist/contracts/EarnVault.d.ts +284 -255
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +488 -456
- package/dist/contracts/EarnVaultAgent.d.ts +127 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +139 -0
- package/dist/contracts/EarnVaultWallet.d.ts +777 -0
- package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
- package/dist/contracts/EarnVaultWallet.js +987 -0
- package/dist/contracts/Erc20Token.d.ts +813 -0
- package/dist/contracts/Erc20Token.d.ts.map +1 -0
- package/dist/contracts/Erc20Token.js +1006 -0
- package/dist/contracts/HighCommand.d.ts +40 -0
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +45 -0
- package/dist/contracts/Kernel.d.ts +4 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +4 -0
- package/dist/contracts/Ledger.d.ts +4 -75
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +4 -99
- package/dist/contracts/LevgVault.d.ts +299 -299
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +530 -530
- package/dist/contracts/LevgVaultAgent.d.ts +127 -69
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +134 -79
- package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
- package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
- package/dist/contracts/LevgVaultWallet.js +1439 -0
- package/dist/contracts/LocalGov.d.ts +427 -0
- package/dist/contracts/LocalGov.d.ts.map +1 -0
- package/dist/contracts/LocalGov.js +507 -0
- package/dist/contracts/Migrator.d.ts +160 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +187 -0
- package/dist/contracts/Ownership.d.ts +414 -0
- package/dist/contracts/Ownership.d.ts.map +1 -0
- package/dist/contracts/Ownership.js +472 -0
- package/dist/contracts/Paymaster.d.ts +119 -322
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +118 -404
- package/dist/contracts/Sentinel.d.ts +9 -6
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +8 -4
- package/dist/contracts/UndyToken.d.ts +821 -0
- package/dist/contracts/UndyToken.d.ts.map +1 -0
- package/dist/contracts/UndyToken.js +1017 -0
- package/dist/contracts/UserWalletConfig.d.ts +334 -317
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +391 -371
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
- package/dist/contracts/VaultErc20Token.d.ts +522 -0
- package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
- package/dist/contracts/VaultErc20Token.js +658 -0
- package/dist/contracts/index.d.ts +10 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/sdk.d.ts +20 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +20 -0
- package/package.json +1 -1
|
@@ -132,6 +132,33 @@ export const abi = [
|
|
|
132
132
|
"anonymous": false,
|
|
133
133
|
"type": "event"
|
|
134
134
|
},
|
|
135
|
+
{
|
|
136
|
+
"name": "PendingOwnershipTimeLockCancelled",
|
|
137
|
+
"inputs": [
|
|
138
|
+
{
|
|
139
|
+
"name": "newTimeLock",
|
|
140
|
+
"type": "uint256",
|
|
141
|
+
"indexed": false
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "initiatedBlock",
|
|
145
|
+
"type": "uint256",
|
|
146
|
+
"indexed": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "confirmBlock",
|
|
150
|
+
"type": "uint256",
|
|
151
|
+
"indexed": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "cancelledBy",
|
|
155
|
+
"type": "address",
|
|
156
|
+
"indexed": true
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"anonymous": false,
|
|
160
|
+
"type": "event"
|
|
161
|
+
},
|
|
135
162
|
{
|
|
136
163
|
"name": "OwnershipTimeLockSet",
|
|
137
164
|
"inputs": [
|
|
@@ -144,6 +171,65 @@ export const abi = [
|
|
|
144
171
|
"anonymous": false,
|
|
145
172
|
"type": "event"
|
|
146
173
|
},
|
|
174
|
+
{
|
|
175
|
+
"name": "PendingOwnershipTimeLockSet",
|
|
176
|
+
"inputs": [
|
|
177
|
+
{
|
|
178
|
+
"name": "newTimeLock",
|
|
179
|
+
"type": "uint256",
|
|
180
|
+
"indexed": false
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "initiatedBlock",
|
|
184
|
+
"type": "uint256",
|
|
185
|
+
"indexed": false
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "confirmBlock",
|
|
189
|
+
"type": "uint256",
|
|
190
|
+
"indexed": false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "currentOwner",
|
|
194
|
+
"type": "address",
|
|
195
|
+
"indexed": true
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"anonymous": false,
|
|
199
|
+
"type": "event"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "PendingOwnershipTimeLockConfirmed",
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"name": "oldTimeLock",
|
|
206
|
+
"type": "uint256",
|
|
207
|
+
"indexed": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "newTimeLock",
|
|
211
|
+
"type": "uint256",
|
|
212
|
+
"indexed": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "initiatedBlock",
|
|
216
|
+
"type": "uint256",
|
|
217
|
+
"indexed": false
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "confirmBlock",
|
|
221
|
+
"type": "uint256",
|
|
222
|
+
"indexed": false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "confirmedBy",
|
|
226
|
+
"type": "address",
|
|
227
|
+
"indexed": true
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"anonymous": false,
|
|
231
|
+
"type": "event"
|
|
232
|
+
},
|
|
147
233
|
{
|
|
148
234
|
"stateMutability": "nonpayable",
|
|
149
235
|
"type": "function",
|
|
@@ -194,6 +280,20 @@ export const abi = [
|
|
|
194
280
|
],
|
|
195
281
|
"outputs": []
|
|
196
282
|
},
|
|
283
|
+
{
|
|
284
|
+
"stateMutability": "nonpayable",
|
|
285
|
+
"type": "function",
|
|
286
|
+
"name": "confirmPendingOwnershipTimeLock",
|
|
287
|
+
"inputs": [],
|
|
288
|
+
"outputs": []
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"stateMutability": "nonpayable",
|
|
292
|
+
"type": "function",
|
|
293
|
+
"name": "cancelPendingOwnershipTimeLock",
|
|
294
|
+
"inputs": [],
|
|
295
|
+
"outputs": []
|
|
296
|
+
},
|
|
197
297
|
{
|
|
198
298
|
"stateMutability": "view",
|
|
199
299
|
"type": "function",
|
|
@@ -244,6 +344,36 @@ export const abi = [
|
|
|
244
344
|
}
|
|
245
345
|
]
|
|
246
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"stateMutability": "view",
|
|
349
|
+
"type": "function",
|
|
350
|
+
"name": "pendingOwnershipTimeLock",
|
|
351
|
+
"inputs": [],
|
|
352
|
+
"outputs": [
|
|
353
|
+
{
|
|
354
|
+
"name": "",
|
|
355
|
+
"type": "tuple",
|
|
356
|
+
"components": [
|
|
357
|
+
{
|
|
358
|
+
"name": "newTimeLock",
|
|
359
|
+
"type": "uint256"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "initiatedBlock",
|
|
363
|
+
"type": "uint256"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "confirmBlock",
|
|
367
|
+
"type": "uint256"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "currentOwner",
|
|
371
|
+
"type": "address"
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
247
377
|
{
|
|
248
378
|
"stateMutability": "view",
|
|
249
379
|
"type": "function",
|
|
@@ -286,17 +416,85 @@ export const abi = [
|
|
|
286
416
|
]
|
|
287
417
|
},
|
|
288
418
|
{
|
|
289
|
-
"stateMutability": "
|
|
419
|
+
"stateMutability": "nonpayable",
|
|
420
|
+
"type": "function",
|
|
421
|
+
"name": "setTimeLock",
|
|
422
|
+
"inputs": [
|
|
423
|
+
{
|
|
424
|
+
"name": "_numBlocks",
|
|
425
|
+
"type": "uint256"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"outputs": []
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"stateMutability": "nonpayable",
|
|
432
|
+
"type": "function",
|
|
433
|
+
"name": "setTimeLockViaMigrator",
|
|
434
|
+
"inputs": [
|
|
435
|
+
{
|
|
436
|
+
"name": "_numBlocks",
|
|
437
|
+
"type": "uint256"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"outputs": []
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"stateMutability": "nonpayable",
|
|
290
444
|
"type": "function",
|
|
291
|
-
"name": "
|
|
445
|
+
"name": "confirmPendingTimeLock",
|
|
292
446
|
"inputs": [],
|
|
447
|
+
"outputs": []
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"stateMutability": "nonpayable",
|
|
451
|
+
"type": "function",
|
|
452
|
+
"name": "cancelPendingTimeLock",
|
|
453
|
+
"inputs": [],
|
|
454
|
+
"outputs": []
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"stateMutability": "nonpayable",
|
|
458
|
+
"type": "function",
|
|
459
|
+
"name": "setPendingMigration",
|
|
460
|
+
"inputs": [
|
|
461
|
+
{
|
|
462
|
+
"name": "_toWallet",
|
|
463
|
+
"type": "address"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
293
466
|
"outputs": [
|
|
294
467
|
{
|
|
295
468
|
"name": "",
|
|
296
|
-
"type": "
|
|
469
|
+
"type": "tuple",
|
|
470
|
+
"components": [
|
|
471
|
+
{
|
|
472
|
+
"name": "toWallet",
|
|
473
|
+
"type": "address"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "initiatedBlock",
|
|
477
|
+
"type": "uint256"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "confirmBlock",
|
|
481
|
+
"type": "uint256"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "currentOwner",
|
|
485
|
+
"type": "address"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
297
488
|
}
|
|
298
489
|
]
|
|
299
490
|
},
|
|
491
|
+
{
|
|
492
|
+
"stateMutability": "nonpayable",
|
|
493
|
+
"type": "function",
|
|
494
|
+
"name": "clearPendingMigration",
|
|
495
|
+
"inputs": [],
|
|
496
|
+
"outputs": []
|
|
497
|
+
},
|
|
300
498
|
{
|
|
301
499
|
"stateMutability": "view",
|
|
302
500
|
"type": "function",
|
|
@@ -1666,138 +1864,6 @@ export const abi = [
|
|
|
1666
1864
|
],
|
|
1667
1865
|
"outputs": []
|
|
1668
1866
|
},
|
|
1669
|
-
{
|
|
1670
|
-
"stateMutability": "nonpayable",
|
|
1671
|
-
"type": "function",
|
|
1672
|
-
"name": "addPendingPayee",
|
|
1673
|
-
"inputs": [
|
|
1674
|
-
{
|
|
1675
|
-
"name": "_payee",
|
|
1676
|
-
"type": "address"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
"name": "_pending",
|
|
1680
|
-
"type": "tuple",
|
|
1681
|
-
"components": [
|
|
1682
|
-
{
|
|
1683
|
-
"name": "settings",
|
|
1684
|
-
"type": "tuple",
|
|
1685
|
-
"components": [
|
|
1686
|
-
{
|
|
1687
|
-
"name": "startBlock",
|
|
1688
|
-
"type": "uint256"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"name": "expiryBlock",
|
|
1692
|
-
"type": "uint256"
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
"name": "canPull",
|
|
1696
|
-
"type": "bool"
|
|
1697
|
-
},
|
|
1698
|
-
{
|
|
1699
|
-
"name": "periodLength",
|
|
1700
|
-
"type": "uint256"
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"name": "maxNumTxsPerPeriod",
|
|
1704
|
-
"type": "uint256"
|
|
1705
|
-
},
|
|
1706
|
-
{
|
|
1707
|
-
"name": "txCooldownBlocks",
|
|
1708
|
-
"type": "uint256"
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"name": "failOnZeroPrice",
|
|
1712
|
-
"type": "bool"
|
|
1713
|
-
},
|
|
1714
|
-
{
|
|
1715
|
-
"name": "primaryAsset",
|
|
1716
|
-
"type": "address"
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"name": "onlyPrimaryAsset",
|
|
1720
|
-
"type": "bool"
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"name": "unitLimits",
|
|
1724
|
-
"type": "tuple",
|
|
1725
|
-
"components": [
|
|
1726
|
-
{
|
|
1727
|
-
"name": "perTxCap",
|
|
1728
|
-
"type": "uint256"
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"name": "perPeriodCap",
|
|
1732
|
-
"type": "uint256"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"name": "lifetimeCap",
|
|
1736
|
-
"type": "uint256"
|
|
1737
|
-
}
|
|
1738
|
-
]
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
"name": "usdLimits",
|
|
1742
|
-
"type": "tuple",
|
|
1743
|
-
"components": [
|
|
1744
|
-
{
|
|
1745
|
-
"name": "perTxCap",
|
|
1746
|
-
"type": "uint256"
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
"name": "perPeriodCap",
|
|
1750
|
-
"type": "uint256"
|
|
1751
|
-
},
|
|
1752
|
-
{
|
|
1753
|
-
"name": "lifetimeCap",
|
|
1754
|
-
"type": "uint256"
|
|
1755
|
-
}
|
|
1756
|
-
]
|
|
1757
|
-
}
|
|
1758
|
-
]
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"name": "initiatedBlock",
|
|
1762
|
-
"type": "uint256"
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
"name": "confirmBlock",
|
|
1766
|
-
"type": "uint256"
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"name": "currentOwner",
|
|
1770
|
-
"type": "address"
|
|
1771
|
-
}
|
|
1772
|
-
]
|
|
1773
|
-
}
|
|
1774
|
-
],
|
|
1775
|
-
"outputs": []
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"stateMutability": "nonpayable",
|
|
1779
|
-
"type": "function",
|
|
1780
|
-
"name": "confirmPendingPayee",
|
|
1781
|
-
"inputs": [
|
|
1782
|
-
{
|
|
1783
|
-
"name": "_payee",
|
|
1784
|
-
"type": "address"
|
|
1785
|
-
}
|
|
1786
|
-
],
|
|
1787
|
-
"outputs": []
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"stateMutability": "nonpayable",
|
|
1791
|
-
"type": "function",
|
|
1792
|
-
"name": "cancelPendingPayee",
|
|
1793
|
-
"inputs": [
|
|
1794
|
-
{
|
|
1795
|
-
"name": "_payee",
|
|
1796
|
-
"type": "address"
|
|
1797
|
-
}
|
|
1798
|
-
],
|
|
1799
|
-
"outputs": []
|
|
1800
|
-
},
|
|
1801
1867
|
{
|
|
1802
1868
|
"stateMutability": "nonpayable",
|
|
1803
1869
|
"type": "function",
|
|
@@ -1878,50 +1944,128 @@ export const abi = [
|
|
|
1878
1944
|
"type": "uint256"
|
|
1879
1945
|
},
|
|
1880
1946
|
{
|
|
1881
|
-
"name": "lastChequePaidBlock",
|
|
1947
|
+
"name": "lastChequePaidBlock",
|
|
1948
|
+
"type": "uint256"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"name": "numChequesCreatedInPeriod",
|
|
1952
|
+
"type": "uint256"
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "totalUsdValueCreatedInPeriod",
|
|
1956
|
+
"type": "uint256"
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"name": "totalNumChequesCreated",
|
|
1960
|
+
"type": "uint256"
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"name": "totalUsdValueCreated",
|
|
1964
|
+
"type": "uint256"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "lastChequeCreatedBlock",
|
|
1968
|
+
"type": "uint256"
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"name": "periodStartBlock",
|
|
1972
|
+
"type": "uint256"
|
|
1973
|
+
}
|
|
1974
|
+
]
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "_isExistingCheque",
|
|
1978
|
+
"type": "bool"
|
|
1979
|
+
}
|
|
1980
|
+
],
|
|
1981
|
+
"outputs": []
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"stateMutability": "nonpayable",
|
|
1985
|
+
"type": "function",
|
|
1986
|
+
"name": "cancelCheque",
|
|
1987
|
+
"inputs": [
|
|
1988
|
+
{
|
|
1989
|
+
"name": "_recipient",
|
|
1990
|
+
"type": "address"
|
|
1991
|
+
}
|
|
1992
|
+
],
|
|
1993
|
+
"outputs": []
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"stateMutability": "nonpayable",
|
|
1997
|
+
"type": "function",
|
|
1998
|
+
"name": "setChequeSettings",
|
|
1999
|
+
"inputs": [
|
|
2000
|
+
{
|
|
2001
|
+
"name": "_config",
|
|
2002
|
+
"type": "tuple",
|
|
2003
|
+
"components": [
|
|
2004
|
+
{
|
|
2005
|
+
"name": "maxNumActiveCheques",
|
|
2006
|
+
"type": "uint256"
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"name": "maxChequeUsdValue",
|
|
2010
|
+
"type": "uint256"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "instantUsdThreshold",
|
|
2014
|
+
"type": "uint256"
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"name": "perPeriodPaidUsdCap",
|
|
2018
|
+
"type": "uint256"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "maxNumChequesPaidPerPeriod",
|
|
2022
|
+
"type": "uint256"
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"name": "payCooldownBlocks",
|
|
2026
|
+
"type": "uint256"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"name": "perPeriodCreatedUsdCap",
|
|
2030
|
+
"type": "uint256"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "maxNumChequesCreatedPerPeriod",
|
|
2034
|
+
"type": "uint256"
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "createCooldownBlocks",
|
|
2038
|
+
"type": "uint256"
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "periodLength",
|
|
1882
2042
|
"type": "uint256"
|
|
1883
2043
|
},
|
|
1884
2044
|
{
|
|
1885
|
-
"name": "
|
|
2045
|
+
"name": "expensiveDelayBlocks",
|
|
1886
2046
|
"type": "uint256"
|
|
1887
2047
|
},
|
|
1888
2048
|
{
|
|
1889
|
-
"name": "
|
|
2049
|
+
"name": "defaultExpiryBlocks",
|
|
1890
2050
|
"type": "uint256"
|
|
1891
2051
|
},
|
|
1892
2052
|
{
|
|
1893
|
-
"name": "
|
|
1894
|
-
"type": "
|
|
2053
|
+
"name": "allowedAssets",
|
|
2054
|
+
"type": "address[]"
|
|
1895
2055
|
},
|
|
1896
2056
|
{
|
|
1897
|
-
"name": "
|
|
1898
|
-
"type": "
|
|
2057
|
+
"name": "canManagersCreateCheques",
|
|
2058
|
+
"type": "bool"
|
|
1899
2059
|
},
|
|
1900
2060
|
{
|
|
1901
|
-
"name": "
|
|
1902
|
-
"type": "
|
|
2061
|
+
"name": "canManagerPay",
|
|
2062
|
+
"type": "bool"
|
|
1903
2063
|
},
|
|
1904
2064
|
{
|
|
1905
|
-
"name": "
|
|
1906
|
-
"type": "
|
|
2065
|
+
"name": "canBePulled",
|
|
2066
|
+
"type": "bool"
|
|
1907
2067
|
}
|
|
1908
2068
|
]
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"name": "_isExistingCheque",
|
|
1912
|
-
"type": "bool"
|
|
1913
|
-
}
|
|
1914
|
-
],
|
|
1915
|
-
"outputs": []
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"stateMutability": "nonpayable",
|
|
1919
|
-
"type": "function",
|
|
1920
|
-
"name": "cancelCheque",
|
|
1921
|
-
"inputs": [
|
|
1922
|
-
{
|
|
1923
|
-
"name": "_recipient",
|
|
1924
|
-
"type": "address"
|
|
1925
2069
|
}
|
|
1926
2070
|
],
|
|
1927
2071
|
"outputs": []
|
|
@@ -1929,7 +2073,7 @@ export const abi = [
|
|
|
1929
2073
|
{
|
|
1930
2074
|
"stateMutability": "nonpayable",
|
|
1931
2075
|
"type": "function",
|
|
1932
|
-
"name": "
|
|
2076
|
+
"name": "setChequeSettingsViaMigrator",
|
|
1933
2077
|
"inputs": [
|
|
1934
2078
|
{
|
|
1935
2079
|
"name": "_config",
|
|
@@ -2929,115 +3073,6 @@ export const abi = [
|
|
|
2929
3073
|
}
|
|
2930
3074
|
]
|
|
2931
3075
|
},
|
|
2932
|
-
{
|
|
2933
|
-
"stateMutability": "view",
|
|
2934
|
-
"type": "function",
|
|
2935
|
-
"name": "pendingPayees",
|
|
2936
|
-
"inputs": [
|
|
2937
|
-
{
|
|
2938
|
-
"name": "arg0",
|
|
2939
|
-
"type": "address"
|
|
2940
|
-
}
|
|
2941
|
-
],
|
|
2942
|
-
"outputs": [
|
|
2943
|
-
{
|
|
2944
|
-
"name": "",
|
|
2945
|
-
"type": "tuple",
|
|
2946
|
-
"components": [
|
|
2947
|
-
{
|
|
2948
|
-
"name": "settings",
|
|
2949
|
-
"type": "tuple",
|
|
2950
|
-
"components": [
|
|
2951
|
-
{
|
|
2952
|
-
"name": "startBlock",
|
|
2953
|
-
"type": "uint256"
|
|
2954
|
-
},
|
|
2955
|
-
{
|
|
2956
|
-
"name": "expiryBlock",
|
|
2957
|
-
"type": "uint256"
|
|
2958
|
-
},
|
|
2959
|
-
{
|
|
2960
|
-
"name": "canPull",
|
|
2961
|
-
"type": "bool"
|
|
2962
|
-
},
|
|
2963
|
-
{
|
|
2964
|
-
"name": "periodLength",
|
|
2965
|
-
"type": "uint256"
|
|
2966
|
-
},
|
|
2967
|
-
{
|
|
2968
|
-
"name": "maxNumTxsPerPeriod",
|
|
2969
|
-
"type": "uint256"
|
|
2970
|
-
},
|
|
2971
|
-
{
|
|
2972
|
-
"name": "txCooldownBlocks",
|
|
2973
|
-
"type": "uint256"
|
|
2974
|
-
},
|
|
2975
|
-
{
|
|
2976
|
-
"name": "failOnZeroPrice",
|
|
2977
|
-
"type": "bool"
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "primaryAsset",
|
|
2981
|
-
"type": "address"
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
"name": "onlyPrimaryAsset",
|
|
2985
|
-
"type": "bool"
|
|
2986
|
-
},
|
|
2987
|
-
{
|
|
2988
|
-
"name": "unitLimits",
|
|
2989
|
-
"type": "tuple",
|
|
2990
|
-
"components": [
|
|
2991
|
-
{
|
|
2992
|
-
"name": "perTxCap",
|
|
2993
|
-
"type": "uint256"
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
"name": "perPeriodCap",
|
|
2997
|
-
"type": "uint256"
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
"name": "lifetimeCap",
|
|
3001
|
-
"type": "uint256"
|
|
3002
|
-
}
|
|
3003
|
-
]
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"name": "usdLimits",
|
|
3007
|
-
"type": "tuple",
|
|
3008
|
-
"components": [
|
|
3009
|
-
{
|
|
3010
|
-
"name": "perTxCap",
|
|
3011
|
-
"type": "uint256"
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "perPeriodCap",
|
|
3015
|
-
"type": "uint256"
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"name": "lifetimeCap",
|
|
3019
|
-
"type": "uint256"
|
|
3020
|
-
}
|
|
3021
|
-
]
|
|
3022
|
-
}
|
|
3023
|
-
]
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
"name": "initiatedBlock",
|
|
3027
|
-
"type": "uint256"
|
|
3028
|
-
},
|
|
3029
|
-
{
|
|
3030
|
-
"name": "confirmBlock",
|
|
3031
|
-
"type": "uint256"
|
|
3032
|
-
},
|
|
3033
|
-
{
|
|
3034
|
-
"name": "currentOwner",
|
|
3035
|
-
"type": "address"
|
|
3036
|
-
}
|
|
3037
|
-
]
|
|
3038
|
-
}
|
|
3039
|
-
]
|
|
3040
|
-
},
|
|
3041
3076
|
{
|
|
3042
3077
|
"stateMutability": "view",
|
|
3043
3078
|
"type": "function",
|
|
@@ -3565,19 +3600,67 @@ export const abi = [
|
|
|
3565
3600
|
{
|
|
3566
3601
|
"stateMutability": "view",
|
|
3567
3602
|
"type": "function",
|
|
3568
|
-
"name": "
|
|
3603
|
+
"name": "pendingTimeLock",
|
|
3569
3604
|
"inputs": [],
|
|
3570
3605
|
"outputs": [
|
|
3571
3606
|
{
|
|
3572
3607
|
"name": "",
|
|
3573
|
-
"type": "
|
|
3608
|
+
"type": "tuple",
|
|
3609
|
+
"components": [
|
|
3610
|
+
{
|
|
3611
|
+
"name": "newTimeLock",
|
|
3612
|
+
"type": "uint256"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"name": "initiatedBlock",
|
|
3616
|
+
"type": "uint256"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"name": "confirmBlock",
|
|
3620
|
+
"type": "uint256"
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"name": "currentOwner",
|
|
3624
|
+
"type": "address"
|
|
3625
|
+
}
|
|
3626
|
+
]
|
|
3574
3627
|
}
|
|
3575
3628
|
]
|
|
3576
3629
|
},
|
|
3577
3630
|
{
|
|
3578
3631
|
"stateMutability": "view",
|
|
3579
3632
|
"type": "function",
|
|
3580
|
-
"name": "
|
|
3633
|
+
"name": "pendingMigration",
|
|
3634
|
+
"inputs": [],
|
|
3635
|
+
"outputs": [
|
|
3636
|
+
{
|
|
3637
|
+
"name": "",
|
|
3638
|
+
"type": "tuple",
|
|
3639
|
+
"components": [
|
|
3640
|
+
{
|
|
3641
|
+
"name": "toWallet",
|
|
3642
|
+
"type": "address"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"name": "initiatedBlock",
|
|
3646
|
+
"type": "uint256"
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
"name": "confirmBlock",
|
|
3650
|
+
"type": "uint256"
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
"name": "currentOwner",
|
|
3654
|
+
"type": "address"
|
|
3655
|
+
}
|
|
3656
|
+
]
|
|
3657
|
+
}
|
|
3658
|
+
]
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"stateMutability": "view",
|
|
3662
|
+
"type": "function",
|
|
3663
|
+
"name": "isFrozen",
|
|
3581
3664
|
"inputs": [],
|
|
3582
3665
|
"outputs": [
|
|
3583
3666
|
{
|
|
@@ -3589,36 +3672,36 @@ export const abi = [
|
|
|
3589
3672
|
{
|
|
3590
3673
|
"stateMutability": "view",
|
|
3591
3674
|
"type": "function",
|
|
3592
|
-
"name": "
|
|
3675
|
+
"name": "inEjectMode",
|
|
3593
3676
|
"inputs": [],
|
|
3594
3677
|
"outputs": [
|
|
3595
3678
|
{
|
|
3596
3679
|
"name": "",
|
|
3597
|
-
"type": "
|
|
3680
|
+
"type": "bool"
|
|
3598
3681
|
}
|
|
3599
3682
|
]
|
|
3600
3683
|
},
|
|
3601
3684
|
{
|
|
3602
3685
|
"stateMutability": "view",
|
|
3603
3686
|
"type": "function",
|
|
3604
|
-
"name": "
|
|
3687
|
+
"name": "groupId",
|
|
3605
3688
|
"inputs": [],
|
|
3606
3689
|
"outputs": [
|
|
3607
3690
|
{
|
|
3608
3691
|
"name": "",
|
|
3609
|
-
"type": "
|
|
3692
|
+
"type": "uint256"
|
|
3610
3693
|
}
|
|
3611
3694
|
]
|
|
3612
3695
|
},
|
|
3613
3696
|
{
|
|
3614
3697
|
"stateMutability": "view",
|
|
3615
3698
|
"type": "function",
|
|
3616
|
-
"name": "
|
|
3699
|
+
"name": "startingAgent",
|
|
3617
3700
|
"inputs": [],
|
|
3618
3701
|
"outputs": [
|
|
3619
3702
|
{
|
|
3620
3703
|
"name": "",
|
|
3621
|
-
"type": "
|
|
3704
|
+
"type": "address"
|
|
3622
3705
|
}
|
|
3623
3706
|
]
|
|
3624
3707
|
},
|
|
@@ -4170,74 +4253,6 @@ export const abi = [
|
|
|
4170
4253
|
}
|
|
4171
4254
|
],
|
|
4172
4255
|
"outputs": []
|
|
4173
|
-
},
|
|
4174
|
-
{
|
|
4175
|
-
"stateMutability": "nonpayable",
|
|
4176
|
-
"type": "function",
|
|
4177
|
-
"name": "setTimeLock",
|
|
4178
|
-
"inputs": [
|
|
4179
|
-
{
|
|
4180
|
-
"name": "_numBlocks",
|
|
4181
|
-
"type": "uint256"
|
|
4182
|
-
}
|
|
4183
|
-
],
|
|
4184
|
-
"outputs": []
|
|
4185
|
-
},
|
|
4186
|
-
{
|
|
4187
|
-
"stateMutability": "nonpayable",
|
|
4188
|
-
"type": "function",
|
|
4189
|
-
"name": "setTimeLockViaMigrator",
|
|
4190
|
-
"inputs": [
|
|
4191
|
-
{
|
|
4192
|
-
"name": "_numBlocks",
|
|
4193
|
-
"type": "uint256"
|
|
4194
|
-
}
|
|
4195
|
-
],
|
|
4196
|
-
"outputs": []
|
|
4197
|
-
},
|
|
4198
|
-
{
|
|
4199
|
-
"stateMutability": "nonpayable",
|
|
4200
|
-
"type": "function",
|
|
4201
|
-
"name": "confirmPendingTimeLock",
|
|
4202
|
-
"inputs": [],
|
|
4203
|
-
"outputs": []
|
|
4204
|
-
},
|
|
4205
|
-
{
|
|
4206
|
-
"stateMutability": "nonpayable",
|
|
4207
|
-
"type": "function",
|
|
4208
|
-
"name": "cancelPendingTimeLock",
|
|
4209
|
-
"inputs": [],
|
|
4210
|
-
"outputs": []
|
|
4211
|
-
},
|
|
4212
|
-
{
|
|
4213
|
-
"stateMutability": "view",
|
|
4214
|
-
"type": "function",
|
|
4215
|
-
"name": "pendingTimeLock",
|
|
4216
|
-
"inputs": [],
|
|
4217
|
-
"outputs": [
|
|
4218
|
-
{
|
|
4219
|
-
"name": "",
|
|
4220
|
-
"type": "tuple",
|
|
4221
|
-
"components": [
|
|
4222
|
-
{
|
|
4223
|
-
"name": "newTimeLock",
|
|
4224
|
-
"type": "uint256"
|
|
4225
|
-
},
|
|
4226
|
-
{
|
|
4227
|
-
"name": "initiatedBlock",
|
|
4228
|
-
"type": "uint256"
|
|
4229
|
-
},
|
|
4230
|
-
{
|
|
4231
|
-
"name": "confirmBlock",
|
|
4232
|
-
"type": "uint256"
|
|
4233
|
-
},
|
|
4234
|
-
{
|
|
4235
|
-
"name": "currentOwner",
|
|
4236
|
-
"type": "address"
|
|
4237
|
-
}
|
|
4238
|
-
]
|
|
4239
|
-
}
|
|
4240
|
-
]
|
|
4241
4256
|
}
|
|
4242
4257
|
];
|
|
4243
4258
|
export const deployAddress = '0xbF7bAdf4c71102cA49b3f82D50348256cE6C10Fb';
|
|
@@ -4273,9 +4288,9 @@ export const call = {
|
|
|
4273
4288
|
owner: (...args) => getRequest('owner', args),
|
|
4274
4289
|
ownershipTimeLock: (...args) => getRequest('ownershipTimeLock', args),
|
|
4275
4290
|
pendingOwner: (...args) => getRequest('pendingOwner', args),
|
|
4291
|
+
pendingOwnershipTimeLock: (...args) => getRequest('pendingOwnershipTimeLock', args),
|
|
4276
4292
|
MIN_OWNERSHIP_TIMELOCK: (...args) => getRequest('MIN_OWNERSHIP_TIMELOCK', args),
|
|
4277
4293
|
MAX_OWNERSHIP_TIMELOCK: (...args) => getRequest('MAX_OWNERSHIP_TIMELOCK', args),
|
|
4278
|
-
apiVersion: (...args) => getRequest('apiVersion', args),
|
|
4279
4294
|
checkSignerPermissionsAndGetBundle: (...args) => getRequest('checkSignerPermissionsAndGetBundle', args),
|
|
4280
4295
|
isAgentSender: (...args) => getRequest('isAgentSender', args),
|
|
4281
4296
|
getActionDataBundle: (...args) => getRequest('getActionDataBundle', args),
|
|
@@ -4296,7 +4311,6 @@ export const call = {
|
|
|
4296
4311
|
payees: (...args) => getRequest('payees', args),
|
|
4297
4312
|
indexOfPayee: (...args) => getRequest('indexOfPayee', args),
|
|
4298
4313
|
numPayees: (...args) => getRequest('numPayees', args),
|
|
4299
|
-
pendingPayees: (...args) => getRequest('pendingPayees', args),
|
|
4300
4314
|
whitelistAddr: (...args) => getRequest('whitelistAddr', args),
|
|
4301
4315
|
indexOfWhitelist: (...args) => getRequest('indexOfWhitelist', args),
|
|
4302
4316
|
numWhitelisted: (...args) => getRequest('numWhitelisted', args),
|
|
@@ -4308,17 +4322,17 @@ export const call = {
|
|
|
4308
4322
|
globalManagerSettings: (...args) => getRequest('globalManagerSettings', args),
|
|
4309
4323
|
globalPayeeSettings: (...args) => getRequest('globalPayeeSettings', args),
|
|
4310
4324
|
timeLock: (...args) => getRequest('timeLock', args),
|
|
4325
|
+
pendingTimeLock: (...args) => getRequest('pendingTimeLock', args),
|
|
4326
|
+
pendingMigration: (...args) => getRequest('pendingMigration', args),
|
|
4311
4327
|
isFrozen: (...args) => getRequest('isFrozen', args),
|
|
4312
4328
|
inEjectMode: (...args) => getRequest('inEjectMode', args),
|
|
4313
4329
|
groupId: (...args) => getRequest('groupId', args),
|
|
4314
4330
|
startingAgent: (...args) => getRequest('startingAgent', args),
|
|
4315
|
-
didSetWallet: (...args) => getRequest('didSetWallet', args),
|
|
4316
4331
|
UNDY_HQ: (...args) => getRequest('UNDY_HQ', args),
|
|
4317
4332
|
WETH: (...args) => getRequest('WETH', args),
|
|
4318
4333
|
ETH: (...args) => getRequest('ETH', args),
|
|
4319
4334
|
MIN_TIMELOCK: (...args) => getRequest('MIN_TIMELOCK', args),
|
|
4320
4335
|
MAX_TIMELOCK: (...args) => getRequest('MAX_TIMELOCK', args),
|
|
4321
|
-
pendingTimeLock: (...args) => getRequest('pendingTimeLock', args),
|
|
4322
4336
|
};
|
|
4323
4337
|
function getMutation(functionName) {
|
|
4324
4338
|
return {
|
|
@@ -4334,7 +4348,15 @@ export const mutation = {
|
|
|
4334
4348
|
confirmOwnershipChange: getMutation('confirmOwnershipChange'),
|
|
4335
4349
|
cancelOwnershipChange: getMutation('cancelOwnershipChange'),
|
|
4336
4350
|
setOwnershipTimeLock: getMutation('setOwnershipTimeLock'),
|
|
4351
|
+
confirmPendingOwnershipTimeLock: getMutation('confirmPendingOwnershipTimeLock'),
|
|
4352
|
+
cancelPendingOwnershipTimeLock: getMutation('cancelPendingOwnershipTimeLock'),
|
|
4337
4353
|
setWallet: getMutation('setWallet'),
|
|
4354
|
+
setTimeLock: getMutation('setTimeLock'),
|
|
4355
|
+
setTimeLockViaMigrator: getMutation('setTimeLockViaMigrator'),
|
|
4356
|
+
confirmPendingTimeLock: getMutation('confirmPendingTimeLock'),
|
|
4357
|
+
cancelPendingTimeLock: getMutation('cancelPendingTimeLock'),
|
|
4358
|
+
setPendingMigration: getMutation('setPendingMigration'),
|
|
4359
|
+
clearPendingMigration: getMutation('clearPendingMigration'),
|
|
4338
4360
|
checkManagerLimitsPostTx: getMutation('checkManagerLimitsPostTx'),
|
|
4339
4361
|
checkRecipientLimitsAndUpdateData: getMutation('checkRecipientLimitsAndUpdateData'),
|
|
4340
4362
|
validateCheque: getMutation('validateCheque'),
|
|
@@ -4351,12 +4373,10 @@ export const mutation = {
|
|
|
4351
4373
|
updatePayee: getMutation('updatePayee'),
|
|
4352
4374
|
removePayee: getMutation('removePayee'),
|
|
4353
4375
|
setGlobalPayeeSettings: getMutation('setGlobalPayeeSettings'),
|
|
4354
|
-
addPendingPayee: getMutation('addPendingPayee'),
|
|
4355
|
-
confirmPendingPayee: getMutation('confirmPendingPayee'),
|
|
4356
|
-
cancelPendingPayee: getMutation('cancelPendingPayee'),
|
|
4357
4376
|
createCheque: getMutation('createCheque'),
|
|
4358
4377
|
cancelCheque: getMutation('cancelCheque'),
|
|
4359
4378
|
setChequeSettings: getMutation('setChequeSettings'),
|
|
4379
|
+
setChequeSettingsViaMigrator: getMutation('setChequeSettingsViaMigrator'),
|
|
4360
4380
|
updateAssetData: getMutation('updateAssetData'),
|
|
4361
4381
|
updateAllAssetData: getMutation('updateAllAssetData'),
|
|
4362
4382
|
migrateFunds: getMutation('migrateFunds'),
|
|
@@ -4372,10 +4392,6 @@ export const mutation = {
|
|
|
4372
4392
|
setPaymaster: getMutation('setPaymaster'),
|
|
4373
4393
|
setChequeBook: getMutation('setChequeBook'),
|
|
4374
4394
|
setMigrator: getMutation('setMigrator'),
|
|
4375
|
-
setTimeLock: getMutation('setTimeLock'),
|
|
4376
|
-
setTimeLockViaMigrator: getMutation('setTimeLockViaMigrator'),
|
|
4377
|
-
confirmPendingTimeLock: getMutation('confirmPendingTimeLock'),
|
|
4378
|
-
cancelPendingTimeLock: getMutation('cancelPendingTimeLock'),
|
|
4379
4395
|
};
|
|
4380
4396
|
export function parseEvents(eventName, events) {
|
|
4381
4397
|
return events.map((event) => {
|
|
@@ -4403,16 +4419,19 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
4403
4419
|
OwnershipChangeInitiated: { topic: getEventTopic('OwnershipChangeInitiated'), parse: (events) => parseEvents('OwnershipChangeInitiated', events) },
|
|
4404
4420
|
OwnershipChangeConfirmed: { topic: getEventTopic('OwnershipChangeConfirmed'), parse: (events) => parseEvents('OwnershipChangeConfirmed', events) },
|
|
4405
4421
|
OwnershipChangeCancelled: { topic: getEventTopic('OwnershipChangeCancelled'), parse: (events) => parseEvents('OwnershipChangeCancelled', events) },
|
|
4422
|
+
PendingOwnershipTimeLockCancelled: { topic: getEventTopic('PendingOwnershipTimeLockCancelled'), parse: (events) => parseEvents('PendingOwnershipTimeLockCancelled', events) },
|
|
4406
4423
|
OwnershipTimeLockSet: { topic: getEventTopic('OwnershipTimeLockSet'), parse: (events) => parseEvents('OwnershipTimeLockSet', events) },
|
|
4424
|
+
PendingOwnershipTimeLockSet: { topic: getEventTopic('PendingOwnershipTimeLockSet'), parse: (events) => parseEvents('PendingOwnershipTimeLockSet', events) },
|
|
4425
|
+
PendingOwnershipTimeLockConfirmed: { topic: getEventTopic('PendingOwnershipTimeLockConfirmed'), parse: (events) => parseEvents('PendingOwnershipTimeLockConfirmed', events) },
|
|
4407
4426
|
},
|
|
4408
4427
|
// Queries
|
|
4409
4428
|
hasPendingOwnerChange: (...args) => singleQuery(publicClient, call.hasPendingOwnerChange(...args).at(deployAddress), {}, addressResolver),
|
|
4410
4429
|
owner: (...args) => singleQuery(publicClient, call.owner(...args).at(deployAddress), {}, addressResolver),
|
|
4411
4430
|
ownershipTimeLock: (...args) => singleQuery(publicClient, call.ownershipTimeLock(...args).at(deployAddress), {}, addressResolver),
|
|
4412
4431
|
pendingOwner: (...args) => singleQuery(publicClient, call.pendingOwner(...args).at(deployAddress), {}, addressResolver),
|
|
4432
|
+
pendingOwnershipTimeLock: (...args) => singleQuery(publicClient, call.pendingOwnershipTimeLock(...args).at(deployAddress), {}, addressResolver),
|
|
4413
4433
|
MIN_OWNERSHIP_TIMELOCK: (...args) => singleQuery(publicClient, call.MIN_OWNERSHIP_TIMELOCK(...args).at(deployAddress), {}, addressResolver),
|
|
4414
4434
|
MAX_OWNERSHIP_TIMELOCK: (...args) => singleQuery(publicClient, call.MAX_OWNERSHIP_TIMELOCK(...args).at(deployAddress), {}, addressResolver),
|
|
4415
|
-
apiVersion: (...args) => singleQuery(publicClient, call.apiVersion(...args).at(deployAddress), {}, addressResolver),
|
|
4416
4435
|
checkSignerPermissionsAndGetBundle: (...args) => singleQuery(publicClient, call.checkSignerPermissionsAndGetBundle(...args).at(deployAddress), {}, addressResolver),
|
|
4417
4436
|
isAgentSender: (...args) => singleQuery(publicClient, call.isAgentSender(...args).at(deployAddress), {}, addressResolver),
|
|
4418
4437
|
getActionDataBundle: (...args) => singleQuery(publicClient, call.getActionDataBundle(...args).at(deployAddress), {}, addressResolver),
|
|
@@ -4433,7 +4452,6 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
4433
4452
|
payees: (...args) => singleQuery(publicClient, call.payees(...args).at(deployAddress), {}, addressResolver),
|
|
4434
4453
|
indexOfPayee: (...args) => singleQuery(publicClient, call.indexOfPayee(...args).at(deployAddress), {}, addressResolver),
|
|
4435
4454
|
numPayees: (...args) => singleQuery(publicClient, call.numPayees(...args).at(deployAddress), {}, addressResolver),
|
|
4436
|
-
pendingPayees: (...args) => singleQuery(publicClient, call.pendingPayees(...args).at(deployAddress), {}, addressResolver),
|
|
4437
4455
|
whitelistAddr: (...args) => singleQuery(publicClient, call.whitelistAddr(...args).at(deployAddress), {}, addressResolver),
|
|
4438
4456
|
indexOfWhitelist: (...args) => singleQuery(publicClient, call.indexOfWhitelist(...args).at(deployAddress), {}, addressResolver),
|
|
4439
4457
|
numWhitelisted: (...args) => singleQuery(publicClient, call.numWhitelisted(...args).at(deployAddress), {}, addressResolver),
|
|
@@ -4445,23 +4463,31 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
4445
4463
|
globalManagerSettings: (...args) => singleQuery(publicClient, call.globalManagerSettings(...args).at(deployAddress), {}, addressResolver),
|
|
4446
4464
|
globalPayeeSettings: (...args) => singleQuery(publicClient, call.globalPayeeSettings(...args).at(deployAddress), {}, addressResolver),
|
|
4447
4465
|
timeLock: (...args) => singleQuery(publicClient, call.timeLock(...args).at(deployAddress), {}, addressResolver),
|
|
4466
|
+
pendingTimeLock: (...args) => singleQuery(publicClient, call.pendingTimeLock(...args).at(deployAddress), {}, addressResolver),
|
|
4467
|
+
pendingMigration: (...args) => singleQuery(publicClient, call.pendingMigration(...args).at(deployAddress), {}, addressResolver),
|
|
4448
4468
|
isFrozen: (...args) => singleQuery(publicClient, call.isFrozen(...args).at(deployAddress), {}, addressResolver),
|
|
4449
4469
|
inEjectMode: (...args) => singleQuery(publicClient, call.inEjectMode(...args).at(deployAddress), {}, addressResolver),
|
|
4450
4470
|
groupId: (...args) => singleQuery(publicClient, call.groupId(...args).at(deployAddress), {}, addressResolver),
|
|
4451
4471
|
startingAgent: (...args) => singleQuery(publicClient, call.startingAgent(...args).at(deployAddress), {}, addressResolver),
|
|
4452
|
-
didSetWallet: (...args) => singleQuery(publicClient, call.didSetWallet(...args).at(deployAddress), {}, addressResolver),
|
|
4453
4472
|
UNDY_HQ: (...args) => singleQuery(publicClient, call.UNDY_HQ(...args).at(deployAddress), {}, addressResolver),
|
|
4454
4473
|
WETH: (...args) => singleQuery(publicClient, call.WETH(...args).at(deployAddress), {}, addressResolver),
|
|
4455
4474
|
ETH: (...args) => singleQuery(publicClient, call.ETH(...args).at(deployAddress), {}, addressResolver),
|
|
4456
4475
|
MIN_TIMELOCK: (...args) => singleQuery(publicClient, call.MIN_TIMELOCK(...args).at(deployAddress), {}, addressResolver),
|
|
4457
4476
|
MAX_TIMELOCK: (...args) => singleQuery(publicClient, call.MAX_TIMELOCK(...args).at(deployAddress), {}, addressResolver),
|
|
4458
|
-
pendingTimeLock: (...args) => singleQuery(publicClient, call.pendingTimeLock(...args).at(deployAddress), {}, addressResolver),
|
|
4459
4477
|
// Mutations
|
|
4460
4478
|
changeOwnership: (...args) => mutate(walletClient, mutation.changeOwnership, { address: deployAddress, addressResolver })(...args),
|
|
4461
4479
|
confirmOwnershipChange: (...args) => mutate(walletClient, mutation.confirmOwnershipChange, { address: deployAddress, addressResolver })(...args),
|
|
4462
4480
|
cancelOwnershipChange: (...args) => mutate(walletClient, mutation.cancelOwnershipChange, { address: deployAddress, addressResolver })(...args),
|
|
4463
4481
|
setOwnershipTimeLock: (...args) => mutate(walletClient, mutation.setOwnershipTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4482
|
+
confirmPendingOwnershipTimeLock: (...args) => mutate(walletClient, mutation.confirmPendingOwnershipTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4483
|
+
cancelPendingOwnershipTimeLock: (...args) => mutate(walletClient, mutation.cancelPendingOwnershipTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4464
4484
|
setWallet: (...args) => mutate(walletClient, mutation.setWallet, { address: deployAddress, addressResolver })(...args),
|
|
4485
|
+
setTimeLock: (...args) => mutate(walletClient, mutation.setTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4486
|
+
setTimeLockViaMigrator: (...args) => mutate(walletClient, mutation.setTimeLockViaMigrator, { address: deployAddress, addressResolver })(...args),
|
|
4487
|
+
confirmPendingTimeLock: (...args) => mutate(walletClient, mutation.confirmPendingTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4488
|
+
cancelPendingTimeLock: (...args) => mutate(walletClient, mutation.cancelPendingTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4489
|
+
setPendingMigration: (...args) => mutate(walletClient, mutation.setPendingMigration, { address: deployAddress, addressResolver })(...args),
|
|
4490
|
+
clearPendingMigration: (...args) => mutate(walletClient, mutation.clearPendingMigration, { address: deployAddress, addressResolver })(...args),
|
|
4465
4491
|
checkManagerLimitsPostTx: (...args) => mutate(walletClient, mutation.checkManagerLimitsPostTx, { address: deployAddress, addressResolver })(...args),
|
|
4466
4492
|
checkRecipientLimitsAndUpdateData: (...args) => mutate(walletClient, mutation.checkRecipientLimitsAndUpdateData, { address: deployAddress, addressResolver })(...args),
|
|
4467
4493
|
validateCheque: (...args) => mutate(walletClient, mutation.validateCheque, { address: deployAddress, addressResolver })(...args),
|
|
@@ -4478,12 +4504,10 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
4478
4504
|
updatePayee: (...args) => mutate(walletClient, mutation.updatePayee, { address: deployAddress, addressResolver })(...args),
|
|
4479
4505
|
removePayee: (...args) => mutate(walletClient, mutation.removePayee, { address: deployAddress, addressResolver })(...args),
|
|
4480
4506
|
setGlobalPayeeSettings: (...args) => mutate(walletClient, mutation.setGlobalPayeeSettings, { address: deployAddress, addressResolver })(...args),
|
|
4481
|
-
addPendingPayee: (...args) => mutate(walletClient, mutation.addPendingPayee, { address: deployAddress, addressResolver })(...args),
|
|
4482
|
-
confirmPendingPayee: (...args) => mutate(walletClient, mutation.confirmPendingPayee, { address: deployAddress, addressResolver })(...args),
|
|
4483
|
-
cancelPendingPayee: (...args) => mutate(walletClient, mutation.cancelPendingPayee, { address: deployAddress, addressResolver })(...args),
|
|
4484
4507
|
createCheque: (...args) => mutate(walletClient, mutation.createCheque, { address: deployAddress, addressResolver })(...args),
|
|
4485
4508
|
cancelCheque: (...args) => mutate(walletClient, mutation.cancelCheque, { address: deployAddress, addressResolver })(...args),
|
|
4486
4509
|
setChequeSettings: (...args) => mutate(walletClient, mutation.setChequeSettings, { address: deployAddress, addressResolver })(...args),
|
|
4510
|
+
setChequeSettingsViaMigrator: (...args) => mutate(walletClient, mutation.setChequeSettingsViaMigrator, { address: deployAddress, addressResolver })(...args),
|
|
4487
4511
|
updateAssetData: (...args) => mutate(walletClient, mutation.updateAssetData, { address: deployAddress, addressResolver })(...args),
|
|
4488
4512
|
updateAllAssetData: (...args) => mutate(walletClient, mutation.updateAllAssetData, { address: deployAddress, addressResolver })(...args),
|
|
4489
4513
|
migrateFunds: (...args) => mutate(walletClient, mutation.migrateFunds, { address: deployAddress, addressResolver })(...args),
|
|
@@ -4499,9 +4523,5 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
4499
4523
|
setPaymaster: (...args) => mutate(walletClient, mutation.setPaymaster, { address: deployAddress, addressResolver })(...args),
|
|
4500
4524
|
setChequeBook: (...args) => mutate(walletClient, mutation.setChequeBook, { address: deployAddress, addressResolver })(...args),
|
|
4501
4525
|
setMigrator: (...args) => mutate(walletClient, mutation.setMigrator, { address: deployAddress, addressResolver })(...args),
|
|
4502
|
-
setTimeLock: (...args) => mutate(walletClient, mutation.setTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4503
|
-
setTimeLockViaMigrator: (...args) => mutate(walletClient, mutation.setTimeLockViaMigrator, { address: deployAddress, addressResolver })(...args),
|
|
4504
|
-
confirmPendingTimeLock: (...args) => mutate(walletClient, mutation.confirmPendingTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4505
|
-
cancelPendingTimeLock: (...args) => mutate(walletClient, mutation.cancelPendingTimeLock, { address: deployAddress, addressResolver })(...args),
|
|
4506
4526
|
};
|
|
4507
4527
|
}
|