tx · GrYgFiPFtYBHK5z9HdzqdS27NYqqNRNR7QHf3AxwJu1z
3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY: -0.01000000 Waves
2024.04.16 23:30 [3065796] smart account 3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY > SELF 0.00000000 Waves
{
"type": 13,
"id": "GrYgFiPFtYBHK5z9HdzqdS27NYqqNRNR7QHf3AxwJu1z",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1713299337067,
"version": 2,
"chainId": 84,
"sender": "3N3n75UqB8G1GKmXFr4zPhKCjGcqJPRSuJY",
"senderPublicKey": "2AWdnJuBMzufXSjTvzVcawBQQhnhF1iXR6QNVgwn33oc",
"proofs": [
"4xgM47Ng9cNwazp4NCtZTZthXRuUDF6s7eVwR11imeCnbo3QDCMR89CrbGbWNiC18yhZUYB8SgnCA4kFxjsF7x4H"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAcAAAAADWxheWVyMVdlaWdodHMJAARMAAAAAgkABEwAAAACAAAAAAAACSmwCQAETAAAAAIAAAAAAAAJKpwFAAAAA25pbAkABEwAAAACCQAETAAAAAIAAAAAAAAGUfUJAARMAAAAAgAAAAAAAAZSLAUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMUJpYXNlcwkABEwAAAACAP///////AwWCQAETAAAAAIA///////2TQsFAAAAA25pbAAAAAANbGF5ZXIyV2VpZ2h0cwkABEwAAAACCQAETAAAAAIAAAAAAAAMtcYJAARMAAAAAgD///////JPigUAAAADbmlsBQAAAANuaWwAAAAADGxheWVyMkJpYXNlcwkABEwAAAACAP//////+i8GBQAAAANuaWwBAAAAB3NpZ21vaWQAAAACAAAAAXoAAAALZGVidWdQcmVmaXgEAAAAAWUAAAAAAAApekkEAAAABGJhc2UAAAAAAAAPQkAEAAAACXBvc2l0aXZlWgMJAABmAAAAAgAAAAAAAAAAAAUAAAABegkBAAAAAS0AAAABBQAAAAF6BQAAAAF6BAAAAAdleHBQYX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XIyAAAAAA2bcSU=",
"height": 3065796,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: M1cUmR4buw3m1ApiJjeGXmKDuNfXDeYV5g723kcmemh
Next: 63HL2ET9udUcXr31RyWXVSbexg4dmVv2RJVheQd1HjGm
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = [[600496, 600732], [414196, 414252]] |
---|
| 4 | + | let a = [[600496, 600732], [414197, 414252]] |
---|
5 | 5 | | |
---|
6 | 6 | | let b = [-259050, -635637] |
---|
7 | 7 | | |
---|
8 | | - | let c = [[832965, -897141]] |
---|
| 8 | + | let c = [[832966, -897142]] |
---|
9 | 9 | | |
---|
10 | 10 | | let d = [-381178] |
---|
11 | 11 | | |
---|
|
16 | 16 | | then -(f) |
---|
17 | 17 | | else f |
---|
18 | 18 | | let k = fraction(h, i, j) |
---|
19 | | - | let l = fraction(i, i, (i + k)) |
---|
| 19 | + | let l = fraction(i, (i + k), i) |
---|
20 | 20 | | $Tuple2([IntegerEntry((g + "positiveZ"), j), IntegerEntry((g + "expPart"), k), IntegerEntry((g + "sigValue"), l)], l) |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
|
39 | 39 | | let z = e(q, "Layer2N0") |
---|
40 | 40 | | let t = z._1 |
---|
41 | 41 | | let u = z._2 |
---|
42 | | - | $Tuple2([u], t) |
---|
| 42 | + | $Tuple2(u, t) |
---|
43 | 43 | | } |
---|
44 | 44 | | |
---|
45 | 45 | | |
---|
|
58 | 58 | | let J = y(H, c, d, "Layer2") |
---|
59 | 59 | | let K = J._1 |
---|
60 | 60 | | let L = J._2 |
---|
61 | | - | (([IntegerEntry("result", K[0])] ++ I) ++ L) |
---|
| 61 | + | (([IntegerEntry("result", K)] ++ I) ++ L) |
---|
62 | 62 | | } |
---|
63 | 63 | | |
---|
64 | 64 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = [[600496, 600732], [414196, 414252]] |
---|
| 4 | + | let a = [[600496, 600732], [414197, 414252]] |
---|
5 | 5 | | |
---|
6 | 6 | | let b = [-259050, -635637] |
---|
7 | 7 | | |
---|
8 | | - | let c = [[832965, -897141]] |
---|
| 8 | + | let c = [[832966, -897142]] |
---|
9 | 9 | | |
---|
10 | 10 | | let d = [-381178] |
---|
11 | 11 | | |
---|
12 | 12 | | func e (f,g) = { |
---|
13 | 13 | | let h = 2718281 |
---|
14 | 14 | | let i = 1000000 |
---|
15 | 15 | | let j = if ((0 > f)) |
---|
16 | 16 | | then -(f) |
---|
17 | 17 | | else f |
---|
18 | 18 | | let k = fraction(h, i, j) |
---|
19 | | - | let l = fraction(i, i, (i + k)) |
---|
| 19 | + | let l = fraction(i, (i + k), i) |
---|
20 | 20 | | $Tuple2([IntegerEntry((g + "positiveZ"), j), IntegerEntry((g + "expPart"), k), IntegerEntry((g + "sigValue"), l)], l) |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | func m (n,o,p,g) = { |
---|
25 | 25 | | let q = ((fraction(n[0], o[0][0], 1000000) + fraction(n[1], o[0][1], 1000000)) + p[0]) |
---|
26 | 26 | | let r = ((fraction(n[0], o[1][0], 1000000) + fraction(n[1], o[1][1], 1000000)) + p[1]) |
---|
27 | 27 | | let s = e(q, "Layer1N0") |
---|
28 | 28 | | let t = s._1 |
---|
29 | 29 | | let u = s._2 |
---|
30 | 30 | | let v = e(r, "Layer1N1") |
---|
31 | 31 | | let w = v._1 |
---|
32 | 32 | | let x = v._2 |
---|
33 | 33 | | $Tuple2([u, x], (t ++ w)) |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|
36 | 36 | | |
---|
37 | 37 | | func y (n,o,p,g) = { |
---|
38 | 38 | | let q = ((fraction(n[0], o[0][0], 1000000) + fraction(n[1], o[0][1], 1000000)) + p[0]) |
---|
39 | 39 | | let z = e(q, "Layer2N0") |
---|
40 | 40 | | let t = z._1 |
---|
41 | 41 | | let u = z._2 |
---|
42 | | - | $Tuple2([u], t) |
---|
| 42 | + | $Tuple2(u, t) |
---|
43 | 43 | | } |
---|
44 | 44 | | |
---|
45 | 45 | | |
---|
46 | 46 | | @Callable(A) |
---|
47 | 47 | | func predict (B,C) = { |
---|
48 | 48 | | let D = if ((B == 1)) |
---|
49 | 49 | | then 1000000 |
---|
50 | 50 | | else 0 |
---|
51 | 51 | | let E = if ((C == 1)) |
---|
52 | 52 | | then 1000000 |
---|
53 | 53 | | else 0 |
---|
54 | 54 | | let F = [D, E] |
---|
55 | 55 | | let G = m(F, a, b, "Layer1") |
---|
56 | 56 | | let H = G._1 |
---|
57 | 57 | | let I = G._2 |
---|
58 | 58 | | let J = y(H, c, d, "Layer2") |
---|
59 | 59 | | let K = J._1 |
---|
60 | 60 | | let L = J._2 |
---|
61 | | - | (([IntegerEntry("result", K[0])] ++ I) ++ L) |
---|
| 61 | + | (([IntegerEntry("result", K)] ++ I) ++ L) |
---|
62 | 62 | | } |
---|
63 | 63 | | |
---|
64 | 64 | | |
---|