tx · 6AZxiEuqsazyqdsd3E2inWMHJ7L7pdw7Lu6eAAB19ekH 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37: -0.01000000 Waves 2023.03.17 13:59 [2493905] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves
{ "type": 13, "id": "6AZxiEuqsazyqdsd3E2inWMHJ7L7pdw7Lu6eAAB19ekH", "fee": 1000000, "feeAssetId": null, "timestamp": 1679050789591, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "5yWUqzhYPC4L31aTk4XTp8SZUJKn88uR87gzhndcEZ3UuFXk7Wi8B4596bH2LwuB1CbmXCiP5Lqeam9NLMjaznGR" ], "script": "base64:BgIHCAISAwoBCAIAB01VTFQxOFgJAKcDAQITMTAwMDAwMDAwMDAwMDAwMDAwMAAERTE4WAkApwMBAhMyNzE4MjgxODI4NDU5MDQ1MjM1AQFpAQVnYW1tYQEEelN0cgQDejE4CQCnAwEFBHpTdHIKAQVjaGFpbgIDYWNjAWkJALgCAgkAtwICBQN6MTgJALkCAgkAtgIBCQBlAgkAZAIFAWkFAWkAAQUHTVVMVDE4WAkAvAIDCQC5AgIJALYCAQkAaAIFAWkFAWkFB01VTFQxOFgFB01VTFQxOFgFA2FjYwQBZgoAAiRsCQDMCAIAEQkAzAgCABAJAMwIAgAPCQDMCAIADgkAzAgCAA0JAMwIAgAMCQDMCAIACwkAzAgCAAoJAMwIAgAJCQDMCAIACAkAzAgCAAcJAMwIAgAGCQDMCAIABQkAzAgCAAQJAMwIAgADCQDMCAIAAgkAzAgCAAEFA25pbAoAAiRzCQCQAwEFAiRsCgAFJGFjYzAFB01VTFQxOFgKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBBWNoYWluAgUCJGEJAJEDAgUCJ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kZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZAkAlAoCBQNuaWwJAKYDAQkAvAIDCQB2BgUERTE4WAASCQC+AgEFA3oxOAASABIFBkhBTEZVUAUHTVVMVDE4WAUBZgBf7f4Z", "height": 2493905, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6isZVbS2dGiE586b16kH1RYQtAtoHX9nLmcktMxnVonq Next: 9zwvXQe9vrUWVLXWhRBHsuYTrzpzXtrRL1EfnQbYsQwv Diff:
Old | New | Differences | |
---|---|---|---|
11 | 11 | func f (g,c) = ((e + (toBigInt(((c + c) - 1)) * a)) - fraction((toBigInt((c * c)) * a), a, g)) | |
12 | 12 | ||
13 | 13 | let h = { | |
14 | - | let i = [16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] | |
14 | + | let i = [17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] | |
15 | 15 | let j = size(i) | |
16 | 16 | let k = a | |
17 | 17 | func l (m,n) = if ((n >= j)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = parseBigIntValue("1000000000000000000") | |
5 | 5 | ||
6 | 6 | let b = parseBigIntValue("2718281828459045235") | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func gamma (d) = { | |
10 | 10 | let e = parseBigIntValue(d) | |
11 | 11 | func f (g,c) = ((e + (toBigInt(((c + c) - 1)) * a)) - fraction((toBigInt((c * c)) * a), a, g)) | |
12 | 12 | ||
13 | 13 | let h = { | |
14 | - | let i = [16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] | |
14 | + | let i = [17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] | |
15 | 15 | let j = size(i) | |
16 | 16 | let k = a | |
17 | 17 | func l (m,n) = if ((n >= j)) | |
18 | 18 | then m | |
19 | 19 | else f(m, i[n]) | |
20 | 20 | ||
21 | 21 | func o (m,n) = if ((n >= j)) | |
22 | 22 | then m | |
23 | 23 | else throw("List size exceeds 100") | |
24 | 24 | ||
25 | 25 | o(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(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), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
26 | 26 | } | |
27 | 27 | $Tuple2(nil, toString(fraction(pow(b, 18, -(e), 18, 18, HALFUP), a, h))) | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 |
github/deemru/w8io/026f985 27.49 ms ◑