FutureToken
ITTFutureTokenV2
The lightweight interface for TTFutureTokenV2(.5.x), which handles unlocking schedule ownership for TokenTable.
DidSetBaseURI
NotPermissioned
0x7f63bd0f
initialize
This contract should be deployed with TTUDeployerLite
, which calls this function with the correct parameters.
Parameters
projectToken
address
The address of the token that the founder intends to unlock and distribute.
isTransferable
bool
If the FutureTokens (aka schedules) can be transfered once minted.
setAuthorizedMinterSingleUse
This contract should be deployed with TTUDeployerLite
, which calls this function with the correct parameters.
This function can only be called once.
Parameters
authorizedMinter_
address
The address which is authorized to mint new FutureTokens. This is set to the corresponding Unlocker in the deployer.
safeMint
Safely mints a new FutureToken to the specified address.
This function can only be called by the authorized minter.
Parameters
to
address
The recipient of the new FutureToken.
Return Values
tokenId
uint256
The minted token ID (aka actual ID or schedule ID).
setURI
Updates the base URI.
This function can only be called by the owner of the authorized minter, which is usually the founder.
Parameters
uri
string
The new base URI.
getClaimInfo
Gets information regarding the unlocking schedule associated with this FutureToken.
Parameters
tokenId
uint256
The actual ID or schedule ID.
Return Values
deltaAmountClaimable
uint256
The amount of unlocked and unclaimed funds currently eligible to be claimed by the owner of the given ID.
amountAlreadyClaimed
uint256
The amount of unlocked and claimed funds of the given ID.
isCancelable
bool
If the schedule associated with this ID can be canceled by the founder.
Last updated