tx · FahA1ajcuPw4vJUJyqEyHzpCgC1tQUzF7v53FJHnBoKw

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01000000 Waves

2021.12.12 09:17 [1830656] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "FahA1ajcuPw4vJUJyqEyHzpCgC1tQUzF7v53FJHnBoKw", "fee": 1000000, "feeAssetId": null, "timestamp": 1639289858708, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "4ZFfFoi57XNCwgT13zbBVQ5fyiiHHsjrCqEwVNQK1chgQrAPhqZDhph9D381HNjCAt84U4qKDrmyMRx6incSqRLq" ], "script": "base64:AAIFAAAAAAAAAAsIAhIAEgMKAQgSAAAAAAMAAAAABXRva2VuAQAAACDnOZgLkNAqR859hHqstm3f+W8Ysf2b79oIcjd5zepeZgAAAAAHYWlyZHJvcAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVL5fGbDUbkI0fER3ZA37DWC9GkZHGFznigAAAAAKdGVhbUFkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVAAmCU/IrzTjRqRT1pNRXalTwMQKQXJi2gAAAAMAAAABaQEAAAAFcmVzZXQAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYnVybnQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAB2Ryb3BwZWQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACHRlYW1naWZ0AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2Vy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UAAAAEdW5pdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAxjYWxsZXJBZHJlc3MFAAAACnNlbGxhbW91bnQFAAAABXRva2VuBQAAAANuaWwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAABF9idXkFAAAABG1lc3MFAAAAA25pbAAAAAAGDQEh", "height": 1830656, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BieAafGQFz8YETNncydwoyz3jA2P4fepp5WCYzqnQaos Next: 3w3fL2YesyvAB4RMaZAySqTQsgQYJrtDUFTJPzSpFs1v Diff:
OldNewDifferences
137137 then (size(split(C, "|")) == 2)
138138 else false)
139139 then 1
140- else 2
140+ else 99
141141 let F = if (if (D)
142142 then if ((E == 0))
143143 then true
165165 then "ballance empty "
166166 else ""))))
167167 let J = split(C, "|")
168- let K = if (D)
169- then J[0]
170- else ("" + (if ((E == 0))
171- then "|bought1"
172- else ("" + (if ((E == 1))
173- then "|bought1|bought2"
174- else ""))))
168+ let K = if ((E == 0))
169+ then (J[0] + "|bought1")
170+ else if ((E == 1))
171+ then (J[0] + "|bought1|bought2")
172+ else ""
175173 let L = if (if (if (B)
176174 then F
177175 else false)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GZc7eKnq2KJwqetRmUzSqr2ZaCGseDZufSocz83sUNoo'
55
66 let b = Address(base58'3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV')
77
88 let c = Address(base58'3MovsLjXpJr9HD2vBqmAf7Gze6jwuRxX1fX')
99
1010 @Callable(d)
1111 func reset () = [DeleteEntry(toBase58String(d.caller.bytes)), IntegerEntry("burnt", 0), IntegerEntry("dropped", 0), IntegerEntry("teamgift", 0), IntegerEntry("burningstage", 0)]
1212
1313
1414
1515 @Callable(d)
1616 func call (e) = {
1717 let f = {
1818 let g = blockInfoByHeight(height)
1919 if ($isInstanceOf(g, "BlockInfo"))
2020 then {
2121 let h = g
2222 h.timestamp
2323 }
2424 else throw("Can't find block")
2525 }
2626 let i = assetBalance(b, a)
2727 let j = {
2828 let g = getInteger("burningstage")
2929 if ($isInstanceOf(g, "Int"))
3030 then {
3131 let k = g
3232 if (if ((getIntegerValue("burningstage") == 0))
3333 then (f > 1639131654752)
3434 else false)
3535 then fraction(i, 10, 100)
3636 else 0
3737 }
3838 else throw("no burningstage")
3939 }
4040 let l = 1000
4141 let m = 10
4242 let n = fromBase58String(e)
4343 let o = Address(d.caller.bytes)
4444 let p = 1639230864311
4545 let q = if ((i > l))
4646 then true
4747 else throw("not enough")
4848 if ((q == q))
4949 then {
5050 let r = {
5151 let g = transferTransactionById(n)
5252 if ($isInstanceOf(g, "TransferTransaction"))
5353 then {
5454 let s = g
5555 true
5656 }
5757 else false
5858 }
5959 let t = {
6060 let g = transferTransactionById(n)
6161 if ($isInstanceOf(g, "TransferTransaction"))
6262 then {
6363 let s = g
6464 s.timestamp
6565 }
6666 else 9999999999999
6767 }
6868 let u = {
6969 let g = transferTransactionById(n)
7070 if ($isInstanceOf(g, "TransferTransaction"))
7171 then {
7272 let s = g
7373 s.sender
7474 }
7575 else b
7676 }
7777 let v = if ((take(valueOrElse(getString(toBase58String(d.caller.bytes)), ""), 8) == "received"))
7878 then true
7979 else false
8080 let w = if (if (if ((t > p))
8181 then true
8282 else (o != u))
8383 then true
8484 else v)
8585 then false
8686 else true
8787 let x = if (r)
8888 then if ((t > p))
8989 then ("transaction is out of time range: " + toString(t))
9090 else ("" + (if ((o != u))
9191 then ((("it is incorrect sender: " + toString(o)) + " / ") + toString(u))
9292 else ("" + (if (v)
9393 then getStringValue(toBase58String(d.caller.bytes))
9494 else ("" + (if (w)
9595 then ("received in " + toString(f))
9696 else ""))))))
9797 else "cant find transaction"
9898 if (w)
9999 then if ((j > 0))
100100 then [ScriptTransfer(o, l, a), ScriptTransfer(c, m, a), StringEntry(toBase58String(d.caller.bytes), x), IntegerEntry("dropped", (getIntegerValue("dropped") + l)), IntegerEntry("teamgift", (getIntegerValue("teamgift") + m))]
101101 else [ScriptTransfer(o, l, a), ScriptTransfer(c, m, a), StringEntry(toBase58String(d.caller.bytes), x), IntegerEntry("dropped", (getIntegerValue("dropped") + l)), IntegerEntry("teamgift", (getIntegerValue("teamgift") + m))]
102102 else [StringEntry(toBase58String(d.caller.bytes), x)]
103103 }
104104 else throw("Strict value is not equal to itself.")
105105 }
106106
107107
108108
109109 @Callable(d)
110110 func buy () = {
111111 let f = {
112112 let g = blockInfoByHeight(height)
113113 if ($isInstanceOf(g, "BlockInfo"))
114114 then {
115115 let h = g
116116 h.timestamp
117117 }
118118 else throw("Can't find block")
119119 }
120120 let i = assetBalance(b, a)
121121 let y = 1000
122122 let z = (1 * 100000000)
123123 let A = (2 * 100000000)
124124 let o = Address(d.caller.bytes)
125125 let B = if ((i >= y))
126126 then true
127127 else false
128128 let C = valueOrElse(getString(toBase58String(d.caller.bytes)), "")
129129 let D = if ((take(C, 8) == "received"))
130130 then true
131131 else false
132132 let E = if (if (D)
133133 then (size(split(C, "|")) == 1)
134134 else false)
135135 then 0
136136 else if (if (D)
137137 then (size(split(C, "|")) == 2)
138138 else false)
139139 then 1
140- else 2
140+ else 99
141141 let F = if (if (D)
142142 then if ((E == 0))
143143 then true
144144 else (E == 1)
145145 else false)
146146 then true
147147 else false
148148 let G = if ((E == 0))
149149 then z
150150 else if ((E == 1))
151151 then A
152152 else 0
153153 let H = if ((size(d.payments) == 1))
154154 then if (if (!(isDefined(d.payments[0].assetId)))
155155 then (d.payments[0].amount >= G)
156156 else false)
157157 then true
158158 else false
159159 else false
160160 let I = if (!(F))
161161 then "not prooved for buy"
162162 else ("" + (if (!(H))
163163 then "not enough payment"
164164 else ("" + (if (!(B))
165165 then "ballance empty "
166166 else ""))))
167167 let J = split(C, "|")
168- let K = if (D)
169- then J[0]
170- else ("" + (if ((E == 0))
171- then "|bought1"
172- else ("" + (if ((E == 1))
173- then "|bought1|bought2"
174- else ""))))
168+ let K = if ((E == 0))
169+ then (J[0] + "|bought1")
170+ else if ((E == 1))
171+ then (J[0] + "|bought1|bought2")
172+ else ""
175173 let L = if (if (if (B)
176174 then F
177175 else false)
178176 then H
179177 else false)
180178 then true
181179 else false
182180 if (L)
183181 then [StringEntry(toBase58String(d.caller.bytes), K), ScriptTransfer(c, G, unit), ScriptTransfer(o, y, a)]
184182 else [StringEntry((toBase58String(d.caller.bytes) + "_buy"), I)]
185183 }
186184
187185

github/deemru/w8io/026f985 
28.41 ms