tx · 9XAP3jTNFwtn8RMr1HssFzJk53KjCkE2gBmUDd6tTe2z

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01400000 Waves

2021.12.10 13:02 [1828001] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "9XAP3jTNFwtn8RMr1HssFzJk53KjCkE2gBmUDd6tTe2z", "fee": 1400000, "feeAssetId": null, "timestamp": 1639130519577, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "3UhMoHgxc7FcHa9aew3G421Yh3B7AdMEJsaePczuCxas6Wq2AZQq7VFQm8zBUnLDNHxEgyxfmMwJAUxZW4byXPk4" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAEAAAAEaWQ1OAQAAAACaWQJAAJZAAAAAQUAAAAEaWQ1OAQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABHRpbWUAAAABfaOXkikEAAAABnRydGltZQQAAAAHJG1hdGNoMAkAA+4AAAABBQAAAAJpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwCAUAAAADdHR4AAAACXRpbWVzdGFtcAkAAAIAAAABAgAAABZDYW4ndCBmaW5kIHRyYW5zYWN0aW9uBAAAAAh0cnNlbmRlcgQAAAAHJG1hdGNoMAkAA+4AAAABBQAAAAJpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwCAUAAAADdHR4AAAABnNlbmRlcgkAAAIAAAABAgAAABZDYW4ndCBmaW5kIHRyYW5zYWN0aW9uBAAAAARtZXNzAwkAAGYAAAACBQAAAAZ0cnRpbWUFAAAABHRpbWUCAAAACG92ZXJ0aW1lAwkBAAAAAiE9AAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAh0cnNlbmRlcgIAAAAQaW5jb3JyZWN0IHNlbmRlcgIAAAAHcHJvb3ZlZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAEtBQAAAARtZXNzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleajd3As=", "height": 1828001, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4pimw4aLcDAmPJ5aW4d22Xe2vW44vHA8azXaBhuiejm8 Next: GD7V7Ayr7N3FwnFkz8o88uAH2ZAeL1dpaRwENPrL1FH7 Diff:
OldNewDifferences
2222 }
2323 let mess = if ((trtime > time))
2424 then "overtime"
25- else if ((callerAdress != toString(trsender)))
25+ else if ((i.caller != trsender))
2626 then "incorrect sender"
2727 else "prooved"
2828 [StringEntry("-", mess)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call (id58) = {
88 let id = fromBase58String(id58)
99 let callerAdress = toBase58String(i.caller.bytes)
1010 let time = 1639127159337
1111 let trtime = match transferTransactionById(id) {
1212 case ttx: TransferTransaction =>
1313 ttx.timestamp
1414 case _ =>
1515 throw("Can't find transaction")
1616 }
1717 let trsender = match transferTransactionById(id) {
1818 case ttx: TransferTransaction =>
1919 ttx.sender
2020 case _ =>
2121 throw("Can't find transaction")
2222 }
2323 let mess = if ((trtime > time))
2424 then "overtime"
25- else if ((callerAdress != toString(trsender)))
25+ else if ((i.caller != trsender))
2626 then "incorrect sender"
2727 else "prooved"
2828 [StringEntry("-", mess)]
2929 }
3030
3131
3232 @Verifier(tx)
3333 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3434

github/deemru/w8io/026f985 
20.27 ms