tx · 7Pr1FCuk3vzfBGy4qqPWepLNddr3afarCfBhhXLNNijF

3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7:  -0.01400000 Waves

2019.11.08 10:29 [755671] smart account 3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7 > SELF 0.00000000 Waves

{ "type": 13, "id": "7Pr1FCuk3vzfBGy4qqPWepLNddr3afarCfBhhXLNNijF", "fee": 1400000, "feeAssetId": null, "timestamp": 1573198176941, "version": 1, "sender": "3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7", "senderPublicKey": "Gxi9GKByT2CYHqPr6ZTohMDmHRGAgE8uBM6R4QXfvtxK", "proofs": [ "o2Z3C17zLZvPgyu36xJ2bQA4savgE19XAAzqKX1VnSEmP8Qjr6S5Fn36dmcXLtssFQftx8iGw6JpVZNShTAoCoM" ], "script": "base64:AAIDAAAAAAAAABMIARIDCgEIEgMKAQESAwoBARIAAAAADgAAAAAHUlVOTklORwIAAAAHUlVOTklORwAAAAAGQ0xPU0VEAgAAAAZDTE9TRUQAAAAACENBTkNFTEVEAgAAAAhDQU5DRUxFRAAAAAAJREFQUE9XTkVSAgAAACMzTjVtd3VxVDZkWHBicXdUNVZLRFh6R0pKNmMxNHJLcXhTNwAAAAAMT1JBQ0xFV0FMTEVUAgAAACMzTkFjb2VXZFVUV244Y3NYSlBHNDd2MUZqdGpjZnF4YjV0dQAAAAAOV0FWRVNLSVRXQUxMRVQCAAAAIzNNcVBwYldQUnNaRm9UOVg3NHFXb2NVNEJweXBHRVBoaUNuAAAAAApCVVJOV0FMTEVUAgAAACMzTXBDYkREamtTcmZTMVhrUHBtNzFpWmo1RFExUnBCUlJodAAAAAAFV0FWRVMCAAAABVdBVkVTAAAAAAROT05FAgAAAAROT05FAAAAAANGRUUAAAAAAAANu6AAAAAAA1dMVAEAAAAgXc1YMiAxtU0669iAvoWYChIkz8rePUfYvMDdGTUOq6oBAAAAC2dldE51bUJ5S2V5AAAAAQAAAANrZ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gkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYG/VmV9A==", "chainId": 84, "height": 755671, "spentComplexity": 0 } View: original | compacted Prev: BNeg5HPd2kBM8Fnvpawyy9TreaxbpaPpVUs1Xz8yNuVC Next: FWk5mMdaexYBjtBABNWTsrLqswtHi6YTtuUiziNgcs47 Diff:
OldNewDifferences
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 }
159- 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)])
159+ else ScriptResult(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)]), TransferSet([ScriptTransfer(extract(addressFromString(g)), K, k)]))
160160 }
161161
162162
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((("contest_" + 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."))
128128 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 }
159- 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)])
159+ else ScriptResult(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)]), TransferSet([ScriptTransfer(extract(addressFromString(g)), K, k)]))
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 
40.88 ms