@gainsnetwork/sdk 1.8.8-rc1 → 1.8.8-rc2

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.
@@ -770,9 +770,14 @@ const _abi = [
770
770
  type: "uint24",
771
771
  },
772
772
  {
773
- internalType: "uint136",
773
+ internalType: "uint24",
774
+ name: "gTokenOcFeeP",
775
+ type: "uint24",
776
+ },
777
+ {
778
+ internalType: "uint112",
774
779
  name: "__placeholder",
775
- type: "uint136",
780
+ type: "uint112",
776
781
  },
777
782
  ],
778
783
  indexed: false,
@@ -783,7 +788,7 @@ const _abi = [
783
788
  ],
784
789
  name: "GlobalTradeFeeParamsUpdated",
785
790
  type: "event",
786
- signature: "0xbbd4d37e525bc0d0bf80d0c56879b81ebcccbe7bfd22e484e19eb0f369c011a4",
791
+ signature: "0x7b3cf2773dd9e6cf057b72882aab946884c4484cdeb633c090559206a431cd73",
787
792
  },
788
793
  {
789
794
  anonymous: false,
@@ -912,6 +917,117 @@ const _abi = [
912
917
  type: "event",
913
918
  signature: "0x5d6c9d6dd6c84fa315e799a455ccb71230e5b88e171c48c4853425ce044e9bce",
914
919
  },
920
+ {
921
+ anonymous: false,
922
+ inputs: [
923
+ {
924
+ indexed: true,
925
+ internalType: "uint8",
926
+ name: "collateralIndex",
927
+ type: "uint8",
928
+ },
929
+ {
930
+ indexed: true,
931
+ internalType: "uint16",
932
+ name: "pairIndex",
933
+ type: "uint16",
934
+ },
935
+ {
936
+ components: [
937
+ {
938
+ internalType: "bool",
939
+ name: "skipBurn",
940
+ type: "bool",
941
+ },
942
+ {
943
+ internalType: "bool",
944
+ name: "skipFeeTierMultiplier",
945
+ type: "bool",
946
+ },
947
+ {
948
+ internalType: "bool",
949
+ name: "skipFeeTierMultiplierCounterTrade",
950
+ type: "bool",
951
+ },
952
+ {
953
+ internalType: "uint232",
954
+ name: "__placeholder",
955
+ type: "uint232",
956
+ },
957
+ ],
958
+ indexed: false,
959
+ internalType: "struct IPairsStorage.PairFlags",
960
+ name: "pairFlags",
961
+ type: "tuple",
962
+ },
963
+ ],
964
+ name: "PairFlagsUpdated",
965
+ type: "event",
966
+ signature: "0xe3cae6531a8bcc4c06fb2e1204c964ccb0e4f26239cf343c31ce4b13acb6e19b",
967
+ },
968
+ {
969
+ anonymous: false,
970
+ inputs: [
971
+ {
972
+ indexed: true,
973
+ internalType: "uint8",
974
+ name: "collateralIndex",
975
+ type: "uint8",
976
+ },
977
+ {
978
+ indexed: true,
979
+ internalType: "uint16",
980
+ name: "pairIndex",
981
+ type: "uint16",
982
+ },
983
+ {
984
+ components: [
985
+ {
986
+ internalType: "uint24",
987
+ name: "referralFeeP",
988
+ type: "uint24",
989
+ },
990
+ {
991
+ internalType: "uint24",
992
+ name: "govFeeP",
993
+ type: "uint24",
994
+ },
995
+ {
996
+ internalType: "uint24",
997
+ name: "triggerOrderFeeP",
998
+ type: "uint24",
999
+ },
1000
+ {
1001
+ internalType: "uint24",
1002
+ name: "gnsOtcFeeP",
1003
+ type: "uint24",
1004
+ },
1005
+ {
1006
+ internalType: "uint24",
1007
+ name: "gTokenFeeP",
1008
+ type: "uint24",
1009
+ },
1010
+ {
1011
+ internalType: "uint24",
1012
+ name: "gTokenOcFeeP",
1013
+ type: "uint24",
1014
+ },
1015
+ {
1016
+ internalType: "uint112",
1017
+ name: "__placeholder",
1018
+ type: "uint112",
1019
+ },
1020
+ ],
1021
+ indexed: false,
1022
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams",
1023
+ name: "feeParams",
1024
+ type: "tuple",
1025
+ },
1026
+ ],
1027
+ name: "PairGlobalTradeFeeParamsOverridesUpdated",
1028
+ type: "event",
1029
+ signature: "0xa1d910a0305cf995dd5bf8cfb277be5bacf228eff65d2b36c564b9590ee63065",
1030
+ },
915
1031
  {
916
1032
  anonymous: false,
917
1033
  inputs: [
@@ -1203,9 +1319,14 @@ const _abi = [
1203
1319
  type: "uint24",
1204
1320
  },
1205
1321
  {
1206
- internalType: "uint136",
1322
+ internalType: "uint24",
1323
+ name: "gTokenOcFeeP",
1324
+ type: "uint24",
1325
+ },
1326
+ {
1327
+ internalType: "uint112",
1207
1328
  name: "__placeholder",
1208
- type: "uint136",
1329
+ type: "uint112",
1209
1330
  },
1210
1331
  ],
1211
1332
  internalType: "struct IPairsStorage.GlobalTradeFeeParams",
@@ -1344,6 +1465,224 @@ const _abi = [
1344
1465
  type: "function",
1345
1466
  signature: "0x23b8880f",
1346
1467
  },
1468
+ {
1469
+ inputs: [
1470
+ {
1471
+ internalType: "uint8",
1472
+ name: "_collateralIndex",
1473
+ type: "uint8",
1474
+ },
1475
+ {
1476
+ internalType: "uint16",
1477
+ name: "_pairIndex",
1478
+ type: "uint16",
1479
+ },
1480
+ ],
1481
+ name: "getPairFlags",
1482
+ outputs: [
1483
+ {
1484
+ components: [
1485
+ {
1486
+ internalType: "bool",
1487
+ name: "skipBurn",
1488
+ type: "bool",
1489
+ },
1490
+ {
1491
+ internalType: "bool",
1492
+ name: "skipFeeTierMultiplier",
1493
+ type: "bool",
1494
+ },
1495
+ {
1496
+ internalType: "bool",
1497
+ name: "skipFeeTierMultiplierCounterTrade",
1498
+ type: "bool",
1499
+ },
1500
+ {
1501
+ internalType: "uint232",
1502
+ name: "__placeholder",
1503
+ type: "uint232",
1504
+ },
1505
+ ],
1506
+ internalType: "struct IPairsStorage.PairFlags",
1507
+ name: "",
1508
+ type: "tuple",
1509
+ },
1510
+ ],
1511
+ stateMutability: "view",
1512
+ type: "function",
1513
+ signature: "0xdd395b53",
1514
+ },
1515
+ {
1516
+ inputs: [
1517
+ {
1518
+ internalType: "uint8",
1519
+ name: "_collateralIndex",
1520
+ type: "uint8",
1521
+ },
1522
+ {
1523
+ internalType: "uint16[]",
1524
+ name: "_pairIndices",
1525
+ type: "uint16[]",
1526
+ },
1527
+ ],
1528
+ name: "getPairFlagsArray",
1529
+ outputs: [
1530
+ {
1531
+ components: [
1532
+ {
1533
+ internalType: "bool",
1534
+ name: "skipBurn",
1535
+ type: "bool",
1536
+ },
1537
+ {
1538
+ internalType: "bool",
1539
+ name: "skipFeeTierMultiplier",
1540
+ type: "bool",
1541
+ },
1542
+ {
1543
+ internalType: "bool",
1544
+ name: "skipFeeTierMultiplierCounterTrade",
1545
+ type: "bool",
1546
+ },
1547
+ {
1548
+ internalType: "uint232",
1549
+ name: "__placeholder",
1550
+ type: "uint232",
1551
+ },
1552
+ ],
1553
+ internalType: "struct IPairsStorage.PairFlags[]",
1554
+ name: "",
1555
+ type: "tuple[]",
1556
+ },
1557
+ ],
1558
+ stateMutability: "view",
1559
+ type: "function",
1560
+ signature: "0x7388c684",
1561
+ },
1562
+ {
1563
+ inputs: [
1564
+ {
1565
+ internalType: "uint8",
1566
+ name: "_collateralIndex",
1567
+ type: "uint8",
1568
+ },
1569
+ {
1570
+ internalType: "uint16",
1571
+ name: "_pairIndex",
1572
+ type: "uint16",
1573
+ },
1574
+ ],
1575
+ name: "getPairGlobalTradeFeeParamsOverride",
1576
+ outputs: [
1577
+ {
1578
+ components: [
1579
+ {
1580
+ internalType: "uint24",
1581
+ name: "referralFeeP",
1582
+ type: "uint24",
1583
+ },
1584
+ {
1585
+ internalType: "uint24",
1586
+ name: "govFeeP",
1587
+ type: "uint24",
1588
+ },
1589
+ {
1590
+ internalType: "uint24",
1591
+ name: "triggerOrderFeeP",
1592
+ type: "uint24",
1593
+ },
1594
+ {
1595
+ internalType: "uint24",
1596
+ name: "gnsOtcFeeP",
1597
+ type: "uint24",
1598
+ },
1599
+ {
1600
+ internalType: "uint24",
1601
+ name: "gTokenFeeP",
1602
+ type: "uint24",
1603
+ },
1604
+ {
1605
+ internalType: "uint24",
1606
+ name: "gTokenOcFeeP",
1607
+ type: "uint24",
1608
+ },
1609
+ {
1610
+ internalType: "uint112",
1611
+ name: "__placeholder",
1612
+ type: "uint112",
1613
+ },
1614
+ ],
1615
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams",
1616
+ name: "",
1617
+ type: "tuple",
1618
+ },
1619
+ ],
1620
+ stateMutability: "view",
1621
+ type: "function",
1622
+ signature: "0xdf7c637b",
1623
+ },
1624
+ {
1625
+ inputs: [
1626
+ {
1627
+ internalType: "uint8",
1628
+ name: "_collateralIndex",
1629
+ type: "uint8",
1630
+ },
1631
+ {
1632
+ internalType: "uint16[]",
1633
+ name: "_pairIndices",
1634
+ type: "uint16[]",
1635
+ },
1636
+ ],
1637
+ name: "getPairGlobalTradeFeeParamsOverrideArray",
1638
+ outputs: [
1639
+ {
1640
+ components: [
1641
+ {
1642
+ internalType: "uint24",
1643
+ name: "referralFeeP",
1644
+ type: "uint24",
1645
+ },
1646
+ {
1647
+ internalType: "uint24",
1648
+ name: "govFeeP",
1649
+ type: "uint24",
1650
+ },
1651
+ {
1652
+ internalType: "uint24",
1653
+ name: "triggerOrderFeeP",
1654
+ type: "uint24",
1655
+ },
1656
+ {
1657
+ internalType: "uint24",
1658
+ name: "gnsOtcFeeP",
1659
+ type: "uint24",
1660
+ },
1661
+ {
1662
+ internalType: "uint24",
1663
+ name: "gTokenFeeP",
1664
+ type: "uint24",
1665
+ },
1666
+ {
1667
+ internalType: "uint24",
1668
+ name: "gTokenOcFeeP",
1669
+ type: "uint24",
1670
+ },
1671
+ {
1672
+ internalType: "uint112",
1673
+ name: "__placeholder",
1674
+ type: "uint112",
1675
+ },
1676
+ ],
1677
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams[]",
1678
+ name: "",
1679
+ type: "tuple[]",
1680
+ },
1681
+ ],
1682
+ stateMutability: "view",
1683
+ type: "function",
1684
+ signature: "0x417c25d1",
1685
+ },
1347
1686
  {
1348
1687
  inputs: [
1349
1688
  {
@@ -1367,29 +1706,153 @@ const _abi = [
1367
1706
  type: "uint40",
1368
1707
  },
1369
1708
  {
1370
- internalType: "uint40",
1371
- name: "endLiqThresholdP",
1372
- type: "uint40",
1709
+ internalType: "uint40",
1710
+ name: "endLiqThresholdP",
1711
+ type: "uint40",
1712
+ },
1713
+ {
1714
+ internalType: "uint24",
1715
+ name: "startLeverage",
1716
+ type: "uint24",
1717
+ },
1718
+ {
1719
+ internalType: "uint24",
1720
+ name: "endLeverage",
1721
+ type: "uint24",
1722
+ },
1723
+ ],
1724
+ internalType: "struct IPairsStorage.GroupLiquidationParams",
1725
+ name: "",
1726
+ type: "tuple",
1727
+ },
1728
+ ],
1729
+ stateMutability: "view",
1730
+ type: "function",
1731
+ signature: "0x6633ced6",
1732
+ },
1733
+ {
1734
+ inputs: [
1735
+ {
1736
+ internalType: "uint8",
1737
+ name: "_collateralIndex",
1738
+ type: "uint8",
1739
+ },
1740
+ {
1741
+ internalType: "uint16",
1742
+ name: "_pairIndex",
1743
+ type: "uint16",
1744
+ },
1745
+ ],
1746
+ name: "getTradeFeeParams",
1747
+ outputs: [
1748
+ {
1749
+ components: [
1750
+ {
1751
+ internalType: "uint24",
1752
+ name: "referralFeeP",
1753
+ type: "uint24",
1754
+ },
1755
+ {
1756
+ internalType: "uint24",
1757
+ name: "govFeeP",
1758
+ type: "uint24",
1759
+ },
1760
+ {
1761
+ internalType: "uint24",
1762
+ name: "triggerOrderFeeP",
1763
+ type: "uint24",
1764
+ },
1765
+ {
1766
+ internalType: "uint24",
1767
+ name: "gnsOtcFeeP",
1768
+ type: "uint24",
1769
+ },
1770
+ {
1771
+ internalType: "uint24",
1772
+ name: "gTokenFeeP",
1773
+ type: "uint24",
1774
+ },
1775
+ {
1776
+ internalType: "uint24",
1777
+ name: "gTokenOcFeeP",
1778
+ type: "uint24",
1779
+ },
1780
+ {
1781
+ internalType: "uint112",
1782
+ name: "__placeholder",
1783
+ type: "uint112",
1784
+ },
1785
+ ],
1786
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams",
1787
+ name: "",
1788
+ type: "tuple",
1789
+ },
1790
+ ],
1791
+ stateMutability: "view",
1792
+ type: "function",
1793
+ signature: "0x31b501e9",
1794
+ },
1795
+ {
1796
+ inputs: [
1797
+ {
1798
+ internalType: "uint8",
1799
+ name: "_collateralIndex",
1800
+ type: "uint8",
1801
+ },
1802
+ {
1803
+ internalType: "uint16[]",
1804
+ name: "_pairIndices",
1805
+ type: "uint16[]",
1806
+ },
1807
+ ],
1808
+ name: "getTradeFeeParamsArray",
1809
+ outputs: [
1810
+ {
1811
+ components: [
1812
+ {
1813
+ internalType: "uint24",
1814
+ name: "referralFeeP",
1815
+ type: "uint24",
1816
+ },
1817
+ {
1818
+ internalType: "uint24",
1819
+ name: "govFeeP",
1820
+ type: "uint24",
1821
+ },
1822
+ {
1823
+ internalType: "uint24",
1824
+ name: "triggerOrderFeeP",
1825
+ type: "uint24",
1373
1826
  },
1374
1827
  {
1375
1828
  internalType: "uint24",
1376
- name: "startLeverage",
1829
+ name: "gnsOtcFeeP",
1377
1830
  type: "uint24",
1378
1831
  },
1379
1832
  {
1380
1833
  internalType: "uint24",
1381
- name: "endLeverage",
1834
+ name: "gTokenFeeP",
1835
+ type: "uint24",
1836
+ },
1837
+ {
1838
+ internalType: "uint24",
1839
+ name: "gTokenOcFeeP",
1382
1840
  type: "uint24",
1383
1841
  },
1842
+ {
1843
+ internalType: "uint112",
1844
+ name: "__placeholder",
1845
+ type: "uint112",
1846
+ },
1384
1847
  ],
1385
- internalType: "struct IPairsStorage.GroupLiquidationParams",
1848
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams[]",
1386
1849
  name: "",
1387
- type: "tuple",
1850
+ type: "tuple[]",
1388
1851
  },
1389
1852
  ],
1390
1853
  stateMutability: "view",
1391
1854
  type: "function",
1392
- signature: "0x6633ced6",
1855
+ signature: "0xa2a46b16",
1393
1856
  },
1394
1857
  {
1395
1858
  inputs: [
@@ -1518,9 +1981,14 @@ const _abi = [
1518
1981
  type: "uint24",
1519
1982
  },
1520
1983
  {
1521
- internalType: "uint136",
1984
+ internalType: "uint24",
1985
+ name: "gTokenOcFeeP",
1986
+ type: "uint24",
1987
+ },
1988
+ {
1989
+ internalType: "uint112",
1522
1990
  name: "__placeholder",
1523
- type: "uint136",
1991
+ type: "uint112",
1524
1992
  },
1525
1993
  ],
1526
1994
  internalType: "struct IPairsStorage.GlobalTradeFeeParams",
@@ -1532,7 +2000,7 @@ const _abi = [
1532
2000
  outputs: [],
1533
2001
  stateMutability: "nonpayable",
1534
2002
  type: "function",
1535
- signature: "0xc85ac748",
2003
+ signature: "0x079dc7e3",
1536
2004
  },
1537
2005
  {
1538
2006
  inputs: [],
@@ -1940,9 +2408,14 @@ const _abi = [
1940
2408
  type: "uint24",
1941
2409
  },
1942
2410
  {
1943
- internalType: "uint136",
2411
+ internalType: "uint24",
2412
+ name: "gTokenOcFeeP",
2413
+ type: "uint24",
2414
+ },
2415
+ {
2416
+ internalType: "uint112",
1944
2417
  name: "__placeholder",
1945
- type: "uint136",
2418
+ type: "uint112",
1946
2419
  },
1947
2420
  ],
1948
2421
  internalType: "struct IPairsStorage.GlobalTradeFeeParams",
@@ -1954,7 +2427,7 @@ const _abi = [
1954
2427
  outputs: [],
1955
2428
  stateMutability: "nonpayable",
1956
2429
  type: "function",
1957
- signature: "0x5f57a073",
2430
+ signature: "0x46956138",
1958
2431
  },
1959
2432
  {
1960
2433
  inputs: [
@@ -2059,6 +2532,113 @@ const _abi = [
2059
2532
  type: "function",
2060
2533
  signature: "0xd79261fd",
2061
2534
  },
2535
+ {
2536
+ inputs: [
2537
+ {
2538
+ internalType: "uint8[]",
2539
+ name: "_collateralIndices",
2540
+ type: "uint8[]",
2541
+ },
2542
+ {
2543
+ internalType: "uint16[]",
2544
+ name: "_pairIndices",
2545
+ type: "uint16[]",
2546
+ },
2547
+ {
2548
+ components: [
2549
+ {
2550
+ internalType: "bool",
2551
+ name: "skipBurn",
2552
+ type: "bool",
2553
+ },
2554
+ {
2555
+ internalType: "bool",
2556
+ name: "skipFeeTierMultiplier",
2557
+ type: "bool",
2558
+ },
2559
+ {
2560
+ internalType: "bool",
2561
+ name: "skipFeeTierMultiplierCounterTrade",
2562
+ type: "bool",
2563
+ },
2564
+ {
2565
+ internalType: "uint232",
2566
+ name: "__placeholder",
2567
+ type: "uint232",
2568
+ },
2569
+ ],
2570
+ internalType: "struct IPairsStorage.PairFlags[]",
2571
+ name: "_pairFlags",
2572
+ type: "tuple[]",
2573
+ },
2574
+ ],
2575
+ name: "setPairFlags",
2576
+ outputs: [],
2577
+ stateMutability: "nonpayable",
2578
+ type: "function",
2579
+ signature: "0xff55ed80",
2580
+ },
2581
+ {
2582
+ inputs: [
2583
+ {
2584
+ internalType: "uint8[]",
2585
+ name: "_collateralIndices",
2586
+ type: "uint8[]",
2587
+ },
2588
+ {
2589
+ internalType: "uint16[]",
2590
+ name: "_pairIndices",
2591
+ type: "uint16[]",
2592
+ },
2593
+ {
2594
+ components: [
2595
+ {
2596
+ internalType: "uint24",
2597
+ name: "referralFeeP",
2598
+ type: "uint24",
2599
+ },
2600
+ {
2601
+ internalType: "uint24",
2602
+ name: "govFeeP",
2603
+ type: "uint24",
2604
+ },
2605
+ {
2606
+ internalType: "uint24",
2607
+ name: "triggerOrderFeeP",
2608
+ type: "uint24",
2609
+ },
2610
+ {
2611
+ internalType: "uint24",
2612
+ name: "gnsOtcFeeP",
2613
+ type: "uint24",
2614
+ },
2615
+ {
2616
+ internalType: "uint24",
2617
+ name: "gTokenFeeP",
2618
+ type: "uint24",
2619
+ },
2620
+ {
2621
+ internalType: "uint24",
2622
+ name: "gTokenOcFeeP",
2623
+ type: "uint24",
2624
+ },
2625
+ {
2626
+ internalType: "uint112",
2627
+ name: "__placeholder",
2628
+ type: "uint112",
2629
+ },
2630
+ ],
2631
+ internalType: "struct IPairsStorage.GlobalTradeFeeParams[]",
2632
+ name: "_feeParams",
2633
+ type: "tuple[]",
2634
+ },
2635
+ ],
2636
+ name: "setPairGlobalTradeFeeParamsOverrides",
2637
+ outputs: [],
2638
+ stateMutability: "nonpayable",
2639
+ type: "function",
2640
+ signature: "0xbe2091dc",
2641
+ },
2062
2642
  {
2063
2643
  inputs: [
2064
2644
  {
@@ -2477,6 +3057,26 @@ const _abi = [
2477
3057
  type: "event",
2478
3058
  signature: "0x15ad1d28b052a6cc2dd1d34d9e06a1847055d520e2163017e6e8aad6431b7f6a",
2479
3059
  },
3060
+ {
3061
+ anonymous: false,
3062
+ inputs: [
3063
+ {
3064
+ indexed: true,
3065
+ internalType: "address",
3066
+ name: "trader",
3067
+ type: "address",
3068
+ },
3069
+ {
3070
+ indexed: true,
3071
+ internalType: "address",
3072
+ name: "previousReferrer",
3073
+ type: "address",
3074
+ },
3075
+ ],
3076
+ name: "TraderReferrerUnset",
3077
+ type: "event",
3078
+ signature: "0xb9088653d74fb25a9972c5c18a8a319f7b8b468a8ccf49be5aa93a9317e3025f",
3079
+ },
2480
3080
  {
2481
3081
  anonymous: false,
2482
3082
  inputs: [
@@ -2947,6 +3547,20 @@ const _abi = [
2947
3547
  type: "function",
2948
3548
  signature: "0x9b8ab684",
2949
3549
  },
3550
+ {
3551
+ inputs: [
3552
+ {
3553
+ internalType: "address[]",
3554
+ name: "_traders",
3555
+ type: "address[]",
3556
+ },
3557
+ ],
3558
+ name: "unsetTradersReferrers",
3559
+ outputs: [],
3560
+ stateMutability: "nonpayable",
3561
+ type: "function",
3562
+ signature: "0xe85647ba",
3563
+ },
2950
3564
  {
2951
3565
  inputs: [
2952
3566
  {
@@ -3639,6 +4253,43 @@ const _abi = [
3639
4253
  type: "function",
3640
4254
  signature: "0x794d8520",
3641
4255
  },
4256
+ {
4257
+ inputs: [
4258
+ {
4259
+ internalType: "address",
4260
+ name: "_trader",
4261
+ type: "address",
4262
+ },
4263
+ {
4264
+ internalType: "uint32[]",
4265
+ name: "_days",
4266
+ type: "uint32[]",
4267
+ },
4268
+ ],
4269
+ name: "getFeeTiersTraderDailyInfoArray",
4270
+ outputs: [
4271
+ {
4272
+ components: [
4273
+ {
4274
+ internalType: "uint32",
4275
+ name: "feeMultiplierCache",
4276
+ type: "uint32",
4277
+ },
4278
+ {
4279
+ internalType: "uint224",
4280
+ name: "points",
4281
+ type: "uint224",
4282
+ },
4283
+ ],
4284
+ internalType: "struct IFeeTiers.TraderDailyInfo[]",
4285
+ name: "",
4286
+ type: "tuple[]",
4287
+ },
4288
+ ],
4289
+ stateMutability: "view",
4290
+ type: "function",
4291
+ signature: "0x94575b4f",
4292
+ },
3642
4293
  {
3643
4294
  inputs: [
3644
4295
  {
@@ -5611,6 +6262,48 @@ const _abi = [
5611
6262
  type: "function",
5612
6263
  signature: "0x5a1449ab",
5613
6264
  },
6265
+ {
6266
+ inputs: [
6267
+ {
6268
+ internalType: "address",
6269
+ name: "_trader",
6270
+ type: "address",
6271
+ },
6272
+ {
6273
+ internalType: "uint256[]",
6274
+ name: "_pairIndices",
6275
+ type: "uint256[]",
6276
+ },
6277
+ ],
6278
+ name: "getUserPriceImpactArray",
6279
+ outputs: [
6280
+ {
6281
+ components: [
6282
+ {
6283
+ internalType: "uint16",
6284
+ name: "cumulVolPriceImpactMultiplier",
6285
+ type: "uint16",
6286
+ },
6287
+ {
6288
+ internalType: "uint16",
6289
+ name: "fixedSpreadP",
6290
+ type: "uint16",
6291
+ },
6292
+ {
6293
+ internalType: "uint224",
6294
+ name: "__placeholder",
6295
+ type: "uint224",
6296
+ },
6297
+ ],
6298
+ internalType: "struct IPriceImpact.UserPriceImpact[]",
6299
+ name: "",
6300
+ type: "tuple[]",
6301
+ },
6302
+ ],
6303
+ stateMutability: "view",
6304
+ type: "function",
6305
+ signature: "0x0a0aa478",
6306
+ },
5614
6307
  {
5615
6308
  inputs: [
5616
6309
  {
@@ -11908,6 +12601,32 @@ const _abi = [
11908
12601
  type: "event",
11909
12602
  signature: "0xfe4ab97508a97bb85ad1e2680662e58549e51982d965eed4ef6d7fcd4cc4295f",
11910
12603
  },
12604
+ {
12605
+ anonymous: false,
12606
+ inputs: [
12607
+ {
12608
+ indexed: true,
12609
+ internalType: "address",
12610
+ name: "trader",
12611
+ type: "address",
12612
+ },
12613
+ {
12614
+ indexed: true,
12615
+ internalType: "uint8",
12616
+ name: "collateralIndex",
12617
+ type: "uint8",
12618
+ },
12619
+ {
12620
+ indexed: false,
12621
+ internalType: "uint256",
12622
+ name: "amountCollateral",
12623
+ type: "uint256",
12624
+ },
12625
+ ],
12626
+ name: "GTokenOcFeeCharged",
12627
+ type: "event",
12628
+ signature: "0xdb02f3c92523bd1f249e41a2176f1bb5777f03f7cd5209e1a1aa35434b590542",
12629
+ },
11911
12630
  {
11912
12631
  anonymous: false,
11913
12632
  inputs: [