tx · CkPgwiBzdrdWYcjEuPPHBCbgfgMMx7KqLSYucoQ19ogQ

3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH:  -0.05000000 Waves

2019.11.26 07:31 [781751] smart account 3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH > SELF 0.00000000 Waves

{ "type": 13, "id": "CkPgwiBzdrdWYcjEuPPHBCbgfgMMx7KqLSYucoQ19ogQ", "fee": 5000000, "feeAssetId": null, "timestamp": 1574742796542, "version": 1, "sender": "3MwjJKGp7PLGJh7pzYrnrN9TnMXph6oL4nH", "senderPublicKey": "9Pw6KBYMgEWmrg24tEc8SkHPhMUBwRmHaJoKjWgDkUAK", "proofs": [ "2Fd7BgorkYfjMmmLCPWqnJbboe7A4rbh6SVFJB1R2KxZ54WbjhFqYdjPJeYkGsMM1M4RNrdPR27FRvZT5J5KioZ" ], "script": "base64:AAIDAAAAAAAAACcIARIDCgEIEgYKBAgICAESBAoCCAgSCQoHAQgBCAgBCBIFCgMICAgAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAZvcmFjbGUJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUAAAAABWFza0lEAgAAAAVXQVZFUwAAAAAFYmlkSUQCAAAABVVTRC1OAAAAAAZtaW5QaXAAAAAAAAAPQkABAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0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dEdURAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAIX2dyaWRBc2sCAAAADnVuZGVmaW5lZCBhc2tzCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAhfZ3JpZEJpZAIAAAAOdW5kZWZpbmVkIGJpZHMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAAC19ibG9ja1N0YXJ0AAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAApfYmxvY2tTdG9wAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAApfcHJpY2VPcGVuAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAtfcHJpY2VDbG9zZQAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAHX3Byb2ZpdAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAKX3Byb2ZpdEZlZQAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVrZXlJRAIAAAAHX3N0YXR1cwIAAAAHY3JlYXRlZAUAAAADbmlsAAAAANkkE6w=", "chainId": 84, "height": 781751, "spentComplexity": 0 } View: original | compacted Prev: EmqbtbT7gWpZt8FnMBTnhkovsPTirgS9vjZx96UBBgvA Next: Fx5XqNoowwUbbnLUjfp4ig679EmKTNPpJszibSqacD57 Diff:
OldNewDifferences
208208 let paymentAssetId = if (isDefined(deposited.assetId))
209209 then throw(("Não é waves: " + toBase58String(extract(deposited.assetId))))
210210 else throw("É waves: ")
211- let x = toBase58String(extract(deposited.assetId))
212- WriteSet([DataEntry((keyID + "_assetId"), x)])
211+ WriteSet(nil)
213212 }
214213
215214
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let NONE = "none"
55
66 let oracle = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu")
77
88 let askID = "WAVES"
99
1010 let bidID = "USD-N"
1111
1212 let minPip = 1000000
1313
1414 func getNumberByKey (key) = {
1515 let num = match getInteger(this, key) {
1616 case a: Int =>
1717 a
1818 case _ =>
1919 0
2020 }
2121 num
2222 }
2323
2424
2525 func getStrByKey (key) = {
2626 let str = match getString(this, key) {
2727 case a: String =>
2828 a
2929 case _ =>
3030 NONE
3131 }
3232 str
3333 }
3434
3535
3636 func genKeyID (addr) = toBase58String(sha256(toBytes((addr + toString(this)))))
3737
3838
3939 func genGrid (a,b) = if ((a == ""))
4040 then toString(b)
4141 else ((a + "|") + toString(b))
4242
4343
4444 func genList (a,b) = b :: a
4545
4646
4747 func genListInt (a,b) = {
4848 let parseB = parseIntValue(b)
4949 (a[0] + 2) :: a
5050 }
5151
5252
5353 func revListInt (a,b) = b :: a
5454
5555
5656 @Callable(i)
5757 func sendGridAsk (gridA) = {
5858 let sender = toBase58String(i.caller.bytes)
5959 let gridAsk = split(gridA, "|")
6060 let ver = {
6161 let $list10671100 = gridAsk
6262 let $size10671100 = size($list10671100)
6363 let $acc010671100 = [69]
6464 if (($size10671100 == 0))
6565 then $acc010671100
6666 else {
6767 let $acc110671100 = genListInt($acc010671100, $list10671100[0])
6868 if (($size10671100 == 1))
6969 then $acc110671100
7070 else {
7171 let $acc210671100 = genListInt($acc110671100, $list10671100[1])
7272 if (($size10671100 == 2))
7373 then $acc210671100
7474 else {
7575 let $acc310671100 = genListInt($acc210671100, $list10671100[2])
7676 if (($size10671100 == 3))
7777 then $acc310671100
7878 else {
7979 let $acc410671100 = genListInt($acc310671100, $list10671100[3])
8080 if (($size10671100 == 4))
8181 then $acc410671100
8282 else {
8383 let $acc510671100 = genListInt($acc410671100, $list10671100[4])
8484 if (($size10671100 == 5))
8585 then $acc510671100
8686 else {
8787 let $acc610671100 = genListInt($acc510671100, $list10671100[5])
8888 if (($size10671100 == 6))
8989 then $acc610671100
9090 else {
9191 let $acc710671100 = genListInt($acc610671100, $list10671100[6])
9292 if (($size10671100 == 7))
9393 then $acc710671100
9494 else {
9595 let $acc810671100 = genListInt($acc710671100, $list10671100[7])
9696 if (($size10671100 == 8))
9797 then $acc810671100
9898 else {
9999 let $acc910671100 = genListInt($acc810671100, $list10671100[8])
100100 if (($size10671100 == 9))
101101 then $acc910671100
102102 else {
103103 let $acc1010671100 = genListInt($acc910671100, $list10671100[9])
104104 if (($size10671100 == 10))
105105 then $acc1010671100
106106 else {
107107 let $acc1110671100 = genListInt($acc1010671100, $list10671100[10])
108108 throw("List size exceed 10")
109109 }
110110 }
111111 }
112112 }
113113 }
114114 }
115115 }
116116 }
117117 }
118118 }
119119 }
120120 }
121121 WriteSet(nil)
122122 }
123123
124124
125125
126126 @Callable(i)
127127 func startScalp (title,gridA,gridB,step) = {
128128 let sender = toBase58String(i.caller.bytes)
129129 let deposited = extract(i.payment)
130130 let keyID = genKeyID(sender)
131131 let usdV = getIntegerValue(oracle, "waves_usd_2")
132132 if ((100000000 >= deposited.amount))
133133 then throw(("Amount under of required: " + toString(deposited.amount)))
134134 else {
135135 let arr = [5, 4, 3, 2, 1]
136136 let ver = {
137137 let $list18141838 = arr
138138 let $size18141838 = size($list18141838)
139139 let $acc018141838 = nil
140140 if (($size18141838 == 0))
141141 then $acc018141838
142142 else {
143143 let $acc118141838 = genList($acc018141838, $list18141838[0])
144144 if (($size18141838 == 1))
145145 then $acc118141838
146146 else {
147147 let $acc218141838 = genList($acc118141838, $list18141838[1])
148148 if (($size18141838 == 2))
149149 then $acc218141838
150150 else {
151151 let $acc318141838 = genList($acc218141838, $list18141838[2])
152152 if (($size18141838 == 3))
153153 then $acc318141838
154154 else {
155155 let $acc418141838 = genList($acc318141838, $list18141838[3])
156156 if (($size18141838 == 4))
157157 then $acc418141838
158158 else {
159159 let $acc518141838 = genList($acc418141838, $list18141838[4])
160160 if (($size18141838 == 5))
161161 then $acc518141838
162162 else {
163163 let $acc618141838 = genList($acc518141838, $list18141838[5])
164164 if (($size18141838 == 6))
165165 then $acc618141838
166166 else {
167167 let $acc718141838 = genList($acc618141838, $list18141838[6])
168168 if (($size18141838 == 7))
169169 then $acc718141838
170170 else {
171171 let $acc818141838 = genList($acc718141838, $list18141838[7])
172172 if (($size18141838 == 8))
173173 then $acc818141838
174174 else {
175175 let $acc918141838 = genList($acc818141838, $list18141838[8])
176176 if (($size18141838 == 9))
177177 then $acc918141838
178178 else {
179179 let $acc1018141838 = genList($acc918141838, $list18141838[9])
180180 if (($size18141838 == 10))
181181 then $acc1018141838
182182 else {
183183 let $acc1118141838 = genList($acc1018141838, $list18141838[10])
184184 throw("List size exceed 10")
185185 }
186186 }
187187 }
188188 }
189189 }
190190 }
191191 }
192192 }
193193 }
194194 }
195195 }
196196 }
197197 WriteSet(nil)
198198 }
199199 }
200200
201201
202202
203203 @Callable(i)
204204 func defineScalping (title,addr) = {
205205 let sender = toBase58String(i.caller.bytes)
206206 let deposited = extract(i.payment)
207207 let keyID = genKeyID(addr)
208208 let paymentAssetId = if (isDefined(deposited.assetId))
209209 then throw(("Não é waves: " + toBase58String(extract(deposited.assetId))))
210210 else throw("É waves: ")
211- let x = toBase58String(extract(deposited.assetId))
212- WriteSet([DataEntry((keyID + "_assetId"), x)])
211+ WriteSet(nil)
213212 }
214213
215214
216215
217216 @Callable(i)
218217 func defineScalper (grid,reOrderOut,lifetime,addr,ordering,steps,title) = {
219218 let sender = toBase58String(i.caller.bytes)
220219 let keyID = genKeyID(addr)
221220 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")])
222221 }
223222
224223
225224
226225 @Callable(i)
227226 func createScalper (title,type,addr) = {
228227 let sender = toBase58String(i.caller.bytes)
229228 let keyID = genKeyID(addr)
230229 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")])
231230 }
232231
233232

github/deemru/w8io/026f985 
34.54 ms