@meterio/sumer-js 0.2.103 → 0.2.105
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 +0 -146
- package/dist/nodejs/abi.js +0 -4151
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +6 -0
- package/dist/nodejs/constants/beramain.js +45 -5
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/errorABIs.js +0 -1207
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +0 -146
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.d.ts +69 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +40 -9
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +98 -35
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.d.ts +1124 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.d.ts +118 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +376 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +276 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.d.ts +354 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +5 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.d.ts +53 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.d.ts +59 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +43 -1
- package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.d.ts +47 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js +72 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +39 -11
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +49 -13
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +57 -7
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +71 -8
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +56 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +70 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +57 -7
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +71 -8
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
- 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 +162 -30
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +203 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
- 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/Infrared/CInfraredVault__factory.d.ts +1887 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +2444 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.d.ts +124 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js +171 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +439 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +579 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +310 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +412 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.d.ts +396 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js +525 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +5 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +17 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.d.ts +47 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js +72 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.d.ts +61 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js +90 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.d.ts +55 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js +82 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
- 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/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +47 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/solmate/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/index.js +31 -0
- package/dist/nodejs/typechain/factories/solmate/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js +317 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js +9 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js.map +1 -0
- package/dist/nodejs/typechain/hardhat.d.ts +0 -90
- package/dist/nodejs/typechain/index.d.ts +0 -10
- package/dist/nodejs/typechain/index.js +3 -13
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/dist/nodejs/typechain/solmate/index.d.ts +2 -0
- package/dist/nodejs/typechain/solmate/index.js +3 -0
- package/dist/nodejs/typechain/solmate/index.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/solmate/src/index.js +3 -0
- package/dist/nodejs/typechain/solmate/src/index.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js +3 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.d.ts +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.js +3 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.js.map +1 -0
- package/package.json +1 -1
package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { TimeWeightedMultiRewards, TimeWeightedMultiRewardsInterface } from "../../../contracts/Infrared/TimeWeightedMultiRewards";
|
|
3
|
+
export declare class TimeWeightedMultiRewards__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "CantWithdrawRewardToken";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly anonymous: false;
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly indexed: false;
|
|
12
|
+
readonly internalType: "uint8";
|
|
13
|
+
readonly name: "version";
|
|
14
|
+
readonly type: "uint8";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "Initialized";
|
|
17
|
+
readonly type: "event";
|
|
18
|
+
}, {
|
|
19
|
+
readonly anonymous: false;
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly indexed: false;
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "account";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}];
|
|
26
|
+
readonly name: "Paused";
|
|
27
|
+
readonly type: "event";
|
|
28
|
+
}, {
|
|
29
|
+
readonly anonymous: false;
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly indexed: false;
|
|
32
|
+
readonly internalType: "address";
|
|
33
|
+
readonly name: "token";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly indexed: false;
|
|
37
|
+
readonly internalType: "uint256";
|
|
38
|
+
readonly name: "amount";
|
|
39
|
+
readonly type: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "Recovered";
|
|
42
|
+
readonly type: "event";
|
|
43
|
+
}, {
|
|
44
|
+
readonly anonymous: false;
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly indexed: true;
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
readonly name: "rewardsToken";
|
|
49
|
+
readonly type: "address";
|
|
50
|
+
}, {
|
|
51
|
+
readonly indexed: false;
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "reward";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "RewardAdded";
|
|
57
|
+
readonly type: "event";
|
|
58
|
+
}, {
|
|
59
|
+
readonly anonymous: false;
|
|
60
|
+
readonly inputs: readonly [{
|
|
61
|
+
readonly indexed: true;
|
|
62
|
+
readonly internalType: "address";
|
|
63
|
+
readonly name: "user";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
}, {
|
|
66
|
+
readonly indexed: true;
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
readonly name: "rewardsToken";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}, {
|
|
71
|
+
readonly indexed: false;
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
readonly name: "reward";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
}];
|
|
76
|
+
readonly name: "RewardPaid";
|
|
77
|
+
readonly type: "event";
|
|
78
|
+
}, {
|
|
79
|
+
readonly anonymous: false;
|
|
80
|
+
readonly inputs: readonly [{
|
|
81
|
+
readonly indexed: true;
|
|
82
|
+
readonly internalType: "address";
|
|
83
|
+
readonly name: "user";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}, {
|
|
86
|
+
readonly indexed: false;
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly name: "amount";
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
}];
|
|
91
|
+
readonly name: "Staked";
|
|
92
|
+
readonly type: "event";
|
|
93
|
+
}, {
|
|
94
|
+
readonly anonymous: false;
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly indexed: false;
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "account";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
}];
|
|
101
|
+
readonly name: "Unpaused";
|
|
102
|
+
readonly type: "event";
|
|
103
|
+
}, {
|
|
104
|
+
readonly anonymous: false;
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly indexed: true;
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
readonly name: "user";
|
|
109
|
+
readonly type: "address";
|
|
110
|
+
}, {
|
|
111
|
+
readonly indexed: false;
|
|
112
|
+
readonly internalType: "uint256";
|
|
113
|
+
readonly name: "amount";
|
|
114
|
+
readonly type: "uint256";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "Withdrawn";
|
|
117
|
+
readonly type: "event";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly name: "";
|
|
122
|
+
readonly type: "address";
|
|
123
|
+
}];
|
|
124
|
+
readonly name: "_shares";
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
readonly name: "shares";
|
|
128
|
+
readonly type: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly internalType: "uint256";
|
|
131
|
+
readonly name: "lastUpdateTime";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly stateMutability: "view";
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
}, {
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "account";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "_rewardsToken";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "earned";
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly stateMutability: "view";
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
}, {
|
|
155
|
+
readonly inputs: readonly [];
|
|
156
|
+
readonly name: "getReward";
|
|
157
|
+
readonly outputs: readonly [];
|
|
158
|
+
readonly stateMutability: "nonpayable";
|
|
159
|
+
readonly type: "function";
|
|
160
|
+
}, {
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly internalType: "address";
|
|
163
|
+
readonly name: "_user";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "getRewardForUser";
|
|
167
|
+
readonly outputs: readonly [];
|
|
168
|
+
readonly stateMutability: "nonpayable";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
}, {
|
|
171
|
+
readonly inputs: readonly [];
|
|
172
|
+
readonly name: "paused";
|
|
173
|
+
readonly outputs: readonly [{
|
|
174
|
+
readonly internalType: "bool";
|
|
175
|
+
readonly name: "";
|
|
176
|
+
readonly type: "bool";
|
|
177
|
+
}];
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
readonly name: "index";
|
|
184
|
+
readonly type: "uint256";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "rewardTokens";
|
|
187
|
+
readonly outputs: readonly [{
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
}];
|
|
192
|
+
readonly stateMutability: "view";
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
}, {
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "account";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "shareOf";
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly internalType: "uint256";
|
|
203
|
+
readonly name: "_share";
|
|
204
|
+
readonly type: "uint256";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
readonly type: "function";
|
|
208
|
+
}, {
|
|
209
|
+
readonly inputs: readonly [];
|
|
210
|
+
readonly name: "stakingToken";
|
|
211
|
+
readonly outputs: readonly [{
|
|
212
|
+
readonly internalType: "contract ERC20";
|
|
213
|
+
readonly name: "";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}];
|
|
216
|
+
readonly stateMutability: "view";
|
|
217
|
+
readonly type: "function";
|
|
218
|
+
}, {
|
|
219
|
+
readonly inputs: readonly [];
|
|
220
|
+
readonly name: "totalShares";
|
|
221
|
+
readonly outputs: readonly [{
|
|
222
|
+
readonly internalType: "uint256";
|
|
223
|
+
readonly name: "";
|
|
224
|
+
readonly type: "uint256";
|
|
225
|
+
}];
|
|
226
|
+
readonly stateMutability: "view";
|
|
227
|
+
readonly type: "function";
|
|
228
|
+
}, {
|
|
229
|
+
readonly inputs: readonly [];
|
|
230
|
+
readonly name: "totalStaked";
|
|
231
|
+
readonly outputs: readonly [{
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
readonly name: "";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}];
|
|
236
|
+
readonly stateMutability: "view";
|
|
237
|
+
readonly type: "function";
|
|
238
|
+
}];
|
|
239
|
+
static createInterface(): TimeWeightedMultiRewardsInterface;
|
|
240
|
+
static connect(address: string, runner?: ContractRunner | null): TimeWeightedMultiRewards;
|
|
241
|
+
}
|
package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
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.TimeWeightedMultiRewards__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "CantWithdrawRewardToken",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
anonymous: false,
|
|
16
|
+
inputs: [
|
|
17
|
+
{
|
|
18
|
+
indexed: false,
|
|
19
|
+
internalType: "uint8",
|
|
20
|
+
name: "version",
|
|
21
|
+
type: "uint8",
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
name: "Initialized",
|
|
25
|
+
type: "event",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
anonymous: false,
|
|
29
|
+
inputs: [
|
|
30
|
+
{
|
|
31
|
+
indexed: false,
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "account",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
name: "Paused",
|
|
38
|
+
type: "event",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
anonymous: false,
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "token",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "uint256",
|
|
52
|
+
name: "amount",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "Recovered",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
anonymous: false,
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "rewardsToken",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "reward",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "RewardAdded",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
anonymous: false,
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
indexed: true,
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "user",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
indexed: true,
|
|
89
|
+
internalType: "address",
|
|
90
|
+
name: "rewardsToken",
|
|
91
|
+
type: "address",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
indexed: false,
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "reward",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "RewardPaid",
|
|
101
|
+
type: "event",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
anonymous: false,
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
indexed: true,
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "user",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
indexed: false,
|
|
114
|
+
internalType: "uint256",
|
|
115
|
+
name: "amount",
|
|
116
|
+
type: "uint256",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
name: "Staked",
|
|
120
|
+
type: "event",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
anonymous: false,
|
|
124
|
+
inputs: [
|
|
125
|
+
{
|
|
126
|
+
indexed: false,
|
|
127
|
+
internalType: "address",
|
|
128
|
+
name: "account",
|
|
129
|
+
type: "address",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
name: "Unpaused",
|
|
133
|
+
type: "event",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
anonymous: false,
|
|
137
|
+
inputs: [
|
|
138
|
+
{
|
|
139
|
+
indexed: true,
|
|
140
|
+
internalType: "address",
|
|
141
|
+
name: "user",
|
|
142
|
+
type: "address",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
indexed: false,
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "amount",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
name: "Withdrawn",
|
|
152
|
+
type: "event",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "_shares",
|
|
163
|
+
outputs: [
|
|
164
|
+
{
|
|
165
|
+
internalType: "uint256",
|
|
166
|
+
name: "shares",
|
|
167
|
+
type: "uint256",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
internalType: "uint256",
|
|
171
|
+
name: "lastUpdateTime",
|
|
172
|
+
type: "uint256",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
stateMutability: "view",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
inputs: [
|
|
180
|
+
{
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "account",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "_rewardsToken",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
name: "earned",
|
|
192
|
+
outputs: [
|
|
193
|
+
{
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
stateMutability: "view",
|
|
200
|
+
type: "function",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
inputs: [],
|
|
204
|
+
name: "getReward",
|
|
205
|
+
outputs: [],
|
|
206
|
+
stateMutability: "nonpayable",
|
|
207
|
+
type: "function",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
internalType: "address",
|
|
213
|
+
name: "_user",
|
|
214
|
+
type: "address",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
name: "getRewardForUser",
|
|
218
|
+
outputs: [],
|
|
219
|
+
stateMutability: "nonpayable",
|
|
220
|
+
type: "function",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
inputs: [],
|
|
224
|
+
name: "paused",
|
|
225
|
+
outputs: [
|
|
226
|
+
{
|
|
227
|
+
internalType: "bool",
|
|
228
|
+
name: "",
|
|
229
|
+
type: "bool",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
stateMutability: "view",
|
|
233
|
+
type: "function",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
inputs: [
|
|
237
|
+
{
|
|
238
|
+
internalType: "uint256",
|
|
239
|
+
name: "index",
|
|
240
|
+
type: "uint256",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "rewardTokens",
|
|
244
|
+
outputs: [
|
|
245
|
+
{
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
stateMutability: "view",
|
|
252
|
+
type: "function",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
inputs: [
|
|
256
|
+
{
|
|
257
|
+
internalType: "address",
|
|
258
|
+
name: "account",
|
|
259
|
+
type: "address",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
name: "shareOf",
|
|
263
|
+
outputs: [
|
|
264
|
+
{
|
|
265
|
+
internalType: "uint256",
|
|
266
|
+
name: "_share",
|
|
267
|
+
type: "uint256",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
stateMutability: "view",
|
|
271
|
+
type: "function",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
inputs: [],
|
|
275
|
+
name: "stakingToken",
|
|
276
|
+
outputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "contract ERC20",
|
|
279
|
+
name: "",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
stateMutability: "view",
|
|
284
|
+
type: "function",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
inputs: [],
|
|
288
|
+
name: "totalShares",
|
|
289
|
+
outputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
stateMutability: "view",
|
|
297
|
+
type: "function",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
inputs: [],
|
|
301
|
+
name: "totalStaked",
|
|
302
|
+
outputs: [
|
|
303
|
+
{
|
|
304
|
+
internalType: "uint256",
|
|
305
|
+
name: "",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
stateMutability: "view",
|
|
310
|
+
type: "function",
|
|
311
|
+
},
|
|
312
|
+
];
|
|
313
|
+
class TimeWeightedMultiRewards__factory {
|
|
314
|
+
static createInterface() {
|
|
315
|
+
return new ethers_1.Interface(_abi);
|
|
316
|
+
}
|
|
317
|
+
static connect(address, runner) {
|
|
318
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
exports.TimeWeightedMultiRewards__factory = TimeWeightedMultiRewards__factory;
|
|
322
|
+
TimeWeightedMultiRewards__factory.abi = _abi;
|
|
323
|
+
//# sourceMappingURL=TimeWeightedMultiRewards__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeWeightedMultiRewards__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI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QACnB,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;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,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,iCAAiC;IAE5C,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAsC,CAAC;IAClE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CACgC,CAAC;IAC3C,CAAC;;AAdH,8EAeC;AAdiB,qCAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { CInfraredVault__factory } from "./CInfraredVault__factory";
|
|
2
|
+
export { IInfraredRewards__factory } from "./IInfraredRewards__factory";
|
|
3
|
+
export { IInfraredVault__factory } from "./IInfraredVault__factory";
|
|
4
|
+
export { IMultiRewards__factory } from "./IMultiRewards__factory";
|
|
5
|
+
export { MultiRewards__factory } from "./MultiRewards__factory";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MultiRewards__factory = exports.IMultiRewards__factory = exports.IInfraredVault__factory = exports.IInfraredRewards__factory = exports.CInfraredVault__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var CInfraredVault__factory_1 = require("./CInfraredVault__factory");
|
|
8
|
+
Object.defineProperty(exports, "CInfraredVault__factory", { enumerable: true, get: function () { return CInfraredVault__factory_1.CInfraredVault__factory; } });
|
|
9
|
+
var IInfraredRewards__factory_1 = require("./IInfraredRewards__factory");
|
|
10
|
+
Object.defineProperty(exports, "IInfraredRewards__factory", { enumerable: true, get: function () { return IInfraredRewards__factory_1.IInfraredRewards__factory; } });
|
|
11
|
+
var IInfraredVault__factory_1 = require("./IInfraredVault__factory");
|
|
12
|
+
Object.defineProperty(exports, "IInfraredVault__factory", { enumerable: true, get: function () { return IInfraredVault__factory_1.IInfraredVault__factory; } });
|
|
13
|
+
var IMultiRewards__factory_1 = require("./IMultiRewards__factory");
|
|
14
|
+
Object.defineProperty(exports, "IMultiRewards__factory", { enumerable: true, get: function () { return IMultiRewards__factory_1.IMultiRewards__factory; } });
|
|
15
|
+
var MultiRewards__factory_1 = require("./MultiRewards__factory");
|
|
16
|
+
Object.defineProperty(exports, "MultiRewards__factory", { enumerable: true, get: function () { return MultiRewards__factory_1.MultiRewards__factory; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,yEAAwE;AAA/D,sIAAA,yBAAyB,OAAA;AAClC,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA"}
|
package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IBalancerLP, IBalancerLPInterface } from "../../../../contracts/Interfaces/Balancer.sol/IBalancerLP";
|
|
3
|
+
export declare class IBalancerLP__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "getPoolId";
|
|
7
|
+
readonly outputs: readonly [{
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
readonly name: "";
|
|
10
|
+
readonly type: "bytes32";
|
|
11
|
+
}];
|
|
12
|
+
readonly stateMutability: "view";
|
|
13
|
+
readonly type: "function";
|
|
14
|
+
}, {
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly name: "getVault";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "totalSupply";
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "view";
|
|
33
|
+
readonly type: "function";
|
|
34
|
+
}];
|
|
35
|
+
static createInterface(): IBalancerLPInterface;
|
|
36
|
+
static connect(address: string, runner?: ContractRunner | null): IBalancerLP;
|
|
37
|
+
}
|