tx · 8YZiBD7xW9h8ME5DYbNMwURkNhN5CwnAoALxh6GW5GJg

3N4ynv5cxsVeGSMoHBhiKKYcMmgZcDz8rzh:  -0.01400000 Waves

2019.07.02 16:26 [567833] smart account 3N4ynv5cxsVeGSMoHBhiKKYcMmgZcDz8rzh > SELF 0.00000000 Waves

{ "type": 13, "id": "8YZiBD7xW9h8ME5DYbNMwURkNhN5CwnAoALxh6GW5GJg", "fee": 1400000, "feeAssetId": null, "timestamp": 1562074045685, "version": 1, "sender": "3N4ynv5cxsVeGSMoHBhiKKYcMmgZcDz8rzh", "senderPublicKey": "7RBp1hTfjQmME6KkwFrGwaAB4MFxQwUMXScXPE9ffgKB", "proofs": [ "2CSKDBEku4bNCqNw1ndc7Gc1BJSenQttwLLPGaJQzjkH37TH7bNJBmcsQEearFB5zFKLxB9zf2S8xPNnM54DpesC" ], "script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAABNnZXRFeHRLZXlJdGVtU3RhdHVzAAAAAQAAAAtzdXBwbGllckFkZAkAASwAAAACBQAAAAtzdXBwbGllckFkZAIAAAAQX3ZlcmlmaWVkX3N0YXR1cwAAAAALdmVyaWZpZXJBZGQCAAAAIzNONHludjVjeHNWZUdTTW9IQmhpS0tZY01tZ1pjRHo4cnpoAAAAAAhWRVJJRklFRAIAAAAIdmVyaWZpZWQAAAAAC0JMQUNLTElTVEVEAgAAAAtibGFja2xpc3RlZAAAAAEAAAAIdmVyQWRkVHgBAAAACXNldFN0YXR1cwAAAAIAAAAIc3VwcGxpZXIAAAAGc3RhdHVzBAAAAAdhY2NvdW50CQACWAAAAAEICAUAAAAIdmVyQWRkVHgAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAAHYWNjb3VudAUAAAALdmVyaWZpZXJBZGQJAAACAAAAAQIAAAA1b25seSBvcmFjbGUgdmVyaWZpZXIgYXJlIGFibGUgdG8gbWFuYWdlIGEgc3RhdHVzIGxpc3QDAwkBAAAAAiE9AAAAAgUAAAAGc3RhdHVzBQAAAAhWRVJJRklFRAkBAAAAAiE9AAAAAgUAAAAGc3RhdHVzBQAAAAtCTEFDS0xJU1RFRAcJAAACAAAAAQIAAAAMd3Jvbmcgc3RhdHVzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAATZ2V0RXh0S2V5SXRlbVN0YXR1cwAAAAEFAAAACHN1cHBsaWVyBQAAAAZzdGF0dXMFAAAAA25pbAAAAADFJKV9", "chainId": 84, "height": 567833, "spentComplexity": 0 } View: original | compacted Prev: 1VXTyTk8wDo6H2HU8f6XQEfUjFX4U41oLSMb1P4P3SQ Next: none Diff:
OldNewDifferences
1919 then (status != BLACKLISTED)
2020 else false)
2121 then throw("wrong status")
22- else WriteSet([DataEntry(getExtKeyItemStatus(account), status)])
22+ else WriteSet([DataEntry(getExtKeyItemStatus(supplier), status)])
2323 }
2424
2525
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getExtKeyItemStatus (supplierAdd) = (supplierAdd + "_verified_status")
55
66
77 let verifierAdd = "3N4ynv5cxsVeGSMoHBhiKKYcMmgZcDz8rzh"
88
99 let VERIFIED = "verified"
1010
1111 let BLACKLISTED = "blacklisted"
1212
1313 @Callable(verAddTx)
1414 func setStatus (supplier,status) = {
1515 let account = toBase58String(verAddTx.caller.bytes)
1616 if ((account != verifierAdd))
1717 then throw("only oracle verifier are able to manage a status list")
1818 else if (if ((status != VERIFIED))
1919 then (status != BLACKLISTED)
2020 else false)
2121 then throw("wrong status")
22- else WriteSet([DataEntry(getExtKeyItemStatus(account), status)])
22+ else WriteSet([DataEntry(getExtKeyItemStatus(supplier), status)])
2323 }
2424
2525

github/deemru/w8io/026f985 
34.66 ms