evolutionlandorg / common-contracts

common contracts, utilities, libs used by evolution land
Apache License 2.0
10 stars 9 forks source link

update to fix bug #17

Closed sekisamu closed 5 years ago

sekisamu commented 5 years ago
  1. the user has already transfer tokenId to TokenUse contract address when creatingOffer, so we need to record its original owner in UseOffer
  2. require(tokenId2UseStatus[_tokenId].acceptedActivity == address(0)) when startActivity to prevent adding same tokenId multiple times.