tx · 6C2okKqqVPwSawx3hTFBu4GWdDBo85JL8wqzbnt6p3bH 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W: -0.01000000 Waves 2021.09.22 04:05 [1713567] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves
{ "type": 13, "id": "6C2okKqqVPwSawx3hTFBu4GWdDBo85JL8wqzbnt6p3bH", "fee": 1000000, "feeAssetId": null, "timestamp": 1632272754576, "version": 2, "chainId": 84, "sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W", "senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX", "proofs": [ "5VnKkWqc2peFxFiCeZXvhbbVasdHZWWu5zCu9NKANhdHDy2x5LYZR7PvKfsDQk2xcFMaGgDXrKRkBTSSVTcGKyem" ], "script": "base64:AAIFAAAAAAAAAksIAhIGCgQICAgBGgcKAmExEgFpGgwKAmEyEgZhY3Rpb24aCgoCYTMSBHR5cGUaEQoCYTQSC3ZhbHVlQWN0aW9uGgwKAmE1EgZudW1iZXIaEwoCYTYSDXRyYW5zYWN0aW9uSWQaGAoCYTcSEmN1cnJlbnRXYWxsZXRCeXRlcxoPCgJhOBIJcGF5QW1vdW50GhMKAmE5Eg1jdXJyZW50V2FsbGV0Gg0KAmIxEgduYW1lTmZ0Gg8KAmIyEgl0aW1lc3RhbXAaEAoCYjMSCmJhbGFuY2VTbGkaDQoCYjQSByRtYXRjaDAaBwoCYjUSAXQaEAoCYjYSCmhpc3RvcmljSWQaFQoCYjcSD2luaXRpYWxQb3dlck5mdBoLCgJiOBIFcG93ZXIaDgoCYjkSCG5mdFBvd2VyGhUKAmMxEg9yZXdhcmRUaW1lc3RhbXAaEAoCYzISCnNhdmVSZXdhcmQaEgoCYzMSDHNhdmVXYXJwb2ludBoOCgJjNBIIbmV3UG93ZXIaEAoCYzUSCm5ld1Bvd2VyVXAaGQoCYzYSE25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AAAgkAASwAAAACAgAAAAxzYXZlX3Jld2FyZF8FAAAAAmE5AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAADnNhdmVfd2FycG9pbnRfBQAAAAJhOQAAAAAAAAAAAAUAAAADbmlsCQAAAgAAAAECAAAAZ07Do28gZm9pIHBvc3NpdmVsIGF0ZW5kZXIgYSBzdWEgc29saWNpdGHDp8OjbyEgVmVyaWZpcXVlIHNlIHBvc3N1aSBzYWxkbyBzdWZpY2llbnRlIHBhcmEgYSB0cmFuc2HDp8OjbyEAAAAAs2AxAw==", "height": 1713567, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BKjicZnuDgfGMqZLrPuopmrWmDwfNwuWNA3pnGFGTXnW Next: 4ysW21ZbpRzpKvoEmg5MjNpD9eQmat6pKkCt9wCbAvwG Diff:
Old | New | Differences | |
---|---|---|---|
94 | 94 | let D = (t + B) | |
95 | 95 | let E = (u + z) | |
96 | 96 | if (true) | |
97 | - | then [DeleteEntry(" | |
97 | + | then [DeleteEntry("List_Nft_Boss")] | |
98 | 98 | else if (if ((b == "Buy NFT")) | |
99 | 99 | then ((h / 100000) == p) | |
100 | 100 | else false) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func start (b,c,d,e) = { | |
8 | 8 | let f = toBase58String(a.transactionId) | |
9 | 9 | let g = a.caller | |
10 | 10 | let h = value(a.payments[0].amount) | |
11 | 11 | let i = toBase58String(a.caller.bytes) | |
12 | 12 | let j = ((((((("nft_" + c) + "_") + take(f, 10)) + "_") + i) + "_") + f) | |
13 | 13 | let k = take(toString(lastBlock.timestamp), 10) | |
14 | 14 | let l = { | |
15 | 15 | let m = getInteger(this, ("balance_sli_" + i)) | |
16 | 16 | if ($isInstanceOf(m, "Int")) | |
17 | 17 | then { | |
18 | 18 | let n = m | |
19 | 19 | n | |
20 | 20 | } | |
21 | 21 | else 0 | |
22 | 22 | } | |
23 | 23 | let o = { | |
24 | 24 | let m = getInteger(this, "historicId") | |
25 | 25 | if ($isInstanceOf(m, "Int")) | |
26 | 26 | then { | |
27 | 27 | let n = m | |
28 | 28 | n | |
29 | 29 | } | |
30 | 30 | else 0 | |
31 | 31 | } | |
32 | 32 | let p = { | |
33 | 33 | let m = getInteger(this, ("List_NFT_" + c)) | |
34 | 34 | if ($isInstanceOf(m, "Int")) | |
35 | 35 | then { | |
36 | 36 | let n = m | |
37 | 37 | n | |
38 | 38 | } | |
39 | 39 | else 0 | |
40 | 40 | } | |
41 | 41 | let q = { | |
42 | 42 | let m = getInteger(this, ("power_" + i)) | |
43 | 43 | if ($isInstanceOf(m, "Int")) | |
44 | 44 | then { | |
45 | 45 | let n = m | |
46 | 46 | n | |
47 | 47 | } | |
48 | 48 | else 0 | |
49 | 49 | } | |
50 | 50 | let r = { | |
51 | 51 | let m = getInteger(this, d) | |
52 | 52 | if ($isInstanceOf(m, "Int")) | |
53 | 53 | then { | |
54 | 54 | let n = m | |
55 | 55 | n | |
56 | 56 | } | |
57 | 57 | else 0 | |
58 | 58 | } | |
59 | 59 | let s = { | |
60 | 60 | let m = getInteger(this, ("reward_timestamp_" + i)) | |
61 | 61 | if ($isInstanceOf(m, "Int")) | |
62 | 62 | then { | |
63 | 63 | let n = m | |
64 | 64 | n | |
65 | 65 | } | |
66 | 66 | else 0 | |
67 | 67 | } | |
68 | 68 | let t = { | |
69 | 69 | let m = getInteger(this, ("save_reward_" + i)) | |
70 | 70 | if ($isInstanceOf(m, "Int")) | |
71 | 71 | then { | |
72 | 72 | let n = m | |
73 | 73 | n | |
74 | 74 | } | |
75 | 75 | else 0 | |
76 | 76 | } | |
77 | 77 | let u = { | |
78 | 78 | let m = getInteger(this, ("save_warpoint_" + i)) | |
79 | 79 | if ($isInstanceOf(m, "Int")) | |
80 | 80 | then { | |
81 | 81 | let n = m | |
82 | 82 | n | |
83 | 83 | } | |
84 | 84 | else 0 | |
85 | 85 | } | |
86 | 86 | let v = (q + p) | |
87 | 87 | let w = (r + e) | |
88 | 88 | let x = (e + q) | |
89 | 89 | let y = parseIntValue(k) | |
90 | 90 | let z = (y - s) | |
91 | 91 | let A = (86400 / (q / 100)) | |
92 | 92 | let B = ((z * 100000000) / A) | |
93 | 93 | let C = ((l + B) + t) | |
94 | 94 | let D = (t + B) | |
95 | 95 | let E = (u + z) | |
96 | 96 | if (true) | |
97 | - | then [DeleteEntry(" | |
97 | + | then [DeleteEntry("List_Nft_Boss")] | |
98 | 98 | else if (if ((b == "Buy NFT")) | |
99 | 99 | then ((h / 100000) == p) | |
100 | 100 | else false) | |
101 | 101 | 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)] | |
102 | 102 | else if (if ((b == "Send NFT")) | |
103 | 103 | then (i == "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W") | |
104 | 104 | else false) | |
105 | 105 | then [ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(d))] | |
106 | 106 | else if (if (if ((b == "Power Up")) | |
107 | 107 | then (r != 0) | |
108 | 108 | else false) | |
109 | 109 | then ((h / 100000) == e) | |
110 | 110 | else false) | |
111 | 111 | then [IntegerEntry(d, w), IntegerEntry(("power_" + i), x), IntegerEntry(("reward_timestamp_" + i), y), IntegerEntry(("save_reward_" + i), D), IntegerEntry(("save_warpoint_" + i), E)] | |
112 | 112 | else if (if ((b == "Request")) | |
113 | 113 | then (B > 0) | |
114 | 114 | else false) | |
115 | 115 | then [IntegerEntry(("balance_sli_" + i), C), IntegerEntry(("reward_timestamp_" + i), y), IntegerEntry(("save_reward_" + i), 0), IntegerEntry(("save_warpoint_" + i), 0)] | |
116 | 116 | else throw("Não foi possivel atender a sua solicitação! Verifique se possui saldo suficiente para a transação!") | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 |
github/deemru/w8io/026f985 25.64 ms ◑