DullahanZapDeposit
aave
Address of the AAVE token
stkAave
Address of the stkAAVE token
vault
Address of the Dullahan Vault
staking
Address of the Dullahan Staking
ZapDeposit
Event emitted when a Zap Depsoit is performed
TokenRecovered
Event emitted when an ERC20 token is recovered from this contract
constructor
zapDeposit
Zap deposit AAVE or stkAAVE into the Vault & stake them
Pull AAVE or stkAAVE, deposit in the Vault, and stake if flag was given
Parameters
sourceToken
address
Address of the token to pull (AAVE or stkAAVE)
amount
uint256
Amount to deposit
receiver
address
Address to receive the share token / to be staked on behalf of
stake
bool
Flag to stake the received shares
pause
Pause the contract
unpause
Unpause the contract
recoverERC20
Recover ERC2O tokens in the contract
Recover ERC2O tokens in the contract
Parameters
token
address
Address of the ERC2O token
Return Values
[0]
bool
bool: success
Last updated
Was this helpful?