tx · 6ZedKy5ddrUPpyUNZKcwHhMciEU7yRo6HpiMxDB3TyKJ

3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL:  -0.01400000 Waves

2022.11.14 14:28 [2316743] smart account 3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL > SELF 0.00000000 Waves

{ "type": 13, "id": "6ZedKy5ddrUPpyUNZKcwHhMciEU7yRo6HpiMxDB3TyKJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1668425310507, "version": 2, "chainId": 84, "sender": "3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL", "senderPublicKey": "BefhVEanzhrtdYfeWquaoSsMZw3BEaEZZB86Kosqw7Qb", "proofs": [ "5MybYjMR3hqT6ijWuK5wS7r9CYvzASmVdRcHhenLxDm5YNWxxpQjW1eXJuFiqkP8zAwhmy7ktVLXZc79FuPDNstc" ], "script": "base64:AAIFAAAAAAAAABsIAhIDCgEBEgMKAQESCAoGCAgICAgIEgMKAQgAAAANAAAAAAVhZG1pbgIAAAAsQmVmaFZFYW56aHJ0ZFlmZVdxdWFvU3NNWnczQkVhRVpaQjg2S29zcXc3UWIAAAAADnJlc3VsdENvbnRyYWN0AgAAAAAAAAAADGJldEFtb3VudEtleQIAAAAQZ2xvYmFsX2JldEFtb3VudAAAAAALZGVhZGxpbmVLZXkCAAAAEWdsb2JhbF9kZWFkbGluZV9oAAAAAAVzY2FsZQAAAAAABfXhAAEAAAAOZ2V0QXNzZXRTdHJpbmcAAAABAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDAFAAAAB2Fzc2V0SWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAWIFAAAAByRtYXRjaDAJAAJYAAAAAQUAAAABYgIAAAAFV0FWRVMBAAAADWdldEFzc2V0Qnl0ZXMAAAABAAAAB2Fzc2V0SWQDCQAAAAAAAAIFAAAAB2Fzc2V0SWQCAAAABVdBVkVTBQAAAAR1bml0CQACWQAAAAE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AAAApjYWxsZXJBZGRyAgAAAA1fT2N0bzctd2lubmVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAKY2FsbGVyQWRkcgIAAAANX09jdG84LXdpbm5lcgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAACmNhbGxlckFkZHICAAAAEF9RdWFydGVyMS13aW5uZXIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAApjYWxsZXJBZGRyAgAAABBfUXVhcnRlcjItd2lubmVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAKY2FsbGVyQWRkcgIAAAAQX1F1YXJ0ZXIzLXdpbm5lcgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAACmNhbGxlckFkZHICAAAAEF9RdWFydGVyNC13aW5uZXIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAApjYWxsZXJBZGRyAgAAAA1fU2VtaTEtd2lubmVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAKY2FsbGVyQWRkcgIAAAANX1NlbWkyLXdpbm5lcgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAACmNhbGxlckFkZHICAAAADEZpbmFsLXdpbm5lcgUAAAADbmlsCQAAAgAAAAECAAAACk9ubHkgYWRtaW4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleahrYS8=", "height": 2316743, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C2uUEFgyxQazoPp1iwJYPiqPsCdwLQNDF27Wc6WJ4Yro Next: 8NiydrX6aUyhUYzBANfeJ2Eb5VT8BwGKe7KNA2MiKbaK Diff:
OldNewDifferences
9595 then {
9696 let I = u()
9797 if ((I != 0))
98- then if ((F == (I * e)))
98+ then if ((F == I))
9999 then {
100100 let J = split(x, "_")
101101 let K = split(y, "_")
114114 then [BooleanEntry((G + "_betted"), true), IntegerEntry((G + "_height"), height), StringEntry((G + "_GroupA-1st"), J[0]), StringEntry((G + "_GroupA-2nd"), K[0]), StringEntry((G + "_GroupB-1st"), J[1]), StringEntry((G + "_GroupB-2nd"), J[1]), StringEntry((G + "_GroupC-1st"), J[2]), StringEntry((G + "_GroupC-2nd"), K[2]), StringEntry((G + "_GroupD-1st"), J[3]), StringEntry((G + "_GroupD-2nd"), J[3]), StringEntry((G + "_GroupE-1st"), J[4]), StringEntry((G + "_GroupE-2nd"), K[4]), StringEntry((G + "_GroupF-1st"), J[5]), StringEntry((G + "_GroupF-2nd"), J[5]), StringEntry((G + "_GroupG-1st"), J[6]), StringEntry((G + "_GroupG-2nd"), K[6]), StringEntry((G + "_GroupH-1st"), J[7]), StringEntry((G + "_GroupH-2nd"), J[7]), StringEntry((G + "_Octo1-winner"), L[0]), StringEntry((G + "_Octo2-winner"), L[1]), StringEntry((G + "_Octo3-winner"), L[2]), StringEntry((G + "_Octo4-winner"), L[3]), StringEntry((G + "_Octo5-winner"), L[4]), StringEntry((G + "_Octo6-winner"), L[5]), StringEntry((G + "_Octo7-winner"), L[6]), StringEntry((G + "_Octo8-winner"), L[7]), StringEntry((G + "_Quarter1-winner"), M[0]), StringEntry((G + "_Quarter2-winner"), M[1]), StringEntry((G + "_Quarter3-winner"), M[2]), StringEntry((G + "_Quarter4-winner"), M[3]), StringEntry((G + "_Semi1-winner"), N[0]), StringEntry((G + "_Semi2-winner"), N[1]), StringEntry((G + "Final-winner"), C)]
115115 else throw("Incorrect data arrived in arguments")
116116 }
117- else throw((("Attach exactly " + toString(I)) + " Waves as payment"))
117+ else throw((("Attach exactly " + toString(I)) + " /100000000 Waves as payment"))
118118 else throw("Zero betAmount from contract storage")
119119 }
120120 else throw("Only Waves is allowed as payment asset to bet")
121121 else throw("Bet already made")
122+ }
123+
124+
125+
126+@Callable(m)
127+func deleteAddress (t) = {
128+ let G = toString(m.caller)
129+ if (q(m.callerPublicKey))
130+ then [DeleteEntry((G + "_betted")), DeleteEntry((G + "_height")), DeleteEntry((G + "_GroupA-1st")), DeleteEntry((G + "_GroupA-2nd")), DeleteEntry((G + "_GroupB-1st")), DeleteEntry((G + "_GroupB-2nd")), DeleteEntry((G + "_GroupC-1st")), DeleteEntry((G + "_GroupC-2nd")), DeleteEntry((G + "_GroupD-1st")), DeleteEntry((G + "_GroupD-2nd")), DeleteEntry((G + "_GroupE-1st")), DeleteEntry((G + "_GroupE-2nd")), DeleteEntry((G + "_GroupF-1st")), DeleteEntry((G + "_GroupF-2nd")), DeleteEntry((G + "_GroupG-1st")), DeleteEntry((G + "_GroupG-2nd")), DeleteEntry((G + "_GroupH-1st")), DeleteEntry((G + "_GroupH-2nd")), DeleteEntry((G + "_Octo1-winner")), DeleteEntry((G + "_Octo2-winner")), DeleteEntry((G + "_Octo3-winner")), DeleteEntry((G + "_Octo4-winner")), DeleteEntry((G + "_Octo5-winner")), DeleteEntry((G + "_Octo6-winner")), DeleteEntry((G + "_Octo7-winner")), DeleteEntry((G + "_Octo8-winner")), DeleteEntry((G + "_Quarter1-winner")), DeleteEntry((G + "_Quarter2-winner")), DeleteEntry((G + "_Quarter3-winner")), DeleteEntry((G + "_Quarter4-winner")), DeleteEntry((G + "_Semi1-winner")), DeleteEntry((G + "_Semi2-winner")), DeleteEntry((G + "Final-winner"))]
131+ else throw("Only admin")
122132 }
123133
124134
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "BefhVEanzhrtdYfeWquaoSsMZw3BEaEZZB86Kosqw7Qb"
55
66 let b = ""
77
88 let c = "global_betAmount"
99
1010 let d = "global_deadline_h"
1111
1212 let e = 100000000
1313
1414 func f (g) = {
1515 let h = g
1616 if ($isInstanceOf(h, "ByteVector"))
1717 then {
1818 let i = h
1919 toBase58String(i)
2020 }
2121 else "WAVES"
2222 }
2323
2424
2525 func j (g) = if ((g == "WAVES"))
2626 then unit
2727 else fromBase58String(g)
2828
2929
3030 func k (l) = {
3131 let h = getInteger(this, l)
3232 if ($isInstanceOf(h, "Int"))
3333 then {
3434 let m = h
3535 m
3636 }
3737 else 0
3838 }
3939
4040
4141 func n (l) = {
4242 let h = getBoolean(this, l)
4343 if ($isInstanceOf(h, "Boolean"))
4444 then {
4545 let i = h
4646 i
4747 }
4848 else false
4949 }
5050
5151
5252 func o (l) = {
5353 let h = getString(this, l)
5454 if ($isInstanceOf(h, "String"))
5555 then {
5656 let p = h
5757 p
5858 }
5959 else ""
6060 }
6161
6262
6363 func q (r) = (toBase58String(r) == a)
6464
6565
6666 func s (t) = n((t + "_betted"))
6767
6868
6969 func u () = k(c)
7070
7171
7272 @Callable(m)
7373 func setBetAmount (v) = if (q(m.callerPublicKey))
7474 then [IntegerEntry(c, v)]
7575 else throw("Only admin")
7676
7777
7878
7979 @Callable(m)
8080 func setDeadLine (w) = if (q(m.callerPublicKey))
8181 then [IntegerEntry(d, w)]
8282 else throw("Only admin")
8383
8484
8585
8686 @Callable(m)
8787 func makeBet (x,y,z,A,B,C) = {
8888 let D = m.payments[0]
8989 let E = value(D.assetId)
9090 let F = value(D.amount)
9191 let G = toString(m.caller)
9292 let H = s(G)
9393 if (!(H))
9494 then if ((f(E) == "WAVES"))
9595 then {
9696 let I = u()
9797 if ((I != 0))
98- then if ((F == (I * e)))
98+ then if ((F == I))
9999 then {
100100 let J = split(x, "_")
101101 let K = split(y, "_")
102102 let L = split(z, "_")
103103 let M = split(A, "_")
104104 let N = split(B, "_")
105105 if (if (if (if (if ((size(J) == 8))
106106 then (size(K) == 8)
107107 else false)
108108 then (size(L) == 8)
109109 else false)
110110 then (size(M) == 4)
111111 else false)
112112 then (size(N) == 2)
113113 else false)
114114 then [BooleanEntry((G + "_betted"), true), IntegerEntry((G + "_height"), height), StringEntry((G + "_GroupA-1st"), J[0]), StringEntry((G + "_GroupA-2nd"), K[0]), StringEntry((G + "_GroupB-1st"), J[1]), StringEntry((G + "_GroupB-2nd"), J[1]), StringEntry((G + "_GroupC-1st"), J[2]), StringEntry((G + "_GroupC-2nd"), K[2]), StringEntry((G + "_GroupD-1st"), J[3]), StringEntry((G + "_GroupD-2nd"), J[3]), StringEntry((G + "_GroupE-1st"), J[4]), StringEntry((G + "_GroupE-2nd"), K[4]), StringEntry((G + "_GroupF-1st"), J[5]), StringEntry((G + "_GroupF-2nd"), J[5]), StringEntry((G + "_GroupG-1st"), J[6]), StringEntry((G + "_GroupG-2nd"), K[6]), StringEntry((G + "_GroupH-1st"), J[7]), StringEntry((G + "_GroupH-2nd"), J[7]), StringEntry((G + "_Octo1-winner"), L[0]), StringEntry((G + "_Octo2-winner"), L[1]), StringEntry((G + "_Octo3-winner"), L[2]), StringEntry((G + "_Octo4-winner"), L[3]), StringEntry((G + "_Octo5-winner"), L[4]), StringEntry((G + "_Octo6-winner"), L[5]), StringEntry((G + "_Octo7-winner"), L[6]), StringEntry((G + "_Octo8-winner"), L[7]), StringEntry((G + "_Quarter1-winner"), M[0]), StringEntry((G + "_Quarter2-winner"), M[1]), StringEntry((G + "_Quarter3-winner"), M[2]), StringEntry((G + "_Quarter4-winner"), M[3]), StringEntry((G + "_Semi1-winner"), N[0]), StringEntry((G + "_Semi2-winner"), N[1]), StringEntry((G + "Final-winner"), C)]
115115 else throw("Incorrect data arrived in arguments")
116116 }
117- else throw((("Attach exactly " + toString(I)) + " Waves as payment"))
117+ else throw((("Attach exactly " + toString(I)) + " /100000000 Waves as payment"))
118118 else throw("Zero betAmount from contract storage")
119119 }
120120 else throw("Only Waves is allowed as payment asset to bet")
121121 else throw("Bet already made")
122+ }
123+
124+
125+
126+@Callable(m)
127+func deleteAddress (t) = {
128+ let G = toString(m.caller)
129+ if (q(m.callerPublicKey))
130+ then [DeleteEntry((G + "_betted")), DeleteEntry((G + "_height")), DeleteEntry((G + "_GroupA-1st")), DeleteEntry((G + "_GroupA-2nd")), DeleteEntry((G + "_GroupB-1st")), DeleteEntry((G + "_GroupB-2nd")), DeleteEntry((G + "_GroupC-1st")), DeleteEntry((G + "_GroupC-2nd")), DeleteEntry((G + "_GroupD-1st")), DeleteEntry((G + "_GroupD-2nd")), DeleteEntry((G + "_GroupE-1st")), DeleteEntry((G + "_GroupE-2nd")), DeleteEntry((G + "_GroupF-1st")), DeleteEntry((G + "_GroupF-2nd")), DeleteEntry((G + "_GroupG-1st")), DeleteEntry((G + "_GroupG-2nd")), DeleteEntry((G + "_GroupH-1st")), DeleteEntry((G + "_GroupH-2nd")), DeleteEntry((G + "_Octo1-winner")), DeleteEntry((G + "_Octo2-winner")), DeleteEntry((G + "_Octo3-winner")), DeleteEntry((G + "_Octo4-winner")), DeleteEntry((G + "_Octo5-winner")), DeleteEntry((G + "_Octo6-winner")), DeleteEntry((G + "_Octo7-winner")), DeleteEntry((G + "_Octo8-winner")), DeleteEntry((G + "_Quarter1-winner")), DeleteEntry((G + "_Quarter2-winner")), DeleteEntry((G + "_Quarter3-winner")), DeleteEntry((G + "_Quarter4-winner")), DeleteEntry((G + "_Semi1-winner")), DeleteEntry((G + "_Semi2-winner")), DeleteEntry((G + "Final-winner"))]
131+ else throw("Only admin")
122132 }
123133
124134
125135 @Verifier(O)
126136 func P () = sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
127137

github/deemru/w8io/026f985 
35.18 ms