tx · 6bMjoMYF9TjfZdjLrekYWiw7CEPdDyNEMQN2x2AmfojD
3MsJAaF5QnFSPWt1FbTYg2rZEYGE89zL9xm: -0.01400000 Waves
2019.08.16 19:03 [633849] smart account 3MsJAaF5QnFSPWt1FbTYg2rZEYGE89zL9xm > SELF 0.00000000 Waves
{
"type": 13,
"id": "6bMjoMYF9TjfZdjLrekYWiw7CEPdDyNEMQN2x2AmfojD",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1565971480277,
"version": 1,
"sender": "3MsJAaF5QnFSPWt1FbTYg2rZEYGE89zL9xm",
"senderPublicKey": "AuwNnJne9DDzFJMVzgSTvELEvJKcS6sAwa1pYot7NSZc",
"proofs": [
"66vAv152qg8hvQivdXexyGBTRcGEHs97uDAhaxwCzzN7czgzYgMBCpB5UAtttzoiXTvXhtCVYsqsm5MsyoETanrv"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAEAAAAABVvd25lckFjY291bnRQdWJsaWNLZXkBAAAAIJNI3fVW+TejCob9DyZDLn5+jSuvds/LguFUOLKHWspvAQAAAApnZXRLZXlJdGVtAAAAAgAAAAhzdXBwbGllcgAAAAV0aXRsZQkAASwAAAACAgAAAAdpbmFydGVfCQACWAAAAAEJAAH3AAAAAQkAAZsAAAABCQABLAAAAAIFAAAACHN1cHBsaWVyBQAAAAV0aXRsZQEAAAAOZ2V0S2V5SXRlbURhdGEAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAFX2RhdGEBAAAAEmdldEtleUl0ZW1TdXBwbGllcgAAAAEAAAAEaXRlbQkAASwAAAACBQAAAARpdGVtAgAAAAZfb3duZXIAAAABAAAAAWkBAAAAB2FkZEl0ZW0AAAACAAAABXRpdGxlAAAABGRhdGEEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAARpdGVtCQEAAAAKZ2V0S2V5SXRlbQAAAAIFAAAAD3N1cHBsaWVyQWRkcmVzcwUAAAAFdGl0bGUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAABJnZXRLZXlJdGVtU3VwcGxpZXIAAAABBQAAAARpdGVtBQAAAA9zdXBwbGllckFkZHJlc3MJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAAA5nZXRLZXlJdGVtRGF0YQAAAAEFAAAABGl0ZW0FAAAABGRhdGEFAAAAA25pbAAAAABqV6Ld",
"chainId": 84,
"height": 633849,
"spentComplexity": 0
}
View: original | compacted
Prev: HczoGrK8wjS1uk6q85u6n3eNTD2AK7VEiHw7cjEcChhA
Next: 8H8QteSmi6mNKsETgEJ8e5BCiZomkNinpQ5ey827uAQ6
Diff:
Old | New | | Differences |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | | - | @Verifier(k) |
---|
24 | | - | func l () = { |
---|
25 | | - | let m = k |
---|
26 | | - | if ($isInstanceOf(m, "SetScriptTransaction")) |
---|
27 | | - | then { |
---|
28 | | - | let n = m |
---|
29 | | - | sigVerify(k.bodyBytes, k.proofs[0], a) |
---|
30 | | - | } |
---|
31 | | - | else if ($isInstanceOf(m, "DataTransaction")) |
---|
32 | | - | then { |
---|
33 | | - | let n = m |
---|
34 | | - | true |
---|
35 | | - | } |
---|
36 | | - | else false |
---|
37 | | - | } |
---|
38 | | - | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'AuwNnJne9DDzFJMVzgSTvELEvJKcS6sAwa1pYot7NSZc' |
---|
5 | 5 | | |
---|
6 | 6 | | func b (c,d) = ("inarte_" + toBase58String(sha256(toBytes((c + d))))) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | func e (f) = (f + "_data") |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | func g (f) = (f + "_owner") |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(h) |
---|
16 | 16 | | func addItem (d,i) = { |
---|
17 | 17 | | let j = toBase58String(h.caller.bytes) |
---|
18 | 18 | | let f = b(j, d) |
---|
19 | 19 | | WriteSet([DataEntry(g(f), j), DataEntry(e(f), i)]) |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | | - | @Verifier(k) |
---|
24 | | - | func l () = { |
---|
25 | | - | let m = k |
---|
26 | | - | if ($isInstanceOf(m, "SetScriptTransaction")) |
---|
27 | | - | then { |
---|
28 | | - | let n = m |
---|
29 | | - | sigVerify(k.bodyBytes, k.proofs[0], a) |
---|
30 | | - | } |
---|
31 | | - | else if ($isInstanceOf(m, "DataTransaction")) |
---|
32 | | - | then { |
---|
33 | | - | let n = m |
---|
34 | | - | true |
---|
35 | | - | } |
---|
36 | | - | else false |
---|
37 | | - | } |
---|
38 | | - | |
---|