tx · 9ic82onnnMhmSgKwTaqhT4RuFYfhkuFJN94zZ9zEdT1b 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH: -0.05000000 Waves 2019.11.26 08:49 [781829] smart account 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH > SELF 0.00000000 Waves
{ "type": 13, "id": "9ic82onnnMhmSgKwTaqhT4RuFYfhkuFJN94zZ9zEdT1b", "fee": 5000000, "feeAssetId": null, "timestamp": 1574747339614, "version": 1, "sender": "3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH", "senderPublicKey": "9Pw6KBYMgEWmrg24tEc8SkHPhMUBwRmHaJoKjWgDkUAK", "proofs": [ "2xayLobqsYKu9ZroeRrMZi1GDA4JBe3N5Gjw3ErxapJYKroQQDP8FjGVdPEkHFgzAucR55kfTn4aPwSYcrRv32GY" ], "script": "base64:AAIDAAAAAAAAACcIARIDCgEIEgYKBAgICAESBAoCCAgSCQoHAQgBCAgBCBIFCgMICAgAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAZvcmFjbGUJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUAAAAABWFza0lEAgAAAAVXQVZFUwAAAAAFYmlkSUQCAAAABVVTRC1OAAAAAAZtaW5QaXAAAAAAAAAPQkABAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgA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AAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAACl9wcmljZU9wZW4AAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAAC19wcmljZUNsb3NlAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAdfcHJvZml0AAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAApfcHJvZml0RmVlAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAdfc3RhdHVzAgAAAAdjcmVhdGVkBQAAAANuaWwAAAAAJMUrsA==", "chainId": 84, "height": 781829, "spentComplexity": 0 } View: original | compacted Prev: BWTRRk1PnVGwLaMXvFNjZv9NUA4nM3ovM8FRUFKbWnBv Next: none Diff:
Old | New | Differences | |
---|---|---|---|
209 | 209 | @Callable(u) | |
210 | 210 | func defineScalping (N,n) = { | |
211 | 211 | let w = toBase58String(u.caller.bytes) | |
212 | - | let | |
212 | + | let Q = extract(u.payment) | |
213 | 213 | let R = m(n) | |
214 | - | let | |
215 | - | then toBase58String(extract( | |
214 | + | let ai = if (isDefined(Q.assetId)) | |
215 | + | then toBase58String(extract(Q.assetId)) | |
216 | 216 | else toBase58String(base58'WAVES') | |
217 | - | let ak = ai.amount | |
218 | - | if (isDefined(aj)) | |
219 | - | then throw(("O asset é: " + aj)) | |
220 | - | else WriteSet([DataEntry((R + "_assetId"), aj)]) | |
217 | + | let aj = Q.amount | |
218 | + | let ak = getIntegerValue(b, "waves_usd_2") | |
219 | + | if ((100000 > aj)) | |
220 | + | then throw("O montante está abaixo do exigido") | |
221 | + | else WriteSet([DataEntry((R + "_fundraised"), aj), DataEntry((R + "_upOutGTD"), 0), DataEntry((R + "_downOutGTD"), 0), DataEntry((R + "_gridAsk"), "undefined asks"), DataEntry((R + "_gridBid"), "undefined bids")]) | |
221 | 222 | } | |
222 | 223 | ||
223 | 224 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "none" | |
5 | 5 | ||
6 | 6 | let b = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu") | |
7 | 7 | ||
8 | 8 | let c = "WAVES" | |
9 | 9 | ||
10 | 10 | let d = "USD-N" | |
11 | 11 | ||
12 | 12 | let e = 1000000 | |
13 | 13 | ||
14 | 14 | func f (g) = { | |
15 | 15 | let h = { | |
16 | 16 | let i = getInteger(this, g) | |
17 | 17 | if ($isInstanceOf(i, "Int")) | |
18 | 18 | then { | |
19 | 19 | let j = i | |
20 | 20 | j | |
21 | 21 | } | |
22 | 22 | else 0 | |
23 | 23 | } | |
24 | 24 | h | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func k (g) = { | |
29 | 29 | let l = { | |
30 | 30 | let i = getString(this, g) | |
31 | 31 | if ($isInstanceOf(i, "String")) | |
32 | 32 | then { | |
33 | 33 | let j = i | |
34 | 34 | j | |
35 | 35 | } | |
36 | 36 | else a | |
37 | 37 | } | |
38 | 38 | l | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func m (n) = toBase58String(sha256(toBytes((n + toString(this))))) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func o (j,p) = if ((j == "")) | |
46 | 46 | then toString(p) | |
47 | 47 | else ((j + "|") + toString(p)) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func q (j,p) = p :: j | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func r (j,p) = { | |
54 | 54 | let s = parseIntValue(p) | |
55 | 55 | (j[0] + 2) :: j | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func t (j,p) = p :: j | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | @Callable(u) | |
63 | 63 | func sendGridAsk (v) = { | |
64 | 64 | let w = toBase58String(u.caller.bytes) | |
65 | 65 | let x = split(v, "|") | |
66 | 66 | let y = { | |
67 | 67 | let z = x | |
68 | 68 | let A = size(z) | |
69 | 69 | let B = [69] | |
70 | 70 | if ((A == 0)) | |
71 | 71 | then B | |
72 | 72 | else { | |
73 | 73 | let C = r(B, z[0]) | |
74 | 74 | if ((A == 1)) | |
75 | 75 | then C | |
76 | 76 | else { | |
77 | 77 | let D = r(C, z[1]) | |
78 | 78 | if ((A == 2)) | |
79 | 79 | then D | |
80 | 80 | else { | |
81 | 81 | let E = r(D, z[2]) | |
82 | 82 | if ((A == 3)) | |
83 | 83 | then E | |
84 | 84 | else { | |
85 | 85 | let F = r(E, z[3]) | |
86 | 86 | if ((A == 4)) | |
87 | 87 | then F | |
88 | 88 | else { | |
89 | 89 | let G = r(F, z[4]) | |
90 | 90 | if ((A == 5)) | |
91 | 91 | then G | |
92 | 92 | else { | |
93 | 93 | let H = r(G, z[5]) | |
94 | 94 | if ((A == 6)) | |
95 | 95 | then H | |
96 | 96 | else { | |
97 | 97 | let I = r(H, z[6]) | |
98 | 98 | if ((A == 7)) | |
99 | 99 | then I | |
100 | 100 | else { | |
101 | 101 | let J = r(I, z[7]) | |
102 | 102 | if ((A == 8)) | |
103 | 103 | then J | |
104 | 104 | else { | |
105 | 105 | let K = r(J, z[8]) | |
106 | 106 | if ((A == 9)) | |
107 | 107 | then K | |
108 | 108 | else { | |
109 | 109 | let L = r(K, z[9]) | |
110 | 110 | if ((A == 10)) | |
111 | 111 | then L | |
112 | 112 | else { | |
113 | 113 | let M = r(L, z[10]) | |
114 | 114 | throw("List size exceed 10") | |
115 | 115 | } | |
116 | 116 | } | |
117 | 117 | } | |
118 | 118 | } | |
119 | 119 | } | |
120 | 120 | } | |
121 | 121 | } | |
122 | 122 | } | |
123 | 123 | } | |
124 | 124 | } | |
125 | 125 | } | |
126 | 126 | } | |
127 | 127 | WriteSet(nil) | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | ||
132 | 132 | @Callable(u) | |
133 | 133 | func startScalp (N,v,O,P) = { | |
134 | 134 | let w = toBase58String(u.caller.bytes) | |
135 | 135 | let Q = extract(u.payment) | |
136 | 136 | let R = m(w) | |
137 | 137 | let S = getIntegerValue(b, "waves_usd_2") | |
138 | 138 | if ((100000000 >= Q.amount)) | |
139 | 139 | then throw(("Amount under of required: " + toString(Q.amount))) | |
140 | 140 | else { | |
141 | 141 | let T = [5, 4, 3, 2, 1] | |
142 | 142 | let y = { | |
143 | 143 | let U = T | |
144 | 144 | let V = size(U) | |
145 | 145 | let W = nil | |
146 | 146 | if ((V == 0)) | |
147 | 147 | then W | |
148 | 148 | else { | |
149 | 149 | let X = q(W, U[0]) | |
150 | 150 | if ((V == 1)) | |
151 | 151 | then X | |
152 | 152 | else { | |
153 | 153 | let Y = q(X, U[1]) | |
154 | 154 | if ((V == 2)) | |
155 | 155 | then Y | |
156 | 156 | else { | |
157 | 157 | let Z = q(Y, U[2]) | |
158 | 158 | if ((V == 3)) | |
159 | 159 | then Z | |
160 | 160 | else { | |
161 | 161 | let aa = q(Z, U[3]) | |
162 | 162 | if ((V == 4)) | |
163 | 163 | then aa | |
164 | 164 | else { | |
165 | 165 | let ab = q(aa, U[4]) | |
166 | 166 | if ((V == 5)) | |
167 | 167 | then ab | |
168 | 168 | else { | |
169 | 169 | let ac = q(ab, U[5]) | |
170 | 170 | if ((V == 6)) | |
171 | 171 | then ac | |
172 | 172 | else { | |
173 | 173 | let ad = q(ac, U[6]) | |
174 | 174 | if ((V == 7)) | |
175 | 175 | then ad | |
176 | 176 | else { | |
177 | 177 | let ae = q(ad, U[7]) | |
178 | 178 | if ((V == 8)) | |
179 | 179 | then ae | |
180 | 180 | else { | |
181 | 181 | let af = q(ae, U[8]) | |
182 | 182 | if ((V == 9)) | |
183 | 183 | then af | |
184 | 184 | else { | |
185 | 185 | let ag = q(af, U[9]) | |
186 | 186 | if ((V == 10)) | |
187 | 187 | then ag | |
188 | 188 | else { | |
189 | 189 | let ah = q(ag, U[10]) | |
190 | 190 | throw("List size exceed 10") | |
191 | 191 | } | |
192 | 192 | } | |
193 | 193 | } | |
194 | 194 | } | |
195 | 195 | } | |
196 | 196 | } | |
197 | 197 | } | |
198 | 198 | } | |
199 | 199 | } | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | } | |
203 | 203 | WriteSet(nil) | |
204 | 204 | } | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | ||
209 | 209 | @Callable(u) | |
210 | 210 | func defineScalping (N,n) = { | |
211 | 211 | let w = toBase58String(u.caller.bytes) | |
212 | - | let | |
212 | + | let Q = extract(u.payment) | |
213 | 213 | let R = m(n) | |
214 | - | let | |
215 | - | then toBase58String(extract( | |
214 | + | let ai = if (isDefined(Q.assetId)) | |
215 | + | then toBase58String(extract(Q.assetId)) | |
216 | 216 | else toBase58String(base58'WAVES') | |
217 | - | let ak = ai.amount | |
218 | - | if (isDefined(aj)) | |
219 | - | then throw(("O asset é: " + aj)) | |
220 | - | else WriteSet([DataEntry((R + "_assetId"), aj)]) | |
217 | + | let aj = Q.amount | |
218 | + | let ak = getIntegerValue(b, "waves_usd_2") | |
219 | + | if ((100000 > aj)) | |
220 | + | then throw("O montante está abaixo do exigido") | |
221 | + | else WriteSet([DataEntry((R + "_fundraised"), aj), DataEntry((R + "_upOutGTD"), 0), DataEntry((R + "_downOutGTD"), 0), DataEntry((R + "_gridAsk"), "undefined asks"), DataEntry((R + "_gridBid"), "undefined bids")]) | |
221 | 222 | } | |
222 | 223 | ||
223 | 224 | ||
224 | 225 | ||
225 | 226 | @Callable(u) | |
226 | 227 | func defineScalper (al,am,an,n,ao,ap,N) = { | |
227 | 228 | let w = toBase58String(u.caller.bytes) | |
228 | 229 | let R = m(n) | |
229 | 230 | WriteSet([DataEntry((R + "_grid"), al), DataEntry((R + "_steps"), ap), DataEntry((R + "_lifetime"), an), DataEntry((R + "_ordering"), ao), DataEntry((R + "_reOrderOut"), am), DataEntry((R + "_status"), "defined")]) | |
230 | 231 | } | |
231 | 232 | ||
232 | 233 | ||
233 | 234 | ||
234 | 235 | @Callable(u) | |
235 | 236 | func createScalper (N,aq,n) = { | |
236 | 237 | let w = toBase58String(u.caller.bytes) | |
237 | 238 | let R = m(n) | |
238 | 239 | WriteSet([DataEntry((R + "_scalperID"), n), DataEntry((R + "_title"), N), DataEntry((R + "_type"), aq), DataEntry((R + "_grid"), 0), DataEntry((R + "_steps"), 0), DataEntry((R + "_lifetime"), 0), DataEntry((R + "_ordering"), "middle"), DataEntry((R + "_reOrderOut"), "middle"), DataEntry((R + "_fundraised"), 0), DataEntry((R + "_upOutGTD"), 0), DataEntry((R + "_downOutGTD"), 0), DataEntry((R + "_gridAsk"), "undefined asks"), DataEntry((R + "_gridBid"), "undefined bids"), DataEntry((R + "_blockStart"), 0), DataEntry((R + "_blockStop"), 0), DataEntry((R + "_priceOpen"), 0), DataEntry((R + "_priceClose"), 0), DataEntry((R + "_profit"), 0), DataEntry((R + "_profitFee"), 0), DataEntry((R + "_status"), "created")]) | |
239 | 240 | } | |
240 | 241 | ||
241 | 242 |
github/deemru/w8io/026f985 36.27 ms ◑