tx · 6Jap6aDLP8coACekVHwFVAEqKYQnbdg8foFk2cof7nAR

3MyVUAzWpL91WbpgccHK5Arq5hu2xN2hXrj:  -0.01000000 Waves

2021.12.23 14:47 [1846869] smart account 3MyVUAzWpL91WbpgccHK5Arq5hu2xN2hXrj > SELF 0.00000000 Waves

{ "type": 13, "id": "6Jap6aDLP8coACekVHwFVAEqKYQnbdg8foFk2cof7nAR", "fee": 1000000, "feeAssetId": null, "timestamp": 1640260142029, "version": 2, "chainId": 84, "sender": "3MyVUAzWpL91WbpgccHK5Arq5hu2xN2hXrj", "senderPublicKey": "Dvg2md8dJaE7kjnrJpoXiK7eSTQQ9kJRnVM58d3H4piA", "proofs": [ "2aLqrpsyZ2CrAcZSKepc2umPjpSAyFTs2PotTWY6NE7jJPcV4vNQWx7s9vdJKFWLuVs9uW2LyVu5FF5WDL9Lv1yg" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAAFAAAAAAZuQ29pbnMJAAE2AAAAAQAAAAAAAAAAAgAAAAAKYVByZWNpc2lvbgkAATYAAAABAAAAAAAF9eEAAAAAAAp6ZXJvQmlnSW50CQABNgAAAAEAAAAAAAAAAAAAAAAAD3RhcmdldFByZWNpc2lvbgkAATYAAAABAAAAAAAAAAABAQAAAANhYnMAAAABAAAAA3ZhbAMJAAE/AAAAAgUAAAAKemVyb0JpZ0ludAUAAAADdmFsCQABPgAAAAEFAAAAA3ZhbAUAAAADdmFsAAAAAQAAAAFpAQAAAAVjYWxjRAAAAAMAAAAFeDFTdHIAAAAFeDJTdHIAAAAGYW1wU3RyBAAAAAJ4MQkAAacAAAABBQAAAAV4MVN0cgQAAAACeDIJAAGnAAAAAQUAAAAFeDJTdHIEAAAAA2FtcAkAAacAAAABBQAAAAZhbXBTdHIEAAAAAXMJAAE3AAAAAgUAAAACeDEFAAAAAngyAwkAAAAAAAACBQAAAAFzBQAAAAp6ZXJvQmlnSW50CQAFFAAAAAIFAAAAA25pbAkAAaYAAAABBQAAAAp6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BAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkcyA1CQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQQAAAAFZE5leHQIBQAAAAkkdDA5MDc5NTcAAAACXzEEAAAABWRQcmV2CAUAAAAJJHQwOTA3OTU3AAAAAl8yAwkAAUAAAAACBQAAAA90YXJnZXRQcmVjaXNpb24JAQAAAANhYnMAAAABCQABOAAAAAIFAAAABWROZXh0CQEAAAAFdmFsdWUAAAABBQAAAAVkUHJldgkABRQAAAACBQAAAANuaWwJAARMAAAAAgkAAaYAAAABBQAAAAVkTmV4dAkABEwAAAACCQABpgAAAAEJAQAAAAV2YWx1ZQAAAAEFAAAABWRQcmV2BQAAAANuaWwJAAACAAAAAQIAAAAHQlJPS0VOIQAAAAAupFmL", "height": 1846869, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4WSLH63WKSAQRwJXHqDrg5RRunj1sfJsYxA9HxW58i2Z Next: 51M1An1wg9dK9kQaGNsnR2AuXPKpLGA4ux8sY25zg1RC Diff:
OldNewDifferences
5151 let x = y._1
5252 let v = y._2
5353 if ((d >= e((x - value(v)))))
54- then $Tuple2(nil, toString(x))
54+ then $Tuple2(nil, [toString(x), toString(value(v))])
5555 else throw("BROKEN!")
5656 }
5757 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = toBigInt(2)
55
66 let b = toBigInt(100000000)
77
88 let c = toBigInt(0)
99
1010 let d = toBigInt(1)
1111
1212 func e (f) = if ((c > f))
1313 then -(f)
1414 else f
1515
1616
1717 @Callable(g)
1818 func calcD (h,i,j) = {
1919 let k = parseBigIntValue(h)
2020 let l = parseBigIntValue(i)
2121 let m = parseBigIntValue(j)
2222 let n = (k + l)
2323 if ((n == c))
2424 then $Tuple2(nil, toString(c))
2525 else {
2626 let o = (m * a)
2727 let p = [1, 2, 3, 4, 5]
2828 func q (r,s) = {
2929 let t = r
3030 let u = t._1
3131 let v = t._2
3232 let w = (((u * u) * u) / (((k * l) * a) * a))
3333 let x = (((((o * n) / b) + (w * a)) * u) / ((((o - b) * u) / b) + ((a + toBigInt(1)) * w)))
3434 $Tuple2(x, u)
3535 }
3636
3737 let y = {
3838 let z = p
3939 let A = size(z)
4040 let B = $Tuple2(n, unit)
4141 func C (D,E) = if ((E >= A))
4242 then D
4343 else q(D, z[E])
4444
4545 func F (D,E) = if ((E >= A))
4646 then D
4747 else throw("List size exceeds 5")
4848
4949 F(C(C(C(C(C(B, 0), 1), 2), 3), 4), 5)
5050 }
5151 let x = y._1
5252 let v = y._2
5353 if ((d >= e((x - value(v)))))
54- then $Tuple2(nil, toString(x))
54+ then $Tuple2(nil, [toString(x), toString(value(v))])
5555 else throw("BROKEN!")
5656 }
5757 }
5858
5959

github/deemru/w8io/169f3d6 
35.38 ms