@pendle/sdk-boros 0.3.55 → 0.3.56
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/dist/backend/secrettune/BorosCoreSDK.d.ts +86 -37
- package/dist/backend/secrettune/BorosCoreSDK.js +59 -14
- package/dist/backend/secrettune/BorosCoreSDK.js.map +1 -1
- package/dist/contracts/abis/viemAbis.d.ts +2284 -916
- package/dist/contracts/abis/viemAbis.js +1496 -620
- package/dist/contracts/abis/viemAbis.js.map +1 -1
- package/dist/entities/exchange/exchange.d.ts +1290 -3
- package/dist/entities/exchange/exchange.js +0 -1
- package/dist/entities/exchange/exchange.js.map +1 -1
- package/dist/entities/exchange/utils.d.ts +290 -18
- package/dist/types/encoders.d.ts +6 -1
- package/dist/types/encoders.js +7 -7
- package/dist/types/encoders.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const iArbitrageExecutorAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly name: "InsufficientProfit";
|
|
4
|
+
readonly type: "error";
|
|
5
|
+
}, {
|
|
2
6
|
readonly anonymous: false;
|
|
3
7
|
readonly inputs: readonly [{
|
|
4
8
|
readonly indexed: false;
|
|
@@ -94,10 +98,6 @@ export declare const iArbitrageExecutorAbi: readonly [{
|
|
|
94
98
|
readonly type: "function";
|
|
95
99
|
}, {
|
|
96
100
|
readonly inputs: readonly [{
|
|
97
|
-
readonly internalType: "bool";
|
|
98
|
-
readonly name: "cross";
|
|
99
|
-
readonly type: "bool";
|
|
100
|
-
}, {
|
|
101
101
|
readonly internalType: "MarketId";
|
|
102
102
|
readonly name: "marketId";
|
|
103
103
|
readonly type: "uint24";
|
|
@@ -428,6 +428,98 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
428
428
|
readonly outputs: readonly [];
|
|
429
429
|
readonly stateMutability: "nonpayable";
|
|
430
430
|
readonly type: "function";
|
|
431
|
+
}, {
|
|
432
|
+
readonly inputs: readonly [{
|
|
433
|
+
readonly internalType: "address";
|
|
434
|
+
readonly name: "root";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "TokenId";
|
|
438
|
+
readonly name: "tokenId";
|
|
439
|
+
readonly type: "uint16";
|
|
440
|
+
}];
|
|
441
|
+
readonly name: "cancelVaultWithdrawal";
|
|
442
|
+
readonly outputs: readonly [];
|
|
443
|
+
readonly stateMutability: "nonpayable";
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
}, {
|
|
446
|
+
readonly inputs: readonly [{
|
|
447
|
+
readonly internalType: "MarketAcc";
|
|
448
|
+
readonly name: "from";
|
|
449
|
+
readonly type: "bytes26";
|
|
450
|
+
}, {
|
|
451
|
+
readonly internalType: "MarketAcc";
|
|
452
|
+
readonly name: "to";
|
|
453
|
+
readonly type: "bytes26";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "int256";
|
|
456
|
+
readonly name: "amount";
|
|
457
|
+
readonly type: "int256";
|
|
458
|
+
}];
|
|
459
|
+
readonly name: "cashTransfer";
|
|
460
|
+
readonly outputs: readonly [];
|
|
461
|
+
readonly stateMutability: "nonpayable";
|
|
462
|
+
readonly type: "function";
|
|
463
|
+
}, {
|
|
464
|
+
readonly inputs: readonly [{
|
|
465
|
+
readonly internalType: "MarketAcc";
|
|
466
|
+
readonly name: "from";
|
|
467
|
+
readonly type: "bytes26";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "MarketAcc";
|
|
470
|
+
readonly name: "to";
|
|
471
|
+
readonly type: "bytes26";
|
|
472
|
+
}];
|
|
473
|
+
readonly name: "cashTransferAll";
|
|
474
|
+
readonly outputs: readonly [{
|
|
475
|
+
readonly internalType: "int256";
|
|
476
|
+
readonly name: "amountOut";
|
|
477
|
+
readonly type: "int256";
|
|
478
|
+
}];
|
|
479
|
+
readonly stateMutability: "nonpayable";
|
|
480
|
+
readonly type: "function";
|
|
481
|
+
}, {
|
|
482
|
+
readonly inputs: readonly [{
|
|
483
|
+
readonly internalType: "MarketAcc";
|
|
484
|
+
readonly name: "user";
|
|
485
|
+
readonly type: "bytes26";
|
|
486
|
+
}, {
|
|
487
|
+
readonly internalType: "MarketId";
|
|
488
|
+
readonly name: "marketId";
|
|
489
|
+
readonly type: "uint24";
|
|
490
|
+
}];
|
|
491
|
+
readonly name: "enterMarket";
|
|
492
|
+
readonly outputs: readonly [];
|
|
493
|
+
readonly stateMutability: "nonpayable";
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
}, {
|
|
496
|
+
readonly inputs: readonly [{
|
|
497
|
+
readonly internalType: "MarketAcc";
|
|
498
|
+
readonly name: "user";
|
|
499
|
+
readonly type: "bytes26";
|
|
500
|
+
}, {
|
|
501
|
+
readonly internalType: "MarketId";
|
|
502
|
+
readonly name: "marketId";
|
|
503
|
+
readonly type: "uint24";
|
|
504
|
+
}];
|
|
505
|
+
readonly name: "exitMarket";
|
|
506
|
+
readonly outputs: readonly [];
|
|
507
|
+
readonly stateMutability: "nonpayable";
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
}, {
|
|
510
|
+
readonly inputs: readonly [{
|
|
511
|
+
readonly internalType: "address";
|
|
512
|
+
readonly name: "root";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
}, {
|
|
515
|
+
readonly internalType: "TokenId";
|
|
516
|
+
readonly name: "tokenId";
|
|
517
|
+
readonly type: "uint16";
|
|
518
|
+
}];
|
|
519
|
+
readonly name: "finalizeVaultWithdrawal";
|
|
520
|
+
readonly outputs: readonly [];
|
|
521
|
+
readonly stateMutability: "nonpayable";
|
|
522
|
+
readonly type: "function";
|
|
431
523
|
}, {
|
|
432
524
|
readonly inputs: readonly [{
|
|
433
525
|
readonly internalType: "uint32";
|
|
@@ -545,6 +637,38 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
545
637
|
}];
|
|
546
638
|
readonly stateMutability: "nonpayable";
|
|
547
639
|
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "MarketAcc";
|
|
643
|
+
readonly name: "user";
|
|
644
|
+
readonly type: "bytes26";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "uint256";
|
|
647
|
+
readonly name: "amount";
|
|
648
|
+
readonly type: "uint256";
|
|
649
|
+
}];
|
|
650
|
+
readonly name: "payTreasury";
|
|
651
|
+
readonly outputs: readonly [];
|
|
652
|
+
readonly stateMutability: "nonpayable";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly internalType: "address";
|
|
657
|
+
readonly name: "root";
|
|
658
|
+
readonly type: "address";
|
|
659
|
+
}, {
|
|
660
|
+
readonly internalType: "TokenId";
|
|
661
|
+
readonly name: "tokenId";
|
|
662
|
+
readonly type: "uint16";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
readonly name: "unscaledAmount";
|
|
666
|
+
readonly type: "uint256";
|
|
667
|
+
}];
|
|
668
|
+
readonly name: "requestVaultWithdrawal";
|
|
669
|
+
readonly outputs: readonly [];
|
|
670
|
+
readonly stateMutability: "nonpayable";
|
|
671
|
+
readonly type: "function";
|
|
548
672
|
}, {
|
|
549
673
|
readonly inputs: readonly [{
|
|
550
674
|
readonly internalType: "MarketAcc";
|
|
@@ -575,6 +699,52 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
575
699
|
}];
|
|
576
700
|
readonly stateMutability: "nonpayable";
|
|
577
701
|
readonly type: "function";
|
|
702
|
+
}, {
|
|
703
|
+
readonly inputs: readonly [{
|
|
704
|
+
readonly internalType: "MarketAcc";
|
|
705
|
+
readonly name: "acc";
|
|
706
|
+
readonly type: "bytes26";
|
|
707
|
+
}, {
|
|
708
|
+
readonly internalType: "int256";
|
|
709
|
+
readonly name: "amount";
|
|
710
|
+
readonly type: "int256";
|
|
711
|
+
}];
|
|
712
|
+
readonly name: "simulateTransfer";
|
|
713
|
+
readonly outputs: readonly [];
|
|
714
|
+
readonly stateMutability: "nonpayable";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [{
|
|
718
|
+
readonly internalType: "MarketAcc";
|
|
719
|
+
readonly name: "acc";
|
|
720
|
+
readonly type: "bytes26";
|
|
721
|
+
}, {
|
|
722
|
+
readonly internalType: "uint256";
|
|
723
|
+
readonly name: "unscaledAmount";
|
|
724
|
+
readonly type: "uint256";
|
|
725
|
+
}];
|
|
726
|
+
readonly name: "vaultDeposit";
|
|
727
|
+
readonly outputs: readonly [];
|
|
728
|
+
readonly stateMutability: "nonpayable";
|
|
729
|
+
readonly type: "function";
|
|
730
|
+
}, {
|
|
731
|
+
readonly inputs: readonly [{
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly name: "root";
|
|
734
|
+
readonly type: "address";
|
|
735
|
+
}, {
|
|
736
|
+
readonly internalType: "TokenId";
|
|
737
|
+
readonly name: "tokenId";
|
|
738
|
+
readonly type: "uint16";
|
|
739
|
+
}, {
|
|
740
|
+
readonly internalType: "uint256";
|
|
741
|
+
readonly name: "unscaled";
|
|
742
|
+
readonly type: "uint256";
|
|
743
|
+
}];
|
|
744
|
+
readonly name: "vaultPayTreasury";
|
|
745
|
+
readonly outputs: readonly [];
|
|
746
|
+
readonly stateMutability: "nonpayable";
|
|
747
|
+
readonly type: "function";
|
|
578
748
|
}];
|
|
579
749
|
export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
580
750
|
readonly inputs: readonly [{
|
|
@@ -623,13 +793,13 @@ export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
|
623
793
|
readonly type: "function";
|
|
624
794
|
}, {
|
|
625
795
|
readonly inputs: readonly [{
|
|
626
|
-
readonly internalType: "MarketId";
|
|
627
|
-
readonly name: "marketId";
|
|
628
|
-
readonly type: "uint24";
|
|
629
|
-
}, {
|
|
630
796
|
readonly internalType: "MarketAcc";
|
|
631
797
|
readonly name: "riskyUser";
|
|
632
798
|
readonly type: "bytes26";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "MarketId[]";
|
|
801
|
+
readonly name: "marketIds";
|
|
802
|
+
readonly type: "uint24[]";
|
|
633
803
|
}];
|
|
634
804
|
readonly name: "forceCancelAllRiskyUser";
|
|
635
805
|
readonly outputs: readonly [];
|
|
@@ -1326,13 +1496,13 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1326
1496
|
readonly type: "function";
|
|
1327
1497
|
}, {
|
|
1328
1498
|
readonly inputs: readonly [{
|
|
1329
|
-
readonly internalType: "MarketId";
|
|
1330
|
-
readonly name: "marketId";
|
|
1331
|
-
readonly type: "uint24";
|
|
1332
|
-
}, {
|
|
1333
1499
|
readonly internalType: "MarketAcc";
|
|
1334
1500
|
readonly name: "riskyUser";
|
|
1335
1501
|
readonly type: "bytes26";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly internalType: "MarketId[]";
|
|
1504
|
+
readonly name: "marketIds";
|
|
1505
|
+
readonly type: "uint24[]";
|
|
1336
1506
|
}];
|
|
1337
1507
|
readonly name: "forceCancelAllRiskyUser";
|
|
1338
1508
|
readonly outputs: readonly [];
|
|
@@ -1568,20 +1738,6 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1568
1738
|
}];
|
|
1569
1739
|
readonly stateMutability: "view";
|
|
1570
1740
|
readonly type: "function";
|
|
1571
|
-
}, {
|
|
1572
|
-
readonly inputs: readonly [{
|
|
1573
|
-
readonly internalType: "address";
|
|
1574
|
-
readonly name: "root";
|
|
1575
|
-
readonly type: "address";
|
|
1576
|
-
}];
|
|
1577
|
-
readonly name: "maxAllowedSubaccountId";
|
|
1578
|
-
readonly outputs: readonly [{
|
|
1579
|
-
readonly internalType: "uint8";
|
|
1580
|
-
readonly name: "";
|
|
1581
|
-
readonly type: "uint8";
|
|
1582
|
-
}];
|
|
1583
|
-
readonly stateMutability: "view";
|
|
1584
|
-
readonly type: "function";
|
|
1585
1741
|
}, {
|
|
1586
1742
|
readonly inputs: readonly [{
|
|
1587
1743
|
readonly internalType: "MarketId";
|
|
@@ -1939,218 +2095,47 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1939
2095
|
readonly stateMutability: "nonpayable";
|
|
1940
2096
|
readonly type: "function";
|
|
1941
2097
|
}];
|
|
1942
|
-
export declare const
|
|
1943
|
-
readonly
|
|
1944
|
-
readonly internalType: "address";
|
|
1945
|
-
readonly name: "root";
|
|
1946
|
-
readonly type: "address";
|
|
1947
|
-
}, {
|
|
1948
|
-
readonly internalType: "TokenId";
|
|
1949
|
-
readonly name: "tokenId";
|
|
1950
|
-
readonly type: "uint16";
|
|
1951
|
-
}];
|
|
1952
|
-
readonly name: "cancelVaultWithdrawal";
|
|
1953
|
-
readonly outputs: readonly [];
|
|
1954
|
-
readonly stateMutability: "nonpayable";
|
|
1955
|
-
readonly type: "function";
|
|
1956
|
-
}, {
|
|
2098
|
+
export declare const iMarketHubAllEventsAndTypesAbi: readonly [{
|
|
2099
|
+
readonly anonymous: false;
|
|
1957
2100
|
readonly inputs: readonly [{
|
|
2101
|
+
readonly indexed: false;
|
|
1958
2102
|
readonly internalType: "MarketAcc";
|
|
1959
2103
|
readonly name: "from";
|
|
1960
2104
|
readonly type: "bytes26";
|
|
1961
2105
|
}, {
|
|
2106
|
+
readonly indexed: false;
|
|
1962
2107
|
readonly internalType: "MarketAcc";
|
|
1963
2108
|
readonly name: "to";
|
|
1964
2109
|
readonly type: "bytes26";
|
|
1965
2110
|
}, {
|
|
2111
|
+
readonly indexed: false;
|
|
1966
2112
|
readonly internalType: "int256";
|
|
1967
2113
|
readonly name: "amount";
|
|
1968
2114
|
readonly type: "int256";
|
|
1969
2115
|
}];
|
|
1970
|
-
readonly name: "
|
|
1971
|
-
readonly
|
|
1972
|
-
readonly stateMutability: "nonpayable";
|
|
1973
|
-
readonly type: "function";
|
|
2116
|
+
readonly name: "CashTransfer";
|
|
2117
|
+
readonly type: "event";
|
|
1974
2118
|
}, {
|
|
2119
|
+
readonly anonymous: false;
|
|
1975
2120
|
readonly inputs: readonly [{
|
|
1976
|
-
readonly
|
|
1977
|
-
readonly
|
|
1978
|
-
readonly
|
|
2121
|
+
readonly indexed: true;
|
|
2122
|
+
readonly internalType: "TokenId";
|
|
2123
|
+
readonly name: "tokenId";
|
|
2124
|
+
readonly type: "uint16";
|
|
1979
2125
|
}, {
|
|
1980
|
-
readonly
|
|
1981
|
-
readonly
|
|
1982
|
-
readonly
|
|
2126
|
+
readonly indexed: false;
|
|
2127
|
+
readonly internalType: "uint256";
|
|
2128
|
+
readonly name: "amount";
|
|
2129
|
+
readonly type: "uint256";
|
|
1983
2130
|
}];
|
|
1984
|
-
readonly name: "
|
|
1985
|
-
readonly
|
|
2131
|
+
readonly name: "CollectFee";
|
|
2132
|
+
readonly type: "event";
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly anonymous: false;
|
|
2135
|
+
readonly inputs: readonly [{
|
|
2136
|
+
readonly indexed: false;
|
|
1986
2137
|
readonly internalType: "int256";
|
|
1987
|
-
readonly name: "
|
|
1988
|
-
readonly type: "int256";
|
|
1989
|
-
}];
|
|
1990
|
-
readonly stateMutability: "nonpayable";
|
|
1991
|
-
readonly type: "function";
|
|
1992
|
-
}, {
|
|
1993
|
-
readonly inputs: readonly [{
|
|
1994
|
-
readonly internalType: "MarketAcc";
|
|
1995
|
-
readonly name: "user";
|
|
1996
|
-
readonly type: "bytes26";
|
|
1997
|
-
}, {
|
|
1998
|
-
readonly internalType: "MarketId";
|
|
1999
|
-
readonly name: "marketId";
|
|
2000
|
-
readonly type: "uint24";
|
|
2001
|
-
}];
|
|
2002
|
-
readonly name: "enterMarket";
|
|
2003
|
-
readonly outputs: readonly [];
|
|
2004
|
-
readonly stateMutability: "nonpayable";
|
|
2005
|
-
readonly type: "function";
|
|
2006
|
-
}, {
|
|
2007
|
-
readonly inputs: readonly [{
|
|
2008
|
-
readonly internalType: "MarketAcc";
|
|
2009
|
-
readonly name: "user";
|
|
2010
|
-
readonly type: "bytes26";
|
|
2011
|
-
}, {
|
|
2012
|
-
readonly internalType: "MarketId";
|
|
2013
|
-
readonly name: "marketId";
|
|
2014
|
-
readonly type: "uint24";
|
|
2015
|
-
}];
|
|
2016
|
-
readonly name: "exitMarket";
|
|
2017
|
-
readonly outputs: readonly [];
|
|
2018
|
-
readonly stateMutability: "nonpayable";
|
|
2019
|
-
readonly type: "function";
|
|
2020
|
-
}, {
|
|
2021
|
-
readonly inputs: readonly [{
|
|
2022
|
-
readonly internalType: "address";
|
|
2023
|
-
readonly name: "root";
|
|
2024
|
-
readonly type: "address";
|
|
2025
|
-
}, {
|
|
2026
|
-
readonly internalType: "TokenId";
|
|
2027
|
-
readonly name: "tokenId";
|
|
2028
|
-
readonly type: "uint16";
|
|
2029
|
-
}];
|
|
2030
|
-
readonly name: "finalizeVaultWithdrawal";
|
|
2031
|
-
readonly outputs: readonly [];
|
|
2032
|
-
readonly stateMutability: "nonpayable";
|
|
2033
|
-
readonly type: "function";
|
|
2034
|
-
}, {
|
|
2035
|
-
readonly inputs: readonly [{
|
|
2036
|
-
readonly internalType: "MarketAcc";
|
|
2037
|
-
readonly name: "user";
|
|
2038
|
-
readonly type: "bytes26";
|
|
2039
|
-
}, {
|
|
2040
|
-
readonly internalType: "uint256";
|
|
2041
|
-
readonly name: "amount";
|
|
2042
|
-
readonly type: "uint256";
|
|
2043
|
-
}];
|
|
2044
|
-
readonly name: "payTreasury";
|
|
2045
|
-
readonly outputs: readonly [];
|
|
2046
|
-
readonly stateMutability: "nonpayable";
|
|
2047
|
-
readonly type: "function";
|
|
2048
|
-
}, {
|
|
2049
|
-
readonly inputs: readonly [{
|
|
2050
|
-
readonly internalType: "address";
|
|
2051
|
-
readonly name: "root";
|
|
2052
|
-
readonly type: "address";
|
|
2053
|
-
}, {
|
|
2054
|
-
readonly internalType: "TokenId";
|
|
2055
|
-
readonly name: "tokenId";
|
|
2056
|
-
readonly type: "uint16";
|
|
2057
|
-
}, {
|
|
2058
|
-
readonly internalType: "uint256";
|
|
2059
|
-
readonly name: "unscaledAmount";
|
|
2060
|
-
readonly type: "uint256";
|
|
2061
|
-
}];
|
|
2062
|
-
readonly name: "requestVaultWithdrawal";
|
|
2063
|
-
readonly outputs: readonly [];
|
|
2064
|
-
readonly stateMutability: "nonpayable";
|
|
2065
|
-
readonly type: "function";
|
|
2066
|
-
}, {
|
|
2067
|
-
readonly inputs: readonly [{
|
|
2068
|
-
readonly internalType: "MarketAcc";
|
|
2069
|
-
readonly name: "acc";
|
|
2070
|
-
readonly type: "bytes26";
|
|
2071
|
-
}, {
|
|
2072
|
-
readonly internalType: "int256";
|
|
2073
|
-
readonly name: "amount";
|
|
2074
|
-
readonly type: "int256";
|
|
2075
|
-
}];
|
|
2076
|
-
readonly name: "simulateTransfer";
|
|
2077
|
-
readonly outputs: readonly [];
|
|
2078
|
-
readonly stateMutability: "nonpayable";
|
|
2079
|
-
readonly type: "function";
|
|
2080
|
-
}, {
|
|
2081
|
-
readonly inputs: readonly [{
|
|
2082
|
-
readonly internalType: "MarketAcc";
|
|
2083
|
-
readonly name: "acc";
|
|
2084
|
-
readonly type: "bytes26";
|
|
2085
|
-
}, {
|
|
2086
|
-
readonly internalType: "uint256";
|
|
2087
|
-
readonly name: "unscaledAmount";
|
|
2088
|
-
readonly type: "uint256";
|
|
2089
|
-
}];
|
|
2090
|
-
readonly name: "vaultDeposit";
|
|
2091
|
-
readonly outputs: readonly [];
|
|
2092
|
-
readonly stateMutability: "nonpayable";
|
|
2093
|
-
readonly type: "function";
|
|
2094
|
-
}, {
|
|
2095
|
-
readonly inputs: readonly [{
|
|
2096
|
-
readonly internalType: "address";
|
|
2097
|
-
readonly name: "root";
|
|
2098
|
-
readonly type: "address";
|
|
2099
|
-
}, {
|
|
2100
|
-
readonly internalType: "TokenId";
|
|
2101
|
-
readonly name: "tokenId";
|
|
2102
|
-
readonly type: "uint16";
|
|
2103
|
-
}, {
|
|
2104
|
-
readonly internalType: "uint256";
|
|
2105
|
-
readonly name: "unscaled";
|
|
2106
|
-
readonly type: "uint256";
|
|
2107
|
-
}];
|
|
2108
|
-
readonly name: "vaultPayTreasury";
|
|
2109
|
-
readonly outputs: readonly [];
|
|
2110
|
-
readonly stateMutability: "nonpayable";
|
|
2111
|
-
readonly type: "function";
|
|
2112
|
-
}];
|
|
2113
|
-
export declare const iMarketHubAllEventsAndTypesAbi: readonly [{
|
|
2114
|
-
readonly anonymous: false;
|
|
2115
|
-
readonly inputs: readonly [{
|
|
2116
|
-
readonly indexed: false;
|
|
2117
|
-
readonly internalType: "MarketAcc";
|
|
2118
|
-
readonly name: "from";
|
|
2119
|
-
readonly type: "bytes26";
|
|
2120
|
-
}, {
|
|
2121
|
-
readonly indexed: false;
|
|
2122
|
-
readonly internalType: "MarketAcc";
|
|
2123
|
-
readonly name: "to";
|
|
2124
|
-
readonly type: "bytes26";
|
|
2125
|
-
}, {
|
|
2126
|
-
readonly indexed: false;
|
|
2127
|
-
readonly internalType: "int256";
|
|
2128
|
-
readonly name: "amount";
|
|
2129
|
-
readonly type: "int256";
|
|
2130
|
-
}];
|
|
2131
|
-
readonly name: "CashTransfer";
|
|
2132
|
-
readonly type: "event";
|
|
2133
|
-
}, {
|
|
2134
|
-
readonly anonymous: false;
|
|
2135
|
-
readonly inputs: readonly [{
|
|
2136
|
-
readonly indexed: true;
|
|
2137
|
-
readonly internalType: "TokenId";
|
|
2138
|
-
readonly name: "tokenId";
|
|
2139
|
-
readonly type: "uint16";
|
|
2140
|
-
}, {
|
|
2141
|
-
readonly indexed: false;
|
|
2142
|
-
readonly internalType: "uint256";
|
|
2143
|
-
readonly name: "amount";
|
|
2144
|
-
readonly type: "uint256";
|
|
2145
|
-
}];
|
|
2146
|
-
readonly name: "CollectFee";
|
|
2147
|
-
readonly type: "event";
|
|
2148
|
-
}, {
|
|
2149
|
-
readonly anonymous: false;
|
|
2150
|
-
readonly inputs: readonly [{
|
|
2151
|
-
readonly indexed: false;
|
|
2152
|
-
readonly internalType: "int256";
|
|
2153
|
-
readonly name: "newCritHR";
|
|
2138
|
+
readonly name: "newCritHR";
|
|
2154
2139
|
readonly type: "int256";
|
|
2155
2140
|
}];
|
|
2156
2141
|
readonly name: "CritHRUpdated";
|
|
@@ -2411,7 +2396,7 @@ export declare const iMarketHubAllEventsAndTypesAbi: readonly [{
|
|
|
2411
2396
|
readonly name: "VaultWithdrawalRequested";
|
|
2412
2397
|
readonly type: "event";
|
|
2413
2398
|
}];
|
|
2414
|
-
export declare const
|
|
2399
|
+
export declare const iMarketHubSetAndViewAbi: readonly [{
|
|
2415
2400
|
readonly anonymous: false;
|
|
2416
2401
|
readonly inputs: readonly [{
|
|
2417
2402
|
readonly indexed: false;
|
|
@@ -2711,46 +2696,6 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
2711
2696
|
}];
|
|
2712
2697
|
readonly name: "VaultWithdrawalRequested";
|
|
2713
2698
|
readonly type: "event";
|
|
2714
|
-
}, {
|
|
2715
|
-
readonly inputs: readonly [];
|
|
2716
|
-
readonly name: "MARKET_FACTORY";
|
|
2717
|
-
readonly outputs: readonly [{
|
|
2718
|
-
readonly internalType: "address";
|
|
2719
|
-
readonly name: "";
|
|
2720
|
-
readonly type: "address";
|
|
2721
|
-
}];
|
|
2722
|
-
readonly stateMutability: "view";
|
|
2723
|
-
readonly type: "function";
|
|
2724
|
-
}, {
|
|
2725
|
-
readonly inputs: readonly [];
|
|
2726
|
-
readonly name: "MAX_ENTERED_MARKETS";
|
|
2727
|
-
readonly outputs: readonly [{
|
|
2728
|
-
readonly internalType: "uint256";
|
|
2729
|
-
readonly name: "";
|
|
2730
|
-
readonly type: "uint256";
|
|
2731
|
-
}];
|
|
2732
|
-
readonly stateMutability: "view";
|
|
2733
|
-
readonly type: "function";
|
|
2734
|
-
}, {
|
|
2735
|
-
readonly inputs: readonly [];
|
|
2736
|
-
readonly name: "ROUTER";
|
|
2737
|
-
readonly outputs: readonly [{
|
|
2738
|
-
readonly internalType: "address";
|
|
2739
|
-
readonly name: "";
|
|
2740
|
-
readonly type: "address";
|
|
2741
|
-
}];
|
|
2742
|
-
readonly stateMutability: "view";
|
|
2743
|
-
readonly type: "function";
|
|
2744
|
-
}, {
|
|
2745
|
-
readonly inputs: readonly [];
|
|
2746
|
-
readonly name: "TREASURY";
|
|
2747
|
-
readonly outputs: readonly [{
|
|
2748
|
-
readonly internalType: "address";
|
|
2749
|
-
readonly name: "";
|
|
2750
|
-
readonly type: "address";
|
|
2751
|
-
}];
|
|
2752
|
-
readonly stateMutability: "view";
|
|
2753
|
-
readonly type: "function";
|
|
2754
2699
|
}, {
|
|
2755
2700
|
readonly inputs: readonly [{
|
|
2756
2701
|
readonly internalType: "MarketAcc";
|
|
@@ -2765,16 +2710,6 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
2765
2710
|
}];
|
|
2766
2711
|
readonly stateMutability: "view";
|
|
2767
2712
|
readonly type: "function";
|
|
2768
|
-
}, {
|
|
2769
|
-
readonly inputs: readonly [];
|
|
2770
|
-
readonly name: "critHR";
|
|
2771
|
-
readonly outputs: readonly [{
|
|
2772
|
-
readonly internalType: "int128";
|
|
2773
|
-
readonly name: "";
|
|
2774
|
-
readonly type: "int128";
|
|
2775
|
-
}];
|
|
2776
|
-
readonly stateMutability: "view";
|
|
2777
|
-
readonly type: "function";
|
|
2778
2713
|
}, {
|
|
2779
2714
|
readonly inputs: readonly [{
|
|
2780
2715
|
readonly internalType: "MarketId";
|
|
@@ -2891,16 +2826,6 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
2891
2826
|
}];
|
|
2892
2827
|
readonly stateMutability: "view";
|
|
2893
2828
|
readonly type: "function";
|
|
2894
|
-
}, {
|
|
2895
|
-
readonly inputs: readonly [];
|
|
2896
|
-
readonly name: "globalCooldown";
|
|
2897
|
-
readonly outputs: readonly [{
|
|
2898
|
-
readonly internalType: "uint32";
|
|
2899
|
-
readonly name: "";
|
|
2900
|
-
readonly type: "uint32";
|
|
2901
|
-
}];
|
|
2902
|
-
readonly stateMutability: "view";
|
|
2903
|
-
readonly type: "function";
|
|
2904
2829
|
}, {
|
|
2905
2830
|
readonly inputs: readonly [{
|
|
2906
2831
|
readonly internalType: "MarketAcc";
|
|
@@ -2933,20 +2858,6 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
2933
2858
|
}];
|
|
2934
2859
|
readonly stateMutability: "view";
|
|
2935
2860
|
readonly type: "function";
|
|
2936
|
-
}, {
|
|
2937
|
-
readonly inputs: readonly [{
|
|
2938
|
-
readonly internalType: "address";
|
|
2939
|
-
readonly name: "root";
|
|
2940
|
-
readonly type: "address";
|
|
2941
|
-
}];
|
|
2942
|
-
readonly name: "maxAllowedSubaccountId";
|
|
2943
|
-
readonly outputs: readonly [{
|
|
2944
|
-
readonly internalType: "uint8";
|
|
2945
|
-
readonly name: "";
|
|
2946
|
-
readonly type: "uint8";
|
|
2947
|
-
}];
|
|
2948
|
-
readonly stateMutability: "view";
|
|
2949
|
-
readonly type: "function";
|
|
2950
2861
|
}, {
|
|
2951
2862
|
readonly inputs: readonly [{
|
|
2952
2863
|
readonly internalType: "address[]";
|
|
@@ -2971,16 +2882,6 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
2971
2882
|
}];
|
|
2972
2883
|
readonly stateMutability: "nonpayable";
|
|
2973
2884
|
readonly type: "function";
|
|
2974
|
-
}, {
|
|
2975
|
-
readonly inputs: readonly [];
|
|
2976
|
-
readonly name: "riskyThresHR";
|
|
2977
|
-
readonly outputs: readonly [{
|
|
2978
|
-
readonly internalType: "int256";
|
|
2979
|
-
readonly name: "";
|
|
2980
|
-
readonly type: "int256";
|
|
2981
|
-
}];
|
|
2982
|
-
readonly stateMutability: "view";
|
|
2983
|
-
readonly type: "function";
|
|
2984
2885
|
}, {
|
|
2985
2886
|
readonly inputs: readonly [{
|
|
2986
2887
|
readonly internalType: "int128";
|
|
@@ -3105,15 +3006,386 @@ export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
|
3105
3006
|
readonly stateMutability: "nonpayable";
|
|
3106
3007
|
readonly type: "function";
|
|
3107
3008
|
}];
|
|
3108
|
-
export declare const
|
|
3009
|
+
export declare const iMarketHubStorageOnlyAbi: readonly [{
|
|
3109
3010
|
readonly anonymous: false;
|
|
3110
3011
|
readonly inputs: readonly [{
|
|
3111
3012
|
readonly indexed: false;
|
|
3112
|
-
readonly internalType: "
|
|
3113
|
-
readonly name: "
|
|
3114
|
-
readonly type: "
|
|
3115
|
-
}, {
|
|
3116
|
-
readonly
|
|
3013
|
+
readonly internalType: "MarketAcc";
|
|
3014
|
+
readonly name: "from";
|
|
3015
|
+
readonly type: "bytes26";
|
|
3016
|
+
}, {
|
|
3017
|
+
readonly indexed: false;
|
|
3018
|
+
readonly internalType: "MarketAcc";
|
|
3019
|
+
readonly name: "to";
|
|
3020
|
+
readonly type: "bytes26";
|
|
3021
|
+
}, {
|
|
3022
|
+
readonly indexed: false;
|
|
3023
|
+
readonly internalType: "int256";
|
|
3024
|
+
readonly name: "amount";
|
|
3025
|
+
readonly type: "int256";
|
|
3026
|
+
}];
|
|
3027
|
+
readonly name: "CashTransfer";
|
|
3028
|
+
readonly type: "event";
|
|
3029
|
+
}, {
|
|
3030
|
+
readonly anonymous: false;
|
|
3031
|
+
readonly inputs: readonly [{
|
|
3032
|
+
readonly indexed: true;
|
|
3033
|
+
readonly internalType: "TokenId";
|
|
3034
|
+
readonly name: "tokenId";
|
|
3035
|
+
readonly type: "uint16";
|
|
3036
|
+
}, {
|
|
3037
|
+
readonly indexed: false;
|
|
3038
|
+
readonly internalType: "uint256";
|
|
3039
|
+
readonly name: "amount";
|
|
3040
|
+
readonly type: "uint256";
|
|
3041
|
+
}];
|
|
3042
|
+
readonly name: "CollectFee";
|
|
3043
|
+
readonly type: "event";
|
|
3044
|
+
}, {
|
|
3045
|
+
readonly anonymous: false;
|
|
3046
|
+
readonly inputs: readonly [{
|
|
3047
|
+
readonly indexed: false;
|
|
3048
|
+
readonly internalType: "int256";
|
|
3049
|
+
readonly name: "newCritHR";
|
|
3050
|
+
readonly type: "int256";
|
|
3051
|
+
}];
|
|
3052
|
+
readonly name: "CritHRUpdated";
|
|
3053
|
+
readonly type: "event";
|
|
3054
|
+
}, {
|
|
3055
|
+
readonly anonymous: false;
|
|
3056
|
+
readonly inputs: readonly [{
|
|
3057
|
+
readonly indexed: false;
|
|
3058
|
+
readonly internalType: "MarketAcc";
|
|
3059
|
+
readonly name: "user";
|
|
3060
|
+
readonly type: "bytes26";
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly indexed: false;
|
|
3063
|
+
readonly internalType: "MarketId";
|
|
3064
|
+
readonly name: "marketId";
|
|
3065
|
+
readonly type: "uint24";
|
|
3066
|
+
}, {
|
|
3067
|
+
readonly indexed: false;
|
|
3068
|
+
readonly internalType: "uint256";
|
|
3069
|
+
readonly name: "entranceFee";
|
|
3070
|
+
readonly type: "uint256";
|
|
3071
|
+
}];
|
|
3072
|
+
readonly name: "EnterMarket";
|
|
3073
|
+
readonly type: "event";
|
|
3074
|
+
}, {
|
|
3075
|
+
readonly anonymous: false;
|
|
3076
|
+
readonly inputs: readonly [{
|
|
3077
|
+
readonly indexed: false;
|
|
3078
|
+
readonly internalType: "MarketAcc";
|
|
3079
|
+
readonly name: "user";
|
|
3080
|
+
readonly type: "bytes26";
|
|
3081
|
+
}, {
|
|
3082
|
+
readonly indexed: false;
|
|
3083
|
+
readonly internalType: "MarketId";
|
|
3084
|
+
readonly name: "marketId";
|
|
3085
|
+
readonly type: "uint24";
|
|
3086
|
+
}];
|
|
3087
|
+
readonly name: "ExitMarket";
|
|
3088
|
+
readonly type: "event";
|
|
3089
|
+
}, {
|
|
3090
|
+
readonly anonymous: false;
|
|
3091
|
+
readonly inputs: readonly [{
|
|
3092
|
+
readonly indexed: false;
|
|
3093
|
+
readonly internalType: "uint32";
|
|
3094
|
+
readonly name: "newCooldown";
|
|
3095
|
+
readonly type: "uint32";
|
|
3096
|
+
}];
|
|
3097
|
+
readonly name: "GlobalCooldownSet";
|
|
3098
|
+
readonly type: "event";
|
|
3099
|
+
}, {
|
|
3100
|
+
readonly anonymous: false;
|
|
3101
|
+
readonly inputs: readonly [{
|
|
3102
|
+
readonly indexed: true;
|
|
3103
|
+
readonly internalType: "MarketId";
|
|
3104
|
+
readonly name: "marketId";
|
|
3105
|
+
readonly type: "uint24";
|
|
3106
|
+
}, {
|
|
3107
|
+
readonly indexed: true;
|
|
3108
|
+
readonly internalType: "address";
|
|
3109
|
+
readonly name: "marketAddress";
|
|
3110
|
+
readonly type: "address";
|
|
3111
|
+
}];
|
|
3112
|
+
readonly name: "MarketAdded";
|
|
3113
|
+
readonly type: "event";
|
|
3114
|
+
}, {
|
|
3115
|
+
readonly anonymous: false;
|
|
3116
|
+
readonly inputs: readonly [{
|
|
3117
|
+
readonly indexed: false;
|
|
3118
|
+
readonly internalType: "TokenId[]";
|
|
3119
|
+
readonly name: "tokenIds";
|
|
3120
|
+
readonly type: "uint16[]";
|
|
3121
|
+
}, {
|
|
3122
|
+
readonly indexed: false;
|
|
3123
|
+
readonly internalType: "uint128[]";
|
|
3124
|
+
readonly name: "entranceFees";
|
|
3125
|
+
readonly type: "uint128[]";
|
|
3126
|
+
}];
|
|
3127
|
+
readonly name: "MarketEntranceFeesUpdated";
|
|
3128
|
+
readonly type: "event";
|
|
3129
|
+
}, {
|
|
3130
|
+
readonly anonymous: false;
|
|
3131
|
+
readonly inputs: readonly [{
|
|
3132
|
+
readonly indexed: false;
|
|
3133
|
+
readonly internalType: "TokenId[]";
|
|
3134
|
+
readonly name: "tokenIds";
|
|
3135
|
+
readonly type: "uint16[]";
|
|
3136
|
+
}, {
|
|
3137
|
+
readonly indexed: false;
|
|
3138
|
+
readonly internalType: "uint128[]";
|
|
3139
|
+
readonly name: "newMinCash";
|
|
3140
|
+
readonly type: "uint128[]";
|
|
3141
|
+
}];
|
|
3142
|
+
readonly name: "MinCashCrossAccountsUpdated";
|
|
3143
|
+
readonly type: "event";
|
|
3144
|
+
}, {
|
|
3145
|
+
readonly anonymous: false;
|
|
3146
|
+
readonly inputs: readonly [{
|
|
3147
|
+
readonly indexed: false;
|
|
3148
|
+
readonly internalType: "TokenId[]";
|
|
3149
|
+
readonly name: "tokenIds";
|
|
3150
|
+
readonly type: "uint16[]";
|
|
3151
|
+
}, {
|
|
3152
|
+
readonly indexed: false;
|
|
3153
|
+
readonly internalType: "uint128[]";
|
|
3154
|
+
readonly name: "newMinCash";
|
|
3155
|
+
readonly type: "uint128[]";
|
|
3156
|
+
}];
|
|
3157
|
+
readonly name: "MinCashIsolatedAccountsUpdated";
|
|
3158
|
+
readonly type: "event";
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly anonymous: false;
|
|
3161
|
+
readonly inputs: readonly [{
|
|
3162
|
+
readonly indexed: false;
|
|
3163
|
+
readonly internalType: "MarketAcc";
|
|
3164
|
+
readonly name: "user";
|
|
3165
|
+
readonly type: "bytes26";
|
|
3166
|
+
}, {
|
|
3167
|
+
readonly indexed: false;
|
|
3168
|
+
readonly internalType: "uint256";
|
|
3169
|
+
readonly name: "amount";
|
|
3170
|
+
readonly type: "uint256";
|
|
3171
|
+
}];
|
|
3172
|
+
readonly name: "PayTreasury";
|
|
3173
|
+
readonly type: "event";
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly anonymous: false;
|
|
3176
|
+
readonly inputs: readonly [{
|
|
3177
|
+
readonly indexed: false;
|
|
3178
|
+
readonly internalType: "address";
|
|
3179
|
+
readonly name: "root";
|
|
3180
|
+
readonly type: "address";
|
|
3181
|
+
}, {
|
|
3182
|
+
readonly indexed: false;
|
|
3183
|
+
readonly internalType: "uint32";
|
|
3184
|
+
readonly name: "cooldown";
|
|
3185
|
+
readonly type: "uint32";
|
|
3186
|
+
}];
|
|
3187
|
+
readonly name: "PersonalCooldownSet";
|
|
3188
|
+
readonly type: "event";
|
|
3189
|
+
}, {
|
|
3190
|
+
readonly anonymous: false;
|
|
3191
|
+
readonly inputs: readonly [{
|
|
3192
|
+
readonly indexed: false;
|
|
3193
|
+
readonly internalType: "int256";
|
|
3194
|
+
readonly name: "newRiskyThresHR";
|
|
3195
|
+
readonly type: "int256";
|
|
3196
|
+
}];
|
|
3197
|
+
readonly name: "RiskyThresHRUpdated";
|
|
3198
|
+
readonly type: "event";
|
|
3199
|
+
}, {
|
|
3200
|
+
readonly anonymous: false;
|
|
3201
|
+
readonly inputs: readonly [{
|
|
3202
|
+
readonly indexed: false;
|
|
3203
|
+
readonly internalType: "MarketId";
|
|
3204
|
+
readonly name: "marketId";
|
|
3205
|
+
readonly type: "uint24";
|
|
3206
|
+
}, {
|
|
3207
|
+
readonly indexed: false;
|
|
3208
|
+
readonly internalType: "bool";
|
|
3209
|
+
readonly name: "isEnabled";
|
|
3210
|
+
readonly type: "bool";
|
|
3211
|
+
}];
|
|
3212
|
+
readonly name: "StrictHealthCheckUpdated";
|
|
3213
|
+
readonly type: "event";
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly anonymous: false;
|
|
3216
|
+
readonly inputs: readonly [{
|
|
3217
|
+
readonly indexed: true;
|
|
3218
|
+
readonly internalType: "TokenId";
|
|
3219
|
+
readonly name: "tokenId";
|
|
3220
|
+
readonly type: "uint16";
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly indexed: true;
|
|
3223
|
+
readonly internalType: "address";
|
|
3224
|
+
readonly name: "tokenAddress";
|
|
3225
|
+
readonly type: "address";
|
|
3226
|
+
}];
|
|
3227
|
+
readonly name: "TokenAdded";
|
|
3228
|
+
readonly type: "event";
|
|
3229
|
+
}, {
|
|
3230
|
+
readonly anonymous: false;
|
|
3231
|
+
readonly inputs: readonly [{
|
|
3232
|
+
readonly indexed: false;
|
|
3233
|
+
readonly internalType: "MarketAcc";
|
|
3234
|
+
readonly name: "acc";
|
|
3235
|
+
readonly type: "bytes26";
|
|
3236
|
+
}, {
|
|
3237
|
+
readonly indexed: false;
|
|
3238
|
+
readonly internalType: "uint256";
|
|
3239
|
+
readonly name: "unscaledAmount";
|
|
3240
|
+
readonly type: "uint256";
|
|
3241
|
+
}];
|
|
3242
|
+
readonly name: "VaultDeposit";
|
|
3243
|
+
readonly type: "event";
|
|
3244
|
+
}, {
|
|
3245
|
+
readonly anonymous: false;
|
|
3246
|
+
readonly inputs: readonly [{
|
|
3247
|
+
readonly indexed: false;
|
|
3248
|
+
readonly internalType: "address";
|
|
3249
|
+
readonly name: "root";
|
|
3250
|
+
readonly type: "address";
|
|
3251
|
+
}, {
|
|
3252
|
+
readonly indexed: false;
|
|
3253
|
+
readonly internalType: "TokenId";
|
|
3254
|
+
readonly name: "tokenId";
|
|
3255
|
+
readonly type: "uint16";
|
|
3256
|
+
}, {
|
|
3257
|
+
readonly indexed: false;
|
|
3258
|
+
readonly internalType: "uint256";
|
|
3259
|
+
readonly name: "totalUnscaledAmount";
|
|
3260
|
+
readonly type: "uint256";
|
|
3261
|
+
}];
|
|
3262
|
+
readonly name: "VaultWithdrawalCanceled";
|
|
3263
|
+
readonly type: "event";
|
|
3264
|
+
}, {
|
|
3265
|
+
readonly anonymous: false;
|
|
3266
|
+
readonly inputs: readonly [{
|
|
3267
|
+
readonly indexed: false;
|
|
3268
|
+
readonly internalType: "address";
|
|
3269
|
+
readonly name: "root";
|
|
3270
|
+
readonly type: "address";
|
|
3271
|
+
}, {
|
|
3272
|
+
readonly indexed: false;
|
|
3273
|
+
readonly internalType: "TokenId";
|
|
3274
|
+
readonly name: "tokenId";
|
|
3275
|
+
readonly type: "uint16";
|
|
3276
|
+
}, {
|
|
3277
|
+
readonly indexed: false;
|
|
3278
|
+
readonly internalType: "uint256";
|
|
3279
|
+
readonly name: "totalUnscaledAmount";
|
|
3280
|
+
readonly type: "uint256";
|
|
3281
|
+
}];
|
|
3282
|
+
readonly name: "VaultWithdrawalFinalized";
|
|
3283
|
+
readonly type: "event";
|
|
3284
|
+
}, {
|
|
3285
|
+
readonly anonymous: false;
|
|
3286
|
+
readonly inputs: readonly [{
|
|
3287
|
+
readonly indexed: false;
|
|
3288
|
+
readonly internalType: "address";
|
|
3289
|
+
readonly name: "root";
|
|
3290
|
+
readonly type: "address";
|
|
3291
|
+
}, {
|
|
3292
|
+
readonly indexed: false;
|
|
3293
|
+
readonly internalType: "TokenId";
|
|
3294
|
+
readonly name: "tokenId";
|
|
3295
|
+
readonly type: "uint16";
|
|
3296
|
+
}, {
|
|
3297
|
+
readonly indexed: false;
|
|
3298
|
+
readonly internalType: "uint32";
|
|
3299
|
+
readonly name: "start";
|
|
3300
|
+
readonly type: "uint32";
|
|
3301
|
+
}, {
|
|
3302
|
+
readonly indexed: false;
|
|
3303
|
+
readonly internalType: "uint256";
|
|
3304
|
+
readonly name: "totalUnscaledAmount";
|
|
3305
|
+
readonly type: "uint256";
|
|
3306
|
+
}];
|
|
3307
|
+
readonly name: "VaultWithdrawalRequested";
|
|
3308
|
+
readonly type: "event";
|
|
3309
|
+
}, {
|
|
3310
|
+
readonly inputs: readonly [];
|
|
3311
|
+
readonly name: "MARKET_FACTORY";
|
|
3312
|
+
readonly outputs: readonly [{
|
|
3313
|
+
readonly internalType: "address";
|
|
3314
|
+
readonly name: "";
|
|
3315
|
+
readonly type: "address";
|
|
3316
|
+
}];
|
|
3317
|
+
readonly stateMutability: "view";
|
|
3318
|
+
readonly type: "function";
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly inputs: readonly [];
|
|
3321
|
+
readonly name: "MAX_ENTERED_MARKETS";
|
|
3322
|
+
readonly outputs: readonly [{
|
|
3323
|
+
readonly internalType: "uint256";
|
|
3324
|
+
readonly name: "";
|
|
3325
|
+
readonly type: "uint256";
|
|
3326
|
+
}];
|
|
3327
|
+
readonly stateMutability: "view";
|
|
3328
|
+
readonly type: "function";
|
|
3329
|
+
}, {
|
|
3330
|
+
readonly inputs: readonly [];
|
|
3331
|
+
readonly name: "ROUTER";
|
|
3332
|
+
readonly outputs: readonly [{
|
|
3333
|
+
readonly internalType: "address";
|
|
3334
|
+
readonly name: "";
|
|
3335
|
+
readonly type: "address";
|
|
3336
|
+
}];
|
|
3337
|
+
readonly stateMutability: "view";
|
|
3338
|
+
readonly type: "function";
|
|
3339
|
+
}, {
|
|
3340
|
+
readonly inputs: readonly [];
|
|
3341
|
+
readonly name: "TREASURY";
|
|
3342
|
+
readonly outputs: readonly [{
|
|
3343
|
+
readonly internalType: "address";
|
|
3344
|
+
readonly name: "";
|
|
3345
|
+
readonly type: "address";
|
|
3346
|
+
}];
|
|
3347
|
+
readonly stateMutability: "view";
|
|
3348
|
+
readonly type: "function";
|
|
3349
|
+
}, {
|
|
3350
|
+
readonly inputs: readonly [];
|
|
3351
|
+
readonly name: "critHR";
|
|
3352
|
+
readonly outputs: readonly [{
|
|
3353
|
+
readonly internalType: "int128";
|
|
3354
|
+
readonly name: "";
|
|
3355
|
+
readonly type: "int128";
|
|
3356
|
+
}];
|
|
3357
|
+
readonly stateMutability: "view";
|
|
3358
|
+
readonly type: "function";
|
|
3359
|
+
}, {
|
|
3360
|
+
readonly inputs: readonly [];
|
|
3361
|
+
readonly name: "globalCooldown";
|
|
3362
|
+
readonly outputs: readonly [{
|
|
3363
|
+
readonly internalType: "uint32";
|
|
3364
|
+
readonly name: "";
|
|
3365
|
+
readonly type: "uint32";
|
|
3366
|
+
}];
|
|
3367
|
+
readonly stateMutability: "view";
|
|
3368
|
+
readonly type: "function";
|
|
3369
|
+
}, {
|
|
3370
|
+
readonly inputs: readonly [];
|
|
3371
|
+
readonly name: "riskyThresHR";
|
|
3372
|
+
readonly outputs: readonly [{
|
|
3373
|
+
readonly internalType: "int256";
|
|
3374
|
+
readonly name: "";
|
|
3375
|
+
readonly type: "int256";
|
|
3376
|
+
}];
|
|
3377
|
+
readonly stateMutability: "view";
|
|
3378
|
+
readonly type: "function";
|
|
3379
|
+
}];
|
|
3380
|
+
export declare const iMarketFactoryAbi: readonly [{
|
|
3381
|
+
readonly anonymous: false;
|
|
3382
|
+
readonly inputs: readonly [{
|
|
3383
|
+
readonly indexed: false;
|
|
3384
|
+
readonly internalType: "address";
|
|
3385
|
+
readonly name: "market";
|
|
3386
|
+
readonly type: "address";
|
|
3387
|
+
}, {
|
|
3388
|
+
readonly components: readonly [{
|
|
3117
3389
|
readonly internalType: "string";
|
|
3118
3390
|
readonly name: "name";
|
|
3119
3391
|
readonly type: "string";
|
|
@@ -3536,6 +3808,31 @@ export declare const iRouterAbi: readonly [{
|
|
|
3536
3808
|
}];
|
|
3537
3809
|
readonly name: "AgentRevoked";
|
|
3538
3810
|
readonly type: "event";
|
|
3811
|
+
}, {
|
|
3812
|
+
readonly anonymous: false;
|
|
3813
|
+
readonly inputs: readonly [{
|
|
3814
|
+
readonly indexed: false;
|
|
3815
|
+
readonly internalType: "address";
|
|
3816
|
+
readonly name: "relayer";
|
|
3817
|
+
readonly type: "address";
|
|
3818
|
+
}, {
|
|
3819
|
+
readonly indexed: false;
|
|
3820
|
+
readonly internalType: "bool";
|
|
3821
|
+
readonly name: "allowed";
|
|
3822
|
+
readonly type: "bool";
|
|
3823
|
+
}];
|
|
3824
|
+
readonly name: "AllowedRelayerUpdated";
|
|
3825
|
+
readonly type: "event";
|
|
3826
|
+
}, {
|
|
3827
|
+
readonly anonymous: false;
|
|
3828
|
+
readonly inputs: readonly [{
|
|
3829
|
+
readonly indexed: false;
|
|
3830
|
+
readonly internalType: "TokenId";
|
|
3831
|
+
readonly name: "tokenId";
|
|
3832
|
+
readonly type: "uint16";
|
|
3833
|
+
}];
|
|
3834
|
+
readonly name: "ApprovedMarketHubInf";
|
|
3835
|
+
readonly type: "event";
|
|
3539
3836
|
}, {
|
|
3540
3837
|
readonly anonymous: false;
|
|
3541
3838
|
readonly inputs: readonly [{
|
|
@@ -3923,6 +4220,29 @@ export declare const iRouterAbi: readonly [{
|
|
|
3923
4220
|
}];
|
|
3924
4221
|
readonly stateMutability: "view";
|
|
3925
4222
|
readonly type: "function";
|
|
4223
|
+
}, {
|
|
4224
|
+
readonly inputs: readonly [{
|
|
4225
|
+
readonly components: readonly [{
|
|
4226
|
+
readonly internalType: "MarketId";
|
|
4227
|
+
readonly name: "marketId";
|
|
4228
|
+
readonly type: "uint24";
|
|
4229
|
+
}, {
|
|
4230
|
+
readonly internalType: "uint256";
|
|
4231
|
+
readonly name: "cashIn";
|
|
4232
|
+
readonly type: "uint256";
|
|
4233
|
+
}, {
|
|
4234
|
+
readonly internalType: "bool";
|
|
4235
|
+
readonly name: "cashTransferAll";
|
|
4236
|
+
readonly type: "bool";
|
|
4237
|
+
}];
|
|
4238
|
+
readonly internalType: "struct IRouterEventsAndTypes.AMMCashTransferReq";
|
|
4239
|
+
readonly name: "req";
|
|
4240
|
+
readonly type: "tuple";
|
|
4241
|
+
}];
|
|
4242
|
+
readonly name: "ammCashTransfer";
|
|
4243
|
+
readonly outputs: readonly [];
|
|
4244
|
+
readonly stateMutability: "nonpayable";
|
|
4245
|
+
readonly type: "function";
|
|
3926
4246
|
}, {
|
|
3927
4247
|
readonly inputs: readonly [{
|
|
3928
4248
|
readonly internalType: "AMMId";
|
|
@@ -3972,6 +4292,16 @@ export declare const iRouterAbi: readonly [{
|
|
|
3972
4292
|
readonly outputs: readonly [];
|
|
3973
4293
|
readonly stateMutability: "nonpayable";
|
|
3974
4294
|
readonly type: "function";
|
|
4295
|
+
}, {
|
|
4296
|
+
readonly inputs: readonly [{
|
|
4297
|
+
readonly internalType: "TokenId";
|
|
4298
|
+
readonly name: "tokenId";
|
|
4299
|
+
readonly type: "uint16";
|
|
4300
|
+
}];
|
|
4301
|
+
readonly name: "approveMarketHubInf";
|
|
4302
|
+
readonly outputs: readonly [];
|
|
4303
|
+
readonly stateMutability: "nonpayable";
|
|
4304
|
+
readonly type: "function";
|
|
3975
4305
|
}, {
|
|
3976
4306
|
readonly inputs: readonly [{
|
|
3977
4307
|
readonly components: readonly [{
|
|
@@ -4230,20 +4560,6 @@ export declare const iRouterAbi: readonly [{
|
|
|
4230
4560
|
readonly outputs: readonly [];
|
|
4231
4561
|
readonly stateMutability: "nonpayable";
|
|
4232
4562
|
readonly type: "function";
|
|
4233
|
-
}, {
|
|
4234
|
-
readonly inputs: readonly [{
|
|
4235
|
-
readonly internalType: "address";
|
|
4236
|
-
readonly name: "user";
|
|
4237
|
-
readonly type: "address";
|
|
4238
|
-
}, {
|
|
4239
|
-
readonly internalType: "TokenId";
|
|
4240
|
-
readonly name: "tokenId";
|
|
4241
|
-
readonly type: "uint16";
|
|
4242
|
-
}];
|
|
4243
|
-
readonly name: "finalizeVaultWithdrawal";
|
|
4244
|
-
readonly outputs: readonly [];
|
|
4245
|
-
readonly stateMutability: "nonpayable";
|
|
4246
|
-
readonly type: "function";
|
|
4247
4563
|
}, {
|
|
4248
4564
|
readonly inputs: readonly [{
|
|
4249
4565
|
readonly internalType: "string";
|
|
@@ -4262,6 +4578,20 @@ export declare const iRouterAbi: readonly [{
|
|
|
4262
4578
|
readonly outputs: readonly [];
|
|
4263
4579
|
readonly stateMutability: "nonpayable";
|
|
4264
4580
|
readonly type: "function";
|
|
4581
|
+
}, {
|
|
4582
|
+
readonly inputs: readonly [{
|
|
4583
|
+
readonly internalType: "address";
|
|
4584
|
+
readonly name: "relayer";
|
|
4585
|
+
readonly type: "address";
|
|
4586
|
+
}];
|
|
4587
|
+
readonly name: "isAllowedRelayer";
|
|
4588
|
+
readonly outputs: readonly [{
|
|
4589
|
+
readonly internalType: "bool";
|
|
4590
|
+
readonly name: "";
|
|
4591
|
+
readonly type: "bool";
|
|
4592
|
+
}];
|
|
4593
|
+
readonly stateMutability: "view";
|
|
4594
|
+
readonly type: "function";
|
|
4265
4595
|
}, {
|
|
4266
4596
|
readonly inputs: readonly [];
|
|
4267
4597
|
readonly name: "maxIterationAndEps";
|
|
@@ -4556,6 +4886,10 @@ export declare const iRouterAbi: readonly [{
|
|
|
4556
4886
|
readonly internalType: "address";
|
|
4557
4887
|
readonly name: "amm";
|
|
4558
4888
|
readonly type: "address";
|
|
4889
|
+
}, {
|
|
4890
|
+
readonly internalType: "bool";
|
|
4891
|
+
readonly name: "forceOverride";
|
|
4892
|
+
readonly type: "bool";
|
|
4559
4893
|
}];
|
|
4560
4894
|
readonly name: "setAMMIdToAcc";
|
|
4561
4895
|
readonly outputs: readonly [];
|
|
@@ -4592,6 +4926,20 @@ export declare const iRouterAbi: readonly [{
|
|
|
4592
4926
|
readonly outputs: readonly [];
|
|
4593
4927
|
readonly stateMutability: "nonpayable";
|
|
4594
4928
|
readonly type: "function";
|
|
4929
|
+
}, {
|
|
4930
|
+
readonly inputs: readonly [{
|
|
4931
|
+
readonly internalType: "address";
|
|
4932
|
+
readonly name: "relayer";
|
|
4933
|
+
readonly type: "address";
|
|
4934
|
+
}, {
|
|
4935
|
+
readonly internalType: "bool";
|
|
4936
|
+
readonly name: "allowed";
|
|
4937
|
+
readonly type: "bool";
|
|
4938
|
+
}];
|
|
4939
|
+
readonly name: "setAllowedRelayer";
|
|
4940
|
+
readonly outputs: readonly [];
|
|
4941
|
+
readonly stateMutability: "nonpayable";
|
|
4942
|
+
readonly type: "function";
|
|
4595
4943
|
}, {
|
|
4596
4944
|
readonly inputs: readonly [{
|
|
4597
4945
|
readonly internalType: "uint256";
|
|
@@ -12843,6 +13191,29 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
12843
13191
|
}];
|
|
12844
13192
|
readonly name: "SwapWithAmm";
|
|
12845
13193
|
readonly type: "event";
|
|
13194
|
+
}, {
|
|
13195
|
+
readonly inputs: readonly [{
|
|
13196
|
+
readonly components: readonly [{
|
|
13197
|
+
readonly internalType: "MarketId";
|
|
13198
|
+
readonly name: "marketId";
|
|
13199
|
+
readonly type: "uint24";
|
|
13200
|
+
}, {
|
|
13201
|
+
readonly internalType: "uint256";
|
|
13202
|
+
readonly name: "cashIn";
|
|
13203
|
+
readonly type: "uint256";
|
|
13204
|
+
}, {
|
|
13205
|
+
readonly internalType: "bool";
|
|
13206
|
+
readonly name: "cashTransferAll";
|
|
13207
|
+
readonly type: "bool";
|
|
13208
|
+
}];
|
|
13209
|
+
readonly internalType: "struct IRouterEventsAndTypes.AMMCashTransferReq";
|
|
13210
|
+
readonly name: "req";
|
|
13211
|
+
readonly type: "tuple";
|
|
13212
|
+
}];
|
|
13213
|
+
readonly name: "ammCashTransfer";
|
|
13214
|
+
readonly outputs: readonly [];
|
|
13215
|
+
readonly stateMutability: "nonpayable";
|
|
13216
|
+
readonly type: "function";
|
|
12846
13217
|
}, {
|
|
12847
13218
|
readonly inputs: readonly [{
|
|
12848
13219
|
readonly components: readonly [{
|
|
@@ -12991,27 +13362,13 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
12991
13362
|
}, {
|
|
12992
13363
|
readonly internalType: "MarketId[]";
|
|
12993
13364
|
readonly name: "marketIds";
|
|
12994
|
-
readonly type: "uint24[]";
|
|
12995
|
-
}];
|
|
12996
|
-
readonly internalType: "struct IRouterEventsAndTypes.EnterExitMarketsReq";
|
|
12997
|
-
readonly name: "req";
|
|
12998
|
-
readonly type: "tuple";
|
|
12999
|
-
}];
|
|
13000
|
-
readonly name: "enterExitMarkets";
|
|
13001
|
-
readonly outputs: readonly [];
|
|
13002
|
-
readonly stateMutability: "nonpayable";
|
|
13003
|
-
readonly type: "function";
|
|
13004
|
-
}, {
|
|
13005
|
-
readonly inputs: readonly [{
|
|
13006
|
-
readonly internalType: "address";
|
|
13007
|
-
readonly name: "user";
|
|
13008
|
-
readonly type: "address";
|
|
13009
|
-
}, {
|
|
13010
|
-
readonly internalType: "TokenId";
|
|
13011
|
-
readonly name: "tokenId";
|
|
13012
|
-
readonly type: "uint16";
|
|
13365
|
+
readonly type: "uint24[]";
|
|
13366
|
+
}];
|
|
13367
|
+
readonly internalType: "struct IRouterEventsAndTypes.EnterExitMarketsReq";
|
|
13368
|
+
readonly name: "req";
|
|
13369
|
+
readonly type: "tuple";
|
|
13013
13370
|
}];
|
|
13014
|
-
readonly name: "
|
|
13371
|
+
readonly name: "enterExitMarkets";
|
|
13015
13372
|
readonly outputs: readonly [];
|
|
13016
13373
|
readonly stateMutability: "nonpayable";
|
|
13017
13374
|
readonly type: "function";
|
|
@@ -13698,205 +14055,534 @@ export declare const iAuthModuleAbi: readonly [{
|
|
|
13698
14055
|
readonly name: "signature";
|
|
13699
14056
|
readonly type: "bytes";
|
|
13700
14057
|
}];
|
|
13701
|
-
readonly name: "setAccManager";
|
|
13702
|
-
readonly outputs: readonly [];
|
|
13703
|
-
readonly stateMutability: "nonpayable";
|
|
14058
|
+
readonly name: "setAccManager";
|
|
14059
|
+
readonly outputs: readonly [];
|
|
14060
|
+
readonly stateMutability: "nonpayable";
|
|
14061
|
+
readonly type: "function";
|
|
14062
|
+
}, {
|
|
14063
|
+
readonly inputs: readonly [{
|
|
14064
|
+
readonly internalType: "address";
|
|
14065
|
+
readonly name: "signer";
|
|
14066
|
+
readonly type: "address";
|
|
14067
|
+
}];
|
|
14068
|
+
readonly name: "signerNonce";
|
|
14069
|
+
readonly outputs: readonly [{
|
|
14070
|
+
readonly internalType: "uint64";
|
|
14071
|
+
readonly name: "";
|
|
14072
|
+
readonly type: "uint64";
|
|
14073
|
+
}];
|
|
14074
|
+
readonly stateMutability: "view";
|
|
14075
|
+
readonly type: "function";
|
|
14076
|
+
}, {
|
|
14077
|
+
readonly inputs: readonly [{
|
|
14078
|
+
readonly components: readonly [{
|
|
14079
|
+
readonly internalType: "address";
|
|
14080
|
+
readonly name: "root";
|
|
14081
|
+
readonly type: "address";
|
|
14082
|
+
}, {
|
|
14083
|
+
readonly internalType: "uint8";
|
|
14084
|
+
readonly name: "accountId";
|
|
14085
|
+
readonly type: "uint8";
|
|
14086
|
+
}, {
|
|
14087
|
+
readonly internalType: "TokenId";
|
|
14088
|
+
readonly name: "tokenId";
|
|
14089
|
+
readonly type: "uint16";
|
|
14090
|
+
}, {
|
|
14091
|
+
readonly internalType: "MarketId";
|
|
14092
|
+
readonly name: "marketId";
|
|
14093
|
+
readonly type: "uint24";
|
|
14094
|
+
}, {
|
|
14095
|
+
readonly internalType: "uint256";
|
|
14096
|
+
readonly name: "amount";
|
|
14097
|
+
readonly type: "uint256";
|
|
14098
|
+
}, {
|
|
14099
|
+
readonly internalType: "bool";
|
|
14100
|
+
readonly name: "isDeposit";
|
|
14101
|
+
readonly type: "bool";
|
|
14102
|
+
}, {
|
|
14103
|
+
readonly internalType: "uint64";
|
|
14104
|
+
readonly name: "nonce";
|
|
14105
|
+
readonly type: "uint64";
|
|
14106
|
+
}];
|
|
14107
|
+
readonly internalType: "struct IRouterEventsAndTypes.SubaccountTransferMessage";
|
|
14108
|
+
readonly name: "message";
|
|
14109
|
+
readonly type: "tuple";
|
|
14110
|
+
}, {
|
|
14111
|
+
readonly internalType: "bytes";
|
|
14112
|
+
readonly name: "signature";
|
|
14113
|
+
readonly type: "bytes";
|
|
14114
|
+
}];
|
|
14115
|
+
readonly name: "subaccountTransfer";
|
|
14116
|
+
readonly outputs: readonly [];
|
|
14117
|
+
readonly stateMutability: "nonpayable";
|
|
14118
|
+
readonly type: "function";
|
|
14119
|
+
}, {
|
|
14120
|
+
readonly inputs: readonly [{
|
|
14121
|
+
readonly internalType: "Account[]";
|
|
14122
|
+
readonly name: "accounts";
|
|
14123
|
+
readonly type: "bytes21[]";
|
|
14124
|
+
}, {
|
|
14125
|
+
readonly internalType: "address[]";
|
|
14126
|
+
readonly name: "agents";
|
|
14127
|
+
readonly type: "address[]";
|
|
14128
|
+
}];
|
|
14129
|
+
readonly name: "systemRevokeAgent";
|
|
14130
|
+
readonly outputs: readonly [];
|
|
14131
|
+
readonly stateMutability: "nonpayable";
|
|
14132
|
+
readonly type: "function";
|
|
14133
|
+
}, {
|
|
14134
|
+
readonly inputs: readonly [{
|
|
14135
|
+
readonly components: readonly [{
|
|
14136
|
+
readonly internalType: "address";
|
|
14137
|
+
readonly name: "root";
|
|
14138
|
+
readonly type: "address";
|
|
14139
|
+
}, {
|
|
14140
|
+
readonly internalType: "uint8";
|
|
14141
|
+
readonly name: "accountId";
|
|
14142
|
+
readonly type: "uint8";
|
|
14143
|
+
}, {
|
|
14144
|
+
readonly internalType: "TokenId";
|
|
14145
|
+
readonly name: "tokenId";
|
|
14146
|
+
readonly type: "uint16";
|
|
14147
|
+
}, {
|
|
14148
|
+
readonly internalType: "MarketId";
|
|
14149
|
+
readonly name: "marketId";
|
|
14150
|
+
readonly type: "uint24";
|
|
14151
|
+
}, {
|
|
14152
|
+
readonly internalType: "uint256";
|
|
14153
|
+
readonly name: "amount";
|
|
14154
|
+
readonly type: "uint256";
|
|
14155
|
+
}, {
|
|
14156
|
+
readonly internalType: "uint64";
|
|
14157
|
+
readonly name: "nonce";
|
|
14158
|
+
readonly type: "uint64";
|
|
14159
|
+
}];
|
|
14160
|
+
readonly internalType: "struct IRouterEventsAndTypes.VaultDepositMessage";
|
|
14161
|
+
readonly name: "message";
|
|
14162
|
+
readonly type: "tuple";
|
|
14163
|
+
}, {
|
|
14164
|
+
readonly internalType: "bytes";
|
|
14165
|
+
readonly name: "signature";
|
|
14166
|
+
readonly type: "bytes";
|
|
14167
|
+
}];
|
|
14168
|
+
readonly name: "vaultDeposit";
|
|
14169
|
+
readonly outputs: readonly [];
|
|
14170
|
+
readonly stateMutability: "nonpayable";
|
|
14171
|
+
readonly type: "function";
|
|
14172
|
+
}, {
|
|
14173
|
+
readonly inputs: readonly [{
|
|
14174
|
+
readonly components: readonly [{
|
|
14175
|
+
readonly internalType: "address";
|
|
14176
|
+
readonly name: "root";
|
|
14177
|
+
readonly type: "address";
|
|
14178
|
+
}, {
|
|
14179
|
+
readonly internalType: "TokenId";
|
|
14180
|
+
readonly name: "tokenId";
|
|
14181
|
+
readonly type: "uint16";
|
|
14182
|
+
}, {
|
|
14183
|
+
readonly internalType: "uint256";
|
|
14184
|
+
readonly name: "amount";
|
|
14185
|
+
readonly type: "uint256";
|
|
14186
|
+
}, {
|
|
14187
|
+
readonly internalType: "uint64";
|
|
14188
|
+
readonly name: "nonce";
|
|
14189
|
+
readonly type: "uint64";
|
|
14190
|
+
}];
|
|
14191
|
+
readonly internalType: "struct IRouterEventsAndTypes.VaultPayTreasuryMessage";
|
|
14192
|
+
readonly name: "message";
|
|
14193
|
+
readonly type: "tuple";
|
|
14194
|
+
}, {
|
|
14195
|
+
readonly internalType: "bytes";
|
|
14196
|
+
readonly name: "signature";
|
|
14197
|
+
readonly type: "bytes";
|
|
14198
|
+
}];
|
|
14199
|
+
readonly name: "vaultPayTreasury";
|
|
14200
|
+
readonly outputs: readonly [];
|
|
14201
|
+
readonly stateMutability: "nonpayable";
|
|
14202
|
+
readonly type: "function";
|
|
14203
|
+
}];
|
|
14204
|
+
export declare const iFIndexOracleAbi: readonly [{
|
|
14205
|
+
readonly anonymous: false;
|
|
14206
|
+
readonly inputs: readonly [{
|
|
14207
|
+
readonly indexed: false;
|
|
14208
|
+
readonly internalType: "uint64";
|
|
14209
|
+
readonly name: "newSettleFeeRate";
|
|
14210
|
+
readonly type: "uint64";
|
|
14211
|
+
}, {
|
|
14212
|
+
readonly indexed: false;
|
|
14213
|
+
readonly internalType: "uint32";
|
|
14214
|
+
readonly name: "newUpdatePeriod";
|
|
14215
|
+
readonly type: "uint32";
|
|
14216
|
+
}, {
|
|
14217
|
+
readonly indexed: false;
|
|
14218
|
+
readonly internalType: "uint32";
|
|
14219
|
+
readonly name: "newMaxUpdateDelay";
|
|
14220
|
+
readonly type: "uint32";
|
|
14221
|
+
}];
|
|
14222
|
+
readonly name: "ConfigUpdated";
|
|
14223
|
+
readonly type: "event";
|
|
14224
|
+
}, {
|
|
14225
|
+
readonly anonymous: false;
|
|
14226
|
+
readonly inputs: readonly [{
|
|
14227
|
+
readonly indexed: false;
|
|
14228
|
+
readonly internalType: "address";
|
|
14229
|
+
readonly name: "newKeeper";
|
|
14230
|
+
readonly type: "address";
|
|
14231
|
+
}];
|
|
14232
|
+
readonly name: "KeeperUpdated";
|
|
14233
|
+
readonly type: "event";
|
|
14234
|
+
}, {
|
|
14235
|
+
readonly inputs: readonly [];
|
|
14236
|
+
readonly name: "getConfig";
|
|
14237
|
+
readonly outputs: readonly [{
|
|
14238
|
+
readonly internalType: "uint64";
|
|
14239
|
+
readonly name: "settleFeeRate";
|
|
14240
|
+
readonly type: "uint64";
|
|
14241
|
+
}, {
|
|
14242
|
+
readonly internalType: "uint32";
|
|
14243
|
+
readonly name: "updatePeriod";
|
|
14244
|
+
readonly type: "uint32";
|
|
14245
|
+
}, {
|
|
14246
|
+
readonly internalType: "uint32";
|
|
14247
|
+
readonly name: "maxUpdateDelay";
|
|
14248
|
+
readonly type: "uint32";
|
|
14249
|
+
}];
|
|
14250
|
+
readonly stateMutability: "view";
|
|
14251
|
+
readonly type: "function";
|
|
14252
|
+
}, {
|
|
14253
|
+
readonly inputs: readonly [];
|
|
14254
|
+
readonly name: "getLatestFIndex";
|
|
14255
|
+
readonly outputs: readonly [{
|
|
14256
|
+
readonly internalType: "FIndex";
|
|
14257
|
+
readonly name: "";
|
|
14258
|
+
readonly type: "bytes26";
|
|
14259
|
+
}];
|
|
14260
|
+
readonly stateMutability: "view";
|
|
14261
|
+
readonly type: "function";
|
|
14262
|
+
}, {
|
|
14263
|
+
readonly inputs: readonly [];
|
|
14264
|
+
readonly name: "isDueForUpdateNow";
|
|
14265
|
+
readonly outputs: readonly [{
|
|
14266
|
+
readonly internalType: "bool";
|
|
14267
|
+
readonly name: "";
|
|
14268
|
+
readonly type: "bool";
|
|
14269
|
+
}];
|
|
14270
|
+
readonly stateMutability: "view";
|
|
14271
|
+
readonly type: "function";
|
|
14272
|
+
}, {
|
|
14273
|
+
readonly inputs: readonly [];
|
|
14274
|
+
readonly name: "keeper";
|
|
14275
|
+
readonly outputs: readonly [{
|
|
14276
|
+
readonly internalType: "address";
|
|
14277
|
+
readonly name: "";
|
|
14278
|
+
readonly type: "address";
|
|
14279
|
+
}];
|
|
14280
|
+
readonly stateMutability: "view";
|
|
14281
|
+
readonly type: "function";
|
|
14282
|
+
}, {
|
|
14283
|
+
readonly inputs: readonly [];
|
|
14284
|
+
readonly name: "latestAnnualizedRate";
|
|
14285
|
+
readonly outputs: readonly [{
|
|
14286
|
+
readonly internalType: "int256";
|
|
14287
|
+
readonly name: "rate";
|
|
14288
|
+
readonly type: "int256";
|
|
14289
|
+
}];
|
|
14290
|
+
readonly stateMutability: "view";
|
|
14291
|
+
readonly type: "function";
|
|
14292
|
+
}, {
|
|
14293
|
+
readonly inputs: readonly [];
|
|
14294
|
+
readonly name: "market";
|
|
14295
|
+
readonly outputs: readonly [{
|
|
14296
|
+
readonly internalType: "address";
|
|
14297
|
+
readonly name: "";
|
|
14298
|
+
readonly type: "address";
|
|
14299
|
+
}];
|
|
14300
|
+
readonly stateMutability: "view";
|
|
14301
|
+
readonly type: "function";
|
|
14302
|
+
}, {
|
|
14303
|
+
readonly inputs: readonly [];
|
|
14304
|
+
readonly name: "maturity";
|
|
14305
|
+
readonly outputs: readonly [{
|
|
14306
|
+
readonly internalType: "uint32";
|
|
14307
|
+
readonly name: "";
|
|
14308
|
+
readonly type: "uint32";
|
|
14309
|
+
}];
|
|
14310
|
+
readonly stateMutability: "view";
|
|
13704
14311
|
readonly type: "function";
|
|
13705
14312
|
}, {
|
|
13706
|
-
readonly inputs: readonly [
|
|
13707
|
-
|
|
13708
|
-
readonly name: "signer";
|
|
13709
|
-
readonly type: "address";
|
|
13710
|
-
}];
|
|
13711
|
-
readonly name: "signerNonce";
|
|
14313
|
+
readonly inputs: readonly [];
|
|
14314
|
+
readonly name: "nextFIndexUpdateTime";
|
|
13712
14315
|
readonly outputs: readonly [{
|
|
13713
|
-
readonly internalType: "
|
|
14316
|
+
readonly internalType: "uint32";
|
|
13714
14317
|
readonly name: "";
|
|
13715
|
-
readonly type: "
|
|
14318
|
+
readonly type: "uint32";
|
|
13716
14319
|
}];
|
|
13717
14320
|
readonly stateMutability: "view";
|
|
13718
14321
|
readonly type: "function";
|
|
13719
14322
|
}, {
|
|
13720
14323
|
readonly inputs: readonly [{
|
|
13721
|
-
readonly
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
readonly type: "address";
|
|
13725
|
-
}, {
|
|
13726
|
-
readonly internalType: "uint8";
|
|
13727
|
-
readonly name: "accountId";
|
|
13728
|
-
readonly type: "uint8";
|
|
13729
|
-
}, {
|
|
13730
|
-
readonly internalType: "TokenId";
|
|
13731
|
-
readonly name: "tokenId";
|
|
13732
|
-
readonly type: "uint16";
|
|
13733
|
-
}, {
|
|
13734
|
-
readonly internalType: "MarketId";
|
|
13735
|
-
readonly name: "marketId";
|
|
13736
|
-
readonly type: "uint24";
|
|
13737
|
-
}, {
|
|
13738
|
-
readonly internalType: "uint256";
|
|
13739
|
-
readonly name: "amount";
|
|
13740
|
-
readonly type: "uint256";
|
|
13741
|
-
}, {
|
|
13742
|
-
readonly internalType: "bool";
|
|
13743
|
-
readonly name: "isDeposit";
|
|
13744
|
-
readonly type: "bool";
|
|
13745
|
-
}, {
|
|
13746
|
-
readonly internalType: "uint64";
|
|
13747
|
-
readonly name: "nonce";
|
|
13748
|
-
readonly type: "uint64";
|
|
13749
|
-
}];
|
|
13750
|
-
readonly internalType: "struct IRouterEventsAndTypes.SubaccountTransferMessage";
|
|
13751
|
-
readonly name: "message";
|
|
13752
|
-
readonly type: "tuple";
|
|
14324
|
+
readonly internalType: "uint64";
|
|
14325
|
+
readonly name: "settleFeeRate";
|
|
14326
|
+
readonly type: "uint64";
|
|
13753
14327
|
}, {
|
|
13754
|
-
readonly internalType: "
|
|
13755
|
-
readonly name: "
|
|
13756
|
-
readonly type: "
|
|
14328
|
+
readonly internalType: "uint32";
|
|
14329
|
+
readonly name: "updatePeriod";
|
|
14330
|
+
readonly type: "uint32";
|
|
14331
|
+
}, {
|
|
14332
|
+
readonly internalType: "uint32";
|
|
14333
|
+
readonly name: "maxFUpdateDelay";
|
|
14334
|
+
readonly type: "uint32";
|
|
13757
14335
|
}];
|
|
13758
|
-
readonly name: "
|
|
14336
|
+
readonly name: "setConfig";
|
|
13759
14337
|
readonly outputs: readonly [];
|
|
13760
14338
|
readonly stateMutability: "nonpayable";
|
|
13761
14339
|
readonly type: "function";
|
|
13762
14340
|
}, {
|
|
13763
14341
|
readonly inputs: readonly [{
|
|
13764
|
-
readonly internalType: "
|
|
13765
|
-
readonly name: "
|
|
13766
|
-
readonly type: "
|
|
13767
|
-
}, {
|
|
13768
|
-
readonly internalType: "address[]";
|
|
13769
|
-
readonly name: "agents";
|
|
13770
|
-
readonly type: "address[]";
|
|
14342
|
+
readonly internalType: "address";
|
|
14343
|
+
readonly name: "keeper";
|
|
14344
|
+
readonly type: "address";
|
|
13771
14345
|
}];
|
|
13772
|
-
readonly name: "
|
|
14346
|
+
readonly name: "setKeeper";
|
|
13773
14347
|
readonly outputs: readonly [];
|
|
13774
14348
|
readonly stateMutability: "nonpayable";
|
|
13775
14349
|
readonly type: "function";
|
|
13776
14350
|
}, {
|
|
13777
14351
|
readonly inputs: readonly [{
|
|
13778
|
-
readonly
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
readonly type: "address";
|
|
13782
|
-
}, {
|
|
13783
|
-
readonly internalType: "uint8";
|
|
13784
|
-
readonly name: "accountId";
|
|
13785
|
-
readonly type: "uint8";
|
|
13786
|
-
}, {
|
|
13787
|
-
readonly internalType: "TokenId";
|
|
13788
|
-
readonly name: "tokenId";
|
|
13789
|
-
readonly type: "uint16";
|
|
13790
|
-
}, {
|
|
13791
|
-
readonly internalType: "MarketId";
|
|
13792
|
-
readonly name: "marketId";
|
|
13793
|
-
readonly type: "uint24";
|
|
13794
|
-
}, {
|
|
13795
|
-
readonly internalType: "uint256";
|
|
13796
|
-
readonly name: "amount";
|
|
13797
|
-
readonly type: "uint256";
|
|
13798
|
-
}, {
|
|
13799
|
-
readonly internalType: "uint64";
|
|
13800
|
-
readonly name: "nonce";
|
|
13801
|
-
readonly type: "uint64";
|
|
13802
|
-
}];
|
|
13803
|
-
readonly internalType: "struct IRouterEventsAndTypes.VaultDepositMessage";
|
|
13804
|
-
readonly name: "message";
|
|
13805
|
-
readonly type: "tuple";
|
|
14352
|
+
readonly internalType: "int112";
|
|
14353
|
+
readonly name: "floatingIndexDelta";
|
|
14354
|
+
readonly type: "int112";
|
|
13806
14355
|
}, {
|
|
13807
|
-
readonly internalType: "
|
|
13808
|
-
readonly name: "
|
|
13809
|
-
readonly type: "
|
|
14356
|
+
readonly internalType: "uint32";
|
|
14357
|
+
readonly name: "desiredTimestamp";
|
|
14358
|
+
readonly type: "uint32";
|
|
13810
14359
|
}];
|
|
13811
|
-
readonly name: "
|
|
14360
|
+
readonly name: "updateFloatingRate";
|
|
13812
14361
|
readonly outputs: readonly [];
|
|
13813
14362
|
readonly stateMutability: "nonpayable";
|
|
13814
14363
|
readonly type: "function";
|
|
14364
|
+
}];
|
|
14365
|
+
export declare const iAMMAbi: readonly [{
|
|
14366
|
+
readonly inputs: readonly [{
|
|
14367
|
+
readonly internalType: "MarketAcc";
|
|
14368
|
+
readonly name: "account";
|
|
14369
|
+
readonly type: "bytes26";
|
|
14370
|
+
}, {
|
|
14371
|
+
readonly internalType: "uint256";
|
|
14372
|
+
readonly name: "balance";
|
|
14373
|
+
readonly type: "uint256";
|
|
14374
|
+
}, {
|
|
14375
|
+
readonly internalType: "uint256";
|
|
14376
|
+
readonly name: "value";
|
|
14377
|
+
readonly type: "uint256";
|
|
14378
|
+
}];
|
|
14379
|
+
readonly name: "BOROS20NotEnoughBalance";
|
|
14380
|
+
readonly type: "error";
|
|
13815
14381
|
}, {
|
|
14382
|
+
readonly anonymous: false;
|
|
13816
14383
|
readonly inputs: readonly [{
|
|
13817
|
-
readonly
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
}, {
|
|
13822
|
-
readonly internalType: "TokenId";
|
|
13823
|
-
readonly name: "tokenId";
|
|
13824
|
-
readonly type: "uint16";
|
|
13825
|
-
}, {
|
|
13826
|
-
readonly internalType: "uint256";
|
|
13827
|
-
readonly name: "amount";
|
|
13828
|
-
readonly type: "uint256";
|
|
13829
|
-
}, {
|
|
13830
|
-
readonly internalType: "uint64";
|
|
13831
|
-
readonly name: "nonce";
|
|
13832
|
-
readonly type: "uint64";
|
|
13833
|
-
}];
|
|
13834
|
-
readonly internalType: "struct IRouterEventsAndTypes.VaultPayTreasuryMessage";
|
|
13835
|
-
readonly name: "message";
|
|
13836
|
-
readonly type: "tuple";
|
|
14384
|
+
readonly indexed: false;
|
|
14385
|
+
readonly internalType: "uint128";
|
|
14386
|
+
readonly name: "minAbsRate";
|
|
14387
|
+
readonly type: "uint128";
|
|
13837
14388
|
}, {
|
|
13838
|
-
readonly
|
|
13839
|
-
readonly
|
|
13840
|
-
readonly
|
|
14389
|
+
readonly indexed: false;
|
|
14390
|
+
readonly internalType: "uint128";
|
|
14391
|
+
readonly name: "maxAbsRate";
|
|
14392
|
+
readonly type: "uint128";
|
|
14393
|
+
}, {
|
|
14394
|
+
readonly indexed: false;
|
|
14395
|
+
readonly internalType: "uint32";
|
|
14396
|
+
readonly name: "cutOffTimestamp";
|
|
14397
|
+
readonly type: "uint32";
|
|
14398
|
+
}];
|
|
14399
|
+
readonly name: "AMMConfigUpdated";
|
|
14400
|
+
readonly type: "event";
|
|
14401
|
+
}, {
|
|
14402
|
+
readonly anonymous: false;
|
|
14403
|
+
readonly inputs: readonly [{
|
|
14404
|
+
readonly indexed: false;
|
|
14405
|
+
readonly internalType: "MarketAcc";
|
|
14406
|
+
readonly name: "from";
|
|
14407
|
+
readonly type: "bytes26";
|
|
14408
|
+
}, {
|
|
14409
|
+
readonly indexed: false;
|
|
14410
|
+
readonly internalType: "MarketAcc";
|
|
14411
|
+
readonly name: "to";
|
|
14412
|
+
readonly type: "bytes26";
|
|
14413
|
+
}, {
|
|
14414
|
+
readonly indexed: false;
|
|
14415
|
+
readonly internalType: "uint256";
|
|
14416
|
+
readonly name: "value";
|
|
14417
|
+
readonly type: "uint256";
|
|
14418
|
+
}];
|
|
14419
|
+
readonly name: "BOROS20Transfer";
|
|
14420
|
+
readonly type: "event";
|
|
14421
|
+
}, {
|
|
14422
|
+
readonly anonymous: false;
|
|
14423
|
+
readonly inputs: readonly [{
|
|
14424
|
+
readonly indexed: true;
|
|
14425
|
+
readonly internalType: "MarketAcc";
|
|
14426
|
+
readonly name: "payer";
|
|
14427
|
+
readonly type: "bytes26";
|
|
14428
|
+
}, {
|
|
14429
|
+
readonly indexed: false;
|
|
14430
|
+
readonly internalType: "uint256";
|
|
14431
|
+
readonly name: "netLpBurned";
|
|
14432
|
+
readonly type: "uint256";
|
|
14433
|
+
}, {
|
|
14434
|
+
readonly indexed: false;
|
|
14435
|
+
readonly internalType: "int256";
|
|
14436
|
+
readonly name: "netCashOut";
|
|
14437
|
+
readonly type: "int256";
|
|
14438
|
+
}, {
|
|
14439
|
+
readonly indexed: false;
|
|
14440
|
+
readonly internalType: "int256";
|
|
14441
|
+
readonly name: "netSizeOut";
|
|
14442
|
+
readonly type: "int256";
|
|
14443
|
+
}];
|
|
14444
|
+
readonly name: "Burn";
|
|
14445
|
+
readonly type: "event";
|
|
14446
|
+
}, {
|
|
14447
|
+
readonly anonymous: false;
|
|
14448
|
+
readonly inputs: readonly [{
|
|
14449
|
+
readonly indexed: false;
|
|
14450
|
+
readonly internalType: "uint256";
|
|
14451
|
+
readonly name: "newFeeRate";
|
|
14452
|
+
readonly type: "uint256";
|
|
14453
|
+
}];
|
|
14454
|
+
readonly name: "FeeRateUpdated";
|
|
14455
|
+
readonly type: "event";
|
|
14456
|
+
}, {
|
|
14457
|
+
readonly anonymous: false;
|
|
14458
|
+
readonly inputs: readonly [{
|
|
14459
|
+
readonly indexed: false;
|
|
14460
|
+
readonly internalType: "uint32";
|
|
14461
|
+
readonly name: "newWindow";
|
|
14462
|
+
readonly type: "uint32";
|
|
14463
|
+
}];
|
|
14464
|
+
readonly name: "ImpliedRateObservationWindowUpdated";
|
|
14465
|
+
readonly type: "event";
|
|
14466
|
+
}, {
|
|
14467
|
+
readonly anonymous: false;
|
|
14468
|
+
readonly inputs: readonly [{
|
|
14469
|
+
readonly indexed: true;
|
|
14470
|
+
readonly internalType: "MarketAcc";
|
|
14471
|
+
readonly name: "receiver";
|
|
14472
|
+
readonly type: "bytes26";
|
|
14473
|
+
}, {
|
|
14474
|
+
readonly indexed: false;
|
|
14475
|
+
readonly internalType: "uint256";
|
|
14476
|
+
readonly name: "netLpMinted";
|
|
14477
|
+
readonly type: "uint256";
|
|
14478
|
+
}, {
|
|
14479
|
+
readonly indexed: false;
|
|
14480
|
+
readonly internalType: "int256";
|
|
14481
|
+
readonly name: "netCashIn";
|
|
14482
|
+
readonly type: "int256";
|
|
14483
|
+
}, {
|
|
14484
|
+
readonly indexed: false;
|
|
14485
|
+
readonly internalType: "int256";
|
|
14486
|
+
readonly name: "netSizeIn";
|
|
14487
|
+
readonly type: "int256";
|
|
13841
14488
|
}];
|
|
13842
|
-
readonly name: "
|
|
13843
|
-
readonly
|
|
13844
|
-
|
|
13845
|
-
readonly type: "function";
|
|
13846
|
-
}];
|
|
13847
|
-
export declare const iFIndexOracleAbi: readonly [{
|
|
14489
|
+
readonly name: "Mint";
|
|
14490
|
+
readonly type: "event";
|
|
14491
|
+
}, {
|
|
13848
14492
|
readonly anonymous: false;
|
|
13849
14493
|
readonly inputs: readonly [{
|
|
13850
14494
|
readonly indexed: false;
|
|
13851
|
-
readonly internalType: "
|
|
13852
|
-
readonly name: "
|
|
13853
|
-
readonly type: "
|
|
14495
|
+
readonly internalType: "int256";
|
|
14496
|
+
readonly name: "sizeOut";
|
|
14497
|
+
readonly type: "int256";
|
|
13854
14498
|
}, {
|
|
13855
14499
|
readonly indexed: false;
|
|
13856
|
-
readonly internalType: "
|
|
13857
|
-
readonly name: "
|
|
13858
|
-
readonly type: "
|
|
14500
|
+
readonly internalType: "int256";
|
|
14501
|
+
readonly name: "costOut";
|
|
14502
|
+
readonly type: "int256";
|
|
13859
14503
|
}, {
|
|
13860
14504
|
readonly indexed: false;
|
|
13861
|
-
readonly internalType: "
|
|
13862
|
-
readonly name: "
|
|
13863
|
-
readonly type: "
|
|
14505
|
+
readonly internalType: "uint256";
|
|
14506
|
+
readonly name: "fee";
|
|
14507
|
+
readonly type: "uint256";
|
|
13864
14508
|
}];
|
|
13865
|
-
readonly name: "
|
|
14509
|
+
readonly name: "Swap";
|
|
13866
14510
|
readonly type: "event";
|
|
13867
14511
|
}, {
|
|
13868
14512
|
readonly anonymous: false;
|
|
13869
14513
|
readonly inputs: readonly [{
|
|
13870
14514
|
readonly indexed: false;
|
|
14515
|
+
readonly internalType: "uint256";
|
|
14516
|
+
readonly name: "newTotalSupplyCap";
|
|
14517
|
+
readonly type: "uint256";
|
|
14518
|
+
}];
|
|
14519
|
+
readonly name: "TotalSupplyCapUpdated";
|
|
14520
|
+
readonly type: "event";
|
|
14521
|
+
}, {
|
|
14522
|
+
readonly inputs: readonly [];
|
|
14523
|
+
readonly name: "ACCOUNT_ONE";
|
|
14524
|
+
readonly outputs: readonly [{
|
|
14525
|
+
readonly internalType: "MarketAcc";
|
|
14526
|
+
readonly name: "";
|
|
14527
|
+
readonly type: "bytes26";
|
|
14528
|
+
}];
|
|
14529
|
+
readonly stateMutability: "view";
|
|
14530
|
+
readonly type: "function";
|
|
14531
|
+
}, {
|
|
14532
|
+
readonly inputs: readonly [];
|
|
14533
|
+
readonly name: "AMM_ID";
|
|
14534
|
+
readonly outputs: readonly [{
|
|
14535
|
+
readonly internalType: "AMMId";
|
|
14536
|
+
readonly name: "";
|
|
14537
|
+
readonly type: "uint24";
|
|
14538
|
+
}];
|
|
14539
|
+
readonly stateMutability: "view";
|
|
14540
|
+
readonly type: "function";
|
|
14541
|
+
}, {
|
|
14542
|
+
readonly inputs: readonly [];
|
|
14543
|
+
readonly name: "MARKET";
|
|
14544
|
+
readonly outputs: readonly [{
|
|
13871
14545
|
readonly internalType: "address";
|
|
13872
|
-
readonly name: "
|
|
14546
|
+
readonly name: "";
|
|
13873
14547
|
readonly type: "address";
|
|
13874
14548
|
}];
|
|
13875
|
-
readonly
|
|
13876
|
-
readonly type: "
|
|
14549
|
+
readonly stateMutability: "view";
|
|
14550
|
+
readonly type: "function";
|
|
13877
14551
|
}, {
|
|
13878
14552
|
readonly inputs: readonly [];
|
|
13879
|
-
readonly name: "
|
|
14553
|
+
readonly name: "MATURITY";
|
|
13880
14554
|
readonly outputs: readonly [{
|
|
13881
|
-
readonly internalType: "uint64";
|
|
13882
|
-
readonly name: "settleFeeRate";
|
|
13883
|
-
readonly type: "uint64";
|
|
13884
|
-
}, {
|
|
13885
14555
|
readonly internalType: "uint32";
|
|
13886
|
-
readonly name: "
|
|
14556
|
+
readonly name: "";
|
|
13887
14557
|
readonly type: "uint32";
|
|
13888
|
-
}
|
|
14558
|
+
}];
|
|
14559
|
+
readonly stateMutability: "view";
|
|
14560
|
+
readonly type: "function";
|
|
14561
|
+
}, {
|
|
14562
|
+
readonly inputs: readonly [];
|
|
14563
|
+
readonly name: "ROUTER";
|
|
14564
|
+
readonly outputs: readonly [{
|
|
14565
|
+
readonly internalType: "address";
|
|
14566
|
+
readonly name: "";
|
|
14567
|
+
readonly type: "address";
|
|
14568
|
+
}];
|
|
14569
|
+
readonly stateMutability: "view";
|
|
14570
|
+
readonly type: "function";
|
|
14571
|
+
}, {
|
|
14572
|
+
readonly inputs: readonly [];
|
|
14573
|
+
readonly name: "SEED_TIME";
|
|
14574
|
+
readonly outputs: readonly [{
|
|
13889
14575
|
readonly internalType: "uint32";
|
|
13890
|
-
readonly name: "
|
|
14576
|
+
readonly name: "";
|
|
13891
14577
|
readonly type: "uint32";
|
|
13892
14578
|
}];
|
|
13893
14579
|
readonly stateMutability: "view";
|
|
13894
14580
|
readonly type: "function";
|
|
13895
14581
|
}, {
|
|
13896
14582
|
readonly inputs: readonly [];
|
|
13897
|
-
readonly name: "
|
|
14583
|
+
readonly name: "SELF_ACC";
|
|
13898
14584
|
readonly outputs: readonly [{
|
|
13899
|
-
readonly internalType: "
|
|
14585
|
+
readonly internalType: "MarketAcc";
|
|
13900
14586
|
readonly name: "";
|
|
13901
14587
|
readonly type: "bytes26";
|
|
13902
14588
|
}];
|
|
@@ -13904,296 +14590,472 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
13904
14590
|
readonly type: "function";
|
|
13905
14591
|
}, {
|
|
13906
14592
|
readonly inputs: readonly [];
|
|
13907
|
-
readonly name: "
|
|
14593
|
+
readonly name: "_storage";
|
|
13908
14594
|
readonly outputs: readonly [{
|
|
13909
|
-
readonly internalType: "
|
|
14595
|
+
readonly internalType: "uint128";
|
|
14596
|
+
readonly name: "minAbsRate";
|
|
14597
|
+
readonly type: "uint128";
|
|
14598
|
+
}, {
|
|
14599
|
+
readonly internalType: "uint128";
|
|
14600
|
+
readonly name: "maxAbsRate";
|
|
14601
|
+
readonly type: "uint128";
|
|
14602
|
+
}, {
|
|
14603
|
+
readonly internalType: "uint32";
|
|
14604
|
+
readonly name: "cutOffTimestamp";
|
|
14605
|
+
readonly type: "uint32";
|
|
14606
|
+
}, {
|
|
14607
|
+
readonly internalType: "uint32";
|
|
14608
|
+
readonly name: "oracleImpliedRateWindow";
|
|
14609
|
+
readonly type: "uint32";
|
|
14610
|
+
}, {
|
|
14611
|
+
readonly internalType: "uint64";
|
|
14612
|
+
readonly name: "feeRate";
|
|
14613
|
+
readonly type: "uint64";
|
|
14614
|
+
}, {
|
|
14615
|
+
readonly internalType: "uint256";
|
|
14616
|
+
readonly name: "totalSupplyCap";
|
|
14617
|
+
readonly type: "uint256";
|
|
14618
|
+
}, {
|
|
14619
|
+
readonly internalType: "uint128";
|
|
14620
|
+
readonly name: "totalFloatAmount";
|
|
14621
|
+
readonly type: "uint128";
|
|
14622
|
+
}, {
|
|
14623
|
+
readonly internalType: "uint128";
|
|
14624
|
+
readonly name: "normFixedAmount";
|
|
14625
|
+
readonly type: "uint128";
|
|
14626
|
+
}, {
|
|
14627
|
+
readonly internalType: "uint32";
|
|
14628
|
+
readonly name: "lastTradedTime";
|
|
14629
|
+
readonly type: "uint32";
|
|
14630
|
+
}, {
|
|
14631
|
+
readonly internalType: "int128";
|
|
14632
|
+
readonly name: "prevOracleImpliedRate";
|
|
14633
|
+
readonly type: "int128";
|
|
14634
|
+
}];
|
|
14635
|
+
readonly stateMutability: "view";
|
|
14636
|
+
readonly type: "function";
|
|
14637
|
+
}, {
|
|
14638
|
+
readonly inputs: readonly [{
|
|
14639
|
+
readonly internalType: "MarketAcc";
|
|
14640
|
+
readonly name: "account";
|
|
14641
|
+
readonly type: "bytes26";
|
|
14642
|
+
}];
|
|
14643
|
+
readonly name: "balanceOf";
|
|
14644
|
+
readonly outputs: readonly [{
|
|
14645
|
+
readonly internalType: "uint256";
|
|
13910
14646
|
readonly name: "";
|
|
14647
|
+
readonly type: "uint256";
|
|
14648
|
+
}];
|
|
14649
|
+
readonly stateMutability: "view";
|
|
14650
|
+
readonly type: "function";
|
|
14651
|
+
}, {
|
|
14652
|
+
readonly inputs: readonly [{
|
|
14653
|
+
readonly internalType: "MarketAcc";
|
|
14654
|
+
readonly name: "payer";
|
|
14655
|
+
readonly type: "bytes26";
|
|
14656
|
+
}, {
|
|
14657
|
+
readonly internalType: "int256";
|
|
14658
|
+
readonly name: "totalCash";
|
|
14659
|
+
readonly type: "int256";
|
|
14660
|
+
}, {
|
|
14661
|
+
readonly internalType: "int256";
|
|
14662
|
+
readonly name: "totalSize";
|
|
14663
|
+
readonly type: "int256";
|
|
14664
|
+
}, {
|
|
14665
|
+
readonly internalType: "uint256";
|
|
14666
|
+
readonly name: "lpToBurn";
|
|
14667
|
+
readonly type: "uint256";
|
|
14668
|
+
}];
|
|
14669
|
+
readonly name: "burnByBorosRouter";
|
|
14670
|
+
readonly outputs: readonly [{
|
|
14671
|
+
readonly internalType: "int256";
|
|
14672
|
+
readonly name: "netCashOut";
|
|
14673
|
+
readonly type: "int256";
|
|
14674
|
+
}, {
|
|
14675
|
+
readonly internalType: "int256";
|
|
14676
|
+
readonly name: "netSizeOut";
|
|
14677
|
+
readonly type: "int256";
|
|
14678
|
+
}, {
|
|
14679
|
+
readonly internalType: "bool";
|
|
14680
|
+
readonly name: "isMatured";
|
|
13911
14681
|
readonly type: "bool";
|
|
13912
14682
|
}];
|
|
14683
|
+
readonly stateMutability: "nonpayable";
|
|
14684
|
+
readonly type: "function";
|
|
14685
|
+
}, {
|
|
14686
|
+
readonly inputs: readonly [{
|
|
14687
|
+
readonly internalType: "int256";
|
|
14688
|
+
readonly name: "targetRate";
|
|
14689
|
+
readonly type: "int256";
|
|
14690
|
+
}];
|
|
14691
|
+
readonly name: "calcSwapSize";
|
|
14692
|
+
readonly outputs: readonly [{
|
|
14693
|
+
readonly internalType: "int256";
|
|
14694
|
+
readonly name: "";
|
|
14695
|
+
readonly type: "int256";
|
|
14696
|
+
}];
|
|
13913
14697
|
readonly stateMutability: "view";
|
|
13914
14698
|
readonly type: "function";
|
|
13915
14699
|
}, {
|
|
13916
14700
|
readonly inputs: readonly [];
|
|
13917
|
-
readonly name: "
|
|
14701
|
+
readonly name: "decimals";
|
|
14702
|
+
readonly outputs: readonly [{
|
|
14703
|
+
readonly internalType: "uint8";
|
|
14704
|
+
readonly name: "";
|
|
14705
|
+
readonly type: "uint8";
|
|
14706
|
+
}];
|
|
14707
|
+
readonly stateMutability: "view";
|
|
14708
|
+
readonly type: "function";
|
|
14709
|
+
}, {
|
|
14710
|
+
readonly inputs: readonly [];
|
|
14711
|
+
readonly name: "feeRate";
|
|
14712
|
+
readonly outputs: readonly [{
|
|
14713
|
+
readonly internalType: "uint64";
|
|
14714
|
+
readonly name: "";
|
|
14715
|
+
readonly type: "uint64";
|
|
14716
|
+
}];
|
|
14717
|
+
readonly stateMutability: "view";
|
|
14718
|
+
readonly type: "function";
|
|
14719
|
+
}, {
|
|
14720
|
+
readonly inputs: readonly [];
|
|
14721
|
+
readonly name: "impliedRate";
|
|
13918
14722
|
readonly outputs: readonly [{
|
|
13919
14723
|
readonly internalType: "int256";
|
|
13920
|
-
readonly name: "
|
|
14724
|
+
readonly name: "";
|
|
14725
|
+
readonly type: "int256";
|
|
14726
|
+
}];
|
|
14727
|
+
readonly stateMutability: "view";
|
|
14728
|
+
readonly type: "function";
|
|
14729
|
+
}, {
|
|
14730
|
+
readonly inputs: readonly [{
|
|
14731
|
+
readonly internalType: "MarketAcc";
|
|
14732
|
+
readonly name: "receiver";
|
|
14733
|
+
readonly type: "bytes26";
|
|
14734
|
+
}, {
|
|
14735
|
+
readonly internalType: "int256";
|
|
14736
|
+
readonly name: "totalCash";
|
|
14737
|
+
readonly type: "int256";
|
|
14738
|
+
}, {
|
|
14739
|
+
readonly internalType: "int256";
|
|
14740
|
+
readonly name: "totalSize";
|
|
14741
|
+
readonly type: "int256";
|
|
14742
|
+
}, {
|
|
14743
|
+
readonly internalType: "int256";
|
|
14744
|
+
readonly name: "maxCashIn";
|
|
14745
|
+
readonly type: "int256";
|
|
14746
|
+
}, {
|
|
14747
|
+
readonly internalType: "int256";
|
|
14748
|
+
readonly name: "exactSizeIn";
|
|
14749
|
+
readonly type: "int256";
|
|
14750
|
+
}];
|
|
14751
|
+
readonly name: "mintByBorosRouter";
|
|
14752
|
+
readonly outputs: readonly [{
|
|
14753
|
+
readonly internalType: "int256";
|
|
14754
|
+
readonly name: "netCashIn";
|
|
13921
14755
|
readonly type: "int256";
|
|
14756
|
+
}, {
|
|
14757
|
+
readonly internalType: "uint256";
|
|
14758
|
+
readonly name: "netLpOut";
|
|
14759
|
+
readonly type: "uint256";
|
|
13922
14760
|
}];
|
|
13923
|
-
readonly stateMutability: "
|
|
14761
|
+
readonly stateMutability: "nonpayable";
|
|
13924
14762
|
readonly type: "function";
|
|
13925
14763
|
}, {
|
|
13926
14764
|
readonly inputs: readonly [];
|
|
13927
|
-
readonly name: "
|
|
14765
|
+
readonly name: "name";
|
|
13928
14766
|
readonly outputs: readonly [{
|
|
13929
|
-
readonly internalType: "
|
|
14767
|
+
readonly internalType: "string";
|
|
13930
14768
|
readonly name: "";
|
|
13931
|
-
readonly type: "
|
|
14769
|
+
readonly type: "string";
|
|
13932
14770
|
}];
|
|
13933
14771
|
readonly stateMutability: "view";
|
|
13934
14772
|
readonly type: "function";
|
|
13935
14773
|
}, {
|
|
13936
14774
|
readonly inputs: readonly [];
|
|
13937
|
-
readonly name: "
|
|
14775
|
+
readonly name: "oracleImpliedRate";
|
|
13938
14776
|
readonly outputs: readonly [{
|
|
14777
|
+
readonly internalType: "int128";
|
|
14778
|
+
readonly name: "oracleImpliedRate";
|
|
14779
|
+
readonly type: "int128";
|
|
14780
|
+
}, {
|
|
13939
14781
|
readonly internalType: "uint32";
|
|
13940
|
-
readonly name: "";
|
|
14782
|
+
readonly name: "observationWindow";
|
|
13941
14783
|
readonly type: "uint32";
|
|
13942
14784
|
}];
|
|
13943
14785
|
readonly stateMutability: "view";
|
|
13944
14786
|
readonly type: "function";
|
|
13945
14787
|
}, {
|
|
13946
14788
|
readonly inputs: readonly [];
|
|
13947
|
-
readonly name: "
|
|
14789
|
+
readonly name: "readState";
|
|
13948
14790
|
readonly outputs: readonly [{
|
|
13949
|
-
readonly
|
|
14791
|
+
readonly components: readonly [{
|
|
14792
|
+
readonly internalType: "uint256";
|
|
14793
|
+
readonly name: "totalFloatAmount";
|
|
14794
|
+
readonly type: "uint256";
|
|
14795
|
+
}, {
|
|
14796
|
+
readonly internalType: "uint256";
|
|
14797
|
+
readonly name: "normFixedAmount";
|
|
14798
|
+
readonly type: "uint256";
|
|
14799
|
+
}, {
|
|
14800
|
+
readonly internalType: "uint256";
|
|
14801
|
+
readonly name: "totalLp";
|
|
14802
|
+
readonly type: "uint256";
|
|
14803
|
+
}, {
|
|
14804
|
+
readonly internalType: "uint256";
|
|
14805
|
+
readonly name: "latestFTime";
|
|
14806
|
+
readonly type: "uint256";
|
|
14807
|
+
}, {
|
|
14808
|
+
readonly internalType: "uint256";
|
|
14809
|
+
readonly name: "maturity";
|
|
14810
|
+
readonly type: "uint256";
|
|
14811
|
+
}, {
|
|
14812
|
+
readonly internalType: "uint256";
|
|
14813
|
+
readonly name: "seedTime";
|
|
14814
|
+
readonly type: "uint256";
|
|
14815
|
+
}, {
|
|
14816
|
+
readonly internalType: "uint256";
|
|
14817
|
+
readonly name: "minAbsRate";
|
|
14818
|
+
readonly type: "uint256";
|
|
14819
|
+
}, {
|
|
14820
|
+
readonly internalType: "uint256";
|
|
14821
|
+
readonly name: "maxAbsRate";
|
|
14822
|
+
readonly type: "uint256";
|
|
14823
|
+
}, {
|
|
14824
|
+
readonly internalType: "uint256";
|
|
14825
|
+
readonly name: "cutOffTimestamp";
|
|
14826
|
+
readonly type: "uint256";
|
|
14827
|
+
}];
|
|
14828
|
+
readonly internalType: "struct AMMState";
|
|
13950
14829
|
readonly name: "";
|
|
13951
|
-
readonly type: "
|
|
14830
|
+
readonly type: "tuple";
|
|
13952
14831
|
}];
|
|
13953
14832
|
readonly stateMutability: "view";
|
|
13954
14833
|
readonly type: "function";
|
|
13955
14834
|
}, {
|
|
13956
14835
|
readonly inputs: readonly [{
|
|
13957
|
-
readonly internalType: "
|
|
13958
|
-
readonly name: "
|
|
13959
|
-
readonly type: "
|
|
14836
|
+
readonly internalType: "uint128";
|
|
14837
|
+
readonly name: "minAbsRate";
|
|
14838
|
+
readonly type: "uint128";
|
|
13960
14839
|
}, {
|
|
13961
|
-
readonly internalType: "
|
|
13962
|
-
readonly name: "
|
|
13963
|
-
readonly type: "
|
|
14840
|
+
readonly internalType: "uint128";
|
|
14841
|
+
readonly name: "maxAbsRate";
|
|
14842
|
+
readonly type: "uint128";
|
|
13964
14843
|
}, {
|
|
13965
14844
|
readonly internalType: "uint32";
|
|
13966
|
-
readonly name: "
|
|
14845
|
+
readonly name: "cutOffTimestamp";
|
|
13967
14846
|
readonly type: "uint32";
|
|
13968
14847
|
}];
|
|
13969
|
-
readonly name: "
|
|
14848
|
+
readonly name: "setAMMConfig";
|
|
13970
14849
|
readonly outputs: readonly [];
|
|
13971
14850
|
readonly stateMutability: "nonpayable";
|
|
13972
14851
|
readonly type: "function";
|
|
13973
14852
|
}, {
|
|
13974
14853
|
readonly inputs: readonly [{
|
|
13975
|
-
readonly internalType: "
|
|
13976
|
-
readonly name: "
|
|
13977
|
-
readonly type: "
|
|
14854
|
+
readonly internalType: "uint64";
|
|
14855
|
+
readonly name: "newFeeRate";
|
|
14856
|
+
readonly type: "uint64";
|
|
13978
14857
|
}];
|
|
13979
|
-
readonly name: "
|
|
14858
|
+
readonly name: "setAMMFeeRate";
|
|
13980
14859
|
readonly outputs: readonly [];
|
|
13981
14860
|
readonly stateMutability: "nonpayable";
|
|
13982
14861
|
readonly type: "function";
|
|
13983
14862
|
}, {
|
|
13984
14863
|
readonly inputs: readonly [{
|
|
13985
|
-
readonly internalType: "int112";
|
|
13986
|
-
readonly name: "floatingIndexDelta";
|
|
13987
|
-
readonly type: "int112";
|
|
13988
|
-
}, {
|
|
13989
14864
|
readonly internalType: "uint32";
|
|
13990
|
-
readonly name: "
|
|
14865
|
+
readonly name: "newWindow";
|
|
13991
14866
|
readonly type: "uint32";
|
|
13992
14867
|
}];
|
|
13993
|
-
readonly name: "
|
|
14868
|
+
readonly name: "setAMMImpliedRateObservationWindow";
|
|
13994
14869
|
readonly outputs: readonly [];
|
|
13995
14870
|
readonly stateMutability: "nonpayable";
|
|
13996
14871
|
readonly type: "function";
|
|
13997
|
-
}
|
|
13998
|
-
export declare const iAMMAbi: readonly [{
|
|
14872
|
+
}, {
|
|
13999
14873
|
readonly inputs: readonly [{
|
|
14000
|
-
readonly internalType: "MarketAcc";
|
|
14001
|
-
readonly name: "account";
|
|
14002
|
-
readonly type: "bytes26";
|
|
14003
|
-
}, {
|
|
14004
|
-
readonly internalType: "uint256";
|
|
14005
|
-
readonly name: "balance";
|
|
14006
|
-
readonly type: "uint256";
|
|
14007
|
-
}, {
|
|
14008
14874
|
readonly internalType: "uint256";
|
|
14009
|
-
readonly name: "
|
|
14875
|
+
readonly name: "newTotalSupplyCap";
|
|
14010
14876
|
readonly type: "uint256";
|
|
14011
14877
|
}];
|
|
14012
|
-
readonly name: "
|
|
14013
|
-
readonly
|
|
14878
|
+
readonly name: "setAMMTotalSupplyCap";
|
|
14879
|
+
readonly outputs: readonly [];
|
|
14880
|
+
readonly stateMutability: "nonpayable";
|
|
14881
|
+
readonly type: "function";
|
|
14014
14882
|
}, {
|
|
14015
|
-
readonly anonymous: false;
|
|
14016
14883
|
readonly inputs: readonly [{
|
|
14017
|
-
readonly
|
|
14018
|
-
readonly
|
|
14019
|
-
readonly
|
|
14020
|
-
readonly type: "uint128";
|
|
14021
|
-
}, {
|
|
14022
|
-
readonly indexed: false;
|
|
14023
|
-
readonly internalType: "uint128";
|
|
14024
|
-
readonly name: "maxAbsRate";
|
|
14025
|
-
readonly type: "uint128";
|
|
14026
|
-
}, {
|
|
14027
|
-
readonly indexed: false;
|
|
14028
|
-
readonly internalType: "uint32";
|
|
14029
|
-
readonly name: "cutOffTimestamp";
|
|
14030
|
-
readonly type: "uint32";
|
|
14884
|
+
readonly internalType: "int256";
|
|
14885
|
+
readonly name: "sizeOut";
|
|
14886
|
+
readonly type: "int256";
|
|
14031
14887
|
}];
|
|
14032
|
-
readonly name: "
|
|
14033
|
-
readonly
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
readonly indexed: false;
|
|
14038
|
-
readonly internalType: "MarketAcc";
|
|
14039
|
-
readonly name: "from";
|
|
14040
|
-
readonly type: "bytes26";
|
|
14041
|
-
}, {
|
|
14042
|
-
readonly indexed: false;
|
|
14043
|
-
readonly internalType: "MarketAcc";
|
|
14044
|
-
readonly name: "to";
|
|
14045
|
-
readonly type: "bytes26";
|
|
14046
|
-
}, {
|
|
14047
|
-
readonly indexed: false;
|
|
14048
|
-
readonly internalType: "uint256";
|
|
14049
|
-
readonly name: "value";
|
|
14050
|
-
readonly type: "uint256";
|
|
14888
|
+
readonly name: "swapByBorosRouter";
|
|
14889
|
+
readonly outputs: readonly [{
|
|
14890
|
+
readonly internalType: "int256";
|
|
14891
|
+
readonly name: "costOut";
|
|
14892
|
+
readonly type: "int256";
|
|
14051
14893
|
}];
|
|
14052
|
-
readonly
|
|
14053
|
-
readonly type: "
|
|
14894
|
+
readonly stateMutability: "nonpayable";
|
|
14895
|
+
readonly type: "function";
|
|
14054
14896
|
}, {
|
|
14055
|
-
readonly anonymous: false;
|
|
14056
14897
|
readonly inputs: readonly [{
|
|
14057
|
-
readonly indexed: true;
|
|
14058
|
-
readonly internalType: "MarketAcc";
|
|
14059
|
-
readonly name: "payer";
|
|
14060
|
-
readonly type: "bytes26";
|
|
14061
|
-
}, {
|
|
14062
|
-
readonly indexed: false;
|
|
14063
|
-
readonly internalType: "uint256";
|
|
14064
|
-
readonly name: "netLpBurned";
|
|
14065
|
-
readonly type: "uint256";
|
|
14066
|
-
}, {
|
|
14067
|
-
readonly indexed: false;
|
|
14068
14898
|
readonly internalType: "int256";
|
|
14069
|
-
readonly name: "
|
|
14899
|
+
readonly name: "sizeOut";
|
|
14070
14900
|
readonly type: "int256";
|
|
14071
|
-
}
|
|
14072
|
-
|
|
14901
|
+
}];
|
|
14902
|
+
readonly name: "swapView";
|
|
14903
|
+
readonly outputs: readonly [{
|
|
14073
14904
|
readonly internalType: "int256";
|
|
14074
|
-
readonly name: "
|
|
14905
|
+
readonly name: "costOut";
|
|
14075
14906
|
readonly type: "int256";
|
|
14076
14907
|
}];
|
|
14077
|
-
readonly
|
|
14078
|
-
readonly type: "
|
|
14908
|
+
readonly stateMutability: "view";
|
|
14909
|
+
readonly type: "function";
|
|
14079
14910
|
}, {
|
|
14080
|
-
readonly
|
|
14081
|
-
readonly
|
|
14082
|
-
|
|
14911
|
+
readonly inputs: readonly [];
|
|
14912
|
+
readonly name: "symbol";
|
|
14913
|
+
readonly outputs: readonly [{
|
|
14914
|
+
readonly internalType: "string";
|
|
14915
|
+
readonly name: "";
|
|
14916
|
+
readonly type: "string";
|
|
14917
|
+
}];
|
|
14918
|
+
readonly stateMutability: "view";
|
|
14919
|
+
readonly type: "function";
|
|
14920
|
+
}, {
|
|
14921
|
+
readonly inputs: readonly [];
|
|
14922
|
+
readonly name: "totalSupply";
|
|
14923
|
+
readonly outputs: readonly [{
|
|
14083
14924
|
readonly internalType: "uint256";
|
|
14084
|
-
readonly name: "
|
|
14925
|
+
readonly name: "";
|
|
14085
14926
|
readonly type: "uint256";
|
|
14086
14927
|
}];
|
|
14087
|
-
readonly
|
|
14088
|
-
readonly type: "
|
|
14928
|
+
readonly stateMutability: "view";
|
|
14929
|
+
readonly type: "function";
|
|
14089
14930
|
}, {
|
|
14090
|
-
readonly
|
|
14091
|
-
readonly
|
|
14092
|
-
|
|
14093
|
-
readonly internalType: "
|
|
14094
|
-
readonly name: "
|
|
14095
|
-
readonly type: "
|
|
14931
|
+
readonly inputs: readonly [];
|
|
14932
|
+
readonly name: "totalSupplyCap";
|
|
14933
|
+
readonly outputs: readonly [{
|
|
14934
|
+
readonly internalType: "uint256";
|
|
14935
|
+
readonly name: "";
|
|
14936
|
+
readonly type: "uint256";
|
|
14096
14937
|
}];
|
|
14097
|
-
readonly
|
|
14098
|
-
readonly type: "
|
|
14099
|
-
}
|
|
14100
|
-
|
|
14938
|
+
readonly stateMutability: "view";
|
|
14939
|
+
readonly type: "function";
|
|
14940
|
+
}];
|
|
14941
|
+
export declare const iBOROS20Abi: readonly [{
|
|
14101
14942
|
readonly inputs: readonly [{
|
|
14102
|
-
readonly indexed: true;
|
|
14103
14943
|
readonly internalType: "MarketAcc";
|
|
14104
|
-
readonly name: "
|
|
14944
|
+
readonly name: "account";
|
|
14105
14945
|
readonly type: "bytes26";
|
|
14106
14946
|
}, {
|
|
14107
|
-
readonly indexed: false;
|
|
14108
14947
|
readonly internalType: "uint256";
|
|
14109
|
-
readonly name: "
|
|
14948
|
+
readonly name: "balance";
|
|
14110
14949
|
readonly type: "uint256";
|
|
14111
14950
|
}, {
|
|
14112
|
-
readonly
|
|
14113
|
-
readonly
|
|
14114
|
-
readonly
|
|
14115
|
-
readonly type: "int256";
|
|
14116
|
-
}, {
|
|
14117
|
-
readonly indexed: false;
|
|
14118
|
-
readonly internalType: "int256";
|
|
14119
|
-
readonly name: "netSizeIn";
|
|
14120
|
-
readonly type: "int256";
|
|
14951
|
+
readonly internalType: "uint256";
|
|
14952
|
+
readonly name: "value";
|
|
14953
|
+
readonly type: "uint256";
|
|
14121
14954
|
}];
|
|
14122
|
-
readonly name: "
|
|
14123
|
-
readonly type: "
|
|
14955
|
+
readonly name: "BOROS20NotEnoughBalance";
|
|
14956
|
+
readonly type: "error";
|
|
14124
14957
|
}, {
|
|
14125
14958
|
readonly anonymous: false;
|
|
14126
14959
|
readonly inputs: readonly [{
|
|
14127
14960
|
readonly indexed: false;
|
|
14128
|
-
readonly internalType: "
|
|
14129
|
-
readonly name: "
|
|
14130
|
-
readonly type: "
|
|
14961
|
+
readonly internalType: "MarketAcc";
|
|
14962
|
+
readonly name: "from";
|
|
14963
|
+
readonly type: "bytes26";
|
|
14131
14964
|
}, {
|
|
14132
14965
|
readonly indexed: false;
|
|
14133
|
-
readonly internalType: "
|
|
14134
|
-
readonly name: "
|
|
14135
|
-
readonly type: "
|
|
14966
|
+
readonly internalType: "MarketAcc";
|
|
14967
|
+
readonly name: "to";
|
|
14968
|
+
readonly type: "bytes26";
|
|
14136
14969
|
}, {
|
|
14137
14970
|
readonly indexed: false;
|
|
14138
14971
|
readonly internalType: "uint256";
|
|
14139
|
-
readonly name: "
|
|
14972
|
+
readonly name: "value";
|
|
14140
14973
|
readonly type: "uint256";
|
|
14141
14974
|
}];
|
|
14142
|
-
readonly name: "
|
|
14975
|
+
readonly name: "BOROS20Transfer";
|
|
14143
14976
|
readonly type: "event";
|
|
14144
14977
|
}, {
|
|
14145
|
-
readonly anonymous: false;
|
|
14146
14978
|
readonly inputs: readonly [{
|
|
14147
|
-
readonly
|
|
14979
|
+
readonly internalType: "MarketAcc";
|
|
14980
|
+
readonly name: "account";
|
|
14981
|
+
readonly type: "bytes26";
|
|
14982
|
+
}];
|
|
14983
|
+
readonly name: "balanceOf";
|
|
14984
|
+
readonly outputs: readonly [{
|
|
14148
14985
|
readonly internalType: "uint256";
|
|
14149
|
-
readonly name: "
|
|
14986
|
+
readonly name: "";
|
|
14150
14987
|
readonly type: "uint256";
|
|
14151
14988
|
}];
|
|
14152
|
-
readonly
|
|
14153
|
-
readonly type: "
|
|
14989
|
+
readonly stateMutability: "view";
|
|
14990
|
+
readonly type: "function";
|
|
14154
14991
|
}, {
|
|
14155
14992
|
readonly inputs: readonly [];
|
|
14156
|
-
readonly name: "
|
|
14993
|
+
readonly name: "decimals";
|
|
14157
14994
|
readonly outputs: readonly [{
|
|
14158
|
-
readonly internalType: "
|
|
14995
|
+
readonly internalType: "uint8";
|
|
14159
14996
|
readonly name: "";
|
|
14160
|
-
readonly type: "
|
|
14997
|
+
readonly type: "uint8";
|
|
14161
14998
|
}];
|
|
14162
14999
|
readonly stateMutability: "view";
|
|
14163
15000
|
readonly type: "function";
|
|
14164
15001
|
}, {
|
|
14165
15002
|
readonly inputs: readonly [];
|
|
14166
|
-
readonly name: "
|
|
15003
|
+
readonly name: "name";
|
|
14167
15004
|
readonly outputs: readonly [{
|
|
14168
|
-
readonly internalType: "
|
|
15005
|
+
readonly internalType: "string";
|
|
14169
15006
|
readonly name: "";
|
|
14170
|
-
readonly type: "
|
|
15007
|
+
readonly type: "string";
|
|
14171
15008
|
}];
|
|
14172
15009
|
readonly stateMutability: "view";
|
|
14173
15010
|
readonly type: "function";
|
|
14174
15011
|
}, {
|
|
14175
15012
|
readonly inputs: readonly [];
|
|
14176
|
-
readonly name: "
|
|
15013
|
+
readonly name: "symbol";
|
|
14177
15014
|
readonly outputs: readonly [{
|
|
14178
|
-
readonly internalType: "
|
|
15015
|
+
readonly internalType: "string";
|
|
14179
15016
|
readonly name: "";
|
|
14180
|
-
readonly type: "
|
|
15017
|
+
readonly type: "string";
|
|
14181
15018
|
}];
|
|
14182
15019
|
readonly stateMutability: "view";
|
|
14183
15020
|
readonly type: "function";
|
|
14184
15021
|
}, {
|
|
14185
15022
|
readonly inputs: readonly [];
|
|
14186
|
-
readonly name: "
|
|
15023
|
+
readonly name: "totalSupply";
|
|
14187
15024
|
readonly outputs: readonly [{
|
|
14188
|
-
readonly internalType: "
|
|
15025
|
+
readonly internalType: "uint256";
|
|
14189
15026
|
readonly name: "";
|
|
14190
|
-
readonly type: "
|
|
15027
|
+
readonly type: "uint256";
|
|
14191
15028
|
}];
|
|
14192
15029
|
readonly stateMutability: "view";
|
|
14193
15030
|
readonly type: "function";
|
|
15031
|
+
}];
|
|
15032
|
+
export declare const iCLOSetterAbi: readonly [{
|
|
15033
|
+
readonly anonymous: false;
|
|
15034
|
+
readonly inputs: readonly [{
|
|
15035
|
+
readonly indexed: false;
|
|
15036
|
+
readonly internalType: "MarketId";
|
|
15037
|
+
readonly name: "marketId";
|
|
15038
|
+
readonly type: "uint24";
|
|
15039
|
+
}, {
|
|
15040
|
+
readonly components: readonly [{
|
|
15041
|
+
readonly internalType: "uint128";
|
|
15042
|
+
readonly name: "lowerThres";
|
|
15043
|
+
readonly type: "uint128";
|
|
15044
|
+
}, {
|
|
15045
|
+
readonly internalType: "uint128";
|
|
15046
|
+
readonly name: "upperThres";
|
|
15047
|
+
readonly type: "uint128";
|
|
15048
|
+
}];
|
|
15049
|
+
readonly indexed: false;
|
|
15050
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
15051
|
+
readonly name: "newThreshold";
|
|
15052
|
+
readonly type: "tuple";
|
|
15053
|
+
}];
|
|
15054
|
+
readonly name: "CLOThresholdSet";
|
|
15055
|
+
readonly type: "event";
|
|
14194
15056
|
}, {
|
|
14195
15057
|
readonly inputs: readonly [];
|
|
14196
|
-
readonly name: "
|
|
15058
|
+
readonly name: "MARKET_HUB";
|
|
14197
15059
|
readonly outputs: readonly [{
|
|
14198
15060
|
readonly internalType: "address";
|
|
14199
15061
|
readonly name: "";
|
|
@@ -14202,367 +15064,592 @@ export declare const iAMMAbi: readonly [{
|
|
|
14202
15064
|
readonly stateMutability: "view";
|
|
14203
15065
|
readonly type: "function";
|
|
14204
15066
|
}, {
|
|
14205
|
-
readonly inputs: readonly [
|
|
14206
|
-
|
|
15067
|
+
readonly inputs: readonly [{
|
|
15068
|
+
readonly internalType: "MarketId";
|
|
15069
|
+
readonly name: "marketId";
|
|
15070
|
+
readonly type: "uint24";
|
|
15071
|
+
}];
|
|
15072
|
+
readonly name: "getCLOThreshold";
|
|
14207
15073
|
readonly outputs: readonly [{
|
|
14208
|
-
readonly
|
|
15074
|
+
readonly components: readonly [{
|
|
15075
|
+
readonly internalType: "uint128";
|
|
15076
|
+
readonly name: "lowerThres";
|
|
15077
|
+
readonly type: "uint128";
|
|
15078
|
+
}, {
|
|
15079
|
+
readonly internalType: "uint128";
|
|
15080
|
+
readonly name: "upperThres";
|
|
15081
|
+
readonly type: "uint128";
|
|
15082
|
+
}];
|
|
15083
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
14209
15084
|
readonly name: "";
|
|
14210
|
-
readonly type: "
|
|
15085
|
+
readonly type: "tuple";
|
|
14211
15086
|
}];
|
|
14212
15087
|
readonly stateMutability: "view";
|
|
14213
15088
|
readonly type: "function";
|
|
15089
|
+
}, {
|
|
15090
|
+
readonly inputs: readonly [{
|
|
15091
|
+
readonly internalType: "MarketId";
|
|
15092
|
+
readonly name: "marketId";
|
|
15093
|
+
readonly type: "uint24";
|
|
15094
|
+
}, {
|
|
15095
|
+
readonly components: readonly [{
|
|
15096
|
+
readonly internalType: "uint128";
|
|
15097
|
+
readonly name: "lowerThres";
|
|
15098
|
+
readonly type: "uint128";
|
|
15099
|
+
}, {
|
|
15100
|
+
readonly internalType: "uint128";
|
|
15101
|
+
readonly name: "upperThres";
|
|
15102
|
+
readonly type: "uint128";
|
|
15103
|
+
}];
|
|
15104
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
15105
|
+
readonly name: "newThreshold";
|
|
15106
|
+
readonly type: "tuple";
|
|
15107
|
+
}];
|
|
15108
|
+
readonly name: "setCLOThreshold";
|
|
15109
|
+
readonly outputs: readonly [];
|
|
15110
|
+
readonly stateMutability: "nonpayable";
|
|
15111
|
+
readonly type: "function";
|
|
15112
|
+
}, {
|
|
15113
|
+
readonly inputs: readonly [{
|
|
15114
|
+
readonly internalType: "MarketId";
|
|
15115
|
+
readonly name: "marketId";
|
|
15116
|
+
readonly type: "uint24";
|
|
15117
|
+
}];
|
|
15118
|
+
readonly name: "turnOffCLO";
|
|
15119
|
+
readonly outputs: readonly [];
|
|
15120
|
+
readonly stateMutability: "nonpayable";
|
|
15121
|
+
readonly type: "function";
|
|
15122
|
+
}, {
|
|
15123
|
+
readonly inputs: readonly [{
|
|
15124
|
+
readonly internalType: "MarketId";
|
|
15125
|
+
readonly name: "marketId";
|
|
15126
|
+
readonly type: "uint24";
|
|
15127
|
+
}];
|
|
15128
|
+
readonly name: "turnOnCLO";
|
|
15129
|
+
readonly outputs: readonly [];
|
|
15130
|
+
readonly stateMutability: "nonpayable";
|
|
15131
|
+
readonly type: "function";
|
|
15132
|
+
}];
|
|
15133
|
+
export declare const iDeleveragerAbi: readonly [{
|
|
15134
|
+
readonly anonymous: false;
|
|
15135
|
+
readonly inputs: readonly [{
|
|
15136
|
+
readonly indexed: false;
|
|
15137
|
+
readonly internalType: "int256";
|
|
15138
|
+
readonly name: "newDeleverageThresHR";
|
|
15139
|
+
readonly type: "int256";
|
|
15140
|
+
}];
|
|
15141
|
+
readonly name: "DeleverageThresHRSet";
|
|
15142
|
+
readonly type: "event";
|
|
14214
15143
|
}, {
|
|
14215
15144
|
readonly inputs: readonly [];
|
|
14216
|
-
readonly name: "
|
|
15145
|
+
readonly name: "MARKET_HUB";
|
|
14217
15146
|
readonly outputs: readonly [{
|
|
14218
|
-
readonly internalType: "
|
|
15147
|
+
readonly internalType: "address";
|
|
14219
15148
|
readonly name: "";
|
|
14220
|
-
readonly type: "
|
|
15149
|
+
readonly type: "address";
|
|
14221
15150
|
}];
|
|
14222
15151
|
readonly stateMutability: "view";
|
|
14223
15152
|
readonly type: "function";
|
|
15153
|
+
}, {
|
|
15154
|
+
readonly inputs: readonly [{
|
|
15155
|
+
readonly components: readonly [{
|
|
15156
|
+
readonly internalType: "MarketAcc";
|
|
15157
|
+
readonly name: "lose";
|
|
15158
|
+
readonly type: "bytes26";
|
|
15159
|
+
}, {
|
|
15160
|
+
readonly internalType: "MarketId[]";
|
|
15161
|
+
readonly name: "marketIds";
|
|
15162
|
+
readonly type: "uint24[]";
|
|
15163
|
+
}, {
|
|
15164
|
+
readonly components: readonly [{
|
|
15165
|
+
readonly internalType: "uint256";
|
|
15166
|
+
readonly name: "lossFactor";
|
|
15167
|
+
readonly type: "uint256";
|
|
15168
|
+
}, {
|
|
15169
|
+
readonly internalType: "MarketAcc[]";
|
|
15170
|
+
readonly name: "wins";
|
|
15171
|
+
readonly type: "bytes26[]";
|
|
15172
|
+
}, {
|
|
15173
|
+
readonly internalType: "int256[]";
|
|
15174
|
+
readonly name: "sizesToWin";
|
|
15175
|
+
readonly type: "int256[]";
|
|
15176
|
+
}];
|
|
15177
|
+
readonly internalType: "struct IDeleverager.MarketDeleverageInput[]";
|
|
15178
|
+
readonly name: "inputs";
|
|
15179
|
+
readonly type: "tuple[]";
|
|
15180
|
+
}];
|
|
15181
|
+
readonly internalType: "struct IDeleverager.DeleverageRequest[]";
|
|
15182
|
+
readonly name: "requests";
|
|
15183
|
+
readonly type: "tuple[]";
|
|
15184
|
+
}];
|
|
15185
|
+
readonly name: "batchDeleverage";
|
|
15186
|
+
readonly outputs: readonly [];
|
|
15187
|
+
readonly stateMutability: "nonpayable";
|
|
15188
|
+
readonly type: "function";
|
|
14224
15189
|
}, {
|
|
14225
15190
|
readonly inputs: readonly [];
|
|
14226
|
-
readonly name: "
|
|
15191
|
+
readonly name: "deleverageThresHR";
|
|
14227
15192
|
readonly outputs: readonly [{
|
|
14228
|
-
readonly internalType: "
|
|
14229
|
-
readonly name: "
|
|
14230
|
-
readonly type: "
|
|
14231
|
-
}, {
|
|
14232
|
-
readonly internalType: "uint128";
|
|
14233
|
-
readonly name: "maxAbsRate";
|
|
14234
|
-
readonly type: "uint128";
|
|
14235
|
-
}, {
|
|
14236
|
-
readonly internalType: "uint32";
|
|
14237
|
-
readonly name: "cutOffTimestamp";
|
|
14238
|
-
readonly type: "uint32";
|
|
14239
|
-
}, {
|
|
14240
|
-
readonly internalType: "uint32";
|
|
14241
|
-
readonly name: "oracleImpliedRateWindow";
|
|
14242
|
-
readonly type: "uint32";
|
|
14243
|
-
}, {
|
|
14244
|
-
readonly internalType: "uint64";
|
|
14245
|
-
readonly name: "feeRate";
|
|
14246
|
-
readonly type: "uint64";
|
|
14247
|
-
}, {
|
|
14248
|
-
readonly internalType: "uint256";
|
|
14249
|
-
readonly name: "totalSupplyCap";
|
|
14250
|
-
readonly type: "uint256";
|
|
14251
|
-
}, {
|
|
14252
|
-
readonly internalType: "uint128";
|
|
14253
|
-
readonly name: "totalFloatAmount";
|
|
14254
|
-
readonly type: "uint128";
|
|
14255
|
-
}, {
|
|
14256
|
-
readonly internalType: "uint128";
|
|
14257
|
-
readonly name: "normFixedAmount";
|
|
14258
|
-
readonly type: "uint128";
|
|
14259
|
-
}, {
|
|
14260
|
-
readonly internalType: "uint32";
|
|
14261
|
-
readonly name: "lastTradedTime";
|
|
14262
|
-
readonly type: "uint32";
|
|
14263
|
-
}, {
|
|
14264
|
-
readonly internalType: "int128";
|
|
14265
|
-
readonly name: "prevOracleImpliedRate";
|
|
14266
|
-
readonly type: "int128";
|
|
15193
|
+
readonly internalType: "int256";
|
|
15194
|
+
readonly name: "";
|
|
15195
|
+
readonly type: "int256";
|
|
14267
15196
|
}];
|
|
14268
15197
|
readonly stateMutability: "view";
|
|
14269
15198
|
readonly type: "function";
|
|
14270
15199
|
}, {
|
|
14271
15200
|
readonly inputs: readonly [{
|
|
15201
|
+
readonly internalType: "int256";
|
|
15202
|
+
readonly name: "newDeleverageThresHR";
|
|
15203
|
+
readonly type: "int256";
|
|
15204
|
+
}];
|
|
15205
|
+
readonly name: "setDeleverageThresHR";
|
|
15206
|
+
readonly outputs: readonly [];
|
|
15207
|
+
readonly stateMutability: "nonpayable";
|
|
15208
|
+
readonly type: "function";
|
|
15209
|
+
}];
|
|
15210
|
+
export declare const iLiquidationExecutorAbi: readonly [{
|
|
15211
|
+
readonly anonymous: false;
|
|
15212
|
+
readonly inputs: readonly [{
|
|
15213
|
+
readonly indexed: true;
|
|
14272
15214
|
readonly internalType: "MarketAcc";
|
|
14273
|
-
readonly name: "
|
|
15215
|
+
readonly name: "violator";
|
|
14274
15216
|
readonly type: "bytes26";
|
|
15217
|
+
}, {
|
|
15218
|
+
readonly indexed: false;
|
|
15219
|
+
readonly internalType: "int256";
|
|
15220
|
+
readonly name: "profit";
|
|
15221
|
+
readonly type: "int256";
|
|
15222
|
+
}];
|
|
15223
|
+
readonly name: "LiquidationExecuted";
|
|
15224
|
+
readonly type: "event";
|
|
15225
|
+
}, {
|
|
15226
|
+
readonly inputs: readonly [];
|
|
15227
|
+
readonly name: "MARKET_HUB";
|
|
15228
|
+
readonly outputs: readonly [{
|
|
15229
|
+
readonly internalType: "address";
|
|
15230
|
+
readonly name: "";
|
|
15231
|
+
readonly type: "address";
|
|
15232
|
+
}];
|
|
15233
|
+
readonly stateMutability: "view";
|
|
15234
|
+
readonly type: "function";
|
|
15235
|
+
}, {
|
|
15236
|
+
readonly inputs: readonly [];
|
|
15237
|
+
readonly name: "ROUTER";
|
|
15238
|
+
readonly outputs: readonly [{
|
|
15239
|
+
readonly internalType: "address";
|
|
15240
|
+
readonly name: "";
|
|
15241
|
+
readonly type: "address";
|
|
15242
|
+
}];
|
|
15243
|
+
readonly stateMutability: "view";
|
|
15244
|
+
readonly type: "function";
|
|
15245
|
+
}, {
|
|
15246
|
+
readonly inputs: readonly [{
|
|
15247
|
+
readonly components: readonly [{
|
|
15248
|
+
readonly internalType: "MarketId";
|
|
15249
|
+
readonly name: "marketId";
|
|
15250
|
+
readonly type: "uint24";
|
|
15251
|
+
}, {
|
|
15252
|
+
readonly internalType: "AMMId";
|
|
15253
|
+
readonly name: "ammId";
|
|
15254
|
+
readonly type: "uint24";
|
|
15255
|
+
}, {
|
|
15256
|
+
readonly internalType: "MarketAcc";
|
|
15257
|
+
readonly name: "violator";
|
|
15258
|
+
readonly type: "bytes26";
|
|
15259
|
+
}, {
|
|
15260
|
+
readonly internalType: "int256";
|
|
15261
|
+
readonly name: "maxVioHealthRatio";
|
|
15262
|
+
readonly type: "int256";
|
|
15263
|
+
}, {
|
|
15264
|
+
readonly internalType: "uint256";
|
|
15265
|
+
readonly name: "minProfit";
|
|
15266
|
+
readonly type: "uint256";
|
|
15267
|
+
}];
|
|
15268
|
+
readonly internalType: "struct ILiquidationExecutor.LiquidationParams[]";
|
|
15269
|
+
readonly name: "batch";
|
|
15270
|
+
readonly type: "tuple[]";
|
|
14275
15271
|
}];
|
|
14276
|
-
readonly name: "
|
|
15272
|
+
readonly name: "batchLiquidate";
|
|
14277
15273
|
readonly outputs: readonly [{
|
|
14278
|
-
readonly internalType: "
|
|
14279
|
-
readonly name: "";
|
|
14280
|
-
readonly type: "
|
|
15274
|
+
readonly internalType: "bool[]";
|
|
15275
|
+
readonly name: "success";
|
|
15276
|
+
readonly type: "bool[]";
|
|
15277
|
+
}, {
|
|
15278
|
+
readonly internalType: "bytes[]";
|
|
15279
|
+
readonly name: "results";
|
|
15280
|
+
readonly type: "bytes[]";
|
|
14281
15281
|
}];
|
|
14282
|
-
readonly stateMutability: "
|
|
15282
|
+
readonly stateMutability: "nonpayable";
|
|
14283
15283
|
readonly type: "function";
|
|
14284
15284
|
}, {
|
|
14285
15285
|
readonly inputs: readonly [{
|
|
14286
|
-
readonly internalType: "
|
|
14287
|
-
readonly name: "
|
|
14288
|
-
readonly type: "
|
|
14289
|
-
}, {
|
|
14290
|
-
readonly internalType: "int256";
|
|
14291
|
-
readonly name: "totalCash";
|
|
14292
|
-
readonly type: "int256";
|
|
14293
|
-
}, {
|
|
14294
|
-
readonly internalType: "int256";
|
|
14295
|
-
readonly name: "totalSize";
|
|
14296
|
-
readonly type: "int256";
|
|
15286
|
+
readonly internalType: "TokenId";
|
|
15287
|
+
readonly name: "tokenId";
|
|
15288
|
+
readonly type: "uint16";
|
|
14297
15289
|
}, {
|
|
14298
15290
|
readonly internalType: "uint256";
|
|
14299
|
-
readonly name: "
|
|
15291
|
+
readonly name: "amount";
|
|
14300
15292
|
readonly type: "uint256";
|
|
14301
15293
|
}];
|
|
14302
|
-
readonly name: "
|
|
14303
|
-
readonly outputs: readonly [
|
|
14304
|
-
readonly internalType: "int256";
|
|
14305
|
-
readonly name: "netCashOut";
|
|
14306
|
-
readonly type: "int256";
|
|
14307
|
-
}, {
|
|
14308
|
-
readonly internalType: "int256";
|
|
14309
|
-
readonly name: "netSizeOut";
|
|
14310
|
-
readonly type: "int256";
|
|
14311
|
-
}, {
|
|
14312
|
-
readonly internalType: "bool";
|
|
14313
|
-
readonly name: "isMatured";
|
|
14314
|
-
readonly type: "bool";
|
|
14315
|
-
}];
|
|
15294
|
+
readonly name: "deposit";
|
|
15295
|
+
readonly outputs: readonly [];
|
|
14316
15296
|
readonly stateMutability: "nonpayable";
|
|
14317
15297
|
readonly type: "function";
|
|
14318
15298
|
}, {
|
|
14319
15299
|
readonly inputs: readonly [{
|
|
14320
|
-
readonly
|
|
14321
|
-
|
|
14322
|
-
|
|
15300
|
+
readonly components: readonly [{
|
|
15301
|
+
readonly internalType: "MarketId";
|
|
15302
|
+
readonly name: "marketId";
|
|
15303
|
+
readonly type: "uint24";
|
|
15304
|
+
}, {
|
|
15305
|
+
readonly internalType: "AMMId";
|
|
15306
|
+
readonly name: "ammId";
|
|
15307
|
+
readonly type: "uint24";
|
|
15308
|
+
}, {
|
|
15309
|
+
readonly internalType: "MarketAcc";
|
|
15310
|
+
readonly name: "violator";
|
|
15311
|
+
readonly type: "bytes26";
|
|
15312
|
+
}, {
|
|
15313
|
+
readonly internalType: "int256";
|
|
15314
|
+
readonly name: "maxVioHealthRatio";
|
|
15315
|
+
readonly type: "int256";
|
|
15316
|
+
}, {
|
|
15317
|
+
readonly internalType: "uint256";
|
|
15318
|
+
readonly name: "minProfit";
|
|
15319
|
+
readonly type: "uint256";
|
|
15320
|
+
}];
|
|
15321
|
+
readonly internalType: "struct ILiquidationExecutor.LiquidationParams";
|
|
15322
|
+
readonly name: "params";
|
|
15323
|
+
readonly type: "tuple";
|
|
14323
15324
|
}];
|
|
14324
|
-
readonly name: "
|
|
15325
|
+
readonly name: "executeLiquidation";
|
|
14325
15326
|
readonly outputs: readonly [{
|
|
14326
15327
|
readonly internalType: "int256";
|
|
14327
|
-
readonly name: "";
|
|
15328
|
+
readonly name: "sizeToLiq";
|
|
15329
|
+
readonly type: "int256";
|
|
15330
|
+
}, {
|
|
15331
|
+
readonly internalType: "int256";
|
|
15332
|
+
readonly name: "profit";
|
|
14328
15333
|
readonly type: "int256";
|
|
14329
15334
|
}];
|
|
14330
|
-
readonly stateMutability: "
|
|
15335
|
+
readonly stateMutability: "nonpayable";
|
|
14331
15336
|
readonly type: "function";
|
|
14332
15337
|
}, {
|
|
14333
15338
|
readonly inputs: readonly [];
|
|
14334
|
-
readonly name: "
|
|
15339
|
+
readonly name: "nTicksToTryAtOnce";
|
|
14335
15340
|
readonly outputs: readonly [{
|
|
14336
|
-
readonly internalType: "
|
|
15341
|
+
readonly internalType: "uint16";
|
|
14337
15342
|
readonly name: "";
|
|
14338
|
-
readonly type: "
|
|
15343
|
+
readonly type: "uint16";
|
|
14339
15344
|
}];
|
|
14340
15345
|
readonly stateMutability: "view";
|
|
14341
15346
|
readonly type: "function";
|
|
14342
15347
|
}, {
|
|
14343
|
-
readonly inputs: readonly [
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
readonly
|
|
14347
|
-
readonly name: "";
|
|
14348
|
-
readonly type: "uint64";
|
|
15348
|
+
readonly inputs: readonly [{
|
|
15349
|
+
readonly internalType: "MarketId";
|
|
15350
|
+
readonly name: "marketId";
|
|
15351
|
+
readonly type: "uint24";
|
|
14349
15352
|
}];
|
|
14350
|
-
readonly
|
|
15353
|
+
readonly name: "payMarketEntranceFee";
|
|
15354
|
+
readonly outputs: readonly [];
|
|
15355
|
+
readonly stateMutability: "nonpayable";
|
|
14351
15356
|
readonly type: "function";
|
|
14352
15357
|
}, {
|
|
14353
|
-
readonly inputs: readonly [
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
readonly
|
|
14357
|
-
|
|
14358
|
-
readonly
|
|
15358
|
+
readonly inputs: readonly [{
|
|
15359
|
+
readonly internalType: "TokenId";
|
|
15360
|
+
readonly name: "tokenId";
|
|
15361
|
+
readonly type: "uint16";
|
|
15362
|
+
}, {
|
|
15363
|
+
readonly internalType: "uint256";
|
|
15364
|
+
readonly name: "amount";
|
|
15365
|
+
readonly type: "uint256";
|
|
14359
15366
|
}];
|
|
14360
|
-
readonly
|
|
15367
|
+
readonly name: "requestWithdrawal";
|
|
15368
|
+
readonly outputs: readonly [];
|
|
15369
|
+
readonly stateMutability: "nonpayable";
|
|
14361
15370
|
readonly type: "function";
|
|
14362
15371
|
}, {
|
|
14363
15372
|
readonly inputs: readonly [{
|
|
14364
|
-
readonly internalType: "
|
|
14365
|
-
readonly name: "
|
|
14366
|
-
readonly type: "
|
|
14367
|
-
}, {
|
|
14368
|
-
readonly internalType: "int256";
|
|
14369
|
-
readonly name: "totalCash";
|
|
14370
|
-
readonly type: "int256";
|
|
14371
|
-
}, {
|
|
14372
|
-
readonly internalType: "int256";
|
|
14373
|
-
readonly name: "totalSize";
|
|
14374
|
-
readonly type: "int256";
|
|
14375
|
-
}, {
|
|
14376
|
-
readonly internalType: "int256";
|
|
14377
|
-
readonly name: "maxCashIn";
|
|
14378
|
-
readonly type: "int256";
|
|
14379
|
-
}, {
|
|
14380
|
-
readonly internalType: "int256";
|
|
14381
|
-
readonly name: "exactSizeIn";
|
|
14382
|
-
readonly type: "int256";
|
|
14383
|
-
}];
|
|
14384
|
-
readonly name: "mintByBorosRouter";
|
|
14385
|
-
readonly outputs: readonly [{
|
|
14386
|
-
readonly internalType: "int256";
|
|
14387
|
-
readonly name: "netCashIn";
|
|
14388
|
-
readonly type: "int256";
|
|
15373
|
+
readonly internalType: "TokenId";
|
|
15374
|
+
readonly name: "tokenId";
|
|
15375
|
+
readonly type: "uint16";
|
|
14389
15376
|
}, {
|
|
14390
15377
|
readonly internalType: "uint256";
|
|
14391
|
-
readonly name: "
|
|
15378
|
+
readonly name: "amount";
|
|
14392
15379
|
readonly type: "uint256";
|
|
15380
|
+
}, {
|
|
15381
|
+
readonly internalType: "address";
|
|
15382
|
+
readonly name: "receiver";
|
|
15383
|
+
readonly type: "address";
|
|
14393
15384
|
}];
|
|
15385
|
+
readonly name: "withdraw";
|
|
15386
|
+
readonly outputs: readonly [];
|
|
14394
15387
|
readonly stateMutability: "nonpayable";
|
|
14395
15388
|
readonly type: "function";
|
|
15389
|
+
}];
|
|
15390
|
+
export declare const iOrderCancellerAbi: readonly [{
|
|
15391
|
+
readonly anonymous: false;
|
|
15392
|
+
readonly inputs: readonly [{
|
|
15393
|
+
readonly indexed: false;
|
|
15394
|
+
readonly internalType: "int256";
|
|
15395
|
+
readonly name: "newCancelThresHR";
|
|
15396
|
+
readonly type: "int256";
|
|
15397
|
+
}];
|
|
15398
|
+
readonly name: "CancelThresHRSet";
|
|
15399
|
+
readonly type: "event";
|
|
14396
15400
|
}, {
|
|
14397
15401
|
readonly inputs: readonly [];
|
|
14398
|
-
readonly name: "
|
|
15402
|
+
readonly name: "MARKET_HUB";
|
|
14399
15403
|
readonly outputs: readonly [{
|
|
14400
|
-
readonly internalType: "
|
|
15404
|
+
readonly internalType: "address";
|
|
14401
15405
|
readonly name: "";
|
|
14402
|
-
readonly type: "
|
|
15406
|
+
readonly type: "address";
|
|
14403
15407
|
}];
|
|
14404
15408
|
readonly stateMutability: "view";
|
|
14405
15409
|
readonly type: "function";
|
|
14406
15410
|
}, {
|
|
14407
15411
|
readonly inputs: readonly [];
|
|
14408
|
-
readonly name: "
|
|
15412
|
+
readonly name: "cancelThresHR";
|
|
14409
15413
|
readonly outputs: readonly [{
|
|
14410
|
-
readonly internalType: "
|
|
14411
|
-
readonly name: "
|
|
14412
|
-
readonly type: "
|
|
14413
|
-
}, {
|
|
14414
|
-
readonly internalType: "uint32";
|
|
14415
|
-
readonly name: "observationWindow";
|
|
14416
|
-
readonly type: "uint32";
|
|
15414
|
+
readonly internalType: "int256";
|
|
15415
|
+
readonly name: "";
|
|
15416
|
+
readonly type: "int256";
|
|
14417
15417
|
}];
|
|
14418
15418
|
readonly stateMutability: "view";
|
|
14419
15419
|
readonly type: "function";
|
|
14420
15420
|
}, {
|
|
14421
|
-
readonly inputs: readonly [
|
|
14422
|
-
|
|
15421
|
+
readonly inputs: readonly [{
|
|
15422
|
+
readonly internalType: "MarketAcc";
|
|
15423
|
+
readonly name: "user";
|
|
15424
|
+
readonly type: "bytes26";
|
|
15425
|
+
}];
|
|
15426
|
+
readonly name: "findHealthJumpOrders";
|
|
14423
15427
|
readonly outputs: readonly [{
|
|
15428
|
+
readonly internalType: "bool";
|
|
15429
|
+
readonly name: "risky";
|
|
15430
|
+
readonly type: "bool";
|
|
15431
|
+
}, {
|
|
15432
|
+
readonly internalType: "int256";
|
|
15433
|
+
readonly name: "buffer";
|
|
15434
|
+
readonly type: "int256";
|
|
15435
|
+
}, {
|
|
14424
15436
|
readonly components: readonly [{
|
|
14425
|
-
readonly internalType: "
|
|
14426
|
-
readonly name: "
|
|
14427
|
-
readonly type: "
|
|
14428
|
-
}, {
|
|
14429
|
-
readonly internalType: "uint256";
|
|
14430
|
-
readonly name: "normFixedAmount";
|
|
14431
|
-
readonly type: "uint256";
|
|
14432
|
-
}, {
|
|
14433
|
-
readonly internalType: "uint256";
|
|
14434
|
-
readonly name: "totalLp";
|
|
14435
|
-
readonly type: "uint256";
|
|
14436
|
-
}, {
|
|
14437
|
-
readonly internalType: "uint256";
|
|
14438
|
-
readonly name: "latestFTime";
|
|
14439
|
-
readonly type: "uint256";
|
|
14440
|
-
}, {
|
|
14441
|
-
readonly internalType: "uint256";
|
|
14442
|
-
readonly name: "maturity";
|
|
14443
|
-
readonly type: "uint256";
|
|
14444
|
-
}, {
|
|
14445
|
-
readonly internalType: "uint256";
|
|
14446
|
-
readonly name: "seedTime";
|
|
14447
|
-
readonly type: "uint256";
|
|
14448
|
-
}, {
|
|
14449
|
-
readonly internalType: "uint256";
|
|
14450
|
-
readonly name: "minAbsRate";
|
|
14451
|
-
readonly type: "uint256";
|
|
14452
|
-
}, {
|
|
14453
|
-
readonly internalType: "uint256";
|
|
14454
|
-
readonly name: "maxAbsRate";
|
|
14455
|
-
readonly type: "uint256";
|
|
15437
|
+
readonly internalType: "MarketId";
|
|
15438
|
+
readonly name: "marketId";
|
|
15439
|
+
readonly type: "uint24";
|
|
14456
15440
|
}, {
|
|
14457
|
-
readonly internalType: "
|
|
14458
|
-
readonly name: "
|
|
14459
|
-
readonly type: "
|
|
15441
|
+
readonly internalType: "OrderId[]";
|
|
15442
|
+
readonly name: "ids";
|
|
15443
|
+
readonly type: "uint64[]";
|
|
14460
15444
|
}];
|
|
14461
|
-
readonly internalType: "struct
|
|
14462
|
-
readonly name: "";
|
|
14463
|
-
readonly type: "tuple";
|
|
15445
|
+
readonly internalType: "struct IOrderCanceller.HealthJumpProof[]";
|
|
15446
|
+
readonly name: "proofs";
|
|
15447
|
+
readonly type: "tuple[]";
|
|
14464
15448
|
}];
|
|
14465
|
-
readonly stateMutability: "
|
|
15449
|
+
readonly stateMutability: "nonpayable";
|
|
14466
15450
|
readonly type: "function";
|
|
14467
15451
|
}, {
|
|
14468
15452
|
readonly inputs: readonly [{
|
|
14469
|
-
readonly internalType: "
|
|
14470
|
-
readonly name: "
|
|
14471
|
-
readonly type: "
|
|
14472
|
-
}, {
|
|
14473
|
-
readonly internalType: "uint128";
|
|
14474
|
-
readonly name: "maxAbsRate";
|
|
14475
|
-
readonly type: "uint128";
|
|
15453
|
+
readonly internalType: "MarketAcc";
|
|
15454
|
+
readonly name: "user";
|
|
15455
|
+
readonly type: "bytes26";
|
|
14476
15456
|
}, {
|
|
14477
|
-
readonly
|
|
14478
|
-
|
|
14479
|
-
|
|
15457
|
+
readonly components: readonly [{
|
|
15458
|
+
readonly internalType: "MarketId";
|
|
15459
|
+
readonly name: "marketId";
|
|
15460
|
+
readonly type: "uint24";
|
|
15461
|
+
}, {
|
|
15462
|
+
readonly internalType: "OrderId[]";
|
|
15463
|
+
readonly name: "ids";
|
|
15464
|
+
readonly type: "uint64[]";
|
|
15465
|
+
}];
|
|
15466
|
+
readonly internalType: "struct IOrderCanceller.HealthJumpProof[]";
|
|
15467
|
+
readonly name: "proofs";
|
|
15468
|
+
readonly type: "tuple[]";
|
|
14480
15469
|
}];
|
|
14481
|
-
readonly name: "
|
|
15470
|
+
readonly name: "forceCancelAllRiskyUser";
|
|
14482
15471
|
readonly outputs: readonly [];
|
|
14483
15472
|
readonly stateMutability: "nonpayable";
|
|
14484
15473
|
readonly type: "function";
|
|
14485
15474
|
}, {
|
|
14486
15475
|
readonly inputs: readonly [{
|
|
14487
|
-
readonly internalType: "
|
|
14488
|
-
readonly name: "
|
|
14489
|
-
readonly type: "
|
|
15476
|
+
readonly internalType: "int256";
|
|
15477
|
+
readonly name: "newCancelThresHR";
|
|
15478
|
+
readonly type: "int256";
|
|
14490
15479
|
}];
|
|
14491
|
-
readonly name: "
|
|
15480
|
+
readonly name: "setCancelThresHR";
|
|
14492
15481
|
readonly outputs: readonly [];
|
|
14493
15482
|
readonly stateMutability: "nonpayable";
|
|
14494
15483
|
readonly type: "function";
|
|
15484
|
+
}];
|
|
15485
|
+
export declare const iPauserAbi: readonly [{
|
|
15486
|
+
readonly anonymous: false;
|
|
15487
|
+
readonly inputs: readonly [{
|
|
15488
|
+
readonly indexed: false;
|
|
15489
|
+
readonly internalType: "TokenId";
|
|
15490
|
+
readonly name: "tokenId";
|
|
15491
|
+
readonly type: "uint16";
|
|
15492
|
+
}, {
|
|
15493
|
+
readonly indexed: false;
|
|
15494
|
+
readonly internalType: "uint256";
|
|
15495
|
+
readonly name: "newMinTotalMM";
|
|
15496
|
+
readonly type: "uint256";
|
|
15497
|
+
}];
|
|
15498
|
+
readonly name: "MinTotalMMSet";
|
|
15499
|
+
readonly type: "event";
|
|
15500
|
+
}, {
|
|
15501
|
+
readonly inputs: readonly [];
|
|
15502
|
+
readonly name: "MARKET_HUB";
|
|
15503
|
+
readonly outputs: readonly [{
|
|
15504
|
+
readonly internalType: "address";
|
|
15505
|
+
readonly name: "";
|
|
15506
|
+
readonly type: "address";
|
|
15507
|
+
}];
|
|
15508
|
+
readonly stateMutability: "view";
|
|
15509
|
+
readonly type: "function";
|
|
14495
15510
|
}, {
|
|
14496
15511
|
readonly inputs: readonly [{
|
|
14497
|
-
readonly internalType: "
|
|
14498
|
-
readonly name: "
|
|
14499
|
-
readonly type: "
|
|
15512
|
+
readonly internalType: "MarketAcc[]";
|
|
15513
|
+
readonly name: "users";
|
|
15514
|
+
readonly type: "bytes26[]";
|
|
15515
|
+
}];
|
|
15516
|
+
readonly name: "findRiskyUsers";
|
|
15517
|
+
readonly outputs: readonly [{
|
|
15518
|
+
readonly internalType: "MarketAcc[]";
|
|
15519
|
+
readonly name: "";
|
|
15520
|
+
readonly type: "bytes26[]";
|
|
14500
15521
|
}];
|
|
14501
|
-
readonly name: "setAMMImpliedRateObservationWindow";
|
|
14502
|
-
readonly outputs: readonly [];
|
|
14503
15522
|
readonly stateMutability: "nonpayable";
|
|
14504
15523
|
readonly type: "function";
|
|
14505
15524
|
}, {
|
|
14506
15525
|
readonly inputs: readonly [{
|
|
15526
|
+
readonly internalType: "TokenId";
|
|
15527
|
+
readonly name: "tokenId";
|
|
15528
|
+
readonly type: "uint16";
|
|
15529
|
+
}];
|
|
15530
|
+
readonly name: "minTotalMM";
|
|
15531
|
+
readonly outputs: readonly [{
|
|
14507
15532
|
readonly internalType: "uint256";
|
|
14508
|
-
readonly name: "
|
|
15533
|
+
readonly name: "";
|
|
14509
15534
|
readonly type: "uint256";
|
|
14510
15535
|
}];
|
|
14511
|
-
readonly
|
|
14512
|
-
readonly outputs: readonly [];
|
|
14513
|
-
readonly stateMutability: "nonpayable";
|
|
15536
|
+
readonly stateMutability: "view";
|
|
14514
15537
|
readonly type: "function";
|
|
14515
15538
|
}, {
|
|
14516
15539
|
readonly inputs: readonly [{
|
|
14517
|
-
readonly internalType: "
|
|
14518
|
-
readonly name: "
|
|
14519
|
-
readonly type: "
|
|
15540
|
+
readonly internalType: "MarketAcc";
|
|
15541
|
+
readonly name: "user";
|
|
15542
|
+
readonly type: "bytes26";
|
|
15543
|
+
}, {
|
|
15544
|
+
readonly internalType: "MarketId[]";
|
|
15545
|
+
readonly name: "marketIds";
|
|
15546
|
+
readonly type: "uint24[]";
|
|
14520
15547
|
}];
|
|
14521
|
-
readonly name: "
|
|
15548
|
+
readonly name: "pauseMarkets";
|
|
15549
|
+
readonly outputs: readonly [];
|
|
15550
|
+
readonly stateMutability: "nonpayable";
|
|
15551
|
+
readonly type: "function";
|
|
15552
|
+
}, {
|
|
15553
|
+
readonly inputs: readonly [];
|
|
15554
|
+
readonly name: "pauseThresHR";
|
|
14522
15555
|
readonly outputs: readonly [{
|
|
14523
15556
|
readonly internalType: "int256";
|
|
14524
|
-
readonly name: "
|
|
15557
|
+
readonly name: "";
|
|
14525
15558
|
readonly type: "int256";
|
|
14526
15559
|
}];
|
|
15560
|
+
readonly stateMutability: "view";
|
|
15561
|
+
readonly type: "function";
|
|
15562
|
+
}, {
|
|
15563
|
+
readonly inputs: readonly [{
|
|
15564
|
+
readonly internalType: "TokenId";
|
|
15565
|
+
readonly name: "tokenId";
|
|
15566
|
+
readonly type: "uint16";
|
|
15567
|
+
}, {
|
|
15568
|
+
readonly internalType: "uint256";
|
|
15569
|
+
readonly name: "newMinTotalMM";
|
|
15570
|
+
readonly type: "uint256";
|
|
15571
|
+
}];
|
|
15572
|
+
readonly name: "setMinTotalMM";
|
|
15573
|
+
readonly outputs: readonly [];
|
|
14527
15574
|
readonly stateMutability: "nonpayable";
|
|
14528
15575
|
readonly type: "function";
|
|
15576
|
+
}];
|
|
15577
|
+
export declare const iWithdrawalPoliceAbi: readonly [{
|
|
15578
|
+
readonly anonymous: false;
|
|
15579
|
+
readonly inputs: readonly [{
|
|
15580
|
+
readonly indexed: false;
|
|
15581
|
+
readonly internalType: "address";
|
|
15582
|
+
readonly name: "user";
|
|
15583
|
+
readonly type: "address";
|
|
15584
|
+
}];
|
|
15585
|
+
readonly name: "DisallowWithdrawal";
|
|
15586
|
+
readonly type: "event";
|
|
14529
15587
|
}, {
|
|
15588
|
+
readonly anonymous: false;
|
|
14530
15589
|
readonly inputs: readonly [{
|
|
14531
|
-
readonly
|
|
14532
|
-
readonly
|
|
14533
|
-
readonly
|
|
15590
|
+
readonly indexed: false;
|
|
15591
|
+
readonly internalType: "TokenId";
|
|
15592
|
+
readonly name: "tokenId";
|
|
15593
|
+
readonly type: "uint16";
|
|
15594
|
+
}, {
|
|
15595
|
+
readonly indexed: false;
|
|
15596
|
+
readonly internalType: "uint256";
|
|
15597
|
+
readonly name: "newThreshold";
|
|
15598
|
+
readonly type: "uint256";
|
|
14534
15599
|
}];
|
|
14535
|
-
readonly name: "
|
|
14536
|
-
readonly
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
15600
|
+
readonly name: "LargeWithdrawalUnscaledThresholdSet";
|
|
15601
|
+
readonly type: "event";
|
|
15602
|
+
}, {
|
|
15603
|
+
readonly anonymous: false;
|
|
15604
|
+
readonly inputs: readonly [{
|
|
15605
|
+
readonly indexed: false;
|
|
15606
|
+
readonly internalType: "address";
|
|
15607
|
+
readonly name: "user";
|
|
15608
|
+
readonly type: "address";
|
|
14540
15609
|
}];
|
|
14541
|
-
readonly
|
|
14542
|
-
readonly type: "
|
|
15610
|
+
readonly name: "ResetPersonalCooldown";
|
|
15611
|
+
readonly type: "event";
|
|
14543
15612
|
}, {
|
|
14544
15613
|
readonly inputs: readonly [];
|
|
14545
|
-
readonly name: "
|
|
15614
|
+
readonly name: "MARKET_HUB";
|
|
14546
15615
|
readonly outputs: readonly [{
|
|
14547
|
-
readonly internalType: "
|
|
15616
|
+
readonly internalType: "address";
|
|
14548
15617
|
readonly name: "";
|
|
14549
|
-
readonly type: "
|
|
15618
|
+
readonly type: "address";
|
|
14550
15619
|
}];
|
|
14551
15620
|
readonly stateMutability: "view";
|
|
14552
15621
|
readonly type: "function";
|
|
14553
15622
|
}, {
|
|
14554
|
-
readonly inputs: readonly [
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
readonly
|
|
14558
|
-
|
|
14559
|
-
readonly
|
|
15623
|
+
readonly inputs: readonly [{
|
|
15624
|
+
readonly internalType: "address";
|
|
15625
|
+
readonly name: "user";
|
|
15626
|
+
readonly type: "address";
|
|
15627
|
+
}, {
|
|
15628
|
+
readonly internalType: "TokenId";
|
|
15629
|
+
readonly name: "tokenId";
|
|
15630
|
+
readonly type: "uint16";
|
|
14560
15631
|
}];
|
|
14561
|
-
readonly
|
|
15632
|
+
readonly name: "disallowLargeWithdrawal";
|
|
15633
|
+
readonly outputs: readonly [];
|
|
15634
|
+
readonly stateMutability: "nonpayable";
|
|
14562
15635
|
readonly type: "function";
|
|
14563
15636
|
}, {
|
|
14564
|
-
readonly inputs: readonly [
|
|
14565
|
-
|
|
15637
|
+
readonly inputs: readonly [{
|
|
15638
|
+
readonly internalType: "address";
|
|
15639
|
+
readonly name: "user";
|
|
15640
|
+
readonly type: "address";
|
|
15641
|
+
}];
|
|
15642
|
+
readonly name: "disallowWithdrawalUnconditionally";
|
|
15643
|
+
readonly outputs: readonly [];
|
|
15644
|
+
readonly stateMutability: "nonpayable";
|
|
15645
|
+
readonly type: "function";
|
|
15646
|
+
}, {
|
|
15647
|
+
readonly inputs: readonly [{
|
|
15648
|
+
readonly internalType: "TokenId";
|
|
15649
|
+
readonly name: "tokenId";
|
|
15650
|
+
readonly type: "uint16";
|
|
15651
|
+
}];
|
|
15652
|
+
readonly name: "getLargeWithdrawalUnscaledThreshold";
|
|
14566
15653
|
readonly outputs: readonly [{
|
|
14567
15654
|
readonly internalType: "uint256";
|
|
14568
15655
|
readonly name: "";
|
|
@@ -14570,96 +15657,306 @@ export declare const iAMMAbi: readonly [{
|
|
|
14570
15657
|
}];
|
|
14571
15658
|
readonly stateMutability: "view";
|
|
14572
15659
|
readonly type: "function";
|
|
14573
|
-
}
|
|
14574
|
-
export declare const iBOROS20Abi: readonly [{
|
|
15660
|
+
}, {
|
|
14575
15661
|
readonly inputs: readonly [{
|
|
14576
|
-
readonly internalType: "
|
|
14577
|
-
readonly name: "
|
|
14578
|
-
readonly type: "
|
|
14579
|
-
}
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
|
|
15662
|
+
readonly internalType: "address";
|
|
15663
|
+
readonly name: "user";
|
|
15664
|
+
readonly type: "address";
|
|
15665
|
+
}];
|
|
15666
|
+
readonly name: "resetPersonalCooldown";
|
|
15667
|
+
readonly outputs: readonly [];
|
|
15668
|
+
readonly stateMutability: "nonpayable";
|
|
15669
|
+
readonly type: "function";
|
|
15670
|
+
}, {
|
|
15671
|
+
readonly inputs: readonly [{
|
|
15672
|
+
readonly internalType: "TokenId";
|
|
15673
|
+
readonly name: "tokenId";
|
|
15674
|
+
readonly type: "uint16";
|
|
14583
15675
|
}, {
|
|
14584
15676
|
readonly internalType: "uint256";
|
|
14585
|
-
readonly name: "
|
|
15677
|
+
readonly name: "newThreshold";
|
|
14586
15678
|
readonly type: "uint256";
|
|
14587
15679
|
}];
|
|
14588
|
-
readonly name: "
|
|
14589
|
-
readonly
|
|
15680
|
+
readonly name: "setLargeWithdrawalUnscaledThreshold";
|
|
15681
|
+
readonly outputs: readonly [];
|
|
15682
|
+
readonly stateMutability: "nonpayable";
|
|
15683
|
+
readonly type: "function";
|
|
15684
|
+
}];
|
|
15685
|
+
export declare const iZoneResponderAbi: readonly [{
|
|
15686
|
+
readonly anonymous: false;
|
|
15687
|
+
readonly inputs: readonly [{
|
|
15688
|
+
readonly indexed: false;
|
|
15689
|
+
readonly internalType: "uint32";
|
|
15690
|
+
readonly name: "newGlobalCooldown";
|
|
15691
|
+
readonly type: "uint32";
|
|
15692
|
+
}];
|
|
15693
|
+
readonly name: "GlobalCooldownSet";
|
|
15694
|
+
readonly type: "event";
|
|
14590
15695
|
}, {
|
|
14591
15696
|
readonly anonymous: false;
|
|
14592
15697
|
readonly inputs: readonly [{
|
|
14593
15698
|
readonly indexed: false;
|
|
14594
|
-
readonly internalType: "
|
|
14595
|
-
readonly name: "
|
|
14596
|
-
readonly type: "
|
|
15699
|
+
readonly internalType: "MarketId";
|
|
15700
|
+
readonly name: "marketId";
|
|
15701
|
+
readonly type: "uint24";
|
|
14597
15702
|
}, {
|
|
15703
|
+
readonly components: readonly [{
|
|
15704
|
+
readonly internalType: "uint64";
|
|
15705
|
+
readonly name: "base";
|
|
15706
|
+
readonly type: "uint64";
|
|
15707
|
+
}, {
|
|
15708
|
+
readonly internalType: "uint64";
|
|
15709
|
+
readonly name: "slope";
|
|
15710
|
+
readonly type: "uint64";
|
|
15711
|
+
}, {
|
|
15712
|
+
readonly internalType: "uint64";
|
|
15713
|
+
readonly name: "feeRate";
|
|
15714
|
+
readonly type: "uint64";
|
|
15715
|
+
}];
|
|
14598
15716
|
readonly indexed: false;
|
|
14599
|
-
readonly internalType: "
|
|
14600
|
-
readonly name: "
|
|
14601
|
-
readonly type: "
|
|
15717
|
+
readonly internalType: "struct IMarketAllTypes.LiqSettings";
|
|
15718
|
+
readonly name: "newLiqSettings";
|
|
15719
|
+
readonly type: "tuple";
|
|
15720
|
+
}];
|
|
15721
|
+
readonly name: "LiqSettingsSet";
|
|
15722
|
+
readonly type: "event";
|
|
15723
|
+
}, {
|
|
15724
|
+
readonly anonymous: false;
|
|
15725
|
+
readonly inputs: readonly [{
|
|
15726
|
+
readonly indexed: false;
|
|
15727
|
+
readonly internalType: "MarketId";
|
|
15728
|
+
readonly name: "marketId";
|
|
15729
|
+
readonly type: "uint24";
|
|
14602
15730
|
}, {
|
|
15731
|
+
readonly components: readonly [{
|
|
15732
|
+
readonly internalType: "uint16";
|
|
15733
|
+
readonly name: "maxRateDeviationFactorBase1e4";
|
|
15734
|
+
readonly type: "uint16";
|
|
15735
|
+
}, {
|
|
15736
|
+
readonly internalType: "uint16";
|
|
15737
|
+
readonly name: "closingOrderBoundBase1e4";
|
|
15738
|
+
readonly type: "uint16";
|
|
15739
|
+
}, {
|
|
15740
|
+
readonly internalType: "int16";
|
|
15741
|
+
readonly name: "loUpperConstBase1e4";
|
|
15742
|
+
readonly type: "int16";
|
|
15743
|
+
}, {
|
|
15744
|
+
readonly internalType: "int16";
|
|
15745
|
+
readonly name: "loUpperSlopeBase1e4";
|
|
15746
|
+
readonly type: "int16";
|
|
15747
|
+
}, {
|
|
15748
|
+
readonly internalType: "int16";
|
|
15749
|
+
readonly name: "loLowerConstBase1e4";
|
|
15750
|
+
readonly type: "int16";
|
|
15751
|
+
}, {
|
|
15752
|
+
readonly internalType: "int16";
|
|
15753
|
+
readonly name: "loLowerSlopeBase1e4";
|
|
15754
|
+
readonly type: "int16";
|
|
15755
|
+
}];
|
|
14603
15756
|
readonly indexed: false;
|
|
14604
|
-
readonly internalType: "
|
|
14605
|
-
readonly name: "
|
|
14606
|
-
readonly type: "
|
|
15757
|
+
readonly internalType: "struct IZoneResponder.RateDeviationConfig";
|
|
15758
|
+
readonly name: "newRateDeviationConfig";
|
|
15759
|
+
readonly type: "tuple";
|
|
14607
15760
|
}];
|
|
14608
|
-
readonly name: "
|
|
15761
|
+
readonly name: "RateDeviationConfigSet";
|
|
14609
15762
|
readonly type: "event";
|
|
14610
15763
|
}, {
|
|
14611
|
-
readonly inputs: readonly [
|
|
14612
|
-
|
|
14613
|
-
readonly name: "account";
|
|
14614
|
-
readonly type: "bytes26";
|
|
14615
|
-
}];
|
|
14616
|
-
readonly name: "balanceOf";
|
|
15764
|
+
readonly inputs: readonly [];
|
|
15765
|
+
readonly name: "MARKET_HUB";
|
|
14617
15766
|
readonly outputs: readonly [{
|
|
14618
|
-
readonly internalType: "
|
|
15767
|
+
readonly internalType: "address";
|
|
14619
15768
|
readonly name: "";
|
|
14620
|
-
readonly type: "
|
|
15769
|
+
readonly type: "address";
|
|
14621
15770
|
}];
|
|
14622
15771
|
readonly stateMutability: "view";
|
|
14623
15772
|
readonly type: "function";
|
|
15773
|
+
}, {
|
|
15774
|
+
readonly inputs: readonly [{
|
|
15775
|
+
readonly internalType: "MarketId";
|
|
15776
|
+
readonly name: "marketId";
|
|
15777
|
+
readonly type: "uint24";
|
|
15778
|
+
}];
|
|
15779
|
+
readonly name: "decreaseRateDeviationBound";
|
|
15780
|
+
readonly outputs: readonly [];
|
|
15781
|
+
readonly stateMutability: "nonpayable";
|
|
15782
|
+
readonly type: "function";
|
|
14624
15783
|
}, {
|
|
14625
15784
|
readonly inputs: readonly [];
|
|
14626
|
-
readonly name: "
|
|
15785
|
+
readonly name: "getGlobalCooldown";
|
|
14627
15786
|
readonly outputs: readonly [{
|
|
14628
|
-
readonly internalType: "
|
|
15787
|
+
readonly internalType: "uint32";
|
|
14629
15788
|
readonly name: "";
|
|
14630
|
-
readonly type: "
|
|
15789
|
+
readonly type: "uint32";
|
|
14631
15790
|
}];
|
|
14632
15791
|
readonly stateMutability: "view";
|
|
14633
15792
|
readonly type: "function";
|
|
14634
15793
|
}, {
|
|
14635
|
-
readonly inputs: readonly [
|
|
14636
|
-
|
|
15794
|
+
readonly inputs: readonly [{
|
|
15795
|
+
readonly internalType: "MarketId";
|
|
15796
|
+
readonly name: "marketId";
|
|
15797
|
+
readonly type: "uint24";
|
|
15798
|
+
}];
|
|
15799
|
+
readonly name: "getLiqSettings";
|
|
14637
15800
|
readonly outputs: readonly [{
|
|
14638
|
-
readonly
|
|
15801
|
+
readonly components: readonly [{
|
|
15802
|
+
readonly internalType: "uint64";
|
|
15803
|
+
readonly name: "base";
|
|
15804
|
+
readonly type: "uint64";
|
|
15805
|
+
}, {
|
|
15806
|
+
readonly internalType: "uint64";
|
|
15807
|
+
readonly name: "slope";
|
|
15808
|
+
readonly type: "uint64";
|
|
15809
|
+
}, {
|
|
15810
|
+
readonly internalType: "uint64";
|
|
15811
|
+
readonly name: "feeRate";
|
|
15812
|
+
readonly type: "uint64";
|
|
15813
|
+
}];
|
|
15814
|
+
readonly internalType: "struct IMarketAllTypes.LiqSettings";
|
|
14639
15815
|
readonly name: "";
|
|
14640
|
-
readonly type: "
|
|
15816
|
+
readonly type: "tuple";
|
|
14641
15817
|
}];
|
|
14642
15818
|
readonly stateMutability: "view";
|
|
14643
15819
|
readonly type: "function";
|
|
14644
15820
|
}, {
|
|
14645
|
-
readonly inputs: readonly [
|
|
14646
|
-
|
|
15821
|
+
readonly inputs: readonly [{
|
|
15822
|
+
readonly internalType: "MarketId";
|
|
15823
|
+
readonly name: "marketId";
|
|
15824
|
+
readonly type: "uint24";
|
|
15825
|
+
}];
|
|
15826
|
+
readonly name: "getRateDeviationConfig";
|
|
14647
15827
|
readonly outputs: readonly [{
|
|
14648
|
-
readonly
|
|
15828
|
+
readonly components: readonly [{
|
|
15829
|
+
readonly internalType: "uint16";
|
|
15830
|
+
readonly name: "maxRateDeviationFactorBase1e4";
|
|
15831
|
+
readonly type: "uint16";
|
|
15832
|
+
}, {
|
|
15833
|
+
readonly internalType: "uint16";
|
|
15834
|
+
readonly name: "closingOrderBoundBase1e4";
|
|
15835
|
+
readonly type: "uint16";
|
|
15836
|
+
}, {
|
|
15837
|
+
readonly internalType: "int16";
|
|
15838
|
+
readonly name: "loUpperConstBase1e4";
|
|
15839
|
+
readonly type: "int16";
|
|
15840
|
+
}, {
|
|
15841
|
+
readonly internalType: "int16";
|
|
15842
|
+
readonly name: "loUpperSlopeBase1e4";
|
|
15843
|
+
readonly type: "int16";
|
|
15844
|
+
}, {
|
|
15845
|
+
readonly internalType: "int16";
|
|
15846
|
+
readonly name: "loLowerConstBase1e4";
|
|
15847
|
+
readonly type: "int16";
|
|
15848
|
+
}, {
|
|
15849
|
+
readonly internalType: "int16";
|
|
15850
|
+
readonly name: "loLowerSlopeBase1e4";
|
|
15851
|
+
readonly type: "int16";
|
|
15852
|
+
}];
|
|
15853
|
+
readonly internalType: "struct IZoneResponder.RateDeviationConfig";
|
|
14649
15854
|
readonly name: "";
|
|
14650
|
-
readonly type: "
|
|
15855
|
+
readonly type: "tuple";
|
|
14651
15856
|
}];
|
|
14652
15857
|
readonly stateMutability: "view";
|
|
14653
15858
|
readonly type: "function";
|
|
14654
15859
|
}, {
|
|
14655
15860
|
readonly inputs: readonly [];
|
|
14656
|
-
readonly name: "
|
|
14657
|
-
readonly outputs: readonly [
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
15861
|
+
readonly name: "increaseGlobalCooldown";
|
|
15862
|
+
readonly outputs: readonly [];
|
|
15863
|
+
readonly stateMutability: "nonpayable";
|
|
15864
|
+
readonly type: "function";
|
|
15865
|
+
}, {
|
|
15866
|
+
readonly inputs: readonly [{
|
|
15867
|
+
readonly internalType: "MarketId";
|
|
15868
|
+
readonly name: "marketId";
|
|
15869
|
+
readonly type: "uint24";
|
|
14661
15870
|
}];
|
|
14662
|
-
readonly
|
|
15871
|
+
readonly name: "increaseLiquidationIncentive";
|
|
15872
|
+
readonly outputs: readonly [];
|
|
15873
|
+
readonly stateMutability: "nonpayable";
|
|
15874
|
+
readonly type: "function";
|
|
15875
|
+
}, {
|
|
15876
|
+
readonly inputs: readonly [{
|
|
15877
|
+
readonly internalType: "uint32";
|
|
15878
|
+
readonly name: "newGlobalCooldown";
|
|
15879
|
+
readonly type: "uint32";
|
|
15880
|
+
}];
|
|
15881
|
+
readonly name: "setGlobalCooldown";
|
|
15882
|
+
readonly outputs: readonly [];
|
|
15883
|
+
readonly stateMutability: "nonpayable";
|
|
15884
|
+
readonly type: "function";
|
|
15885
|
+
}, {
|
|
15886
|
+
readonly inputs: readonly [{
|
|
15887
|
+
readonly internalType: "MarketId";
|
|
15888
|
+
readonly name: "marketId";
|
|
15889
|
+
readonly type: "uint24";
|
|
15890
|
+
}, {
|
|
15891
|
+
readonly components: readonly [{
|
|
15892
|
+
readonly internalType: "uint64";
|
|
15893
|
+
readonly name: "base";
|
|
15894
|
+
readonly type: "uint64";
|
|
15895
|
+
}, {
|
|
15896
|
+
readonly internalType: "uint64";
|
|
15897
|
+
readonly name: "slope";
|
|
15898
|
+
readonly type: "uint64";
|
|
15899
|
+
}, {
|
|
15900
|
+
readonly internalType: "uint64";
|
|
15901
|
+
readonly name: "feeRate";
|
|
15902
|
+
readonly type: "uint64";
|
|
15903
|
+
}];
|
|
15904
|
+
readonly internalType: "struct IMarketAllTypes.LiqSettings";
|
|
15905
|
+
readonly name: "newLiqSettings";
|
|
15906
|
+
readonly type: "tuple";
|
|
15907
|
+
}];
|
|
15908
|
+
readonly name: "setLiqSettings";
|
|
15909
|
+
readonly outputs: readonly [];
|
|
15910
|
+
readonly stateMutability: "nonpayable";
|
|
15911
|
+
readonly type: "function";
|
|
15912
|
+
}, {
|
|
15913
|
+
readonly inputs: readonly [{
|
|
15914
|
+
readonly internalType: "MarketId";
|
|
15915
|
+
readonly name: "marketId";
|
|
15916
|
+
readonly type: "uint24";
|
|
15917
|
+
}, {
|
|
15918
|
+
readonly components: readonly [{
|
|
15919
|
+
readonly internalType: "uint16";
|
|
15920
|
+
readonly name: "maxRateDeviationFactorBase1e4";
|
|
15921
|
+
readonly type: "uint16";
|
|
15922
|
+
}, {
|
|
15923
|
+
readonly internalType: "uint16";
|
|
15924
|
+
readonly name: "closingOrderBoundBase1e4";
|
|
15925
|
+
readonly type: "uint16";
|
|
15926
|
+
}, {
|
|
15927
|
+
readonly internalType: "int16";
|
|
15928
|
+
readonly name: "loUpperConstBase1e4";
|
|
15929
|
+
readonly type: "int16";
|
|
15930
|
+
}, {
|
|
15931
|
+
readonly internalType: "int16";
|
|
15932
|
+
readonly name: "loUpperSlopeBase1e4";
|
|
15933
|
+
readonly type: "int16";
|
|
15934
|
+
}, {
|
|
15935
|
+
readonly internalType: "int16";
|
|
15936
|
+
readonly name: "loLowerConstBase1e4";
|
|
15937
|
+
readonly type: "int16";
|
|
15938
|
+
}, {
|
|
15939
|
+
readonly internalType: "int16";
|
|
15940
|
+
readonly name: "loLowerSlopeBase1e4";
|
|
15941
|
+
readonly type: "int16";
|
|
15942
|
+
}];
|
|
15943
|
+
readonly internalType: "struct IZoneResponder.RateDeviationConfig";
|
|
15944
|
+
readonly name: "newRateDeviationConfig";
|
|
15945
|
+
readonly type: "tuple";
|
|
15946
|
+
}];
|
|
15947
|
+
readonly name: "setRateDeviationConfig";
|
|
15948
|
+
readonly outputs: readonly [];
|
|
15949
|
+
readonly stateMutability: "nonpayable";
|
|
15950
|
+
readonly type: "function";
|
|
15951
|
+
}, {
|
|
15952
|
+
readonly inputs: readonly [{
|
|
15953
|
+
readonly internalType: "MarketId";
|
|
15954
|
+
readonly name: "marketId";
|
|
15955
|
+
readonly type: "uint24";
|
|
15956
|
+
}];
|
|
15957
|
+
readonly name: "turnOnCLO";
|
|
15958
|
+
readonly outputs: readonly [];
|
|
15959
|
+
readonly stateMutability: "nonpayable";
|
|
14663
15960
|
readonly type: "function";
|
|
14664
15961
|
}];
|
|
14665
15962
|
export declare const iMultiTokenMerkleDistributorAbi: readonly [{
|
|
@@ -14848,3 +16145,74 @@ export declare const iMultiTokenMerkleDistributorAbi: readonly [{
|
|
|
14848
16145
|
readonly stateMutability: "nonpayable";
|
|
14849
16146
|
readonly type: "function";
|
|
14850
16147
|
}];
|
|
16148
|
+
export declare const iPVeTokenAbi: readonly [{
|
|
16149
|
+
readonly inputs: readonly [{
|
|
16150
|
+
readonly internalType: "address";
|
|
16151
|
+
readonly name: "user";
|
|
16152
|
+
readonly type: "address";
|
|
16153
|
+
}];
|
|
16154
|
+
readonly name: "balanceOf";
|
|
16155
|
+
readonly outputs: readonly [{
|
|
16156
|
+
readonly internalType: "uint128";
|
|
16157
|
+
readonly name: "";
|
|
16158
|
+
readonly type: "uint128";
|
|
16159
|
+
}];
|
|
16160
|
+
readonly stateMutability: "view";
|
|
16161
|
+
readonly type: "function";
|
|
16162
|
+
}, {
|
|
16163
|
+
readonly inputs: readonly [{
|
|
16164
|
+
readonly internalType: "address";
|
|
16165
|
+
readonly name: "user";
|
|
16166
|
+
readonly type: "address";
|
|
16167
|
+
}];
|
|
16168
|
+
readonly name: "positionData";
|
|
16169
|
+
readonly outputs: readonly [{
|
|
16170
|
+
readonly internalType: "uint128";
|
|
16171
|
+
readonly name: "amount";
|
|
16172
|
+
readonly type: "uint128";
|
|
16173
|
+
}, {
|
|
16174
|
+
readonly internalType: "uint128";
|
|
16175
|
+
readonly name: "expiry";
|
|
16176
|
+
readonly type: "uint128";
|
|
16177
|
+
}];
|
|
16178
|
+
readonly stateMutability: "view";
|
|
16179
|
+
readonly type: "function";
|
|
16180
|
+
}, {
|
|
16181
|
+
readonly inputs: readonly [{
|
|
16182
|
+
readonly internalType: "address";
|
|
16183
|
+
readonly name: "user";
|
|
16184
|
+
readonly type: "address";
|
|
16185
|
+
}];
|
|
16186
|
+
readonly name: "totalSupplyAndBalanceCurrent";
|
|
16187
|
+
readonly outputs: readonly [{
|
|
16188
|
+
readonly internalType: "uint128";
|
|
16189
|
+
readonly name: "";
|
|
16190
|
+
readonly type: "uint128";
|
|
16191
|
+
}, {
|
|
16192
|
+
readonly internalType: "uint128";
|
|
16193
|
+
readonly name: "";
|
|
16194
|
+
readonly type: "uint128";
|
|
16195
|
+
}];
|
|
16196
|
+
readonly stateMutability: "nonpayable";
|
|
16197
|
+
readonly type: "function";
|
|
16198
|
+
}, {
|
|
16199
|
+
readonly inputs: readonly [];
|
|
16200
|
+
readonly name: "totalSupplyCurrent";
|
|
16201
|
+
readonly outputs: readonly [{
|
|
16202
|
+
readonly internalType: "uint128";
|
|
16203
|
+
readonly name: "";
|
|
16204
|
+
readonly type: "uint128";
|
|
16205
|
+
}];
|
|
16206
|
+
readonly stateMutability: "nonpayable";
|
|
16207
|
+
readonly type: "function";
|
|
16208
|
+
}, {
|
|
16209
|
+
readonly inputs: readonly [];
|
|
16210
|
+
readonly name: "totalSupplyStored";
|
|
16211
|
+
readonly outputs: readonly [{
|
|
16212
|
+
readonly internalType: "uint128";
|
|
16213
|
+
readonly name: "";
|
|
16214
|
+
readonly type: "uint128";
|
|
16215
|
+
}];
|
|
16216
|
+
readonly stateMutability: "view";
|
|
16217
|
+
readonly type: "function";
|
|
16218
|
+
}];
|