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:
Old | New | | Differences |
---|
19 | 19 | | then (h != e) |
---|
20 | 20 | | else false) |
---|
21 | 21 | | then throw("wrong status") |
---|
22 | | - | else WriteSet([DataEntry(a(i), h)]) |
---|
| 22 | + | else WriteSet([DataEntry(a(g), h)]) |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = (b + "_verified_status") |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | let c = "3N4ynv5cxsVeGSMoHBhiKKYcMmgZcDz8rzh" |
---|
8 | 8 | | |
---|
9 | 9 | | let d = "verified" |
---|
10 | 10 | | |
---|
11 | 11 | | let e = "blacklisted" |
---|
12 | 12 | | |
---|
13 | 13 | | @Callable(f) |
---|
14 | 14 | | func setStatus (g,h) = { |
---|
15 | 15 | | let i = toBase58String(f.caller.bytes) |
---|
16 | 16 | | if ((i != c)) |
---|
17 | 17 | | then throw("only oracle verifier are able to manage a status list") |
---|
18 | 18 | | else if (if ((h != d)) |
---|
19 | 19 | | then (h != e) |
---|
20 | 20 | | else false) |
---|
21 | 21 | | then throw("wrong status") |
---|
22 | | - | else WriteSet([DataEntry(a(i), h)]) |
---|
| 22 | + | else WriteSet([DataEntry(a(g), h)]) |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|