tx · E4AUhcgJAuc6HovikgjpFum8tR2nwso6MRqv3YLd4YnH

3MvTNEEWUqmAtFHaf4h1fBr3rHRUSFjDjXL:  -0.01400000 Waves

2019.07.03 21:21 [569593] smart account 3MvTNEEWUqmAtFHaf4h1fBr3rHRUSFjDjXL > SELF 0.00000000 Waves

{ "type": 13, "id": "E4AUhcgJAuc6HovikgjpFum8tR2nwso6MRqv3YLd4YnH", "fee": 1400000, "feeAssetId": null, "timestamp": 1562178139370, "version": 1, "sender": "3MvTNEEWUqmAtFHaf4h1fBr3rHRUSFjDjXL", "senderPublicKey": "5Ynq9dCncpAt5oSwjJBMyy5ihuTMuPEC3g1rwY5HqQ2a", "proofs": [ "4t9YsZQZk5fcN99rjE9Bjr5SfSgXxtbtdx3JyrN6GdEiJHPNFUtLSdRzZWt5atf8k1r7DHpa1izTb88eBYEohkoD" ], "script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAQX3ZlcmlmaWVyX3N0YXR1cwAAAAAIdmVyaWZpZXICAAAAIzNNdlRORUVXVXFtQXRGSGFmNGgxZkJyM3JIUlVTRmpEalhMAAAAAAhWRVJJRklFRAIAAAAIdmVyaWZpZWQAAAAAC0JMQUNLTElTVEVEAgAAAAlibGFja2xpc3QAAAABAAAAAWkBAAAACXNldHN0YXR1cwAAAAIAAAAIc3VwcGxpZXIAAAAGc3RhdHVzBAAAAAdhY2NvdW50CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQEAAAACIT0AAAACBQAAAAdhY2NvdW50BQAAAAh2ZXJpZmllcgkAAAIAAAABAgAAADFvbmx5IG9yYWNsZSB2ZXJ5ZmllciBhcmUgYWJsZSB0byBtYW5hZ2Ugd2hpdGVsaXN0AwMJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIVkVSSUZJRUQJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAALQkxBQ0tMSVNURUQHCQAAAgAAAAECAAAADHdyb25nIHN0YXR1cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAHmdldEV4dFZhbHVlSXRlbVdoaXRlTGlzdFN0YXR1cwAAAAEFAAAACHN1cHBsaWVyBQAAAAZzdGF0dXMFAAAAA25pbAAAAAA7jjTd", "chainId": 84, "height": 569593, "spentComplexity": 0 } View: original | compacted Prev: GUqiUd8VFVZi1EMgujyVSrLmtTUL9X6ZY7vCokLRgXa7 Next: 2ioSoYxbHdmuTAtVtxxZcLSDS7hGiiMYTHHXSkHG7fMQ Diff:
OldNewDifferences
44 func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
55
66
7-let verifier = "3P7GUXqhYLWKopDcrJFsvPqioSyKWqVRLSw"
7+let verifier = "3MvTNEEWUqmAtFHaf4h1fBr3rHRUSFjDjXL"
88
99 let VERIFIED = "verified"
1010
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
55
66
7-let verifier = "3P7GUXqhYLWKopDcrJFsvPqioSyKWqVRLSw"
7+let verifier = "3MvTNEEWUqmAtFHaf4h1fBr3rHRUSFjDjXL"
88
99 let VERIFIED = "verified"
1010
1111 let BLACKLISTED = "blacklist"
1212
1313 @Callable(i)
1414 func setstatus (supplier,status) = {
1515 let account = toBase58String(i.caller.bytes)
1616 if ((account != verifier))
1717 then throw("only oracle veryfier are able to manage whitelist")
1818 else if (if ((status != VERIFIED))
1919 then (status != BLACKLISTED)
2020 else false)
2121 then throw("wrong status")
2222 else WriteSet([DataEntry(getExtValueItemWhiteListStatus(supplier), status)])
2323 }
2424
2525

github/deemru/w8io/169f3d6 
44.02 ms