@meterio/sumer-js 0.2.116 → 0.2.118
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 +55 -346
- package/dist/nodejs/abi.js +10123 -15862
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +2 -1
- package/dist/nodejs/constants/arbitrum.js +5 -2
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.d.ts +2 -0
- package/dist/nodejs/constants/b2main.js +4 -0
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +2 -0
- package/dist/nodejs/constants/basemain.js +5 -0
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +1 -0
- package/dist/nodejs/constants/basetest.js +1 -0
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/berabartio.d.ts +2 -0
- package/dist/nodejs/constants/berabartio.js +2 -0
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +7 -0
- package/dist/nodejs/constants/beramain.js +55 -11
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bsc.d.ts +1 -0
- package/dist/nodejs/constants/bsc.js +4 -0
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +6 -0
- package/dist/nodejs/constants/core.js +40 -10
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +2 -0
- package/dist/nodejs/constants/ethereum.js +6 -0
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/hemi.d.ts +79 -0
- package/dist/nodejs/constants/hemi.js +180 -0
- package/dist/nodejs/constants/hemi.js.map +1 -0
- package/dist/nodejs/constants/merlin.d.ts +2 -0
- package/dist/nodejs/constants/merlin.js +3 -0
- package/dist/nodejs/constants/merlin.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +2 -0
- package/dist/nodejs/constants/metermain.js +3 -0
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +2 -0
- package/dist/nodejs/constants/metertest.js +3 -0
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +2 -0
- package/dist/nodejs/constants/monadtest.js +3 -1
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +2 -0
- package/dist/nodejs/constants/sepolia.js +2 -0
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +6 -4
- package/dist/nodejs/constants/zklink.js +7 -4
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +10 -1207
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +55 -346
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +33 -74
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +21 -66
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1094 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +4 -313
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +1 -17
- 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/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/VaultReentrancyLib.sol/IVault.d.ts +55 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +4 -4
- 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/ICErc20.d.ts +16 -16
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +6 -6
- 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/IPool.d.ts +41 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.d.ts +83 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +2 -2
- 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 +91 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
- 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 +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +16 -72
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +80 -113
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +97 -154
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +65 -92
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +79 -125
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +16 -72
- 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/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.sol/CInfraredVault__factory.d.ts +1804 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +2315 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1 -5
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +1 -6
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +0 -359
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +0 -463
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +0 -30
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -1
- 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/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/VaultReentrancyLib.sol/IVault__factory.d.ts +38 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js +60 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.d.ts +26 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +2 -4
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +26 -9
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -1
- 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/ICErc20__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +2 -14
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +2 -19
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- 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/IPool__factory.d.ts +57 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +85 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.d.ts +60 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js +89 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +5 -2
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.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/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 +111 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +144 -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/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +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/hardhat.d.ts +96 -168
- package/dist/nodejs/typechain/index.d.ts +12 -24
- package/dist/nodejs/typechain/index.js +14 -26
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { ITimeWeightedMultiRewards, ITimeWeightedMultiRewardsInterface } from "../../../contracts/Infrared/ITimeWeightedMultiRewards";
|
|
3
|
+
export declare class ITimeWeightedMultiRewards__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly anonymous: false;
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: false;
|
|
8
|
+
readonly internalType: "address";
|
|
9
|
+
readonly name: "token";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly indexed: false;
|
|
13
|
+
readonly internalType: "uint256";
|
|
14
|
+
readonly name: "amount";
|
|
15
|
+
readonly type: "uint256";
|
|
16
|
+
}];
|
|
17
|
+
readonly name: "Recovered";
|
|
18
|
+
readonly type: "event";
|
|
19
|
+
}, {
|
|
20
|
+
readonly anonymous: false;
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly indexed: true;
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "rewardsToken";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly indexed: false;
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "reward";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}];
|
|
32
|
+
readonly name: "RewardAdded";
|
|
33
|
+
readonly type: "event";
|
|
34
|
+
}, {
|
|
35
|
+
readonly anonymous: false;
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly internalType: "address";
|
|
39
|
+
readonly name: "user";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}, {
|
|
42
|
+
readonly indexed: true;
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly name: "rewardsToken";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}, {
|
|
47
|
+
readonly indexed: false;
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "reward";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "RewardPaid";
|
|
53
|
+
readonly type: "event";
|
|
54
|
+
}, {
|
|
55
|
+
readonly anonymous: false;
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly indexed: true;
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "user";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}, {
|
|
62
|
+
readonly indexed: false;
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
readonly name: "amount";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "Staked";
|
|
68
|
+
readonly type: "event";
|
|
69
|
+
}, {
|
|
70
|
+
readonly anonymous: false;
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
readonly name: "user";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}, {
|
|
77
|
+
readonly indexed: false;
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
readonly name: "amount";
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
}];
|
|
82
|
+
readonly name: "Withdrawn";
|
|
83
|
+
readonly type: "event";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
readonly name: "account";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
}, {
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
readonly name: "_rewardsToken";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "earned";
|
|
95
|
+
readonly outputs: readonly [{
|
|
96
|
+
readonly internalType: "uint256";
|
|
97
|
+
readonly name: "";
|
|
98
|
+
readonly type: "uint256";
|
|
99
|
+
}];
|
|
100
|
+
readonly stateMutability: "view";
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "getReward";
|
|
105
|
+
readonly outputs: readonly [];
|
|
106
|
+
readonly stateMutability: "nonpayable";
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "_user";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "getRewardForUser";
|
|
115
|
+
readonly outputs: readonly [];
|
|
116
|
+
readonly stateMutability: "nonpayable";
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly internalType: "uint256";
|
|
121
|
+
readonly name: "index";
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
}];
|
|
124
|
+
readonly name: "rewardTokens";
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly internalType: "address";
|
|
127
|
+
readonly name: "";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
}];
|
|
130
|
+
readonly stateMutability: "view";
|
|
131
|
+
readonly type: "function";
|
|
132
|
+
}, {
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly internalType: "address";
|
|
135
|
+
readonly name: "account";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
}];
|
|
138
|
+
readonly name: "shareOf";
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
145
|
+
readonly type: "function";
|
|
146
|
+
}, {
|
|
147
|
+
readonly inputs: readonly [];
|
|
148
|
+
readonly name: "totalShares";
|
|
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 name: "totalStaked";
|
|
159
|
+
readonly outputs: readonly [{
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly name: "";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
}];
|
|
164
|
+
readonly stateMutability: "view";
|
|
165
|
+
readonly type: "function";
|
|
166
|
+
}];
|
|
167
|
+
static createInterface(): ITimeWeightedMultiRewardsInterface;
|
|
168
|
+
static connect(address: string, runner?: ContractRunner | null): ITimeWeightedMultiRewards;
|
|
169
|
+
}
|
package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
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.ITimeWeightedMultiRewards__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: false,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "token",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "amount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "Recovered",
|
|
26
|
+
type: "event",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
indexed: true,
|
|
33
|
+
internalType: "address",
|
|
34
|
+
name: "rewardsToken",
|
|
35
|
+
type: "address",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "reward",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "RewardAdded",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "user",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "rewardsToken",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "reward",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "RewardPaid",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
anonymous: false,
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
indexed: true,
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "user",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
indexed: false,
|
|
83
|
+
internalType: "uint256",
|
|
84
|
+
name: "amount",
|
|
85
|
+
type: "uint256",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
name: "Staked",
|
|
89
|
+
type: "event",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
anonymous: false,
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
indexed: true,
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "user",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
indexed: false,
|
|
102
|
+
internalType: "uint256",
|
|
103
|
+
name: "amount",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "Withdrawn",
|
|
108
|
+
type: "event",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [
|
|
112
|
+
{
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "account",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
internalType: "address",
|
|
119
|
+
name: "_rewardsToken",
|
|
120
|
+
type: "address",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
name: "earned",
|
|
124
|
+
outputs: [
|
|
125
|
+
{
|
|
126
|
+
internalType: "uint256",
|
|
127
|
+
name: "",
|
|
128
|
+
type: "uint256",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
stateMutability: "view",
|
|
132
|
+
type: "function",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
inputs: [],
|
|
136
|
+
name: "getReward",
|
|
137
|
+
outputs: [],
|
|
138
|
+
stateMutability: "nonpayable",
|
|
139
|
+
type: "function",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
inputs: [
|
|
143
|
+
{
|
|
144
|
+
internalType: "address",
|
|
145
|
+
name: "_user",
|
|
146
|
+
type: "address",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
name: "getRewardForUser",
|
|
150
|
+
outputs: [],
|
|
151
|
+
stateMutability: "nonpayable",
|
|
152
|
+
type: "function",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "index",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "rewardTokens",
|
|
163
|
+
outputs: [
|
|
164
|
+
{
|
|
165
|
+
internalType: "address",
|
|
166
|
+
name: "",
|
|
167
|
+
type: "address",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
stateMutability: "view",
|
|
171
|
+
type: "function",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
inputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: "address",
|
|
177
|
+
name: "account",
|
|
178
|
+
type: "address",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "shareOf",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "view",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "totalShares",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "uint256",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "view",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: "totalStaked",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "uint256",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "uint256",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "view",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
];
|
|
219
|
+
class ITimeWeightedMultiRewards__factory {
|
|
220
|
+
static createInterface() {
|
|
221
|
+
return new ethers_1.Interface(_abi);
|
|
222
|
+
}
|
|
223
|
+
static connect(address, runner) {
|
|
224
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.ITimeWeightedMultiRewards__factory = ITimeWeightedMultiRewards__factory;
|
|
228
|
+
ITimeWeightedMultiRewards__factory.abi = _abi;
|
|
229
|
+
//# sourceMappingURL=ITimeWeightedMultiRewards__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITimeWeightedMultiRewards__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { InfraredRewards, InfraredRewardsInterface } from "../../../contracts/Infrared/InfraredRewards";
|
|
5
|
+
type InfraredRewardsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class InfraredRewards__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: InfraredRewardsConstructorParams);
|
|
8
|
+
getDeployTransaction(_infraredVault: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(_infraredVault: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<InfraredRewards & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): InfraredRewards__factory;
|
|
17
|
+
static readonly bytecode = "0x60a034606e57601f6105e638819003918201601f19168301916001600160401b03831184841017607357808492602094604052833981010312606e57516001600160a01b03811690819003606e5760805260405161055c908161008a823960805181818160e501526103280152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c8063211dc32d146101d357806321e5e2c4146101555780633a98ef39146101375780635c975abb146101145780636ab3b0e5146100cf578063817b1cd2146100b15763b34c8caf1461006957600080fd5b346100ac5760203660031901126100ac576001600160a01b0361008a61020c565b1660005260656020526040806000206001815491015482519182526020820152f35b600080fd5b346100ac5760003660031901126100ac576020606654604051908152f35b346100ac5760003660031901126100ac576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346100ac5760003660031901126100ac57602060ff603354166040519015158152f35b346100ac5760003660031901126100ac576020606754604051908152f35b346100ac5760203660031901126100ac576001600160a01b0361017661020c565b166000526065602052604060002054670de0b6b3a7640000810290808204670de0b6b3a764000014901517156101bd576101b560209160675490610279565b604051908152f35b634e487b7160e01b600052601160045260246000fd5b346100ac5760403660031901126100ac576101ec61020c565b602435906001600160a01b03821682036100ac576020916101b591610299565b600435906001600160a01b03821682036100ac57565b919082039182116101bd57565b818102929181159184041417156101bd57565b919082018092116101bd57565b80518210156102635760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b8115610283570490565b634e487b7160e01b600052601260045260246000fd5b6102ec9060018060a01b03168060005260656020526102e66102c360016040600020015442610222565b82600052606560205260406000205492600052606960205260406000205461022f565b90610242565b61030a6102fb60685442610222565b6102e66067549160665461022f565b60405163150b82a360e11b81523060048201529091906000816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156104e2576000916103ca575b5060005b81518110156103c0576001600160a01b03610380828461024f565b5151166001600160a01b0386161461039a57600101610365565b6103bd94506103af6020916103b8949361024f565b5101519061022f565b610279565b90565b5050505050600090565b903d8082843e6103da81846104ee565b8201916020818403126104de5780519067ffffffffffffffff82116104c6570182601f820112156104de5780519167ffffffffffffffff83116104ca576040519361042b60208560051b01866104ee565b83855260208086019460061b840101928184116104c657602001935b83851061045957505050505038610361565b6040858303126104c6576040516040810181811067ffffffffffffffff8211176104b25760405285516001600160a01b03811681036104ae579181604093602093528288015183820152815201940193610447565b8480fd5b634e487b7160e01b85526041600452602485fd5b8280fd5b634e487b7160e01b81526041600452602490fd5b5080fd5b6040513d6000823e3d90fd5b90601f8019910116810190811067ffffffffffffffff82111761051057604052565b634e487b7160e01b600052604160045260246000fdfea26469706673582212200f371aba85a8804c62a5bdb692de7e6bebd26a22d3d88c7132a27ff8147f775664736f6c634300081a0033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "_infraredVault";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly type: "constructor";
|
|
26
|
+
}, {
|
|
27
|
+
readonly inputs: readonly [];
|
|
28
|
+
readonly name: "CantWithdrawRewardToken";
|
|
29
|
+
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly anonymous: false;
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly indexed: false;
|
|
34
|
+
readonly internalType: "uint8";
|
|
35
|
+
readonly name: "version";
|
|
36
|
+
readonly type: "uint8";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "Initialized";
|
|
39
|
+
readonly type: "event";
|
|
40
|
+
}, {
|
|
41
|
+
readonly anonymous: false;
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly indexed: false;
|
|
44
|
+
readonly internalType: "address";
|
|
45
|
+
readonly name: "account";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "Paused";
|
|
49
|
+
readonly type: "event";
|
|
50
|
+
}, {
|
|
51
|
+
readonly anonymous: false;
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly indexed: false;
|
|
54
|
+
readonly internalType: "address";
|
|
55
|
+
readonly name: "token";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
}, {
|
|
58
|
+
readonly indexed: false;
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
readonly name: "amount";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "Recovered";
|
|
64
|
+
readonly type: "event";
|
|
65
|
+
}, {
|
|
66
|
+
readonly anonymous: false;
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly indexed: true;
|
|
69
|
+
readonly internalType: "address";
|
|
70
|
+
readonly name: "user";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}, {
|
|
73
|
+
readonly indexed: true;
|
|
74
|
+
readonly internalType: "address";
|
|
75
|
+
readonly name: "rewardsToken";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
}, {
|
|
78
|
+
readonly indexed: false;
|
|
79
|
+
readonly internalType: "uint256";
|
|
80
|
+
readonly name: "reward";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "RewardPaid";
|
|
84
|
+
readonly type: "event";
|
|
85
|
+
}, {
|
|
86
|
+
readonly anonymous: false;
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly indexed: true;
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
readonly name: "user";
|
|
91
|
+
readonly type: "address";
|
|
92
|
+
}, {
|
|
93
|
+
readonly indexed: false;
|
|
94
|
+
readonly internalType: "uint256";
|
|
95
|
+
readonly name: "amount";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "Staked";
|
|
99
|
+
readonly type: "event";
|
|
100
|
+
}, {
|
|
101
|
+
readonly anonymous: false;
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly indexed: false;
|
|
104
|
+
readonly internalType: "address";
|
|
105
|
+
readonly name: "account";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
}];
|
|
108
|
+
readonly name: "Unpaused";
|
|
109
|
+
readonly type: "event";
|
|
110
|
+
}, {
|
|
111
|
+
readonly anonymous: false;
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly indexed: true;
|
|
114
|
+
readonly internalType: "address";
|
|
115
|
+
readonly name: "user";
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
}, {
|
|
118
|
+
readonly indexed: false;
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
readonly name: "amount";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
}];
|
|
123
|
+
readonly name: "Withdrawn";
|
|
124
|
+
readonly type: "event";
|
|
125
|
+
}, {
|
|
126
|
+
readonly inputs: readonly [{
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
readonly name: "";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
}];
|
|
131
|
+
readonly name: "_shares";
|
|
132
|
+
readonly outputs: readonly [{
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "shares";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}, {
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "lastUpdateTime";
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
}];
|
|
141
|
+
readonly stateMutability: "view";
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "account";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "address";
|
|
150
|
+
readonly name: "_rewardsToken";
|
|
151
|
+
readonly type: "address";
|
|
152
|
+
}];
|
|
153
|
+
readonly name: "earned";
|
|
154
|
+
readonly outputs: readonly [{
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
readonly name: "";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "view";
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [];
|
|
163
|
+
readonly name: "infraredVault";
|
|
164
|
+
readonly outputs: readonly [{
|
|
165
|
+
readonly internalType: "contract IInfraredVault";
|
|
166
|
+
readonly name: "";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
}];
|
|
169
|
+
readonly stateMutability: "view";
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [];
|
|
173
|
+
readonly name: "paused";
|
|
174
|
+
readonly outputs: readonly [{
|
|
175
|
+
readonly internalType: "bool";
|
|
176
|
+
readonly name: "";
|
|
177
|
+
readonly type: "bool";
|
|
178
|
+
}];
|
|
179
|
+
readonly stateMutability: "view";
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "account";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "shareOf";
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly internalType: "uint256";
|
|
190
|
+
readonly name: "_share";
|
|
191
|
+
readonly type: "uint256";
|
|
192
|
+
}];
|
|
193
|
+
readonly stateMutability: "view";
|
|
194
|
+
readonly type: "function";
|
|
195
|
+
}, {
|
|
196
|
+
readonly inputs: readonly [];
|
|
197
|
+
readonly name: "totalShares";
|
|
198
|
+
readonly outputs: readonly [{
|
|
199
|
+
readonly internalType: "uint256";
|
|
200
|
+
readonly name: "";
|
|
201
|
+
readonly type: "uint256";
|
|
202
|
+
}];
|
|
203
|
+
readonly stateMutability: "view";
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
}, {
|
|
206
|
+
readonly inputs: readonly [];
|
|
207
|
+
readonly name: "totalStaked";
|
|
208
|
+
readonly outputs: readonly [{
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}];
|
|
213
|
+
readonly stateMutability: "view";
|
|
214
|
+
readonly type: "function";
|
|
215
|
+
}];
|
|
216
|
+
static createInterface(): InfraredRewardsInterface;
|
|
217
|
+
static connect(address: string, runner?: ContractRunner | null): InfraredRewards;
|
|
218
|
+
}
|
|
219
|
+
export {};
|