tx · 9mJH6VoC9gM4CTUA9EkpELKGZuRLqxbyujtVEHHoF4sp
3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu: -1.00000000 Waves
2019.03.22 22:02 [547923] smart asset 3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu > SELF 0 atomic
{
"type": 15,
"id": "9mJH6VoC9gM4CTUA9EkpELKGZuRLqxbyujtVEHHoF4sp",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553281357213,
"version": 1,
"sender": "3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu",
"senderPublicKey": "AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D",
"proofs": [
"5kCfmwZ8TKS6y9ZzqDMhW6ajvdFrRFMmcLg1LDskVWXDRUeEKyBQjbJSB7DmCseYfiPxU3wmKaUdk5PUqPLWTwYe"
],
"assetId": "H7vTPaYvZ9B1WHfjpHfSdBzLiH4qeZbAM1yfsSBhUxwB",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVD2RhFNXyxFcMpzyLAN1lrtcbMCIIroW1gQAAAADQm9iCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUPZGEU1fLEVwynPIsA3WWu1xswIgiuhbWBAAAAAVBbGljZQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVIbGSCoGSssTpaGy3UGiRkLsT1N377gnQQQAAAAMYmVmb3JlSGVpZ2h0AAAAAAAACFw/BAAAAARsb2NrCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAERGF0YQIAAAAEbG9jawMFAAAABGxvY2sEAAAABnNlY3JldAEAAAAgCIGprTv+50iFMEQH0bUM/Y9EubU8c2ATb7mib+gX63sEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAAd0eFRvQm9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spentComplexity": 0
}
View: original | compacted
Prev: 9hF4rpoU67bCipbRR4Jtokk6ThugBzksXoWG2u1FSMLF
Next: 8ZjZZxjiAVihxHzhKGnQt3qxmC7iDqA97NDAAxkesK45
Diff:
Old | New | | Differences |
---|
7 | 7 | | let lock = extract(getBoolean(Data, "lock")) |
---|
8 | 8 | | if (lock) |
---|
9 | 9 | | then { |
---|
10 | | - | let secret = base58'AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D' |
---|
| 10 | + | let secret = base58'aCwHmcNyoDzsU7kF9EVxRD5Evsw6Gi6fyrWTGJu3NW6' |
---|
11 | 11 | | match tx { |
---|
12 | 12 | | case t: TransferTransaction => |
---|
13 | 13 | | let txToBob = if (if ((t.recipient == Bob)) |
---|
|
26 | 26 | | } |
---|
27 | 27 | | } |
---|
28 | 28 | | else { |
---|
29 | | - | let secret = base58'AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D' |
---|
| 29 | + | let secret = base58'aCwHmcNyoDzsU7kF9EVxRD5Evsw6Gi6fyrWTGJu3NW6' |
---|
30 | 30 | | match tx { |
---|
31 | 31 | | case t: TransferTransaction => |
---|
32 | 32 | | let txToBob = if (if ((t.recipient == Bob)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let Data = Address(base58'3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu') |
---|
4 | 4 | | let Bob = Address(base58'3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu') |
---|
5 | 5 | | let Alice = Address(base58'3N2ChrVZCRqa3ivKjNfMgyxPM9b8wL2AnaU') |
---|
6 | 6 | | let beforeHeight = 547903 |
---|
7 | 7 | | let lock = extract(getBoolean(Data, "lock")) |
---|
8 | 8 | | if (lock) |
---|
9 | 9 | | then { |
---|
10 | | - | let secret = base58'AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D' |
---|
| 10 | + | let secret = base58'aCwHmcNyoDzsU7kF9EVxRD5Evsw6Gi6fyrWTGJu3NW6' |
---|
11 | 11 | | match tx { |
---|
12 | 12 | | case t: TransferTransaction => |
---|
13 | 13 | | let txToBob = if (if ((t.recipient == Bob)) |
---|
14 | 14 | | then (sha256(t.proofs[0]) == secret) |
---|
15 | 15 | | else false) |
---|
16 | 16 | | then ((20 + beforeHeight) >= height) |
---|
17 | 17 | | else false |
---|
18 | 18 | | let backToAliceAfterHeight = if ((height >= (21 + beforeHeight))) |
---|
19 | 19 | | then (t.recipient == Alice) |
---|
20 | 20 | | else false |
---|
21 | 21 | | if (txToBob) |
---|
22 | 22 | | then true |
---|
23 | 23 | | else backToAliceAfterHeight |
---|
24 | 24 | | case _ => |
---|
25 | 25 | | false |
---|
26 | 26 | | } |
---|
27 | 27 | | } |
---|
28 | 28 | | else { |
---|
29 | | - | let secret = base58'AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D' |
---|
| 29 | + | let secret = base58'aCwHmcNyoDzsU7kF9EVxRD5Evsw6Gi6fyrWTGJu3NW6' |
---|
30 | 30 | | match tx { |
---|
31 | 31 | | case t: TransferTransaction => |
---|
32 | 32 | | let txToBob = if (if ((t.recipient == Bob)) |
---|
33 | 33 | | then (sha256(t.proofs[0]) == secret) |
---|
34 | 34 | | else false) |
---|
35 | 35 | | then ((20 + beforeHeight) >= height) |
---|
36 | 36 | | else false |
---|
37 | 37 | | let backToAliceAfterHeight = if ((height >= (21 + beforeHeight))) |
---|
38 | 38 | | then (t.recipient == Alice) |
---|
39 | 39 | | else false |
---|
40 | 40 | | if (txToBob) |
---|
41 | 41 | | then true |
---|
42 | 42 | | else backToAliceAfterHeight |
---|
43 | 43 | | case _ => |
---|
44 | 44 | | true |
---|
45 | 45 | | } |
---|
46 | 46 | | } |
---|