tx · 7ZoUBRNX9g1ZWPGtAcb86cP74yic2q31jMkK8fBiKx71

3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k:  -0.01400000 Waves

2020.12.01 12:17 [1289405] smart account 3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k > SELF 0.00000000 Waves

{ "type": 13, "id": "7ZoUBRNX9g1ZWPGtAcb86cP74yic2q31jMkK8fBiKx71", "fee": 1400000, "feeAssetId": null, "timestamp": 1606814277355, "version": 2, "chainId": 84, "sender": "3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k", "senderPublicKey": "3VyXNqJY8HwfqLo6TUZ1V4BwE6NMZuq9XYEARYhktMPE", "proofs": [ "2km58DqBPwdosPHTpFyE4gKP1wPzhwFHNc7xqxK9bgiikXFexjbbDw1NU7StX7Ydr6SvgLhMykrBLKQLdaFSkyXK" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAAAIAAAAABWNocmlzAgAAACMzTXNHNmpQTkNyVkpVdFlCN1hKQnhTN3V0V3NYQWY0bjlWcAAAAAAEam9lcAIAAAAjM016bTRWTHdzTjl1WndiVE16UGozWHV4VjZrRWZBUjhVRE4AAAABAAAAAWkBAAAACXdoaXRlbGlzdAAAAAIAAAAHYWRkcmVzcwAAAARkYXlzBAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAJpZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkBAAAAAZleHBpcmUDCQAAAAAAAAIFAAAABGRheXMAAAAAAAAAAAAFAAAABGRheXMJAABkAAAAAgUAAAAGaGVpZ2h0CQAAaAAAAAIAAAAAAAAABaAFAAAABGRheXMDCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAVjaHJpcwkABEwAAAACBQAAAARqb2VwBQAAAANuaWwFAAAABmNhbGxlcgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAHYWRkcmVzcwUAAAAGZXhwaXJlBQAAAANuaWwJAAACAAAAAQIAAAAsWW91IGFyZSBhbm90IGF1dGhvcml6ZWQgdG8gd2hpdGVsaXN0IGFydGlzdHMAAAAAjtHyCw==", "height": 1289405, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HEvtBoP9hxQNRGEBS43a2o9SayvQFXQ84L2R2NJtAFqq Next: ADN2rsdDTYnv8EzGsukVpwNfhzUicweaZn44QQdvMDQ3 Diff:
OldNewDifferences
99 func whitelist (d,e) = {
1010 let f = toString(addressFromPublicKey(c.callerPublicKey))
1111 let g = toBase58String(c.transactionId)
12- let h = (height + (1440 * e))
12+ let h = if ((e == 0))
13+ then e
14+ else (height + (1440 * e))
1315 if (containsElement([a, b], f))
1416 then [IntegerEntry(d, h)]
1517 else throw("You are anot authorized to whitelist artists")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
55
66 let b = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
77
88 @Callable(c)
99 func whitelist (d,e) = {
1010 let f = toString(addressFromPublicKey(c.callerPublicKey))
1111 let g = toBase58String(c.transactionId)
12- let h = (height + (1440 * e))
12+ let h = if ((e == 0))
13+ then e
14+ else (height + (1440 * e))
1315 if (containsElement([a, b], f))
1416 then [IntegerEntry(d, h)]
1517 else throw("You are anot authorized to whitelist artists")
1618 }
1719
1820

github/deemru/w8io/169f3d6 
31.38 ms