tx · ADN2rsdDTYnv8EzGsukVpwNfhzUicweaZn44QQdvMDQ3

3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k:  -0.01400000 Waves

2021.01.13 13:07 [1351539] smart account 3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k > SELF 0.00000000 Waves

{ "type": 13, "id": "ADN2rsdDTYnv8EzGsukVpwNfhzUicweaZn44QQdvMDQ3", "fee": 1400000, "feeAssetId": null, "timestamp": 1610532400400, "version": 2, "chainId": 84, "sender": "3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k", "senderPublicKey": "3VyXNqJY8HwfqLo6TUZ1V4BwE6NMZuq9XYEARYhktMPE", "proofs": [ "4ix6MRCCkL3xQByQLcbpnS47mLdB1akYMmhKwmULWLtmC7g8oxNXq9L4f4pgmJh96Zq23dKThnjn19eNepEHNmrH" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAAAIAAAAABWNocmlzAgAAACMzTXNHNmpQTkNyVkpVdFlCN1hKQnhTN3V0V3NYQWY0bjlWcAAAAAAEam9lcAIAAAAjM016bTRWTHdzTjl1WndiVE16UGozWHV4VjZrRWZBUjhVRE4AAAABAAAAAWkBAAAACXdoaXRlbGlzdAAAAAIAAAAHYWRkcmVzcwAAAARkYXlzBAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAJpZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkBAAAAAZleHBpcmUDCQAAAAAAAAIFAAAABGRheXMAAAAAAAAAAAAFAAAABGRheXMJAABkAAAAAgUAAAAGaGVpZ2h0CQAAaAAAAAIAAAAAAAAABaAFAAAABGRheXMDCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAVjaHJpcwkABEwAAAACBQAAAARqb2VwBQAAAANuaWwFAAAABmNhbGxlcgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAHYWRkcmVzcwUAAAAGZXhwaXJlBQAAAANuaWwJAAACAAAAAQIAAAArWW91IGFyZSBub3QgYXV0aG9yaXplZCB0byB3aGl0ZWxpc3QgYXJ0aXN0cwAAAADWtpaO", "height": 1351539, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7ZoUBRNX9g1ZWPGtAcb86cP74yic2q31jMkK8fBiKx71 Next: 6pGZUTAuz2kEP3p2o88RkFqMHtq8qVpCujCkFUWGwMLJ Diff:
OldNewDifferences
1414 else (height + (1440 * days))
1515 if (containsElement([chris, joep], caller))
1616 then [IntegerEntry(address, expire)]
17- else throw("You are anot authorized to whitelist artists")
17+ else throw("You are not authorized to whitelist artists")
1818 }
1919
2020
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
55
66 let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
77
88 @Callable(i)
99 func whitelist (address,days) = {
1010 let caller = toString(addressFromPublicKey(i.callerPublicKey))
1111 let id = toBase58String(i.transactionId)
1212 let expire = if ((days == 0))
1313 then days
1414 else (height + (1440 * days))
1515 if (containsElement([chris, joep], caller))
1616 then [IntegerEntry(address, expire)]
17- else throw("You are anot authorized to whitelist artists")
17+ else throw("You are not authorized to whitelist artists")
1818 }
1919
2020

github/deemru/w8io/169f3d6 
24.68 ms