tx · 5VXxwRDDjmyZARwtcC61AqTbK2dzvdnh7UqumXBYqaK5
3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu: -0.01400000 Waves
2019.03.22 22:46 [547970] smart account 3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu > SELF 0.00000000 Waves
{
"type": 13,
"id": "5VXxwRDDjmyZARwtcC61AqTbK2dzvdnh7UqumXBYqaK5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1553283975546,
"version": 1,
"sender": "3MuXdKK8eFQDgt41Sberj6N4ZT3TvUk1Mvu",
"senderPublicKey": "AaaCPJYoQcvbENwoYrci6RY1TMcuzRdKSTDBGFR5sz1D",
"proofs": [
"3brc33JktHEdgfhLPfJsTurf2uo95uSMonLdBysDUPLMbGapJTEP1TrSWQVW5eJWnSdHhy9KzVuBUkf3UCd6Apkp"
],
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVD2RhFNXyxFcMpzyLAN1lrtcbMCIIroW1gQAAAADQm9iCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUPZGEU1fLEVwynPIsA3WWu1xswIgiuhbWBAAAAAVBbGljZQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVIbGSCoGSssTpaGy3UGiRkLsT1N377gnQQQAAAAMYmVmb3JlSGVpZ2h0AAAAAAAAGSUfBAAAAARsb2NrCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAERGF0YQIAAAAEbG9jawMFAAAABGxvY2sEAAAABnNlY3JldAEAAAAgUIWqw7VwySqJFp5rvLl4H8OLGBNPFBPkyt/d+uDu10cEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAAd0eFRvQm9iAwMJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAANCb2IJAAAAAAA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pTsL
Next: DkQLSqLudGWrbzgxaVRHJUrcPZtswMZWrSNsGff7L3iY
Diff:
Old | New | | Differences |
---|
7 | 7 | | let lock = extract(getBoolean(Data, "lock")) |
---|
8 | 8 | | if (lock) |
---|
9 | 9 | | then { |
---|
10 | | - | let secret = base58'3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf' |
---|
| 10 | + | let secret = base58'6RKqEdFYbrLtpr88JphPgFq4UUqreyYxejRC2ZDSX71p' |
---|
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'3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf' |
---|
| 29 | + | let secret = base58'6RKqEdFYbrLtpr88JphPgFq4UUqreyYxejRC2ZDSX71p' |
---|
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 = 1647903 |
---|
7 | 7 | | let lock = extract(getBoolean(Data, "lock")) |
---|
8 | 8 | | if (lock) |
---|
9 | 9 | | then { |
---|
10 | | - | let secret = base58'3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf' |
---|
| 10 | + | let secret = base58'6RKqEdFYbrLtpr88JphPgFq4UUqreyYxejRC2ZDSX71p' |
---|
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'3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf' |
---|
| 29 | + | let secret = base58'6RKqEdFYbrLtpr88JphPgFq4UUqreyYxejRC2ZDSX71p' |
---|
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 | | } |
---|