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