ILPWhitelist

This is an optional component. If present it controls which Liquidity Providers can deposit or transfer their eTokens.

Each eToken has a whitelist parameter that if not null, points to a contract following this interface. Several eTokens can share the same whitelist contract or they can different ones.

External Methods

acceptsDeposit

function acceptsDeposit(contract IEToken etoken, address provider, uint256 amount) external view returns (bool)

Indicates whether or not a liquidity provider can do a deposit in an eToken.

acceptsTransfer

function acceptsTransfer(contract IEToken etoken, address providerFrom, address providerTo, uint256 amount) external view returns (bool)

Indicates whether or not the eTokens can be transferred from providerFrom to providerTo

Last updated