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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -729,16 +729,16 @@ export type Escrow = {
729
729
  ];
730
730
  },
731
731
  {
732
- "name": "batchWithdrawSol";
732
+ "name": "batchExecuteWithdrawalSol";
733
733
  "discriminator": [
734
- 60,
735
- 224,
736
- 135,
737
- 236,
738
- 157,
739
- 235,
734
+ 24,
735
+ 194,
736
+ 4,
737
+ 88,
740
738
  169,
741
- 130
739
+ 54,
740
+ 132,
741
+ 46
742
742
  ];
743
743
  "accounts": [
744
744
  {
@@ -769,11 +769,6 @@ export type Escrow = {
769
769
  ];
770
770
  };
771
771
  },
772
- {
773
- "name": "admin";
774
- "writable": true;
775
- "signer": true;
776
- },
777
772
  {
778
773
  "name": "vaultAuthority";
779
774
  "writable": true;
@@ -793,6 +788,11 @@ export type Escrow = {
793
788
  ];
794
789
  };
795
790
  },
791
+ {
792
+ "name": "caller";
793
+ "writable": true;
794
+ "signer": true;
795
+ },
796
796
  {
797
797
  "name": "systemProgram";
798
798
  "address": "11111111111111111111111111111111";
@@ -804,26 +804,20 @@ export type Escrow = {
804
804
  "type": {
805
805
  "vec": "u64";
806
806
  };
807
- },
808
- {
809
- "name": "amounts";
810
- "type": {
811
- "vec": "u64";
812
- };
813
807
  }
814
808
  ];
815
809
  },
