@meterio/sumer-js 0.2.76 → 0.2.78
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/browser/sumer.min.js +18 -0
- package/dist/nodejs/abi.d.ts +72 -0
- package/dist/nodejs/abi.js +104 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/b2main.d.ts +57 -0
- package/dist/nodejs/constants/b2main.js +134 -0
- package/dist/nodejs/constants/b2main.js.map +1 -0
- package/dist/nodejs/constants/index.js +2 -0
- package/dist/nodejs/constants/index.js.map +1 -1
- package/dist/nodejs/index.d.ts +72 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/index.d.ts +0 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +31 -90
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +1 -68
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -8
- package/dist/nodejs/typechain/contracts/Test.sol/GasBoundCaller.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Test.sol/GasBoundCaller.js +3 -0
- package/dist/nodejs/typechain/contracts/Test.sol/GasBoundCaller.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Test.sol/Test.d.ts +53 -0
- package/dist/nodejs/typechain/contracts/Test.sol/Test.js +3 -0
- package/dist/nodejs/typechain/contracts/Test.sol/Test.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Test.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Test.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.js +1 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +1 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -45
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -47
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -59
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +30 -134
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +35 -168
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -10
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +0 -78
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +0 -99
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -5
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Test.sol/GasBoundCaller__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/GasBoundCaller__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/GasBoundCaller__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/Test__factory.d.ts +76 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/Test__factory.js +111 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/Test__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -37
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -46
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +0 -252
- package/dist/nodejs/typechain/index.d.ts +0 -28
- package/dist/nodejs/typechain/index.js +3 -31
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/abi.d.ts
CHANGED
|
@@ -1790,6 +1790,78 @@ export declare const abi: {
|
|
|
1790
1790
|
stateMutability: string;
|
|
1791
1791
|
type: string;
|
|
1792
1792
|
})[];
|
|
1793
|
+
IStEUR: {
|
|
1794
|
+
inputs: {
|
|
1795
|
+
internalType: string;
|
|
1796
|
+
name: string;
|
|
1797
|
+
type: string;
|
|
1798
|
+
}[];
|
|
1799
|
+
name: string;
|
|
1800
|
+
outputs: {
|
|
1801
|
+
internalType: string;
|
|
1802
|
+
name: string;
|
|
1803
|
+
type: string;
|
|
1804
|
+
}[];
|
|
1805
|
+
stateMutability: string;
|
|
1806
|
+
type: string;
|
|
1807
|
+
}[];
|
|
1808
|
+
stEURAdapter: ({
|
|
1809
|
+
inputs: {
|
|
1810
|
+
internalType: string;
|
|
1811
|
+
name: string;
|
|
1812
|
+
type: string;
|
|
1813
|
+
}[];
|
|
1814
|
+
stateMutability: string;
|
|
1815
|
+
type: string;
|
|
1816
|
+
name?: undefined;
|
|
1817
|
+
outputs?: undefined;
|
|
1818
|
+
} | {
|
|
1819
|
+
inputs: any[];
|
|
1820
|
+
name: string;
|
|
1821
|
+
outputs: {
|
|
1822
|
+
internalType: string;
|
|
1823
|
+
name: string;
|
|
1824
|
+
type: string;
|
|
1825
|
+
}[];
|
|
1826
|
+
stateMutability: string;
|
|
1827
|
+
type: string;
|
|
1828
|
+
})[];
|
|
1829
|
+
IStUSD: {
|
|
1830
|
+
inputs: {
|
|
1831
|
+
internalType: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
type: string;
|
|
1834
|
+
}[];
|
|
1835
|
+
name: string;
|
|
1836
|
+
outputs: {
|
|
1837
|
+
internalType: string;
|
|
1838
|
+
name: string;
|
|
1839
|
+
type: string;
|
|
1840
|
+
}[];
|
|
1841
|
+
stateMutability: string;
|
|
1842
|
+
type: string;
|
|
1843
|
+
}[];
|
|
1844
|
+
stUSDAdapter: ({
|
|
1845
|
+
inputs: {
|
|
1846
|
+
internalType: string;
|
|
1847
|
+
name: string;
|
|
1848
|
+
type: string;
|
|
1849
|
+
}[];
|
|
1850
|
+
stateMutability: string;
|
|
1851
|
+
type: string;
|
|
1852
|
+
name?: undefined;
|
|
1853
|
+
outputs?: undefined;
|
|
1854
|
+
} | {
|
|
1855
|
+
inputs: any[];
|
|
1856
|
+
name: string;
|
|
1857
|
+
outputs: {
|
|
1858
|
+
internalType: string;
|
|
1859
|
+
name: string;
|
|
1860
|
+
type: string;
|
|
1861
|
+
}[];
|
|
1862
|
+
stateMutability: string;
|
|
1863
|
+
type: string;
|
|
1864
|
+
})[];
|
|
1793
1865
|
wstMTRGOracle: ({
|
|
1794
1866
|
inputs: {
|
|
1795
1867
|
internalType: string;
|
package/dist/nodejs/abi.js
CHANGED
|
@@ -29556,6 +29556,110 @@ exports.abi = {
|
|
|
29556
29556
|
"type": "function"
|
|
29557
29557
|
}
|
|
29558
29558
|
],
|
|
29559
|
+
"IStEUR": [
|
|
29560
|
+
{
|
|
29561
|
+
"inputs": [
|
|
29562
|
+
{
|
|
29563
|
+
"internalType": "uint256",
|
|
29564
|
+
"name": "shares",
|
|
29565
|
+
"type": "uint256"
|
|
29566
|
+
}
|
|
29567
|
+
],
|
|
29568
|
+
"name": "previewRedeem",
|
|
29569
|
+
"outputs": [
|
|
29570
|
+
{
|
|
29571
|
+
"internalType": "uint256",
|
|
29572
|
+
"name": "",
|
|
29573
|
+
"type": "uint256"
|
|
29574
|
+
}
|
|
29575
|
+
],
|
|
29576
|
+
"stateMutability": "view",
|
|
29577
|
+
"type": "function"
|
|
29578
|
+
}
|
|
29579
|
+
],
|
|
29580
|
+
"stEURAdapter": [
|
|
29581
|
+
{
|
|
29582
|
+
"inputs": [
|
|
29583
|
+
{
|
|
29584
|
+
"internalType": "address",
|
|
29585
|
+
"name": "_correlatedToken",
|
|
29586
|
+
"type": "address"
|
|
29587
|
+
},
|
|
29588
|
+
{
|
|
29589
|
+
"internalType": "address",
|
|
29590
|
+
"name": "_underlyingToken",
|
|
29591
|
+
"type": "address"
|
|
29592
|
+
}
|
|
29593
|
+
],
|
|
29594
|
+
"stateMutability": "nonpayable",
|
|
29595
|
+
"type": "constructor"
|
|
29596
|
+
},
|
|
29597
|
+
{
|
|
29598
|
+
"inputs": [],
|
|
29599
|
+
"name": "exchangeRate",
|
|
29600
|
+
"outputs": [
|
|
29601
|
+
{
|
|
29602
|
+
"internalType": "uint256",
|
|
29603
|
+
"name": "",
|
|
29604
|
+
"type": "uint256"
|
|
29605
|
+
}
|
|
29606
|
+
],
|
|
29607
|
+
"stateMutability": "view",
|
|
29608
|
+
"type": "function"
|
|
29609
|
+
}
|
|
29610
|
+
],
|
|
29611
|
+
"IStUSD": [
|
|
29612
|
+
{
|
|
29613
|
+
"inputs": [
|
|
29614
|
+
{
|
|
29615
|
+
"internalType": "uint256",
|
|
29616
|
+
"name": "shares",
|
|
29617
|
+
"type": "uint256"
|
|
29618
|
+
}
|
|
29619
|
+
],
|
|
29620
|
+
"name": "previewRedeem",
|
|
29621
|
+
"outputs": [
|
|
29622
|
+
{
|
|
29623
|
+
"internalType": "uint256",
|
|
29624
|
+
"name": "",
|
|
29625
|
+
"type": "uint256"
|
|
29626
|
+
}
|
|
29627
|
+
],
|
|
29628
|
+
"stateMutability": "view",
|
|
29629
|
+
"type": "function"
|
|
29630
|
+
}
|
|
29631
|
+
],
|
|
29632
|
+
"stUSDAdapter": [
|
|
29633
|
+
{
|
|
29634
|
+
"inputs": [
|
|
29635
|
+
{
|
|
29636
|
+
"internalType": "address",
|
|
29637
|
+
"name": "_correlatedToken",
|
|
29638
|
+
"type": "address"
|
|
29639
|
+
},
|
|
29640
|
+
{
|
|
29641
|
+
"internalType": "address",
|
|
29642
|
+
"name": "_underlyingToken",
|
|
29643
|
+
"type": "address"
|
|
29644
|
+
}
|
|
29645
|
+
],
|
|
29646
|
+
"stateMutability": "nonpayable",
|
|
29647
|
+
"type": "constructor"
|
|
29648
|
+
},
|
|
29649
|
+
{
|
|
29650
|
+
"inputs": [],
|
|
29651
|
+
"name": "exchangeRate",
|
|
29652
|
+
"outputs": [
|
|
29653
|
+
{
|
|
29654
|
+
"internalType": "uint256",
|
|
29655
|
+
"name": "",
|
|
29656
|
+
"type": "uint256"
|
|
29657
|
+
}
|
|
29658
|
+
],
|
|
29659
|
+
"stateMutability": "view",
|
|
29660
|
+
"type": "function"
|
|
29661
|
+
}
|
|
29662
|
+
],
|
|
29559
29663
|
"wstMTRGOracle": [
|
|
29560
29664
|
{
|
|
29561
29665
|
"inputs": [
|