tx · E4BJZkamUbFKBquCZ65xeoTShLjgxhTWBrA8EicRCEbN 3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo: -0.01400000 Waves 2019.08.20 12:56 [639293] smart account 3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo > SELF 0.00000000 Waves
{ "type": 13, "id": "E4BJZkamUbFKBquCZ65xeoTShLjgxhTWBrA8EicRCEbN", "fee": 1400000, "feeAssetId": null, "timestamp": 1566295035495, "version": 1, "sender": "3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo", "senderPublicKey": "5GQSFwNMkJFTT3FeLT3KENqoSr42yiJP3Av5qAYq1F7f", "proofs": [ "3KFeFxbHPYGirEn1NndCFEVwEMbpGHGj9kZ9hpsPAZx7whDmArN7gpHAbocr26E9hoxJCUqCpYjPTqb5TchEZGdu" ], "script": "base64:AAIDAAAAAAAAAAAAAAAQAAAAAAdSVU5OSU5HAgAAAAdSVU5OSU5HAAAAAAZDTE9TRUQCAAAABkNMT1NFRAAAAAAIQ0FOQ0VMRUQCAAAACENBTkNFTEVEAAAAAAlEQVBQT1dORVICAAAAIzNON1dpaXNvN3ZvNjlwcVdmTHRwelQzdGJ6TVVHYWhxcGdvAAAAAAxPUkFDTEVXQUxMRVQCAAAAIzNOQWNvZVdkVVRXbjhjc1hKUEc0N3YxRmp0amNmcXhiNXR1AAAAAA1XTFRCVVJOV0FMTEVUAgAAACMzTXBDYkREamtTcmZTMVhrUHBtNzFpWmo1RFExUnBCUlJodAAAAAAOV0FWRVNLSVRXQUxMRVQCAAAAIzNNcVBwYldQUnNaRm9UOVg3NHFXb2NVNEJweXBHRVBoaUNuAAAAAAVXQVZFUwIAAAAFV0FWRVMAAAAABE5PTkUCAAAABE5PTkUAAAAAA0ZFRQAAAAAAAA27oAAAAAADV0xUAQAAACBdzVgyIDG1TTrr2IC+hZgKEiTPyt49R9i8wN0ZNQ6rqgEAAAALZ2V0TnVtQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBA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ANuaWwFAAAAC3dpblRyYW5zZmVyCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAIY29udGVzdF8JAAGkAAAAAQUAAAARY29udGVzdEN1cnJOdW1iZXICAAAAB19zdGF0dXMFAAAABkNMT1NFRAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAACGNvbnRlc3RfCQABpAAAAAEFAAAAEWNvbnRlc3RDdXJyTnVtYmVyAgAAAAdfd2lubmVyBQAAABF3aW5uaW5nQmV0QWNjb3VudAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAACGNvbnRlc3RfCQABpAAAAAEFAAAAEWNvbnRlc3RDdXJyTnVtYmVyAgAAAA1fY3VycmVuY3lyYXRlBQAAAAxjdXJyZW5jeVJhdGUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAhjb250ZXN0XwkAAaQAAAABBQAAABFjb250ZXN0Q3Vyck51bWJlcgIAAAAHX2hlaWdodAUAAAAGaGVpZ2h0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYGZi789w==", "chainId": 84, "height": 639293, "spentComplexity": 0 } View: original | compacted Prev: mAptgyzAfN8Z9oQRqpJTK8ExFKvXW9GzG8usmdagT1n Next: none Diff:
Old | New | Differences | |
---|---|---|---|
133 | 133 | else if (if ((L != i)) | |
134 | 134 | then (L != C) | |
135 | 135 | else false) | |
136 | - | then throw | |
136 | + | then throw((("Another user: " + L) + " did bet already on this rate.")) | |
137 | 137 | else WriteSet([DataEntry(((("bet_" + toString(t)) + "_") + toString(H)), C)]) | |
138 | 138 | } | |
139 | 139 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "RUNNING" | |
5 | 5 | ||
6 | 6 | let b = "CLOSED" | |
7 | 7 | ||
8 | 8 | let c = "CANCELED" | |
9 | 9 | ||
10 | 10 | let d = "3N7Wiiso7vo69pqWfLtpzT3tbzMUGahqpgo" | |
11 | 11 | ||
12 | 12 | let e = "3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu" | |
13 | 13 | ||
14 | 14 | let f = "3MpCbDDjkSrfS1XkPpm71iZj5DQ1RpBRRht" | |
15 | 15 | ||
16 | 16 | let g = "3MqPpbWPRsZFoT9X74qWocU4BpypGEPhiCn" | |
17 | 17 | ||
18 | 18 | let h = "WAVES" | |
19 | 19 | ||
20 | 20 | let i = "NONE" | |
21 | 21 | ||
22 | 22 | let j = 900000 | |
23 | 23 | ||
24 | 24 | let k = base58'7KAXNTswj6947a6cVpGhVrh1utWpLcjwf8AFpWCtuMT7' | |
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = { | |
28 | 28 | let o = getInteger(this, m) | |
29 | 29 | if ($isInstanceOf(o, "Int")) | |
30 | 30 | then { | |
31 | 31 | let p = o | |
32 | 32 | p | |
33 | 33 | } | |
34 | 34 | else 0 | |
35 | 35 | } | |
36 | 36 | n | |
37 | 37 | } | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func q (m) = { | |
41 | 41 | let r = { | |
42 | 42 | let o = getString(this, m) | |
43 | 43 | if ($isInstanceOf(o, "String")) | |
44 | 44 | then { | |
45 | 45 | let p = o | |
46 | 46 | p | |
47 | 47 | } | |
48 | 48 | else i | |
49 | 49 | } | |
50 | 50 | r | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func s () = { | |
55 | 55 | let t = l("contest_currentnumber") | |
56 | 56 | q((("contest_" + toString(t)) + "_status")) | |
57 | 57 | } | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func u (v) = { | |
61 | 61 | let t = l("contest_currentnumber") | |
62 | 62 | q((((("bet_" + toString(t)) + "_") + toString(v)) + "_owner")) | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func w () = { | |
67 | 67 | let x = extract(addressFromString(e)) | |
68 | 68 | let y = { | |
69 | 69 | let o = getInteger(x, "waves_usd_2") | |
70 | 70 | if ($isInstanceOf(o, "Int")) | |
71 | 71 | then { | |
72 | 72 | let p = o | |
73 | 73 | p | |
74 | 74 | } | |
75 | 75 | else 0 | |
76 | 76 | } | |
77 | 77 | y | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | @Callable(z) | |
82 | 82 | func setContestStatus (A,B) = { | |
83 | 83 | let C = toBase58String(z.caller.bytes) | |
84 | 84 | if ((C != d)) | |
85 | 85 | then throw("Only dAPP Owner can set Contest Status.") | |
86 | 86 | else if (if ((B != c)) | |
87 | 87 | then (B != b) | |
88 | 88 | else false) | |
89 | 89 | then throw(("Invalid status: " + B)) | |
90 | 90 | else WriteSet([DataEntry((("contest_" + toString(A)) + "_status"), B)]) | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | ||
95 | 95 | @Callable(z) | |
96 | 96 | func setContestConfiguration () = { | |
97 | 97 | let C = toBase58String(z.caller.bytes) | |
98 | 98 | let t = l("contest_currentnumber") | |
99 | 99 | let D = q((("contest_" + toString(t)) + "_status")) | |
100 | 100 | let E = (t + 1) | |
101 | 101 | let F = (((wavesBalance(this) / 25) / 5000000) * 100000) | |
102 | 102 | if ((C != d)) | |
103 | 103 | then throw(((("Only dAPP Owner can Configure Contest. Caller account: " + C) + " dapp owner: ") + d)) | |
104 | 104 | else if ((D == a)) | |
105 | 105 | then throw(("You cannot configure a new Contest while old Contest status is: " + D)) | |
106 | 106 | else { | |
107 | 107 | let G = (height + (6 * 1440)) | |
108 | 108 | 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)]) | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||
114 | 114 | @Callable(z) | |
115 | 115 | func bet (H) = { | |
116 | 116 | let C = toBase58String(z.caller.bytes) | |
117 | 117 | let I = extract(z.payment) | |
118 | 118 | let t = l("contest_currentnumber") | |
119 | 119 | let J = l((("contest_" + toString(t)) + "_startheight")) | |
120 | 120 | let G = l((("contest_" + toString(t)) + "_finishheight")) | |
121 | 121 | let D = q((("contest_" + toString(t)) + "_status")) | |
122 | 122 | let K = l((("contest_" + toString(t)) + "_betcost")) | |
123 | 123 | let B = q((("contest_" + toString(t)) + "_status")) | |
124 | 124 | let L = q(((("bet_" + toString(t)) + "_") + toString(H))) | |
125 | 125 | if ((height > (G - (2 * 1440)))) | |
126 | 126 | then throw("You cannot bet anymore at this height.") | |
127 | 127 | else if ((D != a)) | |
128 | 128 | then throw(("Invalid status: you cannot bet now, contest status is: " + D)) | |
129 | 129 | else if (if ((I.assetId != k)) | |
130 | 130 | then true | |
131 | 131 | else (I.amount != K)) | |
132 | 132 | then throw(((("You must pay at least: " + toString(K)) + " WLT to bet. You paid: ") + toString(I.amount))) | |
133 | 133 | else if (if ((L != i)) | |
134 | 134 | then (L != C) | |
135 | 135 | else false) | |
136 | - | then throw | |
136 | + | then throw((("Another user: " + L) + " did bet already on this rate.")) | |
137 | 137 | else WriteSet([DataEntry(((("bet_" + toString(t)) + "_") + toString(H)), C)]) | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(z) | |
143 | 143 | func closecontest () = { | |
144 | 144 | let M = w() | |
145 | 145 | let t = l("contest_currentnumber") | |
146 | 146 | let N = q(((("bet_" + toString(t)) + "_") + toString(M))) | |
147 | 147 | let G = l((("contest_" + toString(t)) + "_finishheight")) | |
148 | 148 | let C = toBase58String(z.caller.bytes) | |
149 | 149 | let O = wavesBalance(this) | |
150 | 150 | let D = q((("contest_" + toString(t)) + "_status")) | |
151 | 151 | let P = WriteSet([DataEntry((("contest_" + toString(t)) + "_status"), b), DataEntry((("contest_" + toString(t)) + "_winner"), N), DataEntry((("contest_" + toString(t)) + "_currencyrate"), M), DataEntry((("contest_" + toString(t)) + "_height"), height)]) | |
152 | 152 | if (if ((G > height)) | |
153 | 153 | then (C != d) | |
154 | 154 | else false) | |
155 | 155 | then throw(((("account: " + C) + ": Cannot close the contest before height:") + toString(G))) | |
156 | 156 | else if ((D != a)) | |
157 | 157 | then throw(("Cannot close a contest in status: " + D)) | |
158 | 158 | else if ((N != i)) | |
159 | 159 | then { | |
160 | 160 | let Q = ((assetBalance(this, k) * 5) / 100) | |
161 | 161 | let R = ((assetBalance(this, k) * 90) / 100) | |
162 | 162 | let S = TransferSet([ScriptTransfer(extract(addressFromString(N)), (((wavesBalance(this) * 99) / 100) - j), unit), ScriptTransfer(extract(addressFromString(e)), Q, k), ScriptTransfer(extract(addressFromString(g)), Q, k), ScriptTransfer(extract(addressFromString(f)), R, k)]) | |
163 | 163 | ScriptResult(WriteSet([DataEntry((("contest_" + toString(t)) + "_status"), b), DataEntry((("contest_" + toString(t)) + "_winner"), N), DataEntry((("contest_" + toString(t)) + "_currencyrate"), M), DataEntry((("contest_" + toString(t)) + "_height"), height)]), S) | |
164 | 164 | } | |
165 | 165 | else WriteSet([DataEntry((("contest_" + toString(t)) + "_status"), b), DataEntry((("contest_" + toString(t)) + "_winner"), N), DataEntry((("contest_" + toString(t)) + "_currencyrate"), M), DataEntry((("contest_" + toString(t)) + "_height"), height)]) | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | @Verifier(T) | |
170 | 170 | func U () = { | |
171 | 171 | let o = T | |
172 | 172 | if (if ($isInstanceOf(o, "SetScriptTransaction")) | |
173 | 173 | then true | |
174 | 174 | else $isInstanceOf(o, "DataTransaction")) | |
175 | 175 | then sigVerify(T.bodyBytes, T.proofs[0], T.senderPublicKey) | |
176 | 176 | else if ($isInstanceOf(o, "InvokeScriptTransaction")) | |
177 | 177 | then true | |
178 | 178 | else true | |
179 | 179 | } | |
180 | 180 |
github/deemru/w8io/026f985 38.66 ms ◑