@meterio/sumer-js 0.2.29 → 0.2.31
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 +10 -10
- package/dist/nodejs/abi.d.ts +175 -214
- package/dist/nodejs/abi.js +9208 -9987
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +4 -4
- package/dist/nodejs/constants/arbitrum.js +12 -12
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +4 -4
- package/dist/nodejs/constants/basemain.js +12 -12
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +4 -4
- package/dist/nodejs/constants/basetest.js +9 -9
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +5 -4
- package/dist/nodejs/constants/ethereum.js +25 -13
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +4 -4
- package/dist/nodejs/constants/metermain.js +9 -9
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +5 -5
- package/dist/nodejs/constants/metertest.js +46 -47
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +28 -4
- package/dist/nodejs/constants/sepolia.js +68 -16
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/errorABIs.js +141 -658
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/errors.d.ts +48 -20
- package/dist/nodejs/errors.js +48 -20
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +175 -214
- package/dist/nodejs/typechain/@chainlink/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +12 -411
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +358 -709
- package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +163 -207
- package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +1 -3
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +4 -407
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -19
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +122 -130
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.d.ts +488 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.d.ts +193 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.d.ts +65 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.d.ts +1 -15
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +321 -138
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +6 -4
- package/dist/nodejs/typechain/contracts/Timelock.d.ts +14 -4
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +131 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +9 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +30 -30
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +38 -37
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +2 -357
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +2 -445
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +28 -20
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +36 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +30 -34
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +38 -42
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +31 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +40 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +107 -221
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +117 -265
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +299 -1054
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +380 -1375
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +9 -25
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +11 -31
- 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/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +1 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +0 -365
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +0 -456
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -28
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +108 -222
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +135 -287
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.d.ts +543 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js +712 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.d.ts +265 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js +356 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.d.ts +473 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js +624 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.d.ts +51 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js +78 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.d.ts +493 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js +652 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.d.ts +0 -18
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +0 -24
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +11 -3
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +398 -102
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +494 -110
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.d.ts +45 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js +71 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.d.ts +31 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js +52 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +3 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -9
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +29 -25
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +37 -31
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +178 -70
- package/dist/nodejs/typechain/index.d.ts +26 -14
- package/dist/nodejs/typechain/index.js +25 -14
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IPendlePtOracle__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "market",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint32",
|
|
18
|
+
name: "duration",
|
|
19
|
+
type: "uint32",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "getOracleState",
|
|
23
|
+
outputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "bool",
|
|
26
|
+
name: "increaseCardinalityRequired",
|
|
27
|
+
type: "bool",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint16",
|
|
31
|
+
name: "cardinalityRequired",
|
|
32
|
+
type: "uint16",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "bool",
|
|
36
|
+
name: "oldestObservationSatisfied",
|
|
37
|
+
type: "bool",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
stateMutability: "view",
|
|
41
|
+
type: "function",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "market",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
internalType: "uint32",
|
|
52
|
+
name: "duration",
|
|
53
|
+
type: "uint32",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "getPtToSyRate",
|
|
57
|
+
outputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "uint256",
|
|
60
|
+
name: "",
|
|
61
|
+
type: "uint256",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
stateMutability: "view",
|
|
65
|
+
type: "function",
|
|
66
|
+
},
|
|
67
|
+
];
|
|
68
|
+
class IPendlePtOracle__factory {
|
|
69
|
+
static createInterface() {
|
|
70
|
+
return new ethers_1.Interface(_abi);
|
|
71
|
+
}
|
|
72
|
+
static connect(address, runner) {
|
|
73
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.IPendlePtOracle__factory = IPendlePtOracle__factory;
|
|
77
|
+
IPendlePtOracle__factory.abi = _abi;
|
|
78
|
+
//# sourceMappingURL=IPendlePtOracle__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPendlePtOracle__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,gBAAgB;QACtB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,6BAA6B;gBACnC,IAAI,EAAE,MAAM;aACb;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,4BAA4B;gBAClC,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,wBAAwB;IAEnC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA6B,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA+B,CAAC;IAC3E,CAAC;;AAVH,4DAWC;AAViB,4BAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IStandardizedYield, IStandardizedYieldInterface } from "../../../contracts/Interfaces/IStandardizedYield";
|
|
3
|
+
export declare class IStandardizedYield__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly anonymous: false;
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: true;
|
|
8
|
+
readonly internalType: "address";
|
|
9
|
+
readonly name: "owner";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly indexed: true;
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "spender";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}, {
|
|
17
|
+
readonly indexed: false;
|
|
18
|
+
readonly internalType: "uint256";
|
|
19
|
+
readonly name: "value";
|
|
20
|
+
readonly type: "uint256";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "Approval";
|
|
23
|
+
readonly type: "event";
|
|
24
|
+
}, {
|
|
25
|
+
readonly anonymous: false;
|
|
26
|
+
readonly inputs: readonly [{
|
|
27
|
+
readonly indexed: true;
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "user";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly internalType: "address[]";
|
|
34
|
+
readonly name: "rewardTokens";
|
|
35
|
+
readonly type: "address[]";
|
|
36
|
+
}, {
|
|
37
|
+
readonly indexed: false;
|
|
38
|
+
readonly internalType: "uint256[]";
|
|
39
|
+
readonly name: "rewardAmounts";
|
|
40
|
+
readonly type: "uint256[]";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "ClaimRewards";
|
|
43
|
+
readonly type: "event";
|
|
44
|
+
}, {
|
|
45
|
+
readonly anonymous: false;
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly indexed: true;
|
|
48
|
+
readonly internalType: "address";
|
|
49
|
+
readonly name: "caller";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "receiver";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly indexed: true;
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "tokenIn";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}, {
|
|
62
|
+
readonly indexed: false;
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
readonly name: "amountDeposited";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
}, {
|
|
67
|
+
readonly indexed: false;
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "amountSyOut";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "Deposit";
|
|
73
|
+
readonly type: "event";
|
|
74
|
+
}, {
|
|
75
|
+
readonly anonymous: false;
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "caller";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: true;
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "receiver";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}, {
|
|
87
|
+
readonly indexed: true;
|
|
88
|
+
readonly internalType: "address";
|
|
89
|
+
readonly name: "tokenOut";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}, {
|
|
92
|
+
readonly indexed: false;
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
readonly name: "amountSyToRedeem";
|
|
95
|
+
readonly type: "uint256";
|
|
96
|
+
}, {
|
|
97
|
+
readonly indexed: false;
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
|
+
readonly name: "amountTokenOut";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "Redeem";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: true;
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "from";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: true;
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "to";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly indexed: false;
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
readonly name: "value";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "Transfer";
|
|
123
|
+
readonly type: "event";
|
|
124
|
+
}, {
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly internalType: "address";
|
|
127
|
+
readonly name: "user";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
}];
|
|
130
|
+
readonly name: "accruedRewards";
|
|
131
|
+
readonly outputs: readonly [{
|
|
132
|
+
readonly internalType: "uint256[]";
|
|
133
|
+
readonly name: "rewardAmounts";
|
|
134
|
+
readonly type: "uint256[]";
|
|
135
|
+
}];
|
|
136
|
+
readonly stateMutability: "view";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "owner";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
readonly name: "spender";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}];
|
|
148
|
+
readonly name: "allowance";
|
|
149
|
+
readonly outputs: readonly [{
|
|
150
|
+
readonly internalType: "uint256";
|
|
151
|
+
readonly name: "";
|
|
152
|
+
readonly type: "uint256";
|
|
153
|
+
}];
|
|
154
|
+
readonly stateMutability: "view";
|
|
155
|
+
readonly type: "function";
|
|
156
|
+
}, {
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
readonly name: "spender";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
readonly name: "amount";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "approve";
|
|
167
|
+
readonly outputs: readonly [{
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
readonly name: "";
|
|
170
|
+
readonly type: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly stateMutability: "nonpayable";
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
}, {
|
|
175
|
+
readonly inputs: readonly [];
|
|
176
|
+
readonly name: "assetInfo";
|
|
177
|
+
readonly outputs: readonly [{
|
|
178
|
+
readonly internalType: "enum IStandardizedYield.AssetType";
|
|
179
|
+
readonly name: "assetType";
|
|
180
|
+
readonly type: "uint8";
|
|
181
|
+
}, {
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "assetAddress";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}, {
|
|
186
|
+
readonly internalType: "uint8";
|
|
187
|
+
readonly name: "assetDecimals";
|
|
188
|
+
readonly type: "uint8";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "view";
|
|
191
|
+
readonly type: "function";
|
|
192
|
+
}, {
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly internalType: "address";
|
|
195
|
+
readonly name: "account";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
}];
|
|
198
|
+
readonly name: "balanceOf";
|
|
199
|
+
readonly outputs: readonly [{
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}];
|
|
204
|
+
readonly stateMutability: "view";
|
|
205
|
+
readonly type: "function";
|
|
206
|
+
}, {
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly name: "user";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
}];
|
|
212
|
+
readonly name: "claimRewards";
|
|
213
|
+
readonly outputs: readonly [{
|
|
214
|
+
readonly internalType: "uint256[]";
|
|
215
|
+
readonly name: "rewardAmounts";
|
|
216
|
+
readonly type: "uint256[]";
|
|
217
|
+
}];
|
|
218
|
+
readonly stateMutability: "nonpayable";
|
|
219
|
+
readonly type: "function";
|
|
220
|
+
}, {
|
|
221
|
+
readonly inputs: readonly [];
|
|
222
|
+
readonly name: "decimals";
|
|
223
|
+
readonly outputs: readonly [{
|
|
224
|
+
readonly internalType: "uint8";
|
|
225
|
+
readonly name: "";
|
|
226
|
+
readonly type: "uint8";
|
|
227
|
+
}];
|
|
228
|
+
readonly stateMutability: "view";
|
|
229
|
+
readonly type: "function";
|
|
230
|
+
}, {
|
|
231
|
+
readonly inputs: readonly [{
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "receiver";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
readonly name: "tokenIn";
|
|
238
|
+
readonly type: "address";
|
|
239
|
+
}, {
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "amountTokenToDeposit";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly internalType: "uint256";
|
|
245
|
+
readonly name: "minSharesOut";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
}];
|
|
248
|
+
readonly name: "deposit";
|
|
249
|
+
readonly outputs: readonly [{
|
|
250
|
+
readonly internalType: "uint256";
|
|
251
|
+
readonly name: "amountSharesOut";
|
|
252
|
+
readonly type: "uint256";
|
|
253
|
+
}];
|
|
254
|
+
readonly stateMutability: "payable";
|
|
255
|
+
readonly type: "function";
|
|
256
|
+
}, {
|
|
257
|
+
readonly inputs: readonly [];
|
|
258
|
+
readonly name: "exchangeRate";
|
|
259
|
+
readonly outputs: readonly [{
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "res";
|
|
262
|
+
readonly type: "uint256";
|
|
263
|
+
}];
|
|
264
|
+
readonly stateMutability: "view";
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
}, {
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly name: "getRewardTokens";
|
|
269
|
+
readonly outputs: readonly [{
|
|
270
|
+
readonly internalType: "address[]";
|
|
271
|
+
readonly name: "";
|
|
272
|
+
readonly type: "address[]";
|
|
273
|
+
}];
|
|
274
|
+
readonly stateMutability: "view";
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
}, {
|
|
277
|
+
readonly inputs: readonly [];
|
|
278
|
+
readonly name: "getTokensIn";
|
|
279
|
+
readonly outputs: readonly [{
|
|
280
|
+
readonly internalType: "address[]";
|
|
281
|
+
readonly name: "res";
|
|
282
|
+
readonly type: "address[]";
|
|
283
|
+
}];
|
|
284
|
+
readonly stateMutability: "view";
|
|
285
|
+
readonly type: "function";
|
|
286
|
+
}, {
|
|
287
|
+
readonly inputs: readonly [];
|
|
288
|
+
readonly name: "getTokensOut";
|
|
289
|
+
readonly outputs: readonly [{
|
|
290
|
+
readonly internalType: "address[]";
|
|
291
|
+
readonly name: "res";
|
|
292
|
+
readonly type: "address[]";
|
|
293
|
+
}];
|
|
294
|
+
readonly stateMutability: "view";
|
|
295
|
+
readonly type: "function";
|
|
296
|
+
}, {
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
readonly name: "token";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "isValidTokenIn";
|
|
303
|
+
readonly outputs: readonly [{
|
|
304
|
+
readonly internalType: "bool";
|
|
305
|
+
readonly name: "";
|
|
306
|
+
readonly type: "bool";
|
|
307
|
+
}];
|
|
308
|
+
readonly stateMutability: "view";
|
|
309
|
+
readonly type: "function";
|
|
310
|
+
}, {
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
readonly name: "token";
|
|
314
|
+
readonly type: "address";
|
|
315
|
+
}];
|
|
316
|
+
readonly name: "isValidTokenOut";
|
|
317
|
+
readonly outputs: readonly [{
|
|
318
|
+
readonly internalType: "bool";
|
|
319
|
+
readonly name: "";
|
|
320
|
+
readonly type: "bool";
|
|
321
|
+
}];
|
|
322
|
+
readonly stateMutability: "view";
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
}, {
|
|
325
|
+
readonly inputs: readonly [];
|
|
326
|
+
readonly name: "name";
|
|
327
|
+
readonly outputs: readonly [{
|
|
328
|
+
readonly internalType: "string";
|
|
329
|
+
readonly name: "";
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
}];
|
|
332
|
+
readonly stateMutability: "view";
|
|
333
|
+
readonly type: "function";
|
|
334
|
+
}, {
|
|
335
|
+
readonly inputs: readonly [{
|
|
336
|
+
readonly internalType: "address";
|
|
337
|
+
readonly name: "tokenIn";
|
|
338
|
+
readonly type: "address";
|
|
339
|
+
}, {
|
|
340
|
+
readonly internalType: "uint256";
|
|
341
|
+
readonly name: "amountTokenToDeposit";
|
|
342
|
+
readonly type: "uint256";
|
|
343
|
+
}];
|
|
344
|
+
readonly name: "previewDeposit";
|
|
345
|
+
readonly outputs: readonly [{
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "amountSharesOut";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}];
|
|
350
|
+
readonly stateMutability: "view";
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
}, {
|
|
353
|
+
readonly inputs: readonly [{
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
readonly name: "tokenOut";
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
readonly name: "amountSharesToRedeem";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}];
|
|
362
|
+
readonly name: "previewRedeem";
|
|
363
|
+
readonly outputs: readonly [{
|
|
364
|
+
readonly internalType: "uint256";
|
|
365
|
+
readonly name: "amountTokenOut";
|
|
366
|
+
readonly type: "uint256";
|
|
367
|
+
}];
|
|
368
|
+
readonly stateMutability: "view";
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
}, {
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "receiver";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "uint256";
|
|
377
|
+
readonly name: "amountSharesToRedeem";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "address";
|
|
381
|
+
readonly name: "tokenOut";
|
|
382
|
+
readonly type: "address";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "uint256";
|
|
385
|
+
readonly name: "minTokenOut";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "bool";
|
|
389
|
+
readonly name: "burnFromInternalBalance";
|
|
390
|
+
readonly type: "bool";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "redeem";
|
|
393
|
+
readonly outputs: readonly [{
|
|
394
|
+
readonly internalType: "uint256";
|
|
395
|
+
readonly name: "amountTokenOut";
|
|
396
|
+
readonly type: "uint256";
|
|
397
|
+
}];
|
|
398
|
+
readonly stateMutability: "nonpayable";
|
|
399
|
+
readonly type: "function";
|
|
400
|
+
}, {
|
|
401
|
+
readonly inputs: readonly [];
|
|
402
|
+
readonly name: "rewardIndexesCurrent";
|
|
403
|
+
readonly outputs: readonly [{
|
|
404
|
+
readonly internalType: "uint256[]";
|
|
405
|
+
readonly name: "indexes";
|
|
406
|
+
readonly type: "uint256[]";
|
|
407
|
+
}];
|
|
408
|
+
readonly stateMutability: "nonpayable";
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
}, {
|
|
411
|
+
readonly inputs: readonly [];
|
|
412
|
+
readonly name: "rewardIndexesStored";
|
|
413
|
+
readonly outputs: readonly [{
|
|
414
|
+
readonly internalType: "uint256[]";
|
|
415
|
+
readonly name: "indexes";
|
|
416
|
+
readonly type: "uint256[]";
|
|
417
|
+
}];
|
|
418
|
+
readonly stateMutability: "view";
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
}, {
|
|
421
|
+
readonly inputs: readonly [];
|
|
422
|
+
readonly name: "symbol";
|
|
423
|
+
readonly outputs: readonly [{
|
|
424
|
+
readonly internalType: "string";
|
|
425
|
+
readonly name: "";
|
|
426
|
+
readonly type: "string";
|
|
427
|
+
}];
|
|
428
|
+
readonly stateMutability: "view";
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
}, {
|
|
431
|
+
readonly inputs: readonly [];
|
|
432
|
+
readonly name: "totalSupply";
|
|
433
|
+
readonly outputs: readonly [{
|
|
434
|
+
readonly internalType: "uint256";
|
|
435
|
+
readonly name: "";
|
|
436
|
+
readonly type: "uint256";
|
|
437
|
+
}];
|
|
438
|
+
readonly stateMutability: "view";
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
}, {
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
readonly name: "to";
|
|
444
|
+
readonly type: "address";
|
|
445
|
+
}, {
|
|
446
|
+
readonly internalType: "uint256";
|
|
447
|
+
readonly name: "amount";
|
|
448
|
+
readonly type: "uint256";
|
|
449
|
+
}];
|
|
450
|
+
readonly name: "transfer";
|
|
451
|
+
readonly outputs: readonly [{
|
|
452
|
+
readonly internalType: "bool";
|
|
453
|
+
readonly name: "";
|
|
454
|
+
readonly type: "bool";
|
|
455
|
+
}];
|
|
456
|
+
readonly stateMutability: "nonpayable";
|
|
457
|
+
readonly type: "function";
|
|
458
|
+
}, {
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly name: "from";
|
|
462
|
+
readonly type: "address";
|
|
463
|
+
}, {
|
|
464
|
+
readonly internalType: "address";
|
|
465
|
+
readonly name: "to";
|
|
466
|
+
readonly type: "address";
|
|
467
|
+
}, {
|
|
468
|
+
readonly internalType: "uint256";
|
|
469
|
+
readonly name: "amount";
|
|
470
|
+
readonly type: "uint256";
|
|
471
|
+
}];
|
|
472
|
+
readonly name: "transferFrom";
|
|
473
|
+
readonly outputs: readonly [{
|
|
474
|
+
readonly internalType: "bool";
|
|
475
|
+
readonly name: "";
|
|
476
|
+
readonly type: "bool";
|
|
477
|
+
}];
|
|
478
|
+
readonly stateMutability: "nonpayable";
|
|
479
|
+
readonly type: "function";
|
|
480
|
+
}, {
|
|
481
|
+
readonly inputs: readonly [];
|
|
482
|
+
readonly name: "yieldToken";
|
|
483
|
+
readonly outputs: readonly [{
|
|
484
|
+
readonly internalType: "address";
|
|
485
|
+
readonly name: "";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
}];
|
|
488
|
+
readonly stateMutability: "view";
|
|
489
|
+
readonly type: "function";
|
|
490
|
+
}];
|
|
491
|
+
static createInterface(): IStandardizedYieldInterface;
|
|
492
|
+
static connect(address: string, runner?: ContractRunner | null): IStandardizedYield;
|
|
493
|
+
}
|