tx · 73r6sjHy8n5mwXCSxbcwpXyjVDZXiu6kKaq6e3twCcFZ

3N54eKW5ZucDaRaGVUfzX8xRXv6Ve8M71tM:  -0.02000000 Waves

2020.05.15 14:42 [999276] smart account 3N54eKW5ZucDaRaGVUfzX8xRXv6Ve8M71tM > SELF 0.00000000 Waves

{ "type": 13, "id": "73r6sjHy8n5mwXCSxbcwpXyjVDZXiu6kKaq6e3twCcFZ", "fee": 2000000, "feeAssetId": null, "timestamp": 1589542950731, "version": 1, "sender": "3N54eKW5ZucDaRaGVUfzX8xRXv6Ve8M71tM", "senderPublicKey": "FmnQ1LwTnauTS2BSrZivE1nSF1A9MY9hyYB72pyh5hw9", "proofs": [ "3rTEjCNyHmZQAWbu4tj9KJSoFPbor4Da54VCJjFHQctpmzcwZ9qaer767YmFRzV3GJNScyMGefrYyqtzLimZyXkG" ], "script": "base64:AAIDAAAAAAAAACUIARIDCgECEgMKAQISAwoBAhIDCgECEgMKAQISAwoBAhIDCgECAAAAEAEAAAAKZGVjb2RlSW50OAAAAAIAAAAEZGF0YQAAAAZvZmZzZXQDCQAAZgAAAAIAAAAAAAAAAAEJAADIAAAAAQUAAAAEZGF0YQkAAAIAAAABAgAAAC1kZWNvZGUgdTggZXJyb3IsIGRhdGEgbXVzdCBiZSBhdCBsZWFzdCAxIGJ5dGUDCQAAZgAAAAIFAAAABm9mZnNldAkAAMgAAAABBQAAAARkYXRhCQAAAgAAAAECAAAAI2RlY29kZSB1OCBlcnJvciwgZGVjb2RpbmcgaXMgZmluaXNoBAAAAAJ4MAkAAMkAAAACCQAAygAAAAIFAAAABGRhdGEFAAAABm9mZnNldAAAAAAAAAAAAQQAAAACeDEJAASyAAAAAgkAAMsAAAACAQAAAAcAAAAAAAAABQAAAAJ4MAAAAAAAAAAAAAMJAABmAAAAAgAAAAAAAAAAgAUAAAACeDEJAARMAAAAAgUAAAACeDEJAARMAAAAAgkAAGQAAAACBQAAAAZvZmZzZXQAAAAAAAAAAAEFAAAAA25pbAkAB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AIAAAAPL29yYWNsZVNjcmlwdElkCQABkQAAAAIFAAAABHJlcTIAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAJcmVxdWVzdElEAgAAAAkvY2FsbGRhdGEJAQAAAA9nZXRBc0J5dGVWZWN0b3IAAAABBQAAAARyZXEzBQAAAANuaWwAAAAAicH/5g==", "chainId": 84, "height": 999276, "spentComplexity": 0 } View: original | compacted Prev: FRghnRea52DLCWv3tNXNCfLqovW1afjWGNTwVtBYEn98 Next: 2BKUfirruTydzTra7GFVMdg6sMuMnckzbVy1tteYCTsN Diff:
OldNewDifferences
153153 }
154154
155155
156-func anyToString (x) = match x {
157- case b: Boolean =>
158- toString(b)
159- case i: Int =>
160- toString(i)
161- case s: String =>
162- s
163- case bv: ByteVector =>
164- toUtf8String(bv)
165- case _ =>
166- throw()
167-}
168-
169-
170156 @Callable(contextObj)
171157 func testDecodeInt16 (data) = {
172158 let offset = 0
241227 let res6 = decodeInt8(resBytes, res5[1])
242228 let res7 = decodeBytes(resBytes, res6[1])
243229 let requestID = toString(res2[0])
244- WriteSet([DataEntry((requestID + "/clientId"), getAsString(req1)), DataEntry((requestID + "/oracleScriptId"), req2[0]), DataEntry((requestID + "/calldata"), getAsByteVector(req3)), DataEntry((requestID + "/ansCount"), res3[0]), DataEntry((requestID + "/requestTime"), res3[4]), DataEntry((requestID + "/resolveTime"), res5[0]), DataEntry((requestID + "/resolveStatus"), res6[0]), DataEntry((requestID + "/result"), getAsByteVector(res7))])
230+ WriteSet([DataEntry((requestID + "/clientId"), getAsString(req1)), DataEntry((requestID + "/oracleScriptId"), req2[0]), DataEntry((requestID + "/calldata"), getAsByteVector(req3))])
245231 }
246232
247233
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func decodeInt8 (data,offset) = if ((1 > size(data)))
55 then throw("decode u8 error, data must be at least 1 byte")
66 else if ((offset > size(data)))
77 then throw("decode u8 error, decoding is finish")
88 else {
99 let x0 = take(drop(data, offset), 1)
1010 let x1 = toInt((base58'1111111' + x0), 0)
1111 if ((128 > x1))
1212 then [x1, (offset + 1)]
1313 else [toInt((base58'Ahg1opVcGW' + x0), 0), (offset + 1)]
1414 }
1515
1616
1717 func decodeInt16 (data,offset) = if ((2 > size(data)))
1818 then throw("decode u16 error, data must be at least 2 bytes")
1919 else if ((offset > size(data)))
2020 then throw("decode u16 error, decoding is finish")
2121 else {
2222 let x0 = drop(data, offset)
2323 let x1 = take(x0, 1)
2424 let x2 = take(drop(x0, 1), 1)
2525 if ((decodeInt8(x2, 0)[0] >= 0))
2626 then [toInt(((base58'111111' + x2) + x1), 0), (offset + 2)]
2727 else [toInt(((base58'3CUsUpv9t' + x2) + x1), 0), (offset + 2)]
2828 }
2929
3030
3131 func decodeInt32 (data,offset) = if ((4 > size(data)))
3232 then throw("decode u32 error, data must be at least 4 bytes")
3333 else if ((offset > size(data)))
3434 then throw("decode u32 error, decoding is finish")
3535 else {
3636 let x0 = drop(data, offset)
3737 let x1 = take(x0, 1)
3838 let x2 = take(drop(x0, 1), 1)
3939 let x3 = take(drop(x0, 2), 1)
4040 let x4 = take(drop(x0, 3), 1)
4141 if ((decodeInt8(x4, 0)[0] >= 0))
4242 then [toInt(((((base58'1111' + x4) + x3) + x2) + x1), 0), (offset + 4)]
4343 else [toInt(((((base58'7YXq9G' + x4) + x3) + x2) + x1), 0), (offset + 4)]
4444 }
4545
4646
4747 func decodeInt64 (data,offset) = if ((8 > size(data)))
4848 then throw("decode u32 error, data must be at least 8 bytes")
4949 else if ((offset > size(data)))
5050 then throw("decode u32 error, decoding is finish")
5151 else {
5252 let x0 = drop(data, offset)
5353 let x1 = take(x0, 1)
5454 let x2 = take(drop(x0, 1), 1)
5555 let x3 = take(drop(x0, 2), 1)
5656 let x4 = take(drop(x0, 3), 1)
5757 let x5 = take(drop(x0, 4), 1)
5858 let x6 = take(drop(x0, 5), 1)
5959 let x7 = take(drop(x0, 6), 1)
6060 let x8 = take(drop(x0, 7), 1)
6161 [toInt((((((((x8 + x7) + x6) + x5) + x4) + x3) + x2) + x1), 0), (offset + 8)]
6262 }
6363
6464
6565 func decodeBool (data,offset) = {
6666 let decoded1 = decodeInt8(data, offset)
6767 [DataEntry("bool", (decoded1[0] != 0)), DataEntry("int", decoded1[1])]
6868 }
6969
7070
7171 func decodeBytes32 (data,offset) = if ((32 > size(data)))
7272 then throw("decode bytes32 error, data must be at least 32 bytes")
7373 else [DataEntry("byte_vector", take(drop(data, offset), 32)), DataEntry("int", (offset + 32))]
7474
7575
7676 func decodeBytes64 (data,offset) = if ((64 > size(data)))
7777 then throw("decode bytes64 error, data must be at least 64 bytes")
7878 else [DataEntry("byte_vector", take(drop(data, offset), 64)), DataEntry("int", (offset + 64))]
7979
8080
8181 func decodeBytes65 (data,offset) = if ((65 > size(data)))
8282 then throw("decode bytes65 error, data must be at least 65 bytes")
8383 else [DataEntry("byte_vector", take(drop(data, offset), 65)), DataEntry("int", (offset + 65))]
8484
8585
8686 func decodeBytes (data,offset) = {
8787 let decoded1 = decodeInt32(data, offset)
8888 let bytesSize = decoded1[0]
8989 let nextOffset = decoded1[1]
9090 [DataEntry("byte_vector", take(drop(data, nextOffset), bytesSize)), DataEntry("int", (nextOffset + bytesSize))]
9191 }
9292
9393
9494 func decodeString (data,offset) = {
9595 let decoded1 = decodeInt32(data, offset)
9696 let bytesSize = decoded1[0]
9797 let nextOffset = decoded1[1]
9898 [DataEntry("string", toUtf8String(take(drop(data, nextOffset), bytesSize))), DataEntry("int", (nextOffset + bytesSize))]
9999 }
100100
101101
102102 func getAsBool (tuple) = match tuple[0].value {
103103 case b: Boolean =>
104104 b
105105 case _ =>
106106 throw("not a Boolean")
107107 }
108108
109109
110110 func getAsByteVector (tuple) = match tuple[0].value {
111111 case bv: ByteVector =>
112112 bv
113113 case _ =>
114114 throw("not a ByteVector")
115115 }
116116
117117
118118 func getAsString (tuple) = match tuple[0].value {
119119 case s: String =>
120120 s
121121 case _ =>
122122 throw("not a String")
123123 }
124124
125125
126126 func getOffset (tuple) = match tuple[1].value {
127127 case i: Int =>
128128 i
129129 case _ =>
130130 throw("not a Int")
131131 }
132132
133133
134134 func decodeRequestPacket (data) = {
135135 let tuple1 = decodeString(data, 0)
136136 let tuple2 = decodeInt64(data, getOffset(tuple1))
137137 let tuple3 = decodeBytes(data, tuple2[1])
138138 let tuple4 = decodeInt64(data, getOffset(tuple3))
139139 let tuple5 = decodeInt64(data, tuple4[1])
140140 [getAsString(tuple1), tuple2[0], getAsByteVector(tuple3), tuple4[0], tuple5[0]]
141141 }
142142
143143
144144 func decodeResponsePacket (data) = {
145145 let tuple1 = decodeString(data, 0)
146146 let tuple2 = decodeInt64(data, getOffset(tuple1))
147147 let tuple3 = decodeInt64(data, tuple2[1])
148148 let tuple4 = decodeInt64(data, tuple3[1])
149149 let tuple5 = decodeInt64(data, tuple4[1])
150150 let tuple6 = decodeInt8(data, tuple5[1])
151151 let tuple7 = decodeBytes(data, tuple6[1])
152152 [getAsString(tuple1), tuple2[0], tuple3[0], tuple4[0], tuple5[0], tuple6[0], getAsByteVector(tuple7)]
153153 }
154154
155155
156-func anyToString (x) = match x {
157- case b: Boolean =>
158- toString(b)
159- case i: Int =>
160- toString(i)
161- case s: String =>
162- s
163- case bv: ByteVector =>
164- toUtf8String(bv)
165- case _ =>
166- throw()
167-}
168-
169-
170156 @Callable(contextObj)
171157 func testDecodeInt16 (data) = {
172158 let offset = 0
173159 let x1 = decodeInt16(data, offset)
174160 WriteSet([DataEntry("i16", x1[0])])
175161 }
176162
177163
178164
179165 @Callable(contextObj)
180166 func testDecodeInt64 (data) = {
181167 let offset = 0
182168 let decoded = decodeInt64(data, offset)
183169 WriteSet([DataEntry("i64", decoded[0])])
184170 }
185171
186172
187173
188174 @Callable(contextObj)
189175 func testDecodeString (data) = {
190176 let offset = 0
191177 let decoded = decodeString(data, offset)
192178 WriteSet([DataEntry("string", getAsString(decoded))])
193179 }
194180
195181
196182
197183 @Callable(contextObj)
198184 func testDecodeBytes (data) = {
199185 let offset = 0
200186 let decoded = decodeBytes(data, offset)
201187 WriteSet([DataEntry("bytes", getAsByteVector(decoded))])
202188 }
203189
204190
205191
206192 @Callable(contextObj)
207193 func testDecodeBytes32 (data) = {
208194 let offset = 0
209195 let decoded = decodeBytes32(data, offset)
210196 WriteSet([DataEntry("bytes", getAsByteVector(decoded))])
211197 }
212198
213199
214200
215201 @Callable(contextObj)
216202 func testDecodeCryptoPrice (data) = {
217203 let offset = 0
218204 let tuple1 = decodeString(data, offset)
219205 let tuple2 = decodeInt64(data, getOffset(tuple1))
220206 WriteSet([DataEntry("symbol", getAsString(tuple1)), DataEntry("multiplier", tuple2[0])])
221207 }
222208
223209
224210
225211 @Callable(contextObj)
226212 func relayAndVerify (data) = {
227213 let tuple1 = decodeBytes(data, 0)
228214 let tuple2 = decodeBytes(data, getOffset(tuple1))
229215 let reqBytes = getAsByteVector(tuple1)
230216 let resBytes = getAsByteVector(tuple2)
231217 let req1 = decodeString(reqBytes, 0)
232218 let req2 = decodeInt64(reqBytes, getOffset(req1))
233219 let req3 = decodeBytes(reqBytes, req2[1])
234220 let req4 = decodeInt64(reqBytes, getOffset(req3))
235221 let req5 = decodeInt64(reqBytes, req4[1])
236222 let res1 = decodeString(resBytes, 0)
237223 let res2 = decodeInt64(resBytes, getOffset(res1))
238224 let res3 = decodeInt64(resBytes, res2[1])
239225 let res4 = decodeInt64(resBytes, res3[1])
240226 let res5 = decodeInt64(resBytes, res4[1])
241227 let res6 = decodeInt8(resBytes, res5[1])
242228 let res7 = decodeBytes(resBytes, res6[1])
243229 let requestID = toString(res2[0])
244- WriteSet([DataEntry((requestID + "/clientId"), getAsString(req1)), DataEntry((requestID + "/oracleScriptId"), req2[0]), DataEntry((requestID + "/calldata"), getAsByteVector(req3)), DataEntry((requestID + "/ansCount"), res3[0]), DataEntry((requestID + "/requestTime"), res3[4]), DataEntry((requestID + "/resolveTime"), res5[0]), DataEntry((requestID + "/resolveStatus"), res6[0]), DataEntry((requestID + "/result"), getAsByteVector(res7))])
230+ WriteSet([DataEntry((requestID + "/clientId"), getAsString(req1)), DataEntry((requestID + "/oracleScriptId"), req2[0]), DataEntry((requestID + "/calldata"), getAsByteVector(req3))])
245231 }
246232
247233

github/deemru/w8io/026f985 
60.12 ms