tx · 4dWGaeRFqFMccxVUS9rcnTt47pUyEMbQEg5br55f8zNZ
3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx: -0.04000000 Waves
2019.07.25 20:55 [601894] smart account 3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx > SELF 0.00000000 Waves
{
"type": 13,
"id": "4dWGaeRFqFMccxVUS9rcnTt47pUyEMbQEg5br55f8zNZ",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1564077314987,
"version": 1,
"sender": "3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx",
"senderPublicKey": "3BUnq1ZDdrmQSgYEnjv21GkiYj8TXWQmWQfqRDmQDFRm",
"proofs": [
"4wS9DzfnhAAS42Ews3RCEbk5qPxBhmpm76QDwmQMBranJ8qAkXFgo6WXuXgcNKgKbgJYLnjN82nhZHcwZPYmPbrK"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAQX3ZlcmlmaWVyX3N0YXR1cwAAAAAIdmVyaWZpZXICAAAAIzNNdlFXM0diOHR2eG5iNGVqcG5aZjJWWUh0cVNpb0xFcXp4AAAAAAhGRUFUVVJFRAIAAAAIZmVhdHVyZWQAAAAACERFTElTVEVEAgAAAAhkZWxpc3RlZAAAAAEAAAABaQEAAAAJc2V0c3RhdHVzAAAAAgAAAAhzdXBwbGllcgAAAAZzdGF0dXMEAAAAB2FjY291bnQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaGFzaAkAAlgAAAABCQAB9wAAAAEJAAGbAAAAAQkAASwAAAACBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzAwkBAAAAAiE9AAAAAgUAAAAHYWNjb3VudAUAAAAIdmVyaWZpZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAyb25seSBvcmFjbGUgdmVyeWZpZXIgYXJlIGFibGUgdG8gbWFuYWdlIHdoaXRlbGlzdCAFAAAAB2FjY291bnQCAAAAASAFAAAACHZlcmlmaWVyAwMJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIRkVBVFVSRUQJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIREVMSVNURUQHCQAAAgAAAAECAAAADHdyb25nIHN0YXR1cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAHmdldEV4dFZhbHVlSXRlbVdoaXRlTGlzdFN0YXR1cwAAAAEFAAAACHN1cHBsaWVyBQAAAAZzdGF0dXMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAABBzdXBwbGllcitzdGF0dXNfBQAAAAhzdXBwbGllcgUAAAAGc3RhdHVzBQAAAARoYXNoBQAAAANuaWwAAAAA/0g/Vw==",
"chainId": 84,
"height": 601894,
"spentComplexity": 0
}
View: original | compacted
Prev: 2F1CjVgTBqJ8tVsHfSrNHvtyDHPzCZvM15n1Zas9LQ5n
Next: none
Diff:
Old | New | | Differences |
---|
4 | 4 | | func a (b) = (b + "_verifier_status") |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | | - | let c = "3MwKFC4boS9yyC5p2YdV1hfCPK2GHaX2BUr" |
---|
| 7 | + | let c = "3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx" |
---|
8 | 8 | | |
---|
9 | 9 | | let d = "featured" |
---|
10 | 10 | | |
---|
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 + "_verifier_status") |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | | - | let c = "3MwKFC4boS9yyC5p2YdV1hfCPK2GHaX2BUr" |
---|
| 7 | + | let c = "3MvQW3Gb8tvxnb4ejpnZf2VYHtqSioLEqzx" |
---|
8 | 8 | | |
---|
9 | 9 | | let d = "featured" |
---|
10 | 10 | | |
---|
11 | 11 | | let e = "delisted" |
---|
12 | 12 | | |
---|
13 | 13 | | @Callable(f) |
---|
14 | 14 | | func setstatus (g,h) = { |
---|
15 | 15 | | let i = toBase58String(f.caller.bytes) |
---|
16 | 16 | | let j = toBase58String(sha256(toBytes((g + h)))) |
---|
17 | 17 | | if ((i != c)) |
---|
18 | 18 | | then throw(((("only oracle veryfier are able to manage whitelist " + i) + " ") + c)) |
---|
19 | 19 | | else if (if ((h != d)) |
---|
20 | 20 | | then (h != e) |
---|
21 | 21 | | else false) |
---|
22 | 22 | | then throw("wrong status") |
---|
23 | 23 | | else WriteSet([DataEntry(a(g), h), DataEntry((("supplier+status_" + g) + h), j)]) |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|