tx · 6zK6RvLbiRZvALH9AvRih6AafosnAV1XYARcQMm7BC3C

3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37:  -0.01000000 Waves

2023.03.17 23:05 [2494453] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves

{ "type": 13, "id": "6zK6RvLbiRZvALH9AvRih6AafosnAV1XYARcQMm7BC3C", "fee": 1000000, "feeAssetId": null, "timestamp": 1679083514314, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "VWanWCVUBGmUaPEPZRofh6jNHdrUtmnMtJ5GzQiL2NCxZ7wTET5io7dPUhTh7sh4tcHBjBJLzH9LMYymvAjKtmJ" ], "script": "base64:BgIHCAISAwoBCAMAB01VTFQzNlgJAKcDAQIlMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAHTVVMVDE4WAkApwMBAhMxMDAwMDAwMDAwMDAwMDAwMDAwAARFMThYCQCnAwECEzI3MTgyODE4Mjg0NTkwNDUyMzUBAWkBBWdhbW1hAQZ6U3RyMTgEA3oxOAkApwMBBQZ6U3RyMTgEA3ozNgkAuQICBQN6MTgFB01VTFQxOFgKAQVjaGFpbgIDYWNjAWkJALgCAgkAtwICBQN6MzYJALkCAgkAtgIBCQBlAgkAZAIFAWkFAWkAAQUHTVVMVDM2WAkAvAIDCQC5AgIJALYCAQkAaAIFAWkFAWkFB01VTFQzNlgFB01VTFQzNlgFA2FjYwQBZgoAAiRsCQDMCAIAFAkAzAgCABMJAMwIAgASCQDMCAIAEQkAzAgCABAJAMwIAgAPCQDMCAIADgkAzAgCAA0JAMwIAgAMCQDMCAIACwkAzAgCAAoJAMwIAgAJCQDMCAIACAkAzAgCAAcJAMwIAgAGCQDMCAIABQkAzAgCAAQJAMwIAgADCQDMCAIAAgkAzAgCAAEFA25pbAoAAiRzCQCQAwEFAiRsCgAFJGFjYzAFB01VTFQzNlgKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBBWNoYWluAgUCJGEJAJEDAgUCJGwFAiRpCgEFJGYwXzICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhRMaXN0IHNpemUgZXhjZWVkcyAyMAkBBSRmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQJAJQKAgUDbmlsCQCmAwEJALwCAwkAdgYFBEUxOFgAEgkAvgIBBQN6MTgAEgASBQZIQUxGVVAFB01VTFQzNlgFAWYA8og1EQ==", "height": 2494453, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AG7BYyXbzFoAAwTSSoS6nLeStXq55svKGMF49TuSGqgs Next: 7mJT3ffejiDjPU1shELCEosjWsvCwqkBbDtLVR9Bm8YF Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = parseBigIntValue("1000000000000000000")
4+let a = parseBigIntValue("1000000000000000000000000000000000000")
55
6-let b = parseBigIntValue("2718281828459045235")
6+let b = parseBigIntValue("1000000000000000000")
77
8-@Callable(c)
9-func gamma (d) = {
10- let e = parseBigIntValue(d)
11- func f (g,c) = ((e + (toBigInt(((c + c) - 1)) * a)) - fraction((toBigInt((c * c)) * a), a, g))
8+let c = parseBigIntValue("2718281828459045235")
129
13- let h = {
14- let i = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
15- let j = size(i)
16- let k = a
17- func l (m,n) = if ((n >= j))
18- then m
19- else f(m, i[n])
10+@Callable(d)
11+func gamma (e) = {
12+ let f = parseBigIntValue(e)
13+ let g = (f * b)
14+ func h (i,d) = ((g + (toBigInt(((d + d) - 1)) * a)) - fraction((toBigInt((d * d)) * a), a, i))
2015
21- func o (m,n) = if ((n >= j))
22- then m
16+ let j = {
17+ let k = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
18+ let l = size(k)
19+ let m = a
20+ func n (o,p) = if ((p >= l))
21+ then o
22+ else h(o, k[p])
23+
24+ func q (o,p) = if ((p >= l))
25+ then o
2326 else throw("List size exceeds 20")
2427
25- o(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(k, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
28+ q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
2629 }
27- $Tuple2(nil, toString(fraction(pow(b, 18, -(e), 18, 18, HALFUP), a, h)))
30+ $Tuple2(nil, toString(fraction(pow(c, 18, -(f), 18, 18, HALFUP), a, j)))
2831 }
2932
3033

github/deemru/w8io/026f985 
32.86 ms