FundLockRouter
View Source: contracts/fund-lock/FundLockRouter.sol
↗ Extends: Router, Delegator
FundLockRouter
Main address called for all FundLock
functionality. Initializes storage and routes calls to any FundLock
related functions.
Contract Members
Constants & Variables
Function signature to delegatecall() {FundLockAdmin} implementation contract since we need a "construction" at a later time to tie it to the {FundLockRouter}
Functions
(address _roleManager, address _resolver, address _tokenManager, uint256 _tradeLock, uint256 _releaseLock)
Constructor which will initialize parent {Router} contract and trigger initialization of the implementation {FundLockAdmin} contract and {FundLockStorage} thorugh delegatecall.
Arguments
Name | Type | Description |
---|---|---|
_roleManager | address | - address of the {RoleManager} contract |
_resolver | address | - address of the respective {FundLockResolver} |
_tokenManager | address | - address of the {TokenManagerRouter} |
_tradeLock | uint256 | - interval to use {fundsToWithdrawS} before {release} see {tradeLock} |
_releaseLock | uint256 | - interval to lock funds before {release} see {releaseLock} |
Last updated