tx · 7A2WAQTwq4ReszdyGDu2i8nVipBdX2bZVJxTmhi78FUv

3MrFECyg5u1oBr6Yv8o7xVHAWdDKYxjSqBH:  -0.01000000 Waves

2019.07.02 21:42 [568159] smart account 3MrFECyg5u1oBr6Yv8o7xVHAWdDKYxjSqBH > SELF 0.00000000 Waves

{ "type": 13, "id": "7A2WAQTwq4ReszdyGDu2i8nVipBdX2bZVJxTmhi78FUv", "fee": 1000000, "feeAssetId": null, "timestamp": 1562092987795, "version": 1, "sender": "3MrFECyg5u1oBr6Yv8o7xVHAWdDKYxjSqBH", "senderPublicKey": "892iV3WR5eKpCHvH7aBmeLbdjiKw9tn3h53LzbfoRFX4", "proofs": [ "3YSFpyCTDL51ofZBLpHmFBKDd6j5y4PMGgbbD1c3nzpcXK1PPLyxJUGVrVqufiZkjsLrk3L2p3qDKeAyc4pqvj8b" ], "script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAQX3ZlcmlmaWVyX3N0YXR1cwAAAAAIdmVyaWZpZXICAAAAIzNOOFduWUdaR1ZUeWtxdG9EeTdkelN6UU52ZkROeXZSS1hyAAAAAAhWRVJJRklFRAIAAAAIdmVyaWZpZWQAAAAAC0JMQUNLTElTVEVEAgAAAAlibGFja2xpc3QAAAABAAAAAWkBAAAACXNldHN0YXR1cwAAAAIAAAAIc3VwcGxpZXIAAAAGc3RhdHVzBAAAAAdhY2NvdW50CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQEAAAACIT0AAAACBQAAAAdhY2NvdW50BQAAAAh2ZXJpZmllcgkAAAIAAAABAgAAADFvbmx5IG9yYWNsZSB2ZXJpZmllciBhcmUgYWJsZSB0byBtYW5hZ2Ugd2hpdGVsaXN0AwMJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIVkVSSUZJRUQJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAALQkxBQ0tMSVNURUQHCQAAAgAAAAECAAAADXdyb25nbiBzdGF0dXMJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzBQAAAANuaWwAAAAAZS5zmw==", "chainId": 84, "height": 568159, "spentComplexity": 0 } View: original | compacted Prev: none Next: 3t1pkGaS9xEaBF9aCShkzvgF1dotDiFS9c7sXgYiK7pa Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
5+
6+
7+let verifier = "3N8WnYGZGVTykqtoDy7dzSzQNvfDNyvRKXr"
8+
9+let VERIFIED = "verified"
10+
11+let BLACKLISTED = "blacklist"
12+
13+@Callable(i)
14+func setstatus (supplier,status) = {
15+ let account = toBase58String(i.caller.bytes)
16+ if ((account != verifier))
17+ then throw("only oracle verifier are able to manage whitelist")
18+ else if (if ((status != VERIFIED))
19+ then (status != BLACKLISTED)
20+ else false)
21+ then throw("wrongn status")
22+ else WriteSet([DataEntry(getExtValueItemWhiteListStatus(supplier), status)])
23+ }
24+
25+

github/deemru/w8io/169f3d6 
17.14 ms