tx · 3cVugXbFsmefaV6GXEanYzPWutNWtGWaGBYqE3rJQ2qN

3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W:  -0.01000000 Waves

2021.09.19 17:25 [1710040] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves

{ "type": 13, "id": "3cVugXbFsmefaV6GXEanYzPWutNWtGWaGBYqE3rJQ2qN", "fee": 1000000, "feeAssetId": null, "timestamp": 1632061521562, "version": 2, "chainId": 84, "sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W", "senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX", "proofs": [ "3QkUZWe4VQsVXeTQtzC1Cwn4TGAHYYRC6eWRYzRcBVeNPgCPcUNWhty8j9H22wFiGwZpVts3LjTDxibuhksPD3zW" ], "script": "base64:AAIFAAAAAAAAAYoIAhIGCgQICAgBGgcKAmExEgFpGgwKAmEyEgZhY3Rpb24aCgoCYTMSBHR5cGUaEQoCYTQSC3ZhbHVlQWN0aW9uGgwKAmE1EgZudW1iZXIaEwoCYTYSDXRyYW5zYWN0aW9uSWQaGAoCYTcSEmN1cnJlbnRXYWxsZXRCeXRlcxoPCgJhOBIJcGF5QW1vdW50GhMKAmE5Eg1jdXJyZW50V2FsbGV0Gg0KAmIxEgduYW1lTmZ0Gg8KAmIyEgl0aW1lc3RhbXAaEAoCYjMSCmhpc3RvcmljSWQaDQoCYjQSByRtYXRjaDAaBwoCYjUSAXQaFQoCYjYSD2luaXRpYWxQb3dlck5mdBoLCgJiNxIFcG93ZXIaDgoCYjgSCG5mdFBvd2VyGhYKAmI5EhByZXF1ZXN0VGltZXN0YW1wGg4KAmMxEghuZXdQb3dlchoQCgJjMhIKbmV3UG93ZXJVcBoZCgJjMxITbmV3UG93ZXJNb3JlUG93ZXJVcBoSCgJjNBIMbmV3VGltZXN0YW1wAAAAAAAAAAEAAAACYTEBAAAABXN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AAAAAIFAAAAAmEyAgAAAAhQb3dlciBVcAkBAAAAAiE9AAAAAgUAAAACYjgAAAAAAAAAAAAHCQAAAAAAAAIJAABpAAAAAgUAAAACYTgAAAAAAAABhqAFAAAAAmE1BwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAACYTQFAAAAAmMyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAABnBvd2VyXwUAAAACYTkFAAAAAmMzBQAAAANuaWwDCQAAAAAAAAIFAAAAAmEyAgAAAAdSZXF1ZXN0CQAAAgAAAAEJAAGkAAAAAQkABLEAAAABCQABmwAAAAEJAAEvAAAAAgkAAaQAAAABBQAAAAJiMgAAAAAAAAAACgkAAAIAAAABAgAAAC1BbGdvIGRldSBlcnJhZG8hIFZlcmlmaXF1ZSBzdWEgc29saWNpdGHDp8OjbyEAAAAA4DwiLg==", "height": 1710040, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5nViZxbacUnWCB27PuH2qgpXQ8LArYTkcHhaJaEPFLJN Next: 6yXBYNUukz9CECoGcGxhCZYLrN9LmZxAmvCnQEapxnFE Diff:
OldNewDifferences
1010 let h = value(a.payments[0].amount)
1111 let i = toBase58String(a.caller.bytes)
1212 let j = ((((((("nft_" + c) + "_") + take(f, 10)) + "_") + i) + "_") + f)
13- let k = (lastBlock.timestamp - 86400000)
13+ let k = lastBlock.timestamp
1414 let l = {
1515 let m = getInteger(this, "historicId")
1616 if ($isInstanceOf(m, "Int"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func start (b,c,d,e) = {
88 let f = toBase58String(a.transactionId)
99 let g = a.caller
1010 let h = value(a.payments[0].amount)
1111 let i = toBase58String(a.caller.bytes)
1212 let j = ((((((("nft_" + c) + "_") + take(f, 10)) + "_") + i) + "_") + f)
13- let k = (lastBlock.timestamp - 86400000)
13+ let k = lastBlock.timestamp
1414 let l = {
1515 let m = getInteger(this, "historicId")
1616 if ($isInstanceOf(m, "Int"))
1717 then {
1818 let n = m
1919 n
2020 }
2121 else 0
2222 }
2323 let o = {
2424 let m = getInteger(this, ("List_NFT_" + c))
2525 if ($isInstanceOf(m, "Int"))
2626 then {
2727 let n = m
2828 n
2929 }
3030 else 0
3131 }
3232 let p = {
3333 let m = getInteger(this, ("power_" + i))
3434 if ($isInstanceOf(m, "Int"))
3535 then {
3636 let n = m
3737 n
3838 }
3939 else 0
4040 }
4141 let q = {
4242 let m = getInteger(this, d)
4343 if ($isInstanceOf(m, "Int"))
4444 then {
4545 let n = m
4646 n
4747 }
4848 else 0
4949 }
5050 let r = {
5151 let m = getInteger(this, "request_timestamp")
5252 if ($isInstanceOf(m, "Int"))
5353 then {
5454 let n = m
5555 n
5656 }
5757 else 0
5858 }
5959 let s = (p + o)
6060 let t = (q + e)
6161 let u = (e + p)
6262 let v = (k + 86400)
6363 if (if ((b == "Buy NFT"))
6464 then ((h / 100000) == o)
6565 else false)
6666 then [Issue(((take(c, 6) + "_") + take(f, 9)), "", 1, 0, false), IntegerEntry(j, o), IntegerEntry(("power_" + i), s), IntegerEntry(("timestamp_" + i), toInt(toBytes(take(toString(k), 10))))]
6767 else if (if ((b == "Send NFT"))
6868 then (i == "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W")
6969 else false)
7070 then [ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(d))]
7171 else if (if (if ((b == "Power Up"))
7272 then (q != 0)
7373 else false)
7474 then ((h / 100000) == e)
7575 else false)
7676 then [IntegerEntry(d, t), IntegerEntry(("power_" + i), u)]
7777 else if ((b == "Request"))
7878 then throw(toString(toInt(toBytes(take(toString(k), 10)))))
7979 else throw("Algo deu errado! Verifique sua solicitação!")
8080 }
8181
8282

github/deemru/w8io/026f985 
24.18 ms