tx · Hx8HPrcJsLe88CwzLzs3jiFS7V7bHNMfNZxFuQNxiSA9

3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo:  -0.01400000 Waves

2019.08.16 11:29 [633396] smart account 3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
34.68 ms