@ercworldio/blockchain-shared 1.0.5-dev.7-PROJ-1469.1 → 1.0.5-dev.7.PROJ-1464.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/escrow.json`.
6
6
  */
7
7
  export type Escrow = {
8
- "address": "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu";
8
+ "address": "Cr1fJwtExaPdYG8huC5axiW2m2knSoTumLzYBj9rMjCd";
9
9
  "metadata": {
10
10
  "name": "escrow";
11
11
  "version": "0.1.0";
@@ -398,170 +398,6 @@ export type Escrow = {
398
398
  }
399
399
  ];
400
400
  },
401
- {
402
- "name": "addTreasuryExecutive";
403
- "discriminator": [
404
- 189,
405
- 35,
406
- 102,
407
- 15,
408
- 239,
409
- 52,
410
- 121,
411
- 33
412
- ];
413
- "accounts": [
414
- {
415
- "name": "escrowConfig";
416
- "pda": {
417
- "seeds": [
418
- {
419
- "kind": "const";
420
- "value": [
421
- 101,
422
- 115,
423
- 99,
424
- 114,
425
- 111,
426
- 119,
427
- 45,
428
- 99,
429
- 111,
430
- 110,
431
- 102,
432
- 105,
433
- 103,
434
- 45,
435
- 118,
436
- 50
437
- ];
438
- }
439
- ];
440
- };
441
- },
442
- {
443
- "name": "treasuryConfig";
444
- "writable": true;
445
- "pda": {
446
- "seeds": [
447
- {
448
- "kind": "const";
449
- "value": [
450
- 116,
451
- 114,
452
- 101,
453
- 97,
454
- 115,
455
- 117,
456
- 114,
457
- 121,
458
- 45,
459
- 99,
460
- 111,
461
- 110,
462
- 102,
463
- 105,
464
- 103
465
- ];
466
- }
467
- ];
468
- };
469
- },
470
- {
471
- "name": "admin";
472
- "writable": true;
473
- "signer": true;
474
- }
475
- ];
476
- "args": [
477
- {
478
- "name": "pubkey";
479
- "type": "pubkey";
480
- }
481
- ];
482
- },
483
- {
484
- "name": "addTreasuryManager";
485
- "discriminator": [
486
- 154,
487
- 51,
488
- 204,
489
- 205,
490
- 2,
491
- 57,
492
- 52,
493
- 21
494
- ];
495
- "accounts": [
496
- {
497
- "name": "escrowConfig";
498
- "pda": {
499
- "seeds": [
500
- {
501
- "kind": "const";
502
- "value": [
503
- 101,
504
- 115,
505
- 99,
506
- 114,
507
- 111,
508
- 119,
509
- 45,
510
- 99,
511
- 111,
512
- 110,
513
- 102,
514
- 105,
515
- 103,
516
- 45,
517
- 118,
518
- 50
519
- ];
520
- }
521
- ];
522
- };
523
- },
524
- {
525
- "name": "treasuryConfig";
526
- "writable": true;
527
- "pda": {
528
- "seeds": [
529
- {
530
- "kind": "const";
531
- "value": [
532
- 116,
533
- 114,
534
- 101,
535
- 97,
536
- 115,
537
- 117,
538
- 114,
539
- 121,
540
- 45,
541
- 99,
542
- 111,
543
- 110,
544
- 102,
545
- 105,
546
- 103
547
- ];
548
- }
549
- ];
550
- };
551
- },
552
- {
553
- "name": "admin";
554
- "writable": true;
555
- "signer": true;
556
- }
557
- ];
558
- "args": [
559
- {
560
- "name": "pubkey";
561
- "type": "pubkey";
562
- }
563
- ];
564
- },
565
401
  {
566
402
  "name": "adminDepositSol";
567
403
  "docs": [
@@ -991,91 +827,6 @@ export type Escrow = {
991
827
  }
992
828
  ];
993
829
  },
994
- {
995
- "name": "cancelWithdrawal";
996
- "discriminator": [
997
- 183,
998
- 104,
999
- 181,
1000
- 250,
1001
- 28,
1002
- 128,
1003
- 210,
1004
- 70
1005
- ];
1006
- "accounts": [
1007
- {
1008
- "name": "escrowConfig";
1009
- "pda": {
1010
- "seeds": [
1011
- {
1012
- "kind": "const";
1013
- "value": [
1014
- 101,
1015
- 115,
1016
- 99,
1017
- 114,
1018
- 111,
1019
- 119,
1020
- 45,
1021
- 99,
1022
- 111,
1023
- 110,
1024
- 102,
1025
- 105,
1026
- 103,
1027
- 45,
1028
- 118,
1029
- 50
1030
- ];
1031
- }
1032
- ];
1033
- };
1034
- },
1035
- {
1036
- "name": "commitment";
1037
- "writable": true;
1038
- "pda": {
1039
- "seeds": [
1040
- {
1041
- "kind": "const";
1042
- "value": [
1043
- 119,
1044
- 105,
1045
- 116,
1046
- 104,
1047
- 100,
1048
- 114,
1049
- 97,
1050
- 119,
1051
- 97,
1052
- 108
1053
- ];
1054
- },
1055
- {
1056
- "kind": "arg";
1057
- "path": "requestId";
1058
- }
1059
- ];
1060
- };
1061
- },
1062
- {
1063
- "name": "admin";
1064
- "writable": true;
1065
- "signer": true;
1066
- },
1067
- {
1068
- "name": "systemProgram";
1069
- "address": "11111111111111111111111111111111";
1070
- }
1071
- ];
1072
- "args": [
1073
- {
1074
- "name": "requestId";
1075
- "type": "u64";
1076
- }
1077
- ];
1078
- },
1079
830
  {
1080
831
  "name": "depositSol";
1081
832
  "discriminator": [
@@ -1425,76 +1176,140 @@ export type Escrow = {
1425
1176
  ];
1426
1177
  },
1427
1178
  {
1428
- "name": "executeWithdrawalSol";
1179
+ "name": "getNonce";
1429
1180
  "discriminator": [
1430
- 56,
1431
- 220,
1432
- 82,
1433
- 197,
1434
- 255,
1435
- 165,
1436
- 245,
1437
- 186
1181
+ 132,
1182
+ 129,
1183
+ 238,
1184
+ 76,
1185
+ 118,
1186
+ 10,
1187
+ 212,
1188
+ 7
1438
1189
  ];
1439
1190
  "accounts": [
1440
1191
  {
1441
- "name": "escrowConfig";
1192
+ "name": "nonceAccount";
1193
+ "writable": true;
1442
1194
  "pda": {
1443
1195
  "seeds": [
1444
1196
  {
1445
1197
  "kind": "const";
1446
1198
  "value": [
1447
- 101,
1448
- 115,
1449
- 99,
1199
+ 119,
1200
+ 105,
1201
+ 116,
1202
+ 104,
1203
+ 100,
1450
1204
  114,
1451
- 111,
1205
+ 97,
1452
1206
  119,
1453
1207
  45,
1454
- 99,
1208
+ 110,
1455
1209
  111,
1456
1210
  110,
1457
- 102,
1458
- 105,
1459
- 103,
1460
- 45,
1461
- 118,
1462
- 50
1211
+ 99,
1212
+ 101
1463
1213
  ];
1214
+ },
1215
+ {
1216
+ "kind": "account";
1217
+ "path": "user";
1464
1218
  }
1465
1219
  ];
1466
1220
  };
1467
1221
  },
1468
1222
  {
1469
- "name": "commitment";
1223
+ "name": "user";
1224
+ "writable": true;
1225
+ "signer": true;
1226
+ },
1227
+ {
1228
+ "name": "systemProgram";
1229
+ "address": "11111111111111111111111111111111";
1230
+ }
1231
+ ];
1232
+ "args": [];
1233
+ "returns": "u64";
1234
+ },
1235
+ {
1236
+ "name": "initializeEscrowConfig";
1237
+ "discriminator": [
1238
+ 59,
1239
+ 6,
1240
+ 201,
1241
+ 67,
1242
+ 235,
1243
+ 49,
1244
+ 169,
1245
+ 95
1246
+ ];
1247
+ "accounts": [
1248
+ {
1249
+ "name": "escrowConfig";
1470
1250
  "writable": true;
1471
1251
  "pda": {
1472
1252
  "seeds": [
1473
1253
  {
1474
1254
  "kind": "const";
1475
1255
  "value": [
1476
- 119,
1477
- 105,
1478
- 116,
1479
- 104,
1480
- 100,
1256
+ 101,
1257
+ 115,
1258
+ 99,
1481
1259
  114,
1482
- 97,
1260
+ 111,
1483
1261
  119,
1484
- 97,
1485
- 108
1262
+ 45,
1263
+ 99,
1264
+ 111,
1265
+ 110,
1266
+ 102,
1267
+ 105,
1268
+ 103,
1269
+ 45,
1270
+ 118,
1271
+ 50
1486
1272
  ];
1487
- },
1488
- {
1489
- "kind": "arg";
1490
- "path": "requestId";
1491
1273
  }
1492
1274
  ];
1493
1275
  };
1494
1276
  },
1495
1277
  {
1496
- "name": "vaultAuthority";
1278
+ "name": "admin";
1497
1279
  "writable": true;
1280
+ "signer": true;
1281
+ },
1282
+ {
1283
+ "name": "systemProgram";
1284
+ "address": "11111111111111111111111111111111";
1285
+ }
1286
+ ];
1287
+ "args": [
1288
+ {
1289
+ "name": "signerPubkey";
1290
+ "type": "pubkey";
1291
+ },
1292
+ {
1293
+ "name": "fundingPubkey";
1294
+ "type": "pubkey";
1295
+ }
1296
+ ];
1297
+ },
1298
+ {
1299
+ "name": "isAdminPubkey";
1300
+ "discriminator": [
1301
+ 121,
1302
+ 139,
1303
+ 38,
1304
+ 24,
1305
+ 170,
1306
+ 99,
1307
+ 139,
1308
+ 243
1309
+ ];
1310
+ "accounts": [
1311
+ {
1312
+ "name": "escrowConfig";
1498
1313
  "pda": {
1499
1314
  "seeds": [
1500
1315
  {
@@ -1505,44 +1320,42 @@ export type Escrow = {
1505
1320
  99,
1506
1321
  114,
1507
1322
  111,
1508
- 119
1323
+ 119,
1324
+ 45,
1325
+ 99,
1326
+ 111,
1327
+ 110,
1328
+ 102,
1329
+ 105,
1330
+ 103,
1331
+ 45,
1332
+ 118,
1333
+ 50
1509
1334
  ];
1510
1335
  }
1511
1336
  ];
1512
1337
  };
1513
- },
1514
- {
1515
- "name": "recipient";
1516
- "writable": true;
1517
- },
1518
- {
1519
- "name": "caller";
1520
- "writable": true;
1521
- "signer": true;
1522
- },
1523
- {
1524
- "name": "systemProgram";
1525
- "address": "11111111111111111111111111111111";
1526
1338
  }
1527
1339
  ];
1528
1340
  "args": [
1529
1341
  {
1530
- "name": "requestId";
1531
- "type": "u64";
1342
+ "name": "account";
1343
+ "type": "pubkey";
1532
1344
  }
1533
1345
  ];
1346
+ "returns": "bool";
1534
1347
  },
1535
1348
  {
1536
- "name": "executeWithdrawalSpl";
1349
+ "name": "isFundingPubkey";
1537
1350
  "discriminator": [
1538
- 61,
1351
+ 252,
1352
+ 56,
1353
+ 255,
1354
+ 21,
1355
+ 13,
1539
1356
  63,
1540
- 171,
1541
- 104,
1542
- 233,
1543
- 62,
1544
- 148,
1545
- 55
1357
+ 211,
1358
+ 163
1546
1359
  ];
1547
1360
  "accounts": [
1548
1361
  {
@@ -1572,39 +1385,76 @@ export type Escrow = {
1572
1385
  }
1573
1386
  ];
1574
1387
  };
1575
- },
1388
+ }
1389
+ ];
1390
+ "args": [
1576
1391
  {
1577
- "name": "commitment";
1578
- "writable": true;
1392
+ "name": "account";
1393
+ "type": "pubkey";
1394
+ }
1395
+ ];
1396
+ "returns": "bool";
1397
+ },
1398
+ {
1399
+ "name": "isInitializedConfig";
1400
+ "discriminator": [
1401
+ 113,
1402
+ 162,
1403
+ 133,
1404
+ 92,
1405
+ 161,
1406
+ 73,
1407
+ 200,
1408
+ 232
1409
+ ];
1410
+ "accounts": [
1411
+ {
1412
+ "name": "escrowConfig";
1579
1413
  "pda": {
1580
1414
  "seeds": [
1581
1415
  {
1582
1416
  "kind": "const";
1583
1417
  "value": [
1584
- 119,
1585
- 105,
1586
- 116,
1587
- 104,
1588
- 100,
1418
+ 101,
1419
+ 115,
1420
+ 99,
1589
1421
  114,
1590
- 97,
1422
+ 111,
1591
1423
  119,
1592
- 97,
1593
- 108
1424
+ 45,
1425
+ 99,
1426
+ 111,
1427
+ 110,
1428
+ 102,
1429
+ 105,
1430
+ 103,
1431
+ 45,
1432
+ 118,
1433
+ 50
1594
1434
  ];
1595
- },
1596
- {
1597
- "kind": "arg";
1598
- "path": "requestId";
1599
1435
  }
1600
1436
  ];
1601
1437
  };
1602
- },
1603
- {
1604
- "name": "mint";
1605
- },
1438
+ }
1439
+ ];
1440
+ "args": [];
1441
+ "returns": "bool";
1442
+ },
1443
+ {
1444
+ "name": "isPaymentToken";
1445
+ "discriminator": [
1446
+ 103,
1447
+ 61,
1448
+ 217,
1449
+ 183,
1450
+ 71,
1451
+ 112,
1452
+ 38,
1453
+ 108
1454
+ ];
1455
+ "accounts": [
1606
1456
  {
1607
- "name": "vaultAuthority";
1457
+ "name": "escrowConfig";
1608
1458
  "pda": {
1609
1459
  "seeds": [
1610
1460
  {
@@ -1615,204 +1465,110 @@ export type Escrow = {
1615
1465
  99,
1616
1466
  114,
1617
1467
  111,
1618
- 119
1468
+ 119,
1469
+ 45,
1470
+ 99,
1471
+ 111,
1472
+ 110,
1473
+ 102,
1474
+ 105,
1475
+ 103,
1476
+ 45,
1477
+ 118,
1478
+ 50
1619
1479
  ];
1620
1480
  }
1621
1481
  ];
1622
1482
  };
1623
- },
1483
+ }
1484
+ ];
1485
+ "args": [
1624
1486
  {
1625
- "name": "vaultTokenAccount";
1487
+ "name": "token";
1488
+ "type": "pubkey";
1489
+ }
1490
+ ];
1491
+ "returns": "bool";
1492
+ },
1493
+ {
1494
+ "name": "migrateEscrowConfig";
1495
+ "discriminator": [
1496
+ 221,
1497
+ 224,
1498
+ 135,
1499
+ 120,
1500
+ 28,
1501
+ 10,
1502
+ 75,
1503
+ 20
1504
+ ];
1505
+ "accounts": [
1506
+ {
1507
+ "name": "escrowConfig";
1508
+ "docs": [
1509
+ "Old account (smaller)"
1510
+ ];
1626
1511
  "writable": true;
1627
1512
  "pda": {
1628
1513
  "seeds": [
1629
- {
1630
- "kind": "account";
1631
- "path": "vaultAuthority";
1632
- },
1633
1514
  {
1634
1515
  "kind": "const";
1635
1516
  "value": [
1636
- 6,
1637
- 221,
1638
- 246,
1639
- 225,
1640
- 215,
1641
1517
  101,
1642
- 161,
1643
- 147,
1644
- 217,
1645
- 203,
1646
- 225,
1647
- 70,
1648
- 206,
1649
- 235,
1650
- 121,
1651
- 172,
1652
- 28,
1653
- 180,
1654
- 133,
1655
- 237,
1656
- 95,
1657
- 91,
1658
- 55,
1659
- 145,
1660
- 58,
1661
- 140,
1662
- 245,
1663
- 133,
1664
- 126,
1665
- 255,
1666
- 0,
1667
- 169
1518
+ 115,
1519
+ 99,
1520
+ 114,
1521
+ 111,
1522
+ 119,
1523
+ 45,
1524
+ 99,
1525
+ 111,
1526
+ 110,
1527
+ 102,
1528
+ 105,
1529
+ 103
1668
1530
  ];
1669
- },
1670
- {
1671
- "kind": "account";
1672
- "path": "mint";
1673
1531
  }
1674
1532
  ];
1675
- "program": {
1676
- "kind": "const";
1677
- "value": [
1678
- 140,
1679
- 151,
1680
- 37,
1681
- 143,
1682
- 78,
1683
- 36,
1684
- 137,
1685
- 241,
1686
- 187,
1687
- 61,
1688
- 16,
1689
- 41,
1690
- 20,
1691
- 142,
1692
- 13,
1693
- 131,
1694
- 11,
1695
- 90,
1696
- 19,
1697
- 153,
1698
- 218,
1699
- 255,
1700
- 16,
1701
- 132,
1702
- 4,
1703
- 142,
1704
- 123,
1705
- 216,
1706
- 219,
1707
- 233,
1708
- 248,
1709
- 89
1710
- ];
1711
- };
1712
1533
  };
1713
1534
  },
1714
1535
  {
1715
- "name": "recipient";
1716
- },
1717
- {
1718
- "name": "recipientTokenAccount";
1536
+ "name": "newEscrowConfig";
1537
+ "docs": [
1538
+ "New account with more space"
1539
+ ];
1719
1540
  "writable": true;
1720
1541
  "pda": {
1721
1542
  "seeds": [
1722
- {
1723
- "kind": "account";
1724
- "path": "recipient";
1725
- },
1726
1543
  {
1727
1544
  "kind": "const";
1728
1545
  "value": [
1729
- 6,
1730
- 221,
1731
- 246,
1732
- 225,
1733
- 215,
1734
1546
  101,
1735
- 161,
1736
- 147,
1737
- 217,
1738
- 203,
1739
- 225,
1740
- 70,
1741
- 206,
1742
- 235,
1743
- 121,
1744
- 172,
1745
- 28,
1746
- 180,
1747
- 133,
1748
- 237,
1749
- 95,
1750
- 91,
1751
- 55,
1752
- 145,
1753
- 58,
1754
- 140,
1755
- 245,
1756
- 133,
1757
- 126,
1758
- 255,
1759
- 0,
1760
- 169
1547
+ 115,
1548
+ 99,
1549
+ 114,
1550
+ 111,
1551
+ 119,
1552
+ 45,
1553
+ 99,
1554
+ 111,
1555
+ 110,
1556
+ 102,
1557
+ 105,
1558
+ 103,
1559
+ 45,
1560
+ 118,
1561
+ 50
1761
1562
  ];
1762
- },
1763
- {
1764
- "kind": "account";
1765
- "path": "mint";
1766
1563
  }
1767
1564
  ];
1768
- "program": {
1769
- "kind": "const";
1770
- "value": [
1771
- 140,
1772
- 151,
1773
- 37,
1774
- 143,
1775
- 78,
1776
- 36,
1777
- 137,
1778
- 241,
1779
- 187,
1780
- 61,
1781
- 16,
1782
- 41,
1783
- 20,
1784
- 142,
1785
- 13,
1786
- 131,
1787
- 11,
1788
- 90,
1789
- 19,
1790
- 153,
1791
- 218,
1792
- 255,
1793
- 16,
1794
- 132,
1795
- 4,
1796
- 142,
1797
- 123,
1798
- 216,
1799
- 219,
1800
- 233,
1801
- 248,
1802
- 89
1803
- ];
1804
- };
1805
1565
  };
1806
1566
  },
1807
1567
  {
1808
- "name": "caller";
1568
+ "name": "admin";
1809
1569
  "writable": true;
1810
1570
  "signer": true;
1811
1571
  },
1812
- {
1813
- "name": "tokenProgram";
1814
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
1815
- },
1816
1572
  {
1817
1573
  "name": "systemProgram";
1818
1574
  "address": "11111111111111111111111111111111";
@@ -1820,57 +1576,67 @@ export type Escrow = {
1820
1576
  ];
1821
1577
  "args": [
1822
1578
  {
1823
- "name": "requestId";
1824
- "type": "u64";
1579
+ "name": "admins";
1580
+ "type": {
1581
+ "vec": "pubkey";
1582
+ };
1583
+ },
1584
+ {
1585
+ "name": "paymentTokens";
1586
+ "type": {
1587
+ "vec": "pubkey";
1588
+ };
1589
+ },
1590
+ {
1591
+ "name": "fundingWallet";
1592
+ "type": "pubkey";
1825
1593
  }
1826
1594
  ];
1827
1595
  },
1828
1596
  {
1829
- "name": "getNonce";
1597
+ "name": "pauseProgram";
1830
1598
  "discriminator": [
1831
- 132,
1832
- 129,
1833
- 238,
1834
- 76,
1835
- 118,
1836
- 10,
1837
- 212,
1838
- 7
1599
+ 91,
1600
+ 86,
1601
+ 253,
1602
+ 175,
1603
+ 66,
1604
+ 236,
1605
+ 172,
1606
+ 124
1839
1607
  ];
1840
1608
  "accounts": [
1841
1609
  {
1842
- "name": "nonceAccount";
1610
+ "name": "escrowConfig";
1843
1611
  "writable": true;
1844
1612
  "pda": {
1845
1613
  "seeds": [
1846
1614
  {
1847
1615
  "kind": "const";
1848
1616
  "value": [
1849
- 119,
1850
- 105,
1851
- 116,
1852
- 104,
1853
- 100,
1617
+ 101,
1618
+ 115,
1619
+ 99,
1854
1620
  114,
1855
- 97,
1621
+ 111,
1856
1622
  119,
1857
1623
  45,
1858
- 110,
1624
+ 99,
1859
1625
  111,
1860
1626
  110,
1861
- 99,
1862
- 101
1627
+ 102,
1628
+ 105,
1629
+ 103,
1630
+ 45,
1631
+ 118,
1632
+ 50
1863
1633
  ];
1864
- },
1865
- {
1866
- "kind": "account";
1867
- "path": "user";
1868
1634
  }
1869
1635
  ];
1870
1636
  };
1871
1637
  },
1872
1638
  {
1873
- "name": "user";
1639
+ "name": "admin";
1874
1640
  "writable": true;
1875
1641
  "signer": true;
1876
1642
  },
@@ -1879,20 +1645,24 @@ export type Escrow = {
1879
1645
  "address": "11111111111111111111111111111111";
1880
1646
  }
1881
1647
  ];
1882
- "args": [];
1883
- "returns": "u64";
1648
+ "args": [
1649
+ {
1650
+ "name": "targetState";
1651
+ "type": "bool";
1652
+ }
1653
+ ];
1884
1654
  },
1885
1655
  {
1886
- "name": "initializeEscrowConfig";
1656
+ "name": "removeAdmin";
1887
1657
  "discriminator": [
1888
- 59,
1889
- 6,
1890
- 201,
1891
- 67,
1892
- 235,
1893
- 49,
1894
- 169,
1895
- 95
1658
+ 74,
1659
+ 202,
1660
+ 71,
1661
+ 106,
1662
+ 252,
1663
+ 31,
1664
+ 72,
1665
+ 183
1896
1666
  ];
1897
1667
  "accounts": [
1898
1668
  {
@@ -1928,38 +1698,31 @@ export type Escrow = {
1928
1698
  "name": "admin";
1929
1699
  "writable": true;
1930
1700
  "signer": true;
1931
- },
1932
- {
1933
- "name": "systemProgram";
1934
- "address": "11111111111111111111111111111111";
1935
1701
  }
1936
1702
  ];
1937
1703
  "args": [
1938
1704
  {
1939
- "name": "signerPubkey";
1940
- "type": "pubkey";
1941
- },
1942
- {
1943
- "name": "fundingPubkey";
1705
+ "name": "account";
1944
1706
  "type": "pubkey";
1945
1707
  }
1946
1708
  ];
1947
1709
  },
1948
1710
  {
1949
- "name": "initializeTreasuryConfig";
1711
+ "name": "removePaymentToken";
1950
1712
  "discriminator": [
1951
- 42,
1952
- 221,
1953
- 143,
1954
- 37,
1955
- 13,
1956
- 169,
1957
- 92,
1958
- 98
1713
+ 119,
1714
+ 18,
1715
+ 240,
1716
+ 223,
1717
+ 126,
1718
+ 168,
1719
+ 165,
1720
+ 117
1959
1721
  ];
1960
1722
  "accounts": [
1961
1723
  {
1962
1724
  "name": "escrowConfig";
1725
+ "writable": true;
1963
1726
  "pda": {
1964
1727
  "seeds": [
1965
1728
  {
@@ -1986,66 +1749,33 @@ export type Escrow = {
1986
1749
  ];
1987
1750
  };
1988
1751
  },
1989
- {
1990
- "name": "treasuryConfig";
1991
- "writable": true;
1992
- "pda": {
1993
- "seeds": [
1994
- {
1995
- "kind": "const";
1996
- "value": [
1997
- 116,
1998
- 114,
1999
- 101,
2000
- 97,
2001
- 115,
2002
- 117,
2003
- 114,
2004
- 121,
2005
- 45,
2006
- 99,
2007
- 111,
2008
- 110,
2009
- 102,
2010
- 105,
2011
- 103
2012
- ];
2013
- }
2014
- ];
2015
- };
2016
- },
2017
1752
  {
2018
1753
  "name": "admin";
2019
1754
  "writable": true;
2020
1755
  "signer": true;
2021
- },
2022
- {
2023
- "name": "systemProgram";
2024
- "address": "11111111111111111111111111111111";
2025
1756
  }
2026
1757
  ];
2027
1758
  "args": [
2028
1759
  {
2029
- "name": "managerThreshold";
2030
- "type": "u8";
2031
- },
2032
- {
2033
- "name": "executiveThreshold";
2034
- "type": "u8";
1760
+ "name": "tokenMint";
1761
+ "type": "pubkey";
2035
1762
  }
2036
1763
  ];
2037
1764
  },
2038
1765
  {
2039
- "name": "isAdminPubkey";
1766
+ "name": "removeTokenFromEscrow";
1767
+ "docs": [
1768
+ "Admin Withdraw SPL tokens"
1769
+ ];
2040
1770
  "discriminator": [
2041
- 121,
2042
- 139,
2043
- 38,
2044
- 24,
2045
- 170,
2046
- 99,
2047
- 139,
2048
- 243
1771
+ 42,
1772
+ 189,
1773
+ 194,
1774
+ 61,
1775
+ 110,
1776
+ 149,
1777
+ 83,
1778
+ 126
2049
1779
  ];
2050
1780
  "accounts": [
2051
1781
  {
@@ -2075,31 +1805,18 @@ export type Escrow = {
2075
1805
  }
2076
1806
  ];
2077
1807
  };
2078
- }
2079
- ];
2080
- "args": [
1808
+ },
2081
1809
  {
2082
- "name": "account";
2083
- "type": "pubkey";
2084
- }
2085
- ];
2086
- "returns": "bool";
2087
- },
2088
- {
2089
- "name": "isFundingPubkey";
2090
- "discriminator": [
2091
- 252,
2092
- 56,
2093
- 255,
2094
- 21,
2095
- 13,
2096
- 63,
2097
- 211,
2098
- 163
2099
- ];
2100
- "accounts": [
1810
+ "name": "mint";
1811
+ },
2101
1812
  {
2102
- "name": "escrowConfig";
1813
+ "name": "admin";
1814
+ "writable": true;
1815
+ "signer": true;
1816
+ },
1817
+ {
1818
+ "name": "vaultAuthority";
1819
+ "writable": true;
2103
1820
  "pda": {
2104
1821
  "seeds": [
2105
1822
  {
@@ -2110,173 +1827,219 @@ export type Escrow = {
2110
1827
  99,
2111
1828
  114,
2112
1829
  111,
2113
- 119,
2114
- 45,
2115
- 99,
2116
- 111,
2117
- 110,
2118
- 102,
2119
- 105,
2120
- 103,
2121
- 45,
2122
- 118,
2123
- 50
1830
+ 119
2124
1831
  ];
2125
1832
  }
2126
1833
  ];
2127
1834
  };
2128
- }
2129
- ];
2130
- "args": [
2131
- {
2132
- "name": "account";
2133
- "type": "pubkey";
2134
- }
2135
- ];
2136
- "returns": "bool";
2137
- },
2138
- {
2139
- "name": "isInitializedConfig";
2140
- "discriminator": [
2141
- 113,
2142
- 162,
2143
- 133,
2144
- 92,
2145
- 161,
2146
- 73,
2147
- 200,
2148
- 232
2149
- ];
2150
- "accounts": [
1835
+ },
2151
1836
  {
2152
- "name": "escrowConfig";
1837
+ "name": "vaultTokenAccount";
1838
+ "writable": true;
2153
1839
  "pda": {
2154
1840
  "seeds": [
1841
+ {
1842
+ "kind": "account";
1843
+ "path": "vaultAuthority";
1844
+ },
2155
1845
  {
2156
1846
  "kind": "const";
2157
1847
  "value": [
1848
+ 6,
1849
+ 221,
1850
+ 246,
1851
+ 225,
1852
+ 215,
2158
1853
  101,
2159
- 115,
2160
- 99,
2161
- 114,
2162
- 111,
2163
- 119,
2164
- 45,
2165
- 99,
2166
- 111,
2167
- 110,
2168
- 102,
2169
- 105,
2170
- 103,
2171
- 45,
2172
- 118,
2173
- 50
1854
+ 161,
1855
+ 147,
1856
+ 217,
1857
+ 203,
1858
+ 225,
1859
+ 70,
1860
+ 206,
1861
+ 235,
1862
+ 121,
1863
+ 172,
1864
+ 28,
1865
+ 180,
1866
+ 133,
1867
+ 237,
1868
+ 95,
1869
+ 91,
1870
+ 55,
1871
+ 145,
1872
+ 58,
1873
+ 140,
1874
+ 245,
1875
+ 133,
1876
+ 126,
1877
+ 255,
1878
+ 0,
1879
+ 169
2174
1880
  ];
1881
+ },
1882
+ {
1883
+ "kind": "account";
1884
+ "path": "mint";
2175
1885
  }
2176
1886
  ];
1887
+ "program": {
1888
+ "kind": "const";
1889
+ "value": [
1890
+ 140,
1891
+ 151,
1892
+ 37,
1893
+ 143,
1894
+ 78,
1895
+ 36,
1896
+ 137,
1897
+ 241,
1898
+ 187,
1899
+ 61,
1900
+ 16,
1901
+ 41,
1902
+ 20,
1903
+ 142,
1904
+ 13,
1905
+ 131,
1906
+ 11,
1907
+ 90,
1908
+ 19,
1909
+ 153,
1910
+ 218,
1911
+ 255,
1912
+ 16,
1913
+ 132,
1914
+ 4,
1915
+ 142,
1916
+ 123,
1917
+ 216,
1918
+ 219,
1919
+ 233,
1920
+ 248,
1921
+ 89
1922
+ ];
1923
+ };
2177
1924
  };
2178
- }
2179
- ];
2180
- "args": [];
2181
- "returns": "bool";
2182
- },
2183
- {
2184
- "name": "isPaymentToken";
2185
- "discriminator": [
2186
- 103,
2187
- 61,
2188
- 217,
2189
- 183,
2190
- 71,
2191
- 112,
2192
- 38,
2193
- 108
2194
- ];
2195
- "accounts": [
1925
+ },
2196
1926
  {
2197
- "name": "escrowConfig";
1927
+ "name": "destinationTokenAccount";
1928
+ "writable": true;
2198
1929
  "pda": {
2199
1930
  "seeds": [
1931
+ {
1932
+ "kind": "account";
1933
+ "path": "admin";
1934
+ },
2200
1935
  {
2201
1936
  "kind": "const";
2202
1937
  "value": [
1938
+ 6,
1939
+ 221,
1940
+ 246,
1941
+ 225,
1942
+ 215,
2203
1943
  101,
2204
- 115,
2205
- 99,
2206
- 114,
2207
- 111,
2208
- 119,
2209
- 45,
2210
- 99,
2211
- 111,
2212
- 110,
2213
- 102,
2214
- 105,
2215
- 103,
2216
- 45,
2217
- 118,
2218
- 50
1944
+ 161,
1945
+ 147,
1946
+ 217,
1947
+ 203,
1948
+ 225,
1949
+ 70,
1950
+ 206,
1951
+ 235,
1952
+ 121,
1953
+ 172,
1954
+ 28,
1955
+ 180,
1956
+ 133,
1957
+ 237,
1958
+ 95,
1959
+ 91,
1960
+ 55,
1961
+ 145,
1962
+ 58,
1963
+ 140,
1964
+ 245,
1965
+ 133,
1966
+ 126,
1967
+ 255,
1968
+ 0,
1969
+ 169
2219
1970
  ];
1971
+ },
1972
+ {
1973
+ "kind": "account";
1974
+ "path": "mint";
2220
1975
  }
2221
1976
  ];
1977
+ "program": {
1978
+ "kind": "const";
1979
+ "value": [
1980
+ 140,
1981
+ 151,
1982
+ 37,
1983
+ 143,
1984
+ 78,
1985
+ 36,
1986
+ 137,
1987
+ 241,
1988
+ 187,
1989
+ 61,
1990
+ 16,
1991
+ 41,
1992
+ 20,
1993
+ 142,
1994
+ 13,
1995
+ 131,
1996
+ 11,
1997
+ 90,
1998
+ 19,
1999
+ 153,
2000
+ 218,
2001
+ 255,
2002
+ 16,
2003
+ 132,
2004
+ 4,
2005
+ 142,
2006
+ 123,
2007
+ 216,
2008
+ 219,
2009
+ 233,
2010
+ 248,
2011
+ 89
2012
+ ];
2013
+ };
2222
2014
  };
2015
+ },
2016
+ {
2017
+ "name": "tokenProgram";
2018
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
2223
2019
  }
2224
2020
  ];
2225
2021
  "args": [
2226
2022
  {
2227
- "name": "token";
2228
- "type": "pubkey";
2023
+ "name": "amount";
2024
+ "type": "u64";
2229
2025
  }
2230
2026
  ];
2231
- "returns": "bool";
2232
2027
  },
2233
2028
  {
2234
- "name": "migrateEscrowConfig";
2029
+ "name": "setAdmin";
2235
2030
  "discriminator": [
2236
- 221,
2237
- 224,
2238
- 135,
2239
- 120,
2240
- 28,
2241
- 10,
2242
- 75,
2243
- 20
2031
+ 251,
2032
+ 163,
2033
+ 0,
2034
+ 52,
2035
+ 91,
2036
+ 194,
2037
+ 187,
2038
+ 92
2244
2039
  ];
2245
2040
  "accounts": [
2246
2041
  {
2247
2042
  "name": "escrowConfig";
2248
- "docs": [
2249
- "Old account (smaller)"
2250
- ];
2251
- "writable": true;
2252
- "pda": {
2253
- "seeds": [
2254
- {
2255
- "kind": "const";
2256
- "value": [
2257
- 101,
2258
- 115,
2259
- 99,
2260
- 114,
2261
- 111,
2262
- 119,
2263
- 45,
2264
- 99,
2265
- 111,
2266
- 110,
2267
- 102,
2268
- 105,
2269
- 103
2270
- ];
2271
- }
2272
- ];
2273
- };
2274
- },
2275
- {
2276
- "name": "newEscrowConfig";
2277
- "docs": [
2278
- "New account with more space"
2279
- ];
2280
2043
  "writable": true;
2281
2044
  "pda": {
2282
2045
  "seeds": [
@@ -2306,44 +2069,27 @@ export type Escrow = {
2306
2069
  },
2307
2070
  {
2308
2071
  "name": "admin";
2309
- "writable": true;
2310
2072
  "signer": true;
2311
- },
2312
- {
2313
- "name": "systemProgram";
2314
- "address": "11111111111111111111111111111111";
2315
2073
  }
2316
2074
  ];
2317
2075
  "args": [
2318
2076
  {
2319
- "name": "admins";
2320
- "type": {
2321
- "vec": "pubkey";
2322
- };
2323
- },
2324
- {
2325
- "name": "paymentTokens";
2326
- "type": {
2327
- "vec": "pubkey";
2328
- };
2329
- },
2330
- {
2331
- "name": "fundingWallet";
2077
+ "name": "newAdmin";
2332
2078
  "type": "pubkey";
2333
2079
  }
2334
2080
  ];
2335
2081
  },
2336
2082
  {
2337
- "name": "pauseProgram";
2083
+ "name": "setFundingWallet";
2338
2084
  "discriminator": [
2339
- 91,
2340
- 86,
2341
- 253,
2342
- 175,
2343
- 66,
2344
- 236,
2345
- 172,
2346
- 124
2085
+ 134,
2086
+ 34,
2087
+ 203,
2088
+ 88,
2089
+ 248,
2090
+ 13,
2091
+ 78,
2092
+ 30
2347
2093
  ];
2348
2094
  "accounts": [
2349
2095
  {
@@ -2379,35 +2125,30 @@ export type Escrow = {
2379
2125
  "name": "admin";
2380
2126
  "writable": true;
2381
2127
  "signer": true;
2382
- },
2383
- {
2384
- "name": "systemProgram";
2385
- "address": "11111111111111111111111111111111";
2386
2128
  }
2387
2129
  ];
2388
2130
  "args": [
2389
2131
  {
2390
- "name": "targetState";
2391
- "type": "bool";
2132
+ "name": "newFundingWallet";
2133
+ "type": "pubkey";
2392
2134
  }
2393
2135
  ];
2394
2136
  },
2395
2137
  {
2396
- "name": "removeAdmin";
2138
+ "name": "withdrawSolWithSig";
2397
2139
  "discriminator": [
2398
- 74,
2399
- 202,
2400
- 71,
2401
- 106,
2402
- 252,
2403
- 31,
2404
- 72,
2405
- 183
2140
+ 127,
2141
+ 123,
2142
+ 63,
2143
+ 232,
2144
+ 4,
2145
+ 153,
2146
+ 33,
2147
+ 13
2406
2148
  ];
2407
2149
  "accounts": [
2408
2150
  {
2409
2151
  "name": "escrowConfig";
2410
- "writable": true;
2411
2152
  "pda": {
2412
2153
  "seeds": [
2413
2154
  {
@@ -2435,33 +2176,12 @@ export type Escrow = {
2435
2176
  };
2436
2177
  },
2437
2178
  {
2438
- "name": "admin";
2179
+ "name": "user";
2439
2180
  "writable": true;
2440
2181
  "signer": true;
2441
- }
2442
- ];
2443
- "args": [
2182
+ },
2444
2183
  {
2445
- "name": "account";
2446
- "type": "pubkey";
2447
- }
2448
- ];
2449
- },
2450
- {
2451
- "name": "removePaymentToken";
2452
- "discriminator": [
2453
- 119,
2454
- 18,
2455
- 240,
2456
- 223,
2457
- 126,
2458
- 168,
2459
- 165,
2460
- 117
2461
- ];
2462
- "accounts": [
2463
- {
2464
- "name": "escrowConfig";
2184
+ "name": "vaultAuthority";
2465
2185
  "writable": true;
2466
2186
  "pda": {
2467
2187
  "seeds": [
@@ -2473,49 +2193,85 @@ export type Escrow = {
2473
2193
  99,
2474
2194
  114,
2475
2195
  111,
2196
+ 119
2197
+ ];
2198
+ }
2199
+ ];
2200
+ };
2201
+ },
2202
+ {
2203
+ "name": "withdrawNonce";
2204
+ "writable": true;
2205
+ "pda": {
2206
+ "seeds": [
2207
+ {
2208
+ "kind": "const";
2209
+ "value": [
2210
+ 119,
2211
+ 105,
2212
+ 116,
2213
+ 104,
2214
+ 100,
2215
+ 114,
2216
+ 97,
2476
2217
  119,
2477
2218
  45,
2478
- 99,
2219
+ 110,
2479
2220
  111,
2480
2221
  110,
2481
- 102,
2482
- 105,
2483
- 103,
2484
- 45,
2485
- 118,
2486
- 50
2222
+ 99,
2223
+ 101
2487
2224
  ];
2225
+ },
2226
+ {
2227
+ "kind": "account";
2228
+ "path": "user";
2488
2229
  }
2489
2230
  ];
2490
2231
  };
2491
2232
  },
2492
2233
  {
2493
- "name": "admin";
2234
+ "name": "recipient";
2494
2235
  "writable": true;
2495
- "signer": true;
2236
+ },
2237
+ {
2238
+ "name": "tokenAddress";
2239
+ },
2240
+ {
2241
+ "name": "systemProgram";
2242
+ "address": "11111111111111111111111111111111";
2243
+ },
2244
+ {
2245
+ "name": "instructions";
2246
+ "address": "Sysvar1nstructions1111111111111111111111111";
2496
2247
  }
2497
2248
  ];
2498
2249
  "args": [
2499
2250
  {
2500
- "name": "tokenMint";
2501
- "type": "pubkey";
2251
+ "name": "amount";
2252
+ "type": "u64";
2253
+ },
2254
+ {
2255
+ "name": "chainId";
2256
+ "type": "u64";
2257
+ },
2258
+ {
2259
+ "name": "requestId";
2260
+ "type": "u64";
2502
2261
  }
2503
2262
  ];
2504
2263
  },
2505
2264
  {
2506
- "name": "removeTokenFromEscrow";
2507
- "docs": [
2508
- "Admin Withdraw SPL tokens"
2509
- ];
2265
+ "name": "withdrawSplWithSig";
2510
2266
  "discriminator": [
2511
- 42,
2512
- 189,
2513
- 194,
2514
- 61,
2515
- 110,
2516
- 149,
2517
- 83,
2518
- 126
2267
+ 97,
2268
+ 26,
2269
+ 53,
2270
+ 97,
2271
+ 35,
2272
+ 183,
2273
+ 69,
2274
+ 237
2519
2275
  ];
2520
2276
  "accounts": [
2521
2277
  {
@@ -2550,7 +2306,7 @@ export type Escrow = {
2550
2306
  "name": "mint";
2551
2307
  },
2552
2308
  {
2553
- "name": "admin";
2309
+ "name": "user";
2554
2310
  "writable": true;
2555
2311
  "signer": true;
2556
2312
  },
@@ -2664,13 +2420,20 @@ export type Escrow = {
2664
2420
  };
2665
2421
  },
2666
2422
  {
2667
- "name": "destinationTokenAccount";
2423
+ "name": "withdrawNonce";
2424
+ },
2425
+ {
2426
+ "name": "recipient";
2427
+ "writable": true;
2428
+ },
2429
+ {
2430
+ "name": "userTokenAccount";
2668
2431
  "writable": true;
2669
2432
  "pda": {
2670
2433
  "seeds": [
2671
2434
  {
2672
2435
  "kind": "account";
2673
- "path": "admin";
2436
+ "path": "user";
2674
2437
  },
2675
2438
  {
2676
2439
  "kind": "const";
@@ -2756,1556 +2519,57 @@ export type Escrow = {
2756
2519
  {
2757
2520
  "name": "tokenProgram";
2758
2521
  "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
2522
+ },
2523
+ {
2524
+ "name": "systemProgram";
2525
+ "address": "11111111111111111111111111111111";
2526
+ },
2527
+ {
2528
+ "name": "instructions";
2529
+ "address": "Sysvar1nstructions1111111111111111111111111";
2759
2530
  }
2760
2531
  ];
2761
2532
  "args": [
2762
2533
  {
2763
2534
  "name": "amount";
2764
2535
  "type": "u64";
2765
- }
2766
- ];
2767
- },
2768
- {
2769
- "name": "removeTreasuryExecutive";
2770
- "discriminator": [
2771
- 147,
2772
- 53,
2773
- 215,
2774
- 158,
2775
- 215,
2776
- 195,
2777
- 139,
2778
- 26
2779
- ];
2780
- "accounts": [
2781
- {
2782
- "name": "escrowConfig";
2783
- "pda": {
2784
- "seeds": [
2785
- {
2786
- "kind": "const";
2787
- "value": [
2788
- 101,
2789
- 115,
2790
- 99,
2791
- 114,
2792
- 111,
2793
- 119,
2794
- 45,
2795
- 99,
2796
- 111,
2797
- 110,
2798
- 102,
2799
- 105,
2800
- 103,
2801
- 45,
2802
- 118,
2803
- 50
2804
- ];
2805
- }
2806
- ];
2807
- };
2808
2536
  },
2809
2537
  {
2810
- "name": "treasuryConfig";
2811
- "writable": true;
2812
- "pda": {
2813
- "seeds": [
2814
- {
2815
- "kind": "const";
2816
- "value": [
2817
- 116,
2818
- 114,
2819
- 101,
2820
- 97,
2821
- 115,
2822
- 117,
2823
- 114,
2824
- 121,
2825
- 45,
2826
- 99,
2827
- 111,
2828
- 110,
2829
- 102,
2830
- 105,
2831
- 103
2832
- ];
2833
- }
2834
- ];
2835
- };
2538
+ "name": "chainId";
2539
+ "type": "u64";
2836
2540
  },
2837
2541
  {
2838
- "name": "admin";
2839
- "writable": true;
2840
- "signer": true;
2542
+ "name": "requestId";
2543
+ "type": "u64";
2841
2544
  }
2842
2545
  ];
2843
- "args": [
2844
- {
2845
- "name": "pubkey";
2846
- "type": "pubkey";
2847
- }
2546
+ }
2547
+ ];
2548
+ "accounts": [
2549
+ {
2550
+ "name": "escrowConfig";
2551
+ "discriminator": [
2552
+ 138,
2553
+ 174,
2554
+ 227,
2555
+ 187,
2556
+ 239,
2557
+ 148,
2558
+ 1,
2559
+ 44
2848
2560
  ];
2849
2561
  },
2850
2562
  {
2851
- "name": "removeTreasuryManager";
2563
+ "name": "escrowConfiguration";
2852
2564
  "discriminator": [
2853
- 82,
2854
- 21,
2855
- 184,
2856
- 234,
2565
+ 105,
2566
+ 131,
2567
+ 219,
2568
+ 218,
2569
+ 63,
2857
2570
  157,
2858
- 232,
2859
- 48,
2860
- 70
2861
- ];
2862
- "accounts": [
2863
- {
2864
- "name": "escrowConfig";
2865
- "pda": {
2866
- "seeds": [
2867
- {
2868
- "kind": "const";
2869
- "value": [
2870
- 101,
2871
- 115,
2872
- 99,
2873
- 114,
2874
- 111,
2875
- 119,
2876
- 45,
2877
- 99,
2878
- 111,
2879
- 110,
2880
- 102,
2881
- 105,
2882
- 103,
2883
- 45,
2884
- 118,
2885
- 50
2886
- ];
2887
- }
2888
- ];
2889
- };
2890
- },
2891
- {
2892
- "name": "treasuryConfig";
2893
- "writable": true;
2894
- "pda": {
2895
- "seeds": [
2896
- {
2897
- "kind": "const";
2898
- "value": [
2899
- 116,
2900
- 114,
2901
- 101,
2902
- 97,
2903
- 115,
2904
- 117,
2905
- 114,
2906
- 121,
2907
- 45,
2908
- 99,
2909
- 111,
2910
- 110,
2911
- 102,
2912
- 105,
2913
- 103
2914
- ];
2915
- }
2916
- ];
2917
- };
2918
- },
2919
- {
2920
- "name": "admin";
2921
- "writable": true;
2922
- "signer": true;
2923
- }
2924
- ];
2925
- "args": [
2926
- {
2927
- "name": "pubkey";
2928
- "type": "pubkey";
2929
- }
2930
- ];
2931
- },
2932
- {
2933
- "name": "scheduleWithdrawalSol";
2934
- "discriminator": [
2935
- 41,
2936
- 253,
2937
- 139,
2938
- 251,
2939
- 39,
2940
- 160,
2941
- 13,
2942
- 135
2943
- ];
2944
- "accounts": [
2945
- {
2946
- "name": "escrowConfig";
2947
- "pda": {
2948
- "seeds": [
2949
- {
2950
- "kind": "const";
2951
- "value": [
2952
- 101,
2953
- 115,
2954
- 99,
2955
- 114,
2956
- 111,
2957
- 119,
2958
- 45,
2959
- 99,
2960
- 111,
2961
- 110,
2962
- 102,
2963
- 105,
2964
- 103,
2965
- 45,
2966
- 118,
2967
- 50
2968
- ];
2969
- }
2970
- ];
2971
- };
2972
- },
2973
- {
2974
- "name": "treasuryConfig";
2975
- "pda": {
2976
- "seeds": [
2977
- {
2978
- "kind": "const";
2979
- "value": [
2980
- 116,
2981
- 114,
2982
- 101,
2983
- 97,
2984
- 115,
2985
- 117,
2986
- 114,
2987
- 121,
2988
- 45,
2989
- 99,
2990
- 111,
2991
- 110,
2992
- 102,
2993
- 105,
2994
- 103
2995
- ];
2996
- }
2997
- ];
2998
- };
2999
- },
3000
- {
3001
- "name": "commitment";
3002
- "writable": true;
3003
- "pda": {
3004
- "seeds": [
3005
- {
3006
- "kind": "const";
3007
- "value": [
3008
- 119,
3009
- 105,
3010
- 116,
3011
- 104,
3012
- 100,
3013
- 114,
3014
- 97,
3015
- 119,
3016
- 97,
3017
- 108
3018
- ];
3019
- },
3020
- {
3021
- "kind": "arg";
3022
- "path": "requestId";
3023
- }
3024
- ];
3025
- };
3026
- },
3027
- {
3028
- "name": "timelockConfig";
3029
- "pda": {
3030
- "seeds": [
3031
- {
3032
- "kind": "const";
3033
- "value": [
3034
- 116,
3035
- 105,
3036
- 109,
3037
- 101,
3038
- 108,
3039
- 111,
3040
- 99,
3041
- 107,
3042
- 45,
3043
- 99,
3044
- 111,
3045
- 110,
3046
- 102,
3047
- 105,
3048
- 103
3049
- ];
3050
- }
3051
- ];
3052
- };
3053
- },
3054
- {
3055
- "name": "receiverTimelockConfig";
3056
- "pda": {
3057
- "seeds": [
3058
- {
3059
- "kind": "const";
3060
- "value": [
3061
- 114,
3062
- 101,
3063
- 99,
3064
- 101,
3065
- 105,
3066
- 118,
3067
- 101,
3068
- 114,
3069
- 45,
3070
- 116,
3071
- 105,
3072
- 109,
3073
- 101,
3074
- 108,
3075
- 111,
3076
- 99,
3077
- 107
3078
- ];
3079
- },
3080
- {
3081
- "kind": "account";
3082
- "path": "recipient";
3083
- }
3084
- ];
3085
- };
3086
- },
3087
- {
3088
- "name": "recipient";
3089
- },
3090
- {
3091
- "name": "caller";
3092
- "writable": true;
3093
- "signer": true;
3094
- },
3095
- {
3096
- "name": "systemProgram";
3097
- "address": "11111111111111111111111111111111";
3098
- },
3099
- {
3100
- "name": "instructions";
3101
- "address": "Sysvar1nstructions1111111111111111111111111";
3102
- }
3103
- ];
3104
- "args": [
3105
- {
3106
- "name": "requestId";
3107
- "type": "u64";
3108
- },
3109
- {
3110
- "name": "committedAmount";
3111
- "type": "u64";
3112
- },
3113
- {
3114
- "name": "netAmount";
3115
- "type": "u64";
3116
- },
3117
- {
3118
- "name": "chainId";
3119
- "type": "u64";
3120
- }
3121
- ];
3122
- },
3123
- {
3124
- "name": "scheduleWithdrawalSpl";
3125
- "discriminator": [
3126
- 95,
3127
- 68,
3128
- 202,
3129
- 149,
3130
- 66,
3131
- 113,
3132
- 28,
3133
- 201
3134
- ];
3135
- "accounts": [
3136
- {
3137
- "name": "escrowConfig";
3138
- "pda": {
3139
- "seeds": [
3140
- {
3141
- "kind": "const";
3142
- "value": [
3143
- 101,
3144
- 115,
3145
- 99,
3146
- 114,
3147
- 111,
3148
- 119,
3149
- 45,
3150
- 99,
3151
- 111,
3152
- 110,
3153
- 102,
3154
- 105,
3155
- 103,
3156
- 45,
3157
- 118,
3158
- 50
3159
- ];
3160
- }
3161
- ];
3162
- };
3163
- },
3164
- {
3165
- "name": "treasuryConfig";
3166
- "pda": {
3167
- "seeds": [
3168
- {
3169
- "kind": "const";
3170
- "value": [
3171
- 116,
3172
- 114,
3173
- 101,
3174
- 97,
3175
- 115,
3176
- 117,
3177
- 114,
3178
- 121,
3179
- 45,
3180
- 99,
3181
- 111,
3182
- 110,
3183
- 102,
3184
- 105,
3185
- 103
3186
- ];
3187
- }
3188
- ];
3189
- };
3190
- },
3191
- {
3192
- "name": "commitment";
3193
- "writable": true;
3194
- "pda": {
3195
- "seeds": [
3196
- {
3197
- "kind": "const";
3198
- "value": [
3199
- 119,
3200
- 105,
3201
- 116,
3202
- 104,
3203
- 100,
3204
- 114,
3205
- 97,
3206
- 119,
3207
- 97,
3208
- 108
3209
- ];
3210
- },
3211
- {
3212
- "kind": "arg";
3213
- "path": "requestId";
3214
- }
3215
- ];
3216
- };
3217
- },
3218
- {
3219
- "name": "timelockConfig";
3220
- "pda": {
3221
- "seeds": [
3222
- {
3223
- "kind": "const";
3224
- "value": [
3225
- 116,
3226
- 105,
3227
- 109,
3228
- 101,
3229
- 108,
3230
- 111,
3231
- 99,
3232
- 107,
3233
- 45,
3234
- 99,
3235
- 111,
3236
- 110,
3237
- 102,
3238
- 105,
3239
- 103
3240
- ];
3241
- }
3242
- ];
3243
- };
3244
- },
3245
- {
3246
- "name": "receiverTimelockConfig";
3247
- "pda": {
3248
- "seeds": [
3249
- {
3250
- "kind": "const";
3251
- "value": [
3252
- 114,
3253
- 101,
3254
- 99,
3255
- 101,
3256
- 105,
3257
- 118,
3258
- 101,
3259
- 114,
3260
- 45,
3261
- 116,
3262
- 105,
3263
- 109,
3264
- 101,
3265
- 108,
3266
- 111,
3267
- 99,
3268
- 107
3269
- ];
3270
- },
3271
- {
3272
- "kind": "account";
3273
- "path": "recipient";
3274
- }
3275
- ];
3276
- };
3277
- },
3278
- {
3279
- "name": "mint";
3280
- "docs": [
3281
- "The SPL token mint — determines which token is being withdrawn"
3282
- ];
3283
- },
3284
- {
3285
- "name": "recipient";
3286
- },
3287
- {
3288
- "name": "caller";
3289
- "writable": true;
3290
- "signer": true;
3291
- },
3292
- {
3293
- "name": "systemProgram";
3294
- "address": "11111111111111111111111111111111";
3295
- },
3296
- {
3297
- "name": "instructions";
3298
- "address": "Sysvar1nstructions1111111111111111111111111";
3299
- }
3300
- ];
3301
- "args": [
3302
- {
3303
- "name": "requestId";
3304
- "type": "u64";
3305
- },
3306
- {
3307
- "name": "committedAmount";
3308
- "type": "u64";
3309
- },
3310
- {
3311
- "name": "netAmount";
3312
- "type": "u64";
3313
- },
3314
- {
3315
- "name": "chainId";
3316
- "type": "u64";
3317
- }
3318
- ];
3319
- },
3320
- {
3321
- "name": "setAdmin";
3322
- "discriminator": [
3323
- 251,
3324
- 163,
3325
- 0,
3326
- 52,
3327
- 91,
3328
- 194,
3329
- 187,
3330
- 92
3331
- ];
3332
- "accounts": [
3333
- {
3334
- "name": "escrowConfig";
3335
- "writable": true;
3336
- "pda": {
3337
- "seeds": [
3338
- {
3339
- "kind": "const";
3340
- "value": [
3341
- 101,
3342
- 115,
3343
- 99,
3344
- 114,
3345
- 111,
3346
- 119,
3347
- 45,
3348
- 99,
3349
- 111,
3350
- 110,
3351
- 102,
3352
- 105,
3353
- 103,
3354
- 45,
3355
- 118,
3356
- 50
3357
- ];
3358
- }
3359
- ];
3360
- };
3361
- },
3362
- {
3363
- "name": "admin";
3364
- "signer": true;
3365
- }
3366
- ];
3367
- "args": [
3368
- {
3369
- "name": "newAdmin";
3370
- "type": "pubkey";
3371
- }
3372
- ];
3373
- },
3374
- {
3375
- "name": "setFundingWallet";
3376
- "discriminator": [
3377
- 134,
3378
- 34,
3379
- 203,
3380
- 88,
3381
- 248,
3382
- 13,
3383
- 78,
3384
- 30
3385
- ];
3386
- "accounts": [
3387
- {
3388
- "name": "escrowConfig";
3389
- "writable": true;
3390
- "pda": {
3391
- "seeds": [
3392
- {
3393
- "kind": "const";
3394
- "value": [
3395
- 101,
3396
- 115,
3397
- 99,
3398
- 114,
3399
- 111,
3400
- 119,
3401
- 45,
3402
- 99,
3403
- 111,
3404
- 110,
3405
- 102,
3406
- 105,
3407
- 103,
3408
- 45,
3409
- 118,
3410
- 50
3411
- ];
3412
- }
3413
- ];
3414
- };
3415
- },
3416
- {
3417
- "name": "admin";
3418
- "writable": true;
3419
- "signer": true;
3420
- }
3421
- ];
3422
- "args": [
3423
- {
3424
- "name": "newFundingWallet";
3425
- "type": "pubkey";
3426
- }
3427
- ];
3428
- },
3429
- {
3430
- "name": "setMaxFeeDelta";
3431
- "discriminator": [
3432
- 184,
3433
- 66,
3434
- 78,
3435
- 162,
3436
- 85,
3437
- 237,
3438
- 83,
3439
- 148
3440
- ];
3441
- "accounts": [
3442
- {
3443
- "name": "escrowConfig";
3444
- "pda": {
3445
- "seeds": [
3446
- {
3447
- "kind": "const";
3448
- "value": [
3449
- 101,
3450
- 115,
3451
- 99,
3452
- 114,
3453
- 111,
3454
- 119,
3455
- 45,
3456
- 99,
3457
- 111,
3458
- 110,
3459
- 102,
3460
- 105,
3461
- 103,
3462
- 45,
3463
- 118,
3464
- 50
3465
- ];
3466
- }
3467
- ];
3468
- };
3469
- },
3470
- {
3471
- "name": "treasuryConfig";
3472
- "writable": true;
3473
- "pda": {
3474
- "seeds": [
3475
- {
3476
- "kind": "const";
3477
- "value": [
3478
- 116,
3479
- 114,
3480
- 101,
3481
- 97,
3482
- 115,
3483
- 117,
3484
- 114,
3485
- 121,
3486
- 45,
3487
- 99,
3488
- 111,
3489
- 110,
3490
- 102,
3491
- 105,
3492
- 103
3493
- ];
3494
- }
3495
- ];
3496
- };
3497
- },
3498
- {
3499
- "name": "admin";
3500
- "writable": true;
3501
- "signer": true;
3502
- }
3503
- ];
3504
- "args": [
3505
- {
3506
- "name": "amount";
3507
- "type": "u64";
3508
- }
3509
- ];
3510
- },
3511
- {
3512
- "name": "setReceiverTimelockConfig";
3513
- "discriminator": [
3514
- 179,
3515
- 116,
3516
- 158,
3517
- 165,
3518
- 236,
3519
- 240,
3520
- 203,
3521
- 78
3522
- ];
3523
- "accounts": [
3524
- {
3525
- "name": "escrowConfig";
3526
- "pda": {
3527
- "seeds": [
3528
- {
3529
- "kind": "const";
3530
- "value": [
3531
- 101,
3532
- 115,
3533
- 99,
3534
- 114,
3535
- 111,
3536
- 119,
3537
- 45,
3538
- 99,
3539
- 111,
3540
- 110,
3541
- 102,
3542
- 105,
3543
- 103,
3544
- 45,
3545
- 118,
3546
- 50
3547
- ];
3548
- }
3549
- ];
3550
- };
3551
- },
3552
- {
3553
- "name": "receiverTimelockConfig";
3554
- "writable": true;
3555
- "pda": {
3556
- "seeds": [
3557
- {
3558
- "kind": "const";
3559
- "value": [
3560
- 114,
3561
- 101,
3562
- 99,
3563
- 101,
3564
- 105,
3565
- 118,
3566
- 101,
3567
- 114,
3568
- 45,
3569
- 116,
3570
- 105,
3571
- 109,
3572
- 101,
3573
- 108,
3574
- 111,
3575
- 99,
3576
- 107
3577
- ];
3578
- },
3579
- {
3580
- "kind": "arg";
3581
- "path": "receiver";
3582
- }
3583
- ];
3584
- };
3585
- },
3586
- {
3587
- "name": "admin";
3588
- "writable": true;
3589
- "signer": true;
3590
- },
3591
- {
3592
- "name": "systemProgram";
3593
- "address": "11111111111111111111111111111111";
3594
- }
3595
- ];
3596
- "args": [
3597
- {
3598
- "name": "receiver";
3599
- "type": "pubkey";
3600
- },
3601
- {
3602
- "name": "delaySeconds";
3603
- "type": "i64";
3604
- }
3605
- ];
3606
- },
3607
- {
3608
- "name": "setSignatureWallet";
3609
- "discriminator": [
3610
- 218,
3611
- 131,
3612
- 78,
3613
- 197,
3614
- 72,
3615
- 225,
3616
- 0,
3617
- 90
3618
- ];
3619
- "accounts": [
3620
- {
3621
- "name": "escrowConfig";
3622
- "writable": true;
3623
- "pda": {
3624
- "seeds": [
3625
- {
3626
- "kind": "const";
3627
- "value": [
3628
- 101,
3629
- 115,
3630
- 99,
3631
- 114,
3632
- 111,
3633
- 119,
3634
- 45,
3635
- 99,
3636
- 111,
3637
- 110,
3638
- 102,
3639
- 105,
3640
- 103,
3641
- 45,
3642
- 118,
3643
- 50
3644
- ];
3645
- }
3646
- ];
3647
- };
3648
- },
3649
- {
3650
- "name": "admin";
3651
- "writable": true;
3652
- "signer": true;
3653
- }
3654
- ];
3655
- "args": [
3656
- {
3657
- "name": "newSignatureWallet";
3658
- "type": "pubkey";
3659
- }
3660
- ];
3661
- },
3662
- {
3663
- "name": "setTimelockConfig";
3664
- "discriminator": [
3665
- 176,
3666
- 167,
3667
- 10,
3668
- 233,
3669
- 251,
3670
- 255,
3671
- 15,
3672
- 254
3673
- ];
3674
- "accounts": [
3675
- {
3676
- "name": "escrowConfig";
3677
- "pda": {
3678
- "seeds": [
3679
- {
3680
- "kind": "const";
3681
- "value": [
3682
- 101,
3683
- 115,
3684
- 99,
3685
- 114,
3686
- 111,
3687
- 119,
3688
- 45,
3689
- 99,
3690
- 111,
3691
- 110,
3692
- 102,
3693
- 105,
3694
- 103,
3695
- 45,
3696
- 118,
3697
- 50
3698
- ];
3699
- }
3700
- ];
3701
- };
3702
- },
3703
- {
3704
- "name": "timelockConfig";
3705
- "writable": true;
3706
- "pda": {
3707
- "seeds": [
3708
- {
3709
- "kind": "const";
3710
- "value": [
3711
- 116,
3712
- 105,
3713
- 109,
3714
- 101,
3715
- 108,
3716
- 111,
3717
- 99,
3718
- 107,
3719
- 45,
3720
- 99,
3721
- 111,
3722
- 110,
3723
- 102,
3724
- 105,
3725
- 103
3726
- ];
3727
- }
3728
- ];
3729
- };
3730
- },
3731
- {
3732
- "name": "admin";
3733
- "writable": true;
3734
- "signer": true;
3735
- },
3736
- {
3737
- "name": "systemProgram";
3738
- "address": "11111111111111111111111111111111";
3739
- }
3740
- ];
3741
- "args": [
3742
- {
3743
- "name": "delaySeconds";
3744
- "type": "i64";
3745
- }
3746
- ];
3747
- },
3748
- {
3749
- "name": "setWithdrawalThresholds";
3750
- "discriminator": [
3751
- 210,
3752
- 174,
3753
- 130,
3754
- 94,
3755
- 94,
3756
- 180,
3757
- 181,
3758
- 165
3759
- ];
3760
- "accounts": [
3761
- {
3762
- "name": "escrowConfig";
3763
- "pda": {
3764
- "seeds": [
3765
- {
3766
- "kind": "const";
3767
- "value": [
3768
- 101,
3769
- 115,
3770
- 99,
3771
- 114,
3772
- 111,
3773
- 119,
3774
- 45,
3775
- 99,
3776
- 111,
3777
- 110,
3778
- 102,
3779
- 105,
3780
- 103,
3781
- 45,
3782
- 118,
3783
- 50
3784
- ];
3785
- }
3786
- ];
3787
- };
3788
- },
3789
- {
3790
- "name": "treasuryConfig";
3791
- "writable": true;
3792
- "pda": {
3793
- "seeds": [
3794
- {
3795
- "kind": "const";
3796
- "value": [
3797
- 116,
3798
- 114,
3799
- 101,
3800
- 97,
3801
- 115,
3802
- 117,
3803
- 114,
3804
- 121,
3805
- 45,
3806
- 99,
3807
- 111,
3808
- 110,
3809
- 102,
3810
- 105,
3811
- 103
3812
- ];
3813
- }
3814
- ];
3815
- };
3816
- },
3817
- {
3818
- "name": "admin";
3819
- "writable": true;
3820
- "signer": true;
3821
- }
3822
- ];
3823
- "args": [
3824
- {
3825
- "name": "managerThreshold";
3826
- "type": "u8";
3827
- },
3828
- {
3829
- "name": "executiveThreshold";
3830
- "type": "u8";
3831
- }
3832
- ];
3833
- },
3834
- {
3835
- "name": "withdrawSolWithSig";
3836
- "discriminator": [
3837
- 127,
3838
- 123,
3839
- 63,
3840
- 232,
3841
- 4,
3842
- 153,
3843
- 33,
3844
- 13
3845
- ];
3846
- "accounts": [
3847
- {
3848
- "name": "escrowConfig";
3849
- "pda": {
3850
- "seeds": [
3851
- {
3852
- "kind": "const";
3853
- "value": [
3854
- 101,
3855
- 115,
3856
- 99,
3857
- 114,
3858
- 111,
3859
- 119,
3860
- 45,
3861
- 99,
3862
- 111,
3863
- 110,
3864
- 102,
3865
- 105,
3866
- 103,
3867
- 45,
3868
- 118,
3869
- 50
3870
- ];
3871
- }
3872
- ];
3873
- };
3874
- },
3875
- {
3876
- "name": "user";
3877
- "writable": true;
3878
- "signer": true;
3879
- },
3880
- {
3881
- "name": "vaultAuthority";
3882
- "writable": true;
3883
- "pda": {
3884
- "seeds": [
3885
- {
3886
- "kind": "const";
3887
- "value": [
3888
- 101,
3889
- 115,
3890
- 99,
3891
- 114,
3892
- 111,
3893
- 119
3894
- ];
3895
- }
3896
- ];
3897
- };
3898
- },
3899
- {
3900
- "name": "withdrawNonce";
3901
- "writable": true;
3902
- "pda": {
3903
- "seeds": [
3904
- {
3905
- "kind": "const";
3906
- "value": [
3907
- 119,
3908
- 105,
3909
- 116,
3910
- 104,
3911
- 100,
3912
- 114,
3913
- 97,
3914
- 119,
3915
- 45,
3916
- 110,
3917
- 111,
3918
- 110,
3919
- 99,
3920
- 101
3921
- ];
3922
- },
3923
- {
3924
- "kind": "account";
3925
- "path": "user";
3926
- }
3927
- ];
3928
- };
3929
- },
3930
- {
3931
- "name": "recipient";
3932
- "writable": true;
3933
- },
3934
- {
3935
- "name": "tokenAddress";
3936
- },
3937
- {
3938
- "name": "systemProgram";
3939
- "address": "11111111111111111111111111111111";
3940
- },
3941
- {
3942
- "name": "instructions";
3943
- "address": "Sysvar1nstructions1111111111111111111111111";
3944
- }
3945
- ];
3946
- "args": [
3947
- {
3948
- "name": "amount";
3949
- "type": "u64";
3950
- },
3951
- {
3952
- "name": "chainId";
3953
- "type": "u64";
3954
- },
3955
- {
3956
- "name": "requestId";
3957
- "type": "u64";
3958
- }
3959
- ];
3960
- },
3961
- {
3962
- "name": "withdrawSplWithSig";
3963
- "discriminator": [
3964
- 97,
3965
- 26,
3966
- 53,
3967
- 97,
3968
- 35,
3969
- 183,
3970
- 69,
3971
- 237
3972
- ];
3973
- "accounts": [
3974
- {
3975
- "name": "escrowConfig";
3976
- "pda": {
3977
- "seeds": [
3978
- {
3979
- "kind": "const";
3980
- "value": [
3981
- 101,
3982
- 115,
3983
- 99,
3984
- 114,
3985
- 111,
3986
- 119,
3987
- 45,
3988
- 99,
3989
- 111,
3990
- 110,
3991
- 102,
3992
- 105,
3993
- 103,
3994
- 45,
3995
- 118,
3996
- 50
3997
- ];
3998
- }
3999
- ];
4000
- };
4001
- },
4002
- {
4003
- "name": "mint";
4004
- },
4005
- {
4006
- "name": "user";
4007
- "writable": true;
4008
- "signer": true;
4009
- },
4010
- {
4011
- "name": "vaultAuthority";
4012
- "writable": true;
4013
- "pda": {
4014
- "seeds": [
4015
- {
4016
- "kind": "const";
4017
- "value": [
4018
- 101,
4019
- 115,
4020
- 99,
4021
- 114,
4022
- 111,
4023
- 119
4024
- ];
4025
- }
4026
- ];
4027
- };
4028
- },
4029
- {
4030
- "name": "vaultTokenAccount";
4031
- "writable": true;
4032
- "pda": {
4033
- "seeds": [
4034
- {
4035
- "kind": "account";
4036
- "path": "vaultAuthority";
4037
- },
4038
- {
4039
- "kind": "const";
4040
- "value": [
4041
- 6,
4042
- 221,
4043
- 246,
4044
- 225,
4045
- 215,
4046
- 101,
4047
- 161,
4048
- 147,
4049
- 217,
4050
- 203,
4051
- 225,
4052
- 70,
4053
- 206,
4054
- 235,
4055
- 121,
4056
- 172,
4057
- 28,
4058
- 180,
4059
- 133,
4060
- 237,
4061
- 95,
4062
- 91,
4063
- 55,
4064
- 145,
4065
- 58,
4066
- 140,
4067
- 245,
4068
- 133,
4069
- 126,
4070
- 255,
4071
- 0,
4072
- 169
4073
- ];
4074
- },
4075
- {
4076
- "kind": "account";
4077
- "path": "mint";
4078
- }
4079
- ];
4080
- "program": {
4081
- "kind": "const";
4082
- "value": [
4083
- 140,
4084
- 151,
4085
- 37,
4086
- 143,
4087
- 78,
4088
- 36,
4089
- 137,
4090
- 241,
4091
- 187,
4092
- 61,
4093
- 16,
4094
- 41,
4095
- 20,
4096
- 142,
4097
- 13,
4098
- 131,
4099
- 11,
4100
- 90,
4101
- 19,
4102
- 153,
4103
- 218,
4104
- 255,
4105
- 16,
4106
- 132,
4107
- 4,
4108
- 142,
4109
- 123,
4110
- 216,
4111
- 219,
4112
- 233,
4113
- 248,
4114
- 89
4115
- ];
4116
- };
4117
- };
4118
- },
4119
- {
4120
- "name": "withdrawNonce";
4121
- },
4122
- {
4123
- "name": "recipient";
4124
- "writable": true;
4125
- },
4126
- {
4127
- "name": "userTokenAccount";
4128
- "writable": true;
4129
- "pda": {
4130
- "seeds": [
4131
- {
4132
- "kind": "account";
4133
- "path": "user";
4134
- },
4135
- {
4136
- "kind": "const";
4137
- "value": [
4138
- 6,
4139
- 221,
4140
- 246,
4141
- 225,
4142
- 215,
4143
- 101,
4144
- 161,
4145
- 147,
4146
- 217,
4147
- 203,
4148
- 225,
4149
- 70,
4150
- 206,
4151
- 235,
4152
- 121,
4153
- 172,
4154
- 28,
4155
- 180,
4156
- 133,
4157
- 237,
4158
- 95,
4159
- 91,
4160
- 55,
4161
- 145,
4162
- 58,
4163
- 140,
4164
- 245,
4165
- 133,
4166
- 126,
4167
- 255,
4168
- 0,
4169
- 169
4170
- ];
4171
- },
4172
- {
4173
- "kind": "account";
4174
- "path": "mint";
4175
- }
4176
- ];
4177
- "program": {
4178
- "kind": "const";
4179
- "value": [
4180
- 140,
4181
- 151,
4182
- 37,
4183
- 143,
4184
- 78,
4185
- 36,
4186
- 137,
4187
- 241,
4188
- 187,
4189
- 61,
4190
- 16,
4191
- 41,
4192
- 20,
4193
- 142,
4194
- 13,
4195
- 131,
4196
- 11,
4197
- 90,
4198
- 19,
4199
- 153,
4200
- 218,
4201
- 255,
4202
- 16,
4203
- 132,
4204
- 4,
4205
- 142,
4206
- 123,
4207
- 216,
4208
- 219,
4209
- 233,
4210
- 248,
4211
- 89
4212
- ];
4213
- };
4214
- };
4215
- },
4216
- {
4217
- "name": "tokenProgram";
4218
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
4219
- },
4220
- {
4221
- "name": "systemProgram";
4222
- "address": "11111111111111111111111111111111";
4223
- },
4224
- {
4225
- "name": "instructions";
4226
- "address": "Sysvar1nstructions1111111111111111111111111";
4227
- }
4228
- ];
4229
- "args": [
4230
- {
4231
- "name": "amount";
4232
- "type": "u64";
4233
- },
4234
- {
4235
- "name": "chainId";
4236
- "type": "u64";
4237
- },
4238
- {
4239
- "name": "requestId";
4240
- "type": "u64";
4241
- }
4242
- ];
4243
- }
4244
- ];
4245
- "accounts": [
4246
- {
4247
- "name": "escrowConfig";
4248
- "discriminator": [
4249
- 138,
4250
- 174,
4251
- 227,
4252
- 187,
4253
- 239,
4254
- 148,
4255
- 1,
4256
- 44
4257
- ];
4258
- },
4259
- {
4260
- "name": "escrowConfiguration";
4261
- "discriminator": [
4262
- 105,
4263
- 131,
4264
- 219,
4265
- 218,
4266
- 63,
4267
- 157,
4268
- 131,
4269
- 34
4270
- ];
4271
- },
4272
- {
4273
- "name": "receiverTimelockConfig";
4274
- "discriminator": [
4275
- 155,
4276
- 62,
4277
- 82,
4278
- 53,
4279
- 244,
4280
- 149,
4281
- 35,
4282
- 69
4283
- ];
4284
- },
4285
- {
4286
- "name": "timelockConfig";
4287
- "discriminator": [
4288
- 189,
4289
- 87,
4290
- 27,
4291
- 18,
4292
- 189,
4293
- 173,
4294
- 47,
4295
- 197
4296
- ];
4297
- },
4298
- {
4299
- "name": "treasuryConfig";
4300
- "discriminator": [
4301
- 124,
4302
- 54,
4303
- 212,
4304
- 227,
4305
- 213,
4306
- 189,
4307
- 168,
4308
- 41
2571
+ 131,
2572
+ 34
4309
2573
  ];
4310
2574
  },
4311
2575
  {
@@ -4320,19 +2584,6 @@ export type Escrow = {
4320
2584
  45,
4321
2585
  160
4322
2586
  ];
4323
- },
4324
- {
4325
- "name": "withdrawalCommitment";
4326
- "discriminator": [
4327
- 129,
4328
- 131,
4329
- 178,
4330
- 154,
4331
- 169,
4332
- 202,
4333
- 148,
4334
- 141
4335
- ];
4336
2587
  }
4337
2588
  ];
4338
2589
  "events": [
@@ -4388,84 +2639,6 @@ export type Escrow = {
4388
2639
  23
4389
2640
  ];
4390
2641
  },
4391
- {
4392
- "name": "maxFeeDeltaConfiguredEvent";
4393
- "discriminator": [
4394
- 22,
4395
- 138,
4396
- 194,
4397
- 64,
4398
- 245,
4399
- 136,
4400
- 168,
4401
- 16
4402
- ];
4403
- },
4404
- {
4405
- "name": "receiverTimelockConfiguredEvent";
4406
- "discriminator": [
4407
- 133,
4408
- 139,
4409
- 55,
4410
- 62,
4411
- 207,
4412
- 76,
4413
- 16,
4414
- 95
4415
- ];
4416
- },
4417
- {
4418
- "name": "roleGranted";
4419
- "discriminator": [
4420
- 220,
4421
- 183,
4422
- 89,
4423
- 228,
4424
- 143,
4425
- 63,
4426
- 246,
4427
- 58
4428
- ];
4429
- },
4430
- {
4431
- "name": "roleRevoked";
4432
- "discriminator": [
4433
- 167,
4434
- 183,
4435
- 52,
4436
- 229,
4437
- 126,
4438
- 206,
4439
- 62,
4440
- 61
4441
- ];
4442
- },
4443
- {
4444
- "name": "timelockConfiguredEvent";
4445
- "discriminator": [
4446
- 95,
4447
- 91,
4448
- 67,
4449
- 84,
4450
- 32,
4451
- 210,
4452
- 3,
4453
- 116
4454
- ];
4455
- },
4456
- {
4457
- "name": "treasuryConfigInitializedEvent";
4458
- "discriminator": [
4459
- 170,
4460
- 202,
4461
- 243,
4462
- 194,
4463
- 90,
4464
- 143,
4465
- 28,
4466
- 119
4467
- ];
4468
- },
4469
2642
  {
4470
2643
  "name": "withdrawSolEvent";
4471
2644
  "discriminator": [
@@ -4491,58 +2664,6 @@ export type Escrow = {
4491
2664
  53,
4492
2665
  85
4493
2666
  ];
4494
- },
4495
- {
4496
- "name": "withdrawalCancelledEvent";
4497
- "discriminator": [
4498
- 40,
4499
- 218,
4500
- 165,
4501
- 230,
4502
- 31,
4503
- 49,
4504
- 238,
4505
- 127
4506
- ];
4507
- },
4508
- {
4509
- "name": "withdrawalExecutedEvent";
4510
- "discriminator": [
4511
- 60,
4512
- 185,
4513
- 83,
4514
- 2,
4515
- 206,
4516
- 217,
4517
- 44,
4518
- 53
4519
- ];
4520
- },
4521
- {
4522
- "name": "withdrawalScheduledEvent";
4523
- "discriminator": [
4524
- 74,
4525
- 43,
4526
- 199,
4527
- 56,
4528
- 129,
4529
- 1,
4530
- 247,
4531
- 68
4532
- ];
4533
- },
4534
- {
4535
- "name": "withdrawalThresholdsConfiguredEvent";
4536
- "discriminator": [
4537
- 233,
4538
- 231,
4539
- 110,
4540
- 102,
4541
- 162,
4542
- 86,
4543
- 78,
4544
- 118
4545
- ];
4546
2667
  }
4547
2668
  ];
4548
2669
  "errors": [
@@ -4588,517 +2709,91 @@ export type Escrow = {
4588
2709
  },
4589
2710
  {
4590
2711
  "code": 6008;
4591
- "name": "unexpectedMessage";
4592
- "msg": "Unexpected Message";
4593
- },
4594
- {
4595
- "code": 6009;
4596
- "name": "pubKeyOutOfBounds";
4597
- "msg": "Public Key out of bounds";
4598
- },
4599
- {
4600
- "code": 6010;
4601
- "name": "invalidSigner";
4602
- "msg": "Invalid signer publickey";
4603
- },
4604
- {
4605
- "code": 6011;
4606
- "name": "alreadyExists";
4607
- "msg": "Account already exists in the list";
4608
- },
4609
- {
4610
- "code": 6012;
4611
- "name": "notFound";
4612
- "msg": "Account not found in the list";
4613
- },
4614
- {
4615
- "code": 6013;
4616
- "name": "invalidPaymenToken";
4617
- "msg": "Invalid payment token.";
4618
- },
4619
- {
4620
- "code": 6014;
4621
- "name": "insufficientSplReserves";
4622
- "msg": "Insufficient SPL reserve balance.";
4623
- },
4624
- {
4625
- "code": 6015;
4626
- "name": "insufficientSolReserves";
4627
- "msg": "Insufficient SOL reserve balance.";
4628
- },
4629
- {
4630
- "code": 6016;
4631
- "name": "paused";
4632
- "msg": "Program is paused";
4633
- },
4634
- {
4635
- "code": 6017;
4636
- "name": "sameState";
4637
- "msg": "Program is already in this state";
4638
- },
4639
- {
4640
- "code": 6018;
4641
- "name": "maxPaymentTokenCount";
4642
- "msg": "Max payment tokens count reached";
4643
- },
4644
- {
4645
- "code": 6019;
4646
- "name": "maxAdminCount";
4647
- "msg": "Max admin count reached";
4648
- },
4649
- {
4650
- "code": 6020;
4651
- "name": "notInitialized";
4652
- "msg": "Treasury config not initialized";
4653
- },
4654
- {
4655
- "code": 6021;
4656
- "name": "unauthorizedSigner";
4657
- "msg": "Signer is not a treasury manager or executive";
4658
- },
4659
- {
4660
- "code": 6022;
4661
- "name": "insufficientManagerSigs";
4662
- "msg": "Insufficient treasury manager signatures";
4663
- },
4664
- {
4665
- "code": 6023;
4666
- "name": "insufficientExecutiveSigs";
4667
- "msg": "Insufficient treasury executive signatures";
4668
- },
4669
- {
4670
- "code": 6024;
4671
- "name": "maxRoleCount";
4672
- "msg": "Max role member count reached";
4673
- },
4674
- {
4675
- "code": 6025;
4676
- "name": "invalidNetAmount";
4677
- "msg": "net_amount exceeds committed_amount";
4678
- },
4679
- {
4680
- "code": 6026;
4681
- "name": "feeDeltaExceedsCap";
4682
- "msg": "Fee delta exceeds max allowed cap";
4683
- },
4684
- {
4685
- "code": 6027;
4686
- "name": "timelockNotExpired";
4687
- "msg": "Timelock has not expired yet";
4688
- },
4689
- {
4690
- "code": 6028;
4691
- "name": "invalidRequestId";
4692
- "msg": "Request ID does not match commitment";
4693
- }
4694
- ];
4695
- "types": [
4696
- {
4697
- "name": "adminDeposit";
4698
- "type": {
4699
- "kind": "struct";
4700
- "fields": [
4701
- {
4702
- "name": "caller";
4703
- "type": "pubkey";
4704
- },
4705
- {
4706
- "name": "depositor";
4707
- "type": "pubkey";
4708
- },
4709
- {
4710
- "name": "recipient";
4711
- "type": "pubkey";
4712
- },
4713
- {
4714
- "name": "token";
4715
- "type": "pubkey";
4716
- },
4717
- {
4718
- "name": "amount";
4719
- "type": "u64";
4720
- },
4721
- {
4722
- "name": "slot";
4723
- "type": "u64";
4724
- },
4725
- {
4726
- "name": "timestamp";
4727
- "type": "i64";
4728
- }
4729
- ];
4730
- };
2712
+ "name": "unexpectedMessage";
2713
+ "msg": "Unexpected Message";
4731
2714
  },
4732
2715
  {
4733
- "name": "adminWithdraw";
4734
- "type": {
4735
- "kind": "struct";
4736
- "fields": [
4737
- {
4738
- "name": "caller";
4739
- "type": "pubkey";
4740
- },
4741
- {
4742
- "name": "recipient";
4743
- "type": "pubkey";
4744
- },
4745
- {
4746
- "name": "token";
4747
- "type": "pubkey";
4748
- },
4749
- {
4750
- "name": "amount";
4751
- "type": "u64";
4752
- },
4753
- {
4754
- "name": "slot";
4755
- "type": "u64";
4756
- },
4757
- {
4758
- "name": "timestamp";
4759
- "type": "i64";
4760
- }
4761
- ];
4762
- };
2716
+ "code": 6009;
2717
+ "name": "pubKeyOutOfBounds";
2718
+ "msg": "Public Key out of bounds";
4763
2719
  },
4764
2720
  {
4765
- "name": "depositSolEvent";
4766
- "type": {
4767
- "kind": "struct";
4768
- "fields": [
4769
- {
4770
- "name": "caller";
4771
- "type": "pubkey";
4772
- },
4773
- {
4774
- "name": "depositor";
4775
- "type": "pubkey";
4776
- },
4777
- {
4778
- "name": "vaultAuthority";
4779
- "type": "pubkey";
4780
- },
4781
- {
4782
- "name": "amount";
4783
- "type": "u64";
4784
- },
4785
- {
4786
- "name": "bonusCode";
4787
- "type": "string";
4788
- },
4789
- {
4790
- "name": "slot";
4791
- "type": "u64";
4792
- },
4793
- {
4794
- "name": "timestamp";
4795
- "type": "i64";
4796
- }
4797
- ];
4798
- };
2721
+ "code": 6010;
2722
+ "name": "invalidSigner";
2723
+ "msg": "Invalid signer publickey";
4799
2724
  },
4800
2725
  {
4801
- "name": "depositSplEvent";
4802
- "type": {
4803
- "kind": "struct";
4804
- "fields": [
4805
- {
4806
- "name": "caller";
4807
- "type": "pubkey";
4808
- },
4809
- {
4810
- "name": "depositor";
4811
- "type": "pubkey";
4812
- },
4813
- {
4814
- "name": "vaultTokenAccount";
4815
- "type": "pubkey";
4816
- },
4817
- {
4818
- "name": "mint";
4819
- "type": "pubkey";
4820
- },
4821
- {
4822
- "name": "amount";
4823
- "type": "u64";
4824
- },
4825
- {
4826
- "name": "bonusCode";
4827
- "type": "string";
4828
- },
4829
- {
4830
- "name": "slot";
4831
- "type": "u64";
4832
- },
4833
- {
4834
- "name": "timestamp";
4835
- "type": "i64";
4836
- }
4837
- ];
4838
- };
2726
+ "code": 6011;
2727
+ "name": "alreadyExists";
2728
+ "msg": "Account already exists in the list";
4839
2729
  },
4840
2730
  {
4841
- "name": "escrowConfig";
4842
- "type": {
4843
- "kind": "struct";
4844
- "fields": [
4845
- {
4846
- "name": "admin";
4847
- "type": "pubkey";
4848
- },
4849
- {
4850
- "name": "signer";
4851
- "type": "pubkey";
4852
- },
4853
- {
4854
- "name": "isInitialized";
4855
- "type": "bool";
4856
- }
4857
- ];
4858
- };
2731
+ "code": 6012;
2732
+ "name": "notFound";
2733
+ "msg": "Account not found in the list";
4859
2734
  },
4860
2735
  {
4861
- "name": "escrowConfiguration";
4862
- "docs": [
4863
- "Config account holding"
4864
- ];
4865
- "type": {
4866
- "kind": "struct";
4867
- "fields": [
4868
- {
4869
- "name": "admins";
4870
- "type": {
4871
- "vec": "pubkey";
4872
- };
4873
- },
4874
- {
4875
- "name": "paymentTokens";
4876
- "type": {
4877
- "vec": "pubkey";
4878
- };
4879
- },
4880
- {
4881
- "name": "signer";
4882
- "type": "pubkey";
4883
- },
4884
- {
4885
- "name": "fundingWallet";
4886
- "type": "pubkey";
4887
- },
4888
- {
4889
- "name": "isInitialized";
4890
- "type": "bool";
4891
- },
4892
- {
4893
- "name": "isPaused";
4894
- "type": "bool";
4895
- }
4896
- ];
4897
- };
2736
+ "code": 6013;
2737
+ "name": "invalidPaymenToken";
2738
+ "msg": "Invalid payment token.";
4898
2739
  },
4899
2740
  {
4900
- "name": "maxFeeDeltaConfiguredEvent";
4901
- "docs": [
4902
- "Emitted when the max fee delta (committed - net cap) is updated. 0 = disabled."
4903
- ];
4904
- "type": {
4905
- "kind": "struct";
4906
- "fields": [
4907
- {
4908
- "name": "amount";
4909
- "type": "u64";
4910
- },
4911
- {
4912
- "name": "sender";
4913
- "type": "pubkey";
4914
- },
4915
- {
4916
- "name": "slot";
4917
- "type": "u64";
4918
- },
4919
- {
4920
- "name": "timestamp";
4921
- "type": "i64";
4922
- }
4923
- ];
4924
- };
2741
+ "code": 6014;
2742
+ "name": "insufficientSplReserves";
2743
+ "msg": "Insufficient SPL reserve balance.";
4925
2744
  },
4926
2745
  {
4927
- "name": "receiverTimelockConfig";
4928
- "docs": [
4929
- "Per-receiver timelock override. delay_seconds = 0 means trusted (immediate execution)."
4930
- ];
4931
- "type": {
4932
- "kind": "struct";
4933
- "fields": [
4934
- {
4935
- "name": "delaySeconds";
4936
- "type": "i64";
4937
- },
4938
- {
4939
- "name": "isSet";
4940
- "type": "bool";
4941
- }
4942
- ];
4943
- };
2746
+ "code": 6015;
2747
+ "name": "insufficientSolReserves";
2748
+ "msg": "Insufficient SOL reserve balance.";
4944
2749
  },
4945
2750
  {
4946
- "name": "receiverTimelockConfiguredEvent";
4947
- "docs": [
4948
- "Emitted when a per-receiver (granular) timelock override is set."
4949
- ];
4950
- "type": {
4951
- "kind": "struct";
4952
- "fields": [
4953
- {
4954
- "name": "receiver";
4955
- "type": "pubkey";
4956
- },
4957
- {
4958
- "name": "delaySeconds";
4959
- "type": "i64";
4960
- },
4961
- {
4962
- "name": "sender";
4963
- "type": "pubkey";
4964
- },
4965
- {
4966
- "name": "slot";
4967
- "type": "u64";
4968
- },
4969
- {
4970
- "name": "timestamp";
4971
- "type": "i64";
4972
- }
4973
- ];
4974
- };
2751
+ "code": 6016;
2752
+ "name": "paused";
2753
+ "msg": "Program is paused";
4975
2754
  },
4976
2755
  {
4977
- "name": "role";
4978
- "docs": [
4979
- "Role assigned to a membership set on the escrow (mirrors EVM AccessControl semantics)."
4980
- ];
4981
- "type": {
4982
- "kind": "enum";
4983
- "variants": [
4984
- {
4985
- "name": "admin";
4986
- },
4987
- {
4988
- "name": "treasuryManager";
4989
- },
4990
- {
4991
- "name": "treasuryExecutive";
4992
- }
4993
- ];
4994
- };
2756
+ "code": 6017;
2757
+ "name": "sameState";
2758
+ "msg": "Program is already in this state";
4995
2759
  },
4996
2760
  {
4997
- "name": "roleGranted";
4998
- "docs": [
4999
- "Emitted when an account is added to a role membership set (add_admin, add_treasury_manager,",
5000
- "add_treasury_executive). `account` is the granted key; `sender` is the admin that authorized it."
5001
- ];
2761
+ "code": 6018;
2762
+ "name": "maxPaymentTokenCount";
2763
+ "msg": "Max payment tokens count reached";
2764
+ },
2765
+ {
2766
+ "code": 6019;
2767
+ "name": "maxAdminCount";
2768
+ "msg": "Max admin count reached";
2769
+ }
2770
+ ];
2771
+ "types": [
2772
+ {
2773
+ "name": "adminDeposit";
5002
2774
  "type": {
5003
2775
  "kind": "struct";
5004
2776
  "fields": [
5005
2777
  {
5006
- "name": "role";
5007
- "type": {
5008
- "defined": {
5009
- "name": "role";
5010
- };
5011
- };
5012
- },
5013
- {
5014
- "name": "account";
2778
+ "name": "caller";
5015
2779
  "type": "pubkey";
5016
2780
  },
5017
2781
  {
5018
- "name": "sender";
2782
+ "name": "depositor";
5019
2783
  "type": "pubkey";
5020
2784
  },
5021
2785
  {
5022
- "name": "slot";
5023
- "type": "u64";
5024
- },
5025
- {
5026
- "name": "timestamp";
5027
- "type": "i64";
5028
- }
5029
- ];
5030
- };
5031
- },
5032
- {
5033
- "name": "roleRevoked";
5034
- "docs": [
5035
- "Emitted when an account is removed from a role membership set."
5036
- ];
5037
- "type": {
5038
- "kind": "struct";
5039
- "fields": [
5040
- {
5041
- "name": "role";
5042
- "type": {
5043
- "defined": {
5044
- "name": "role";
5045
- };
5046
- };
5047
- },
5048
- {
5049
- "name": "account";
2786
+ "name": "recipient";
5050
2787
  "type": "pubkey";
5051
2788
  },
5052
2789
  {
5053
- "name": "sender";
2790
+ "name": "token";
5054
2791
  "type": "pubkey";
5055
2792
  },
5056
2793
  {
5057
- "name": "slot";
2794
+ "name": "amount";
5058
2795
  "type": "u64";
5059
2796
  },
5060
- {
5061
- "name": "timestamp";
5062
- "type": "i64";
5063
- }
5064
- ];
5065
- };
5066
- },
5067
- {
5068
- "name": "timelockConfig";
5069
- "docs": [
5070
- "Global timelock delay applied to all withdrawals unless overridden per-receiver."
5071
- ];
5072
- "type": {
5073
- "kind": "struct";
5074
- "fields": [
5075
- {
5076
- "name": "delaySeconds";
5077
- "type": "i64";
5078
- },
5079
- {
5080
- "name": "isSet";
5081
- "type": "bool";
5082
- }
5083
- ];
5084
- };
5085
- },
5086
- {
5087
- "name": "timelockConfiguredEvent";
5088
- "docs": [
5089
- "Emitted when the global timelock delay is set."
5090
- ];
5091
- "type": {
5092
- "kind": "struct";
5093
- "fields": [
5094
- {
5095
- "name": "delaySeconds";
5096
- "type": "i64";
5097
- },
5098
- {
5099
- "name": "sender";
5100
- "type": "pubkey";
5101
- },
5102
2797
  {
5103
2798
  "name": "slot";
5104
2799
  "type": "u64";
@@ -5111,64 +2806,26 @@ export type Escrow = {
5111
2806
  };
5112
2807
  },
5113
2808
  {
5114
- "name": "treasuryConfig";
2809
+ "name": "adminWithdraw";
5115
2810
  "type": {
5116
2811
  "kind": "struct";
5117
2812
  "fields": [
5118
2813
  {
5119
- "name": "treasuryManagers";
5120
- "type": {
5121
- "vec": "pubkey";
5122
- };
5123
- },
5124
- {
5125
- "name": "treasuryExecutives";
5126
- "type": {
5127
- "vec": "pubkey";
5128
- };
2814
+ "name": "caller";
2815
+ "type": "pubkey";
5129
2816
  },
5130
2817
  {
5131
- "name": "managerThreshold";
5132
- "type": "u8";
2818
+ "name": "recipient";
2819
+ "type": "pubkey";
5133
2820
  },
5134
2821
  {
5135
- "name": "executiveThreshold";
5136
- "type": "u8";
2822
+ "name": "token";
2823
+ "type": "pubkey";
5137
2824
  },
5138
2825
  {
5139
- "name": "maxFeeDelta";
5140
- "docs": [
5141
- "Maximum allowable deduction between committed_amount and net_amount (0 = disabled)"
5142
- ];
2826
+ "name": "amount";
5143
2827
  "type": "u64";
5144
2828
  },
5145
- {
5146
- "name": "isInitialized";
5147
- "type": "bool";
5148
- }
5149
- ];
5150
- };
5151
- },
5152
- {
5153
- "name": "treasuryConfigInitializedEvent";
5154
- "docs": [
5155
- "Emitted when the treasury config is first initialized."
5156
- ];
5157
- "type": {
5158
- "kind": "struct";
5159
- "fields": [
5160
- {
5161
- "name": "managerThreshold";
5162
- "type": "u8";
5163
- },
5164
- {
5165
- "name": "executiveThreshold";
5166
- "type": "u8";
5167
- },
5168
- {
5169
- "name": "sender";
5170
- "type": "pubkey";
5171
- },
5172
2829
  {
5173
2830
  "name": "slot";
5174
2831
  "type": "u64";
@@ -5181,19 +2838,7 @@ export type Escrow = {
5181
2838
  };
5182
2839
  },
5183
2840
  {
5184
- "name": "withdrawNonce";
5185
- "type": {
5186
- "kind": "struct";
5187
- "fields": [
5188
- {
5189
- "name": "nonce";
5190
- "type": "u64";
5191
- }
5192
- ];
5193
- };
5194
- },
5195
- {
5196
- "name": "withdrawSolEvent";
2841
+ "name": "depositSolEvent";
5197
2842
  "type": {
5198
2843
  "kind": "struct";
5199
2844
  "fields": [
@@ -5202,7 +2847,11 @@ export type Escrow = {
5202
2847
  "type": "pubkey";
5203
2848
  },
5204
2849
  {
5205
- "name": "recipient";
2850
+ "name": "depositor";
2851
+ "type": "pubkey";
2852
+ },
2853
+ {
2854
+ "name": "vaultAuthority";
5206
2855
  "type": "pubkey";
5207
2856
  },
5208
2857
  {
@@ -5210,8 +2859,8 @@ export type Escrow = {
5210
2859
  "type": "u64";
5211
2860
  },
5212
2861
  {
5213
- "name": "requestId";
5214
- "type": "u64";
2862
+ "name": "bonusCode";
2863
+ "type": "string";
5215
2864
  },
5216
2865
  {
5217
2866
  "name": "slot";
@@ -5225,7 +2874,7 @@ export type Escrow = {
5225
2874
  };
5226
2875
  },
5227
2876
  {
5228
- "name": "withdrawSplEvent";
2877
+ "name": "depositSplEvent";
5229
2878
  "type": {
5230
2879
  "kind": "struct";
5231
2880
  "fields": [
@@ -5234,7 +2883,11 @@ export type Escrow = {
5234
2883
  "type": "pubkey";
5235
2884
  },
5236
2885
  {
5237
- "name": "recipient";
2886
+ "name": "depositor";
2887
+ "type": "pubkey";
2888
+ },
2889
+ {
2890
+ "name": "vaultTokenAccount";
5238
2891
  "type": "pubkey";
5239
2892
  },
5240
2893
  {
@@ -5246,8 +2899,8 @@ export type Escrow = {
5246
2899
  "type": "u64";
5247
2900
  },
5248
2901
  {
5249
- "name": "requestId";
5250
- "type": "u64";
2902
+ "name": "bonusCode";
2903
+ "type": "string";
5251
2904
  },
5252
2905
  {
5253
2906
  "name": "slot";
@@ -5261,145 +2914,97 @@ export type Escrow = {
5261
2914
  };
5262
2915
  },
5263
2916
  {
5264
- "name": "withdrawalCancelledEvent";
2917
+ "name": "escrowConfig";
5265
2918
  "type": {
5266
2919
  "kind": "struct";
5267
2920
  "fields": [
5268
2921
  {
5269
- "name": "requestId";
5270
- "type": "u64";
5271
- },
5272
- {
5273
- "name": "cancelledBy";
2922
+ "name": "admin";
5274
2923
  "type": "pubkey";
5275
2924
  },
5276
2925
  {
5277
- "name": "slot";
5278
- "type": "u64";
2926
+ "name": "signer";
2927
+ "type": "pubkey";
5279
2928
  },
5280
2929
  {
5281
- "name": "timestamp";
5282
- "type": "i64";
2930
+ "name": "isInitialized";
2931
+ "type": "bool";
5283
2932
  }
5284
2933
  ];
5285
2934
  };
5286
2935
  },
5287
2936
  {
5288
- "name": "withdrawalCommitment";
2937
+ "name": "escrowConfiguration";
2938
+ "docs": [
2939
+ "Config account holding"
2940
+ ];
5289
2941
  "type": {
5290
2942
  "kind": "struct";
5291
2943
  "fields": [
5292
2944
  {
5293
- "name": "requestId";
5294
- "type": "u64";
5295
- },
5296
- {
5297
- "name": "committedAmount";
5298
- "type": "u64";
5299
- },
5300
- {
5301
- "name": "netAmount";
5302
- "type": "u64";
2945
+ "name": "admins";
2946
+ "type": {
2947
+ "vec": "pubkey";
2948
+ };
5303
2949
  },
5304
2950
  {
5305
- "name": "recipient";
5306
- "type": "pubkey";
2951
+ "name": "paymentTokens";
2952
+ "type": {
2953
+ "vec": "pubkey";
2954
+ };
5307
2955
  },
5308
2956
  {
5309
- "name": "tokenMint";
5310
- "docs": [
5311
- "For SOL withdrawals this is the System Program pubkey."
5312
- ];
2957
+ "name": "signer";
5313
2958
  "type": "pubkey";
5314
2959
  },
5315
2960
  {
5316
- "name": "executeAt";
5317
- "type": "i64";
5318
- },
5319
- {
5320
- "name": "creator";
2961
+ "name": "fundingWallet";
5321
2962
  "type": "pubkey";
5322
2963
  },
5323
2964
  {
5324
- "name": "isSol";
2965
+ "name": "isInitialized";
5325
2966
  "type": "bool";
5326
2967
  },
5327
2968
  {
5328
- "name": "chainId";
5329
- "type": "u64";
2969
+ "name": "isPaused";
2970
+ "type": "bool";
5330
2971
  }
5331
2972
  ];
5332
2973
  };
5333
2974
  },
5334
2975
  {
5335
- "name": "withdrawalExecutedEvent";
2976
+ "name": "withdrawNonce";
5336
2977
  "type": {
5337
2978
  "kind": "struct";
5338
2979
  "fields": [
5339
2980
  {
5340
- "name": "requestId";
5341
- "type": "u64";
5342
- },
5343
- {
5344
- "name": "recipient";
5345
- "type": "pubkey";
5346
- },
5347
- {
5348
- "name": "netAmount";
5349
- "type": "u64";
5350
- },
5351
- {
5352
- "name": "tokenMint";
5353
- "type": "pubkey";
5354
- },
5355
- {
5356
- "name": "isSol";
5357
- "type": "bool";
5358
- },
5359
- {
5360
- "name": "slot";
2981
+ "name": "nonce";
5361
2982
  "type": "u64";
5362
- },
5363
- {
5364
- "name": "timestamp";
5365
- "type": "i64";
5366
2983
  }
5367
2984
  ];
5368
2985
  };
5369
2986
  },
5370
2987
  {
5371
- "name": "withdrawalScheduledEvent";
2988
+ "name": "withdrawSolEvent";
5372
2989
  "type": {
5373
2990
  "kind": "struct";
5374
2991
  "fields": [
5375
2992
  {
5376
- "name": "requestId";
5377
- "type": "u64";
2993
+ "name": "caller";
2994
+ "type": "pubkey";
5378
2995
  },
5379
2996
  {
5380
2997
  "name": "recipient";
5381
2998
  "type": "pubkey";
5382
2999
  },
5383
3000
  {
5384
- "name": "committedAmount";
3001
+ "name": "amount";
5385
3002
  "type": "u64";
5386
3003
  },
5387
3004
  {
5388
- "name": "netAmount";
3005
+ "name": "requestId";
5389
3006
  "type": "u64";
5390
3007
  },
5391
- {
5392
- "name": "tokenMint";
5393
- "type": "pubkey";
5394
- },
5395
- {
5396
- "name": "executeAt";
5397
- "type": "i64";
5398
- },
5399
- {
5400
- "name": "isSol";
5401
- "type": "bool";
5402
- },
5403
3008
  {
5404
3009
  "name": "slot";
5405
3010
  "type": "u64";
@@ -5412,25 +3017,30 @@ export type Escrow = {
5412
3017
  };
5413
3018
  },
5414
3019
  {
5415
- "name": "withdrawalThresholdsConfiguredEvent";
5416
- "docs": [
5417
- "Emitted when the manager/executive withdrawal thresholds are updated."
5418
- ];
3020
+ "name": "withdrawSplEvent";
5419
3021
  "type": {
5420
3022
  "kind": "struct";
5421
3023
  "fields": [
5422
3024
  {
5423
- "name": "managerThreshold";
5424
- "type": "u8";
3025
+ "name": "caller";
3026
+ "type": "pubkey";
5425
3027
  },
5426
3028
  {
5427
- "name": "executiveThreshold";
5428
- "type": "u8";
3029
+ "name": "recipient";
3030
+ "type": "pubkey";
5429
3031
  },
5430
3032
  {
5431
- "name": "sender";
3033
+ "name": "mint";
5432
3034
  "type": "pubkey";
5433
3035
  },
3036
+ {
3037
+ "name": "amount";
3038
+ "type": "u64";
3039
+ },
3040
+ {
3041
+ "name": "requestId";
3042
+ "type": "u64";
3043
+ },
5434
3044
  {
5435
3045
  "name": "slot";
5436
3046
  "type": "u64";