tx · HURkJMycQXQsJw5SXMLfYv4H9eUEENkjFRE3iUxPCQWp

3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN:  -0.01400000 Waves

2020.02.03 14:43 [882935] smart account 3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN > SELF 0.00000000 Waves

{ "type": 13, "id": "HURkJMycQXQsJw5SXMLfYv4H9eUEENkjFRE3iUxPCQWp", "fee": 1400000, "feeAssetId": null, "timestamp": 1580730266399, "version": 1, "sender": "3NCEnW5hTnRQ7J9TFQsHS4W92f54PCCWQvN", "senderPublicKey": "8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh", "proofs": [ "5LerMgCvMryFxEMyK42Duj7MvvsvAXUqL6JhnmZEjixDDtdzZzjQCMvwPbhK8WwBhkxsnek6azs5HPMjyrwsP4xH" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAUdHJ5R2V0NjAwU2Vjb25kc0xvY2sAAAABAAAACGxvY2tOYW1lBAAAAA1sb2NrVW50aWxOYW1lCQABLAAAAAIFAAAACGxvY2tOYW1lAgAAAAYvdW50aWwEAAAAA25vdwQAAAAHJG1hdGNoMAkAA+0AAAABBQAAAAZoZWlnaHQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUJsb2NrSW5mbwQAAAABYgUAAAAHJG1hdGNoMAgFAAAAAWIAAAAJdGltZXN0YW1wAAAAAAAAAAAABAAAAAhsb2NrZWRCeQQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzBQAAAAhsb2NrTmFtZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYggIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAALbG9ja2VkVW50aWwEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAANbG9ja1VudGlsTmFtZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAV1bnRpbAUAAAAHJG1hdGNoMAUAAAAFdW50aWwAAAAAAAAAAAAEAAAAB2NhbkxvY2sDCQAAZgAAAAIFAAAAA25vdwUAAAALbG9ja2VkVW50aWwGCQAAAAAAAAIFAAAACGxvY2tlZEJ5CAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwUAAAAHY2FuTG9jawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIbG9ja05hbWUICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADWxvY2tVbnRpbE5hbWUJAABkAAAAAgUAAAADbm93AAAAAAAAAAJYBQAAAANuaWwJAAACAAAAAQIAAAAZQWxyZWFkeSBsb2NrZWQgYnkgYW5vdGhlcgAAAABplNu0", "chainId": 84, "height": 882935, "spentComplexity": 0 } View: original | compacted Prev: 8DRYuJaQCiMYgsWw4YpNMtQN7QfKKrmMVkxaTqYB8L2w Next: W8MCsbjMoyEDj4vhLsWUZRoSHm6CNzo6doWc9v5WCZ2 Diff:
OldNewDifferences
3838 else (g == a.caller.bytes)
3939 if (j)
4040 then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600))])
41- else WriteSet([DataEntry(b, g), DataEntry(c, h)])
41+ else throw("Already locked by another")
4242 }
4343
4444
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func tryGet600SecondsLock (b) = {
88 let c = (b + "/until")
99 let d = {
1010 let e = blockInfoByHeight(height)
1111 if ($isInstanceOf(e, "BlockInfo"))
1212 then {
1313 let f = e
1414 f.timestamp
1515 }
1616 else 0
1717 }
1818 let g = {
1919 let e = getBinary(this, b)
2020 if ($isInstanceOf(e, "ByteVector"))
2121 then {
2222 let f = e
2323 f
2424 }
2525 else a.caller.bytes
2626 }
2727 let h = {
2828 let e = getInteger(this, c)
2929 if ($isInstanceOf(e, "Int"))
3030 then {
3131 let i = e
3232 i
3333 }
3434 else 0
3535 }
3636 let j = if ((d > h))
3737 then true
3838 else (g == a.caller.bytes)
3939 if (j)
4040 then WriteSet([DataEntry(b, a.caller.bytes), DataEntry(c, (d + 600))])
41- else WriteSet([DataEntry(b, g), DataEntry(c, h)])
41+ else throw("Already locked by another")
4242 }
4343
4444

github/deemru/w8io/026f985 
21.68 ms