tx · BsbAPtnFd9qGf5GjLB2A1Cdbc4JcsncA5TZdg5nW6tdF

3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo:  -0.01400000 Waves

2019.08.19 17:01 [638127] smart account 3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
38.01 ms