tx · 2AtJxpGxUtSj6v3LZU3kHBP2qkom49fEjMR6pWVRFPVX

3MyGZ3AEvGe5JQ7atcGLL2J5NTnUkwZjNtz:  -0.05000000 Waves

2023.05.07 07:31 [2566952] smart account 3MyGZ3AEvGe5JQ7atcGLL2J5NTnUkwZjNtz > SELF 0.00000000 Waves

{ "type": 13, "id": "2AtJxpGxUtSj6v3LZU3kHBP2qkom49fEjMR6pWVRFPVX", "fee": 5000000, "feeAssetId": null, "timestamp": 1683433941447, "version": 2, "chainId": 84, "sender": "3MyGZ3AEvGe5JQ7atcGLL2J5NTnUkwZjNtz", "senderPublicKey": "DhZAjzJ6qSviDheXhhVx4Php3axrp53pA1T7cHk9TLLh", "proofs": [ "AmkPThbjx1D8ZyvQcjjXWmEDKmQpDy7BssrKWZkx3Bj2HAfjHiE2gQPE2dxawDptAUf3zqotV9j9kCesRntsZsR" ], "script": "base64:AAIFAAAAAAAAABkIAhIDCgEIEgQKAggEEgQKAgEIEgQKAgQIAAAAAwAAAAAZYmlnSW50SGFzaERpdmlzb3JDb2luRkxpcAkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAABQAAAAZIQUxGVVAAAAAAGGJpZ0ludEhhc2hEaXZpc29yQ29pbkJldAkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAAABQAAAAZIQUxGVVABAAAACmlzTmVnYXRpdmUAAAABAAAAAW4DCQAAZgAAAAIAAAAAAAAAAAAFAAAAAW4JAABoAAAAAgUAAAABbgD//////////wUAAAABbgAAAAQAAAABaQEAAAAIYWRkQWRtaW4AAAABAAAAB2FkZHJlc3MEAAAAA2FkbQMJAQAAAAlpc0RlZmluZWQAAAABCQAEIgAAAAECAAAABWFkbWluCQACWQAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDU4KQAAAAECAAAABWFkbWluCAgFAAAAAWkAAAAGY2Fsb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AAWYJAARMAAAAAgUAAAAFdHhQYXkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V56VG26w==", "height": 2566952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2G1XfBNN2NQBbjwTGKffxD7XJCFSXQ3dDHpkTCFj69SR Next: 98deT8MZyMUXyXJ6cFtMbXaYKHTHdQ3oTy9fK345FRbk Diff:
OldNewDifferences
153153 let u = if ((l == toBase58String(this.bytes)))
154154 then IntegerEntry((((toBase58String(this.bytes) + "_") + toBase58String(e.caller.bytes)) + "_ref"), m)
155155 else ScriptTransfer(Address(fromBase58String(l)), m, unit)
156-[IntegerEntry((toBase58String(e.caller.bytes) + "_bets"), (k + 1)), BooleanEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_value"), v), StringEntry(((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))), toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_ref"), l), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_block"), height), StringEntry("last_tx_coinflip", toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_heads_or_tails"), w), u, StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result"), q), t]
156+[IntegerEntry((toBase58String(e.caller.bytes) + "_bets"), (k + 1)), BooleanEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_value"), v), StringEntry(((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))), toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_ref"), l), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_block"), height), StringEntry("last_tx_coinflip", toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_heads_or_tails"), w), u, StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result"), q), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_f"), p), t]
157157 }
158158
159159
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = pow(10, 0, 16, 0, 0, HALFUP)
55
66 let b = pow(10, 0, 17, 0, 0, HALFUP)
77
88 func c (d) = if ((0 > d))
99 then (d * -1)
1010 else d
1111
1212
1313 @Callable(e)
1414 func addAdmin (f) = {
1515 let g = if (isDefined(getString("admin")))
1616 then fromBase58String(getStringValue("admin"))
1717 else e.caller.bytes
1818 if (if ((e.caller.bytes == g))
1919 then true
2020 else (e.caller.bytes == this.bytes))
2121 then [StringEntry("admin", f)]
2222 else throw("Error: Only administrator can call this function.")
2323 }
2424
2525
2626
2727 @Callable(e)
2828 func blockAddress (f,h) = {
2929 let g = if (isDefined(getString("admin")))
3030 then fromBase58String(getStringValue("admin"))
3131 else e.caller.bytes
3232 if (if ((e.caller.bytes == g))
3333 then true
3434 else (e.caller.bytes == this.bytes))
3535 then [BooleanEntry(("address_blocked_" + f), h)]
3636 else throw("Error: Only administrator can call this function.")
3737 }
3838
3939
4040
4141 @Callable(e)
4242 func betToNumber (i,j) = if (isDefined(getString(("address_blocked_" + toBase58String(e.caller.bytes)))))
4343 then throw("Error: Your address is on the Waves Play blacklist.")
4444 else if (if ((100000 > e.payments[0].amount))
4545 then true
4646 else (e.payments[0].amount > 1000000000))
4747 then throw("Invalid Waves amount. Min value: 0.1 Waves. Max Value: 10 Waves")
4848 else if ((e.payments[0].assetId != unit))
4949 then throw("Invalid assetId")
5050 else if (if ((0 >= i))
5151 then true
5252 else (i >= 99))
5353 then throw("Error: Invalid Number")
5454 else {
5555 let k = if (isDefined(getInteger((toBase58String(e.caller.bytes) + "_bets"))))
5656 then getIntegerValue((toBase58String(e.caller.bytes) + "_bets"))
5757 else 0
5858 let l = if ((j == ""))
5959 then toBase58String(this.bytes)
6060 else j
6161 let m = ((e.payments[0].amount * 1) / 100)
6262 let n = if (isDefined(getString("last_tx_bet")))
6363 then (c(toInt(sha256(fromBase58String(getStringValue("last_tx_bet"))))) / b)
6464 else (c(toInt(sha256(sha256(e.transactionId)))) / b)
6565 let o = (c(toInt(sha256(e.transactionId))) / b)
6666 let p = if ((o > n))
6767 then (o - n)
6868 else (n - o)
6969 let q = if ((p > i))
7070 then "win"
7171 else "loss"
7272 let r = if ((q == "win"))
7373 then (9900000000 / (99 - i))
7474 else 0
7575 let s = ((e.payments[0].amount * r) / 100000000)
7676 let t = if ((s == 0))
7777 then IntegerEntry(((toBase58String(this.bytes) + "_") + toBase58String(e.caller.bytes)), e.payments[0].amount)
7878 else ScriptTransfer(Address(e.caller.bytes), s, unit)
7979 let u = if ((l == toBase58String(this.bytes)))
8080 then IntegerEntry((((toBase58String(this.bytes) + "_") + toBase58String(e.caller.bytes)) + "_ref"), m)
8181 else ScriptTransfer(Address(fromBase58String(l)), m, unit)
8282 [IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_mult"), r), IntegerEntry((toBase58String(e.caller.bytes) + "_bets"), (k + 1)), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_value"), i), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result_number"), p), StringEntry(((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))), toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_ref"), l), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_block"), height), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_transfer_final"), s), StringEntry("last_tx_coinflip", toBase58String(e.transactionId)), u, StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result"), q), t]
8383 }
8484
8585
8686
8787 @Callable(e)
8888 func betCoinFlip (v,j) = if (isDefined(getString(("address_blocked_" + toBase58String(e.caller.bytes)))))
8989 then throw("Error: Your address is on the Waves Play blacklist.")
9090 else if (if ((100000 > e.payments[0].amount))
9191 then true
9292 else (e.payments[0].amount > 1000000000))
9393 then throw("Invalid Waves amount. Min value: 0.1 Waves. Max Value: 10 Waves")
9494 else if ((e.payments[0].assetId != unit))
9595 then throw("Invalid assetId")
9696 else {
9797 let k = if (isDefined(getInteger((toBase58String(e.caller.bytes) + "_bets"))))
9898 then getIntegerValue((toBase58String(e.caller.bytes) + "_bets"))
9999 else 0
100100 let l = if ((j == ""))
101101 then toBase58String(this.bytes)
102102 else j
103103 let m = ((e.payments[0].amount * 1) / 100)
104104 let n = if (isDefined(getString("last_tx_bet")))
105105 then (c(toInt(sha256(fromBase58String(getStringValue("last_tx_bet"))))) / a)
106106 else (c(toInt(sha256(sha256(e.transactionId)))) / a)
107107 let o = (c(toInt(sha256(e.transactionId))) / a)
108108 let p = if ((o > n))
109109 then (o - n)
110110 else (n - o)
111111 let w = if (if (if (if (if ((p == 0))
112112 then true
113113 else (p == 2))
114114 then true
115115 else (p == 4))
116116 then true
117117 else (p == 6))
118118 then true
119119 else (p == 8))
120120 then "heads"
121121 else "tails"
122122 let q = if (if (if (v)
123123 then if (if (if (if ((p == 0))
124124 then true
125125 else (p == 2))
126126 then true
127127 else (p == 4))
128128 then true
129129 else (p == 6))
130130 then true
131131 else (p == 8)
132132 else false)
133133 then true
134134 else if (!(v))
135135 then if (if (if (if ((p == 1))
136136 then true
137137 else (p == 3))
138138 then true
139139 else (p == 5))
140140 then true
141141 else (p == 7))
142142 then true
143143 else (p == 9)
144144 else false)
145145 then "win"
146146 else "loss"
147147 let s = if ((q == "win"))
148148 then (e.payments[0].amount * 2)
149149 else 0
150150 let t = if ((s == 0))
151151 then IntegerEntry(((toBase58String(this.bytes) + "_") + toBase58String(e.caller.bytes)), e.payments[0].amount)
152152 else ScriptTransfer(Address(e.caller.bytes), (e.payments[0].amount * 2), unit)
153153 let u = if ((l == toBase58String(this.bytes)))
154154 then IntegerEntry((((toBase58String(this.bytes) + "_") + toBase58String(e.caller.bytes)) + "_ref"), m)
155155 else ScriptTransfer(Address(fromBase58String(l)), m, unit)
156-[IntegerEntry((toBase58String(e.caller.bytes) + "_bets"), (k + 1)), BooleanEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_value"), v), StringEntry(((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))), toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_ref"), l), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_block"), height), StringEntry("last_tx_coinflip", toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_heads_or_tails"), w), u, StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result"), q), t]
156+[IntegerEntry((toBase58String(e.caller.bytes) + "_bets"), (k + 1)), BooleanEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_value"), v), StringEntry(((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))), toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_ref"), l), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_block"), height), StringEntry("last_tx_coinflip", toBase58String(e.transactionId)), StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_heads_or_tails"), w), u, StringEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_result"), q), IntegerEntry((((toBase58String(e.caller.bytes) + "_bet_") + toString((k + 1))) + "_f"), p), t]
157157 }
158158
159159
160160 @Verifier(x)
161161 func y () = sigVerify(x.bodyBytes, x.proofs[0], x.senderPublicKey)
162162

github/deemru/w8io/169f3d6 
52.38 ms