tx · 2F1CjVgTBqJ8tVsHfSrNHvtyDHPzCZvM15n1Zas9LQ5n

3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx:  -0.04000000 Waves

2019.07.25 20:54 [601893] smart account 3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx > SELF 0.00000000 Waves

{ "type": 13, "id": "2F1CjVgTBqJ8tVsHfSrNHvtyDHPzCZvM15n1Zas9LQ5n", "fee": 4000000, "feeAssetId": null, "timestamp": 1564077264591, "version": 1, "sender": "3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx", "senderPublicKey": "3BUnq1ZDdrmQSgYEnjv21GkiYj8TXWQmWQfqRDmQDFRm", "proofs": [ "4CLdRNLv8J2qaYMkb7USAHbXf4vsZ9AFGwtABKf6uTsfdX7y7so4EUjNXqfvNNp3ZG2epXdzja8ru8MFo5pBbuib" ], "script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAQX3ZlcmlmaWVyX3N0YXR1cwAAAAAIdmVyaWZpZXICAAAAIzNNd0tGQzRib1M5eXlDNXAyWWRWMWhmQ1BLMkdIYVgyQlVyAAAAAAhGRUFUVVJFRAIAAAAIZmVhdHVyZWQAAAAACERFTElTVEVEAgAAAAhkZWxpc3RlZAAAAAEAAAABaQEAAAAJc2V0c3RhdHVzAAAAAgAAAAhzdXBwbGllcgAAAAZzdGF0dXMEAAAAB2FjY291bnQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaGFzaAkAAlgAAAABCQAB9wAAAAEJAAGbAAAAAQkAASwAAAACBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzAwkBAAAAAiE9AAAAAgUAAAAHYWNjb3VudAUAAAAIdmVyaWZpZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAyb25seSBvcmFjbGUgdmVyeWZpZXIgYXJlIGFibGUgdG8gbWFuYWdlIHdoaXRlbGlzdCAFAAAAB2FjY291bnQCAAAAASAFAAAACHZlcmlmaWVyAwMJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIRkVBVFVSRUQJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIREVMSVNURUQHCQAAAgAAAAECAAAADHdyb25nIHN0YXR1cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAHmdldEV4dFZhbHVlSXRlbVdoaXRlTGlzdFN0YXR1cwAAAAEFAAAACHN1cHBsaWVyBQAAAAZzdGF0dXMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAABBzdXBwbGllcitzdGF0dXNfBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzBQAAAARoYXNoBQAAAANuaWwAAAAAAoE5Hg==", "chainId": 84, "height": 601893, "spentComplexity": 0 } View: original | compacted Prev: 99VbUVnvdF6EukuXVMFA6A1WZK56URo3rYN27ySFCP7g Next: 4dWGaeRFqFMccxVUS9rcnTt47pUyEMbQEg5br55f8zNZ Diff:
OldNewDifferences
1515 let account = toBase58String(i.caller.bytes)
1616 let hash = toBase58String(sha256(toBytes((supplier + status))))
1717 if ((account != verifier))
18- then throw("only oracle veryfier are able to manage whitelist")
18+ then throw(((("only oracle veryfier are able to manage whitelist " + account) + " ") + verifier))
1919 else if (if ((status != FEATURED))
2020 then (status != DELISTED)
2121 else false)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
55
66
77 let verifier = "3MwKFC4boS9yyC5p2YdV1hfCPK2GHaX2BUr"
88
99 let FEATURED = "featured"
1010
1111 let DELISTED = "delisted"
1212
1313 @Callable(i)
1414 func setstatus (supplier,status) = {
1515 let account = toBase58String(i.caller.bytes)
1616 let hash = toBase58String(sha256(toBytes((supplier + status))))
1717 if ((account != verifier))
18- then throw("only oracle veryfier are able to manage whitelist")
18+ then throw(((("only oracle veryfier are able to manage whitelist " + account) + " ") + verifier))
1919 else if (if ((status != FEATURED))
2020 then (status != DELISTED)
2121 else false)
2222 then throw("wrong status")
2323 else WriteSet([DataEntry(getExtValueItemWhiteListStatus(supplier), status), DataEntry((("supplier+status_" + supplier) + status), hash)])
2424 }
2525
2626

github/deemru/w8io/169f3d6 
29.00 ms