Charged-Particles / charged-particles-universe

Solidity Contracts for the Charged Particles Universe
Other
53 stars 14 forks source link

Feature/cha 107 add temporary locking #24

Closed robsecord closed 3 years ago

linear[bot] commented 3 years ago
CHA-107 Add Temporary Locking

Allow an external contract to request a temporary lock on the users NFT for the purposes of gamifying the particle. The user should not be able to pre-discharge/release their particle in the event that they lose a competition, before the external contract is able to discharge on their behalf. Temp-locks can be unlocked by the same contract that locked, or the temp-lock expires. When requesting temp-lock, must specify the max time for lock, but is expected to unlock before that time as well.