tx · 3srKxLicvu7kPos7jPSkF661qsFUGfStdyfBvXFJdEkU 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH: -0.05000000 Waves 2019.11.26 07:53 [781772] smart account 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH > SELF 0.00000000 Waves
{ "type": 13, "id": "3srKxLicvu7kPos7jPSkF661qsFUGfStdyfBvXFJdEkU", "fee": 5000000, "feeAssetId": null, "timestamp": 1574743935502, "version": 1, "sender": "3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH", "senderPublicKey": "9Pw6KBYMgEWmrg24tEc8SkHPhMUBwRmHaJoKjWgDkUAK", "proofs": [ "4QsWEYQDMJx5zQMPKuByRJ1JcKFgKMwopt8rzuz7HPB1gVsJySCyEnEBiEkme4tAUDbXSEsXFvcgkeVdVABJJdyM" ], "script": "base64:AAIDAAAAAAAAACcIARIDCgEIEgYKBAgICAESBAoCCAgSCQoHAQgBCAgBCBIFCgMICAgAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAZvcmFjbGUJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUAAAAABWFza0lEAgAAAAVXQVZFUwAAAAAFYmlkSUQCAAAABVVTRC1OAAAAAAZtaW5QaXAAAAAAAAAPQkABAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTd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AAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAKX3Byb2ZpdEZlZQAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAHX3N0YXR1cwIAAAAHY3JlYXRlZAUAAAADbmlsAAAAANIUC54=", "chainId": 84, "height": 781772, "spentComplexity": 0 } View: original | compacted Prev: Hr5LnUybnNd936oVwTSTKUgsCzkKoEeyHDzydiFsXiix Next: BNeaNzbcQsdCbE2pUH3KGjrkhrSo1TtDJSefbaiBxcqL Diff:
Old | New | Differences | |
---|---|---|---|
214 | 214 | case _ => | |
215 | 215 | throw("This token is not accepted at the moment") | |
216 | 216 | } | |
217 | - | WriteSet([DataEntry((keyID + "_assetId"), | |
217 | + | WriteSet([DataEntry((keyID + "_assetId"), acceptedToken)]) | |
218 | 218 | } | |
219 | 219 | ||
220 | 220 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let NONE = "none" | |
5 | 5 | ||
6 | 6 | let oracle = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu") | |
7 | 7 | ||
8 | 8 | let askID = "WAVES" | |
9 | 9 | ||
10 | 10 | let bidID = "USD-N" | |
11 | 11 | ||
12 | 12 | let minPip = 1000000 | |
13 | 13 | ||
14 | 14 | func getNumberByKey (key) = { | |
15 | 15 | let num = match getInteger(this, key) { | |
16 | 16 | case a: Int => | |
17 | 17 | a | |
18 | 18 | case _ => | |
19 | 19 | 0 | |
20 | 20 | } | |
21 | 21 | num | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func getStrByKey (key) = { | |
26 | 26 | let str = match getString(this, key) { | |
27 | 27 | case a: String => | |
28 | 28 | a | |
29 | 29 | case _ => | |
30 | 30 | NONE | |
31 | 31 | } | |
32 | 32 | str | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func genKeyID (addr) = toBase58String(sha256(toBytes((addr + toString(this))))) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func genGrid (a,b) = if ((a == "")) | |
40 | 40 | then toString(b) | |
41 | 41 | else ((a + "|") + toString(b)) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func genList (a,b) = b :: a | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func genListInt (a,b) = { | |
48 | 48 | let parseB = parseIntValue(b) | |
49 | 49 | (a[0] + 2) :: a | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func revListInt (a,b) = b :: a | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | @Callable(i) | |
57 | 57 | func sendGridAsk (gridA) = { | |
58 | 58 | let sender = toBase58String(i.caller.bytes) | |
59 | 59 | let gridAsk = split(gridA, "|") | |
60 | 60 | let ver = { | |
61 | 61 | let $list10671100 = gridAsk | |
62 | 62 | let $size10671100 = size($list10671100) | |
63 | 63 | let $acc010671100 = [69] | |
64 | 64 | if (($size10671100 == 0)) | |
65 | 65 | then $acc010671100 | |
66 | 66 | else { | |
67 | 67 | let $acc110671100 = genListInt($acc010671100, $list10671100[0]) | |
68 | 68 | if (($size10671100 == 1)) | |
69 | 69 | then $acc110671100 | |
70 | 70 | else { | |
71 | 71 | let $acc210671100 = genListInt($acc110671100, $list10671100[1]) | |
72 | 72 | if (($size10671100 == 2)) | |
73 | 73 | then $acc210671100 | |
74 | 74 | else { | |
75 | 75 | let $acc310671100 = genListInt($acc210671100, $list10671100[2]) | |
76 | 76 | if (($size10671100 == 3)) | |
77 | 77 | then $acc310671100 | |
78 | 78 | else { | |
79 | 79 | let $acc410671100 = genListInt($acc310671100, $list10671100[3]) | |
80 | 80 | if (($size10671100 == 4)) | |
81 | 81 | then $acc410671100 | |
82 | 82 | else { | |
83 | 83 | let $acc510671100 = genListInt($acc410671100, $list10671100[4]) | |
84 | 84 | if (($size10671100 == 5)) | |
85 | 85 | then $acc510671100 | |
86 | 86 | else { | |
87 | 87 | let $acc610671100 = genListInt($acc510671100, $list10671100[5]) | |
88 | 88 | if (($size10671100 == 6)) | |
89 | 89 | then $acc610671100 | |
90 | 90 | else { | |
91 | 91 | let $acc710671100 = genListInt($acc610671100, $list10671100[6]) | |
92 | 92 | if (($size10671100 == 7)) | |
93 | 93 | then $acc710671100 | |
94 | 94 | else { | |
95 | 95 | let $acc810671100 = genListInt($acc710671100, $list10671100[7]) | |
96 | 96 | if (($size10671100 == 8)) | |
97 | 97 | then $acc810671100 | |
98 | 98 | else { | |
99 | 99 | let $acc910671100 = genListInt($acc810671100, $list10671100[8]) | |
100 | 100 | if (($size10671100 == 9)) | |
101 | 101 | then $acc910671100 | |
102 | 102 | else { | |
103 | 103 | let $acc1010671100 = genListInt($acc910671100, $list10671100[9]) | |
104 | 104 | if (($size10671100 == 10)) | |
105 | 105 | then $acc1010671100 | |
106 | 106 | else { | |
107 | 107 | let $acc1110671100 = genListInt($acc1010671100, $list10671100[10]) | |
108 | 108 | throw("List size exceed 10") | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | } | |
112 | 112 | } | |
113 | 113 | } | |
114 | 114 | } | |
115 | 115 | } | |
116 | 116 | } | |
117 | 117 | } | |
118 | 118 | } | |
119 | 119 | } | |
120 | 120 | } | |
121 | 121 | WriteSet(nil) | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | ||
126 | 126 | @Callable(i) | |
127 | 127 | func startScalp (title,gridA,gridB,step) = { | |
128 | 128 | let sender = toBase58String(i.caller.bytes) | |
129 | 129 | let deposited = extract(i.payment) | |
130 | 130 | let keyID = genKeyID(sender) | |
131 | 131 | let usdV = getIntegerValue(oracle, "waves_usd_2") | |
132 | 132 | if ((100000000 >= deposited.amount)) | |
133 | 133 | then throw(("Amount under of required: " + toString(deposited.amount))) | |
134 | 134 | else { | |
135 | 135 | let arr = [5, 4, 3, 2, 1] | |
136 | 136 | let ver = { | |
137 | 137 | let $list18141838 = arr | |
138 | 138 | let $size18141838 = size($list18141838) | |
139 | 139 | let $acc018141838 = nil | |
140 | 140 | if (($size18141838 == 0)) | |
141 | 141 | then $acc018141838 | |
142 | 142 | else { | |
143 | 143 | let $acc118141838 = genList($acc018141838, $list18141838[0]) | |
144 | 144 | if (($size18141838 == 1)) | |
145 | 145 | then $acc118141838 | |
146 | 146 | else { | |
147 | 147 | let $acc218141838 = genList($acc118141838, $list18141838[1]) | |
148 | 148 | if (($size18141838 == 2)) | |
149 | 149 | then $acc218141838 | |
150 | 150 | else { | |
151 | 151 | let $acc318141838 = genList($acc218141838, $list18141838[2]) | |
152 | 152 | if (($size18141838 == 3)) | |
153 | 153 | then $acc318141838 | |
154 | 154 | else { | |
155 | 155 | let $acc418141838 = genList($acc318141838, $list18141838[3]) | |
156 | 156 | if (($size18141838 == 4)) | |
157 | 157 | then $acc418141838 | |
158 | 158 | else { | |
159 | 159 | let $acc518141838 = genList($acc418141838, $list18141838[4]) | |
160 | 160 | if (($size18141838 == 5)) | |
161 | 161 | then $acc518141838 | |
162 | 162 | else { | |
163 | 163 | let $acc618141838 = genList($acc518141838, $list18141838[5]) | |
164 | 164 | if (($size18141838 == 6)) | |
165 | 165 | then $acc618141838 | |
166 | 166 | else { | |
167 | 167 | let $acc718141838 = genList($acc618141838, $list18141838[6]) | |
168 | 168 | if (($size18141838 == 7)) | |
169 | 169 | then $acc718141838 | |
170 | 170 | else { | |
171 | 171 | let $acc818141838 = genList($acc718141838, $list18141838[7]) | |
172 | 172 | if (($size18141838 == 8)) | |
173 | 173 | then $acc818141838 | |
174 | 174 | else { | |
175 | 175 | let $acc918141838 = genList($acc818141838, $list18141838[8]) | |
176 | 176 | if (($size18141838 == 9)) | |
177 | 177 | then $acc918141838 | |
178 | 178 | else { | |
179 | 179 | let $acc1018141838 = genList($acc918141838, $list18141838[9]) | |
180 | 180 | if (($size18141838 == 10)) | |
181 | 181 | then $acc1018141838 | |
182 | 182 | else { | |
183 | 183 | let $acc1118141838 = genList($acc1018141838, $list18141838[10]) | |
184 | 184 | throw("List size exceed 10") | |
185 | 185 | } | |
186 | 186 | } | |
187 | 187 | } | |
188 | 188 | } | |
189 | 189 | } | |
190 | 190 | } | |
191 | 191 | } | |
192 | 192 | } | |
193 | 193 | } | |
194 | 194 | } | |
195 | 195 | } | |
196 | 196 | } | |
197 | 197 | WriteSet(nil) | |
198 | 198 | } | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(i) | |
204 | 204 | func defineScalping (title,addr) = { | |
205 | 205 | let sender = toBase58String(i.caller.bytes) | |
206 | 206 | let payment = extract(i.payment) | |
207 | 207 | let keyID = genKeyID(addr) | |
208 | 208 | let paymentAssetId = if (isDefined(payment.assetId)) | |
209 | 209 | then extract(payment.assetId) | |
210 | 210 | else throw("Waves is not accepted as payment") | |
211 | 211 | let acceptedToken = match getString(this, ("white_list_token_" + toBase58String(extract(paymentAssetId)))) { | |
212 | 212 | case a: String => | |
213 | 213 | throw(toBase58String(extract(paymentAssetId))) | |
214 | 214 | case _ => | |
215 | 215 | throw("This token is not accepted at the moment") | |
216 | 216 | } | |
217 | - | WriteSet([DataEntry((keyID + "_assetId"), | |
217 | + | WriteSet([DataEntry((keyID + "_assetId"), acceptedToken)]) | |
218 | 218 | } | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | ||
222 | 222 | @Callable(i) | |
223 | 223 | func defineScalper (grid,reOrderOut,lifetime,addr,ordering,steps,title) = { | |
224 | 224 | let sender = toBase58String(i.caller.bytes) | |
225 | 225 | let keyID = genKeyID(addr) | |
226 | 226 | WriteSet([DataEntry((keyID + "_grid"), grid), DataEntry((keyID + "_steps"), steps), DataEntry((keyID + "_lifetime"), lifetime), DataEntry((keyID + "_ordering"), ordering), DataEntry((keyID + "_reOrderOut"), reOrderOut), DataEntry((keyID + "_status"), "defined")]) | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | ||
231 | 231 | @Callable(i) | |
232 | 232 | func createScalper (title,type,addr) = { | |
233 | 233 | let sender = toBase58String(i.caller.bytes) | |
234 | 234 | let keyID = genKeyID(addr) | |
235 | 235 | WriteSet([DataEntry((keyID + "_scalperID"), addr), DataEntry((keyID + "_title"), title), DataEntry((keyID + "_type"), type), DataEntry((keyID + "_grid"), 0), DataEntry((keyID + "_steps"), 0), DataEntry((keyID + "_lifetime"), 0), DataEntry((keyID + "_ordering"), "middle"), DataEntry((keyID + "_reOrderOut"), "middle"), DataEntry((keyID + "_fundraised"), 0), DataEntry((keyID + "_upOutGTD"), 0), DataEntry((keyID + "_downOutGTD"), 0), DataEntry((keyID + "_gridAsk"), "undefined asks"), DataEntry((keyID + "_gridBid"), "undefined bids"), DataEntry((keyID + "_blockStart"), 0), DataEntry((keyID + "_blockStop"), 0), DataEntry((keyID + "_priceOpen"), 0), DataEntry((keyID + "_priceClose"), 0), DataEntry((keyID + "_profit"), 0), DataEntry((keyID + "_profitFee"), 0), DataEntry((keyID + "_status"), "created")]) | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 |
github/deemru/w8io/026f985 32.23 ms ◑