SC CODE: /*
******************************************** DERO BLACK CAP ********************************************
* Limited Edition of Only 9 Pieces *
With each purchase, you will also receive a Dero Black Cap token, which you can keep as a nice memory for the future.
How to purchase:
1. In ENGRAM: Select Module > Asset Explorer > copy/paste the SCID of this SC (Tx hash), and then:
Scroll down
(Select one) > Buy_Dero_Black_Cap > (Dero Amount) type at least 13.37 or more > execute.
close (don't quit the Dero Black Cap window)
After purchasing, send me your physical mail address for delivery.
2. MY DERO SELLER ADDRESS: dero1qy4nye9a0zazd0napxejlwxxzvh6mem4sfeznedhudvvp6lwygz2wqgm5dqr2
send me a message with your physical mail address for delivery
In Engram, in the "Dero Black Cap" window,
click on "Message the Author" > (Message) type your physical mail address for delivery > Send
If your address doesn’t fit in one message, split it into two messages.
Messages on Dero are homomorphically encrypted, so only the sender and the receiver can see them.
3. Wait for confirmation's message.
*/
Function InitializePrivate() Uint64
10 IF EXISTS("owner") THEN GOTO 999
20 STORE("owner", SIGNER())
70 STORE("decimals", 5)
80 STORE("availablePcs", 9)
85 STORE("bought", 0)
90 STORE("price", 1337000) // Dero Black Cap Price 13.37 Dero
130 STORE("nameHdr", "Dero Black Cap")
140 STORE("descrHdr", "Worldwide shipping from EU, Price at least 13.37 Dero or more, Shipping costs are included in price")
150 STORE("typeHdr", "Item")
160 STORE("iconURLHdr", "https://i.postimg.cc/5t21g2kb/Dero-Black-Cap100x100.png")
170 STORE("tagsHdr", "#DeroBlackCap")
200 STORE("fileCheckC", "25cc65a027acaca7cccd179f31ed5a5c312082e926b3c6e889e67ab7f4dd6200")
210 STORE("fileCheckS", "141f2c0057f1ed5a3fb77c68d670ff53cf59a38bd0b38baff10e89565c7c1a63")
220 STORE("fileURL", "https://i.ibb.co/XJ0kTXS/Dero-Black-Cap.png")
250 STORE("collection", "DeroCaps")
300 STORE("image_url", "https://i.postimg.cc/5t21g2kb/Dero-Black-Cap100x100.png")
310 STORE("name", "Dero Black Cap")
900 RETURN 0
999 RETURN 1
End Function
Function Buy_Dero_Black_Cap() Uint64
10 IF LOAD("availablePcs") < 1 THEN GOTO 999
20 IF DEROVALUE() < LOAD("price") THEN GOTO 999
30 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, scid())
40 SEND_DERO_TO_ADDRESS(LOAD("owner"), DEROVALUE())
50 STORE("availablePcs", LOAD("availablePcs") - 1)
60 STORE("bought", LOAD("bought") + 1)
900 RETURN 0
999 RETURN 1
End Function
Function UpdateCode(code String) Uint64
10 IF LOAD("owner") == SIGNER() THEN GOTO 30
20 RETURN 1
30 UPDATE_SC_CODE(code)
40 RETURN 0
End Function
|
SC Arguments: [Name:SC_ACTION Type:uint64 Value:'1' Name:SC_CODE Type:string Value:'/*
******************************************** DERO BLACK CAP ********************************************
* Limited Edition of Only 9 Pieces *
With each purchase, you will also receive a Dero Black Cap token, which you can keep as a nice memory for the future.
How to purchase:
1. In ENGRAM: Select Module > Asset Explorer > copy/paste the SCID of this SC (Tx hash), and then:
Scroll down
(Select one) > Buy_Dero_Black_Cap > (Dero Amount) type at least 13.37 or more > execute.
close (don't quit the Dero Black Cap window)
After purchasing, send me your physical mail address for delivery.
2. MY DERO SELLER ADDRESS: dero1qy4nye9a0zazd0napxejlwxxzvh6mem4sfeznedhudvvp6lwygz2wqgm5dqr2
send me a message with your physical mail address for delivery
In Engram, in the "Dero Black Cap" window,
click on "Message the Author" > (Message) type your physical mail address for delivery > Send
If your address doesn’t fit in one message, split it into two messages.
Messages on Dero are homomorphically encrypted, so only the sender and the receiver can see them.
3. Wait for confirmation's message.
*/
Function InitializePrivate() Uint64
10 IF EXISTS("owner") THEN GOTO 999
20 STORE("owner", SIGNER())
70 STORE("decimals", 5)
80 STORE("availablePcs", 9)
85 STORE("bought", 0)
90 STORE("price", 1337000) // Dero Black Cap Price 13.37 Dero
130 STORE("nameHdr", "Dero Black Cap")
140 STORE("descrHdr", "Worldwide shipping from EU, Price at least 13.37 Dero or more, Shipping costs are included in price")
150 STORE("typeHdr", "Item")
160 STORE("iconURLHdr", "https://i.postimg.cc/5t21g2kb/Dero-Black-Cap100x100.png")
170 STORE("tagsHdr", "#DeroBlackCap")
200 STORE("fileCheckC", "25cc65a027acaca7cccd179f31ed5a5c312082e926b3c6e889e67ab7f4dd6200")
210 STORE("fileCheckS", "141f2c0057f1ed5a3fb77c68d670ff53cf59a38bd0b38baff10e89565c7c1a63")
220 STORE("fileURL", "https://i.ibb.co/XJ0kTXS/Dero-Black-Cap.png")
250 STORE("collection", "DeroCaps")
300 STORE("image_url", "https://i.postimg.cc/5t21g2kb/Dero-Black-Cap100x100.png")
310 STORE("name", "Dero Black Cap")
900 RETURN 0
999 RETURN 1
End Function
Function Buy_Dero_Black_Cap() Uint64
10 IF LOAD("availablePcs") < 1 THEN GOTO 999
20 IF DEROVALUE() < LOAD("price") THEN GOTO 999
30 SEND_ASSET_TO_ADDRESS(SIGNER(), 1, scid())
40 SEND_DERO_TO_ADDRESS(LOAD("owner"), DEROVALUE())
50 STORE("availablePcs", LOAD("availablePcs") - 1)
60 STORE("bought", LOAD("bought") + 1)
900 RETURN 0
999 RETURN 1
End Function
Function UpdateCode(code String) Uint64
10 IF LOAD("owner") == SIGNER() THEN GOTO 30
20 RETURN 1
30 UPDATE_SC_CODE(code)
40 RETURN 0
End Function
'] |