@meterio/sumer-js 0.2.102 → 0.2.104
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 +7 -7
- 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 +7 -2
- package/dist/nodejs/constants/beramain.js +66 -17
- 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/@openzeppelin/contracts-upgradeable/security/index.d.ts +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/Interfaces/index.d.ts +6 -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 +2 -0
- 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/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +3 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- 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/Interfaces/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +4 -1
- 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 +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 +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/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 +216 -0
- package/dist/nodejs/typechain/index.d.ts +22 -2
- package/dist/nodejs/typechain/index.js +23 -5
- 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
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export interface MultiRewardsInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "balanceOf" | "earned" | "exit" | "getReward" | "getRewardForDuration" | "getRewardForUser" | "lastTimeRewardApplicable" | "paused" | "rewardData" | "rewardPerToken" | "rewardTokens" | "rewards" | "stake" | "stakingToken" | "totalSupply" | "userRewardPerTokenPaid" | "withdraw"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Initialized" | "Paused" | "Recovered" | "RewardAdded" | "RewardPaid" | "RewardStored" | "RewardsDistributorUpdated" | "RewardsDurationUpdated" | "Staked" | "Unpaused" | "Withdrawn"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "exit", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getReward", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "getRewardForDuration", values: [AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "getRewardForUser", values: [AddressLike]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "lastTimeRewardApplicable", values: [AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "rewardData", values: [AddressLike]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "rewardPerToken", values: [AddressLike]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "rewards", values: [AddressLike, AddressLike]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "stakingToken", values?: undefined): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "userRewardPerTokenPaid", values: [AddressLike, AddressLike]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
23
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "exit", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "getRewardForDuration", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "getRewardForUser", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "lastTimeRewardApplicable", data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "rewardData", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "rewardPerToken", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "rewards", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
36
|
+
decodeFunctionResult(functionFragment: "stakingToken", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "userRewardPerTokenPaid", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace InitializedEvent {
|
|
42
|
+
type InputTuple = [version: BigNumberish];
|
|
43
|
+
type OutputTuple = [version: bigint];
|
|
44
|
+
interface OutputObject {
|
|
45
|
+
version: bigint;
|
|
46
|
+
}
|
|
47
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
48
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
49
|
+
type Log = TypedEventLog<Event>;
|
|
50
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace PausedEvent {
|
|
53
|
+
type InputTuple = [account: AddressLike];
|
|
54
|
+
type OutputTuple = [account: string];
|
|
55
|
+
interface OutputObject {
|
|
56
|
+
account: string;
|
|
57
|
+
}
|
|
58
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
59
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
60
|
+
type Log = TypedEventLog<Event>;
|
|
61
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace RecoveredEvent {
|
|
64
|
+
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
65
|
+
type OutputTuple = [token: string, amount: bigint];
|
|
66
|
+
interface OutputObject {
|
|
67
|
+
token: string;
|
|
68
|
+
amount: bigint;
|
|
69
|
+
}
|
|
70
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
71
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
72
|
+
type Log = TypedEventLog<Event>;
|
|
73
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace RewardAddedEvent {
|
|
76
|
+
type InputTuple = [rewardsToken: AddressLike, reward: BigNumberish];
|
|
77
|
+
type OutputTuple = [rewardsToken: string, reward: bigint];
|
|
78
|
+
interface OutputObject {
|
|
79
|
+
rewardsToken: string;
|
|
80
|
+
reward: bigint;
|
|
81
|
+
}
|
|
82
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
83
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
84
|
+
type Log = TypedEventLog<Event>;
|
|
85
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace RewardPaidEvent {
|
|
88
|
+
type InputTuple = [
|
|
89
|
+
user: AddressLike,
|
|
90
|
+
rewardsToken: AddressLike,
|
|
91
|
+
reward: BigNumberish
|
|
92
|
+
];
|
|
93
|
+
type OutputTuple = [
|
|
94
|
+
user: string,
|
|
95
|
+
rewardsToken: string,
|
|
96
|
+
reward: bigint
|
|
97
|
+
];
|
|
98
|
+
interface OutputObject {
|
|
99
|
+
user: string;
|
|
100
|
+
rewardsToken: string;
|
|
101
|
+
reward: bigint;
|
|
102
|
+
}
|
|
103
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
104
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
105
|
+
type Log = TypedEventLog<Event>;
|
|
106
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
107
|
+
}
|
|
108
|
+
export declare namespace RewardStoredEvent {
|
|
109
|
+
type InputTuple = [
|
|
110
|
+
rewardsToken: AddressLike,
|
|
111
|
+
rewardsDuration: BigNumberish
|
|
112
|
+
];
|
|
113
|
+
type OutputTuple = [rewardsToken: string, rewardsDuration: bigint];
|
|
114
|
+
interface OutputObject {
|
|
115
|
+
rewardsToken: string;
|
|
116
|
+
rewardsDuration: bigint;
|
|
117
|
+
}
|
|
118
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
119
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
120
|
+
type Log = TypedEventLog<Event>;
|
|
121
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
122
|
+
}
|
|
123
|
+
export declare namespace RewardsDistributorUpdatedEvent {
|
|
124
|
+
type InputTuple = [
|
|
125
|
+
rewardsToken: AddressLike,
|
|
126
|
+
newDistributor: AddressLike
|
|
127
|
+
];
|
|
128
|
+
type OutputTuple = [rewardsToken: string, newDistributor: string];
|
|
129
|
+
interface OutputObject {
|
|
130
|
+
rewardsToken: string;
|
|
131
|
+
newDistributor: string;
|
|
132
|
+
}
|
|
133
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
134
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
135
|
+
type Log = TypedEventLog<Event>;
|
|
136
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
137
|
+
}
|
|
138
|
+
export declare namespace RewardsDurationUpdatedEvent {
|
|
139
|
+
type InputTuple = [token: AddressLike, newDuration: BigNumberish];
|
|
140
|
+
type OutputTuple = [token: string, newDuration: bigint];
|
|
141
|
+
interface OutputObject {
|
|
142
|
+
token: string;
|
|
143
|
+
newDuration: bigint;
|
|
144
|
+
}
|
|
145
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
146
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
147
|
+
type Log = TypedEventLog<Event>;
|
|
148
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace StakedEvent {
|
|
151
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
152
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
153
|
+
interface OutputObject {
|
|
154
|
+
user: string;
|
|
155
|
+
amount: bigint;
|
|
156
|
+
}
|
|
157
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
158
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
159
|
+
type Log = TypedEventLog<Event>;
|
|
160
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
161
|
+
}
|
|
162
|
+
export declare namespace UnpausedEvent {
|
|
163
|
+
type InputTuple = [account: AddressLike];
|
|
164
|
+
type OutputTuple = [account: string];
|
|
165
|
+
interface OutputObject {
|
|
166
|
+
account: string;
|
|
167
|
+
}
|
|
168
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
169
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
170
|
+
type Log = TypedEventLog<Event>;
|
|
171
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace WithdrawnEvent {
|
|
174
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
175
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
176
|
+
interface OutputObject {
|
|
177
|
+
user: string;
|
|
178
|
+
amount: bigint;
|
|
179
|
+
}
|
|
180
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
181
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
182
|
+
type Log = TypedEventLog<Event>;
|
|
183
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
184
|
+
}
|
|
185
|
+
export interface MultiRewards extends BaseContract {
|
|
186
|
+
connect(runner?: ContractRunner | null): MultiRewards;
|
|
187
|
+
waitForDeployment(): Promise<this>;
|
|
188
|
+
interface: MultiRewardsInterface;
|
|
189
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
190
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
191
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
192
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
193
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
194
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
195
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
196
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
197
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
198
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
199
|
+
earned: TypedContractMethod<[
|
|
200
|
+
account: AddressLike,
|
|
201
|
+
_rewardsToken: AddressLike
|
|
202
|
+
], [
|
|
203
|
+
bigint
|
|
204
|
+
], "view">;
|
|
205
|
+
exit: TypedContractMethod<[], [void], "nonpayable">;
|
|
206
|
+
getReward: TypedContractMethod<[], [void], "nonpayable">;
|
|
207
|
+
getRewardForDuration: TypedContractMethod<[
|
|
208
|
+
_rewardsToken: AddressLike
|
|
209
|
+
], [
|
|
210
|
+
bigint
|
|
211
|
+
], "view">;
|
|
212
|
+
getRewardForUser: TypedContractMethod<[
|
|
213
|
+
_user: AddressLike
|
|
214
|
+
], [
|
|
215
|
+
void
|
|
216
|
+
], "nonpayable">;
|
|
217
|
+
lastTimeRewardApplicable: TypedContractMethod<[
|
|
218
|
+
_rewardsToken: AddressLike
|
|
219
|
+
], [
|
|
220
|
+
bigint
|
|
221
|
+
], "view">;
|
|
222
|
+
paused: TypedContractMethod<[], [boolean], "view">;
|
|
223
|
+
rewardData: TypedContractMethod<[
|
|
224
|
+
arg0: AddressLike
|
|
225
|
+
], [
|
|
226
|
+
[
|
|
227
|
+
string,
|
|
228
|
+
bigint,
|
|
229
|
+
bigint,
|
|
230
|
+
bigint,
|
|
231
|
+
bigint,
|
|
232
|
+
bigint,
|
|
233
|
+
bigint
|
|
234
|
+
] & {
|
|
235
|
+
rewardsDistributor: string;
|
|
236
|
+
rewardsDuration: bigint;
|
|
237
|
+
periodFinish: bigint;
|
|
238
|
+
rewardRate: bigint;
|
|
239
|
+
lastUpdateTime: bigint;
|
|
240
|
+
rewardPerTokenStored: bigint;
|
|
241
|
+
rewardResidual: bigint;
|
|
242
|
+
}
|
|
243
|
+
], "view">;
|
|
244
|
+
rewardPerToken: TypedContractMethod<[
|
|
245
|
+
_rewardsToken: AddressLike
|
|
246
|
+
], [
|
|
247
|
+
bigint
|
|
248
|
+
], "view">;
|
|
249
|
+
rewardTokens: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
250
|
+
rewards: TypedContractMethod<[
|
|
251
|
+
arg0: AddressLike,
|
|
252
|
+
arg1: AddressLike
|
|
253
|
+
], [
|
|
254
|
+
bigint
|
|
255
|
+
], "view">;
|
|
256
|
+
stake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
257
|
+
stakingToken: TypedContractMethod<[], [string], "view">;
|
|
258
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
259
|
+
userRewardPerTokenPaid: TypedContractMethod<[
|
|
260
|
+
arg0: AddressLike,
|
|
261
|
+
arg1: AddressLike
|
|
262
|
+
], [
|
|
263
|
+
bigint
|
|
264
|
+
], "view">;
|
|
265
|
+
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
266
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
267
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
268
|
+
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
269
|
+
account: AddressLike,
|
|
270
|
+
_rewardsToken: AddressLike
|
|
271
|
+
], [
|
|
272
|
+
bigint
|
|
273
|
+
], "view">;
|
|
274
|
+
getFunction(nameOrSignature: "exit"): TypedContractMethod<[], [void], "nonpayable">;
|
|
275
|
+
getFunction(nameOrSignature: "getReward"): TypedContractMethod<[], [void], "nonpayable">;
|
|
276
|
+
getFunction(nameOrSignature: "getRewardForDuration"): TypedContractMethod<[_rewardsToken: AddressLike], [bigint], "view">;
|
|
277
|
+
getFunction(nameOrSignature: "getRewardForUser"): TypedContractMethod<[_user: AddressLike], [void], "nonpayable">;
|
|
278
|
+
getFunction(nameOrSignature: "lastTimeRewardApplicable"): TypedContractMethod<[_rewardsToken: AddressLike], [bigint], "view">;
|
|
279
|
+
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
280
|
+
getFunction(nameOrSignature: "rewardData"): TypedContractMethod<[
|
|
281
|
+
arg0: AddressLike
|
|
282
|
+
], [
|
|
283
|
+
[
|
|
284
|
+
string,
|
|
285
|
+
bigint,
|
|
286
|
+
bigint,
|
|
287
|
+
bigint,
|
|
288
|
+
bigint,
|
|
289
|
+
bigint,
|
|
290
|
+
bigint
|
|
291
|
+
] & {
|
|
292
|
+
rewardsDistributor: string;
|
|
293
|
+
rewardsDuration: bigint;
|
|
294
|
+
periodFinish: bigint;
|
|
295
|
+
rewardRate: bigint;
|
|
296
|
+
lastUpdateTime: bigint;
|
|
297
|
+
rewardPerTokenStored: bigint;
|
|
298
|
+
rewardResidual: bigint;
|
|
299
|
+
}
|
|
300
|
+
], "view">;
|
|
301
|
+
getFunction(nameOrSignature: "rewardPerToken"): TypedContractMethod<[_rewardsToken: AddressLike], [bigint], "view">;
|
|
302
|
+
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
303
|
+
getFunction(nameOrSignature: "rewards"): TypedContractMethod<[
|
|
304
|
+
arg0: AddressLike,
|
|
305
|
+
arg1: AddressLike
|
|
306
|
+
], [
|
|
307
|
+
bigint
|
|
308
|
+
], "view">;
|
|
309
|
+
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
310
|
+
getFunction(nameOrSignature: "stakingToken"): TypedContractMethod<[], [string], "view">;
|
|
311
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
312
|
+
getFunction(nameOrSignature: "userRewardPerTokenPaid"): TypedContractMethod<[
|
|
313
|
+
arg0: AddressLike,
|
|
314
|
+
arg1: AddressLike
|
|
315
|
+
], [
|
|
316
|
+
bigint
|
|
317
|
+
], "view">;
|
|
318
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
319
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
320
|
+
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
321
|
+
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
322
|
+
getEvent(key: "RewardAdded"): TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
323
|
+
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
324
|
+
getEvent(key: "RewardStored"): TypedContractEvent<RewardStoredEvent.InputTuple, RewardStoredEvent.OutputTuple, RewardStoredEvent.OutputObject>;
|
|
325
|
+
getEvent(key: "RewardsDistributorUpdated"): TypedContractEvent<RewardsDistributorUpdatedEvent.InputTuple, RewardsDistributorUpdatedEvent.OutputTuple, RewardsDistributorUpdatedEvent.OutputObject>;
|
|
326
|
+
getEvent(key: "RewardsDurationUpdated"): TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
327
|
+
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
328
|
+
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
329
|
+
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
330
|
+
filters: {
|
|
331
|
+
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
332
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
333
|
+
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
334
|
+
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
335
|
+
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
336
|
+
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
337
|
+
"RewardAdded(address,uint256)": TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
338
|
+
RewardAdded: TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
339
|
+
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
340
|
+
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
341
|
+
"RewardStored(address,uint256)": TypedContractEvent<RewardStoredEvent.InputTuple, RewardStoredEvent.OutputTuple, RewardStoredEvent.OutputObject>;
|
|
342
|
+
RewardStored: TypedContractEvent<RewardStoredEvent.InputTuple, RewardStoredEvent.OutputTuple, RewardStoredEvent.OutputObject>;
|
|
343
|
+
"RewardsDistributorUpdated(address,address)": TypedContractEvent<RewardsDistributorUpdatedEvent.InputTuple, RewardsDistributorUpdatedEvent.OutputTuple, RewardsDistributorUpdatedEvent.OutputObject>;
|
|
344
|
+
RewardsDistributorUpdated: TypedContractEvent<RewardsDistributorUpdatedEvent.InputTuple, RewardsDistributorUpdatedEvent.OutputTuple, RewardsDistributorUpdatedEvent.OutputObject>;
|
|
345
|
+
"RewardsDurationUpdated(address,uint256)": TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
346
|
+
RewardsDurationUpdated: TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
347
|
+
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
348
|
+
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
349
|
+
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
350
|
+
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
351
|
+
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
352
|
+
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
353
|
+
};
|
|
354
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiRewards.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/MultiRewards.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export interface TimeWeightedMultiRewardsInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "_shares" | "earned" | "getReward" | "getRewardForUser" | "paused" | "rewardTokens" | "shareOf" | "stakingToken" | "totalShares" | "totalStaked"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Initialized" | "Paused" | "Recovered" | "RewardAdded" | "RewardPaid" | "Staked" | "Unpaused" | "Withdrawn"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "_shares", values: [AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getReward", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getRewardForUser", values: [AddressLike]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "shareOf", values: [AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "stakingToken", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
16
|
+
decodeFunctionResult(functionFragment: "_shares", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "getRewardForUser", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "shareOf", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "stakingToken", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace InitializedEvent {
|
|
28
|
+
type InputTuple = [version: BigNumberish];
|
|
29
|
+
type OutputTuple = [version: bigint];
|
|
30
|
+
interface OutputObject {
|
|
31
|
+
version: bigint;
|
|
32
|
+
}
|
|
33
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
34
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
35
|
+
type Log = TypedEventLog<Event>;
|
|
36
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace PausedEvent {
|
|
39
|
+
type InputTuple = [account: AddressLike];
|
|
40
|
+
type OutputTuple = [account: string];
|
|
41
|
+
interface OutputObject {
|
|
42
|
+
account: string;
|
|
43
|
+
}
|
|
44
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
45
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
46
|
+
type Log = TypedEventLog<Event>;
|
|
47
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace RecoveredEvent {
|
|
50
|
+
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
51
|
+
type OutputTuple = [token: string, amount: bigint];
|
|
52
|
+
interface OutputObject {
|
|
53
|
+
token: string;
|
|
54
|
+
amount: bigint;
|
|
55
|
+
}
|
|
56
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
57
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
58
|
+
type Log = TypedEventLog<Event>;
|
|
59
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace RewardAddedEvent {
|
|
62
|
+
type InputTuple = [rewardsToken: AddressLike, reward: BigNumberish];
|
|
63
|
+
type OutputTuple = [rewardsToken: string, reward: bigint];
|
|
64
|
+
interface OutputObject {
|
|
65
|
+
rewardsToken: string;
|
|
66
|
+
reward: bigint;
|
|
67
|
+
}
|
|
68
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
69
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
70
|
+
type Log = TypedEventLog<Event>;
|
|
71
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace RewardPaidEvent {
|
|
74
|
+
type InputTuple = [
|
|
75
|
+
user: AddressLike,
|
|
76
|
+
rewardsToken: AddressLike,
|
|
77
|
+
reward: BigNumberish
|
|
78
|
+
];
|
|
79
|
+
type OutputTuple = [
|
|
80
|
+
user: string,
|
|
81
|
+
rewardsToken: string,
|
|
82
|
+
reward: bigint
|
|
83
|
+
];
|
|
84
|
+
interface OutputObject {
|
|
85
|
+
user: string;
|
|
86
|
+
rewardsToken: string;
|
|
87
|
+
reward: bigint;
|
|
88
|
+
}
|
|
89
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
90
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
91
|
+
type Log = TypedEventLog<Event>;
|
|
92
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace StakedEvent {
|
|
95
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
96
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
97
|
+
interface OutputObject {
|
|
98
|
+
user: string;
|
|
99
|
+
amount: bigint;
|
|
100
|
+
}
|
|
101
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
102
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
103
|
+
type Log = TypedEventLog<Event>;
|
|
104
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace UnpausedEvent {
|
|
107
|
+
type InputTuple = [account: AddressLike];
|
|
108
|
+
type OutputTuple = [account: string];
|
|
109
|
+
interface OutputObject {
|
|
110
|
+
account: string;
|
|
111
|
+
}
|
|
112
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
113
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
114
|
+
type Log = TypedEventLog<Event>;
|
|
115
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace WithdrawnEvent {
|
|
118
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
119
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
120
|
+
interface OutputObject {
|
|
121
|
+
user: string;
|
|
122
|
+
amount: bigint;
|
|
123
|
+
}
|
|
124
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
125
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
126
|
+
type Log = TypedEventLog<Event>;
|
|
127
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
128
|
+
}
|
|
129
|
+
export interface TimeWeightedMultiRewards extends BaseContract {
|
|
130
|
+
connect(runner?: ContractRunner | null): TimeWeightedMultiRewards;
|
|
131
|
+
waitForDeployment(): Promise<this>;
|
|
132
|
+
interface: TimeWeightedMultiRewardsInterface;
|
|
133
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
134
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
135
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
136
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
137
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
138
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
139
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
140
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
141
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
142
|
+
_shares: TypedContractMethod<[
|
|
143
|
+
arg0: AddressLike
|
|
144
|
+
], [
|
|
145
|
+
[bigint, bigint] & {
|
|
146
|
+
shares: bigint;
|
|
147
|
+
lastUpdateTime: bigint;
|
|
148
|
+
}
|
|
149
|
+
], "view">;
|
|
150
|
+
earned: TypedContractMethod<[
|
|
151
|
+
account: AddressLike,
|
|
152
|
+
_rewardsToken: AddressLike
|
|
153
|
+
], [
|
|
154
|
+
bigint
|
|
155
|
+
], "view">;
|
|
156
|
+
getReward: TypedContractMethod<[], [void], "nonpayable">;
|
|
157
|
+
getRewardForUser: TypedContractMethod<[
|
|
158
|
+
_user: AddressLike
|
|
159
|
+
], [
|
|
160
|
+
void
|
|
161
|
+
], "nonpayable">;
|
|
162
|
+
paused: TypedContractMethod<[], [boolean], "view">;
|
|
163
|
+
rewardTokens: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
164
|
+
shareOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
165
|
+
stakingToken: TypedContractMethod<[], [string], "view">;
|
|
166
|
+
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
167
|
+
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
168
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
169
|
+
getFunction(nameOrSignature: "_shares"): TypedContractMethod<[
|
|
170
|
+
arg0: AddressLike
|
|
171
|
+
], [
|
|
172
|
+
[bigint, bigint] & {
|
|
173
|
+
shares: bigint;
|
|
174
|
+
lastUpdateTime: bigint;
|
|
175
|
+
}
|
|
176
|
+
], "view">;
|
|
177
|
+
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
178
|
+
account: AddressLike,
|
|
179
|
+
_rewardsToken: AddressLike
|
|
180
|
+
], [
|
|
181
|
+
bigint
|
|
182
|
+
], "view">;
|
|
183
|
+
getFunction(nameOrSignature: "getReward"): TypedContractMethod<[], [void], "nonpayable">;
|
|
184
|
+
getFunction(nameOrSignature: "getRewardForUser"): TypedContractMethod<[_user: AddressLike], [void], "nonpayable">;
|
|
185
|
+
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
186
|
+
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
187
|
+
getFunction(nameOrSignature: "shareOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
188
|
+
getFunction(nameOrSignature: "stakingToken"): TypedContractMethod<[], [string], "view">;
|
|
189
|
+
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
190
|
+
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
191
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
192
|
+
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
193
|
+
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
194
|
+
getEvent(key: "RewardAdded"): TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
195
|
+
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
196
|
+
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
197
|
+
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
198
|
+
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
199
|
+
filters: {
|
|
200
|
+
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
201
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
202
|
+
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
203
|
+
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
204
|
+
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
205
|
+
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
206
|
+
"RewardAdded(address,uint256)": TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
207
|
+
RewardAdded: TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
208
|
+
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
209
|
+
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
210
|
+
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
211
|
+
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
212
|
+
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
213
|
+
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
214
|
+
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
215
|
+
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeWeightedMultiRewards.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/TimeWeightedMultiRewards.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CInfraredVault } from "./CInfraredVault";
|
|
2
|
+
export type { IInfraredRewards } from "./IInfraredRewards";
|
|
3
|
+
export type { IInfraredVault } from "./IInfraredVault";
|
|
4
|
+
export type { IMultiRewards } from "./IMultiRewards";
|
|
5
|
+
export type { MultiRewards } from "./MultiRewards";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface IBalancerLPInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "getPoolId" | "getVault" | "totalSupply"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "getPoolId", values?: undefined): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "getVault", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
8
|
+
decodeFunctionResult(functionFragment: "getPoolId", data: BytesLike): Result;
|
|
9
|
+
decodeFunctionResult(functionFragment: "getVault", data: BytesLike): Result;
|
|
10
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
11
|
+
}
|
|
12
|
+
export interface IBalancerLP extends BaseContract {
|
|
13
|
+
connect(runner?: ContractRunner | null): IBalancerLP;
|
|
14
|
+
waitForDeployment(): Promise<this>;
|
|
15
|
+
interface: IBalancerLPInterface;
|
|
16
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
17
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
18
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
21
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
22
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
23
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
24
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
25
|
+
getPoolId: TypedContractMethod<[], [string], "view">;
|
|
26
|
+
getVault: TypedContractMethod<[], [string], "view">;
|
|
27
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
28
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
29
|
+
getFunction(nameOrSignature: "getPoolId"): TypedContractMethod<[], [string], "view">;
|
|
30
|
+
getFunction(nameOrSignature: "getVault"): TypedContractMethod<[], [string], "view">;
|
|
31
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
32
|
+
filters: {};
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IBalancerLP.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.ts"],"names":[],"mappings":""}
|