tx · 8tQxFkBcgSnn4rw34QYEuzNTyyUJK3Y956toTBLwZYqE

3Mwv6cMyrLP5CQ3dTCsheo4kQjLGfKZE5C4:  -0.01400000 Waves

2019.07.04 05:10 [570061] smart account 3Mwv6cMyrLP5CQ3dTCsheo4kQjLGfKZE5C4 > SELF 0.00000000 Waves

{ "type": 13, "id": "8tQxFkBcgSnn4rw34QYEuzNTyyUJK3Y956toTBLwZYqE", "fee": 1400000, "feeAssetId": null, "timestamp": 1562206292528, "version": 1, "sender": "3Mwv6cMyrLP5CQ3dTCsheo4kQjLGfKZE5C4", "senderPublicKey": "DSnYugobtDLc6RsQn654J1NALWpKRBdyZamm98Xc8ChL", "proofs": [ "3DBEX9r6UPfuj3GDb5sUJQNr1y9FeGiFeearN28Key54MJuAitqFsaEVpE7hYfFVUtghGFXnX5hiTfty6fWConKb" ], "script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB1nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0ZQAAAAEAAAAEaXRlbQkAASwAAAACBQAAAARpdGVtAgAAABBfdmVyaWZpZXJfc3RhdHVzAAAAAAh2ZXJpZmllcgIAAAAjM013djZjTXlyTFA1Q1EzZFRDc2hlbzRrUWpMR2ZLWkU1QzQAAAAACFZFUklGSUVEAgAAAAh2ZXJpZmllZAAAAAALQkxBQ0tMSVNURUQCAAAACWJsYWNrbGlzdAAAAAEAAAABaQEAAAAJc2V0c3RhdHVzAAAAAgAAAAhzdXBwbGllcgAAAAZzdGF0dXMEAAAAB2FjY291bnQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAAIhPQAAAAIFAAAAB2FjY291bnQFAAAACHZlcmlmaWVyCQAAAgAAAAECAAAAMW9ubHkgb3JhY2xlIHZlcmlmaWVyIGFyZSBhYmxlIHRvIG1hbmFnZSB3aGl0ZWxpc3QDAwkBAAAAAiE9AAAAAgUAAAAGc3RhdHVzBQAAAAhWRVJJRklFRAkBAAAAAiE9AAAAAgUAAAAGc3RhdHVzBQAAAAtCTEFDS0xJU1RFRAcJAAACAAAAAQIAAAAMd3Jvbmcgc3RhdHVzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAdZ2V0RXh0VmFsdWVJdGVtV2hpdGVMaXN0U3RhdGUAAAABBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzBQAAAANuaWwAAAAArV5YpQ==", "chainId": 84, "height": 570061, "spentComplexity": 0 } View: original | compacted Prev: 8sJNw5PQXaa8QX13N4GXaLswkymRmQKEf4aqLvZDrW3A Next: 9DeRvmqZWKVaN97arxHdJh2fi6f1q7nkLQprehsCz9E1 Diff:
OldNewDifferences
44 func getExtValueItemWhiteListState (item) = (item + "_verifier_status")
55
66
7-let verifier = ""
7+let verifier = "3Mwv6cMyrLP5CQ3dTCsheo4kQjLGfKZE5C4"
88
99 let VERIFIED = "verified"
1010
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getExtValueItemWhiteListState (item) = (item + "_verifier_status")
55
66
7-let verifier = ""
7+let verifier = "3Mwv6cMyrLP5CQ3dTCsheo4kQjLGfKZE5C4"
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 verifier 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(getExtValueItemWhiteListState(supplier), status)])
2323 }
2424
2525

github/deemru/w8io/169f3d6 
29.77 ms