tx · 8fx9EmbZc9oYMAjNT1CFeXVtvxYshG1ZoBYjH22P8Jwo

3MxfEq17wZjAWQfckWycU9o4oTkvf9nfNQX:  -0.01000000 Waves

2021.12.15 07:52 [1834910] smart account 3MxfEq17wZjAWQfckWycU9o4oTkvf9nfNQX > SELF 0.00000000 Waves

{ "type": 13, "id": "8fx9EmbZc9oYMAjNT1CFeXVtvxYshG1ZoBYjH22P8Jwo", "fee": 1000000, "feeAssetId": null, "timestamp": 1639543949246, "version": 2, "chainId": 84, "sender": "3MxfEq17wZjAWQfckWycU9o4oTkvf9nfNQX", "senderPublicKey": "HUca7AqRs4Zs9sU1AFcufmBC4XpT4sN79aFScNRT4LxQ", "proofs": [ "24URNg8GxbKbk185hY5uxtjT1qG9vmFneYX4R8BXdBG5t9vV1UcZB3vSL51HSNGzdvTxdQ6Bryny5ivGwDmhmhj7" ], "script": "base64:AAIFAAAAAAAAAAsIAhIAEgMKAQgSAAAAAAYAAAAABXRva2VuAQAAACD7/f1CuDsROS4HrrpzuTX1nPj4tgHygebqJ8ua8SYIHwAAAAAGdG9rZW5kAAAAAAAF9eEAAAAAAAdhaXJkcm9wCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUX+pzJtA2DV6Pr0xhS8z4foIVUAfq2c0IAAAAAAp0ZWFtQWRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUACYJT8ivNONGpFPWk1FdqVPAxApBcmLaAAAAAAhkZWFkbGluZQAAAAF9vHYogAAAAAAMYnVybmRlYWRsaW5lAAAACMRZQFMAAAAAAwAAAAFpAQAAAAVyZXNldAAAAAAJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVidXJudAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAHZHJvcHBlZ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ZGF0YQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAp0ZWFtQWRyZXNzBQAAAAtjYWxsZXJQcmljZQUAAAAEdW5pdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAxjYWxsZXJBZHJlc3MFAAAACnNlbGxhbW91bnQFAAAABXRva2VuCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAFdG9rZW4FAAAACmJ1cm5hbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWJ1cm50CQAAZAAAAAIJAQAAABFAZXh0ck5hdGl2ZSgxMDU1KQAAAAECAAAABWJ1cm50BQAAAApidXJuYW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAABHNvbGQJAAGkAAAAAQUAAAAOY2FsbGVyQnV5bGV2ZWwJAABkAAAAAgkBAAAAEUBleHRyTmF0aXZlKDEwNTUpAAAAAQkAASwAAAACAgAAAARzb2xkCQABpAAAAAEFAAAADmNhbGxlckJ1eWxldmVsBQAAAApzZWxsYW1vdW50CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAZfZXJyb3IFAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAGX2Vycm9yBQAAAARtZXNzBQAAAANuaWwAAAAAztGlmw==", "height": 1834910, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NrRa6CfD1vQ3pqb3eTncpsLcndRHfrmzkvSu64T8X1Q Next: none Diff:
OldNewDifferences
99
1010 let d = Address(base58'3MovsLjXpJr9HD2vBqmAf7Gze6jwuRxX1fX')
1111
12-let e = 1639310400000
12+let e = 1639544400000
1313
1414 let f = 9639404000000
1515
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'HxfxmhGzE6eXC2xStY7WMJfHrNd2GYrXWqM2YM72vqN6'
55
66 let b = 100000000
77
88 let c = Address(base58'3MxfEq17wZjAWQfckWycU9o4oTkvf9nfNQX')
99
1010 let d = Address(base58'3MovsLjXpJr9HD2vBqmAf7Gze6jwuRxX1fX')
1111
12-let e = 1639310400000
12+let e = 1639544400000
1313
1414 let f = 9639404000000
1515
1616 @Callable(g)
1717 func reset () = [DeleteEntry(toBase58String(g.caller.bytes)), IntegerEntry("burnt", 0), IntegerEntry("dropped", 0), IntegerEntry("sold1", 0), IntegerEntry("sold2", 0), IntegerEntry("teamgift", 0), IntegerEntry("issued", (1000000000 * 100000000)), StringEntry("burningstage", "waiting"), DeleteEntry((toBase58String(g.caller.bytes) + "_error"))]
1818
1919
2020
2121 @Callable(g)
2222 func free (h) = {
2323 let i = (1000 * b)
2424 let j = (10 * b)
2525 let k = fromBase58String(h)
2626 let l = Address(g.caller.bytes)
2727 let m = {
2828 let n = blockInfoByHeight(height)
2929 if ($isInstanceOf(n, "BlockInfo"))
3030 then {
3131 let o = n
3232 o.timestamp
3333 }
3434 else throw("Can't find block")
3535 }
3636 let p = assetBalance(c, a)
3737 let q = if (if ((m > f))
3838 then (getStringValue("burningstage") == "waiting")
3939 else false)
4040 then p
4141 else 0
4242 let r = if ((p > i))
4343 then true
4444 else false
4545 if ((r == r))
4646 then {
4747 let s = {
4848 let n = transferTransactionById(k)
4949 if ($isInstanceOf(n, "TransferTransaction"))
5050 then {
5151 let t = n
5252 true
5353 }
5454 else false
5555 }
5656 let u = {
5757 let n = transferTransactionById(k)
5858 if ($isInstanceOf(n, "TransferTransaction"))
5959 then {
6060 let t = n
6161 t.timestamp
6262 }
6363 else 9999999999999
6464 }
6565 let v = {
6666 let n = transferTransactionById(k)
6767 if ($isInstanceOf(n, "TransferTransaction"))
6868 then {
6969 let t = n
7070 t.sender
7171 }
7272 else c
7373 }
7474 let w = if ((take(valueOrElse(getString(toBase58String(g.caller.bytes)), ""), 8) == "received"))
7575 then true
7676 else false
7777 let x = if (if (if (if ((u > e))
7878 then true
7979 else (l != v))
8080 then true
8181 else w)
8282 then true
8383 else !(r))
8484 then false
8585 else true
8686 let y = if (s)
8787 then if ((u > e))
8888 then ("transaction is out of time range: " + toString(u))
8989 else ("" + (if ((l != v))
9090 then ((("it is incorrect sender: " + toString(l)) + " / ") + toString(v))
9191 else ("" + (if (w)
9292 then "allready received"
9393 else ("" + (if (x)
9494 then "received"
9595 else ("" + (if (!(r))
9696 then "airdrop ended: them all burnt"
9797 else ""))))))))
9898 else "can`t find transaction"
9999 if ((q > 0))
100100 then [StringEntry((toBase58String(g.caller.bytes) + "_error"), (("airdrop ended: last " + toString(fraction(q, 1, b))) + " burnt")), Burn(a, q), StringEntry("burningstage", "them all burnt"), IntegerEntry("burnt", (getIntegerValue("burnt") + q))]
101101 else if (x)
102102 then [ScriptTransfer(l, i, a), ScriptTransfer(d, j, a), StringEntry(toBase58String(g.caller.bytes), y), IntegerEntry("dropped", (getIntegerValue("dropped") + i)), IntegerEntry("teamgift", (getIntegerValue("teamgift") + j)), DeleteEntry((toBase58String(g.caller.bytes) + "_error"))]
103103 else [StringEntry((toBase58String(g.caller.bytes) + "_error"), y)]
104104 }
105105 else throw("Strict value is not equal to itself.")
106106 }
107107
108108
109109
110110 @Callable(g)
111111 func buy () = {
112112 let p = assetBalance(c, a)
113113 let z = (1000 * b)
114114 let A = [0, (10 * z), (20 * z), 0]
115115 let B = [0, (1 * 100000000), (2 * 100000000), 0]
116116 let l = Address(g.caller.bytes)
117117 let C = valueOrElse(getString(toBase58String(g.caller.bytes)), "")
118118 let D = split(C, "|")
119119 let E = size(D)
120120 let F = B[E]
121121 let q = A[E]
122122 let G = if ((p >= (z + q)))
123123 then true
124124 else false
125125 let H = if (if ((E == 1))
126126 then true
127127 else (E == 2))
128128 then true
129129 else false
130130 let I = if ((size(g.payments) == 1))
131131 then if (if (!(isDefined(g.payments[0].assetId)))
132132 then (g.payments[0].amount >= F)
133133 else false)
134134 then true
135135 else false
136136 else false
137137 let J = if (!(H))
138138 then "not prooved for buy"
139139 else ("" + (if (!(I))
140140 then "not enough payment"
141141 else ("" + (if (!(G))
142142 then "you lost... not enough ballance"
143143 else ""))))
144144 let K = if ((E == 1))
145145 then "received|bought1"
146146 else if ((E == 2))
147147 then "received|bought1|bought2"
148148 else C
149149 let L = if (if (if (G)
150150 then H
151151 else false)
152152 then I
153153 else false)
154154 then true
155155 else false
156156 if (L)
157157 then [StringEntry(toBase58String(g.caller.bytes), K), ScriptTransfer(d, F, unit), ScriptTransfer(l, z, a), Burn(a, q), IntegerEntry("burnt", (getIntegerValue("burnt") + q)), IntegerEntry(("sold" + toString(E)), (getIntegerValue(("sold" + toString(E))) + z)), DeleteEntry((toBase58String(g.caller.bytes) + "_error"))]
158158 else [StringEntry((toBase58String(g.caller.bytes) + "_error"), J)]
159159 }
160160
161161

github/deemru/w8io/026f985 
43.09 ms