Skip to content

LockerToken

senamakel edited this page Jan 20, 2025 · 8 revisions

Solidity API

LockerToken

initialize

function initialize(address _token, address _staking) external

updateLockDates

function updateLockDates(uint256 _id, uint256 _startDate, uint256 _endDate) external

Update the start date of a lock

This function can only be called by the staking contract

Parameters

Name Type Description
_id uint256 The lock id
_startDate uint256 The new start date
_endDate uint256

Clone this wiki locally