# FundLockRouter

View Source: contracts/fund-lock/FundLockRouter.sol

**↗ Extends: Router,** [**Delegator**](broken://pages/HodRCMxbn60x1wNP5Viw)

**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}

```js
bytes4 internal constant INIT_SIG;
```

***

## 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.

```js
function (address _roleManager, address _resolver, address _tokenManager, uint256 _tradeLock, uint256 _releaseLock) public nonpayable
```

**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}           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elektro.gitbook.io/elektro-protocol/smart-contracts/natspec-technical-documentation/funds-management/fundlockrouter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
