tx · 9PqUQ8J1WrP78X3cgPDbqqtsdRkzAtHuQKgxE5ur8hcJ
3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA: -0.01400000 Waves
2019.10.26 17:40 [737229] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves
{
"type": 13,
"id": "9PqUQ8J1WrP78X3cgPDbqqtsdRkzAtHuQKgxE5ur8hcJ",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572100853885,
"version": 1,
"sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA",
"senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF",
"proofs": [
"3JgV4DwzUQdCHEEENwDF1yTK9Qq2QREN9uiwpTbvVsGYFGDa2BZ7DnDE9zm8cK6c9AXc7i8k6rVxhaPqo8r6gUTK"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFQWRkcjECAAAAIzNOMnR3ajhlVDZLU3NuQW45cG1DZzgxZmoyek13bkRlbVVBBAAAAARLZXkxAgAAAANhYmMEAAAABUFkZHIyAgAAACMzTXJxQmFlcmc4aURiY2ZiNlBYMTdxUXhTZVJldkF1M0hLQgQAAAAFQWRkcjMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAAC1RleHRGcm9tS2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABUFkZHIzBQAAAARLZXkxAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAABE5PTkUDCQAAAAAAAAIFAAAAC1RleHRGcm9tS2V5AgAAAAROT05FAwkAAAAAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAVBZGRyMgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAEa2V5eAUAAAAEbm90ZQUAAAADbmlsCQAAAgAAAAECAAAADU5vdCBwZXJtaXR0ZWQJAAACAAAAAQIAAAASS2V5IGFscmVhZHkgZXhpc3RzAAAAAOotVn4=",
"chainId": 84,
"height": 737229,
"spentComplexity": 0
}
View: original | compacted
Prev: 5bfNP2Vj7w5EbnJemCE2h5ZbEn2GV6Lp1Jd4FZu1J8S9
Next: ESf8bHJYSr7qanVQ2ByeAVa96GGJXieWPP33XT9DFhEK
Diff:
Old | New | | Differences |
---|
10 | 10 | | let f = "abc" |
---|
11 | 11 | | let g = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 12 | | let h = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let i = getStringValue(h, f) |
---|
14 | | - | let j = { |
---|
15 | | - | let k = getString(this, i) |
---|
16 | | - | if ($isInstanceOf(k, "String")) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getString(h, f) |
---|
| 15 | + | if ($isInstanceOf(j, "String")) |
---|
17 | 16 | | then { |
---|
18 | | - | let l = k |
---|
19 | | - | l |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
20 | 19 | | } |
---|
21 | 20 | | else "NONE" |
---|
22 | 21 | | } |
---|
23 | | - | if ((d == g)) |
---|
24 | | - | then if ((i == "")) |
---|
| 22 | + | if ((i == "NONE")) |
---|
| 23 | + | then if ((d == g)) |
---|
25 | 24 | | then WriteSet([DataEntry(b, c)]) |
---|
26 | | - | else throw("Key already exists") |
---|
27 | | - | else throw("Not permitted") |
---|
| 25 | + | else throw("Not permitted") |
---|
| 26 | + | else throw("Key already exists") |
---|
28 | 27 | | } |
---|
29 | 28 | | |
---|
30 | 29 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func WN (b,c) = { |
---|
8 | 8 | | let d = toBase58String(a.caller.bytes) |
---|
9 | 9 | | let e = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA" |
---|
10 | 10 | | let f = "abc" |
---|
11 | 11 | | let g = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 12 | | let h = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let i = getStringValue(h, f) |
---|
14 | | - | let j = { |
---|
15 | | - | let k = getString(this, i) |
---|
16 | | - | if ($isInstanceOf(k, "String")) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getString(h, f) |
---|
| 15 | + | if ($isInstanceOf(j, "String")) |
---|
17 | 16 | | then { |
---|
18 | | - | let l = k |
---|
19 | | - | l |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
20 | 19 | | } |
---|
21 | 20 | | else "NONE" |
---|
22 | 21 | | } |
---|
23 | | - | if ((d == g)) |
---|
24 | | - | then if ((i == "")) |
---|
| 22 | + | if ((i == "NONE")) |
---|
| 23 | + | then if ((d == g)) |
---|
25 | 24 | | then WriteSet([DataEntry(b, c)]) |
---|
26 | | - | else throw("Key already exists") |
---|
27 | | - | else throw("Not permitted") |
---|
| 25 | + | else throw("Not permitted") |
---|
| 26 | + | else throw("Key already exists") |
---|
28 | 27 | | } |
---|
29 | 28 | | |
---|
30 | 29 | | |
---|