Skip to content

Commit

Permalink
Update TimeLockToken.aes
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulsan authored Dec 21, 2020
1 parent 343fb78 commit 751bed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/TimeLockToken.aes
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ contract TimeLockToken =
require(state.assetProperties[tokenId].isContinous == false, "asset is not time valued")
put(state{assetProperties[tokenId].InitialPrice = LivePrice})

// return the event name that is azssigned to token ID
// return the option price value that is azssigned to token ID
entrypoint getPriceValue(tokenId : int) : string =
state.assetProperties[tokenId].InitialPrice

// create event with tokenid and for the address "to"
// create option price with tokenid and for the address "to"
private stateful function _mint(token_id: int, to: address) =
only_owner(Call.caller)
require(!check_token_exists(token_id), "Token can't be overrided")
Expand Down

0 comments on commit 751bed0

Please sign in to comment.