tx · Agy9bF4xqPBL3cMu2uDEkpo3LLg9xd5Lcda2KenXvhJk

3NAsFvuLwxz1iUtZ9fmhfmSN16r9NEsPqsh:  -0.01400000 Waves

2022.07.26 18:50 [2156972] smart account 3NAsFvuLwxz1iUtZ9fmhfmSN16r9NEsPqsh > SELF 0.00000000 Waves

{ "type": 13, "id": "Agy9bF4xqPBL3cMu2uDEkpo3LLg9xd5Lcda2KenXvhJk", "fee": 1400000, "feeAssetId": null, "timestamp": 1658850605677, "version": 1, "sender": "3NAsFvuLwxz1iUtZ9fmhfmSN16r9NEsPqsh", "senderPublicKey": "33fpjdpM9FMu87RZKePniPardKqQXM96sm7VhAk3JEVQ", "proofs": [ "4yuKSScnhT9vKSRqKusA1AMrSWsRRy7kDqksv187fyFLoBTS9yjGGz8Udx7Rsb9iadTopqAtRUbTfSmvNeZ3oF9v" ], "script": "base64:BgIyCAISBQoDCAgIEgYKBAgICAISBQoDCAgEEgYKBAgIAQESAwoBCBIECgIICBIDCgEIEgAUAAlzZXBhcmF0b3ICAl9fABNrZXlCYWNrZW5kUHVibGljS2V5CQC5CQIJAMwIAgICJXMJAMwIAgIQYmFja2VuZFB1bGJpY0tleQUDbmlsBQlzZXBhcmF0b3IBG2tleUV4aXN0c1JlZmVycmVyVG9SZWZlcnJhbAMLcHJvZ3JhbU5hbWUPcmVmZXJyZXJBZGRyZXNzD3JlZmVycmFsQWRkcmVzcwkAuQkCCQDMCAICCCVzJXMlcyVzCQDMCAICGGV4aXN0c1JlZmVycmVyVG9SZWZlcnJhbAkAzAgCBQtwcm9ncmFtTmFtZQkAzAgCBQ9yZWZlcnJlckFkZHJlc3MJAMwIAgUPcmVmZXJyYWxBZGRyZXNzBQNuaWwFCXNlcGFyYXRvcgEKa2V5Q2xhaW1lZAILcHJvZ3JhbU5hbWUOY2xhaW1lckFkZHJlc3MJALkJAgkAzAgCAgglcyVzJXMlcwkAzAgCAgdjbGFpbWVkCQDMCAIFC3Byb2dyYW1OYW1lCQDMCAIFD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vIGl0c2VsZi4BaQEOY29uZmlybU1hbmFnZXIABAJwbQkBHXBlbmRpbmdNYW5hZ2VyUHVibGljS2V5T3JVbml0AAQFaGFzUE0DCQEJaXNEZWZpbmVkAQUCcG0GCQEIdGhyb3dFcnIBAhJubyBwZW5kaW5nIG1hbmFnZXIDCQAAAgUFaGFzUE0FBWhhc1BNBAdjaGVja1BNAwkAAAIIBQFpD2NhbGxlclB1YmxpY0tleQkBBXZhbHVlAQUCcG0GCQEIdGhyb3dFcnIBAht5b3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAgUHY2hlY2tQTQUHY2hlY2tQTQkAzAgCCQELU3RyaW5nRW50cnkCCQETa2V5TWFuYWdlclB1YmxpY0tleQAJANgEAQkBBXZhbHVlAQUCcG0JAMwIAgkBC0RlbGV0ZUVudHJ5AQkBGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5O9qiiA==", "chainId": 84, "height": 2156972, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5acnfoAU9CZCqooSmHi73jXLwaMraXiQBecBcKM6zvi7 Next: 2X75fJjWWvjP73CWsKSA7WinFVexpqgyGvNyG8TLuWxv Diff:
OldNewDifferences
9999 let G = A(B)
100100 if ((G == G))
101101 then {
102- let H = if ((getBoolean(d) == true))
102+ let H = if ((getBoolean(d) == unit))
103103 then true
104104 else u("program name already exists")
105105 if ((H == H))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = makeString(["%s", "backendPulbicKey"], a)
77
88 func c (d,e,f) = makeString(["%s%s%s%s", "existsReferrerToReferral", d, e, f], a)
99
1010
1111 func g (d,h) = makeString(["%s%s%s%s", "claimed", d, h], a)
1212
1313
1414 func i (d,h) = makeString(["%s%s%s%s", "unclaimed", d, h], a)
1515
1616
1717 func j (d,f) = makeString(["%s%s%s", "referrer", d, f], a)
1818
1919
2020 func k (d) = makeString(["%s%s", "programName", d], a)
2121
2222
2323 func l (d,e) = makeString(["%s%s%s", "totalReferralCount", d, e], a)
2424
2525
2626 func m (d,e) = makeString(["%s%s%s", "activeReferralCount", d, e], a)
2727
2828
2929 func n (d,f) = makeString(["%s%s%s", "activeReferral", d, f], a)
3030
3131
3232 func o (d) = makeString(["%s%s", "claimedTotal", d], a)
3333
3434
3535 func p (d) = makeString(["%s%s", "rewardAssetId", d], a)
3636
3737
3838 func q (d) = makeString(["%s%s", "treasuryContract", d], a)
3939
4040
4141 func r (d) = makeString(["%s%s", "implementationContract", d], a)
4242
4343
4444 func s () = "%s__managerPublicKey"
4545
4646
4747 func t () = "%s__pendingManagerPublicKey"
4848
4949
5050 func u (v) = throw(makeString(["referral.ride:", v], " "))
5151
5252
5353 func w () = {
5454 let x = getString(s())
5555 if ($isInstanceOf(x, "String"))
5656 then {
5757 let y = x
5858 fromBase58String(y)
5959 }
6060 else if ($isInstanceOf(x, "Unit"))
6161 then unit
6262 else throw("Match error")
6363 }
6464
6565
6666 func z () = {
6767 let x = getString(t())
6868 if ($isInstanceOf(x, "String"))
6969 then {
7070 let y = x
7171 fromBase58String(y)
7272 }
7373 else if ($isInstanceOf(x, "Unit"))
7474 then unit
7575 else throw("Match error")
7676 }
7777
7878
7979 func A (B) = {
8080 let C = u("permission denied")
8181 let x = w()
8282 if ($isInstanceOf(x, "ByteVector"))
8383 then {
8484 let D = x
8585 if ((B.callerPublicKey == D))
8686 then true
8787 else C
8888 }
8989 else if ($isInstanceOf(x, "Unit"))
9090 then if ((B.caller == this))
9191 then true
9292 else C
9393 else throw("Match error")
9494 }
9595
9696
9797 @Callable(B)
9898 func createReferralProgram (d,E,F) = {
9999 let G = A(B)
100100 if ((G == G))
101101 then {
102- let H = if ((getBoolean(d) == true))
102+ let H = if ((getBoolean(d) == unit))
103103 then true
104104 else u("program name already exists")
105105 if ((H == H))
106106 then $Tuple2([BooleanEntry(k(d), true), StringEntry(q(d), E), StringEntry(r(d), F)], unit)
107107 else throw("Strict value is not equal to itself.")
108108 }
109109 else throw("Strict value is not equal to itself.")
110110 }
111111
112112
113113
114114 @Callable(B)
115115 func createPair (d,e,f,I) = {
116116 let J = if ((getString(c(d, e, f)) == unit))
117117 then true
118118 else u("pair already exists")
119119 if ((J == J))
120120 then {
121121 let K = toBytes(makeString([d, e, f], ":"))
122122 let L = toBytes(value(getString(b)))
123123 let M = if (sigVerify(K, I, L))
124124 then true
125125 else u("bad signature")
126126 if ((M == M))
127127 then {
128128 let N = valueOrElse(getInteger(l(d, e)), 0)
129129 let O = (N + 1)
130130 $Tuple2([BooleanEntry(c(d, e, f), true), IntegerEntry(l(d, e), O)], unit)
131131 }
132132 else throw("Strict value is not equal to itself.")
133133 }
134134 else throw("Strict value is not equal to itself.")
135135 }
136136
137137
138138
139139 @Callable(B)
140140 func updateReferralActivity (d,f,P) = {
141141 let F = value(getString(r(d)))
142142 let Q = (getBoolean(n(d, f)) != unit)
143143 let e = value(getString(j(d, f)))
144144 let G = if ((toString(B.caller) == F))
145145 then true
146146 else u("permission denied")
147147 if ((G == G))
148148 then {
149149 let R = if ((Q == P))
150150 then $Tuple2(nil, unit)
151151 else {
152152 let R = if ((P == true))
153153 then {
154154 let S = (valueOrElse(getInteger(m(d, e)), 0) + 1)
155155 $Tuple2([BooleanEntry(n(d, f), true), IntegerEntry(m(d, e), S)], unit)
156156 }
157157 else {
158158 let S = (valueOrElse(getInteger(m(d, e)), 0) - 1)
159159 $Tuple2([DeleteEntry(n(d, f)), IntegerEntry(m(d, e), S)], unit)
160160 }
161161 R
162162 }
163163 R
164164 }
165165 else throw("Strict value is not equal to itself.")
166166 }
167167
168168
169169
170170 @Callable(B)
171171 func incUnclaimed (d,f,T,U) = {
172172 let F = value(getString(r(d)))
173173 let G = if ((toString(B.caller) == F))
174174 then true
175175 else u("permission denied")
176176 if ((G == G))
177177 then {
178178 let e = value(getString(j(d, f)))
179179 let V = value(getInteger(i(d, e)))
180180 let W = value(getInteger(i(d, f)))
181181 let X = (V + T)
182182 let Y = (W + U)
183183 $Tuple2([IntegerEntry(g(d, f), X), IntegerEntry(i(d, f), Y)], unit)
184184 }
185185 else throw("Strict value is not equal to itself.")
186186 }
187187
188188
189189
190190 @Callable(B)
191191 func claim (d) = {
192192 let Z = value(getInteger(o(d)))
193193 let aa = value(getInteger(g(d, toString(B.caller))))
194194 let ab = value(getInteger(i(d, toString(B.caller))))
195195 let E = value(addressFromString(value(getString(q(d)))))
196196 let ac = fromBase58String(value(getString(p(d))))
197197 let ad = if ((ab > 0))
198198 then true
199199 else u("nothing to claim")
200200 if ((ad == ad))
201201 then {
202202 let ae = (aa + ab)
203203 let af = (Z + ab)
204204 let ag = value(assetBalance(this, ac))
205205 if ((ag == ag))
206206 then {
207207 let ah = invoke(E, "withdrawReferralReward", [ab], nil)
208208 if ((ah == ah))
209209 then {
210210 let ai = value(assetBalance(this, ac))
211211 if ((ai == ai))
212212 then {
213213 let aj = (ai - ag)
214214 if ((aj == aj))
215215 then {
216216 let ak = if ((aj == ab))
217217 then true
218218 else u("insufficient balance on referral contract")
219219 if ((ak == ak))
220220 then $Tuple2([IntegerEntry(g(d, toString(B.caller)), ae), IntegerEntry(o(d), af), IntegerEntry(i(d, toString(B.caller)), 0), ScriptTransfer(B.caller, ab, ac)], unit)
221221 else throw("Strict value is not equal to itself.")
222222 }
223223 else throw("Strict value is not equal to itself.")
224224 }
225225 else throw("Strict value is not equal to itself.")
226226 }
227227 else throw("Strict value is not equal to itself.")
228228 }
229229 else throw("Strict value is not equal to itself.")
230230 }
231231 else throw("Strict value is not equal to itself.")
232232 }
233233
234234
235235
236236 @Callable(B)
237237 func claimREADONLY (d,f) = {
238238 let aa = value(getInteger(g(d, f)))
239239 let ab = value(getInteger(i(d, f)))
240240 let ae = (aa + ab)
241241 $Tuple2(nil, ae)
242242 }
243243
244244
245245
246246 @Callable(B)
247247 func setManager (al) = {
248248 let G = A(B)
249249 if ((G == G))
250250 then {
251251 let am = fromBase58String(al)
252252 if ((am == am))
253253 then [StringEntry(t(), al)]
254254 else throw("Strict value is not equal to itself.")
255255 }
256256 else throw("Strict value is not equal to itself.")
257257 }
258258
259259
260260
261261 @Callable(B)
262262 func confirmManager () = {
263263 let an = z()
264264 let ao = if (isDefined(an))
265265 then true
266266 else u("no pending manager")
267267 if ((ao == ao))
268268 then {
269269 let ap = if ((B.callerPublicKey == value(an)))
270270 then true
271271 else u("you are not pending manager")
272272 if ((ap == ap))
273273 then [StringEntry(s(), toBase58String(value(an))), DeleteEntry(t())]
274274 else throw("Strict value is not equal to itself.")
275275 }
276276 else throw("Strict value is not equal to itself.")
277277 }
278278
279279
280280 @Verifier(aq)
281281 func ar () = {
282282 let as = {
283283 let x = w()
284284 if ($isInstanceOf(x, "ByteVector"))
285285 then {
286286 let D = x
287287 D
288288 }
289289 else if ($isInstanceOf(x, "Unit"))
290290 then aq.senderPublicKey
291291 else throw("Match error")
292292 }
293293 sigVerify(aq.bodyBytes, aq.proofs[0], as)
294294 }
295295

github/deemru/w8io/026f985 
44.06 ms