tx · C85KUP26GBjjJGCwux9FJ1LviP8QnsKLNMUHsL1modK1

3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W:  -0.01000000 Waves

2021.09.21 18:47 [1713007] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves

{ "type": 13, "id": "C85KUP26GBjjJGCwux9FJ1LviP8QnsKLNMUHsL1modK1", "fee": 1000000, "feeAssetId": null, "timestamp": 1632239241475, "version": 2, "chainId": 84, "sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W", "senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX", "proofs": [ "3q1Dd29G3oVaGdAdqs3DZMJFnEfB62ji7DMU5qHDkpxmFh9jUzfHqdVuj3qcRYLXXqHMMUC8GLVizMgDuSy2EnkU" ], "script": "base64:AAIFAAAAAAAAAksIAhIGCgQICAgBGgcKAmExEgFpGgwKAmEyEgZhY3Rpb24aCgoCYTMSBHR5cGUaEQoCYTQSC3ZhbHVlQWN0aW9uGgwKAmE1EgZudW1iZXIaEwoCYTYSDXRyYW5zYWN0aW9uSWQaGAoCYTcSEmN1cnJlbnRXYWxsZXRCeXRlcxoPCgJhOBIJcGF5QW1vdW50GhMKAmE5Eg1jdXJyZW50V2FsbGV0Gg0KAmIxEgduYW1lTmZ0Gg8KAmIyEgl0aW1lc3RhbXAaEAoCYjMSCmJhbGFuY2VTbGkaDQoCYjQSByRtYXRjaDAaBwoCYjUSAXQaEAoCYjYSCmhpc3RvcmljSWQaFQoCYjcSD2luaXRpYWxQb3dlck5mdBoLCgJiOBIFcG93ZXIaDgoCYjkSCG5mdFBvd2VyGhUKAmMxEg9yZXdhcmRUaW1lc3RhbXAaEAoCYzISCnNhdmVSZXdhcmQaEgoCYzMSDHNhdmVXYXJwb2ludBoOCgJjNBIIbmV3UG93ZXIaEAoCYzUSCm5ld1Bvd2VyVXAaGQoCYzYSE25ld1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WZpY2llbnRlIHBhcmEgYSB0cmFuc2HDp8OjbyEAAAAADO5Xag==", "height": 1713007, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 12Ge9EWPQkiPJFsFfVJsuy3YdnTMveW8AqKtUhVyqV4v Next: Bh17WswARo88iEpH9uFNysddXkT3QZH3ge9unHmQKRco Diff:
OldNewDifferences
106106 else false)
107107 then ((h / 100000) == e)
108108 else false)
109- then [IntegerEntry(d, w), IntegerEntry(("power_" + i), x)]
109+ then [IntegerEntry(d, w), IntegerEntry(("power_" + i), x), IntegerEntry(("reward_timestamp_" + i), y), IntegerEntry(("save_reward_" + i), D), IntegerEntry(("save_warpoint_" + i), E)]
110110 else if (if ((b == "Request"))
111111 then (B > 0)
112112 else false)
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)
1313 let k = take(toString(lastBlock.timestamp), 10)
1414 let l = {
1515 let m = getInteger(this, ("balance_sli_" + i))
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, "historicId")
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, ("List_NFT_" + c))
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, ("power_" + i))
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, d)
5252 if ($isInstanceOf(m, "Int"))
5353 then {
5454 let n = m
5555 n
5656 }
5757 else 0
5858 }
5959 let s = {
6060 let m = getInteger(this, ("reward_timestamp_" + i))
6161 if ($isInstanceOf(m, "Int"))
6262 then {
6363 let n = m
6464 n
6565 }
6666 else 0
6767 }
6868 let t = {
6969 let m = getInteger(this, ("save_reward_" + i))
7070 if ($isInstanceOf(m, "Int"))
7171 then {
7272 let n = m
7373 n
7474 }
7575 else 0
7676 }
7777 let u = {
7878 let m = getInteger(this, ("save_warpoint_" + i))
7979 if ($isInstanceOf(m, "Int"))
8080 then {
8181 let n = m
8282 n
8383 }
8484 else 0
8585 }
8686 let v = (q + p)
8787 let w = (r + e)
8888 let x = (e + q)
8989 let y = parseIntValue(k)
9090 let z = (y - s)
9191 let A = (86400 / (q / 100))
9292 let B = ((z * 100000000) / A)
9393 let C = (l + B)
9494 let D = (t + B)
9595 let E = (u + z)
9696 if (if ((b == "Buy NFT"))
9797 then ((h / 100000) == p)
9898 else false)
9999 then [Issue(((take(c, 6) + "_") + take(f, 9)), "", 1, 0, false), IntegerEntry(j, p), IntegerEntry(("power_" + i), v), IntegerEntry(("reward_timestamp_" + i), y), IntegerEntry(("save_reward_" + i), D), IntegerEntry(("save_warpoint_" + i), E)]
100100 else if (if ((b == "Send NFT"))
101101 then (i == "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W")
102102 else false)
103103 then [ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(d))]
104104 else if (if (if ((b == "Power Up"))
105105 then (r != 0)
106106 else false)
107107 then ((h / 100000) == e)
108108 else false)
109- then [IntegerEntry(d, w), IntegerEntry(("power_" + i), x)]
109+ then [IntegerEntry(d, w), IntegerEntry(("power_" + i), x), IntegerEntry(("reward_timestamp_" + i), y), IntegerEntry(("save_reward_" + i), D), IntegerEntry(("save_warpoint_" + i), E)]
110110 else if (if ((b == "Request"))
111111 then (B > 0)
112112 else false)
113113 then [IntegerEntry(("balance_sli_" + i), C), IntegerEntry(("reward_timestamp_" + i), y)]
114114 else throw("Não foi possivel atender a sua solicitação! Verifique se possui saldo suficiente para a transação!")
115115 }
116116
117117

github/deemru/w8io/026f985 
24.98 ms