View Source: contracts/interfaces/IBondPool.sol
↗ Extends: IMember ↘ Derived Contracts: BondPoolBase
IBondPool
Events
event BondPoolSetup(address[] addresses, uint256[] values);
event BondCreated(address indexed account, uint256 lpTokens, uint256 npmToVest, uint256 unlockDate);
event BondClaimed(address indexed account, uint256 amount);
- setup(address[] addresses, uint256[] values)
- createBond(uint256 lpTokens, uint256 minNpmDesired)
- claimBond()
- getNpmMarketPrice()
- calculateTokensForLp(uint256 lpTokens)
- getInfo(address forAccount)
function setup(address[] addresses, uint256[] values) external nonpayable
Arguments
Name | Type | Description |
---|---|---|
addresses | address[] | |
values | uint256[] |
Source Code
function setup(address[] calldata addresses, uint256[] calldata values) external;
function createBond(uint256 lpTokens, uint256 minNpmDesired) external nonpayable
Arguments
Name | Type | Description |
---|---|---|
lpTokens | uint256 | |
minNpmDesired | uint256 |
Source Code
function createBond(uint256 lpTokens, uint256 minNpmDesired) external;
function claimBond() external nonpayable
Arguments
Name | Type | Description |
---|
Source Code
function claimBond() external;
function getNpmMarketPrice() external view
returns(uint256)
Arguments
Name | Type | Description |
---|
Source Code
function getNpmMarketPrice() external view returns (uint256);
function calculateTokensForLp(uint256 lpTokens) external view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
lpTokens | uint256 |
Source Code
function calculateTokensForLp(uint256 lpTokens) external view returns (uint256);
function getInfo(address forAccount) external view
returns(addresses address[], values uint256[])
Arguments
Name | Type | Description |
---|---|---|
forAccount | address |
Source Code
function getInfo(address forAccount) external view returns (address[] calldata addresses, uint256[] calldata values);
- AaveStrategy
- AccessControl
- AccessControlLibV1
- Address
- BaseLibV1
- BokkyPooBahsDateTimeLibrary
- BondPool
- BondPoolBase
- BondPoolLibV1
- CompoundStrategy
- console
- Context
- Cover
- CoverBase
- CoverLibV1
- CoverReassurance
- CoverStake
- CoverUtilV1
- cxToken
- cxTokenFactory
- cxTokenFactoryLibV1
- Delayable
- Destroyable
- ERC165
- ERC20
- FakeAaveLendingPool
- FakeCompoundDaiDelegator
- FakePriceOracle
- FakeRecoverable
- FakeStore
- FakeToken
- FakeUniswapPair
- FakeUniswapV2FactoryLike
- FakeUniswapV2PairLike
- FakeUniswapV2RouterLike
- FaultyAaveLendingPool
- FaultyCompoundDaiDelegator
- Finalization
- ForceEther
- Governance
- GovernanceUtilV1
- IAaveV2LendingPoolLike
- IAccessControl
- IBondPool
- IClaimsProcessor
- ICompoundERC20DelegatorLike
- ICover
- ICoverReassurance
- ICoverStake
- ICxToken
- ICxTokenFactory
- IERC165
- IERC20
- IERC20Detailed
- IERC20Metadata
- IERC3156FlashBorrower
- IERC3156FlashLender
- IFinalization
- IGovernance
- ILendingStrategy
- ILiquidityEngine
- IMember
- InvalidStrategy
- IPausable
- IPolicy
- IPolicyAdmin
- IPriceOracle
- IProtocol
- IRecoverable
- IReporter
- IResolution
- IResolvable
- IStakingPools
- IStore
- IStoreLike
- IUniswapV2FactoryLike
- IUniswapV2PairLike
- IUniswapV2RouterLike
- IUnstakable
- IVault
- IVaultDelegate
- IVaultFactory
- IWitness
- LiquidityEngine
- MaliciousToken
- MockAccessControlUser
- MockCoverUtilUser
- MockCxToken
- MockCxTokenPolicy
- MockCxTokenStore
- MockFlashBorrower
- MockLiquidityEngineUser
- MockProcessorStore
- MockProcessorStoreLib
- MockProtocol
- MockRegistryClient
- MockStore
- MockStoreKeyUtilUser
- MockValidationLibUser
- MockVault
- MockVaultLibUser
- NPM
- NpmDistributor
- NTransferUtilV2
- NTransferUtilV2Intermediate
- Ownable
- Pausable
- Policy
- PolicyAdmin
- PolicyHelperV1
- PoorMansERC20
- PriceLibV1
- Processor
- ProtoBase
- Protocol
- ProtoUtilV1
- Recoverable
- ReentrancyGuard
- RegistryLibV1
- Reporter
- Resolution
- Resolvable
- RoutineInvokerLibV1
- SafeERC20
- StakingPoolBase
- StakingPoolCoreLibV1
- StakingPoolInfo
- StakingPoolLibV1
- StakingPoolReward
- StakingPools
- Store
- StoreBase
- StoreKeyUtil
- StrategyLibV1
- Strings
- TimelockController
- Unstakable
- ValidationLibV1
- Vault
- VaultBase
- VaultDelegate
- VaultDelegateBase
- VaultDelegateWithFlashLoan
- VaultFactory
- VaultFactoryLibV1
- VaultLibV1
- VaultLiquidity
- VaultStrategy
- WithFlashLoan
- WithPausability
- WithRecovery
- Witness