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:AAIDAAAAAAAAACcIARIDCgEIEgYKBAgICAESBAoCCAgSCQoHAQgBCAgBCBIFCgMICAgAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAZvcmFjbGUJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUAAAAABWFza0lEAgAAAAVXQVZFUwAAAAAFYmlkSUQCAAAABVVTRC1OAAAAAAZtaW5QaXAAAAAAAAAPQkABAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAg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AAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAACl9wcmljZU9wZW4AAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFa2V5SUQCAAAAC19wcmljZUNsb3NlAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAdfcHJvZml0AAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAApfcHJvZml0RmVlAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABWtleUlEAgAAAAdfc3RhdHVzAgAAAAdjcmVhdGVkBQAAAANuaWwAAAAAJMUrsA==", "chainId": 84, "height": 781829, "spentComplexity": 0 } View: original | compacted Prev: BWTRRk1PnVGwLaMXvFNjZv9NUA4nM3ovM8FRUFKbWnBv Next: none Diff:
OldNewDifferences
203203 @Callable(i)
204204 func defineScalping (title,addr) = {
205205 let sender = toBase58String(i.caller.bytes)
206- let found = extract(i.payment)
206+ let deposited = extract(i.payment)
207207 let keyID = genKeyID(addr)
208- let assetID = if (isDefined(found.assetId))
209- then toBase58String(extract(found.assetId))
208+ let assetID = if (isDefined(deposited.assetId))
209+ then toBase58String(extract(deposited.assetId))
210210 else toBase58String(base58'WAVES')
211- let assetAmount = found.amount
212- if (isDefined(assetID))
213- then throw(("O asset é: " + assetID))
214- else WriteSet([DataEntry((keyID + "_assetId"), assetID)])
211+ let assetAmount = deposited.amount
212+ let usdPrice = getIntegerValue(oracle, "waves_usd_2")
213+ if ((100000 > assetAmount))
214+ then throw("O montante está abaixo do exigido")
215+ else WriteSet([DataEntry((keyID + "_fundraised"), assetAmount), DataEntry((keyID + "_upOutGTD"), 0), DataEntry((keyID + "_downOutGTD"), 0), DataEntry((keyID + "_gridAsk"), "undefined asks"), DataEntry((keyID + "_gridBid"), "undefined bids")])
215216 }
216217
217218
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)
206- let found = extract(i.payment)
206+ let deposited = extract(i.payment)
207207 let keyID = genKeyID(addr)
208- let assetID = if (isDefined(found.assetId))
209- then toBase58String(extract(found.assetId))
208+ let assetID = if (isDefined(deposited.assetId))
209+ then toBase58String(extract(deposited.assetId))
210210 else toBase58String(base58'WAVES')
211- let assetAmount = found.amount
212- if (isDefined(assetID))
213- then throw(("O asset é: " + assetID))
214- else WriteSet([DataEntry((keyID + "_assetId"), assetID)])
211+ let assetAmount = deposited.amount
212+ let usdPrice = getIntegerValue(oracle, "waves_usd_2")
213+ if ((100000 > assetAmount))
214+ then throw("O montante está abaixo do exigido")
215+ else WriteSet([DataEntry((keyID + "_fundraised"), assetAmount), DataEntry((keyID + "_upOutGTD"), 0), DataEntry((keyID + "_downOutGTD"), 0), DataEntry((keyID + "_gridAsk"), "undefined asks"), DataEntry((keyID + "_gridBid"), "undefined bids")])
215216 }
216217
217218
218219
219220 @Callable(i)
220221 func defineScalper (grid,reOrderOut,lifetime,addr,ordering,steps,title) = {
221222 let sender = toBase58String(i.caller.bytes)
222223 let keyID = genKeyID(addr)
223224 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")])
224225 }
225226
226227
227228
228229 @Callable(i)
229230 func createScalper (title,type,addr) = {
230231 let sender = toBase58String(i.caller.bytes)
231232 let keyID = genKeyID(addr)
232233 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")])
233234 }
234235
235236

github/deemru/w8io/026f985 
46.99 ms