@triadxyz/triad-protocol 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/types/idl_triad_protocol.json +50 -2
- package/dist/types/triad_protocol.d.ts +106 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1241,7 +1241,31 @@
|
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
1243
|
"name": "buyer_ata",
|
|
1244
|
-
"writable": true
|
|
1244
|
+
"writable": true,
|
|
1245
|
+
"pda": {
|
|
1246
|
+
"seeds": [
|
|
1247
|
+
{
|
|
1248
|
+
"kind": "account",
|
|
1249
|
+
"path": "signer"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"kind": "account",
|
|
1253
|
+
"path": "token_program"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"kind": "account",
|
|
1257
|
+
"path": "mint"
|
|
1258
|
+
}
|
|
1259
|
+
],
|
|
1260
|
+
"program": {
|
|
1261
|
+
"kind": "const",
|
|
1262
|
+
"value": [
|
|
1263
|
+
140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142,
|
|
1264
|
+
13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216,
|
|
1265
|
+
219, 233, 248, 89
|
|
1266
|
+
]
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1245
1269
|
},
|
|
1246
1270
|
{
|
|
1247
1271
|
"name": "seller_ata",
|
|
@@ -1273,7 +1297,31 @@
|
|
|
1273
1297
|
},
|
|
1274
1298
|
{
|
|
1275
1299
|
"name": "market_ata",
|
|
1276
|
-
"writable": true
|
|
1300
|
+
"writable": true,
|
|
1301
|
+
"pda": {
|
|
1302
|
+
"seeds": [
|
|
1303
|
+
{
|
|
1304
|
+
"kind": "account",
|
|
1305
|
+
"path": "market"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"kind": "account",
|
|
1309
|
+
"path": "token_program"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "account",
|
|
1313
|
+
"path": "mint"
|
|
1314
|
+
}
|
|
1315
|
+
],
|
|
1316
|
+
"program": {
|
|
1317
|
+
"kind": "const",
|
|
1318
|
+
"value": [
|
|
1319
|
+
140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142,
|
|
1320
|
+
13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216,
|
|
1321
|
+
219, 233, 248, 89
|
|
1322
|
+
]
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1277
1325
|
},
|
|
1278
1326
|
{
|
|
1279
1327
|
"name": "token_program",
|
|
@@ -1718,6 +1718,59 @@ export type TriadProtocol = {
|
|
|
1718
1718
|
{
|
|
1719
1719
|
name: 'buyerAta';
|
|
1720
1720
|
writable: true;
|
|
1721
|
+
pda: {
|
|
1722
|
+
seeds: [
|
|
1723
|
+
{
|
|
1724
|
+
kind: 'account';
|
|
1725
|
+
path: 'signer';
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
kind: 'account';
|
|
1729
|
+
path: 'tokenProgram';
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
kind: 'account';
|
|
1733
|
+
path: 'mint';
|
|
1734
|
+
}
|
|
1735
|
+
];
|
|
1736
|
+
program: {
|
|
1737
|
+
kind: 'const';
|
|
1738
|
+
value: [
|
|
1739
|
+
140,
|
|
1740
|
+
151,
|
|
1741
|
+
37,
|
|
1742
|
+
143,
|
|
1743
|
+
78,
|
|
1744
|
+
36,
|
|
1745
|
+
137,
|
|
1746
|
+
241,
|
|
1747
|
+
187,
|
|
1748
|
+
61,
|
|
1749
|
+
16,
|
|
1750
|
+
41,
|
|
1751
|
+
20,
|
|
1752
|
+
142,
|
|
1753
|
+
13,
|
|
1754
|
+
131,
|
|
1755
|
+
11,
|
|
1756
|
+
90,
|
|
1757
|
+
19,
|
|
1758
|
+
153,
|
|
1759
|
+
218,
|
|
1760
|
+
255,
|
|
1761
|
+
16,
|
|
1762
|
+
132,
|
|
1763
|
+
4,
|
|
1764
|
+
142,
|
|
1765
|
+
123,
|
|
1766
|
+
216,
|
|
1767
|
+
219,
|
|
1768
|
+
233,
|
|
1769
|
+
248,
|
|
1770
|
+
89
|
|
1771
|
+
];
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1721
1774
|
},
|
|
1722
1775
|
{
|
|
1723
1776
|
name: 'sellerAta';
|
|
@@ -1779,6 +1832,59 @@ export type TriadProtocol = {
|
|
|
1779
1832
|
{
|
|
1780
1833
|
name: 'marketAta';
|
|
1781
1834
|
writable: true;
|
|
1835
|
+
pda: {
|
|
1836
|
+
seeds: [
|
|
1837
|
+
{
|
|
1838
|
+
kind: 'account';
|
|
1839
|
+
path: 'market';
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
kind: 'account';
|
|
1843
|
+
path: 'tokenProgram';
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
kind: 'account';
|
|
1847
|
+
path: 'mint';
|
|
1848
|
+
}
|
|
1849
|
+
];
|
|
1850
|
+
program: {
|
|
1851
|
+
kind: 'const';
|
|
1852
|
+
value: [
|
|
1853
|
+
140,
|
|
1854
|
+
151,
|
|
1855
|
+
37,
|
|
1856
|
+
143,
|
|
1857
|
+
78,
|
|
1858
|
+
36,
|
|
1859
|
+
137,
|
|
1860
|
+
241,
|
|
1861
|
+
187,
|
|
1862
|
+
61,
|
|
1863
|
+
16,
|
|
1864
|
+
41,
|
|
1865
|
+
20,
|
|
1866
|
+
142,
|
|
1867
|
+
13,
|
|
1868
|
+
131,
|
|
1869
|
+
11,
|
|
1870
|
+
90,
|
|
1871
|
+
19,
|
|
1872
|
+
153,
|
|
1873
|
+
218,
|
|
1874
|
+
255,
|
|
1875
|
+
16,
|
|
1876
|
+
132,
|
|
1877
|
+
4,
|
|
1878
|
+
142,
|
|
1879
|
+
123,
|
|
1880
|
+
216,
|
|
1881
|
+
219,
|
|
1882
|
+
233,
|
|
1883
|
+
248,
|
|
1884
|
+
89
|
|
1885
|
+
];
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1782
1888
|
},
|
|
1783
1889
|
{
|
|
1784
1890
|
name: 'tokenProgram';
|