Last updated
Last updated
Inherits: IFundingManager_v1, IFM_DepositVault_v1, Module_v1
Author: Inverter Network
This contract allows users to deposit tokens to fund the workflow.
Implements {IFundingManager_v1} interface.
Base Points used for percentage calculation. This value represents 100%.
The token that is deposited.
Storage gap for future upgrades.
See {IERC165-supportsInterface}.
Returns the token.
Returns
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
Transfer a specified amount of Tokens to a designated receiver address.
This function MUST be restricted to be called only by the {Orchestrator_v1}.
Parameters
Transfer protocol fees to the treasury.
Parameters
Validates the recipient address.
<none>
IERC20
The token.
amount
uint256
The number of tokens to deposit.
to
address
The address that will receive the tokens.
amount
uint256
The amount of tokens to be transfered.
treasury_
address
The address of the protocol treasury.
token_
IERC20
The token to transfer the fees from.
feeAmount_
uint256
The amount of fees to transfer.