@meterio/sumer-js 0.2.117 → 0.2.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +55 -346
- package/dist/nodejs/abi.js +10133 -15862
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +0 -1
- package/dist/nodejs/constants/arbitrum.js +1 -2
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +5 -0
- package/dist/nodejs/constants/beramain.js +50 -11
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +4 -0
- package/dist/nodejs/constants/core.js +37 -10
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/hemi.d.ts +79 -0
- package/dist/nodejs/constants/hemi.js +180 -0
- package/dist/nodejs/constants/hemi.js.map +1 -0
- package/dist/nodejs/constants/monadtest.js +1 -1
- package/dist/nodejs/constants/zklink.d.ts +4 -4
- package/dist/nodejs/constants/zklink.js +4 -4
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +10 -1207
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +55 -346
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +33 -74
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +21 -66
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1094 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +4 -313
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +1 -17
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.d.ts +55 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +4 -4
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.d.ts +16 -16
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +6 -6
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +41 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.d.ts +83 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +2 -2
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +108 -6
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +1 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +16 -72
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +80 -113
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +97 -154
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +65 -92
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +79 -125
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +16 -72
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1804 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +2315 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1 -5
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +1 -6
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +0 -359
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +0 -463
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +0 -30
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.d.ts +38 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js +60 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.d.ts +26 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +2 -4
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +26 -9
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +2 -14
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +2 -19
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +57 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +85 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.d.ts +60 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js +89 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +5 -2
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +119 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +154 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +96 -168
- package/dist/nodejs/typechain/index.d.ts +12 -24
- package/dist/nodejs/typechain/index.js +14 -26
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export declare namespace IVault {
|
|
4
|
+
type UserBalanceOpStruct = {
|
|
5
|
+
kind: BigNumberish;
|
|
6
|
+
asset: AddressLike;
|
|
7
|
+
amount: BigNumberish;
|
|
8
|
+
sender: AddressLike;
|
|
9
|
+
recipient: AddressLike;
|
|
10
|
+
};
|
|
11
|
+
type UserBalanceOpStructOutput = [
|
|
12
|
+
kind: bigint,
|
|
13
|
+
asset: string,
|
|
14
|
+
amount: bigint,
|
|
15
|
+
sender: string,
|
|
16
|
+
recipient: string
|
|
17
|
+
] & {
|
|
18
|
+
kind: bigint;
|
|
19
|
+
asset: string;
|
|
20
|
+
amount: bigint;
|
|
21
|
+
sender: string;
|
|
22
|
+
recipient: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface IVaultInterface extends Interface {
|
|
26
|
+
getFunction(nameOrSignature: "getPoolTokens" | "manageUserBalance"): FunctionFragment;
|
|
27
|
+
encodeFunctionData(functionFragment: "getPoolTokens", values: [BytesLike]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "manageUserBalance", values: [IVault.UserBalanceOpStruct[]]): string;
|
|
29
|
+
decodeFunctionResult(functionFragment: "getPoolTokens", data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: "manageUserBalance", data: BytesLike): Result;
|
|
31
|
+
}
|
|
32
|
+
export interface IVault extends BaseContract {
|
|
33
|
+
connect(runner?: ContractRunner | null): IVault;
|
|
34
|
+
waitForDeployment(): Promise<this>;
|
|
35
|
+
interface: IVaultInterface;
|
|
36
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
37
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
38
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
39
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
40
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
41
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
42
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
43
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
44
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
45
|
+
getPoolTokens: TypedContractMethod<[
|
|
46
|
+
poolId: BytesLike
|
|
47
|
+
], [
|
|
48
|
+
[
|
|
49
|
+
string[],
|
|
50
|
+
bigint[],
|
|
51
|
+
bigint
|
|
52
|
+
] & {
|
|
53
|
+
tokens: string[];
|
|
54
|
+
balances: bigint[];
|
|
55
|
+
lastChangeBlock: bigint;
|
|
56
|
+
}
|
|
57
|
+
], "view">;
|
|
58
|
+
manageUserBalance: TypedContractMethod<[
|
|
59
|
+
ops: IVault.UserBalanceOpStruct[]
|
|
60
|
+
], [
|
|
61
|
+
void
|
|
62
|
+
], "payable">;
|
|
63
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
64
|
+
getFunction(nameOrSignature: "getPoolTokens"): TypedContractMethod<[
|
|
65
|
+
poolId: BytesLike
|
|
66
|
+
], [
|
|
67
|
+
[
|
|
68
|
+
string[],
|
|
69
|
+
bigint[],
|
|
70
|
+
bigint
|
|
71
|
+
] & {
|
|
72
|
+
tokens: string[];
|
|
73
|
+
balances: bigint[];
|
|
74
|
+
lastChangeBlock: bigint;
|
|
75
|
+
}
|
|
76
|
+
], "view">;
|
|
77
|
+
getFunction(nameOrSignature: "manageUserBalance"): TypedContractMethod<[
|
|
78
|
+
ops: IVault.UserBalanceOpStruct[]
|
|
79
|
+
], [
|
|
80
|
+
void
|
|
81
|
+
], "payable">;
|
|
82
|
+
filters: {};
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IVault.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interfaces/IVault.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type * as balancerSol from "./Balancer.sol";
|
|
2
|
-
export type { balancerSol };
|
|
3
1
|
import type * as icTokenExternalSol from "./ICTokenExternal.sol";
|
|
4
2
|
export type { icTokenExternalSol };
|
|
5
3
|
import type * as kodiakSol from "./Kodiak.sol";
|
|
@@ -21,6 +19,7 @@ export type { IPMarket } from "./IPMarket";
|
|
|
21
19
|
export type { IPPrincipalToken } from "./IPPrincipalToken";
|
|
22
20
|
export type { IPYieldToken } from "./IPYieldToken";
|
|
23
21
|
export type { IPendlePtOracle } from "./IPendlePtOracle";
|
|
22
|
+
export type { IPool } from "./IPool";
|
|
24
23
|
export type { IPriceOracle } from "./IPriceOracle";
|
|
25
24
|
export type { IRedemptionManager } from "./IRedemptionManager";
|
|
26
25
|
export type { ISortedBorrows } from "./ISortedBorrows";
|
|
@@ -28,5 +27,6 @@ export type { IStandardizedYield } from "./IStandardizedYield";
|
|
|
28
27
|
export type { IStdReference } from "./IStdReference";
|
|
29
28
|
export type { ITimelock } from "./ITimelock";
|
|
30
29
|
export type { IUnitroller } from "./IUnitroller";
|
|
30
|
+
export type { IVault } from "./IVault";
|
|
31
31
|
export type { IVoltPair } from "./IVoltPair";
|
|
32
32
|
export type { IWitnetFeed } from "./IWitnetFeed";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { BaseContract, 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 BalancerLPAdapterInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "exchangeRate" | "owner" | "pendingOwner" | "poolId" | "priceOracle" | "renounceOwnership" | "transferOwnership" | "vault"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "exchangeRate", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "poolId", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "priceOracle", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "vault", values?: undefined): string;
|
|
15
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: "exchangeRate", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "poolId", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "priceOracle", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "vault", data: BytesLike): Result;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
26
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
27
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
28
|
+
interface OutputObject {
|
|
29
|
+
previousOwner: string;
|
|
30
|
+
newOwner: string;
|
|
31
|
+
}
|
|
32
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
33
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
34
|
+
type Log = TypedEventLog<Event>;
|
|
35
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace OwnershipTransferredEvent {
|
|
38
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
39
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
40
|
+
interface OutputObject {
|
|
41
|
+
previousOwner: string;
|
|
42
|
+
newOwner: 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 interface BalancerLPAdapter extends BaseContract {
|
|
50
|
+
connect(runner?: ContractRunner | null): BalancerLPAdapter;
|
|
51
|
+
waitForDeployment(): Promise<this>;
|
|
52
|
+
interface: BalancerLPAdapterInterface;
|
|
53
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
54
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
55
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
56
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
57
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
58
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
59
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
60
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
61
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
62
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
63
|
+
exchangeRate: TypedContractMethod<[], [bigint], "view">;
|
|
64
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
65
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
66
|
+
poolId: TypedContractMethod<[], [string], "view">;
|
|
67
|
+
priceOracle: TypedContractMethod<[], [string], "view">;
|
|
68
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
69
|
+
transferOwnership: TypedContractMethod<[
|
|
70
|
+
newOwner: AddressLike
|
|
71
|
+
], [
|
|
72
|
+
void
|
|
73
|
+
], "nonpayable">;
|
|
74
|
+
vault: TypedContractMethod<[], [string], "view">;
|
|
75
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
76
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
77
|
+
getFunction(nameOrSignature: "exchangeRate"): TypedContractMethod<[], [bigint], "view">;
|
|
78
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
79
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
80
|
+
getFunction(nameOrSignature: "poolId"): TypedContractMethod<[], [string], "view">;
|
|
81
|
+
getFunction(nameOrSignature: "priceOracle"): TypedContractMethod<[], [string], "view">;
|
|
82
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
83
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
84
|
+
getFunction(nameOrSignature: "vault"): TypedContractMethod<[], [string], "view">;
|
|
85
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
86
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
87
|
+
filters: {
|
|
88
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
89
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
90
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
91
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalancerLPAdapter.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.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/Oracle/BalancerLPAdapter.sol/IBalancerLP.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 IBalancerVaultInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "getPoolTokens"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "getPoolTokens", values: [BytesLike]): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "getPoolTokens", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface IBalancerVault extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): IBalancerVault;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: IBalancerVaultInterface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
getPoolTokens: TypedContractMethod<[
|
|
22
|
+
poolId: BytesLike
|
|
23
|
+
], [
|
|
24
|
+
[
|
|
25
|
+
string[],
|
|
26
|
+
bigint[],
|
|
27
|
+
bigint
|
|
28
|
+
] & {
|
|
29
|
+
tokens: string[];
|
|
30
|
+
balances: bigint[];
|
|
31
|
+
lastChangeBlock: bigint;
|
|
32
|
+
}
|
|
33
|
+
], "view">;
|
|
34
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
35
|
+
getFunction(nameOrSignature: "getPoolTokens"): TypedContractMethod<[
|
|
36
|
+
poolId: BytesLike
|
|
37
|
+
], [
|
|
38
|
+
[
|
|
39
|
+
string[],
|
|
40
|
+
bigint[],
|
|
41
|
+
bigint
|
|
42
|
+
] & {
|
|
43
|
+
tokens: string[];
|
|
44
|
+
balances: bigint[];
|
|
45
|
+
lastChangeBlock: bigint;
|
|
46
|
+
}
|
|
47
|
+
], "view">;
|
|
48
|
+
filters: {};
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IBalancerVault.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface IPriceOracleInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "getPrice"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "getPrice", values: [AddressLike]): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "getPrice", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface IPriceOracle extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): IPriceOracle;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: IPriceOracleInterface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
getPrice: TypedContractMethod<[token: AddressLike], [bigint], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "getPrice"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPriceOracle.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.ts"],"names":[],"mappings":""}
|