SC Arguments: [Name:SC_ACTION Type:uint64 Value:'1' Name:SC_CODE Type:string Value:'Function InitializePrivate() Uint64
1 IF getCreator() != "false" THEN GOTO 99
// mandatory: creator address for withdraw and update functions
2 STORE("Creator", ADDRESS_STRING(SIGNER()))
3 STORE("nameHdr", "CEX appeal")
4 STORE("descrHdr", "Will you donate +200 DERO to a community initiative for the purpose of listing DERO on a to-be-determined CEX?")
5 STORE("typeHdr", "community")
6 STORE("iconURLHdr", "https://ipfs.io/ipfs/QmYgGwUj9NpeRQgm5HU89emAHxm6fcDWYRiBiu2V7jW6CS")
7 STORE("coverURL", "https://ipfs.io/ipfs/QmYgGwUj9NpeRQgm5HU89emAHxm6fcDWYRiBiu2V7jW6CS")
8 STORE("collection", "secretsystems")
98 RETURN 0
99 RETURN 1
End Function
// private getter functions
Function getCreator() String
1 IF EXISTS("Creator") != 1 THEN GOTO 3
2 RETURN LOAD("Creator")
3 RETURN "false"
End Function
'] |