tx · W8MCsbjMoyEDj4vhLsWUZRoSHm6CNzo6doWc9v5WCZ2
3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN: -0.01400000 Waves
2020.02.03 15:00 [882954] smart account 3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN > SELF 0.00000000 Waves
{
"type": 13,
"id": "W8MCsbjMoyEDj4vhLsWUZRoSHm6CNzo6doWc9v5WCZ2",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1580731257083,
"version": 1,
"sender": "3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN",
"senderPublicKey": "8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh",
"proofs": [
"23WfxMnmudeKNsHGCiNG8mEoQZuCfMcbeaSzTd4rLT7WLbtddM24evs13gn2rYo3ij27LiBhfWEsYxuhHyoSRd2f"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAUdHJ5R2V0NjAwU2Vjb25kc0xvY2sAAAABAAAACGxvY2tOYW1lBAAAAA1sb2NrVW50aWxOYW1lCQABLAAAAAIFAAAACGxvY2tOYW1lAgAAAAYvdW50aWwEAAAAA25vdwQAAAAHJG1hdGNoMAkAA+0AAAABBQAAAAZoZWlnaHQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUJsb2NrSW5mbwQAAAABYgUAAAAHJG1hdGNoMAgFAAAAAWIAAAAJdGltZXN0YW1wAAAAAAAAAAAABAAAAAhsb2NrZWRCeQQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzBQAAAAhsb2NrTmFtZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYggIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAALbG9ja2VkVW50aWwEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAANbG9ja1VudGlsTmFtZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAV1bnRpbAUAAAAHJG1hdGNoMAUAAAAFdW50aWwAAAAAAAAAAAAEAAAAB2NhbkxvY2sDCQAAZgAAAAIFAAAAA25vdwUAAAALbG9ja2VkVW50aWwGCQAAAAAAAAIFAAAACGxvY2tlZEJ5CAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwUAAAAHY2FuTG9jawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIbG9ja05hbWUICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADWxvY2tVbnRpbE5hbWUJAABkAAAAAgUAAAADbm93AAAAAAAACSfABQAAAANuaWwJAAACAAAAAQIAAAAZQWxyZWFkeSBsb2NrZWQgYnkgYW5vdGhlcgAAAAAH1sTf",
"chainId": 84,
"height": 882954,
"spentComplexity": 0
}
View: original | compacted
Prev: HURkJMycQXQsJw5SXMLfYv4H9eUEENkjFRE3iUxPCQWp
Next: D1cnBVk7CdnsmhyNrbEjWpwDUCZv5dkzSMefLHCd4M7Z
Diff:
Old | New | | Differences |
---|
37 | 37 | | then true |
---|
38 | 38 | | else (g == a.caller.bytes) |
---|
39 | 39 | | if (j) |
---|
40 | | - | then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600))]) |
---|
| 40 | + | then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600000))]) |
---|
41 | 41 | | else throw("Already locked by another") |
---|
42 | 42 | | } |
---|
43 | 43 | | |
---|
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 tryGet600SecondsLock (b) = { |
---|
8 | 8 | | let c = (b + "/until") |
---|
9 | 9 | | let d = { |
---|
10 | 10 | | let e = blockInfoByHeight(height) |
---|
11 | 11 | | if ($isInstanceOf(e, "BlockInfo")) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let f = e |
---|
14 | 14 | | f.timestamp |
---|
15 | 15 | | } |
---|
16 | 16 | | else 0 |
---|
17 | 17 | | } |
---|
18 | 18 | | let g = { |
---|
19 | 19 | | let e = getBinary(this, b) |
---|
20 | 20 | | if ($isInstanceOf(e, "ByteVector")) |
---|
21 | 21 | | then { |
---|
22 | 22 | | let f = e |
---|
23 | 23 | | f |
---|
24 | 24 | | } |
---|
25 | 25 | | else a.caller.bytes |
---|
26 | 26 | | } |
---|
27 | 27 | | let h = { |
---|
28 | 28 | | let e = getInteger(this, c) |
---|
29 | 29 | | if ($isInstanceOf(e, "Int")) |
---|
30 | 30 | | then { |
---|
31 | 31 | | let i = e |
---|
32 | 32 | | i |
---|
33 | 33 | | } |
---|
34 | 34 | | else 0 |
---|
35 | 35 | | } |
---|
36 | 36 | | let j = if ((d > h)) |
---|
37 | 37 | | then true |
---|
38 | 38 | | else (g == a.caller.bytes) |
---|
39 | 39 | | if (j) |
---|
40 | | - | then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600))]) |
---|
| 40 | + | then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600000))]) |
---|
41 | 41 | | else throw("Already locked by another") |
---|
42 | 42 | | } |
---|
43 | 43 | | |
---|
44 | 44 | | |
---|