tx · 8YrXhqQjCq6apTNe8TSsfyANLxdaJ77CUmtPwrSF9VfX

3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo:  -0.01400000 Waves

2019.08.19 15:34 [638035] smart account 3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo > SELF 0.00000000 Waves

{ "type": 13, "id": "8YrXhqQjCq6apTNe8TSsfyANLxdaJ77CUmtPwrSF9VfX", "fee": 1400000, "feeAssetId": null, "timestamp": 1566218066121, "version": 1, "sender": "3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo", "senderPublicKey": "5GQSFwNMkJFTT3FeLT3KENqoSr42yiJP3Av5qAYq1F7f", "proofs": [ "D1goU3YJ2MoyCkGixPmHj2D7JdzQzHTyrLbSneT6joZQu71oy6qzPCqQfQQH71gTbiXrAGbUvAutRvxBWPbEBBx" ], "script": "base64:AAIDAAAAAAAAAAAAAAAPAAAAAAdSVU5OSU5HAgAAAAdSVU5OSU5HAAAAAAZDTE9TRUQCAAAABkNMT1NFRAAAAAAJREFQUE9XTkVSAgAAACMzTjdXaWlzbzd2bzY5cHFXZkx0cHpUM3Riek1VR2FocXBnbwAAAAAMT1JBQ0xFV0FMTEVUAgAAACMzTkFjb2VXZFVUV244Y3NYSlBHNDd2MUZqdGpjZnF4YjV0dQAAAAANV0xUQlVSTldBTExFVAIAAAAjM01wQ2JERGprU3JmUzFYa1BwbTcxaVpqNURRMVJwQlJSaHQAAAAADldBVkVTS0lUV0FMTEVUAgAAACMzTXFQcGJXUFJzWkZvVDlYNzRxV29jVTRCcHlwR0VQaGlDbgAAAAAFV0FWRVMCAAAABVdBVkVTAAAAAAROT05FAgAAAAROT05FAAAAAANGRUUAAAAAAAANu6AAAAAAA1dMVAEAAAAgXc1YMiAxtU0669iAvoWYChIkz8rePUfYvMDdGTUOq6oBAAAAC2dldE51bUJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZX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WF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYGKWBAMw==", "chainId": 84, "height": 638035, "spentComplexity": 0 } View: original | compacted Prev: 8b7k9J2wLs7AmPTmKm39nj6JqqqKPWWACmtsA2SkPPb5 Next: SajmKTGnsFPfVJtPMkrQtMFRQgUGTwFp4H8VW3wXoX7 Diff:
OldNewDifferences
124124 if ((height > (E - (2 * 1440))))
125125 then throw("You cannot bet anymore at this height.")
126126 else if ((C != a))
127- then throw("Invalid status: you cannot bet now.")
127+ then throw(("Invalid status: you cannot bet now, contest status is: " + C))
128128 else if (if ((G.assetId != j))
129129 then true
130130 else (G.amount != 500000))
159159 then {
160160 let R = ((assetBalance(this, j) * 5) / 100)
161161 let S = ((assetBalance(this, j) * 90) / 100)
162- let T = TransferSet([ScriptTransfer(extract(addressFromString(O)), (wavesBalance(this) - i), unit), ScriptTransfer(extract(addressFromString(d)), R, j), ScriptTransfer(extract(addressFromString(f)), R, j), ScriptTransfer(extract(addressFromString(e)), S, j)])
162+ let T = TransferSet([ScriptTransfer(extract(addressFromString(O)), (((wavesBalance(this) * 99) / 100) - i), unit), ScriptTransfer(extract(addressFromString(d)), R, j), ScriptTransfer(extract(addressFromString(f)), R, j), ScriptTransfer(extract(addressFromString(e)), S, j)])
163163 ScriptResult(WriteSet([DataEntry((("contest_" + toString(s)) + "_status"), b), DataEntry((("contest_" + toString(s)) + "_winner"), O), DataEntry((("contest_" + toString(s)) + "_currencyrate"), M), DataEntry((("contest_" + toString(s)) + "_height"), height)]), T)
164164 }
165165 else WriteSet([DataEntry((("contest_" + toString(s)) + "_status"), b), DataEntry((("contest_" + toString(s)) + "_winner"), O), DataEntry((("contest_" + toString(s)) + "_currencyrate"), M), DataEntry((("contest_" + toString(s)) + "_height"), height)])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "RUNNING"
55
66 let b = "CLOSED"
77
88 let c = "3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo"
99
1010 let d = "3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu"
1111
1212 let e = "3MpCbDDjkSrfS1XkPpm71iZj5DQ1RpBRRht"
1313
1414 let f = "3MqPpbWPRsZFoT9X74qWocU4BpypGEPhiCn"
1515
1616 let g = "WAVES"
1717
1818 let h = "NONE"
1919
2020 let i = 900000
2121
2222 let j = base58'7KAXNTswj6947a6cVpGhVrh1utWpLcjwf8AFpWCtuMT7'
2323
2424 func k (l) = {
2525 let m = {
2626 let n = getInteger(this, l)
2727 if ($isInstanceOf(n, "Int"))
2828 then {
2929 let o = n
3030 o
3131 }
3232 else 0
3333 }
3434 m
3535 }
3636
3737
3838 func p (l) = {
3939 let q = {
4040 let n = getString(this, l)
4141 if ($isInstanceOf(n, "String"))
4242 then {
4343 let o = n
4444 o
4545 }
4646 else h
4747 }
4848 q
4949 }
5050
5151
5252 func r () = {
5353 let s = k("contest_currentnumber")
5454 p((("contest_" + toString(s)) + "_status"))
5555 }
5656
5757
5858 func t (u) = {
5959 let s = k("contest_currentnumber")
6060 p((((("bet_" + toString(s)) + "_") + toString(u)) + "_owner"))
6161 }
6262
6363
6464 func v () = {
6565 let w = extract(addressFromString(d))
6666 let x = {
6767 let n = getInteger(w, "waves_usd_2")
6868 if ($isInstanceOf(n, "Int"))
6969 then {
7070 let o = n
7171 o
7272 }
7373 else 0
7474 }
7575 x
7676 }
7777
7878
7979 @Callable(y)
8080 func setContestStatus (z,A) = {
8181 let B = toBase58String(y.caller.bytes)
8282 if ((B != c))
8383 then throw("Only dAPP Owner can set Contest Status.")
8484 else if (if ((A != a))
8585 then (A != b)
8686 else false)
8787 then throw(("Invalid status: " + A))
8888 else WriteSet([DataEntry((("contest_" + toString(z)) + "_status"), A)])
8989 }
9090
9191
9292
9393 @Callable(y)
9494 func setContestConfiguration () = {
9595 let B = toBase58String(y.caller.bytes)
9696 let s = k("contest_currentnumber")
9797 let C = p((("contest_" + toString(s)) + "_status"))
9898 let D = (s + 1)
9999 if ((B != c))
100100 then throw(((("Only dAPP Owner can Configure Contest. Caller account: " + B) + " dapp owner: ") + c))
101101 else if ((C == a))
102102 then throw(("You cannot configure a new Contest while old Contest status is: " + C))
103103 else {
104104 let E = (height + (7 * 1440))
105105 WriteSet([DataEntry("contest_currentnumber", D), DataEntry((("contest_" + toString(D)) + "_finishheight"), E), DataEntry((("contest_" + toString(D)) + "_status"), a), DataEntry((("contest_" + toString(D)) + "_votecounter"), 0)])
106106 }
107107 }
108108
109109
110110
111111 @Callable(y)
112112 func bet (F) = {
113113 let B = toBase58String(y.caller.bytes)
114114 let G = extract(y.payment)
115115 let s = k("contest_currentnumber")
116116 let H = k((("contest_" + toString(s)) + "_startheight"))
117117 let E = k((("contest_" + toString(s)) + "_finishheight"))
118118 let I = k((("contest_" + toString(s)) + "_votecounter"))
119119 let C = p((("contest_" + toString(s)) + "_status"))
120120 let J = (I + 1)
121121 let A = p((("contest_" + toString(s)) + "_status"))
122122 let K = k(((("bet_" + toString(s)) + "_") + F))
123123 let L = t(K)
124124 if ((height > (E - (2 * 1440))))
125125 then throw("You cannot bet anymore at this height.")
126126 else if ((C != a))
127- then throw("Invalid status: you cannot bet now.")
127+ then throw(("Invalid status: you cannot bet now, contest status is: " + C))
128128 else if (if ((G.assetId != j))
129129 then true
130130 else (G.amount != 500000))
131131 then throw(("You must pay 5 WLT to bet. You paid: " + toString(G.amount)))
132132 else if (if ((L != h))
133133 then (L != B)
134134 else false)
135135 then throw(((((("Another user: " + L) + " did bet already on rate: ") + F) + " betID:") + toString(K)))
136136 else WriteSet([DataEntry((((("bet_" + toString(s)) + "_") + toString(J)) + "_owner"), B), DataEntry(((("bet_" + toString(s)) + "_") + F), J), DataEntry((("contest_" + toString(s)) + "_votecounter"), J)])
137137 }
138138
139139
140140
141141 @Callable(y)
142142 func closecontest () = {
143143 let M = v()
144144 let s = k("contest_currentnumber")
145145 let N = k(((("bet_" + toString(s)) + "_") + toString(M)))
146146 let O = t(N)
147147 let E = k((("contest_" + toString(s)) + "_finishheight"))
148148 let B = toBase58String(y.caller.bytes)
149149 let P = wavesBalance(this)
150150 let C = p((("contest_" + toString(s)) + "_status"))
151151 let Q = WriteSet([DataEntry((("contest_" + toString(s)) + "_status"), b), DataEntry((("contest_" + toString(s)) + "_winner"), O), DataEntry((("contest_" + toString(s)) + "_currencyrate"), M), DataEntry((("contest_" + toString(s)) + "_height"), height)])
152152 if (if ((E > height))
153153 then (B != c)
154154 else false)
155155 then throw(((("account: " + B) + ": Cannot close the contest before height:") + toString(E)))
156156 else if ((C != a))
157157 then throw(("Cannot close a contest in status: " + C))
158158 else if ((O != h))
159159 then {
160160 let R = ((assetBalance(this, j) * 5) / 100)
161161 let S = ((assetBalance(this, j) * 90) / 100)
162- let T = TransferSet([ScriptTransfer(extract(addressFromString(O)), (wavesBalance(this) - i), unit), ScriptTransfer(extract(addressFromString(d)), R, j), ScriptTransfer(extract(addressFromString(f)), R, j), ScriptTransfer(extract(addressFromString(e)), S, j)])
162+ let T = TransferSet([ScriptTransfer(extract(addressFromString(O)), (((wavesBalance(this) * 99) / 100) - i), unit), ScriptTransfer(extract(addressFromString(d)), R, j), ScriptTransfer(extract(addressFromString(f)), R, j), ScriptTransfer(extract(addressFromString(e)), S, j)])
163163 ScriptResult(WriteSet([DataEntry((("contest_" + toString(s)) + "_status"), b), DataEntry((("contest_" + toString(s)) + "_winner"), O), DataEntry((("contest_" + toString(s)) + "_currencyrate"), M), DataEntry((("contest_" + toString(s)) + "_height"), height)]), T)
164164 }
165165 else WriteSet([DataEntry((("contest_" + toString(s)) + "_status"), b), DataEntry((("contest_" + toString(s)) + "_winner"), O), DataEntry((("contest_" + toString(s)) + "_currencyrate"), M), DataEntry((("contest_" + toString(s)) + "_height"), height)])
166166 }
167167
168168
169169 @Verifier(U)
170170 func V () = {
171171 let n = U
172172 if (if ($isInstanceOf(n, "SetScriptTransaction"))
173173 then true
174174 else $isInstanceOf(n, "DataTransaction"))
175175 then sigVerify(U.bodyBytes, U.proofs[0], U.senderPublicKey)
176176 else if ($isInstanceOf(n, "InvokeScriptTransaction"))
177177 then true
178178 else true
179179 }
180180

github/deemru/w8io/026f985 
35.64 ms