tx · 6R1AiNUxgDNgqCqfkxF2Demf518wv1TNEWzxT6r6skQx
3MtXAj3ReWPYP4LuSuxnC4H3U5EyDtzCseS: -0.01000000 Waves
2019.07.09 21:04 [578441] smart account 3MtXAj3ReWPYP4LuSuxnC4H3U5EyDtzCseS > SELF 0.00000000 Waves
{
"type": 13,
"id": "6R1AiNUxgDNgqCqfkxF2Demf518wv1TNEWzxT6r6skQx",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1562695473982,
"version": 1,
"sender": "3MtXAj3ReWPYP4LuSuxnC4H3U5EyDtzCseS",
"senderPublicKey": "9E6eUT8PHNm9oMDHJNVDnW5cZLQ8Lw4BVdHLkU9caphA",
"proofs": [
"2fN7fetcXPE3D5KrodbMd8rVkDHFGaFqPfEBKzzEWSj2pdks9vNxPGn1QHXrbqJHvvGZ8TmMEvf4MDyPTBkhmVdr"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAEAQAAAB5nZXRFeHRWYWx1ZUl0ZW1XaGl0ZUxpc3RTdGF0dXMAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAQX3ZlcmlmaWVyX3N0YXR1cwAAAAAIdmVyaWZpZXICAAAAIzNNdFhBajNSZVdQWVA0THVTdXhuQzRIM1U1RXlEdHpDc2VTAAAAAAhWRVJJRklFRAIAAAAIdmVyaWZpZWQAAAAAC0JMQUNLTElTVEVEAgAAAAlibGFja2xpc3QAAAABAAAAAWkBAAAACXNldHN0YXR1cwAAAAIAAAAIc3VwcGxpZXIAAAAGc3RhdHVzBAAAAAdhY2NvdW50CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQEAAAACIT0AAAACBQAAAAdhY2NvdW50BQAAAAh2ZXJpZmllcgkAAAIAAAABAgAAADFvbmx5IG9yYWNsZSB2ZXJ5ZmllciBhcmUgYWJsZSB0byBtYW5hZ2Ugd2hpdGVsaXN0AwMJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAAIVkVSSUZJRUQJAQAAAAIhPQAAAAIFAAAABnN0YXR1cwUAAAALQkxBQ0tMSVNURUQHCQAAAgAAAAECAAAADHdyb25nIHN0YXR1cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAHmdldEV4dFZhbHVlSXRlbVdoaXRlTGlzdFN0YXR1cwAAAAEFAAAACHN1cHBsaWVyBQAAAAZzdGF0dXMFAAAAA25pbAAAAADPZHX+",
"chainId": 84,
"height": 578441,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func a (b) = (b + "_verifier_status") |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | let c = "3MtXAj3ReWPYP4LuSuxnC4H3U5EyDtzCseS" |
---|
| 8 | + | |
---|
| 9 | + | let d = "verified" |
---|
| 10 | + | |
---|
| 11 | + | let e = "blacklist" |
---|
| 12 | + | |
---|
| 13 | + | @Callable(f) |
---|
| 14 | + | func setstatus (g,h) = { |
---|
| 15 | + | let i = toBase58String(f.caller.bytes) |
---|
| 16 | + | if ((i != c)) |
---|
| 17 | + | then throw("only oracle veryfier are able to manage whitelist") |
---|
| 18 | + | else if (if ((h != d)) |
---|
| 19 | + | then (h != e) |
---|
| 20 | + | else false) |
---|
| 21 | + | then throw("wrong status") |
---|
| 22 | + | else WriteSet([DataEntry(a(g), h)]) |
---|
| 23 | + | } |
---|
| 24 | + | |
---|
| 25 | + | |
---|