tx · 3ehJmDTy3GShMy9jZw425Su9sSXL9jcsC4PgizABTsSG

3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7:  -0.01400000 Waves

2019.10.25 11:42 [735436] smart account 3N5mwuqT6dXpbqwT5VKDXzGJJ6c14rKqxS7 > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
48.09 ms