816
810
  {
817
- "name": "batchWithdrawTokens";
811
+ "name": "batchExecuteWithdrawalSpl";
818
812
  "discriminator": [
819
- 187,
820
- 198,
821
- 10,
822
- 76,
823
- 205,
824
- 254,
825
- 160,
826
- 83
813
+ 45,
814
+ 210,
815
+ 121,
816
+ 71,
817
+ 144,
818
+ 87,
819
+ 57,
820
+ 119
827
821
  ];
828
822
  "accounts": [
829
823
  {
@@ -857,14 +851,8 @@ export type Escrow = {
857
851
  {
858
852
  "name": "mint";
859
853
  },
860
- {
861
- "name": "admin";
862
- "writable": true;
863
- "signer": true;
864
- },
865
854
  {
866
855
  "name": "vaultAuthority";
867
- "writable": true;
868
856
  "pda": {
869
857
  "seeds": [
870
858
  {
@@ -971,9 +959,18 @@ export type Escrow = {
971
959
  };
972
960
  };
973
961
  },
962
+ {
963
+ "name": "caller";
964
+ "writable": true;
965
+ "signer": true;
966
+ },
974
967
  {
975
968
  "name": "tokenProgram";
976
969
  "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
970
+ },
971
+ {
972
+ "name": "systemProgram";
973
+ "address": "11111111111111111111111111111111";
977
974
  }
978
975
  ];
979
976
  "args": [
@@ -982,26 +979,20 @@ export type Escrow = {
982
979
  "type": {
983
980
  "vec": "u64";
984
981
  };
985
- },
986
- {
987
- "name": "amounts";
988
- "type": {
989
- "vec": "u64";
990
- };
991
982
  }
992
983
  ];
993
984
  },
994
985
  {
995
- "name": "cancelWithdrawal";
986
+ "name": "batchWithdrawSol";
996
987
  "discriminator": [
997
- 183,
998
- 104,
999
- 181,
1000
- 250,
1001
- 28,
1002
- 128,
1003
- 210,
1004
- 70
988
+ 60,
989
+ 224,
990
+ 135,
991
+ 236,
992
+ 157,
993
+ 235,
994
+ 169,
995
+ 130
1005
996
  ];
1006
997
  "accounts": [
1007
998
  {
@@ -1033,166 +1024,757 @@ export type Escrow = {
1033
1024
  };
1034
1025
  },
1035
1026
  {
1036
- "name": "commitment";
1027
+ "name": "admin";
1028
+ "writable": true;
1029
+ "signer": true;
1030
+ },
1031
+ {
1032
+ "name": "vaultAuthority";
1037
1033
  "writable": true;
1038
1034
  "pda": {
1039
1035
  "seeds": [
1040
1036
  {
1041
1037
  "kind": "const";
1042
1038
  "value": [
1043
- 119,
1044
- 105,
1045
- 116,
1046
- 104,
1047
- 100,
1039
+ 101,
1040
+ 115,
1041
+ 99,
1048
1042
  114,
1049
- 97,
1050
- 119,
1051
- 97,
1052
- 108
1043
+ 111,
1044
+ 119
1053
1045
  ];
1054
- },
1055
- {
1056
- "kind": "arg";
1057
- "path": "requestId";
1058
1046
  }
1059
1047
  ];
1060
1048
  };
1061
1049
  },
1062
1050
  {
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
- {
1080
- "name": "depositSol";
1081
- "discriminator": [
1082
- 108,
1083
- 81,
1084
- 78,
1085
- 117,
1086
- 125,
1087
- 155,
1088
- 56,
1089
- 200
1090
- ];
1091
- "accounts": [
1092
- {
1093
- "name": "escrowConfig";
1051
+ "name": "treasuryConfig";
1094
1052
  "pda": {
1095
1053
  "seeds": [
1096
1054
  {
1097
1055
  "kind": "const";
1098
1056
  "value": [
1057
+ 116,
1058
+ 114,
1099
1059
  101,
1060
+ 97,
1100
1061
  115,
1101
- 99,
1062
+ 117,
1102
1063
  114,
1103
- 111,
1104
- 119,
1064
+ 121,
1105
1065
  45,
1106
1066
  99,
1107
1067
  111,
1108
1068
  110,
1109
1069
  102,
1110
1070
  105,
1111
- 103,
1112
- 45,
1113
- 118,
1114
- 50
1071
+ 103
1115
1072
  ];
1116
1073
  }
1117
1074
  ];
1118
1075
  };
1119
1076
  },
1120
1077
  {
1121
- "name": "depositor";
1122
- "writable": true;
1123
- "signer": true;
1124
- },
1125
- {
1126
- "name": "vaultAuthority";
1127
- "writable": true;
1078
+ "name": "tokenThresholdConfig";
1128
1079
  "pda": {
1129
1080
  "seeds": [
1130
1081
  {
1131
1082
  "kind": "const";
1132
1083
  "value": [
1084
+ 116,
1085
+ 111,
1086
+ 107,
1133
1087
  101,
1134
- 115,
1135
- 99,
1088
+ 110,
1089
+ 45,
1090
+ 116,
1091
+ 104,
1136
1092
  114,
1093
+ 101,
1094
+ 115,
1095
+ 104,
1137
1096
  111,
1138
- 119
1097
+ 108,
1098
+ 100
1099
+ ];
1100
+ },
1101
+ {
1102
+ "kind": "const";
1103
+ "value": [
1104
+ 0,
1105
+ 0,
1106
+ 0,
1107
+ 0,
1108
+ 0,
1109
+ 0,
1110
+ 0,
1111
+ 0,
1112
+ 0,
1113
+ 0,
1114
+ 0,
1115
+ 0,
1116
+ 0,
1117
+ 0,
1118
+ 0,
1119
+ 0,
1120
+ 0,
1121
+ 0,
1122
+ 0,
1123
+ 0,
1124
+ 0,
1125
+ 0,
1126
+ 0,
1127
+ 0,
1128
+ 0,
1129
+ 0,
1130
+ 0,
1131
+ 0,
1132
+ 0,
1133
+ 0,
1134
+ 0,
1135
+ 0
1139
1136
  ];
1140
1137
  }
1141
1138
  ];
1142
1139
  };
1143
1140
  },
1144
1141
  {
1145
- "name": "systemProgram";
1146
- "address": "11111111111111111111111111111111";
1147
- }
1148
- ];
1149
- "args": [
1150
- {
1151
- "name": "amount";
1152
- "type": "u64";
1153
- },
1154
- {
1155
- "name": "bonusCode";
1156
- "type": "string";
1157
- }
1158
- ];
1159
- },
1160
- {
1161
- "name": "depositSpl";
1162
- "discriminator": [
1163
- 224,
1164
- 0,
1165
- 198,
1166
- 175,
1167
- 198,
1168
- 47,
1169
- 105,
1170
- 204
1171
- ];
1172
- "accounts": [
1173
- {
1174
- "name": "escrowConfig";
1142
+ "name": "tokenTimelockConfig";
1175
1143
  "pda": {
1176
1144
  "seeds": [
1177
1145
  {
1178
1146
  "kind": "const";
1179
1147
  "value": [
1180
- 101,
1181
- 115,
1182
- 99,
1183
- 114,
1184
- 111,
1185
- 119,
1186
- 45,
1187
- 99,
1148
+ 116,
1188
1149
  111,
1150
+ 107,
1151
+ 101,
1189
1152
  110,
1190
- 102,
1191
- 105,
1192
- 103,
1193
1153
  45,
1194
- 118,
1195
- 50
1154
+ 116,
1155
+ 105,
1156
+ 109,
1157
+ 101,
1158
+ 108,
1159
+ 111,
1160
+ 99,
1161
+ 107
1162
+ ];
1163
+ },
1164
+ {
1165
+ "kind": "const";
1166
+ "value": [
1167
+ 0,
1168
+ 0,
1169
+ 0,
1170
+ 0,
1171
+ 0,
1172
+ 0,
1173
+ 0,
1174
+ 0,
1175
+ 0,
1176
+ 0,
1177
+ 0,
1178
+ 0,
1179
+ 0,
1180
+ 0,
1181
+ 0,
1182
+ 0,
1183
+ 0,
1184
+ 0,
1185
+ 0,
1186
+ 0,
1187
+ 0,
1188
+ 0,
1189
+ 0,
1190
+ 0,
1191
+ 0,
1192
+ 0,
1193
+ 0,
1194
+ 0,
1195
+ 0,
1196
+ 0,
1197
+ 0,
1198
+ 0
1199
+ ];
1200
+ }
1201
+ ];
1202
+ };
1203
+ },
1204
+ {
1205
+ "name": "timelockConfig";
1206
+ "pda": {
1207
+ "seeds": [
1208
+ {
1209
+ "kind": "const";
1210
+ "value": [
1211
+ 116,
1212
+ 105,
1213
+ 109,
1214
+ 101,
1215
+ 108,
1216
+ 111,
1217
+ 99,
1218
+ 107,
1219
+ 45,
1220
+ 99,
1221
+ 111,
1222
+ 110,
1223
+ 102,
1224
+ 105,
1225
+ 103
1226
+ ];
1227
+ }
1228
+ ];
1229
+ };
1230
+ },
1231
+ {
1232
+ "name": "systemProgram";
1233
+ "address": "11111111111111111111111111111111";
1234
+ },
1235
+ {
1236
+ "name": "instructions";
1237
+ "address": "Sysvar1nstructions1111111111111111111111111";
1238
+ }
1239
+ ];
1240
+ "args": [
1241
+ {
1242
+ "name": "chainId";
1243
+ "type": "u64";
1244
+ },
1245
+ {
1246
+ "name": "requestIds";
1247
+ "type": {
1248
+ "vec": "u64";
1249
+ };
1250
+ },
1251
+ {
1252
+ "name": "committedAmounts";
1253
+ "type": {
1254
+ "vec": "u64";
1255
+ };
1256
+ },
1257
+ {
1258
+ "name": "netAmounts";
1259
+ "type": {
1260
+ "vec": "u64";
1261
+ };
1262
+ }
1263
+ ];
1264
+ },
1265
+ {
1266
+ "name": "batchWithdrawTokens";
1267
+ "discriminator": [
1268
+ 187,
1269
+ 198,
1270
+ 10,
1271
+ 76,
1272
+ 205,
1273
+ 254,
1274
+ 160,
1275
+ 83
1276
+ ];
1277
+ "accounts": [
1278
+ {
1279
+ "name": "escrowConfig";
1280
+ "pda": {
1281
+ "seeds": [
1282
+ {
1283
+ "kind": "const";
1284
+ "value": [
1285
+ 101,
1286
+ 115,
1287
+ 99,
1288
+ 114,
1289
+ 111,
1290
+ 119,
1291
+ 45,
1292
+ 99,
1293
+ 111,
1294
+ 110,
1295
+ 102,
1296
+ 105,
1297
+ 103,
1298
+ 45,
1299
+ 118,
1300
+ 50
1301
+ ];
1302
+ }
1303
+ ];
1304
+ };
1305
+ },
1306
+ {
1307
+ "name": "mint";
1308
+ },
1309
+ {
1310
+ "name": "admin";
1311
+ "writable": true;
1312
+ "signer": true;
1313
+ },
1314
+ {
1315
+ "name": "vaultAuthority";
1316
+ "writable": true;
1317
+ "pda": {
1318
+ "seeds": [
1319
+ {
1320
+ "kind": "const";
1321
+ "value": [
1322
+ 101,
1323
+ 115,
1324
+ 99,
1325
+ 114,
1326
+ 111,
1327
+ 119
1328
+ ];
1329
+ }
1330
+ ];
1331
+ };
1332
+ },
1333
+ {
1334
+ "name": "vaultTokenAccount";
1335
+ "writable": true;
1336
+ "pda": {
1337
+ "seeds": [
1338
+ {
1339
+ "kind": "account";
1340
+ "path": "vaultAuthority";
1341
+ },
1342
+ {
1343
+ "kind": "const";
1344
+ "value": [
1345
+ 6,
1346
+ 221,
1347
+ 246,
1348
+ 225,
1349
+ 215,
1350
+ 101,
1351
+ 161,
1352
+ 147,
1353
+ 217,
1354
+ 203,
1355
+ 225,
1356
+ 70,
1357
+ 206,
1358
+ 235,
1359
+ 121,
1360
+ 172,
1361
+ 28,
1362
+ 180,
1363
+ 133,
1364
+ 237,
1365
+ 95,
1366
+ 91,
1367
+ 55,
1368
+ 145,
1369
+ 58,
1370
+ 140,
1371
+ 245,
1372
+ 133,
1373
+ 126,
1374
+ 255,
1375
+ 0,
1376
+ 169
1377
+ ];
1378
+ },
1379
+ {
1380
+ "kind": "account";
1381
+ "path": "mint";
1382
+ }
1383
+ ];
1384
+ "program": {
1385
+ "kind": "const";
1386
+ "value": [
1387
+ 140,
1388
+ 151,
1389
+ 37,
1390
+ 143,
1391
+ 78,
1392
+ 36,
1393
+ 137,
1394
+ 241,
1395
+ 187,
1396
+ 61,
1397
+ 16,
1398
+ 41,
1399
+ 20,
1400
+ 142,
1401
+ 13,
1402
+ 131,
1403
+ 11,
1404
+ 90,
1405
+ 19,
1406
+ 153,
1407
+ 218,
1408
+ 255,
1409
+ 16,
1410
+ 132,
1411
+ 4,
1412
+ 142,
1413
+ 123,
1414
+ 216,
1415
+ 219,
1416
+ 233,
1417
+ 248,
1418
+ 89
1419
+ ];
1420
+ };
1421
+ };
1422
+ },
1423
+ {
1424
+ "name": "treasuryConfig";
1425
+ "pda": {
1426
+ "seeds": [
1427
+ {
1428
+ "kind": "const";
1429
+ "value": [
1430
+ 116,
1431
+ 114,
1432
+ 101,
1433
+ 97,
1434
+ 115,
1435
+ 117,
1436
+ 114,
1437
+ 121,
1438
+ 45,
1439
+ 99,
1440
+ 111,
1441
+ 110,
1442
+ 102,
1443
+ 105,
1444
+ 103
1445
+ ];
1446
+ }
1447
+ ];
1448
+ };
1449
+ },
1450
+ {
1451
+ "name": "tokenThresholdConfig";
1452
+ "pda": {
1453
+ "seeds": [
1454
+ {
1455
+ "kind": "const";
1456
+ "value": [
1457
+ 116,
1458
+ 111,
1459
+ 107,
1460
+ 101,
1461
+ 110,
1462
+ 45,
1463
+ 116,
1464
+ 104,
1465
+ 114,
1466
+ 101,
1467
+ 115,
1468
+ 104,
1469
+ 111,
1470
+ 108,
1471
+ 100
1472
+ ];
1473
+ },
1474
+ {
1475
+ "kind": "account";
1476
+ "path": "mint";
1477
+ }
1478
+ ];
1479
+ };
1480
+ },
1481
+ {
1482
+ "name": "tokenTimelockConfig";
1483
+ "pda": {
1484
+ "seeds": [
1485
+ {
1486
+ "kind": "const";
1487
+ "value": [
1488
+ 116,
1489
+ 111,
1490
+ 107,
1491
+ 101,
1492
+ 110,
1493
+ 45,
1494
+ 116,
1495
+ 105,
1496
+ 109,
1497
+ 101,
1498
+ 108,
1499
+ 111,
1500
+ 99,
1501
+ 107
1502
+ ];
1503
+ },
1504
+ {
1505
+ "kind": "account";
1506
+ "path": "mint";
1507
+ }
1508
+ ];
1509
+ };
1510
+ },
1511
+ {
1512
+ "name": "timelockConfig";
1513
+ "pda": {
1514
+ "seeds": [
1515
+ {
1516
+ "kind": "const";
1517
+ "value": [
1518
+ 116,
1519
+ 105,
1520
+ 109,
1521
+ 101,
1522
+ 108,
1523
+ 111,
1524
+ 99,
1525
+ 107,
1526
+ 45,
1527
+ 99,
1528
+ 111,
1529
+ 110,
1530
+ 102,
1531
+ 105,
1532
+ 103
1533
+ ];
1534
+ }
1535
+ ];
1536
+ };
1537
+ },
1538
+ {
1539
+ "name": "tokenProgram";
1540
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
1541
+ },
1542
+ {
1543
+ "name": "systemProgram";
1544
+ "address": "11111111111111111111111111111111";
1545
+ },
1546
+ {
1547
+ "name": "instructions";
1548
+ "address": "Sysvar1nstructions1111111111111111111111111";
1549
+ }
1550
+ ];
1551
+ "args": [
1552
+ {
1553
+ "name": "chainId";
1554
+ "type": "u64";
1555
+ },
1556
+ {
1557
+ "name": "requestIds";
1558
+ "type": {
1559
+ "vec": "u64";
1560
+ };
1561
+ },
1562
+ {
1563
+ "name": "committedAmounts";
1564
+ "type": {
1565
+ "vec": "u64";
1566
+ };
1567
+ },
1568
+ {
1569
+ "name": "netAmounts";
1570
+ "type": {
1571
+ "vec": "u64";
1572
+ };
1573
+ }
1574
+ ];
1575
+ },
1576
+ {
1577
+ "name": "cancelWithdrawal";
1578
+ "discriminator": [
1579
+ 183,
1580
+ 104,
1581
+ 181,
1582
+ 250,
1583
+ 28,
1584
+ 128,
1585
+ 210,
1586
+ 70
1587
+ ];
1588
+ "accounts": [
1589
+ {
1590
+ "name": "escrowConfig";
1591
+ "pda": {
1592
+ "seeds": [
1593
+ {
1594
+ "kind": "const";
1595
+ "value": [
1596
+ 101,
1597
+ 115,
1598
+ 99,
1599
+ 114,
1600
+ 111,
1601
+ 119,
1602
+ 45,
1603
+ 99,
1604
+ 111,
1605
+ 110,
1606
+ 102,
1607
+ 105,
1608
+ 103,
1609
+ 45,
1610
+ 118,
1611
+ 50
1612
+ ];
1613
+ }
1614
+ ];
1615
+ };
1616
+ },
1617
+ {
1618
+ "name": "commitment";
1619
+ "writable": true;
1620
+ "pda": {
1621
+ "seeds": [
1622
+ {
1623
+ "kind": "const";
1624
+ "value": [
1625
+ 119,
1626
+ 105,
1627
+ 116,
1628
+ 104,
1629
+ 100,
1630
+ 114,
1631
+ 97,
1632
+ 119,
1633
+ 97,
1634
+ 108
1635
+ ];
1636
+ },
1637
+ {
1638
+ "kind": "arg";
1639
+ "path": "requestId";
1640
+ }
1641
+ ];
1642
+ };
1643
+ },
1644
+ {
1645
+ "name": "admin";
1646
+ "writable": true;
1647
+ "signer": true;
1648
+ },
1649
+ {
1650
+ "name": "systemProgram";
1651
+ "address": "11111111111111111111111111111111";
1652
+ }
1653
+ ];
1654
+ "args": [
1655
+ {
1656
+ "name": "requestId";
1657
+ "type": "u64";
1658
+ }
1659
+ ];
1660
+ },
1661
+ {
1662
+ "name": "depositSol";
1663
+ "discriminator": [
1664
+ 108,
1665
+ 81,
1666
+ 78,
1667
+ 117,
1668
+ 125,
1669
+ 155,
1670
+ 56,
1671
+ 200
1672
+ ];
1673
+ "accounts": [
1674
+ {
1675
+ "name": "escrowConfig";
1676
+ "pda": {
1677
+ "seeds": [
1678
+ {
1679
+ "kind": "const";
1680
+ "value": [
1681
+ 101,
1682
+ 115,
1683
+ 99,
1684
+ 114,
1685
+ 111,
1686
+ 119,
1687
+ 45,
1688
+ 99,
1689
+ 111,
1690
+ 110,
1691
+ 102,
1692
+ 105,
1693
+ 103,
1694
+ 45,
1695
+ 118,
1696
+ 50
1697
+ ];
1698
+ }
1699
+ ];
1700
+ };
1701
+ },
1702
+ {
1703
+ "name": "depositor";
1704
+ "writable": true;
1705
+ "signer": true;
1706
+ },
1707
+ {
1708
+ "name": "vaultAuthority";
1709
+ "writable": true;
1710
+ "pda": {
1711
+ "seeds": [
1712
+ {
1713
+ "kind": "const";
1714
+ "value": [
1715
+ 101,
1716
+ 115,
1717
+ 99,
1718
+ 114,
1719
+ 111,
1720
+ 119
1721
+ ];
1722
+ }
1723
+ ];
1724
+ };
1725
+ },
1726
+ {
1727
+ "name": "systemProgram";
1728
+ "address": "11111111111111111111111111111111";
1729
+ }
1730
+ ];
1731
+ "args": [
1732
+ {
1733
+ "name": "amount";
1734
+ "type": "u64";
1735
+ },
1736
+ {
1737
+ "name": "bonusCode";
1738
+ "type": "string";
1739
+ }
1740
+ ];
1741
+ },
1742
+ {
1743
+ "name": "depositSpl";
1744
+ "discriminator": [
1745
+ 224,
1746
+ 0,
1747
+ 198,
1748
+ 175,
1749
+ 198,
1750
+ 47,
1751
+ 105,
1752
+ 204
1753
+ ];
1754
+ "accounts": [
1755
+ {
1756
+ "name": "escrowConfig";
1757
+ "pda": {
1758
+ "seeds": [
1759
+ {
1760
+ "kind": "const";
1761
+ "value": [
1762
+ 101,
1763
+ 115,
1764
+ 99,
1765
+ 114,
1766
+ 111,
1767
+ 119,
1768
+ 45,
1769
+ 99,
1770
+ 111,
1771
+ 110,
1772
+ 102,
1773
+ 105,
1774
+ 103,
1775
+ 45,
1776
+ 118,
1777
+ 50
1196
1778
  ];
1197
1779
  }
1198
1780
  ];
@@ -3654,22 +4236,218 @@ export type Escrow = {
3654
4236
  ];
3655
4237
  "args": [
3656
4238
  {
3657
- "name": "newSignatureWallet";
4239
+ "name": "newSignatureWallet";
4240
+ "type": "pubkey";
4241
+ }
4242
+ ];
4243
+ },
4244
+ {
4245
+ "name": "setTimelockConfig";
4246
+ "discriminator": [
4247
+ 176,
4248
+ 167,
4249
+ 10,
4250
+ 233,
4251
+ 251,
4252
+ 255,
4253
+ 15,
4254
+ 254
4255
+ ];
4256
+ "accounts": [
4257
+ {
4258
+ "name": "escrowConfig";
4259
+ "pda": {
4260
+ "seeds": [
4261
+ {
4262
+ "kind": "const";
4263
+ "value": [
4264
+ 101,
4265
+ 115,
4266
+ 99,
4267
+ 114,
4268
+ 111,
4269
+ 119,
4270
+ 45,
4271
+ 99,
4272
+ 111,
4273
+ 110,
4274
+ 102,
4275
+ 105,
4276
+ 103,
4277
+ 45,
4278
+ 118,
4279
+ 50
4280
+ ];
4281
+ }
4282
+ ];
4283
+ };
4284
+ },
4285
+ {
4286
+ "name": "timelockConfig";
4287
+ "writable": true;
4288
+ "pda": {
4289
+ "seeds": [
4290
+ {
4291
+ "kind": "const";
4292
+ "value": [
4293
+ 116,
4294
+ 105,
4295
+ 109,
4296
+ 101,
4297
+ 108,
4298
+ 111,
4299
+ 99,
4300
+ 107,
4301
+ 45,
4302
+ 99,
4303
+ 111,
4304
+ 110,
4305
+ 102,
4306
+ 105,
4307
+ 103
4308
+ ];
4309
+ }
4310
+ ];
4311
+ };
4312
+ },
4313
+ {
4314
+ "name": "admin";
4315
+ "writable": true;
4316
+ "signer": true;
4317
+ },
4318
+ {
4319
+ "name": "systemProgram";
4320
+ "address": "11111111111111111111111111111111";
4321
+ }
4322
+ ];
4323
+ "args": [
4324
+ {
4325
+ "name": "delaySeconds";
4326
+ "type": "i64";
4327
+ }
4328
+ ];
4329
+ },
4330
+ {
4331
+ "name": "setTokenMultisigThreshold";
4332
+ "discriminator": [
4333
+ 222,
4334
+ 3,
4335
+ 118,
4336
+ 195,
4337
+ 77,
4338
+ 85,
4339
+ 132,
4340
+ 22
4341
+ ];
4342
+ "accounts": [
4343
+ {
4344
+ "name": "escrowConfig";
4345
+ "pda": {
4346
+ "seeds": [
4347
+ {
4348
+ "kind": "const";
4349
+ "value": [
4350
+ 101,
4351
+ 115,
4352
+ 99,
4353
+ 114,
4354
+ 111,
4355
+ 119,
4356
+ 45,
4357
+ 99,
4358
+ 111,
4359
+ 110,
4360
+ 102,
4361
+ 105,
4362
+ 103,
4363
+ 45,
4364
+ 118,
4365
+ 50
4366
+ ];
4367
+ }
4368
+ ];
4369
+ };
4370
+ },
4371
+ {
4372
+ "name": "tokenThresholdConfig";
4373
+ "writable": true;
4374
+ "pda": {
4375
+ "seeds": [
4376
+ {
4377
+ "kind": "const";
4378
+ "value": [
4379
+ 116,
4380
+ 111,
4381
+ 107,
4382
+ 101,
4383
+ 110,
4384
+ 45,
4385
+ 116,
4386
+ 104,
4387
+ 114,
4388
+ 101,
4389
+ 115,
4390
+ 104,
4391
+ 111,
4392
+ 108,
4393
+ 100
4394
+ ];
4395
+ },
4396
+ {
4397
+ "kind": "arg";
4398
+ "path": "mint";
4399
+ }
4400
+ ];
4401
+ };
4402
+ },
4403
+ {
4404
+ "name": "admin";
4405
+ "writable": true;
4406
+ "signer": true;
4407
+ },
4408
+ {
4409
+ "name": "systemProgram";
4410
+ "address": "11111111111111111111111111111111";
4411
+ }
4412
+ ];
4413
+ "args": [
4414
+ {
4415
+ "name": "mint";
3658
4416
  "type": "pubkey";
4417
+ },
4418
+ {
4419
+ "name": "thresholdAmount";
4420
+ "type": "u64";
4421
+ },
4422
+ {
4423
+ "name": "managerBelow";
4424
+ "type": "u8";
4425
+ },
4426
+ {
4427
+ "name": "managerAbove";
4428
+ "type": "u8";
4429
+ },
4430
+ {
4431
+ "name": "executiveBelow";
4432
+ "type": "u8";
4433
+ },
4434
+ {
4435
+ "name": "executiveAbove";
4436
+ "type": "u8";
3659
4437
  }
3660
4438
  ];
3661
4439
  },
3662
4440
  {
3663
- "name": "setTimelockConfig";
4441
+ "name": "setTokenTimelock";
3664
4442
  "discriminator": [
3665
- 176,
4443
+ 161,
4444
+ 141,
3666
4445
  167,
3667
- 10,
3668
- 233,
3669
- 251,
3670
- 255,
3671
- 15,
3672
- 254
4446
+ 165,
4447
+ 1,
4448
+ 60,
4449
+ 136,
4450
+ 162
3673
4451
  ];
3674
4452
  "accounts": [
3675
4453
  {
@@ -3701,13 +4479,19 @@ export type Escrow = {
3701
4479
  };
3702
4480
  },
3703
4481
  {
3704
- "name": "timelockConfig";
4482
+ "name": "tokenTimelockConfig";
3705
4483
  "writable": true;
3706
4484
  "pda": {
3707
4485
  "seeds": [
3708
4486
  {
3709
4487
  "kind": "const";
3710
4488
  "value": [
4489
+ 116,
4490
+ 111,
4491
+ 107,
4492
+ 101,
4493
+ 110,
4494
+ 45,
3711
4495
  116,
3712
4496
  105,
3713
4497
  109,
@@ -3715,15 +4499,12 @@ export type Escrow = {
3715
4499
  108,
3716
4500
  111,
3717
4501
  99,
3718
- 107,
3719
- 45,
3720
- 99,
3721
- 111,
3722
- 110,
3723
- 102,
3724
- 105,
3725
- 103
4502
+ 107
3726
4503
  ];
4504
+ },
4505
+ {
4506
+ "kind": "arg";
4507
+ "path": "mint";
3727
4508
  }
3728
4509
  ];
3729
4510
  };
@@ -3740,7 +4521,19 @@ export type Escrow = {
3740
4521
  ];
3741
4522
  "args": [
3742
4523
  {
3743
- "name": "delaySeconds";
4524
+ "name": "mint";
4525
+ "type": "pubkey";
4526
+ },
4527
+ {
4528
+ "name": "thresholdAmount";
4529
+ "type": "u64";
4530
+ },
4531
+ {
4532
+ "name": "durationBelow";
4533
+ "type": "i64";
4534
+ },
4535
+ {
4536
+ "name": "durationAbove";
3744
4537
  "type": "i64";
3745
4538
  }
3746
4539
  ];
@@ -3897,7 +4690,193 @@ export type Escrow = {
3897
4690
  };
3898
4691
  },
3899
4692
  {
3900
- "name": "withdrawNonce";
4693
+ "name": "withdrawNonce";
4694
+ "writable": true;
4695
+ "pda": {
4696
+ "seeds": [
4697
+ {
4698
+ "kind": "const";
4699
+ "value": [
4700
+ 119,
4701
+ 105,
4702
+ 116,
4703
+ 104,
4704
+ 100,
4705
+ 114,
4706
+ 97,
4707
+ 119,
4708
+ 45,
4709
+ 110,
4710
+ 111,
4711
+ 110,
4712
+ 99,
4713
+ 101
4714
+ ];
4715
+ },
4716
+ {
4717
+ "kind": "account";
4718
+ "path": "user";
4719
+ }
4720
+ ];
4721
+ };
4722
+ },
4723
+ {
4724
+ "name": "recipient";
4725
+ "writable": true;
4726
+ },
4727
+ {
4728
+ "name": "tokenAddress";
4729
+ },
4730
+ {
4731
+ "name": "treasuryConfig";
4732
+ "pda": {
4733
+ "seeds": [
4734
+ {
4735
+ "kind": "const";
4736
+ "value": [
4737
+ 116,
4738
+ 114,
4739
+ 101,
4740
+ 97,
4741
+ 115,
4742
+ 117,
4743
+ 114,
4744
+ 121,
4745
+ 45,
4746
+ 99,
4747
+ 111,
4748
+ 110,
4749
+ 102,
4750
+ 105,
4751
+ 103
4752
+ ];
4753
+ }
4754
+ ];
4755
+ };
4756
+ },
4757
+ {
4758
+ "name": "tokenThresholdConfig";
4759
+ "pda": {
4760
+ "seeds": [
4761
+ {
4762
+ "kind": "const";
4763
+ "value": [
4764
+ 116,
4765
+ 111,
4766
+ 107,
4767
+ 101,
4768
+ 110,
4769
+ 45,
4770
+ 116,
4771
+ 104,
4772
+ 114,
4773
+ 101,
4774
+ 115,
4775
+ 104,
4776
+ 111,
4777
+ 108,
4778
+ 100
4779
+ ];
4780
+ },
4781
+ {
4782
+ "kind": "account";
4783
+ "path": "tokenAddress";
4784
+ }
4785
+ ];
4786
+ };
4787
+ },
4788
+ {
4789
+ "name": "tokenTimelockConfig";
4790
+ "pda": {
4791
+ "seeds": [
4792
+ {
4793
+ "kind": "const";
4794
+ "value": [
4795
+ 116,
4796
+ 111,
4797
+ 107,
4798
+ 101,
4799
+ 110,
4800
+ 45,
4801
+ 116,
4802
+ 105,
4803
+ 109,
4804
+ 101,
4805
+ 108,
4806
+ 111,
4807
+ 99,
4808
+ 107
4809
+ ];
4810
+ },
4811
+ {
4812
+ "kind": "account";
4813
+ "path": "tokenAddress";
4814
+ }
4815
+ ];
4816
+ };
4817
+ },
4818
+ {
4819
+ "name": "timelockConfig";
4820
+ "pda": {
4821
+ "seeds": [
4822
+ {
4823
+ "kind": "const";
4824
+ "value": [
4825
+ 116,
4826
+ 105,
4827
+ 109,
4828
+ 101,
4829
+ 108,
4830
+ 111,
4831
+ 99,
4832
+ 107,
4833
+ 45,
4834
+ 99,
4835
+ 111,
4836
+ 110,
4837
+ 102,
4838
+ 105,
4839
+ 103
4840
+ ];
4841
+ }
4842
+ ];
4843
+ };
4844
+ },
4845
+ {
4846
+ "name": "receiverTimelockConfig";
4847
+ "pda": {
4848
+ "seeds": [
4849
+ {
4850
+ "kind": "const";
4851
+ "value": [
4852
+ 114,
4853
+ 101,
4854
+ 99,
4855
+ 101,
4856
+ 105,
4857
+ 118,
4858
+ 101,
4859
+ 114,
4860
+ 45,
4861
+ 116,
4862
+ 105,
4863
+ 109,
4864
+ 101,
4865
+ 108,
4866
+ 111,
4867
+ 99,
4868
+ 107
4869
+ ];
4870
+ },
4871
+ {
4872
+ "kind": "account";
4873
+ "path": "recipient";
4874
+ }
4875
+ ];
4876
+ };
4877
+ },
4878
+ {
4879
+ "name": "commitment";
3901
4880
  "writable": true;
3902
4881
  "pda": {
3903
4882
  "seeds": [
@@ -3912,28 +4891,17 @@ export type Escrow = {
3912
4891
  114,
3913
4892
  97,
3914
4893
  119,
3915
- 45,
3916
- 110,
3917
- 111,
3918
- 110,
3919
- 99,
3920
- 101
4894
+ 97,
4895
+ 108
3921
4896
  ];
3922
4897
  },
3923
4898
  {
3924
- "kind": "account";
3925
- "path": "user";
4899
+ "kind": "arg";
4900
+ "path": "requestId";
3926
4901
  }
3927
4902
  ];
3928
4903
  };
3929
4904
  },
3930
- {
3931
- "name": "recipient";
3932
- "writable": true;
3933
- },
3934
- {
3935
- "name": "tokenAddress";
3936
- },
3937
4905
  {
3938
4906
  "name": "systemProgram";
3939
4907
  "address": "11111111111111111111111111111111";
@@ -4124,93 +5092,268 @@ export type Escrow = {
4124
5092
  "writable": true;
4125
5093
  },
4126
5094
  {
4127
- "name": "userTokenAccount";
5095
+ "name": "userTokenAccount";
5096
+ "writable": true;
5097
+ "pda": {
5098
+ "seeds": [
5099
+ {
5100
+ "kind": "account";
5101
+ "path": "user";
5102
+ },
5103
+ {
5104
+ "kind": "const";
5105
+ "value": [
5106
+ 6,
5107
+ 221,
5108
+ 246,
5109
+ 225,
5110
+ 215,
5111
+ 101,
5112
+ 161,
5113
+ 147,
5114
+ 217,
5115
+ 203,
5116
+ 225,
5117
+ 70,
5118
+ 206,
5119
+ 235,
5120
+ 121,
5121
+ 172,
5122
+ 28,
5123
+ 180,
5124
+ 133,
5125
+ 237,
5126
+ 95,
5127
+ 91,
5128
+ 55,
5129
+ 145,
5130
+ 58,
5131
+ 140,
5132
+ 245,
5133
+ 133,
5134
+ 126,
5135
+ 255,
5136
+ 0,
5137
+ 169
5138
+ ];
5139
+ },
5140
+ {
5141
+ "kind": "account";
5142
+ "path": "mint";
5143
+ }
5144
+ ];
5145
+ "program": {
5146
+ "kind": "const";
5147
+ "value": [
5148
+ 140,
5149
+ 151,
5150
+ 37,
5151
+ 143,
5152
+ 78,
5153
+ 36,
5154
+ 137,
5155
+ 241,
5156
+ 187,
5157
+ 61,
5158
+ 16,
5159
+ 41,
5160
+ 20,
5161
+ 142,
5162
+ 13,
5163
+ 131,
5164
+ 11,
5165
+ 90,
5166
+ 19,
5167
+ 153,
5168
+ 218,
5169
+ 255,
5170
+ 16,
5171
+ 132,
5172
+ 4,
5173
+ 142,
5174
+ 123,
5175
+ 216,
5176
+ 219,
5177
+ 233,
5178
+ 248,
5179
+ 89
5180
+ ];
5181
+ };
5182
+ };
5183
+ },
5184
+ {
5185
+ "name": "treasuryConfig";
5186
+ "pda": {
5187
+ "seeds": [
5188
+ {
5189
+ "kind": "const";
5190
+ "value": [
5191
+ 116,
5192
+ 114,
5193
+ 101,
5194
+ 97,
5195
+ 115,
5196
+ 117,
5197
+ 114,
5198
+ 121,
5199
+ 45,
5200
+ 99,
5201
+ 111,
5202
+ 110,
5203
+ 102,
5204
+ 105,
5205
+ 103
5206
+ ];
5207
+ }
5208
+ ];
5209
+ };
5210
+ },
5211
+ {
5212
+ "name": "tokenThresholdConfig";
5213
+ "pda": {
5214
+ "seeds": [
5215
+ {
5216
+ "kind": "const";
5217
+ "value": [
5218
+ 116,
5219
+ 111,
5220
+ 107,
5221
+ 101,
5222
+ 110,
5223
+ 45,
5224
+ 116,
5225
+ 104,
5226
+ 114,
5227
+ 101,
5228
+ 115,
5229
+ 104,
5230
+ 111,
5231
+ 108,
5232
+ 100
5233
+ ];
5234
+ },
5235
+ {
5236
+ "kind": "account";
5237
+ "path": "mint";
5238
+ }
5239
+ ];
5240
+ };
5241
+ },
5242
+ {
5243
+ "name": "tokenTimelockConfig";
5244
+ "pda": {
5245
+ "seeds": [
5246
+ {
5247
+ "kind": "const";
5248
+ "value": [
5249
+ 116,
5250
+ 111,
5251
+ 107,
5252
+ 101,
5253
+ 110,
5254
+ 45,
5255
+ 116,
5256
+ 105,
5257
+ 109,
5258
+ 101,
5259
+ 108,
5260
+ 111,
5261
+ 99,
5262
+ 107
5263
+ ];
5264
+ },
5265
+ {
5266
+ "kind": "account";
5267
+ "path": "mint";
5268
+ }
5269
+ ];
5270
+ };
5271
+ },
5272
+ {
5273
+ "name": "timelockConfig";
5274
+ "pda": {
5275
+ "seeds": [
5276
+ {
5277
+ "kind": "const";
5278
+ "value": [
5279
+ 116,
5280
+ 105,
5281
+ 109,
5282
+ 101,
5283
+ 108,
5284
+ 111,
5285
+ 99,
5286
+ 107,
5287
+ 45,
5288
+ 99,
5289
+ 111,
5290
+ 110,
5291
+ 102,
5292
+ 105,
5293
+ 103
5294
+ ];
5295
+ }
5296
+ ];
5297
+ };
5298
+ },
5299
+ {
5300
+ "name": "receiverTimelockConfig";
5301
+ "pda": {
5302
+ "seeds": [
5303
+ {
5304
+ "kind": "const";
5305
+ "value": [
5306
+ 114,
5307
+ 101,
5308
+ 99,
5309
+ 101,
5310
+ 105,
5311
+ 118,
5312
+ 101,
5313
+ 114,
5314
+ 45,
5315
+ 116,
5316
+ 105,
5317
+ 109,
5318
+ 101,
5319
+ 108,
5320
+ 111,
5321
+ 99,
5322
+ 107
5323
+ ];
5324
+ },
5325
+ {
5326
+ "kind": "account";
5327
+ "path": "recipient";
5328
+ }
5329
+ ];
5330
+ };
5331
+ },
5332
+ {
5333
+ "name": "commitment";
4128
5334
  "writable": true;
4129
5335
  "pda": {
4130
5336
  "seeds": [
4131
- {
4132
- "kind": "account";
4133
- "path": "user";
4134
- },
4135
5337
  {
4136
5338
  "kind": "const";
4137
5339
  "value": [
4138
- 6,
4139
- 221,
4140
- 246,
4141
- 225,
4142
- 215,
4143
- 101,
4144
- 161,
4145
- 147,
4146
- 217,
4147
- 203,
4148
- 225,
4149
- 70,
4150
- 206,
4151
- 235,
4152
- 121,
4153
- 172,
4154
- 28,
4155
- 180,
4156
- 133,
4157
- 237,
4158
- 95,
4159
- 91,
4160
- 55,
4161
- 145,
4162
- 58,
4163
- 140,
4164
- 245,
4165
- 133,
4166
- 126,
4167
- 255,
4168
- 0,
4169
- 169
5340
+ 119,
5341
+ 105,
5342
+ 116,
5343
+ 104,
5344
+ 100,
5345
+ 114,
5346
+ 97,
5347
+ 119,
5348
+ 97,
5349
+ 108
4170
5350
  ];
4171
5351
  },
4172
5352
  {
4173
- "kind": "account";
4174
- "path": "mint";
5353
+ "kind": "arg";
5354
+ "path": "requestId";
4175
5355
  }
4176
5356
  ];
4177
- "program": {
4178
- "kind": "const";
4179
- "value": [
4180
- 140,
4181
- 151,
4182
- 37,
4183
- 143,
4184
- 78,
4185
- 36,
4186
- 137,
4187
- 241,
4188
- 187,
4189
- 61,
4190
- 16,
4191
- 41,
4192
- 20,
4193
- 142,
4194
- 13,
4195
- 131,
4196
- 11,
4197
- 90,
4198
- 19,
4199
- 153,
4200
- 218,
4201
- 255,
4202
- 16,
4203
- 132,
4204
- 4,
4205
- 142,
4206
- 123,
4207
- 216,
4208
- 219,
4209
- 233,
4210
- 248,
4211
- 89
4212
- ];
4213
- };
4214
5357
  };
4215
5358
  },
4216
5359
  {
@@ -4295,6 +5438,32 @@ export type Escrow = {
4295
5438
  197
4296
5439
  ];
4297
5440
  },
5441
+ {
5442
+ "name": "tokenThresholdConfig";
5443
+ "discriminator": [
5444
+ 239,
5445
+ 53,
5446
+ 2,
5447
+ 63,
5448
+ 29,
5449
+ 99,
5450
+ 180,
5451
+ 126
5452
+ ];
5453
+ },
5454
+ {
5455
+ "name": "tokenTimelockConfig";
5456
+ "discriminator": [
5457
+ 51,
5458
+ 228,
5459
+ 40,
5460
+ 68,
5461
+ 91,
5462
+ 228,
5463
+ 142,
5464
+ 151
5465
+ ];
5466
+ },
4298
5467
  {
4299
5468
  "name": "treasuryConfig";
4300
5469
  "discriminator": [
@@ -4453,6 +5622,32 @@ export type Escrow = {
4453
5622
  116
4454
5623
  ];
4455
5624
  },
5625
+ {
5626
+ "name": "tokenMultisigConfiguredEvent";
5627
+ "discriminator": [
5628
+ 97,
5629
+ 171,
5630
+ 100,
5631
+ 139,
5632
+ 60,
5633
+ 200,
5634
+ 134,
5635
+ 54
5636
+ ];
5637
+ },
5638
+ {
5639
+ "name": "tokenTimelockConfiguredEvent";
5640
+ "discriminator": [
5641
+ 236,
5642
+ 0,
5643
+ 0,
5644
+ 171,
5645
+ 251,
5646
+ 210,
5647
+ 77,
5648
+ 224
5649
+ ];
5650
+ },
4456
5651
  {
4457
5652
  "name": "treasuryConfigInitializedEvent";
4458
5653
  "discriminator": [
@@ -5110,6 +6305,169 @@ export type Escrow = {
5110
6305
  ];
5111
6306
  };
5112
6307
  },
6308
+ {
6309
+ "name": "tokenMultisigConfiguredEvent";
6310
+ "docs": [
6311
+ "Emitted when a token's amount-banded multisig thresholds are configured",
6312
+ "(mirrors EVM ConfigureTokenMultisig)."
6313
+ ];
6314
+ "type": {
6315
+ "kind": "struct";
6316
+ "fields": [
6317
+ {
6318
+ "name": "tokenMint";
6319
+ "type": "pubkey";
6320
+ },
6321
+ {
6322
+ "name": "thresholdAmount";
6323
+ "type": "u64";
6324
+ },
6325
+ {
6326
+ "name": "managerBelow";
6327
+ "type": "u8";
6328
+ },
6329
+ {
6330
+ "name": "managerAbove";
6331
+ "type": "u8";
6332
+ },
6333
+ {
6334
+ "name": "executiveBelow";
6335
+ "type": "u8";
6336
+ },
6337
+ {
6338
+ "name": "executiveAbove";
6339
+ "type": "u8";
6340
+ },
6341
+ {
6342
+ "name": "sender";
6343
+ "type": "pubkey";
6344
+ },
6345
+ {
6346
+ "name": "slot";
6347
+ "type": "u64";
6348
+ },
6349
+ {
6350
+ "name": "timestamp";
6351
+ "type": "i64";
6352
+ }
6353
+ ];
6354
+ };
6355
+ },
6356
+ {
6357
+ "name": "tokenThresholdConfig";
6358
+ "docs": [
6359
+ "Per-token multisig execution thresholds (mirrors EVM tokenThresholdSettings).",
6360
+ "",
6361
+ "`threshold_amount` splits withdrawals into two bands: amounts `>= threshold_amount`",
6362
+ "use the `*_above` counts, amounts below use `*_below`. A count of 0 means no signatures",
6363
+ "of that role are required for that band. An unset/zero config ⇒ no multisig required",
6364
+ "(the withdrawal proceeds as it did before this feature).",
6365
+ "",
6366
+ "PDA seeds: [b\"token-threshold\", mint]. For SOL, `mint` is the System Program id."
6367
+ ];
6368
+ "type": {
6369
+ "kind": "struct";
6370
+ "fields": [
6371
+ {
6372
+ "name": "thresholdAmount";
6373
+ "type": "u64";
6374
+ },
6375
+ {
6376
+ "name": "managerBelow";
6377
+ "type": "u8";
6378
+ },
6379
+ {
6380
+ "name": "managerAbove";
6381
+ "type": "u8";
6382
+ },
6383
+ {
6384
+ "name": "executiveBelow";
6385
+ "type": "u8";
6386
+ },
6387
+ {
6388
+ "name": "executiveAbove";
6389
+ "type": "u8";
6390
+ },
6391
+ {
6392
+ "name": "isSet";
6393
+ "type": "bool";
6394
+ }
6395
+ ];
6396
+ };
6397
+ },
6398
+ {
6399
+ "name": "tokenTimelockConfig";
6400
+ "docs": [
6401
+ "Per-token, amount-banded timelock (mirrors EVM timelockConfig[token]).",
6402
+ "",
6403
+ "Withdrawals `>= threshold_amount` use `duration_above`, otherwise `duration_below`.",
6404
+ "Resolution order for the effective delay is: per-receiver override → this per-token",
6405
+ "band → global `TimelockConfig` default → 0 (immediate).",
6406
+ "",
6407
+ "PDA seeds: [b\"token-timelock\", mint]. For SOL, `mint` is the System Program id."
6408
+ ];
6409
+ "type": {
6410
+ "kind": "struct";
6411
+ "fields": [
6412
+ {
6413
+ "name": "thresholdAmount";
6414
+ "type": "u64";
6415
+ },
6416
+ {
6417
+ "name": "durationBelow";
6418
+ "type": "i64";
6419
+ },
6420
+ {
6421
+ "name": "durationAbove";
6422
+ "type": "i64";
6423
+ },
6424
+ {
6425
+ "name": "isSet";
6426
+ "type": "bool";
6427
+ }
6428
+ ];
6429
+ };
6430
+ },
6431
+ {
6432
+ "name": "tokenTimelockConfiguredEvent";
6433
+ "docs": [
6434
+ "Emitted when a token's amount-banded timelock is configured",
6435
+ "(mirrors EVM SetTokenTimelock)."
6436
+ ];
6437
+ "type": {
6438
+ "kind": "struct";
6439
+ "fields": [
6440
+ {
6441
+ "name": "tokenMint";
6442
+ "type": "pubkey";
6443
+ },
6444
+ {
6445
+ "name": "thresholdAmount";
6446
+ "type": "u64";
6447
+ },
6448
+ {
6449
+ "name": "durationBelow";
6450
+ "type": "i64";
6451
+ },
6452
+ {
6453
+ "name": "durationAbove";
6454
+ "type": "i64";
6455
+ },
6456
+ {
6457
+ "name": "sender";
6458
+ "type": "pubkey";
6459
+ },
6460
+ {
6461
+ "name": "slot";
6462
+ "type": "u64";
6463
+ },
6464
+ {
6465
+ "name": "timestamp";
6466
+ "type": "i64";
6467
+ }
6468
+ ];
6469
+ };
6470
+ },
5113
6471
  {
5114
6472
  "name": "treasuryConfig";
5115
6473
  "type": {