tx · Masa2LZG6gbvvEtfuM7UhBkbgBxiwrFvZ4FPrHDEtWX

3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN:  -0.01400000 Waves

2020.02.02 17:40 [881667] smart account 3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN > SELF 0.00000000 Waves

{ "type": 13, "id": "Masa2LZG6gbvvEtfuM7UhBkbgBxiwrFvZ4FPrHDEtWX", "fee": 1400000, "feeAssetId": null, "timestamp": 1580654481290, "version": 1, "sender": "3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN", "senderPublicKey": "8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh", "proofs": [ "4Yyk2MeMver1PY7Yo49Pbd4Bu4j11LiJFhMzmG6ZrpXN6Lm1k87gGtcQ6nrMA3tJSJtDD5ZPHn55SG4RK3WmBWoX" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIIAQAAAAEAAAAAD25hbWVVbnRpbFN1ZmZ1eAIAAAAGOnVudGlsAAAAAQAAAAFpAQAAAAdnZXRMb2NrAAAAAgAAAAhsb2NrTmFtZQAAAAV1bnRpbAQAAAANbG9ja05hbWVVbnRpbAkAASwAAAACBQAAAAhsb2NrTmFtZQUAAAAPbmFtZVVudGlsU3VmZnV4BAAAAAFxAwkAAGcAAAACBQAAAAZoZWlnaHQFAAAABXVudGlsCQAAAgAAAAECAAAAGVN1cHBsaWVkIHVudGlsIGlzIHRvbyBsb3cGBAAAAAJxcQMJAABmAAAAAgUAAAAFdW50aWwJAABkAAAAAgUAAAAGaGVpZ2h0AAAAAAAAAAAKCQAAAgAAAAECAAAAGlN1cHBsaWVkIHVudGlsIGlzIHRvbyBoaWdoBgQAAAALY2FuQmVMb2NrZWQEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAAEdGhpcwUAAAAIbG9ja05hbWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAWIFAAAAByRtYXRjaDAJAAAAAAAAAgUAAAABYggIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEVW5pdAUAAAAHJG1hdGNoMAYEAAAADGxhc3RMb2NrVGltZQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAA1sb2NrTmFtZVVudGlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQEAAAABFVuaXQFAAAAByRtYXRjaDAAAAAAAAAAAAADAwUAAAALY2FuQmVMb2NrZWQGCQAAZwAAAAIFAAAABmhlaWdodAUAAAAMbGFzdExvY2tUaW1lCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAhsb2NrTmFtZQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAANbG9ja05hbWVVbnRpbAUAAAAFdW50aWwFAAAAA25pbAkAAAIAAAABAgAAABNMb2NrIGNhbnQgYmUgbG9ja2VkAAAAABFM6lI=", "chainId": 84, "height": 881667, "spentComplexity": 0 } View: original | compacted Prev: B4E4HJiNJNr8FV3HJs9AChh1j7Ry2vTGr7aaw7FqGNrs Next: BKPqmGGSaD6Wi3XvpKMLX3mGEyXHtvsDQUYCtioJuMFc Diff:
OldNewDifferences
66 @Callable(b)
77 func getLock (c,d) = {
88 let e = (c + a)
9- let f = blockInfoByHeight(height)
10- let g = {
11- let h = f
12- if ($isInstanceOf(h, "BlockInfo"))
13- then {
14- let i = h
15- i
16- }
17- else throw("Cannot get last block")
18- }
19- let j = if ((g.timestamp >= d))
9+ let f = if ((height >= d))
2010 then throw("Supplied until is too low")
2111 else true
22- let k = if ((d > (g.timestamp + 600000)))
12+ let g = if ((d > (height + 10)))
2313 then throw("Supplied until is too high")
2414 else true
25- let l = {
26- let h = getBinary(this, c)
27- if ($isInstanceOf(h, "ByteVector"))
15+ let h = {
16+ let i = getBinary(this, c)
17+ if ($isInstanceOf(i, "ByteVector"))
2818 then {
29- let m = h
30- (m == b.caller.bytes)
19+ let j = i
20+ (j == b.caller.bytes)
3121 }
3222 else {
33- let n = h
23+ let k = i
3424 true
3525 }
3626 }
37- let o = {
38- let h = getInteger(this, e)
39- if ($isInstanceOf(h, "Int"))
27+ let l = {
28+ let i = getInteger(this, e)
29+ if ($isInstanceOf(i, "Int"))
4030 then {
41- let i = h
42- i
31+ let m = i
32+ m
4333 }
4434 else {
45- let n = h
35+ let k = i
4636 0
4737 }
4838 }
49- if (if (l)
39+ if (if (h)
5040 then true
51- else (g.timestamp >= o))
41+ else (height >= l))
5242 then WriteSet([DataEntry(c, b.caller.bytes), DataEntry(e, d)])
5343 else throw("Lock cant be locked")
5444 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = ":until"
55
66 @Callable(b)
77 func getLock (c,d) = {
88 let e = (c + a)
9- let f = blockInfoByHeight(height)
10- let g = {
11- let h = f
12- if ($isInstanceOf(h, "BlockInfo"))
13- then {
14- let i = h
15- i
16- }
17- else throw("Cannot get last block")
18- }
19- let j = if ((g.timestamp >= d))
9+ let f = if ((height >= d))
2010 then throw("Supplied until is too low")
2111 else true
22- let k = if ((d > (g.timestamp + 600000)))
12+ let g = if ((d > (height + 10)))
2313 then throw("Supplied until is too high")
2414 else true
25- let l = {
26- let h = getBinary(this, c)
27- if ($isInstanceOf(h, "ByteVector"))
15+ let h = {
16+ let i = getBinary(this, c)
17+ if ($isInstanceOf(i, "ByteVector"))
2818 then {
29- let m = h
30- (m == b.caller.bytes)
19+ let j = i
20+ (j == b.caller.bytes)
3121 }
3222 else {
33- let n = h
23+ let k = i
3424 true
3525 }
3626 }
37- let o = {
38- let h = getInteger(this, e)
39- if ($isInstanceOf(h, "Int"))
27+ let l = {
28+ let i = getInteger(this, e)
29+ if ($isInstanceOf(i, "Int"))
4030 then {
41- let i = h
42- i
31+ let m = i
32+ m
4333 }
4434 else {
45- let n = h
35+ let k = i
4636 0
4737 }
4838 }
49- if (if (l)
39+ if (if (h)
5040 then true
51- else (g.timestamp >= o))
41+ else (height >= l))
5242 then WriteSet([DataEntry(c, b.caller.bytes), DataEntry(e, d)])
5343 else throw("Lock cant be locked")
5444 }
5545
5646

github/deemru/w8io/026f985 
28.64 ms