tx · 7M8f9ZPkScjYvukvRYAyvxGB6tU3SHTM97jx5vkgRc5N

3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH:  -0.05000000 Waves

2019.11.26 07:43 [781764] smart account 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH > SELF 0.00000000 Waves

{ "type": 13, "id": "7M8f9ZPkScjYvukvRYAyvxGB6tU3SHTM97jx5vkgRc5N", "fee": 5000000, "feeAssetId": null, "timestamp": 1574743454873, "version": 1, "sender": "3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH", "senderPublicKey": "9Pw6KBYMgEWmrg24tEc8SkHPhMUBwRmHaJoKjWgDkUAK", "proofs": [ "mA6pU7JoKPPoeUNLFARALXU3RtKhM6GkwuKyb31TfBiBB9TgYNVRSCbMF8Q9UivTgjbxJ1f42tg276684J7MvrY" ], "script": "base64:AAIDAAAAAAAAACcIARIDCgEIEgYKBAgICAESBAoCCAgSCQoHAQgBCAgBCBIFCgMICAgAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAZvcmFjbGUJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUAAAAABWFza0lEAgAAAAVXQVZFUwAAAAAFYmlkSUQCAAAABVVTRC1OAAAAAAZtaW5QaXAAAAAAAAAPQkABAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAA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AIAAAALX2Rvd25PdXRHVEQAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAACF9ncmlkQXNrAgAAAA51bmRlZmluZWQgYXNrcwkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAIX2dyaWRCaWQCAAAADnVuZGVmaW5lZCBiaWRzCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAtfYmxvY2tTdGFydAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAKX2Jsb2NrU3RvcAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAKX3ByaWNlT3BlbgAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAALX3ByaWNlQ2xvc2UAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAAB19wcm9maXQAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAACl9wcm9maXRGZWUAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAAB19zdGF0dXMCAAAAB2NyZWF0ZWQFAAAAA25pbAAAAAB0/Afu", "chainId": 84, "height": 781764, "spentComplexity": 0 } View: original | compacted Prev: CUVZwaS1FPxQDSAi3PDQgNpW7Any3yeiNVSLKQDj7RzA Next: 4gHGZBTp2pmtha46QnqAEPVrTzd8enaAZ6RLNLuxpxnq Diff:
OldNewDifferences
211211 let w = toBase58String(u.caller.bytes)
212212 let Q = extract(u.payment)
213213 let R = m(n)
214- let ai = if (!(isDefined(Q.assetId)))
215- then throw(("Não é waves: " + toBase58String(extract(Q.assetId))))
216- else throw("É waves: ")
217- WriteSet([DataEntry((R + "_assetId"), toBase58String(extract(Q.assetId)))])
214+ let ai = if (isDefined(Q.assetId))
215+ then toBase58String(extract(Q.assetId))
216+ else "WAVES"
217+ WriteSet([DataEntry((R + "_assetId"), ai)])
218218 }
219219
220220
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
66 let b = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu")
77
88 let c = "WAVES"
99
1010 let d = "USD-N"
1111
1212 let e = 1000000
1313
1414 func f (g) = {
1515 let h = {
1616 let i = getInteger(this, g)
1717 if ($isInstanceOf(i, "Int"))
1818 then {
1919 let j = i
2020 j
2121 }
2222 else 0
2323 }
2424 h
2525 }
2626
2727
2828 func k (g) = {
2929 let l = {
3030 let i = getString(this, g)
3131 if ($isInstanceOf(i, "String"))
3232 then {
3333 let j = i
3434 j
3535 }
3636 else a
3737 }
3838 l
3939 }
4040
4141
4242 func m (n) = toBase58String(sha256(toBytes((n + toString(this)))))
4343
4444
4545 func o (j,p) = if ((j == ""))
4646 then toString(p)
4747 else ((j + "|") + toString(p))
4848
4949
5050 func q (j,p) = p :: j
5151
5252
5353 func r (j,p) = {
5454 let s = parseIntValue(p)
5555 (j[0] + 2) :: j
5656 }
5757
5858
5959 func t (j,p) = p :: j
6060
6161
6262 @Callable(u)
6363 func sendGridAsk (v) = {
6464 let w = toBase58String(u.caller.bytes)
6565 let x = split(v, "|")
6666 let y = {
6767 let z = x
6868 let A = size(z)
6969 let B = [69]
7070 if ((A == 0))
7171 then B
7272 else {
7373 let C = r(B, z[0])
7474 if ((A == 1))
7575 then C
7676 else {
7777 let D = r(C, z[1])
7878 if ((A == 2))
7979 then D
8080 else {
8181 let E = r(D, z[2])
8282 if ((A == 3))
8383 then E
8484 else {
8585 let F = r(E, z[3])
8686 if ((A == 4))
8787 then F
8888 else {
8989 let G = r(F, z[4])
9090 if ((A == 5))
9191 then G
9292 else {
9393 let H = r(G, z[5])
9494 if ((A == 6))
9595 then H
9696 else {
9797 let I = r(H, z[6])
9898 if ((A == 7))
9999 then I
100100 else {
101101 let J = r(I, z[7])
102102 if ((A == 8))
103103 then J
104104 else {
105105 let K = r(J, z[8])
106106 if ((A == 9))
107107 then K
108108 else {
109109 let L = r(K, z[9])
110110 if ((A == 10))
111111 then L
112112 else {
113113 let M = r(L, z[10])
114114 throw("List size exceed 10")
115115 }
116116 }
117117 }
118118 }
119119 }
120120 }
121121 }
122122 }
123123 }
124124 }
125125 }
126126 }
127127 WriteSet(nil)
128128 }
129129
130130
131131
132132 @Callable(u)
133133 func startScalp (N,v,O,P) = {
134134 let w = toBase58String(u.caller.bytes)
135135 let Q = extract(u.payment)
136136 let R = m(w)
137137 let S = getIntegerValue(b, "waves_usd_2")
138138 if ((100000000 >= Q.amount))
139139 then throw(("Amount under of required: " + toString(Q.amount)))
140140 else {
141141 let T = [5, 4, 3, 2, 1]
142142 let y = {
143143 let U = T
144144 let V = size(U)
145145 let W = nil
146146 if ((V == 0))
147147 then W
148148 else {
149149 let X = q(W, U[0])
150150 if ((V == 1))
151151 then X
152152 else {
153153 let Y = q(X, U[1])
154154 if ((V == 2))
155155 then Y
156156 else {
157157 let Z = q(Y, U[2])
158158 if ((V == 3))
159159 then Z
160160 else {
161161 let aa = q(Z, U[3])
162162 if ((V == 4))
163163 then aa
164164 else {
165165 let ab = q(aa, U[4])
166166 if ((V == 5))
167167 then ab
168168 else {
169169 let ac = q(ab, U[5])
170170 if ((V == 6))
171171 then ac
172172 else {
173173 let ad = q(ac, U[6])
174174 if ((V == 7))
175175 then ad
176176 else {
177177 let ae = q(ad, U[7])
178178 if ((V == 8))
179179 then ae
180180 else {
181181 let af = q(ae, U[8])
182182 if ((V == 9))
183183 then af
184184 else {
185185 let ag = q(af, U[9])
186186 if ((V == 10))
187187 then ag
188188 else {
189189 let ah = q(ag, U[10])
190190 throw("List size exceed 10")
191191 }
192192 }
193193 }
194194 }
195195 }
196196 }
197197 }
198198 }
199199 }
200200 }
201201 }
202202 }
203203 WriteSet(nil)
204204 }
205205 }
206206
207207
208208
209209 @Callable(u)
210210 func defineScalping (N,n) = {
211211 let w = toBase58String(u.caller.bytes)
212212 let Q = extract(u.payment)
213213 let R = m(n)
214- let ai = if (!(isDefined(Q.assetId)))
215- then throw(("Não é waves: " + toBase58String(extract(Q.assetId))))
216- else throw("É waves: ")
217- WriteSet([DataEntry((R + "_assetId"), toBase58String(extract(Q.assetId)))])
214+ let ai = if (isDefined(Q.assetId))
215+ then toBase58String(extract(Q.assetId))
216+ else "WAVES"
217+ WriteSet([DataEntry((R + "_assetId"), ai)])
218218 }
219219
220220
221221
222222 @Callable(u)
223223 func defineScalper (aj,ak,al,n,am,an,N) = {
224224 let w = toBase58String(u.caller.bytes)
225225 let R = m(n)
226226 WriteSet([DataEntry((R + "_grid"), aj), DataEntry((R + "_steps"), an), DataEntry((R + "_lifetime"), al), DataEntry((R + "_ordering"), am), DataEntry((R + "_reOrderOut"), ak), DataEntry((R + "_status"), "defined")])
227227 }
228228
229229
230230
231231 @Callable(u)
232232 func createScalper (N,ao,n) = {
233233 let w = toBase58String(u.caller.bytes)
234234 let R = m(n)
235235 WriteSet([DataEntry((R + "_scalperID"), n), DataEntry((R + "_title"), N), DataEntry((R + "_type"), ao), 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")])
236236 }
237237
238238

github/deemru/w8io/026f985 
32.69 ms