tx · GP9iozU2MfvTbtZjuiiRDDDxVUDMnpD4NMfycqXshR7J 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37: -0.01000000 Waves 2022.11.01 11:57 [2297832] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves
{ "type": 13, "id": "GP9iozU2MfvTbtZjuiiRDDDxVUDMnpD4NMfycqXshR7J", "fee": 1000000, "feeAssetId": null, "timestamp": 1667293118764, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "5Np2gfLPMR4Z5dvXf4NtKXzLjwJFiFNc8VP2UCQQJSi72rUc6bKQavY5GWdYNsYun2S4zqtymUEKKbZriCpEtLo2" ], "script": "base64:BgICCAIEAANPTkUJALYCAQABAAdudW1iZXJzCQDMCAIAAQkAzAgCAAIJAMwIAgADCQDMCAIABAkAzAgCAAUJAMwIAgAGCQDMCAIABwkAzAgCAAgJAMwIAgAJCQDMCAIACgkAzAgCAAsJAMwIAgAMCQDMCAIADQkAzAgCAA4JAMwIAgAPCQDMCAIAEAkAzAgCABEJAMwIAgASCQDMCAIAEwkAzAgCABQJAMwIAgAVCQDMCAIAFgkAzAgCABcJAMwIAgAYCQDMCAIAGQkAzAgCABoJAMwIAgAbCQDMCAIAHAkAzAgCAB0JAMwIAgAeCQDMCAIAHwkAzAgCACAJAMwIAgAhCQDMCAIAIgkAzAgCACMJAMwIAgAkCQDMCAIAJQkAzAgCACYJAMwIAgAnCQDMCAIAKAkAzAgCACkJAMwIAgAqCQDMCAIAKwkAzAgCACwJAMwIAgAtCQDMCAIALgkAzAgCAC8JAMwIAgAwCQDMCAIAMQkAzAgCADIJAMwIAgAzCQDMCAIANAkAzAgCADUJAMwIAgA2CQDMCAIANwkAzAgCADgJAMwIAgA5CQDMCAIAOgkAzAgCADsJAMwI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kBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMAJAAlACYAJwAoACkAKgArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQA6ADsAPAA9AD4APwBAAEEAQgBDAEQARQBGAEcASABJAEoASwBMAE0ATgBPAFAAUQBSAFMAVABVAFYAVwBYAFkAWgBbAFwAXQBeAF8AYABhAGIAYwgFAXgCXzEAAOSY2+U=", "height": 2297832, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DzEczqjtCrhvmn6FYUBn76etRhsNj6p3sGG48wKMu7UD Next: HonLVJffqMpVYL7dVy9HEGWHJP1fuVvL86VnWJPx5oei Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | let b = [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] | |
7 | 7 | ||
8 | - | let c = | |
8 | + | let c = parseBigIntValue("10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") | |
9 | 9 | ||
10 | 10 | func d () = { | |
11 | 11 | func e (f,g) = { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = toBigInt(1) | |
5 | 5 | ||
6 | 6 | let b = [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] | |
7 | 7 | ||
8 | - | let c = | |
8 | + | let c = parseBigIntValue("10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") | |
9 | 9 | ||
10 | 10 | func d () = { | |
11 | 11 | func e (f,g) = { | |
12 | 12 | let h = f | |
13 | 13 | let i = h._1 | |
14 | 14 | let j = h._2 | |
15 | 15 | let k = fraction(j, toBigInt(g), a) | |
16 | 16 | if ((k > c)) | |
17 | 17 | then f | |
18 | 18 | else $Tuple2((i + fraction(c, a, k)), k) | |
19 | 19 | } | |
20 | 20 | ||
21 | 21 | let l = { | |
22 | 22 | let m = b | |
23 | 23 | let n = size(m) | |
24 | 24 | let o = $Tuple2(c, a) | |
25 | 25 | func p (q,r) = if ((r >= n)) | |
26 | 26 | then q | |
27 | 27 | else e(q, m[r]) | |
28 | 28 | ||
29 | 29 | func s (q,r) = if ((r >= n)) | |
30 | 30 | then q | |
31 | 31 | else throw("List size exceeds 99") | |
32 | 32 | ||
33 | 33 | s(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(o, 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) | |
34 | 34 | } | |
35 | 35 | l._1 | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 |
github/deemru/w8io/169f3d6 28.64 ms ◑