@meterio/sumer-js 0.2.103 → 0.2.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +0 -146
- package/dist/nodejs/abi.js +0 -4151
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +6 -0
- package/dist/nodejs/constants/beramain.js +45 -5
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/errorABIs.js +0 -1207
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +0 -146
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.d.ts +69 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +40 -9
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +98 -35
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.d.ts +1124 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.d.ts +118 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +376 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +276 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.d.ts +354 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +5 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.d.ts +53 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.d.ts +59 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +43 -1
- package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.d.ts +47 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js +72 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +39 -11
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +49 -13
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +57 -7
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +71 -8
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +56 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +70 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +57 -7
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +71 -8
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +162 -30
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +203 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1887 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +2444 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.d.ts +124 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js +171 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +439 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +579 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +310 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +412 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.d.ts +396 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js +525 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +5 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +17 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.d.ts +47 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js +72 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.d.ts +61 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js +90 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.d.ts +55 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js +82 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +47 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/solmate/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/index.js +31 -0
- package/dist/nodejs/typechain/factories/solmate/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/solmate/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js +317 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js +9 -0
- package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js.map +1 -0
- package/dist/nodejs/typechain/hardhat.d.ts +0 -90
- package/dist/nodejs/typechain/index.d.ts +0 -10
- package/dist/nodejs/typechain/index.js +3 -13
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/dist/nodejs/typechain/solmate/index.d.ts +2 -0
- package/dist/nodejs/typechain/solmate/index.js +3 -0
- package/dist/nodejs/typechain/solmate/index.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/solmate/src/index.js +3 -0
- package/dist/nodejs/typechain/solmate/src/index.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js +3 -0
- package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js.map +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.d.ts +1 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.js +3 -0
- package/dist/nodejs/typechain/solmate/src/tokens/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../common";
|
|
4
|
+
import type { BalancerLPAdapter, BalancerLPAdapterInterface } from "../../../../contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter";
|
|
5
|
+
type BalancerLPAdapterConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class BalancerLPAdapter__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: BalancerLPAdapterConstructorParams);
|
|
8
|
+
getDeployTransaction(_correlatedToken: AddressLike, _underlyingToken: AddressLike, _priceOracle: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(_correlatedToken: AddressLike, _underlyingToken: AddressLike, _priceOracle: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<BalancerLPAdapter & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): BalancerLPAdapter__factory;
|
|
17
|
+
static readonly bytecode = "0x608080604052346101785760608161093d803803809161001f82856101d2565b8339810103126101785761004b60406100378361020b565b926100446020820161020b565b500161020b565b600380546001600160a01b031990811690915560028054918216339081179091556040519293916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600180546001600160a01b039283166001600160a01b03199182168117909255600480549590931694169390931781556311b2515f60e31b8252602090829081855afa90811561018557600091610191575b50600580546001600160a01b0319166001600160a01b0390921691909117905560405163038fff2d60e41b815290602090829060049082905afa9081156101855760009161014e575b5060065560405161071d90816102208239f35b90506020813d60201161017d575b81610169602093836101d2565b8101031261017857513861013b565b600080fd5b3d915061015c565b6040513d6000823e3d90fd5b90506020813d6020116101ca575b816101ac602093836101d2565b81010312610178576004916101c260209261020b565b9150916100f2565b3d915061019f565b601f909101601f19168101906001600160401b038211908210176101f557604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101785756fe608080604052600436101561001357600080fd5b60003560e01c9081632630c12f146105f1575080633ba0b9a9146102c65780633e0dc34e146102a8578063715018a61461024157806379ba5097146101755780638da5cb5b1461014c578063e30c397814610123578063f2fde38b146100b05763fbfa77cf1461008257600080fd5b346100ab5760003660031901126100ab576005546040516001600160a01b039091168152602090f35b600080fd5b346100ab5760203660031901126100ab576004356001600160a01b038116908190036100ab576100de61068f565b600380546001600160a01b031916821790556002546001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b346100ab5760003660031901126100ab576003546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab576002546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab57600354336001600160a01b03909116036101ea57600380546001600160a01b0319908116909155600280543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b346100ab5760003660031901126100ab5761025a61068f565b600380546001600160a01b03199081169091556002805491821690556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100ab5760003660031901126100ab576020600654604051908152f35b346100ab5760003660031901126100ab57600060018060a01b036005541681600654602460405180948193631f29a8cd60e31b835260048301525afa80156105e657829183916104be575b506001546040516318160ddd60e01b8152926001600160a01b039091169190602084600481865afa9384156104b357859461047b575b50845b8151811015610451576001600160a01b036103658284610665565b5116848103610378575b5060010161034a565b602060018060a09994991b0360045416916024604051809481936341976e0960e01b835260048301525afa90811561044557600091610411575b508015610401576103c38785610665565b51808202918204036103eb57670de0b6b3a7640000900481018091116103eb5794600161036f565b634e487b7160e01b600052601160045260246000fd5b62bfc92160e01b60005260046000fd5b906020823d821161043d575b8161042a60209383610615565b8101031261043a575051876103b2565b80fd5b3d915061041d565b6040513d6000823e3d90fd5b858580156104655760209104604051908152f35b634e487b7160e01b600052601260045260246000fd5b9093506020813d6020116104ab575b8161049760209383610615565b810103126104a757519285610347565b8480fd5b3d915061048a565b6040513d87823e3d90fd5b9150503d8083833e6104d08183610615565b8101906060818303126105e257805167ffffffffffffffff81116105b65781019082601f830112156105b65781516105078161064d565b926105156040519485610615565b81845260208085019260051b820101908582116105de57602001915b8183106105ba5750505060208101519067ffffffffffffffff82116104a757019180601f840112156105b65782516105688161064d565b936105766040519586610615565b81855260208086019260051b8201019283116105b257602001905b8282106105a2575050509083610311565b8151815260209182019101610591565b8580fd5b8380fd5b82516001600160a01b03811681036105da57815260209283019201610531565b8780fd5b8680fd5b8280fd5b6040513d84823e3d90fd5b346100ab5760003660031901126100ab576004546001600160a01b03168152602090f35b90601f8019910116810190811067ffffffffffffffff82111761063757604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff81116106375760051b60200190565b80518210156106795760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6002546001600160a01b031633036106a357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea26469706673582212202749659f44e1abae8be6de81ae2937722db0a8fd7834a626143bdd2f92c9e72264736f6c634300081a0033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "_correlatedToken";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "address";
|
|
25
|
+
readonly name: "_underlyingToken";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "_priceOracle";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "nonpayable";
|
|
33
|
+
readonly type: "constructor";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "InvalidPrice";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly name: "InvalidProxy";
|
|
41
|
+
readonly type: "error";
|
|
42
|
+
}, {
|
|
43
|
+
readonly anonymous: false;
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly indexed: true;
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
readonly name: "previousOwner";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly indexed: true;
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly name: "newOwner";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "OwnershipTransferStarted";
|
|
56
|
+
readonly type: "event";
|
|
57
|
+
}, {
|
|
58
|
+
readonly anonymous: false;
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly indexed: true;
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
readonly name: "previousOwner";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly indexed: true;
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly name: "newOwner";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}];
|
|
70
|
+
readonly name: "OwnershipTransferred";
|
|
71
|
+
readonly type: "event";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "acceptOwnership";
|
|
75
|
+
readonly outputs: readonly [];
|
|
76
|
+
readonly stateMutability: "nonpayable";
|
|
77
|
+
readonly type: "function";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly name: "exchangeRate";
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
readonly name: "";
|
|
84
|
+
readonly type: "uint256";
|
|
85
|
+
}];
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
readonly type: "function";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "owner";
|
|
91
|
+
readonly outputs: readonly [{
|
|
92
|
+
readonly internalType: "address";
|
|
93
|
+
readonly name: "";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
}];
|
|
96
|
+
readonly stateMutability: "view";
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [];
|
|
100
|
+
readonly name: "pendingOwner";
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly internalType: "address";
|
|
103
|
+
readonly name: "";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
}];
|
|
106
|
+
readonly stateMutability: "view";
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [];
|
|
110
|
+
readonly name: "poolId";
|
|
111
|
+
readonly outputs: readonly [{
|
|
112
|
+
readonly internalType: "bytes32";
|
|
113
|
+
readonly name: "";
|
|
114
|
+
readonly type: "bytes32";
|
|
115
|
+
}];
|
|
116
|
+
readonly stateMutability: "view";
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [];
|
|
120
|
+
readonly name: "priceOracle";
|
|
121
|
+
readonly outputs: readonly [{
|
|
122
|
+
readonly internalType: "contract IPriceOracle";
|
|
123
|
+
readonly name: "";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}];
|
|
126
|
+
readonly stateMutability: "view";
|
|
127
|
+
readonly type: "function";
|
|
128
|
+
}, {
|
|
129
|
+
readonly inputs: readonly [];
|
|
130
|
+
readonly name: "renounceOwnership";
|
|
131
|
+
readonly outputs: readonly [];
|
|
132
|
+
readonly stateMutability: "nonpayable";
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
readonly name: "newOwner";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}];
|
|
140
|
+
readonly name: "transferOwnership";
|
|
141
|
+
readonly outputs: readonly [];
|
|
142
|
+
readonly stateMutability: "nonpayable";
|
|
143
|
+
readonly type: "function";
|
|
144
|
+
}, {
|
|
145
|
+
readonly inputs: readonly [];
|
|
146
|
+
readonly name: "vault";
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly internalType: "contract IBalancerVault";
|
|
149
|
+
readonly name: "";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}];
|
|
152
|
+
readonly stateMutability: "view";
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
}];
|
|
155
|
+
static createInterface(): BalancerLPAdapterInterface;
|
|
156
|
+
static connect(address: string, runner?: ContractRunner | null): BalancerLPAdapter;
|
|
157
|
+
}
|
|
158
|
+
export {};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BalancerLPAdapter__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_correlatedToken",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "_underlyingToken",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_priceOracle",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
stateMutability: "nonpayable",
|
|
28
|
+
type: "constructor",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
inputs: [],
|
|
32
|
+
name: "InvalidPrice",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "InvalidProxy",
|
|
38
|
+
type: "error",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
anonymous: false,
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "previousOwner",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: true,
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "newOwner",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "OwnershipTransferStarted",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
anonymous: false,
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "previousOwner",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: true,
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "newOwner",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "OwnershipTransferred",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [],
|
|
80
|
+
name: "acceptOwnership",
|
|
81
|
+
outputs: [],
|
|
82
|
+
stateMutability: "nonpayable",
|
|
83
|
+
type: "function",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
inputs: [],
|
|
87
|
+
name: "exchangeRate",
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
stateMutability: "view",
|
|
96
|
+
type: "function",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [],
|
|
100
|
+
name: "owner",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [],
|
|
113
|
+
name: "pendingOwner",
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
internalType: "address",
|
|
117
|
+
name: "",
|
|
118
|
+
type: "address",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "view",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "poolId",
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
internalType: "bytes32",
|
|
130
|
+
name: "",
|
|
131
|
+
type: "bytes32",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: "view",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [],
|
|
139
|
+
name: "priceOracle",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "contract IPriceOracle",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [],
|
|
152
|
+
name: "renounceOwnership",
|
|
153
|
+
outputs: [],
|
|
154
|
+
stateMutability: "nonpayable",
|
|
155
|
+
type: "function",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
inputs: [
|
|
159
|
+
{
|
|
160
|
+
internalType: "address",
|
|
161
|
+
name: "newOwner",
|
|
162
|
+
type: "address",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "transferOwnership",
|
|
166
|
+
outputs: [],
|
|
167
|
+
stateMutability: "nonpayable",
|
|
168
|
+
type: "function",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
inputs: [],
|
|
172
|
+
name: "vault",
|
|
173
|
+
outputs: [
|
|
174
|
+
{
|
|
175
|
+
internalType: "contract IBalancerVault",
|
|
176
|
+
name: "",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
stateMutability: "view",
|
|
181
|
+
type: "function",
|
|
182
|
+
},
|
|
183
|
+
];
|
|
184
|
+
const _bytecode = "0x608080604052346101785760608161093d803803809161001f82856101d2565b8339810103126101785761004b60406100378361020b565b926100446020820161020b565b500161020b565b600380546001600160a01b031990811690915560028054918216339081179091556040519293916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600180546001600160a01b039283166001600160a01b03199182168117909255600480549590931694169390931781556311b2515f60e31b8252602090829081855afa90811561018557600091610191575b50600580546001600160a01b0319166001600160a01b0390921691909117905560405163038fff2d60e41b815290602090829060049082905afa9081156101855760009161014e575b5060065560405161071d90816102208239f35b90506020813d60201161017d575b81610169602093836101d2565b8101031261017857513861013b565b600080fd5b3d915061015c565b6040513d6000823e3d90fd5b90506020813d6020116101ca575b816101ac602093836101d2565b81010312610178576004916101c260209261020b565b9150916100f2565b3d915061019f565b601f909101601f19168101906001600160401b038211908210176101f557604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101785756fe608080604052600436101561001357600080fd5b60003560e01c9081632630c12f146105f1575080633ba0b9a9146102c65780633e0dc34e146102a8578063715018a61461024157806379ba5097146101755780638da5cb5b1461014c578063e30c397814610123578063f2fde38b146100b05763fbfa77cf1461008257600080fd5b346100ab5760003660031901126100ab576005546040516001600160a01b039091168152602090f35b600080fd5b346100ab5760203660031901126100ab576004356001600160a01b038116908190036100ab576100de61068f565b600380546001600160a01b031916821790556002546001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b346100ab5760003660031901126100ab576003546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab576002546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab57600354336001600160a01b03909116036101ea57600380546001600160a01b0319908116909155600280543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b346100ab5760003660031901126100ab5761025a61068f565b600380546001600160a01b03199081169091556002805491821690556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100ab5760003660031901126100ab576020600654604051908152f35b346100ab5760003660031901126100ab57600060018060a01b036005541681600654602460405180948193631f29a8cd60e31b835260048301525afa80156105e657829183916104be575b506001546040516318160ddd60e01b8152926001600160a01b039091169190602084600481865afa9384156104b357859461047b575b50845b8151811015610451576001600160a01b036103658284610665565b5116848103610378575b5060010161034a565b602060018060a09994991b0360045416916024604051809481936341976e0960e01b835260048301525afa90811561044557600091610411575b508015610401576103c38785610665565b51808202918204036103eb57670de0b6b3a7640000900481018091116103eb5794600161036f565b634e487b7160e01b600052601160045260246000fd5b62bfc92160e01b60005260046000fd5b906020823d821161043d575b8161042a60209383610615565b8101031261043a575051876103b2565b80fd5b3d915061041d565b6040513d6000823e3d90fd5b858580156104655760209104604051908152f35b634e487b7160e01b600052601260045260246000fd5b9093506020813d6020116104ab575b8161049760209383610615565b810103126104a757519285610347565b8480fd5b3d915061048a565b6040513d87823e3d90fd5b9150503d8083833e6104d08183610615565b8101906060818303126105e257805167ffffffffffffffff81116105b65781019082601f830112156105b65781516105078161064d565b926105156040519485610615565b81845260208085019260051b820101908582116105de57602001915b8183106105ba5750505060208101519067ffffffffffffffff82116104a757019180601f840112156105b65782516105688161064d565b936105766040519586610615565b81855260208086019260051b8201019283116105b257602001905b8282106105a2575050509083610311565b8151815260209182019101610591565b8580fd5b8380fd5b82516001600160a01b03811681036105da57815260209283019201610531565b8780fd5b8680fd5b8280fd5b6040513d84823e3d90fd5b346100ab5760003660031901126100ab576004546001600160a01b03168152602090f35b90601f8019910116810190811067ffffffffffffffff82111761063757604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff81116106375760051b60200190565b80518210156106795760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6002546001600160a01b031633036106a357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea26469706673582212202749659f44e1abae8be6de81ae2937722db0a8fd7834a626143bdd2f92c9e72264736f6c634300081a0033";
|
|
185
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
186
|
+
class BalancerLPAdapter__factory extends ethers_1.ContractFactory {
|
|
187
|
+
constructor(...args) {
|
|
188
|
+
if (isSuperArgs(args)) {
|
|
189
|
+
super(...args);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
super(_abi, _bytecode, args[0]);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
getDeployTransaction(_correlatedToken, _underlyingToken, _priceOracle, overrides) {
|
|
196
|
+
return super.getDeployTransaction(_correlatedToken, _underlyingToken, _priceOracle, overrides || {});
|
|
197
|
+
}
|
|
198
|
+
deploy(_correlatedToken, _underlyingToken, _priceOracle, overrides) {
|
|
199
|
+
return super.deploy(_correlatedToken, _underlyingToken, _priceOracle, overrides || {});
|
|
200
|
+
}
|
|
201
|
+
connect(runner) {
|
|
202
|
+
return super.connect(runner);
|
|
203
|
+
}
|
|
204
|
+
static createInterface() {
|
|
205
|
+
return new ethers_1.Interface(_abi);
|
|
206
|
+
}
|
|
207
|
+
static connect(address, runner) {
|
|
208
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
exports.BalancerLPAdapter__factory = BalancerLPAdapter__factory;
|
|
212
|
+
BalancerLPAdapter__factory.bytecode = _bytecode;
|
|
213
|
+
BalancerLPAdapter__factory.abi = _abi;
|
|
214
|
+
//# sourceMappingURL=BalancerLPAdapter__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalancerLPAdapter__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IBalancerLP, IBalancerLPInterface } from "../../../../contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP";
|
|
3
|
+
export declare class IBalancerLP__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "getPoolId";
|
|
7
|
+
readonly outputs: readonly [{
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
readonly name: "";
|
|
10
|
+
readonly type: "bytes32";
|
|
11
|
+
}];
|
|
12
|
+
readonly stateMutability: "view";
|
|
13
|
+
readonly type: "function";
|
|
14
|
+
}, {
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly name: "getVault";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "totalSupply";
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "view";
|
|
33
|
+
readonly type: "function";
|
|
34
|
+
}];
|
|
35
|
+
static createInterface(): IBalancerLPInterface;
|
|
36
|
+
static connect(address: string, runner?: ContractRunner | null): IBalancerLP;
|
|
37
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.IBalancerLP__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "getPoolId",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
internalType: "bytes32",
|
|
15
|
+
name: "",
|
|
16
|
+
type: "bytes32",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
stateMutability: "view",
|
|
20
|
+
type: "function",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [],
|
|
24
|
+
name: "getVault",
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
stateMutability: "view",
|
|
33
|
+
type: "function",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "totalSupply",
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "uint256",
|
|
41
|
+
name: "",
|
|
42
|
+
type: "uint256",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
type: "function",
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
class IBalancerLP__factory {
|
|
50
|
+
static createInterface() {
|
|
51
|
+
return new ethers_1.Interface(_abi);
|
|
52
|
+
}
|
|
53
|
+
static connect(address, runner) {
|
|
54
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.IBalancerLP__factory = IBalancerLP__factory;
|
|
58
|
+
IBalancerLP__factory.abi = _abi;
|
|
59
|
+
//# sourceMappingURL=IBalancerLP__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IBalancerLP__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,oBAAoB;IAE/B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAyB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA2B,CAAC;IACvE,CAAC;;AAPH,oDAQC;AAPiB,wBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IBalancerVault, IBalancerVaultInterface } from "../../../../contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault";
|
|
3
|
+
export declare class IBalancerVault__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "bytes32";
|
|
7
|
+
readonly name: "poolId";
|
|
8
|
+
readonly type: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly name: "getPoolTokens";
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly internalType: "address[]";
|
|
13
|
+
readonly name: "tokens";
|
|
14
|
+
readonly type: "address[]";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "uint256[]";
|
|
17
|
+
readonly name: "balances";
|
|
18
|
+
readonly type: "uint256[]";
|
|
19
|
+
}, {
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "lastChangeBlock";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
readonly type: "function";
|
|
26
|
+
}];
|
|
27
|
+
static createInterface(): IBalancerVaultInterface;
|
|
28
|
+
static connect(address: string, runner?: ContractRunner | null): IBalancerVault;
|
|
29
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.IBalancerVault__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "bytes32",
|
|
13
|
+
name: "poolId",
|
|
14
|
+
type: "bytes32",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
name: "getPoolTokens",
|
|
18
|
+
outputs: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "address[]",
|
|
21
|
+
name: "tokens",
|
|
22
|
+
type: "address[]",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "uint256[]",
|
|
26
|
+
name: "balances",
|
|
27
|
+
type: "uint256[]",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "lastChangeBlock",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
stateMutability: "view",
|
|
36
|
+
type: "function",
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
class IBalancerVault__factory {
|
|
40
|
+
static createInterface() {
|
|
41
|
+
return new ethers_1.Interface(_abi);
|
|
42
|
+
}
|
|
43
|
+
static connect(address, runner) {
|
|
44
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.IBalancerVault__factory = IBalancerVault__factory;
|
|
48
|
+
IBalancerVault__factory.abi = _abi;
|
|
49
|
+
//# sourceMappingURL=IBalancerVault__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IBalancerVault__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,uBAAuB;IAElC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA4B,CAAC;IACxD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA8B,CAAC;IAC1E,CAAC;;AAVH,0DAWC;AAViB,2BAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IPriceOracle, IPriceOracleInterface } from "../../../../contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle";
|
|
3
|
+
export declare class IPriceOracle__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
readonly name: "token";
|
|
8
|
+
readonly type: "address";
|
|
9
|
+
}];
|
|
10
|
+
readonly name: "getPrice";
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly internalType: "uint256";
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "uint256";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
readonly type: "function";
|
|
18
|
+
}];
|
|
19
|
+
static createInterface(): IPriceOracleInterface;
|
|
20
|
+
static connect(address: string, runner?: ContractRunner | null): IPriceOracle;
|
|
21
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.IPriceOracle__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "token",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
name: "getPrice",
|
|
18
|
+
outputs: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "view",
|
|
26
|
+
type: "function",
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
class IPriceOracle__factory {
|
|
30
|
+
static createInterface() {
|
|
31
|
+
return new ethers_1.Interface(_abi);
|
|
32
|
+
}
|
|
33
|
+
static connect(address, runner) {
|
|
34
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.IPriceOracle__factory = IPriceOracle__factory;
|
|
38
|
+
IPriceOracle__factory.abi = _abi;
|
|
39
|
+
//# sourceMappingURL=IPriceOracle__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPriceOracle__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,qBAAqB;IAEhC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA0B,CAAC;IACtD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA4B,CAAC;IACxE,CAAC;;AAVH,sDAWC;AAViB,yBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { BalancerLPAdapter__factory } from "./BalancerLPAdapter__factory";
|
|
2
|
+
export { IBalancerLP__factory } from "./IBalancerLP__factory";
|
|
3
|
+
export { IBalancerVault__factory } from "./IBalancerVault__factory";
|
|
4
|
+
export { IPriceOracle__factory } from "./IPriceOracle__factory";
|