tx · Dh7Lj8z3ZAAQP62yuDWnaBUqosYvKCfBMHGvvvnZHxHM

3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E:  -0.01400000 Waves

2020.11.26 08:51 [1281985] smart account 3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E > SELF 0.00000000 Waves

{ "type": 13, "id": "Dh7Lj8z3ZAAQP62yuDWnaBUqosYvKCfBMHGvvvnZHxHM", "fee": 1400000, "feeAssetId": null, "timestamp": 1606369900988, "version": 2, "chainId": 84, "sender": "3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E", "senderPublicKey": "FJk5n9i5ysYBtjvPcos6iKm98yzpxms3gECZgg6Y8Bt1", "proofs": [ "2V8gVCvUWxPyA6LAp6xKrj2okd71xL9GQQvmkqb5y5oo8ot64sZCGseBJwfbo9B4Y7FatcjeQeCnSj6gQ8ZA1CKT" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABAAAAAAIZ2V0RGVsYXkAAAAAAAAAAAoAAAAADGFtb3VudFRvR2l2ZQAAAAAAAAAAZAAAAAAHYXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresBAAAAD2dldEludGVnZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAZoZWlnaHQAAAABAAAAAWkBAAAAB2dldFNpZ24AAAAABAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAA5sYXN0Q2FsbEhlaWdodAkBAAAAD2dldEludGVnZXJCeUtleQAAAAEFAAAABmNhbGxlcgMJAABnAAAAAgkAAGUAAAACBQAAAA5sYXN0Q2FsbEhlaWdodAUAAAAGaGVpZ2h0AAAAAAAAAAAKCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAZjYWxsZXIFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGY2FsbGVyBQAAAAxhbW91bnRUb0dpdmUFAAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAAB1Zb3UgY2Fubm90IGdldCBTSUdOIHRva2VuIHlldAAAAABY9eQx", "height": 1281985, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CzMmimDB2RzrHaTJEhXFTmCgc8oXRE5MesZvvAPvkGor Next: 899m9epX38iYTHUayTk7EGN2iqdsJtmHwWsUdhx7qVCS Diff:
OldNewDifferences
2222 func getSign () = {
2323 let i = toString(addressFromPublicKey(h.callerPublicKey))
2424 let j = d(i)
25- if (((height - a) >= j))
25+ if (((j - height) >= 10))
2626 then [IntegerEntry(i, height), ScriptTransfer(Address(fromBase58String(i)), b, c)]
2727 else throw("You cannot get SIGN token yet")
2828 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 10
55
66 let b = 100
77
88 let c = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
99
1010 func d (e) = {
1111 let f = getInteger(this, e)
1212 if ($isInstanceOf(f, "Int"))
1313 then {
1414 let g = f
1515 g
1616 }
1717 else height
1818 }
1919
2020
2121 @Callable(h)
2222 func getSign () = {
2323 let i = toString(addressFromPublicKey(h.callerPublicKey))
2424 let j = d(i)
25- if (((height - a) >= j))
25+ if (((j - height) >= 10))
2626 then [IntegerEntry(i, height), ScriptTransfer(Address(fromBase58String(i)), b, c)]
2727 else throw("You cannot get SIGN token yet")
2828 }
2929
3030

github/deemru/w8io/169f3d6 
39.63 ms