tx · EgKs4AaKg79xcC5qaAqcTQ8WwAZk8vHZsCXKXeUuvagp

3Mx9FcvbywzbM3uTGL1ocnC6Yz4LwG6VNnQ:  -0.01400000 Waves

2020.09.23 08:24 [1189522] smart account 3Mx9FcvbywzbM3uTGL1ocnC6Yz4LwG6VNnQ > SELF 0.00000000 Waves

{ "type": 13, "id": "EgKs4AaKg79xcC5qaAqcTQ8WwAZk8vHZsCXKXeUuvagp", "fee": 1400000, "feeAssetId": null, "timestamp": 1600838706918, "version": 2, "chainId": 84, "sender": "3Mx9FcvbywzbM3uTGL1ocnC6Yz4LwG6VNnQ", "senderPublicKey": "3rxJnS9mVKpfLXyuwkosSTVgnu1cZ6cGj1WTVNqrhcyd", "proofs": [ "64uq5XUDTqkFXwCgHe6nXNv8f9MiVYrwmHp7S6BZcWF2mDM7qWBdA39WBEhe697atUwkRGvorK7UxngRU29YzHF5" ], "script": "base64:AAIEAAAAAAAAACEIAhIECgIIARIDCgEIEgMKAQgSBAoCCAgSBQoDCAgIEgAAAAAHAAAAAAZMRVNTT04BAAAAIOjnSHw4js1vrbOhaypqBgUMh7yKo+Dj/vvXlCSDAODpAAAAAARQQVI3AQAAACDOWED9mOK0xZN34xzFUmgrQZwssasR1XxpyjfnkulHjAAAAAAUbGVzc29uQ29hY2hQdWJsaWNLZXkBAAAAIJEV1LNN0Z9m46J3ebNUFkD8Hn3i3U/7YD3XLgZSbu1vAAAAAAdwZW5kaW5nAAAAAAAAAAAAAAAAAAVzdGFydAAAAAAAAAAAAQAAAAADZW5kAAAAAAAAAAACAAAAAAxwYXltZW50VG9rZW4FAAAABFBBUjcAAAAGAAAAAWkBAAAAEWlzc3VlTGVzc29uVGlja2V0AAAAAgAAAARqc29uAAAABXByaWNlBAAAAANwbXQJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAADCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAABkxFU1NPTgkAAAIAAAABAgAAABZ3b3J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JYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAANY3VycmVudEFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAAhvd25lcktleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAwkAAGYAAAACAAAAAAAAAAAABQAAAA1jdXJyZW50QW1vdW50CQAAAgAAAAECAAAAHkNhbid0IHdpdGhkcmF3IG5lZ2F0aXZlIGFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAIb3duZXJLZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1jdXJyZW50QW1vdW50BQAAAARQQVI3BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRuW9DA=", "height": 1189522, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5N4w5gAVo7s6RBj4c3LihKgx1UtnPL9h7FPx8EAZP1E3 Next: Ad9jxEXHCKN4xK8n3HBp6vLCFVbGuH4q1LZ5jzGuJHYu Diff:
OldNewDifferences
151151 }
152152 else 0
153153 }
154- let L = (I / x)
154+ let L = (I * x)
155155 let M = ("owner_balance_" + toBase58String(h.caller.bytes))
156156 let N = {
157157 let n = getInteger(this, M)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GgA8mL3SEYvuhYoZFd418Li4bqXAasGbYCKJshTt2MGU'
55
66 let b = base58'EtV3CXQ4wqm28WPB1KaBv5B9ke2bpXRZMutYNEJUQcXm'
77
88 let c = base58'AmMRZeqDosA2ygpV6GTCJrK3KVvrf4ST7ECPj9pub4mU'
99
1010 let d = 0
1111
1212 let e = 1
1313
1414 let f = 2
1515
1616 let g = b
1717
1818 @Callable(h)
1919 func issueLessonTicket (i,j) = {
2020 let k = h.payments[0]
2121 if ((k.assetId != a))
2222 then throw("works with LESSON only")
2323 else {
2424 let l = "issueNumber"
2525 let m = {
2626 let n = getInteger(this, l)
2727 if ($isInstanceOf(n, "Int"))
2828 then {
2929 let o = n
3030 o
3131 }
3232 else 0
3333 }
3434 let p = (m + 1)
3535 let q = toString(p)
3636 let r = (("TICKET_" + q) + "_details")
3737 let s = (("TICKET_" + q) + "_price")
3838 let t = (("TICKET_" + q) + "_balance")
3939 let u = {
4040 let n = getInteger(this, t)
4141 if ($isInstanceOf(n, "Int"))
4242 then {
4343 let o = n
4444 o
4545 }
4646 else 0
4747 }
4848 let v = (u + k.amount)
4949 [IntegerEntry(s, j), IntegerEntry(l, p), StringEntry(r, i), IntegerEntry(t, v)]
5050 }
5151 }
5252
5353
5454
5555 @Callable(h)
5656 func buyTicket (w) = {
5757 let k = h.payments[0]
5858 let s = (("TICKET_" + w) + "_price")
5959 let x = {
6060 let n = getInteger(this, s)
6161 if ($isInstanceOf(n, "Int"))
6262 then {
6363 let o = n
6464 o
6565 }
6666 else 0
6767 }
6868 let y = x
6969 let z = (k.amount / y)
7070 if ((k.assetId != g))
7171 then throw("works with PAR7 only")
7272 else {
7373 let A = ("buy_" + toBase58String(h.caller.bytes))
7474 let B = {
7575 let n = getInteger(this, A)
7676 if ($isInstanceOf(n, "Int"))
7777 then {
7878 let o = n
7979 o
8080 }
8181 else 0
8282 }
8383 let C = (B + z)
8484 let t = (("TICKET_" + w) + "_balance")
8585 let u = {
8686 let n = getInteger(this, t)
8787 if ($isInstanceOf(n, "Int"))
8888 then {
8989 let o = n
9090 o
9191 }
9292 else 0
9393 }
9494 let v = (u - z)
9595 [IntegerEntry(A, C), IntegerEntry(t, v), ScriptTransfer(h.caller, z, a)]
9696 }
9797 }
9898
9999
100100
101101 @Callable(h)
102102 func lessonSubscription (D) = {
103103 let k = h.payments[0]
104104 let E = k.assetId
105105 let F = toBase58String(h.caller.bytes)
106106 let G = ((("status_" + D) + "_") + F)
107107 let H = ((("payment_" + D) + "_") + F)
108108 let I = {
109109 let n = getInteger(this, H)
110110 if ($isInstanceOf(n, "Int"))
111111 then {
112112 let o = n
113113 o
114114 }
115115 else 0
116116 }
117117 let J = (I + k.amount)
118118 [IntegerEntry(G, d), IntegerEntry(H, J)]
119119 }
120120
121121
122122
123123 @Callable(h)
124124 func lessonStart (D,F) = {
125125 let G = ((("status_" + D) + "_") + F)
126126 [IntegerEntry(G, e)]
127127 }
128128
129129
130130
131131 @Callable(h)
132132 func lessonFinish (D,F,w) = {
133133 let K = toBase58String(value(a))
134134 let H = ((("payment_" + D) + "_") + F)
135135 let I = {
136136 let n = getInteger(this, H)
137137 if ($isInstanceOf(n, "Int"))
138138 then {
139139 let o = n
140140 o
141141 }
142142 else 0
143143 }
144144 let s = (("TICKET_" + w) + "_price")
145145 let x = {
146146 let n = getInteger(this, s)
147147 if ($isInstanceOf(n, "Int"))
148148 then {
149149 let o = n
150150 o
151151 }
152152 else 0
153153 }
154- let L = (I / x)
154+ let L = (I * x)
155155 let M = ("owner_balance_" + toBase58String(h.caller.bytes))
156156 let N = {
157157 let n = getInteger(this, M)
158158 if ($isInstanceOf(n, "Int"))
159159 then {
160160 let o = n
161161 o
162162 }
163163 else 0
164164 }
165165 let O = (N + L)
166166 let G = ((("status_" + D) + "_") + F)
167167 let P = ((K + "_") + F)
168168 let Q = {
169169 let n = getInteger(this, P)
170170 if ($isInstanceOf(n, "Int"))
171171 then {
172172 let o = n
173173 o
174174 }
175175 else 0
176176 }
177177 let R = fromBase58String(K)
178178 [IntegerEntry(M, O), IntegerEntry(G, f), Burn(a, I)]
179179 }
180180
181181
182182
183183 @Callable(h)
184184 func ownerWithdraw () = {
185185 let M = toBase58String(h.caller.bytes)
186186 let S = {
187187 let n = getInteger(this, M)
188188 if ($isInstanceOf(n, "Int"))
189189 then {
190190 let o = n
191191 o
192192 }
193193 else 0
194194 }
195195 if ((0 > S))
196196 then throw("Can't withdraw negative amount")
197197 else [IntegerEntry(M, 0), ScriptTransfer(h.caller, S, b)]
198198 }
199199
200200
201201 @Verifier(T)
202202 func U () = sigVerify(T.bodyBytes, T.proofs[0], T.senderPublicKey)
203203

github/deemru/w8io/169f3d6 
52.65 ms