IFM_DepositVault_v1
Author: Inverter Network
This contract allows users to deposit tokens to fund the workflow.
Implements {IFundingManager_v1} interface.
Functions
deposit
Deposits a specified amount of tokens into the contract from the sender's account.
When using the {TransactionForwarder_v1}, validate transaction success to prevent nonce exploitation and ensure transaction integrity.
Parameters
Name
Type
Description
amount
uint256
The number of tokens to deposit.
Events
Deposit
Event emitted when a deposit takes place.
Parameters
Name
Type
Description
_from
address
The address depositing tokens.
_amount
uint256
The amount of tokens deposited.
Errors
Module__DepositVault__InvalidRecipient
Receiver address can not be zero address or Deposit Vault Funding Manager itself.
Last updated