Open Alumn0 opened 12 months ago
In line 70:
Function SetNFT(index Uint64, metadata String, soulBound Uint64, frozen Uint64) Uint64 10 IF LOAD("owner") == SIGNER() THEN GOTO 30 20 RETURN 1 30 IF LOAD(nftKey(index, "frozen")) == 0 THEN GOTO 50 40 RETURN 1 50 IF soulBound <= 1 THEN GOTO 110 60 RETURN 1 70 IF frozen <= 1 THEN GOTO 130 80 RETURN 1 90 STORE(nftKey(index, "metadata"), metadata) 100 STORE(nftKey(index, "soulBound"), soulBound) 110 STORE(nftKey(index, "frozen"), frozen) 120 RETURN 0 End Function
Yes, this contract is neither complete nor tested. I'm not sure if I will ever finish it or use it.
In line 70: