tx · Gxzcz4PakVUhnDzHmRSbN3kJfvonFf7ST9oJgmmXnxMa

3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj:  -0.01400000 Waves

2021.04.14 13:29 [1482004] smart account 3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj > SELF 0.00000000 Waves

{ "type": 13, "id": "Gxzcz4PakVUhnDzHmRSbN3kJfvonFf7ST9oJgmmXnxMa", "fee": 1400000, "feeAssetId": null, "timestamp": 1618396185340, "version": 2, "chainId": 84, "sender": "3MsH95R1SdYUEkUTVjHvR8gLD8rXtgQ21Vj", "senderPublicKey": "GYeGBXmJUHrtkkJuLVJKCHtaCbkvj9nS4aVLqzdrbpZx", "proofs": [ "uiGTokdjmtGwXryxLFg6fMhGr9vfnahMdsiMvS9fyUwVqv82hsuTySpRJbr6mPNJCH8TYqoYuLgLXEEePS77UKw" ], "script": "base64:AAIEAAAAAAAAABoIAhIECgIIARIDCgEIEgMKAQgSBAoCCAESAAAAABgAAAAAB3ZlcnNpb24AAAAAAAAAAAEAAAAACXNlcGFyYXRvcgIAAAADX19fAAAAAAhkZWNpbWFscwkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAoJAARMAAAAAgAAAAAAAAAAZAkABEwAAAACAAAAAAAAAAPoCQAETAAAAAIAAAAAAAAAJxAJAARMAAAAAgAAAAAAAAGGoAkABEwAAAACAAAAAAAAD0JACQAETAAAAAIAAAAAAACYloAJAARMAAAAAgAAAAAABfXhAAUAAAADbmlsAAAAAAZtYXhJbnQAf/////////8AAAAADmFkZHJQcml2aWxlZ2VzCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXlvamYxajdXMlM1WFNLZW1HYXFFcmNTWWdocUNnUTFncAAAAAAJYWRkclZhdWx0CQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXV0VFZYaDdaMm05Q2Z6eDk4MkQ0bm03aDlZenIzUmE5YQAAAAAKbmliZWxBc3N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XVhbnRpdHkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAADmVsaWdpYmxlQmxvY2tzBQAAAA5lbGlnaWJsZUJsb2NrcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAALZm9yZ2VXZWlnaHQFAAAAC2ZvcmdlV2VpZ2h0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA1mb3JnZVN1cHBsaWVzBQAAAA1mb3JnZVN1cHBsaWVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABFmb3JnZXNUb3RhbFdlaWdodAUAAAARZm9yZ2VzVG90YWxXZWlnaHQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmZvcmdlU2hhcmUFAAAACmZvcmdlU2hhcmUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAD2ZvcmdlQmxvY2tWYWx1ZQUAAAAPZm9yZ2VCbG9ja1ZhbHVlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAtjYWxsZXJTaGFyZQUAAAALY2FsbGVyU2hhcmUFAAAAA25pbAAAAACEuIER", "height": 1482004, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DobJCN8pF8hqyRT9xRUfLfeYXHmgTKF5ocqNcsVs1BHE Next: 4XxNQYrsxXvBTATQ4RS8gnWKpy5vNbBBdLq9nMCZ1Wcu Diff:
OldNewDifferences
214214 let ae = fraction(1, O, T)
215215 let af = fraction(h, ae, 1)
216216 let ag = (fraction(ad, ac, K) * af)
217-[IntegerEntry("forgeWeight", O), IntegerEntry("forgeSupplies", K), IntegerEntry("forgesTotalWeight", T), IntegerEntry("forgeShare", ae), IntegerEntry("forgeBlockValue", af), IntegerEntry("callerShare", ag)]
217+[IntegerEntry("assetQuantity", ac), IntegerEntry("eligibleBlocks", ad), IntegerEntry("forgeWeight", O), IntegerEntry("forgeSupplies", K), IntegerEntry("forgesTotalWeight", T), IntegerEntry("forgeShare", ae), IntegerEntry("forgeBlockValue", af), IntegerEntry("callerShare", ag)]
218218 }
219219 }
220220 }
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 (D) = isDefined(getBoolean(this, (o + D)))
9494
9595
9696 func G (H,I) = if ((addressFromStringValue(getStringValue(e, k)) == H))
9797 then true
9898 else {
9999 let v = getInteger(e, (((((l + b) + toBase58String(H.bytes)) + b) + toBase58String(this.bytes)) + I))
100100 if ($isInstanceOf(v, "Int"))
101101 then {
102102 let y = v
103103 true
104104 }
105105 else false
106106 }
107107
108108
109109 func J (K) = fraction(1, d, K)
110110
111111
112112 @Callable(L)
113113 func addAssetToWhitelist (M,N) = if ((G(L.caller, "addAssetToWhitelist") != true))
114114 then throw("Access denied")
115115 else if (if ((C(M) != true))
116116 then true
117117 else (t(N) != true))
118118 then throw("Data validation")
119119 else if ((F(M) != false))
120120 then throw("Asset already whitelisted")
121121 else {
122122 let O = J(N)
123123 let P = (getIntegerValue(this, n) + O)
124124 [BooleanEntry((o + M), true), IntegerEntry((p + M), N), IntegerEntry((q + M), O), IntegerEntry(n, P)]
125125 }
126126
127127
128128
129129 @Callable(L)
130130 func removeAssetFromWhitelist (Q) = if ((G(L.caller, "removeAssetFromWhitelist") != true))
131131 then throw("Access denied")
132132 else if ((C(Q) != true))
133133 then throw("Data validation")
134134 else if ((F(Q) != true))
135135 then throw("Asset not whitelisted")
136136 else {
137137 let R = [DeleteEntry((o + Q)), DeleteEntry((p + Q)), DeleteEntry((q + Q))]
138138 if ((getBooleanValue(this, (o + Q)) != true))
139139 then R
140140 else IntegerEntry(n, (getIntegerValue(this, n) - getIntegerValue(this, (q + Q)))) :: R
141141 }
142142
143143
144144
145145 @Callable(L)
146146 func enableDisableForge (S) = if ((G(L.caller, "enableDisableForge") != true))
147147 then throw("Access denied")
148148 else if ((C(S) != true))
149149 then throw("Data validation")
150150 else {
151151 let O = getIntegerValue(this, q)
152152 let T = getIntegerValue(this, n)
153153 if ((getBooleanValue(this, (o + S)) != true))
154154 then [IntegerEntry(n, (T + O)), BooleanEntry((o + S), true)]
155155 else [IntegerEntry(n, (T - O)), BooleanEntry((o + S), false)]
156156 }
157157
158158
159159
160160 @Callable(L)
161161 func updateForgeAssetSupplies (U,V) = if ((G(L.caller, "updateForgeAssetSupplies") != true))
162162 then throw("Access denied")
163163 else if (if ((C(U) != true))
164164 then true
165165 else (t(V) != true))
166166 then throw("Data validation")
167167 else if ((F(U) != true))
168168 then throw("Asset not whitelisted")
169169 else {
170170 let W = getIntegerValue(this, (q + U))
171171 let X = J(V)
172172 let R = [IntegerEntry((q + U), X), IntegerEntry((p + U), V)]
173173 if ((getBooleanValue(this, (o + U)) != true))
174174 then R
175175 else IntegerEntry(n, ((getIntegerValue(this, n) + X) - W)) :: R
176176 }
177177
178178
179179
180180 @Callable(L)
181181 func claim () = if ((this == L.caller))
182182 then throw("Self-invoke forbidden")
183183 else if (if ((size(L.payments) != 1))
184184 then true
185185 else (L.payments[0].amount != 1))
186186 then throw("Payment issue")
187187 else {
188188 let Y = valueOrErrorMessage(assetInfo(valueOrErrorMessage(L.payments[0].assetId, "Wrong asset type")), "Unknown asset")
189189 if ((Y.issuer != f))
190190 then throw("Unknown issuer")
191191 else {
192192 let Z = split(Y.description, b)
193193 if (if ((size(Z) != 8))
194194 then true
195195 else (Z[0] != m))
196196 then throw("Not a receipt")
197197 else if ((F(Z[3]) != true))
198198 then throw("Not whitelisted")
199199 else {
200200 let aa = z(Z[1])
201201 let ab = z(Z[5])
202202 let ac = z(Z[4])
203203 let ad = (ab - aa)
204204 if (if ((i > aa))
205205 then true
206206 else (i > ab))
207207 then throw("Not eligible")
208208 else if ((t(ad) != true))
209209 then throw("Corrupted receipt")
210210 else {
211211 let O = getIntegerValue(this, (q + Z[3]))
212212 let K = getIntegerValue(this, (p + Z[3]))
213213 let T = getIntegerValue(this, n)
214214 let ae = fraction(1, O, T)
215215 let af = fraction(h, ae, 1)
216216 let ag = (fraction(ad, ac, K) * af)
217-[IntegerEntry("forgeWeight", O), IntegerEntry("forgeSupplies", K), IntegerEntry("forgesTotalWeight", T), IntegerEntry("forgeShare", ae), IntegerEntry("forgeBlockValue", af), IntegerEntry("callerShare", ag)]
217+[IntegerEntry("assetQuantity", ac), IntegerEntry("eligibleBlocks", ad), IntegerEntry("forgeWeight", O), IntegerEntry("forgeSupplies", K), IntegerEntry("forgesTotalWeight", T), IntegerEntry("forgeShare", ae), IntegerEntry("forgeBlockValue", af), IntegerEntry("callerShare", ag)]
218218 }
219219 }
220220 }
221221 }
222222
223223

github/deemru/w8io/026f985 
40.63 ms