tx · 6izxpS1hMan9CNRX8hewjrZtyCe37X3HAHq7zmzig31V
3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA: -0.01400000 Waves
2019.10.26 17:06 [737196] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves
{
"type": 13,
"id": "6izxpS1hMan9CNRX8hewjrZtyCe37X3HAHq7zmzig31V",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572098850555,
"version": 1,
"sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA",
"senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF",
"proofs": [
"4bUiEh9kMEYNQpfWLPCaCpnR3sYMVAuY8QaocFUSvuBwrB6UeTYGymWWb7Dso1ioseVYgBckGtZQ2hs8sNVDm4fV"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFQWRkcjECAAAAIzNOMnR3ajhlVDZLU3NuQW45cG1DZzgxZmoyek13bkRlbVVBBAAAAARLZXkxAgAAAAExBAAAAAVBZGRyMgIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAABUFkZHIzCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNNcnFCYWVyZzhpRGJjZmI2UFgxN3FReFNlUmV2QXUzSEtCBAAAAAl1dWlkRXhpc3QEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAEa2V5eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAROT05FBAAAAAxUZXh0RnJvbUtleTEJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAABUFkZHIxBQAAAARrZXl4BAAAAAxUZXh0RnJvbUtleTIJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABUFkZHIzBQAAAARLZXkxAwkAAAAAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAVBZGRyMgMJAAAAAAAAAgUAAAAMVGV4dEZyb21LZXkxAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGtleXgFAAAABG5vdGUFAAAAA25pbAkAAAIAAAABAgAAABJLZXkgYWxyZWFkeSBleGlzdHMJAAACAAAAAQIAAAANTm90IHBlcm1pdHRlZAAAAABloGX4",
"chainId": 84,
"height": 737196,
"spentComplexity": 0
}
View: original | compacted
Prev: ALGBFF93qAskZTXyN33NHcVRSkNr86HPngZEPUMbZ1qx
Next: 6rH96xGGZKYML4Tc34G498DtnL3XwJPnogrQ99QwmEsE
Diff:
Old | New | | Differences |
---|
10 | 10 | | let f = "1" |
---|
11 | 11 | | let g = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 12 | | let h = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let i = extract(getString(addressFromStringValue(e), b)) |
---|
14 | | - | let j = getStringValue(h, f) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getString(this, b) |
---|
| 15 | + | if ($isInstanceOf(j, "String")) |
---|
| 16 | + | then { |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
| 19 | + | } |
---|
| 20 | + | else "NONE" |
---|
| 21 | + | } |
---|
| 22 | + | let l = extract(getString(addressFromStringValue(e), b)) |
---|
| 23 | + | let m = getStringValue(h, f) |
---|
15 | 24 | | if ((d == g)) |
---|
16 | | - | then if ((i == "")) |
---|
| 25 | + | then if ((l == "")) |
---|
17 | 26 | | then WriteSet([DataEntry(b, c)]) |
---|
18 | 27 | | else throw("Key already exists") |
---|
19 | 28 | | else throw("Not permitted") |
---|
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 = "1" |
---|
11 | 11 | | let g = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 12 | | let h = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let i = extract(getString(addressFromStringValue(e), b)) |
---|
14 | | - | let j = getStringValue(h, f) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getString(this, b) |
---|
| 15 | + | if ($isInstanceOf(j, "String")) |
---|
| 16 | + | then { |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
| 19 | + | } |
---|
| 20 | + | else "NONE" |
---|
| 21 | + | } |
---|
| 22 | + | let l = extract(getString(addressFromStringValue(e), b)) |
---|
| 23 | + | let m = getStringValue(h, f) |
---|
15 | 24 | | if ((d == g)) |
---|
16 | | - | then if ((i == "")) |
---|
| 25 | + | then if ((l == "")) |
---|
17 | 26 | | then WriteSet([DataEntry(b, c)]) |
---|
18 | 27 | | else throw("Key already exists") |
---|
19 | 28 | | else throw("Not permitted") |
---|
20 | 29 | | } |
---|
21 | 30 | | |
---|
22 | 31 | | |
---|