SC CODE: Function InitializePrivate(collection String, metadataFormat String, metadata String) Uint64
1 IF EXISTS("minter") == 1 THEN GOTO 11
2 STORE("minter", SIGNER())
3 STORE("type", "G45-NFT")
4 STORE("owner", "")
5 STORE("timestamp", BLOCK_TIMESTAMP())
6 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, SCID())
7 STORE("collection", collection)
8 STORE("metadataFormat", metadataFormat)
9 STORE("metadata", metadata)
10 RETURN 0
11 RETURN 1
End Function
Function DisplayNFT() Uint64
1 IF ADDRESS_STRING(SIGNER()) == "" THEN GOTO 5
2 IF ASSETVALUE(SCID()) != 1 THEN GOTO 5
3 STORE("owner", ADDRESS_STRING(SIGNER()))
4 RETURN 0
5 RETURN 1
End Function
Function RetrieveNFT() Uint64
1 IF LOAD("owner") != ADDRESS_STRING(SIGNER()) THEN GOTO 5
2 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, SCID())
3 STORE("owner", "")
4 RETURN 0
5 RETURN 1
End Function |
SC Arguments: [Name:SC_ACTION Type:uint64 Value:'1' Name:SC_CODE Type:string Value:'Function InitializePrivate(collection String, metadataFormat String, metadata String) Uint64
1 IF EXISTS("minter") == 1 THEN GOTO 11
2 STORE("minter", SIGNER())
3 STORE("type", "G45-NFT")
4 STORE("owner", "")
5 STORE("timestamp", BLOCK_TIMESTAMP())
6 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, SCID())
7 STORE("collection", collection)
8 STORE("metadataFormat", metadataFormat)
9 STORE("metadata", metadata)
10 RETURN 0
11 RETURN 1
End Function
Function DisplayNFT() Uint64
1 IF ADDRESS_STRING(SIGNER()) == "" THEN GOTO 5
2 IF ASSETVALUE(SCID()) != 1 THEN GOTO 5
3 STORE("owner", ADDRESS_STRING(SIGNER()))
4 RETURN 0
5 RETURN 1
End Function
Function RetrieveNFT() Uint64
1 IF LOAD("owner") != ADDRESS_STRING(SIGNER()) THEN GOTO 5
2 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, SCID())
3 STORE("owner", "")
4 RETURN 0
5 RETURN 1
End Function' Name:collection Type:string Value:'ec90b4365fff397d2cd3d6b023f37f6c4397d78d34f17617febf4ec8a7e920de' Name:metadata Type:string Value:'{"attributes":{"Alchemical Potency":"13","Arcanum":"The Major Arcana","Card Number":"INFINITY","Rarity":"Mythic Ultra Rare","Suit":"NONE"},"description":"The first and last card of the Tarot, this card represents the querent or you. Well, all of us really. It is a reminder to zoom out dimensionally to access all the levels of our being. When The Fool makes his way through the lessons, initiations, tests and victories of the Major Arcana, he finally reaches his fullest attainment, enlightenment/Mt.Meru/Agartha/Polaris etc. This comes in the form of Union with the Grandest Beloved(God). From there, once he has achieved this mastery, he may choose to forget everything he ever knew and start the journey at the beginning level to play the Game of Life once again, or he can maintain his mastery and life in the world while being clearly not of it. The entire world views him as a fool, either being the master perceived as mad by the sleeping masses, or a brand-new soul: asleep in the game, a new fractal of Creator waiting to be programmed. Either way, he is a fool, carefree and jolly, silly and ravenously mad to the outside world. The Fool reminds us to view every soul as a master, no matter how sleepy or sheepy they may seem, even if they are following mindlessly in the humdrum of the collective hypnosis. We may not know what they have already achieved or if they have chosen to forget it all and play the game again. We must trust people even when they make decisions that we believe are silly. We must honor each person’s self-possession and mastery, even when we don’t understand it. This card encourages us to get a bird’s eye perspective (dimensionally speaking) and to realize not everyone nor everything is as it seems. Honor the divinity within all. Embrace the Mystery. We do not yet know all. ","id":22,"image":"ipfs://QmRREMkrFHZcP77qhqRVwzM6sbzMhjiX8zQHHnsXNZvH29/","name":"The Fool"}' Name:metadataFormat Type:string Value:'json'] |