@ercworldio/blockchain-shared 1.0.5-dev.7-PROJ-1469.0 → 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,1361 +1176,78 @@ 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
1463
- ];
1464
- }
1465
- ];
1466
- };
1467
- },
1468
- {
1469
- "name": "commitment";
1470
- "writable": true;
1471
- "pda": {
1472
- "seeds": [
1473
- {
1474
- "kind": "const";
1475
- "value": [
1476
- 119,
1477
- 105,
1478
- 116,
1479
- 104,
1480
- 100,
1481
- 114,
1482
- 97,
1483
- 119,
1484
- 97,
1485
- 108
1486
- ];
1487
- },
1488
- {
1489
- "kind": "arg";
1490
- "path": "requestId";
1491
- }
1492
- ];
1493
- };
1494
- },
1495
- {
1496
- "name": "vaultAuthority";
1497
- "writable": true;
1498
- "pda": {
1499
- "seeds": [
1500
- {
1501
- "kind": "const";
1502
- "value": [
1503
- 101,
1504
- 115,
1505
- 99,
1506
- 114,
1507
- 111,
1508
- 119
1509
- ];
1510
- }
1511
- ];
1512
- };
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
- }
1527
- ];
1528
- "args": [
1529
- {
1530
- "name": "requestId";
1531
- "type": "u64";
1532
- }
1533
- ];
1534
- },
1535
- {
1536
- "name": "executeWithdrawalSpl";
1537
- "discriminator": [
1538
- 61,
1539
- 63,
1540
- 171,
1541
- 104,
1542
- 233,
1543
- 62,
1544
- 148,
1545
- 55
1546
- ];
1547
- "accounts": [
1548
- {
1549
- "name": "escrowConfig";
1550
- "pda": {
1551
- "seeds": [
1552
- {
1553
- "kind": "const";
1554
- "value": [
1555
- 101,
1556
- 115,
1557
- 99,
1558
- 114,
1559
- 111,
1560
- 119,
1561
- 45,
1562
- 99,
1563
- 111,
1564
- 110,
1565
- 102,
1566
- 105,
1567
- 103,
1568
- 45,
1569
- 118,
1570
- 50
1571
- ];
1572
- }
1573
- ];
1574
- };
1575
- },
1576
- {
1577
- "name": "commitment";
1578
- "writable": true;
1579
- "pda": {
1580
- "seeds": [
1581
- {
1582
- "kind": "const";
1583
- "value": [
1584
- 119,
1585
- 105,
1586
- 116,
1587
- 104,
1588
- 100,
1589
- 114,
1590
- 97,
1591
- 119,
1592
- 97,
1593
- 108
1594
- ];
1595
- },
1596
- {
1597
- "kind": "arg";
1598
- "path": "requestId";
1599
- }
1600
- ];
1601
- };
1602
- },
1603
- {
1604
- "name": "mint";
1605
- },
1606
- {
1607
- "name": "vaultAuthority";
1608
- "pda": {
1609
- "seeds": [
1610
- {
1611
- "kind": "const";
1612
- "value": [
1613
- 101,
1614
- 115,
1615
- 99,
1616
- 114,
1617
- 111,
1618
- 119
1619
- ];
1620
- }
1621
- ];
1622
- };
1623
- },
1624
- {
1625
- "name": "vaultTokenAccount";
1626
- "writable": true;
1627
- "pda": {
1628
- "seeds": [
1629
- {
1630
- "kind": "account";
1631
- "path": "vaultAuthority";
1632
- },
1633
- {
1634
- "kind": "const";
1635
- "value": [
1636
- 6,
1637
- 221,
1638
- 246,
1639
- 225,
1640
- 215,
1641
- 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
1668
- ];
1669
- },
1670
- {
1671
- "kind": "account";
1672
- "path": "mint";
1673
- }
1674
- ];
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
- };
1713
- },
1714
- {
1715
- "name": "recipient";
1716
- },
1717
- {
1718
- "name": "recipientTokenAccount";
1719
- "writable": true;
1720
- "pda": {
1721
- "seeds": [
1722
- {
1723
- "kind": "account";
1724
- "path": "recipient";
1725
- },
1726
- {
1727
- "kind": "const";
1728
- "value": [
1729
- 6,
1730
- 221,
1731
- 246,
1732
- 225,
1733
- 215,
1734
- 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
1761
- ];
1762
- },
1763
- {
1764
- "kind": "account";
1765
- "path": "mint";
1766
- }
1767
- ];
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
- };
1806
- },
1807
- {
1808
- "name": "caller";
1809
- "writable": true;
1810
- "signer": true;
1811
- },
1812
- {
1813
- "name": "tokenProgram";
1814
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
1815
- },
1816
- {
1817
- "name": "systemProgram";
1818
- "address": "11111111111111111111111111111111";
1819
- }
1820
- ];
1821
- "args": [
1822
- {
1823
- "name": "requestId";
1824
- "type": "u64";
1825
- }
1826
- ];
1827
- },
1828
- {
1829
- "name": "getNonce";
1830
- "discriminator": [
1831
- 132,
1832
- 129,
1833
- 238,
1834
- 76,
1835
- 118,
1836
- 10,
1837
- 212,
1838
- 7
1839
- ];
1840
- "accounts": [
1841
- {
1842
- "name": "nonceAccount";
1843
- "writable": true;
1844
- "pda": {
1845
- "seeds": [
1846
- {
1847
- "kind": "const";
1848
- "value": [
1849
- 119,
1850
- 105,
1851
- 116,
1852
- 104,
1853
- 100,
1854
- 114,
1855
- 97,
1856
- 119,
1857
- 45,
1858
- 110,
1859
- 111,
1860
- 110,
1861
- 99,
1862
- 101
1863
- ];
1864
- },
1865
- {
1866
- "kind": "account";
1867
- "path": "user";
1868
- }
1869
- ];
1870
- };
1871
- },
1872
- {
1873
- "name": "user";
1874
- "writable": true;
1875
- "signer": true;
1876
- },
1877
- {
1878
- "name": "systemProgram";
1879
- "address": "11111111111111111111111111111111";
1880
- }
1881
- ];
1882
- "args": [];
1883
- "returns": "u64";
1884
- },
1885
- {
1886
- "name": "initializeEscrowConfig";
1887
- "discriminator": [
1888
- 59,
1889
- 6,
1890
- 201,
1891
- 67,
1892
- 235,
1893
- 49,
1894
- 169,
1895
- 95
1896
- ];
1897
- "accounts": [
1898
- {
1899
- "name": "escrowConfig";
1900
- "writable": true;
1901
- "pda": {
1902
- "seeds": [
1903
- {
1904
- "kind": "const";
1905
- "value": [
1906
- 101,
1907
- 115,
1908
- 99,
1909
- 114,
1910
- 111,
1911
- 119,
1912
- 45,
1913
- 99,
1914
- 111,
1915
- 110,
1916
- 102,
1917
- 105,
1918
- 103,
1919
- 45,
1920
- 118,
1921
- 50
1922
- ];
1923
- }
1924
- ];
1925
- };
1926
- },
1927
- {
1928
- "name": "admin";
1929
- "writable": true;
1930
- "signer": true;
1931
- },
1932
- {
1933
- "name": "systemProgram";
1934
- "address": "11111111111111111111111111111111";
1935
- }
1936
- ];
1937
- "args": [
1938
- {
1939
- "name": "signerPubkey";
1940
- "type": "pubkey";
1941
- },
1942
- {
1943
- "name": "fundingPubkey";
1944
- "type": "pubkey";
1945
- }
1946
- ];
1947
- },
1948
- {
1949
- "name": "initializeTreasuryConfig";
1950
- "discriminator": [
1951
- 42,
1952
- 221,
1953
- 143,
1954
- 37,
1955
- 13,
1956
- 169,
1957
- 92,
1958
- 98
1959
- ];
1960
- "accounts": [
1961
- {
1962
- "name": "escrowConfig";
1963
- "pda": {
1964
- "seeds": [
1965
- {
1966
- "kind": "const";
1967
- "value": [
1968
- 101,
1969
- 115,
1970
- 99,
1971
- 114,
1972
- 111,
1973
- 119,
1974
- 45,
1975
- 99,
1976
- 111,
1977
- 110,
1978
- 102,
1979
- 105,
1980
- 103,
1981
- 45,
1982
- 118,
1983
- 50
1984
- ];
1985
- }
1986
- ];
1987
- };
1988
- },
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
- {
2018
- "name": "admin";
2019
- "writable": true;
2020
- "signer": true;
2021
- },
2022
- {
2023
- "name": "systemProgram";
2024
- "address": "11111111111111111111111111111111";
2025
- }
2026
- ];
2027
- "args": [
2028
- {
2029
- "name": "managerThreshold";
2030
- "type": "u8";
2031
- },
2032
- {
2033
- "name": "executiveThreshold";
2034
- "type": "u8";
2035
- }
2036
- ];
2037
- },
2038
- {
2039
- "name": "isAdminPubkey";
2040
- "discriminator": [
2041
- 121,
2042
- 139,
2043
- 38,
2044
- 24,
2045
- 170,
2046
- 99,
2047
- 139,
2048
- 243
2049
- ];
2050
- "accounts": [
2051
- {
2052
- "name": "escrowConfig";
2053
- "pda": {
2054
- "seeds": [
2055
- {
2056
- "kind": "const";
2057
- "value": [
2058
- 101,
2059
- 115,
2060
- 99,
2061
- 114,
2062
- 111,
2063
- 119,
2064
- 45,
2065
- 99,
2066
- 111,
2067
- 110,
2068
- 102,
2069
- 105,
2070
- 103,
2071
- 45,
2072
- 118,
2073
- 50
2074
- ];
2075
- }
2076
- ];
2077
- };
2078
- }
2079
- ];
2080
- "args": [
2081
- {
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": [
2101
- {
2102
- "name": "escrowConfig";
2103
- "pda": {
2104
- "seeds": [
2105
- {
2106
- "kind": "const";
2107
- "value": [
2108
- 101,
2109
- 115,
2110
- 99,
2111
- 114,
2112
- 111,
2113
- 119,
2114
- 45,
2115
- 99,
2116
- 111,
2117
- 110,
2118
- 102,
2119
- 105,
2120
- 103,
2121
- 45,
2122
- 118,
2123
- 50
2124
- ];
2125
- }
2126
- ];
2127
- };
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": [
2151
- {
2152
- "name": "escrowConfig";
2153
- "pda": {
2154
- "seeds": [
2155
- {
2156
- "kind": "const";
2157
- "value": [
2158
- 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
2174
- ];
2175
- }
2176
- ];
2177
- };
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": [
2196
- {
2197
- "name": "escrowConfig";
2198
- "pda": {
2199
- "seeds": [
2200
- {
2201
- "kind": "const";
2202
- "value": [
2203
- 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
2219
- ];
2220
- }
2221
- ];
2222
- };
2223
- }
2224
- ];
2225
- "args": [
2226
- {
2227
- "name": "token";
2228
- "type": "pubkey";
2229
- }
2230
- ];
2231
- "returns": "bool";
2232
- },
2233
- {
2234
- "name": "migrateEscrowConfig";
2235
- "discriminator": [
2236
- 221,
2237
- 224,
2238
- 135,
2239
- 120,
2240
- 28,
2241
- 10,
2242
- 75,
2243
- 20
2244
- ];
2245
- "accounts": [
2246
- {
2247
- "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
- "writable": true;
2281
- "pda": {
2282
- "seeds": [
2283
- {
2284
- "kind": "const";
2285
- "value": [
2286
- 101,
2287
- 115,
2288
- 99,
2289
- 114,
2290
- 111,
2291
- 119,
2292
- 45,
2293
- 99,
2294
- 111,
2295
- 110,
2296
- 102,
2297
- 105,
2298
- 103,
2299
- 45,
2300
- 118,
2301
- 50
2302
- ];
2303
- }
2304
- ];
2305
- };
2306
- },
2307
- {
2308
- "name": "admin";
2309
- "writable": true;
2310
- "signer": true;
2311
- },
2312
- {
2313
- "name": "systemProgram";
2314
- "address": "11111111111111111111111111111111";
2315
- }
2316
- ];
2317
- "args": [
2318
- {
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";
2332
- "type": "pubkey";
2333
- }
2334
- ];
2335
- },
2336
- {
2337
- "name": "pauseProgram";
2338
- "discriminator": [
2339
- 91,
2340
- 86,
2341
- 253,
2342
- 175,
2343
- 66,
2344
- 236,
2345
- 172,
2346
- 124
2347
- ];
2348
- "accounts": [
2349
- {
2350
- "name": "escrowConfig";
2351
- "writable": true;
2352
- "pda": {
2353
- "seeds": [
2354
- {
2355
- "kind": "const";
2356
- "value": [
2357
- 101,
2358
- 115,
2359
- 99,
2360
- 114,
2361
- 111,
2362
- 119,
2363
- 45,
2364
- 99,
2365
- 111,
2366
- 110,
2367
- 102,
2368
- 105,
2369
- 103,
2370
- 45,
2371
- 118,
2372
- 50
2373
- ];
2374
- }
2375
- ];
2376
- };
2377
- },
2378
- {
2379
- "name": "admin";
2380
- "writable": true;
2381
- "signer": true;
2382
- },
2383
- {
2384
- "name": "systemProgram";
2385
- "address": "11111111111111111111111111111111";
2386
- }
2387
- ];
2388
- "args": [
2389
- {
2390
- "name": "targetState";
2391
- "type": "bool";
2392
- }
2393
- ];
2394
- },
2395
- {
2396
- "name": "removeAdmin";
2397
- "discriminator": [
2398
- 74,
2399
- 202,
2400
- 71,
2401
- 106,
2402
- 252,
2403
- 31,
2404
- 72,
2405
- 183
2406
- ];
2407
- "accounts": [
2408
- {
2409
- "name": "escrowConfig";
2410
- "writable": true;
2411
- "pda": {
2412
- "seeds": [
2413
- {
2414
- "kind": "const";
2415
- "value": [
2416
- 101,
2417
- 115,
2418
- 99,
2419
- 114,
2420
- 111,
2421
- 119,
2422
- 45,
2423
- 99,
2424
- 111,
2425
- 110,
2426
- 102,
2427
- 105,
2428
- 103,
2429
- 45,
2430
- 118,
2431
- 50
2432
- ];
2433
- }
2434
- ];
2435
- };
2436
- },
2437
- {
2438
- "name": "admin";
2439
- "writable": true;
2440
- "signer": true;
2441
- }
2442
- ];
2443
- "args": [
2444
- {
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";
2465
- "writable": true;
2466
- "pda": {
2467
- "seeds": [
2468
- {
2469
- "kind": "const";
2470
- "value": [
2471
- 101,
2472
- 115,
2473
- 99,
2474
- 114,
2475
- 111,
2476
- 119,
2477
- 45,
2478
- 99,
2479
- 111,
2480
- 110,
2481
- 102,
2482
- 105,
2483
- 103,
2484
- 45,
2485
- 118,
2486
- 50
2487
- ];
2488
- }
2489
- ];
2490
- };
2491
- },
2492
- {
2493
- "name": "admin";
2494
- "writable": true;
2495
- "signer": true;
2496
- }
2497
- ];
2498
- "args": [
2499
- {
2500
- "name": "tokenMint";
2501
- "type": "pubkey";
2502
- }
2503
- ];
2504
- },
2505
- {
2506
- "name": "removeTokenFromEscrow";
2507
- "docs": [
2508
- "Admin Withdraw SPL tokens"
2509
- ];
2510
- "discriminator": [
2511
- 42,
2512
- 189,
2513
- 194,
2514
- 61,
2515
- 110,
2516
- 149,
2517
- 83,
2518
- 126
2519
- ];
2520
- "accounts": [
2521
- {
2522
- "name": "escrowConfig";
2523
- "pda": {
2524
- "seeds": [
2525
- {
2526
- "kind": "const";
2527
- "value": [
2528
- 101,
2529
- 115,
2530
- 99,
2531
- 114,
2532
- 111,
2533
- 119,
2534
- 45,
2535
- 99,
2536
- 111,
2537
- 110,
2538
- 102,
2539
- 105,
2540
- 103,
2541
- 45,
2542
- 118,
2543
- 50
2544
- ];
2545
- }
2546
- ];
2547
- };
2548
- },
2549
- {
2550
- "name": "mint";
2551
- },
2552
- {
2553
- "name": "admin";
2554
- "writable": true;
2555
- "signer": true;
2556
- },
2557
- {
2558
- "name": "vaultAuthority";
2559
- "writable": true;
2560
- "pda": {
2561
- "seeds": [
2562
- {
2563
- "kind": "const";
2564
- "value": [
2565
- 101,
2566
- 115,
2567
- 99,
2568
- 114,
2569
- 111,
2570
- 119
2571
- ];
2572
- }
2573
- ];
2574
- };
2575
- },
2576
- {
2577
- "name": "vaultTokenAccount";
2578
- "writable": true;
2579
- "pda": {
2580
- "seeds": [
2581
- {
2582
- "kind": "account";
2583
- "path": "vaultAuthority";
2584
- },
2585
- {
2586
- "kind": "const";
2587
- "value": [
2588
- 6,
2589
- 221,
2590
- 246,
2591
- 225,
2592
- 215,
2593
- 101,
2594
- 161,
2595
- 147,
2596
- 217,
2597
- 203,
2598
- 225,
2599
- 70,
2600
- 206,
2601
- 235,
2602
- 121,
2603
- 172,
2604
- 28,
2605
- 180,
2606
- 133,
2607
- 237,
2608
- 95,
2609
- 91,
2610
- 55,
2611
- 145,
2612
- 58,
2613
- 140,
2614
- 245,
2615
- 133,
2616
- 126,
2617
- 255,
2618
- 0,
2619
- 169
2620
- ];
2621
- },
2622
- {
2623
- "kind": "account";
2624
- "path": "mint";
2625
- }
2626
- ];
2627
- "program": {
2628
- "kind": "const";
2629
- "value": [
2630
- 140,
2631
- 151,
2632
- 37,
2633
- 143,
2634
- 78,
2635
- 36,
2636
- 137,
2637
- 241,
2638
- 187,
2639
- 61,
2640
- 16,
2641
- 41,
2642
- 20,
2643
- 142,
2644
- 13,
2645
- 131,
2646
- 11,
2647
- 90,
2648
- 19,
2649
- 153,
2650
- 218,
2651
- 255,
2652
- 16,
2653
- 132,
2654
- 4,
2655
- 142,
2656
- 123,
2657
- 216,
2658
- 219,
2659
- 233,
2660
- 248,
2661
- 89
2662
- ];
2663
- };
2664
- };
2665
- },
2666
- {
2667
- "name": "destinationTokenAccount";
2668
- "writable": true;
2669
- "pda": {
2670
- "seeds": [
2671
- {
2672
- "kind": "account";
2673
- "path": "admin";
2674
- },
2675
- {
2676
- "kind": "const";
2677
- "value": [
2678
- 6,
2679
- 221,
2680
- 246,
2681
- 225,
2682
- 215,
2683
- 101,
2684
- 161,
2685
- 147,
2686
- 217,
2687
- 203,
2688
- 225,
2689
- 70,
2690
- 206,
2691
- 235,
2692
- 121,
2693
- 172,
2694
- 28,
2695
- 180,
2696
- 133,
2697
- 237,
2698
- 95,
2699
- 91,
2700
- 55,
2701
- 145,
2702
- 58,
2703
- 140,
2704
- 245,
2705
- 133,
2706
- 126,
2707
- 255,
2708
- 0,
2709
- 169
1211
+ 99,
1212
+ 101
2710
1213
  ];
2711
1214
  },
2712
1215
  {
2713
1216
  "kind": "account";
2714
- "path": "mint";
1217
+ "path": "user";
2715
1218
  }
2716
1219
  ];
2717
- "program": {
2718
- "kind": "const";
2719
- "value": [
2720
- 140,
2721
- 151,
2722
- 37,
2723
- 143,
2724
- 78,
2725
- 36,
2726
- 137,
2727
- 241,
2728
- 187,
2729
- 61,
2730
- 16,
2731
- 41,
2732
- 20,
2733
- 142,
2734
- 13,
2735
- 131,
2736
- 11,
2737
- 90,
2738
- 19,
2739
- 153,
2740
- 218,
2741
- 255,
2742
- 16,
2743
- 132,
2744
- 4,
2745
- 142,
2746
- 123,
2747
- 216,
2748
- 219,
2749
- 233,
2750
- 248,
2751
- 89
2752
- ];
2753
- };
2754
1220
  };
2755
1221
  },
2756
1222
  {
2757
- "name": "tokenProgram";
2758
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
2759
- }
2760
- ];
2761
- "args": [
1223
+ "name": "user";
1224
+ "writable": true;
1225
+ "signer": true;
1226
+ },
2762
1227
  {
2763
- "name": "amount";
2764
- "type": "u64";
1228
+ "name": "systemProgram";
1229
+ "address": "11111111111111111111111111111111";
2765
1230
  }
2766
1231
  ];
1232
+ "args": [];
1233
+ "returns": "u64";
2767
1234
  },
2768
1235
  {
2769
- "name": "removeTreasuryExecutive";
1236
+ "name": "initializeEscrowConfig";
2770
1237
  "discriminator": [
2771
- 147,
2772
- 53,
2773
- 215,
2774
- 158,
2775
- 215,
2776
- 195,
2777
- 139,
2778
- 26
1238
+ 59,
1239
+ 6,
1240
+ 201,
1241
+ 67,
1242
+ 235,
1243
+ 49,
1244
+ 169,
1245
+ 95
2779
1246
  ];
2780
1247
  "accounts": [
2781
1248
  {
2782
1249
  "name": "escrowConfig";
1250
+ "writable": true;
2783
1251
  "pda": {
2784
1252
  "seeds": [
2785
1253
  {
@@ -2806,140 +1274,38 @@ export type Escrow = {
2806
1274
  ];
2807
1275
  };
2808
1276
  },
2809
- {
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
- };
2836
- },
2837
1277
  {
2838
1278
  "name": "admin";
2839
1279
  "writable": true;
2840
1280
  "signer": true;
1281
+ },
1282
+ {
1283
+ "name": "systemProgram";
1284
+ "address": "11111111111111111111111111111111";
2841
1285
  }
2842
1286
  ];
2843
1287
  "args": [
2844
1288
  {
2845
- "name": "pubkey";
1289
+ "name": "signerPubkey";
2846
1290
  "type": "pubkey";
2847
- }
2848
- ];
2849
- },
2850
- {
2851
- "name": "removeTreasuryManager";
2852
- "discriminator": [
2853
- 82,
2854
- 21,
2855
- 184,
2856
- 234,
2857
- 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
1291
  },
2919
1292
  {
2920
- "name": "admin";
2921
- "writable": true;
2922
- "signer": true;
2923
- }
2924
- ];
2925
- "args": [
2926
- {
2927
- "name": "pubkey";
1293
+ "name": "fundingPubkey";
2928
1294
  "type": "pubkey";
2929
1295
  }
2930
1296
  ];
2931
1297
  },
2932
1298
  {
2933
- "name": "scheduleWithdrawalSol";
1299
+ "name": "isAdminPubkey";
2934
1300
  "discriminator": [
2935
- 41,
2936
- 253,
1301
+ 121,
2937
1302
  139,
2938
- 251,
2939
- 39,
2940
- 160,
2941
- 13,
2942
- 135
1303
+ 38,
1304
+ 24,
1305
+ 170,
1306
+ 99,
1307
+ 139,
1308
+ 243
2943
1309
  ];
2944
1310
  "accounts": [
2945
1311
  {
@@ -2969,168 +1335,77 @@ export type Escrow = {
2969
1335
  }
2970
1336
  ];
2971
1337
  };
2972
- },
1338
+ }
1339
+ ];
1340
+ "args": [
1341
+ {
1342
+ "name": "account";
1343
+ "type": "pubkey";
1344
+ }
1345
+ ];
1346
+ "returns": "bool";
1347
+ },
1348
+ {
1349
+ "name": "isFundingPubkey";
1350
+ "discriminator": [
1351
+ 252,
1352
+ 56,
1353
+ 255,
1354
+ 21,
1355
+ 13,
1356
+ 63,
1357
+ 211,
1358
+ 163
1359
+ ];
1360
+ "accounts": [
2973
1361
  {
2974
- "name": "treasuryConfig";
1362
+ "name": "escrowConfig";
2975
1363
  "pda": {
2976
1364
  "seeds": [
2977
1365
  {
2978
1366
  "kind": "const";
2979
1367
  "value": [
2980
- 116,
2981
- 114,
2982
1368
  101,
2983
- 97,
2984
1369
  115,
2985
- 117,
2986
- 114,
2987
- 121,
2988
- 45,
2989
1370
  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
1371
  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
1372
  111,
3040
- 99,
3041
- 107,
1373
+ 119,
3042
1374
  45,
3043
1375
  99,
3044
1376
  111,
3045
1377
  110,
3046
1378
  102,
3047
1379
  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,
1380
+ 103,
3069
1381
  45,
3070
- 116,
3071
- 105,
3072
- 109,
3073
- 101,
3074
- 108,
3075
- 111,
3076
- 99,
3077
- 107
1382
+ 118,
1383
+ 50
3078
1384
  ];
3079
- },
3080
- {
3081
- "kind": "account";
3082
- "path": "recipient";
3083
1385
  }
3084
1386
  ];
3085
1387
  };
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
1388
  }
3103
1389
  ];
3104
1390
  "args": [
3105
1391
  {
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";
1392
+ "name": "account";
1393
+ "type": "pubkey";
3120
1394
  }
3121
1395
  ];
1396
+ "returns": "bool";
3122
1397
  },
3123
1398
  {
3124
- "name": "scheduleWithdrawalSpl";
1399
+ "name": "isInitializedConfig";
3125
1400
  "discriminator": [
3126
- 95,
3127
- 68,
3128
- 202,
3129
- 149,
3130
- 66,
3131
1401
  113,
3132
- 28,
3133
- 201
1402
+ 162,
1403
+ 133,
1404
+ 92,
1405
+ 161,
1406
+ 73,
1407
+ 200,
1408
+ 232
3134
1409
  ];
3135
1410
  "accounts": [
3136
1411
  {
@@ -3160,76 +1435,91 @@ export type Escrow = {
3160
1435
  }
3161
1436
  ];
3162
1437
  };
3163
- },
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": [
3164
1456
  {
3165
- "name": "treasuryConfig";
1457
+ "name": "escrowConfig";
3166
1458
  "pda": {
3167
1459
  "seeds": [
3168
1460
  {
3169
1461
  "kind": "const";
3170
1462
  "value": [
3171
- 116,
3172
- 114,
3173
1463
  101,
3174
- 97,
3175
1464
  115,
3176
- 117,
1465
+ 99,
3177
1466
  114,
3178
- 121,
1467
+ 111,
1468
+ 119,
3179
1469
  45,
3180
1470
  99,
3181
1471
  111,
3182
1472
  110,
3183
1473
  102,
3184
1474
  105,
3185
- 103
1475
+ 103,
1476
+ 45,
1477
+ 118,
1478
+ 50
3186
1479
  ];
3187
1480
  }
3188
1481
  ];
3189
1482
  };
3190
- },
1483
+ }
1484
+ ];
1485
+ "args": [
3191
1486
  {
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
- },
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": [
3218
1506
  {
3219
- "name": "timelockConfig";
1507
+ "name": "escrowConfig";
1508
+ "docs": [
1509
+ "Old account (smaller)"
1510
+ ];
1511
+ "writable": true;
3220
1512
  "pda": {
3221
1513
  "seeds": [
3222
1514
  {
3223
1515
  "kind": "const";
3224
1516
  "value": [
3225
- 116,
3226
- 105,
3227
- 109,
3228
1517
  101,
3229
- 108,
3230
- 111,
1518
+ 115,
3231
1519
  99,
3232
- 107,
1520
+ 114,
1521
+ 111,
1522
+ 119,
3233
1523
  45,
3234
1524
  99,
3235
1525
  111,
@@ -3243,91 +1533,77 @@ export type Escrow = {
3243
1533
  };
3244
1534
  },
3245
1535
  {
3246
- "name": "receiverTimelockConfig";
1536
+ "name": "newEscrowConfig";
1537
+ "docs": [
1538
+ "New account with more space"
1539
+ ];
1540
+ "writable": true;
3247
1541
  "pda": {
3248
1542
  "seeds": [
3249
1543
  {
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,
1544
+ "kind": "const";
1545
+ "value": [
3264
1546
  101,
3265
- 108,
1547
+ 115,
1548
+ 99,
1549
+ 114,
3266
1550
  111,
1551
+ 119,
1552
+ 45,
3267
1553
  99,
3268
- 107
1554
+ 111,
1555
+ 110,
1556
+ 102,
1557
+ 105,
1558
+ 103,
1559
+ 45,
1560
+ 118,
1561
+ 50
3269
1562
  ];
3270
- },
3271
- {
3272
- "kind": "account";
3273
- "path": "recipient";
3274
1563
  }
3275
1564
  ];
3276
1565
  };
3277
1566
  },
3278
1567
  {
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";
1568
+ "name": "admin";
3289
1569
  "writable": true;
3290
1570
  "signer": true;
3291
1571
  },
3292
1572
  {
3293
1573
  "name": "systemProgram";
3294
1574
  "address": "11111111111111111111111111111111";
3295
- },
3296
- {
3297
- "name": "instructions";
3298
- "address": "Sysvar1nstructions1111111111111111111111111";
3299
1575
  }
3300
1576
  ];
3301
1577
  "args": [
3302
1578
  {
3303
- "name": "requestId";
3304
- "type": "u64";
3305
- },
3306
- {
3307
- "name": "committedAmount";
3308
- "type": "u64";
1579
+ "name": "admins";
1580
+ "type": {
1581
+ "vec": "pubkey";
1582
+ };
3309
1583
  },
3310
1584
  {
3311
- "name": "netAmount";
3312
- "type": "u64";
1585
+ "name": "paymentTokens";
1586
+ "type": {
1587
+ "vec": "pubkey";
1588
+ };
3313
1589
  },
3314
1590
  {
3315
- "name": "chainId";
3316
- "type": "u64";
1591
+ "name": "fundingWallet";
1592
+ "type": "pubkey";
3317
1593
  }
3318
1594
  ];
3319
1595
  },
3320
1596
  {
3321
- "name": "setAdmin";
1597
+ "name": "pauseProgram";
3322
1598
  "discriminator": [
3323
- 251,
3324
- 163,
3325
- 0,
3326
- 52,
3327
1599
  91,
3328
- 194,
3329
- 187,
3330
- 92
1600
+ 86,
1601
+ 253,
1602
+ 175,
1603
+ 66,
1604
+ 236,
1605
+ 172,
1606
+ 124
3331
1607
  ];
3332
1608
  "accounts": [
3333
1609
  {
@@ -3361,27 +1637,32 @@ export type Escrow = {
3361
1637
  },
3362
1638
  {
3363
1639
  "name": "admin";
1640
+ "writable": true;
3364
1641
  "signer": true;
1642
+ },
1643
+ {
1644
+ "name": "systemProgram";
1645
+ "address": "11111111111111111111111111111111";
3365
1646
  }
3366
1647
  ];
3367
1648
  "args": [
3368
1649
  {
3369
- "name": "newAdmin";
3370
- "type": "pubkey";
1650
+ "name": "targetState";
1651
+ "type": "bool";
3371
1652
  }
3372
1653
  ];
3373
1654
  },
3374
1655
  {
3375
- "name": "setFundingWallet";
1656
+ "name": "removeAdmin";
3376
1657
  "discriminator": [
3377
- 134,
3378
- 34,
3379
- 203,
3380
- 88,
3381
- 248,
3382
- 13,
3383
- 78,
3384
- 30
1658
+ 74,
1659
+ 202,
1660
+ 71,
1661
+ 106,
1662
+ 252,
1663
+ 31,
1664
+ 72,
1665
+ 183
3385
1666
  ];
3386
1667
  "accounts": [
3387
1668
  {
@@ -3421,26 +1702,27 @@ export type Escrow = {
3421
1702
  ];
3422
1703
  "args": [
3423
1704
  {
3424
- "name": "newFundingWallet";
1705
+ "name": "account";
3425
1706
  "type": "pubkey";
3426
1707
  }
3427
1708
  ];
3428
1709
  },
3429
1710
  {
3430
- "name": "setMaxFeeDelta";
1711
+ "name": "removePaymentToken";
3431
1712
  "discriminator": [
3432
- 184,
3433
- 66,
3434
- 78,
3435
- 162,
3436
- 85,
3437
- 237,
3438
- 83,
3439
- 148
1713
+ 119,
1714
+ 18,
1715
+ 240,
1716
+ 223,
1717
+ 126,
1718
+ 168,
1719
+ 165,
1720
+ 117
3440
1721
  ];
3441
1722
  "accounts": [
3442
1723
  {
3443
1724
  "name": "escrowConfig";
1725
+ "writable": true;
3444
1726
  "pda": {
3445
1727
  "seeds": [
3446
1728
  {
@@ -3467,34 +1749,6 @@ export type Escrow = {
3467
1749
  ];
3468
1750
  };
3469
1751
  },
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
1752
  {
3499
1753
  "name": "admin";
3500
1754
  "writable": true;
@@ -3503,22 +1757,25 @@ export type Escrow = {
3503
1757
  ];
3504
1758
  "args": [
3505
1759
  {
3506
- "name": "amount";
3507
- "type": "u64";
1760
+ "name": "tokenMint";
1761
+ "type": "pubkey";
3508
1762
  }
3509
1763
  ];
3510
1764
  },
3511
1765
  {
3512
- "name": "setReceiverTimelockConfig";
1766
+ "name": "removeTokenFromEscrow";
1767
+ "docs": [
1768
+ "Admin Withdraw SPL tokens"
1769
+ ];
3513
1770
  "discriminator": [
3514
- 179,
3515
- 116,
3516
- 158,
3517
- 165,
3518
- 236,
3519
- 240,
3520
- 203,
3521
- 78
1771
+ 42,
1772
+ 189,
1773
+ 194,
1774
+ 61,
1775
+ 110,
1776
+ 149,
1777
+ 83,
1778
+ 126
3522
1779
  ];
3523
1780
  "accounts": [
3524
1781
  {
@@ -3550,130 +1807,240 @@ export type Escrow = {
3550
1807
  };
3551
1808
  },
3552
1809
  {
3553
- "name": "receiverTimelockConfig";
1810
+ "name": "mint";
1811
+ },
1812
+ {
1813
+ "name": "admin";
1814
+ "writable": true;
1815
+ "signer": true;
1816
+ },
1817
+ {
1818
+ "name": "vaultAuthority";
3554
1819
  "writable": true;
3555
1820
  "pda": {
3556
1821
  "seeds": [
3557
1822
  {
3558
1823
  "kind": "const";
3559
1824
  "value": [
3560
- 114,
3561
1825
  101,
1826
+ 115,
3562
1827
  99,
3563
- 101,
3564
- 105,
3565
- 118,
3566
- 101,
3567
1828
  114,
3568
- 45,
3569
- 116,
3570
- 105,
3571
- 109,
3572
- 101,
3573
- 108,
3574
1829
  111,
3575
- 99,
3576
- 107
1830
+ 119
1831
+ ];
1832
+ }
1833
+ ];
1834
+ };
1835
+ },
1836
+ {
1837
+ "name": "vaultTokenAccount";
1838
+ "writable": true;
1839
+ "pda": {
1840
+ "seeds": [
1841
+ {
1842
+ "kind": "account";
1843
+ "path": "vaultAuthority";
1844
+ },
1845
+ {
1846
+ "kind": "const";
1847
+ "value": [
1848
+ 6,
1849
+ 221,
1850
+ 246,
1851
+ 225,
1852
+ 215,
1853
+ 101,
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
3577
1880
  ];
3578
1881
  },
3579
1882
  {
3580
- "kind": "arg";
3581
- "path": "receiver";
1883
+ "kind": "account";
1884
+ "path": "mint";
3582
1885
  }
3583
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
+ };
3584
1924
  };
3585
1925
  },
3586
1926
  {
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";
1927
+ "name": "destinationTokenAccount";
3622
1928
  "writable": true;
3623
1929
  "pda": {
3624
1930
  "seeds": [
1931
+ {
1932
+ "kind": "account";
1933
+ "path": "admin";
1934
+ },
3625
1935
  {
3626
1936
  "kind": "const";
3627
1937
  "value": [
1938
+ 6,
1939
+ 221,
1940
+ 246,
1941
+ 225,
1942
+ 215,
3628
1943
  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
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
3644
1970
  ];
1971
+ },
1972
+ {
1973
+ "kind": "account";
1974
+ "path": "mint";
3645
1975
  }
3646
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
+ };
3647
2014
  };
3648
2015
  },
3649
2016
  {
3650
- "name": "admin";
3651
- "writable": true;
3652
- "signer": true;
2017
+ "name": "tokenProgram";
2018
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
3653
2019
  }
3654
2020
  ];
3655
2021
  "args": [
3656
2022
  {
3657
- "name": "newSignatureWallet";
3658
- "type": "pubkey";
2023
+ "name": "amount";
2024
+ "type": "u64";
3659
2025
  }
3660
2026
  ];
3661
2027
  },
3662
2028
  {
3663
- "name": "setTimelockConfig";
2029
+ "name": "setAdmin";
3664
2030
  "discriminator": [
3665
- 176,
3666
- 167,
3667
- 10,
3668
- 233,
3669
2031
  251,
3670
- 255,
3671
- 15,
3672
- 254
2032
+ 163,
2033
+ 0,
2034
+ 52,
2035
+ 91,
2036
+ 194,
2037
+ 187,
2038
+ 92
3673
2039
  ];
3674
2040
  "accounts": [
3675
2041
  {
3676
2042
  "name": "escrowConfig";
2043
+ "writable": true;
3677
2044
  "pda": {
3678
2045
  "seeds": [
3679
2046
  {
@@ -3700,66 +2067,34 @@ export type Escrow = {
3700
2067
  ];
3701
2068
  };
3702
2069
  },
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
2070
  {
3732
2071
  "name": "admin";
3733
- "writable": true;
3734
2072
  "signer": true;
3735
- },
3736
- {
3737
- "name": "systemProgram";
3738
- "address": "11111111111111111111111111111111";
3739
2073
  }
3740
2074
  ];
3741
2075
  "args": [
3742
2076
  {
3743
- "name": "delaySeconds";
3744
- "type": "i64";
2077
+ "name": "newAdmin";
2078
+ "type": "pubkey";
3745
2079
  }
3746
2080
  ];
3747
2081
  },
3748
2082
  {
3749
- "name": "setWithdrawalThresholds";
2083
+ "name": "setFundingWallet";
3750
2084
  "discriminator": [
3751
- 210,
3752
- 174,
3753
- 130,
3754
- 94,
3755
- 94,
3756
- 180,
3757
- 181,
3758
- 165
2085
+ 134,
2086
+ 34,
2087
+ 203,
2088
+ 88,
2089
+ 248,
2090
+ 13,
2091
+ 78,
2092
+ 30
3759
2093
  ];
3760
2094
  "accounts": [
3761
2095
  {
3762
2096
  "name": "escrowConfig";
2097
+ "writable": true;
3763
2098
  "pda": {
3764
2099
  "seeds": [
3765
2100
  {
@@ -3786,34 +2121,6 @@ export type Escrow = {
3786
2121
  ];
3787
2122
  };
3788
2123
  },
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
2124
  {
3818
2125
  "name": "admin";
3819
2126
  "writable": true;
@@ -3822,12 +2129,8 @@ export type Escrow = {
3822
2129
  ];
3823
2130
  "args": [
3824
2131
  {
3825
- "name": "managerThreshold";
3826
- "type": "u8";
3827
- },
3828
- {
3829
- "name": "executiveThreshold";
3830
- "type": "u8";
2132
+ "name": "newFundingWallet";
2133
+ "type": "pubkey";
3831
2134
  }
3832
2135
  ];
3833
2136
  },
@@ -4253,59 +2556,20 @@ export type Escrow = {
4253
2556
  239,
4254
2557
  148,
4255
2558
  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
2559
+ 44
4296
2560
  ];
4297
2561
  },
4298
2562
  {
4299
- "name": "treasuryConfig";
2563
+ "name": "escrowConfiguration";
4300
2564
  "discriminator": [
4301
- 124,
4302
- 54,
4303
- 212,
4304
- 227,
4305
- 213,
4306
- 189,
4307
- 168,
4308
- 41
2565
+ 105,
2566
+ 131,
2567
+ 219,
2568
+ 218,
2569
+ 63,
2570
+ 157,
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": [
@@ -4413,45 +2664,6 @@ export type Escrow = {
4413
2664
  53,
4414
2665
  85
4415
2666
  ];
4416
- },
4417
- {
4418
- "name": "withdrawalCancelledEvent";
4419
- "discriminator": [
4420
- 40,
4421
- 218,
4422
- 165,
4423
- 230,
4424
- 31,
4425
- 49,
4426
- 238,
4427
- 127
4428
- ];
4429
- },
4430
- {
4431
- "name": "withdrawalExecutedEvent";
4432
- "discriminator": [
4433
- 60,
4434
- 185,
4435
- 83,
4436
- 2,
4437
- 206,
4438
- 217,
4439
- 44,
4440
- 53
4441
- ];
4442
- },
4443
- {
4444
- "name": "withdrawalScheduledEvent";
4445
- "discriminator": [
4446
- 74,
4447
- 43,
4448
- 199,
4449
- 56,
4450
- 129,
4451
- 1,
4452
- 247,
4453
- 68
4454
- ];
4455
2667
  }
4456
2668
  ];
4457
2669
  "errors": [
@@ -4554,51 +2766,6 @@ export type Escrow = {
4554
2766
  "code": 6019;
4555
2767
  "name": "maxAdminCount";
4556
2768
  "msg": "Max admin count reached";
4557
- },
4558
- {
4559
- "code": 6020;
4560
- "name": "notInitialized";
4561
- "msg": "Treasury config not initialized";
4562
- },
4563
- {
4564
- "code": 6021;
4565
- "name": "unauthorizedSigner";
4566
- "msg": "Signer is not a treasury manager or executive";
4567
- },
4568
- {
4569
- "code": 6022;
4570
- "name": "insufficientManagerSigs";
4571
- "msg": "Insufficient treasury manager signatures";
4572
- },
4573
- {
4574
- "code": 6023;
4575
- "name": "insufficientExecutiveSigs";
4576
- "msg": "Insufficient treasury executive signatures";
4577
- },
4578
- {
4579
- "code": 6024;
4580
- "name": "maxRoleCount";
4581
- "msg": "Max role member count reached";
4582
- },
4583
- {
4584
- "code": 6025;
4585
- "name": "invalidNetAmount";
4586
- "msg": "net_amount exceeds committed_amount";
4587
- },
4588
- {
4589
- "code": 6026;
4590
- "name": "feeDeltaExceedsCap";
4591
- "msg": "Fee delta exceeds max allowed cap";
4592
- },
4593
- {
4594
- "code": 6027;
4595
- "name": "timelockNotExpired";
4596
- "msg": "Timelock has not expired yet";
4597
- },
4598
- {
4599
- "code": 6028;
4600
- "name": "invalidRequestId";
4601
- "msg": "Request ID does not match commitment";
4602
2769
  }
4603
2770
  ];
4604
2771
  "types": [
@@ -4805,83 +2972,6 @@ export type Escrow = {
4805
2972
  ];
4806
2973
  };
4807
2974
  },
4808
- {
4809
- "name": "receiverTimelockConfig";
4810
- "docs": [
4811
- "Per-receiver timelock override. delay_seconds = 0 means trusted (immediate execution)."
4812
- ];
4813
- "type": {
4814
- "kind": "struct";
4815
- "fields": [
4816
- {
4817
- "name": "delaySeconds";
4818
- "type": "i64";
4819
- },
4820
- {
4821
- "name": "isSet";
4822
- "type": "bool";
4823
- }
4824
- ];
4825
- };
4826
- },
4827
- {
4828
- "name": "timelockConfig";
4829
- "docs": [
4830
- "Global timelock delay applied to all withdrawals unless overridden per-receiver."
4831
- ];
4832
- "type": {
4833
- "kind": "struct";
4834
- "fields": [
4835
- {
4836
- "name": "delaySeconds";
4837
- "type": "i64";
4838
- },
4839
- {
4840
- "name": "isSet";
4841
- "type": "bool";
4842
- }
4843
- ];
4844
- };
4845
- },
4846
- {
4847
- "name": "treasuryConfig";
4848
- "type": {
4849
- "kind": "struct";
4850
- "fields": [
4851
- {
4852
- "name": "treasuryManagers";
4853
- "type": {
4854
- "vec": "pubkey";
4855
- };
4856
- },
4857
- {
4858
- "name": "treasuryExecutives";
4859
- "type": {
4860
- "vec": "pubkey";
4861
- };
4862
- },
4863
- {
4864
- "name": "managerThreshold";
4865
- "type": "u8";
4866
- },
4867
- {
4868
- "name": "executiveThreshold";
4869
- "type": "u8";
4870
- },
4871
- {
4872
- "name": "maxFeeDelta";
4873
- "docs": [
4874
- "Maximum allowable deduction between committed_amount and net_amount (0 = disabled)"
4875
- ];
4876
- "type": "u64";
4877
- },
4878
- {
4879
- "name": "isInitialized";
4880
- "type": "bool";
4881
- }
4882
- ];
4883
- };
4884
- },
4885
2975
  {
4886
2976
  "name": "withdrawNonce";
4887
2977
  "type": {
@@ -4961,157 +3051,6 @@ export type Escrow = {
4961
3051
  }
4962
3052
  ];
4963
3053
  };
4964
- },
4965
- {
4966
- "name": "withdrawalCancelledEvent";
4967
- "type": {
4968
- "kind": "struct";
4969
- "fields": [
4970
- {
4971
- "name": "requestId";
4972
- "type": "u64";
4973
- },
4974
- {
4975
- "name": "cancelledBy";
4976
- "type": "pubkey";
4977
- },
4978
- {
4979
- "name": "slot";
4980
- "type": "u64";
4981
- },
4982
- {
4983
- "name": "timestamp";
4984
- "type": "i64";
4985
- }
4986
- ];
4987
- };
4988
- },
4989
- {
4990
- "name": "withdrawalCommitment";
4991
- "type": {
4992
- "kind": "struct";
4993
- "fields": [
4994
- {
4995
- "name": "requestId";
4996
- "type": "u64";
4997
- },
4998
- {
4999
- "name": "committedAmount";
5000
- "type": "u64";
5001
- },
5002
- {
5003
- "name": "netAmount";
5004
- "type": "u64";
5005
- },
5006
- {
5007
- "name": "recipient";
5008
- "type": "pubkey";
5009
- },
5010
- {
5011
- "name": "tokenMint";
5012
- "docs": [
5013
- "For SOL withdrawals this is the System Program pubkey."
5014
- ];
5015
- "type": "pubkey";
5016
- },
5017
- {
5018
- "name": "executeAt";
5019
- "type": "i64";
5020
- },
5021
- {
5022
- "name": "creator";
5023
- "type": "pubkey";
5024
- },
5025
- {
5026
- "name": "isSol";
5027
- "type": "bool";
5028
- },
5029
- {
5030
- "name": "chainId";
5031
- "type": "u64";
5032
- }
5033
- ];
5034
- };
5035
- },
5036
- {
5037
- "name": "withdrawalExecutedEvent";
5038
- "type": {
5039
- "kind": "struct";
5040
- "fields": [
5041
- {
5042
- "name": "requestId";
5043
- "type": "u64";
5044
- },
5045
- {
5046
- "name": "recipient";
5047
- "type": "pubkey";
5048
- },
5049
- {
5050
- "name": "netAmount";
5051
- "type": "u64";
5052
- },
5053
- {
5054
- "name": "tokenMint";
5055
- "type": "pubkey";
5056
- },
5057
- {
5058
- "name": "isSol";
5059
- "type": "bool";
5060
- },
5061
- {
5062
- "name": "slot";
5063
- "type": "u64";
5064
- },
5065
- {
5066
- "name": "timestamp";
5067
- "type": "i64";
5068
- }
5069
- ];
5070
- };
5071
- },
5072
- {
5073
- "name": "withdrawalScheduledEvent";
5074
- "type": {
5075
- "kind": "struct";
5076
- "fields": [
5077
- {
5078
- "name": "requestId";
5079
- "type": "u64";
5080
- },
5081
- {
5082
- "name": "recipient";
5083
- "type": "pubkey";
5084
- },
5085
- {
5086
- "name": "committedAmount";
5087
- "type": "u64";
5088
- },
5089
- {
5090
- "name": "netAmount";
5091
- "type": "u64";
5092
- },
5093
- {
5094
- "name": "tokenMint";
5095
- "type": "pubkey";
5096
- },
5097
- {
5098
- "name": "executeAt";
5099
- "type": "i64";
5100
- },
5101
- {
5102
- "name": "isSol";
5103
- "type": "bool";
5104
- },
5105
- {
5106
- "name": "slot";
5107
- "type": "u64";
5108
- },
5109
- {
5110
- "name": "timestamp";
5111
- "type": "i64";
5112
- }
5113
- ];
5114
- };
5115
3054
  }
5116
3055
  ];
5117
3056
  };