tx · HHerL6LJ9qpFpNLuhDtMDN5gutXSHW4tx8eUaoGnaiPv

3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY:  -0.01000000 Waves

2024.06.09 12:05 [3142991] smart account 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY > SELF 0.00000000 Waves

{ "type": 13, "id": "HHerL6LJ9qpFpNLuhDtMDN5gutXSHW4tx8eUaoGnaiPv", "fee": 1000000, "feeAssetId": null, "timestamp": 1717923983241, "version": 2, "chainId": 84, "sender": "3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY", "senderPublicKey": "2AWdnJuBMzufXSjTvzVcawBQQhnhF1iXR6QNVgwn33oc", "proofs": [ "33oghp6tiQBD2SusffYqPVMsUxtZ5U3dx9ya7MLaFV3xxxf4j69RkvKX8Ah2VgSBQtMCRRfbrQYBTiJpXwPz3W2W" ], "script": "base64:BwIICAISBAoCAQEIAA93ZWlnaHRzX2xheWVyXzEJAMwIAgkAzAgCAJHVAwkAzAgCAKnVAwUDbmlsCQDMCAIJAMwIAgDLwwIJAMwIAgDRwwIFA25pbAUDbmlsAA5iaWFzZXNfbGF5ZXJfMQkAzAgCAM+1/v///////wEJAMwIAgC1j/z///////8BBQNuaWwAD3dlaWdodHNfbGF5ZXJfMgkAzAgCCQDMCAIA4IoFCQDMCAIAjsP6////////AQUDbmlsBQNuaWwADmJpYXNlc19sYXllcl8yCQDMCAIAm9b9////////AQUDbmlsARBsaW5lYXJfZm9yd2FyZF8xAwVpbnB1dAd3ZWlnaHRzBmJpYXNlcwQNd2VpZ2h0ZWRfc3VtMQkAZAIJAGkCCQBkAgkAaAIJAJEDAgUFaW5wdXQAAAkAkQMCCQCRAwIFB3dlaWdodHMAAAAACQBoAgkAkQMCBQVpbnB1dAABCQCRAwIJAJEDAgUHd2VpZ2h0cwAAAAEAkE4JAJEDAgUGYmlhc2VzAAAEDXdlaWdodGVkX3N1bTIJAGQCCQBpAgkAZAIJAGgCCQCRAwIFBWlucH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ZAEJAJEDAgUGaW5wdXRzAAAFA25pbAkAzAgCCQEHc2lnbW9pZAEJAJEDAgUGaW5wdXRzAAAJAMwIAgkBB3NpZ21vaWQBCQCRAwIFBmlucHV0cwABBQNuaWwBAWkBB3ByZWRpY3QCAngxAngyBAl4MV9zY2FsZWQJAGgCBQJ4MQCQTgQJeDJfc2NhbGVkCQBoAgUCeDIAkE4EBmlucHV0cwkAzAgCBQl4MV9zY2FsZWQJAMwIAgUJeDJfc2NhbGVkBQNuaWwEAnoxCQEQbGluZWFyX2ZvcndhcmRfMQMFBmlucHV0cwUPd2VpZ2h0c19sYXllcl8xBQ5iaWFzZXNfbGF5ZXJfMQQCYTEJARJzaWdtb2lkX2FjdGl2YXRpb24CBQJ6MQACBAJ6MgkBEGxpbmVhcl9mb3J3YXJkXzIDBQJhMQUPd2VpZ2h0c19sYXllcl8yBQ5iaWFzZXNfbGF5ZXJfMgQCYTIJARJzaWdtb2lkX2FjdGl2YXRpb24CBQJ6MgABBAdyZXN1bHQwCQCRAwIFAmEyAAAEDWRlYnVnX291dHB1dHMFA25pbAkAzggCCQDMCAIJAQxJbnRlZ2VyRW50cnkCAhFtb3ZlX3ByZWRpY3Rpb25fMAUHcmVzdWx0MAUDbmlsBQ1kZWJ1Z19vdXRwdXRzAEXyKko=", "height": 3142991, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J2Z8FYd8ykhAxTCi9Ww9Y86Pod2jAmTLqaBdtSG5GXiY Next: 3urCdRx3L3rHQQGL5mbei1eajgXgC8eNfCmHFASkDFV9 Diff:
OldNewDifferences
4343 else 10000
4444
4545
46-func m (n,o) = [l(n[0]), l(n[1])]
46+func m (n,o) = if ((o == 1))
47+ then [l(n[0])]
48+ else [l(n[0]), l(n[1])]
4749
4850
4951 @Callable(p)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = [[60049, 60073], [41419, 41425]]
55
66 let b = [-25905, -63563]
77
88 let c = [[83296, -89714]]
99
1010 let d = [-38117]
1111
1212 func e (f,g,h) = {
1313 let i = ((((f[0] * g[0][0]) + (f[1] * g[0][1])) / 10000) + h[0])
1414 let j = ((((f[0] * g[1][0]) + (f[1] * g[1][1])) / 10000) + h[1])
1515 [i, j]
1616 }
1717
1818
1919 func k (f,g,h) = {
2020 let i = ((((f[0] * g[0][0]) + (f[1] * g[0][1])) / 10000) + h[0])
2121 [i]
2222 }
2323
2424
2525 func l (f) = if ((-80000 > f))
2626 then 0
2727 else if ((-60000 > f))
2828 then fraction((f + 80000), 125, 10000)
2929 else if ((-40000 > f))
3030 then fraction((f + 60000), 100, 10000)
3131 else if ((-20000 > f))
3232 then fraction((f + 40000), 75, 10000)
3333 else if ((0 > f))
3434 then fraction((f + 20000), 50, 10000)
3535 else if ((20000 > f))
3636 then (fraction(f, 50, 10000) + 5000)
3737 else if ((40000 > f))
3838 then (fraction((f - 20000), 75, 10000) + 7500)
3939 else if ((60000 > f))
4040 then (fraction((f - 40000), 100, 10000) + 8750)
4141 else if ((80000 > f))
4242 then (fraction((f - 60000), 125, 10000) + 9375)
4343 else 10000
4444
4545
46-func m (n,o) = [l(n[0]), l(n[1])]
46+func m (n,o) = if ((o == 1))
47+ then [l(n[0])]
48+ else [l(n[0]), l(n[1])]
4749
4850
4951 @Callable(p)
5052 func predict (q,r) = {
5153 let s = (q * 10000)
5254 let t = (r * 10000)
5355 let n = [s, t]
5456 let u = e(n, a, b)
5557 let v = m(u, 2)
5658 let w = k(v, c, d)
5759 let x = m(w, 1)
5860 let y = x[0]
5961 let z = nil
6062 ([IntegerEntry("move_prediction_0", y)] ++ z)
6163 }
6264
6365

github/deemru/w8io/169f3d6 
25.35 ms