FarmingCenterVault
Variables
address farmingCenter
address owner immutable
mapping(uint256 => mapping(bytes32 => uint256)) balances
Functions
constructor
constructor() public
public
lockTokens
function lockTokens(uint256 tokenId, bytes32 incentiveId, uint256 tokenAmount) external
external
Name | Type | Description |
---|---|---|
tokenId | uint256 | |
incentiveId | bytes32 | |
tokenAmount | uint256 |
setFarmingCenter
function setFarmingCenter(address _farmingCenter) external
external
Name | Type | Description |
---|---|---|
_farmingCenter | address |
claimTokens
function claimTokens(address multiplierToken, address to, uint256 tokenId, bytes32 incentiveId) external
external
Name | Type | Description |
---|---|---|
multiplierToken | address | |
to | address | |
tokenId | uint256 | |
incentiveId | bytes32 |