tx · 5jW7NxWmKTDk3n48dhXYN5QCZMs2cq2WAFQahxRLvMyn

3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7:  -0.01400000 Waves

2019.11.08 10:23 [755667] smart account 3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7 > SELF 0.00000000 Waves

{ "type": 13, "id": "5jW7NxWmKTDk3n48dhXYN5QCZMs2cq2WAFQahxRLvMyn", "fee": 1400000, "feeAssetId": null, "timestamp": 1573197835661, "version": 1, "sender": "3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7", "senderPublicKey": "Gxi9GKByT2CYHqPr6ZTohMDmHRGAgE8uBM6R4QXfvtxK", "proofs": [ "4BZbQp94YnBPJxvEQAmUrLi9Nz8bCkrwssrxJFhobvoG3o1RKTJEQ6rASMerNnmWLMt7FVzGzFMvNijVdLGeCQEm" ], "script": "base64:AAIDAAAAAAAAABMIARIDCgEIEgMKAQESAwoBARIAAAAADgAAAAAHUlVOTklORwIAAAAHUlVOTklORwAAAAAGQ0xPU0VEAgAAAAZDTE9TRUQAAAAACENBTkNFTEVEAgAAAAhDQU5DRUxFRAAAAAAJREFQUE9XTkVSAgAAACMzTjVtd3VxVDZkWHBicXdUNVZLRFh6R0pKNmMxNHJLcXhTNwAAAAAMT1JBQ0xFV0FMTEVUAgAAACMzTkFjb2VXZFVUV244Y3NYSlBHNDd2MUZqdGpjZnF4YjV0dQAAAAAOV0FWRVNLSVRXQUxMRVQCAAAAIzNNcVBwYldQUnNaRm9UOVg3NHFXb2NVNEJweXBHRVBoaUNuAAAAAApCVVJOV0FMTEVUAgAAACMzTXBDYkREamtTcmZTMVhrUHBtNzFpWmo1RFExUnBCUlJodAAAAAAFV0FWRVMCAAAABVdBVkVTAAAAAAROT05FAgAAAAROT05FAAAAAANGRUUAAAAAAAANu6AAAAAAA1dMVAEAAAAgXc1YMiAxtU0669iAvoWYChIkz8rePUfYvMDdGTUOq6oBAAAAC2dldE51bUJ5S2V5AAAAAQ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RlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24GBirRbUY=", "chainId": 84, "height": 755667, "spentComplexity": 0 } View: original | compacted Prev: 8RCmo8kXqDN2wjZaG16ySPH9xGo2ANMTE5YhrH6L5tzS Next: BNeg5HPd2kBM8Fnvpawyy9TreaxbpaPpVUs1Xz8yNuVC Diff:
OldNewDifferences
125125 then (J != x)
126126 else false)
127127 then throw((("Another user: " + J) + " did bet already on this rate."))
128- else if ((I >= 1))
128+ else if ((I >= 100))
129129 then throw("You can do at most 1 bet.")
130130 else WriteSet([DataEntry(((("bet_" + toString(y)) + "_") + toString(E)), x), DataEntry((((("contest_" + toString(y)) + "_") + x) + "_bets"), (I + 1)), DataEntry((("contest_" + toString(y)) + "_betstotal"), (K + F.amount))])
131131 }
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 = "3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7"
1111
1212 let e = "3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu"
1313
1414 let f = "3MqPpbWPRsZFoT9X74qWocU4BpypGEPhiCn"
1515
1616 let g = "3MpCbDDjkSrfS1XkPpm71iZj5DQ1RpBRRht"
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 = extract(addressFromString(e))
5656 let u = {
5757 let o = getInteger(t, "waves_usd_2")
5858 if ($isInstanceOf(o, "Int"))
5959 then {
6060 let p = o
6161 p
6262 }
6363 else 0
6464 }
6565 u
6666 }
6767
6868
6969 @Callable(v)
7070 func setContestStatus (w) = {
7171 let x = toBase58String(v.caller.bytes)
7272 let y = l("contest_currentnumber")
7373 if ((x != d))
7474 then throw("Only dAPP Owner can set Contest Status.")
7575 else if (if ((w != c))
7676 then (w != b)
7777 else false)
7878 then throw(("Invalid status: " + w))
7979 else WriteSet([DataEntry((("contest_" + toString(y)) + "_status"), w)])
8080 }
8181
8282
8383
8484 @Callable(v)
8585 func setContestConfiguration (z) = {
8686 let x = toBase58String(v.caller.bytes)
8787 let y = l("contest_currentnumber")
8888 let A = q((("contest_" + toString(y)) + "_status"))
8989 let B = (y + 1)
9090 let C = wavesBalance(this)
9191 if ((x != d))
9292 then throw(((("Only dAPP Owner can Configure Contest. Caller account: " + x) + " dapp owner: ") + d))
9393 else if ((A == a))
9494 then throw(("You cannot configure a new Contest while old Contest status is: " + A))
9595 else {
9696 let D = (height + (6 * 1440))
9797 WriteSet([DataEntry("contest_currentnumber", B), DataEntry((("contest_" + toString(B)) + "_finishheight"), D), DataEntry((("contest_" + toString(B)) + "_status"), a), DataEntry((("contest_" + toString(B)) + "_betcounter"), 0), DataEntry((("contest_" + toString(B)) + "_betcost"), z)])
9898 }
9999 }
100100
101101
102102
103103 @Callable(v)
104104 func bet (E) = {
105105 let x = toBase58String(v.caller.bytes)
106106 let F = extract(v.payment)
107107 let y = l("contest_currentnumber")
108108 let G = l((("contest_" + toString(y)) + "_startheight"))
109109 let D = l((("contest_" + toString(y)) + "_finishheight"))
110110 let A = q((("contest_" + toString(y)) + "_status"))
111111 let H = l((("contest_" + toString(y)) + "_betcost"))
112112 let w = q((("contest_" + toString(y)) + "_status"))
113113 let I = l((((("contest_" + toString(y)) + "_") + x) + "_bets"))
114114 let J = q(((("bet_" + toString(y)) + "_") + toString(E)))
115115 let K = l((("bet_" + toString(y)) + "_betstotal"))
116116 if ((height > (D - (2 * 1440))))
117117 then throw("You cannot bet anymore at this height.")
118118 else if ((A != a))
119119 then throw(("Invalid status: you cannot bet now, contest status is: " + A))
120120 else if (if ((F.assetId != k))
121121 then true
122122 else (F.amount != H))
123123 then throw(((("You must pay: " + toString(H)) + " WLT to bet. You paid: ") + toString(F.amount)))
124124 else if (if ((J != i))
125125 then (J != x)
126126 else false)
127127 then throw((("Another user: " + J) + " did bet already on this rate."))
128- else if ((I >= 1))
128+ else if ((I >= 100))
129129 then throw("You can do at most 1 bet.")
130130 else WriteSet([DataEntry(((("bet_" + toString(y)) + "_") + toString(E)), x), DataEntry((((("contest_" + toString(y)) + "_") + x) + "_bets"), (I + 1)), DataEntry((("contest_" + toString(y)) + "_betstotal"), (K + F.amount))])
131131 }
132132
133133
134134
135135 @Callable(v)
136136 func closecontest () = {
137137 let L = s()
138138 let y = l("contest_currentnumber")
139139 let M = q(((("bet_" + toString(y)) + "_") + toString(L)))
140140 let D = l((("contest_" + toString(y)) + "_finishheight"))
141141 let x = toBase58String(v.caller.bytes)
142142 let C = wavesBalance(this)
143143 let A = q((("contest_" + toString(y)) + "_status"))
144144 let K = l((("bet_" + toString(y)) + "_betstotal"))
145145 if ((x != d))
146146 then throw("Only dAPP Owner can Close Contest.")
147147 else if ((D > height))
148148 then throw(((("account: " + x) + ": Cannot close the contest before height:") + toString(D)))
149149 else if ((A != a))
150150 then throw(("Cannot close a contest in status: " + A))
151151 else if ((M != i))
152152 then {
153153 let N = ((assetBalance(this, k) * 1) / 100)
154154 let O = ((assetBalance(this, k) * 4) / 100)
155155 let P = ((assetBalance(this, k) * 95) / 100)
156156 let Q = TransferSet([ScriptTransfer(extract(addressFromString(M)), P, k), ScriptTransfer(extract(addressFromString(e)), N, k), ScriptTransfer(extract(addressFromString(f)), O, k), ScriptTransfer(extract(addressFromString(g)), K, k)])
157157 ScriptResult(WriteSet([DataEntry((("contest_" + toString(y)) + "_status"), b), DataEntry((("contest_" + toString(y)) + "_winner"), M), DataEntry((("contest_" + toString(y)) + "_rateheight"), height), DataEntry((("contest_" + toString(y)) + "_currencyrate"), L), DataEntry((("contest_" + toString(y)) + "_prize"), P)]), Q)
158158 }
159159 else WriteSet([DataEntry((("contest_" + toString(y)) + "_status"), b), DataEntry((("contest_" + toString(y)) + "_winner"), M), DataEntry((("contest_" + toString(y)) + "_currencyrate"), L), DataEntry((("contest_" + toString(y)) + "_prize"), 0)])
160160 }
161161
162162
163163 @Verifier(R)
164164 func S () = {
165165 let o = R
166166 if (if ($isInstanceOf(o, "SetScriptTransaction"))
167167 then true
168168 else $isInstanceOf(o, "DataTransaction"))
169169 then sigVerify(R.bodyBytes, R.proofs[0], R.senderPublicKey)
170170 else if ($isInstanceOf(o, "InvokeScriptTransaction"))
171171 then true
172172 else true
173173 }
174174

github/deemru/w8io/169f3d6 
51.97 ms