tx · EvN6hmusa3tRNqPWBcGf53Z63wBvFAphHg5htwhaQ4Bm

3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN:  -0.01500000 Waves

2019.07.25 15:21 [601569] smart account 3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN > SELF 0.00000000 Waves

{ "type": 13, "id": "EvN6hmusa3tRNqPWBcGf53Z63wBvFAphHg5htwhaQ4Bm", "fee": 1500000, "feeAssetId": null, "timestamp": 1564057328740, "version": 1, "sender": "3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN", "senderPublicKey": "8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh", "proofs": [ "peDLFNyWS22uY2boQUCPC9MtRQbqBSJe2ktyXFnSB1fPEgosLTHxF2EXve8xoaoef8CojfqPrxRL5Cg1bX2CPZi" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAgAAAAFpAQAAAAdnZXRMb2NrAAAAAQAAAAhsb2NrTmFtZQQAAAACb2sEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAAEdGhpcwUAAAAIbG9ja05hbWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAXQFAAAAByRtYXRjaDAJAAAAAAAAAgUAAAABdAgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEVW5pdAUAAAAHJG1hdGNoMAYDBQAAAAJvawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIbG9ja05hbWUICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAAA25pbAkAAAIAAAABAgAAABlBbHJlYWR5IGxvY2tlZCBieSBhbm90aGVyAAAAAWkBAAAAC3JlbGVhc2VMb2NrAAAAAQAAAAhsb2NrTmFtZQQAAAACb2sEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAAEdGhpcwUAAAAIbG9ja05hbWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAXQFAAAAByRtYXRjaDAJAAAAAAAAAgUAAAABdAgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEVW5pdAUAAAAHJG1hdGNoMAcDBQAAAAJvawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIbG9ja05hbWUIBQAAAAR0aGlzAAAABWJ5dGVzBQAAAANuaWwJAAACAAAAAQIAAAARTG9ja2VkIGJ5IGFub3RoZXIAAAAAMujS4g==", "chainId": 84, "height": 601569, "spentComplexity": 0 } View: original | compacted Prev: Hcsw6mWxJA2Np2NKEUjp5wiwo8B128bnhpCuAxS7W1ZZ Next: 9WBeRwUDqtTWgfcrZXsgxMm9uAsBew3bh41YGR2K3omv Diff:
OldNewDifferences
1010 if ($isInstanceOf(d, "ByteVector"))
1111 then {
1212 let e = d
13- if ((e == a.caller.bytes))
14- then true
15- else (e == this.bytes)
13+ (e == a.caller.bytes)
1614 }
1715 else {
1816 let f = d
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func getLock (b) = {
88 let c = {
99 let d = getBinary(this, b)
1010 if ($isInstanceOf(d, "ByteVector"))
1111 then {
1212 let e = d
13- if ((e == a.caller.bytes))
14- then true
15- else (e == this.bytes)
13+ (e == a.caller.bytes)
1614 }
1715 else {
1816 let f = d
1917 true
2018 }
2119 }
2220 if (c)
2321 then WriteSet([DataEntry(b, a.caller.bytes)])
2422 else throw("Already locked by another")
2523 }
2624
2725
2826
2927 @Callable(a)
3028 func releaseLock (b) = {
3129 let c = {
3230 let d = getBinary(this, b)
3331 if ($isInstanceOf(d, "ByteVector"))
3432 then {
3533 let e = d
3634 (e == a.caller.bytes)
3735 }
3836 else {
3937 let f = d
4038 false
4139 }
4240 }
4341 if (c)
4442 then WriteSet([DataEntry(b, this.bytes)])
4543 else throw("Locked by another")
4644 }
4745
4846

github/deemru/w8io/026f985 
20.71 ms