tx · EmzniGRyRBaaKfZ7oDtNFkjbeo6yUeRZvkAi3sevZ1v1 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY: -0.01000000 Waves 2024.03.24 13:51 [3032037] smart account 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY > SELF 0.00000000 Waves
{ "type": 13, "id": "EmzniGRyRBaaKfZ7oDtNFkjbeo6yUeRZvkAi3sevZ1v1", "fee": 1000000, "feeAssetId": null, "timestamp": 1711277471395, "version": 2, "chainId": 84, "sender": "3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY", "senderPublicKey": "2AWdnJuBMzufXSjTvzVcawBQQhnhF1iXR6QNVgwn33oc", "proofs": [ "zbsWwSt2X1V2a45AM242emMzWBARR4EZc9egm39sumtsjmuQr95UrhWahN3hsBdix46ZxFmZuu4GMYYCP3vZZZy" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAcAAAAADWxheWVyMVdlaWdodHMJAARMAAAAAgkABEwAAAACAAAAAAAAW6DlCQAETAAAAAIAAAAAAABbqhwFAAAAA25pbAkABEwAAAACCQAETAAAAAIAAAAAAAA/M44JAARMAAAAAgAAAAAAAD81vQUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMUJpYXNlcwkABEwAAAACAP//////2HjZCQAETAAAAAIA//////+fAm0FAAAAA25pbAAAAAANbGF5ZXIyV2VpZ2h0cwkABEwAAAACCQAETAAAAAIAAAAAAAB/GbgJAARMAAAAAgD//////3cbZgUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMkJpYXNlcwkABEwAAAACAP//////xdY0BQAAAANuaWwBAAAAB3NpZ21vaWQAAAACAAAAAXoAAAALZGVidWdQcmVmaXgEAAAAAWUAAAAAAAApekkEAAAABGJhc2UAAAAAAAAPQkAEAAAACXBvc2l0aXZlWgMJAABmAAAAAgAAAAAAAAAAAAUAAAABegkBAAAAAS0AAAABBQAAAAF6BQAAAAF6BAAAAAdleHBQYXJ0CQAAawAAAA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JfMQQAAAADc2lnCAUAAAALJHQwMTU3NjE2MjAAAAACXzIJAAUUAAAAAgUAAAADc2lnBQAAAAVkZWJ1ZwAAAAEAAAABaQEAAAAHcHJlZGljdAAAAAIAAAAGaW5wdXQxAAAABmlucHV0MgQAAAAMc2NhbGVkSW5wdXQxAwkAAAAAAAACBQAAAAZpbnB1dDEAAAAAAAAAAAEAAAAAAAAPQkAAAAAAAAAAAAAEAAAADHNjYWxlZElucHV0MgMJAAAAAAAAAgUAAAAGaW5wdXQyAAAAAAAAAAABAAAAAAAAD0JAAAAAAAAAAAAABAAAAAZpbnB1dHMJAARMAAAAAgUAAAAMc2NhbGVkSW5wdXQxCQAETAAAAAIFAAAADHNjYWxlZElucHV0MgUAAAADbmlsBAAAAAskdDAxODgyMTk4MAkBAAAAEWZvcndhcmRQYXNzTGF5ZXIxAAAABAUAAAAGaW5wdXRzBQAAAA1sYXllcjFXZWlnaHRzBQAAAAxsYXllcjFCaWFzZXMCAAAABkxheWVyMQQAAAAMbGF5ZXIxT3V0cHV0CAUAAAALJHQwMTg4MjE5ODAAAAACXzEEAAAAC2RlYnVnTGF5ZXIxCAUAAAALJHQwMTg4MjE5ODAAAAACXzIEAAAACyR0MDE5ODUyMDg4CQEAAAARZm9yd2FyZFBhc3NMYXllcjIAAAAEBQAAAAxsYXllcjFPdXRwdXQJAARMAAAAAgAAAAAAAH8ZuAkABEwAAAACAP//////dxtmBQAAAANuaWwA///////F1jQCAAAABkxheWVyMgQAAAAGb3V0cHV0CAUAAAALJHQwMTk4NTIwODgAAAACXzEEAAAADmRlYnVnTGF5ZXJMYXN0CAUAAAALJHQwMTk4NTIwODgAAAACXzIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABnJlc3VsdAUAAAAGb3V0cHV0BQAAAANuaWwAAAAA9U2/AQ==", "height": 3032037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5YEessYepbheYsZNiX56NeUXqYCKwLNXVy2zuHJdzinQ Next: 8hzRtKV4pz9FhxiF6znTWecbvi8wMaitg8Z4WWFgBEMK Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = [[ | |
4 | + | let a = [[6004965, 6007324], [4141966, 4142525]] | |
5 | 5 | ||
6 | - | let b = [- | |
6 | + | let b = [-2590503, -6356371] | |
7 | 7 | ||
8 | - | let c = [[ | |
8 | + | let c = [[8329656, -8971418]] | |
9 | 9 | ||
10 | - | let d = [- | |
10 | + | let d = [-3811788] | |
11 | 11 | ||
12 | - | let e = [[-8939640, 9517362]] | |
13 | - | ||
14 | - | let f = [-192349] | |
15 | - | ||
16 | - | func g (h,i) = { | |
17 | - | let j = 2718281 | |
18 | - | let k = 1000000 | |
19 | - | let l = if ((0 > h)) | |
20 | - | then -(h) | |
21 | - | else h | |
22 | - | let m = fraction(j, k, l) | |
23 | - | let n = fraction(k, k, (k + m)) | |
24 | - | $Tuple2([IntegerEntry((i + "positiveZ"), l), IntegerEntry((i + "expPart"), m), IntegerEntry((i + "sigValue"), n)], n) | |
12 | + | func e (f,g) = { | |
13 | + | let h = 2718281 | |
14 | + | let i = 1000000 | |
15 | + | let j = if ((0 > f)) | |
16 | + | then -(f) | |
17 | + | else f | |
18 | + | let k = fraction(h, i, j) | |
19 | + | let l = fraction(i, i, (i + k)) | |
20 | + | $Tuple2([IntegerEntry((g + "positiveZ"), j), IntegerEntry((g + "expPart"), k), IntegerEntry((g + "sigValue"), l)], l) | |
25 | 21 | } | |
26 | 22 | ||
27 | 23 | ||
28 | - | func o (p,q,r,i) = { | |
29 | - | let s = ((((fraction(p[0], q[0][0], 1000000) + fraction(p[1], q[0][1], 1000000)) + fraction(p[2], q[0][2], 1000000)) + fraction(p[3], q[0][3], 1000000)) + r[0]) | |
30 | - | let t = ((((fraction(p[0], q[1][0], 1000000) + fraction(p[1], q[1][1], 1000000)) + fraction(p[2], q[1][2], 1000000)) + fraction(p[3], q[1][3], 1000000)) + r[1]) | |
31 | - | let u = ((((fraction(p[0], q[2][0], 1000000) + fraction(p[1], q[2][1], 1000000)) + fraction(p[2], q[2][2], 1000000)) + fraction(p[3], q[2][3], 1000000)) + r[2]) | |
32 | - | let v = ((((fraction(p[0], q[3][0], 1000000) + fraction(p[1], q[3][1], 1000000)) + fraction(p[2], q[3][2], 1000000)) + fraction(p[3], q[3][3], 1000000)) + r[3]) | |
33 | - | let w = g(s, (i + "L1N0")) | |
34 | - | let x = w._1 | |
35 | - | let y = w._2 | |
36 | - | let z = g(t, (i + "L1N1")) | |
37 | - | let A = z._1 | |
38 | - | let B = z._2 | |
39 | - | let C = g(u, (i + "L1N2")) | |
40 | - | let D = C._1 | |
41 | - | let E = C._2 | |
42 | - | let F = g(v, (i + "L1N3")) | |
43 | - | let G = F._1 | |
44 | - | let H = F._2 | |
45 | - | $Tuple2([y, B, E, H], (((x ++ A) ++ D) ++ G)) | |
24 | + | func m (n,o,p,g) = { | |
25 | + | let q = ((fraction(n[0], o[0][0], 1000000) + fraction(n[1], o[0][1], 1000000)) + p[0]) | |
26 | + | let r = ((fraction(n[0], o[1][0], 1000000) + fraction(n[1], o[1][1], 1000000)) + p[1]) | |
27 | + | let s = e(q, (g + "L1N0")) | |
28 | + | let t = s._1 | |
29 | + | let u = s._2 | |
30 | + | let v = e(r, (g + "L1N1")) | |
31 | + | let w = v._1 | |
32 | + | let x = v._2 | |
33 | + | $Tuple2([u, x], (t ++ w)) | |
46 | 34 | } | |
47 | 35 | ||
48 | 36 | ||
49 | - | func I (p,q,r,i) = { | |
50 | - | let s = ((fraction(p[0], q[0][0], 1000000) + fraction(p[1], q[0][1], 1000000)) + r[0]) | |
51 | - | let t = ((fraction(p[0], q[1][0], 1000000) + fraction(p[1], q[1][1], 1000000)) + r[1]) | |
52 | - | let J = g(s, (i + "L2N0")) | |
53 | - | let x = J._1 | |
54 | - | let y = J._2 | |
55 | - | let K = g(t, (i + "L2N1")) | |
56 | - | let A = K._1 | |
57 | - | let B = K._2 | |
58 | - | $Tuple2([y, B], (x ++ A)) | |
37 | + | func y (n,o,p,g) = { | |
38 | + | let z = ((fraction(n[0], o[0], 1000000) + fraction(n[1], o[0], 1000000)) + p) | |
39 | + | let A = e(z, g) | |
40 | + | let B = A._1 | |
41 | + | let C = A._2 | |
42 | + | $Tuple2(C, B) | |
59 | 43 | } | |
60 | 44 | ||
61 | 45 | ||
62 | - | func L (p,q,r,i) = { | |
63 | - | let M = ((fraction(p[0], q[0], 1000000) + fraction(p[1], q[0], 1000000)) + r) | |
64 | - | let N = g(M, i) | |
65 | - | let O = N._1 | |
66 | - | let P = N._2 | |
67 | - | $Tuple2(P, O) | |
68 | - | } | |
69 | - | ||
70 | - | ||
71 | - | @Callable(Q) | |
72 | - | func predict (R,S) = { | |
73 | - | let T = if ((R == 1)) | |
46 | + | @Callable(D) | |
47 | + | func predict (E,F) = { | |
48 | + | let G = if ((E == 1)) | |
74 | 49 | then 1000000 | |
75 | 50 | else 0 | |
76 | - | let | |
51 | + | let H = if ((F == 1)) | |
77 | 52 | then 1000000 | |
78 | 53 | else 0 | |
79 | - | let V = [T, U] | |
80 | - | let W = o(V, a, b, "Layer1") | |
81 | - | let X = W._1 | |
82 | - | let Y = W._2 | |
83 | - | let Z = I(X, c, d, "Layer2") | |
84 | - | let aa = Z._1 | |
85 | - | let ab = Z._2 | |
86 | - | let ac = L(aa, [-8939640, 9517362], -192349, "Layer3") | |
87 | - | let ad = ac._1 | |
88 | - | let ae = ac._2 | |
89 | - | [IntegerEntry("result", ad)] | |
54 | + | let I = [G, H] | |
55 | + | let J = m(I, a, b, "Layer1") | |
56 | + | let K = J._1 | |
57 | + | let L = J._2 | |
58 | + | let M = y(K, [8329656, -8971418], -3811788, "Layer2") | |
59 | + | let N = M._1 | |
60 | + | let O = M._2 | |
61 | + | [IntegerEntry("result", N)] | |
90 | 62 | } | |
91 | 63 | ||
92 | 64 |
github/deemru/w8io/03bedc9 27.35 ms ◑![]()