tx · HsVeavFmxFpycd1hNTWKiDxra4ZcFenEKdtP2EcnwX9w

3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj:  -0.01400000 Waves

2021.04.14 16:10 [1482157] smart account 3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj > SELF 0.00000000 Waves

{ "type": 13, "id": "HsVeavFmxFpycd1hNTWKiDxra4ZcFenEKdtP2EcnwX9w", "fee": 1400000, "feeAssetId": null, "timestamp": 1618405848621, "version": 2, "chainId": 84, "sender": "3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj", "senderPublicKey": "GYeGBXmJUHrtkkJuLVJKCHtaCbkvj9nS4aVLqzdrbpZx", "proofs": [ "3n5gwz9Zv4Ln89PpYRCtWkfSRWpERcHR4jHJy1HeoLPfswJsFTGpdp2Q1Rh1EWfBxf3zt4UMMt7VeQLCG4KuBhPY" ], "script": "base64:AAIEAAAAAAAAABoIAhIECgIIARIDCgEIEgMKAQgSBAoCCAESAAAAABgAAAAAB3ZlcnNpb24AAAAAAAAAAAEAAAAACXNlcGFyYXRvcgIAAAADX19fAAAAAAhkZWNpbWFscwkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAoJAARMAAAAAgAAAAAAAAAAZAkABEwAAAACAAAAAAAAAAPoCQAETAAAAAIAAAAAAAAAJxAJAARMAAAAAgAAAAAAAAGGoAkABEwAAAACAAAAAAAAD0JACQAETAAAAAIAAAAAAACYloAJAARMAAAAAgAAAAAABfXhAAUAAAADbmlsAAAAAAZtYXhJbnQAf/////////8AAAAADmFkZHJQcml2aWxlZ2VzCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXlvamYxajdXMlM1WFNLZW1HYXFFcmNTWWdocUNnUTFncAAAAAAJYWRkclZhdWx0CQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXV0VFZYaDdaMm05Q2Z6eDk4MkQ0bm03aDlZenIzUmE5YQAAAAAKbmliZW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90YWwFAAAAFGFtb3VudFRvRGVsaXZlclRvdGFsBQAAAANuaWwAAAAAVd13iA==", "height": 1482157, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5er9NMmTEwvzNmd6GZ2v5oY1Yq9oaBkJE8FnCTazCjS3 Next: EA9aVssxceuKp9iM8pCov7Uhgut9XbQQhbXm9mfpr8h Diff:
OldNewDifferences
116116 }
117117
118118
119-func L (M) = fraction(1, d, M)
119+func L (M) = (d / M)
120120
121121
122122 @Callable(N)
222222 else {
223223 let ad = z(ac[4])
224224 let ae = (z(ac[5]) - z(ac[1]))
225- if ((t(ae) != true))
226- then throw("Corrupted receipt")
225+ if ((1 > ae))
226+ then throw("No eligible blocks")
227227 else {
228228 let Q = getIntegerValue(this, (q + ac[3]))
229229 let M = getIntegerValue(this, (p + ac[3]))
230230 let W = getIntegerValue(this, n)
231- let af = fraction(h, Q, W)
232- let ag = fraction(af, ad, M)
233- if ((1 > ag))
234- then throw("Below minimum required amount")
231+ let af = fraction(fraction(h, Q, W), ad, M)
232+ if ((1 > af))
233+ then throw("Below minimum required")
235234 else {
236- let ah = (ag * ae)
237- if ((t(ah) != true))
235+ let ag = (af * ae)
236+ if ((t(ag) != true))
238237 then throw("System error")
239- else [IntegerEntry("assetQuantity", ad), IntegerEntry("eligibleBlocks", ae), IntegerEntry("forgeWeight", Q), IntegerEntry("forgeSupplies", M), IntegerEntry("forgesTotalWeight", W), IntegerEntry("forgeBlockValue", af), IntegerEntry("amountToDeliverPerBlock", ag), IntegerEntry("amountToDeliverTotal", ah)]
238+ else [Reissue(g, ag, true), ScriptTransfer(N.caller, ag, g), IntegerEntry("assetQuantity", ad), IntegerEntry("eligibleBlocks", ae), IntegerEntry("forgeWeight", Q), IntegerEntry("forgeSupplies", M), IntegerEntry("forgesTotalWeight", W), IntegerEntry("amountToDeliverPerBlock", af), IntegerEntry("amountToDeliverTotal", ag)]
240239 }
241240 }
242241 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1
55
66 let b = "___"
77
88 let c = [1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000]
99
1010 let d = 9223372036854775807
1111
1212 let e = addressFromStringValue("3Myojf1j7W2S5XSKemGaqErcSYghqCgQ1gp")
1313
1414 let f = addressFromStringValue("3MutTVXh7Z2m9Cfzx982D4nm7h9Yzr3Ra9a")
1515
1616 let g = base58'8c6SCeWJj6M1VFBaFEg2LWxYS77ZHkmiMeAs6MMSDi1v'
1717
1818 let h = 1000000000000
1919
2020 let i = 0
2121
2222 let j = 100000
2323
2424 let k = "MAIN_OPERATOR"
2525
2626 let l = "PRIVILEGE"
2727
2828 let m = "R"
2929
3030 let n = "FORGES_TOTAL_WEIGHT"
3131
3232 let o = "FS_ENABLED_"
3333
3434 let p = "FS_SUPPLIES_"
3535
3636 let q = "FS_WEIGHT_"
3737
3838 func r (s) = if ((contains(s, b) == false))
3939 then (contains(s, " ") == false)
4040 else false
4141
4242
4343 func t (u) = {
4444 let v = u
4545 if ($isInstanceOf(v, "String"))
4646 then {
4747 let w = v
4848 let x = parseInt(w)
4949 if ($isInstanceOf(x, "Int"))
5050 then {
5151 let y = x
5252 if ((y >= 0))
5353 then (d >= y)
5454 else false
5555 }
5656 else false
5757 }
5858 else if ($isInstanceOf(v, "Int"))
5959 then {
6060 let y = v
6161 if ((y >= 0))
6262 then (d >= y)
6363 else false
6464 }
6565 else false
6666 }
6767
6868
6969 func z (A) = {
7070 let B = valueOrErrorMessage(parseInt(A), "Not a string int")
7171 if ((t(B) != true))
7272 then throw("Not safe")
7373 else B
7474 }
7575
7676
7777 func C (D) = {
7878 let v = D
7979 if ($isInstanceOf(v, "String"))
8080 then {
8181 let w = v
8282 isDefined(assetInfo(fromBase58String(w)))
8383 }
8484 else if ($isInstanceOf(v, "ByteVector"))
8585 then {
8686 let E = v
8787 isDefined(assetInfo(E))
8888 }
8989 else false
9090 }
9191
9292
9393 func F (G) = {
9494 let v = getBoolean(this, (o + G))
9595 if ($isInstanceOf(v, "Boolean"))
9696 then {
9797 let H = v
9898 if ((H == true))
9999 then "enabled"
100100 else "disabled"
101101 }
102102 else "notWhitelisted"
103103 }
104104
105105
106106 func I (J,K) = if ((addressFromStringValue(getStringValue(e, k)) == J))
107107 then true
108108 else {
109109 let v = getInteger(e, (((((l + b) + toBase58String(J.bytes)) + b) + toBase58String(this.bytes)) + K))
110110 if ($isInstanceOf(v, "Int"))
111111 then {
112112 let y = v
113113 true
114114 }
115115 else false
116116 }
117117
118118
119-func L (M) = fraction(1, d, M)
119+func L (M) = (d / M)
120120
121121
122122 @Callable(N)
123123 func addAssetToWhitelist (O,P) = if ((I(N.caller, "addAssetToWhitelist") != true))
124124 then throw("Access denied")
125125 else if (if ((C(O) != true))
126126 then true
127127 else (t(P) != true))
128128 then throw("Data validation")
129129 else if ((F(O) != "notWhitelisted"))
130130 then throw("Asset already whitelisted")
131131 else {
132132 let Q = L(P)
133133 let R = (getIntegerValue(this, n) + Q)
134134 [BooleanEntry((o + O), true), IntegerEntry((p + O), P), IntegerEntry((q + O), Q), IntegerEntry(n, R)]
135135 }
136136
137137
138138
139139 @Callable(N)
140140 func removeAssetFromWhitelist (S) = if ((I(N.caller, "removeAssetFromWhitelist") != true))
141141 then throw("Access denied")
142142 else if ((C(S) != true))
143143 then throw("Data validation")
144144 else {
145145 let T = F(S)
146146 if ((T == "notWhitelisted"))
147147 then throw("Asset not whitelisted")
148148 else {
149149 let U = [DeleteEntry((o + S)), DeleteEntry((p + S)), DeleteEntry((q + S))]
150150 if ((T == "disabled"))
151151 then U
152152 else IntegerEntry(n, (getIntegerValue(this, n) - getIntegerValue(this, (q + S)))) :: U
153153 }
154154 }
155155
156156
157157
158158 @Callable(N)
159159 func enableDisableForge (V) = if ((I(N.caller, "enableDisableForge") != true))
160160 then throw("Access denied")
161161 else if ((C(V) != true))
162162 then throw("Data validation")
163163 else {
164164 let T = F(V)
165165 if ((T == "notWhitelisted"))
166166 then throw("Asset not whitelisted")
167167 else {
168168 let Q = getIntegerValue(this, q)
169169 let W = getIntegerValue(this, n)
170170 if ((T == "disabled"))
171171 then [IntegerEntry(n, (W + Q)), BooleanEntry((o + V), true)]
172172 else [IntegerEntry(n, (W - Q)), BooleanEntry((o + V), false)]
173173 }
174174 }
175175
176176
177177
178178 @Callable(N)
179179 func updateForgeAssetSupplies (X,Y) = if ((I(N.caller, "updateForgeAssetSupplies") != true))
180180 then throw("Access denied")
181181 else if (if ((C(X) != true))
182182 then true
183183 else (t(Y) != true))
184184 then throw("Data validation")
185185 else {
186186 let T = F(X)
187187 if ((T == "notWhitelisted"))
188188 then throw("Asset not whitelisted")
189189 else {
190190 let Z = getIntegerValue(this, (q + X))
191191 let aa = L(Y)
192192 let U = [IntegerEntry((q + X), aa), IntegerEntry((p + X), Y)]
193193 if ((T == "disabled"))
194194 then U
195195 else IntegerEntry(n, ((getIntegerValue(this, n) + aa) - Z)) :: U
196196 }
197197 }
198198
199199
200200
201201 @Callable(N)
202202 func claim () = if ((this == N.caller))
203203 then throw("Self-invoke forbidden")
204204 else if (if ((size(N.payments) != 1))
205205 then true
206206 else (N.payments[0].amount != 1))
207207 then throw("Payment issue")
208208 else {
209209 let ab = valueOrErrorMessage(assetInfo(valueOrErrorMessage(N.payments[0].assetId, "Wrong asset type")), "Unknown asset")
210210 if ((ab.issuer != f))
211211 then throw("Unknown issuer")
212212 else {
213213 let ac = split(ab.description, b)
214214 if (if ((size(ac) != 8))
215215 then true
216216 else (ac[0] != m))
217217 then throw("Not a receipt")
218218 else {
219219 let T = F(ac[3])
220220 if ((T != "enabled"))
221221 then throw("Not whitelisted/enabled")
222222 else {
223223 let ad = z(ac[4])
224224 let ae = (z(ac[5]) - z(ac[1]))
225- if ((t(ae) != true))
226- then throw("Corrupted receipt")
225+ if ((1 > ae))
226+ then throw("No eligible blocks")
227227 else {
228228 let Q = getIntegerValue(this, (q + ac[3]))
229229 let M = getIntegerValue(this, (p + ac[3]))
230230 let W = getIntegerValue(this, n)
231- let af = fraction(h, Q, W)
232- let ag = fraction(af, ad, M)
233- if ((1 > ag))
234- then throw("Below minimum required amount")
231+ let af = fraction(fraction(h, Q, W), ad, M)
232+ if ((1 > af))
233+ then throw("Below minimum required")
235234 else {
236- let ah = (ag * ae)
237- if ((t(ah) != true))
235+ let ag = (af * ae)
236+ if ((t(ag) != true))
238237 then throw("System error")
239- else [IntegerEntry("assetQuantity", ad), IntegerEntry("eligibleBlocks", ae), IntegerEntry("forgeWeight", Q), IntegerEntry("forgeSupplies", M), IntegerEntry("forgesTotalWeight", W), IntegerEntry("forgeBlockValue", af), IntegerEntry("amountToDeliverPerBlock", ag), IntegerEntry("amountToDeliverTotal", ah)]
238+ else [Reissue(g, ag, true), ScriptTransfer(N.caller, ag, g), IntegerEntry("assetQuantity", ad), IntegerEntry("eligibleBlocks", ae), IntegerEntry("forgeWeight", Q), IntegerEntry("forgeSupplies", M), IntegerEntry("forgesTotalWeight", W), IntegerEntry("amountToDeliverPerBlock", af), IntegerEntry("amountToDeliverTotal", ag)]
240239 }
241240 }
242241 }
243242 }
244243 }
245244 }
246245
247246

github/deemru/w8io/169f3d6 
62.32 ms