tx · AyLVuLvY7SLtVSt8kiTLyUjyLyhHHLFGp8jWtDSd9Ldq 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01100000 Waves 2023.10.31 15:04 [2822797] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "AyLVuLvY7SLtVSt8kiTLyUjyLyhHHLFGp8jWtDSd9Ldq", "fee": 1100000, "feeAssetId": null, "timestamp": 1698753871788, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "3G6ZpESeC1cQuv96A6uG4ZVQqkFnVWywibEkpbg3EqQz8WjPVS1cvaemPWVhAKWJHuVwi246V9zZy43b2Vitw2Cm" ], "script": "base64:AAIFAAAAAAAAABYIAhIECgIIARIDCgEIEgASAwoBCBIAAAAACQAAAAACbGkJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAE1CQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNwkABEwAAAACAgAAAAE4CQAETAAAAAICAAAAATkJAARMAAAAAgIAAAACMTAJAARMAAAAAgIAAAACMTEJAARMAAAAAgIAAAACMTIJAARMAAAAAgIAAAACMTMJAARMAAAAAgIAAAACMTQJAARMAAAAAgIAAAACMTUJAARMAAAAAgIAAAACMTYJAARMAAAAAgIAAAACMTcJAARMAAAAAgIAAAACMTgJAARMAAAAAgIAAAACMTkJAARMAAAAAgIAAAACMjAJAARMAAAAAgIAAAACMjEJAARMAAAAAgIAAAACMjIJAARMAAAAAgIAAAACMjMJAARMAAAAAgIAAAACMjQJAARMAAAAAgIAAAACMjUJAARMAAAAAgIAAAACMjYJAARMAAAAAgIAAAACMjcJAARMAAAAAgIAAAACMjgJAARMAAAAAgIAAAACMjkJAAR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W5kBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAD0rjgY=", "height": 2822797, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3imdpSzRea7RiSknvGsKqQswwuzXiTjuY1UxoLY4uwQK Next: 9BpCvCuAiyqx1LXS1VfVa4Dbq8VXccnedFLxZZ9rWEtr Diff:
Old | New | Differences | |
---|---|---|---|
73 | 73 | func addBoosting (u,v) = { | |
74 | 74 | let w = t.payments[0].amount | |
75 | 75 | let j = i(t.payments[0].assetId) | |
76 | - | let x = invoke(this, "findEndedBoosting", nil, nil) | |
77 | - | if ((x == x)) | |
78 | - | then { | |
79 | - | let y = (d("global_boostingsAmount") + 1) | |
80 | - | let n = toString(y) | |
81 | - | if ((addressFromString(u) == unit)) | |
82 | - | then throw("incorrect pool address") | |
83 | - | else [IntegerEntry("global_boostingsAmount", y), IntegerEntry((("boosting_" + n) + "_days"), v), IntegerEntry((("boosting_" + n) + "_totalAmount"), w), IntegerEntry((("boosting_" + n) + "_dailyAmount"), (w / v)), IntegerEntry((("boosting_" + n) + "_blockAmount"), (w / ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_startHeight"), height), IntegerEntry((("boosting_" + n) + "_finishHeight"), (height + ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_finishTimestamp"), (lastBlock.timestamp + ((((v * b) * c) * 60) * 1000))), IntegerEntry((("boosting_" + n) + "_lastHeight"), height), StringEntry((("boosting_" + n) + "_assetId"), j), StringEntry((("boosting_" + n) + "_owner"), toString(t.caller)), StringEntry((("boosting_" + n) + "_poolId"), u), StringEntry((("pool_" + u) + "_boostings"), ((h((("pool_" + u) + "_boostings")) + n) + ","))] | |
84 | - | } | |
85 | - | else throw("Strict value is not equal to itself.") | |
76 | + | let x = (d("global_boostingsAmount") + 1) | |
77 | + | let n = toString(x) | |
78 | + | if ((addressFromString(u) == unit)) | |
79 | + | then throw("incorrect pool address") | |
80 | + | else [IntegerEntry("global_boostingsAmount", x), IntegerEntry((("boosting_" + n) + "_days"), v), IntegerEntry((("boosting_" + n) + "_totalAmount"), w), IntegerEntry((("boosting_" + n) + "_dailyAmount"), (w / v)), IntegerEntry((("boosting_" + n) + "_blockAmount"), (w / ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_startHeight"), height), IntegerEntry((("boosting_" + n) + "_finishHeight"), (height + ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_finishTimestamp"), (lastBlock.timestamp + ((((v * b) * c) * 60) * 1000))), IntegerEntry((("boosting_" + n) + "_lastHeight"), height), StringEntry((("boosting_" + n) + "_assetId"), j), StringEntry((("boosting_" + n) + "_owner"), toString(t.caller)), StringEntry((("boosting_" + n) + "_poolId"), u), StringEntry((("pool_" + u) + "_boostings"), ((h((("pool_" + u) + "_boostings")) + n) + ","))] | |
86 | 81 | } | |
87 | 82 | ||
88 | 83 | ||
94 | 89 | ||
95 | 90 | @Callable(t) | |
96 | 91 | func payBoostings () = { | |
97 | - | func | |
98 | - | let | |
99 | - | if (( | |
100 | - | then | |
92 | + | func y (z,A) = { | |
93 | + | let B = invoke(this, "payBoosting", [A], nil) | |
94 | + | if ((B == B)) | |
95 | + | then B | |
101 | 96 | else throw("Strict value is not equal to itself.") | |
102 | 97 | } | |
103 | 98 | ||
104 | - | let | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | func | |
109 | - | then | |
110 | - | else | |
99 | + | let C = { | |
100 | + | let D = a | |
101 | + | let E = size(D) | |
102 | + | let F = 0 | |
103 | + | func G (H,I) = if ((I >= E)) | |
104 | + | then H | |
105 | + | else y(H, D[I]) | |
111 | 106 | ||
112 | - | func | |
113 | - | then | |
107 | + | func J (H,I) = if ((I >= E)) | |
108 | + | then H | |
114 | 109 | else throw("List size exceeds 100") | |
115 | 110 | ||
116 | - | | |
111 | + | J(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(F, 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) | |
117 | 112 | } | |
118 | - | if (( | |
113 | + | if ((C == C)) | |
119 | 114 | then nil | |
120 | 115 | else throw("Strict value is not equal to itself.") | |
121 | 116 | } | |
129 | 124 | ||
130 | 125 | @Callable(t) | |
131 | 126 | func getList () = { | |
132 | - | func | |
133 | - | let | |
134 | - | if (( | |
135 | - | then | |
127 | + | func y (z,A) = { | |
128 | + | let B = invoke(this, "getEndedList", [A], nil) | |
129 | + | if ((B == B)) | |
130 | + | then B | |
136 | 131 | else throw("Strict value is not equal to itself.") | |
137 | 132 | } | |
138 | 133 | ||
139 | - | let | |
140 | - | let | |
141 | - | let | |
142 | - | let | |
143 | - | func | |
144 | - | then | |
145 | - | else | |
134 | + | let K = { | |
135 | + | let D = a | |
136 | + | let E = size(D) | |
137 | + | let F = 0 | |
138 | + | func G (H,I) = if ((I >= E)) | |
139 | + | then H | |
140 | + | else y(H, D[I]) | |
146 | 141 | ||
147 | - | func | |
148 | - | then | |
142 | + | func J (H,I) = if ((I >= E)) | |
143 | + | then H | |
149 | 144 | else throw("List size exceeds 100") | |
150 | 145 | ||
151 | - | | |
146 | + | J(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(F, 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) | |
152 | 147 | } | |
153 | - | if (( | |
148 | + | if ((K == K)) | |
154 | 149 | then nil | |
155 | 150 | else throw("Strict value is not equal to itself.") | |
156 | 151 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = ["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", "55", "56"] | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | func d (e) = { | |
11 | 11 | let f = getInteger(this, e) | |
12 | 12 | if ($isInstanceOf(f, "Int")) | |
13 | 13 | then { | |
14 | 14 | let g = f | |
15 | 15 | g | |
16 | 16 | } | |
17 | 17 | else 0 | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func h (e) = { | |
22 | 22 | let f = getString(this, e) | |
23 | 23 | if ($isInstanceOf(f, "String")) | |
24 | 24 | then { | |
25 | 25 | let g = f | |
26 | 26 | g | |
27 | 27 | } | |
28 | 28 | else "" | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func i (j) = { | |
33 | 33 | let f = j | |
34 | 34 | if ($isInstanceOf(f, "ByteVector")) | |
35 | 35 | then { | |
36 | 36 | let g = f | |
37 | 37 | toBase58String(g) | |
38 | 38 | } | |
39 | 39 | else "WAVES" | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func k (l) = if ((l == "WAVES")) | |
44 | 44 | then unit | |
45 | 45 | else fromBase58String(l) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func m (n) = { | |
49 | 49 | let o = d((("boosting_" + n) + "_lastHeight")) | |
50 | 50 | let p = d((("boosting_" + n) + "_finishHeight")) | |
51 | 51 | if (if ((o != 0)) | |
52 | 52 | then (p > o) | |
53 | 53 | else false) | |
54 | 54 | then { | |
55 | 55 | let q = d((("boosting_" + n) + "_blockAmount")) | |
56 | 56 | let r = ((min([p, height]) - o) * q) | |
57 | 57 | [IntegerEntry((("boosting_" + n) + "_lastHeight"), height), ScriptTransfer(addressFromStringValue(h((("boosting_" + n) + "_poolId"))), r, k(h((("boosting_" + n) + "_assetId"))))] | |
58 | 58 | } | |
59 | 59 | else nil | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func s (n) = { | |
64 | 64 | let o = d((("boosting_" + n) + "_lastHeight")) | |
65 | 65 | let p = d((("boosting_" + n) + "_finishHeight")) | |
66 | 66 | if ((o >= p)) | |
67 | 67 | then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((h((("list ended " + toString(height)) + " boostingIds")) + n) + ","))] | |
68 | 68 | else nil | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | @Callable(t) | |
73 | 73 | func addBoosting (u,v) = { | |
74 | 74 | let w = t.payments[0].amount | |
75 | 75 | let j = i(t.payments[0].assetId) | |
76 | - | let x = invoke(this, "findEndedBoosting", nil, nil) | |
77 | - | if ((x == x)) | |
78 | - | then { | |
79 | - | let y = (d("global_boostingsAmount") + 1) | |
80 | - | let n = toString(y) | |
81 | - | if ((addressFromString(u) == unit)) | |
82 | - | then throw("incorrect pool address") | |
83 | - | else [IntegerEntry("global_boostingsAmount", y), IntegerEntry((("boosting_" + n) + "_days"), v), IntegerEntry((("boosting_" + n) + "_totalAmount"), w), IntegerEntry((("boosting_" + n) + "_dailyAmount"), (w / v)), IntegerEntry((("boosting_" + n) + "_blockAmount"), (w / ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_startHeight"), height), IntegerEntry((("boosting_" + n) + "_finishHeight"), (height + ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_finishTimestamp"), (lastBlock.timestamp + ((((v * b) * c) * 60) * 1000))), IntegerEntry((("boosting_" + n) + "_lastHeight"), height), StringEntry((("boosting_" + n) + "_assetId"), j), StringEntry((("boosting_" + n) + "_owner"), toString(t.caller)), StringEntry((("boosting_" + n) + "_poolId"), u), StringEntry((("pool_" + u) + "_boostings"), ((h((("pool_" + u) + "_boostings")) + n) + ","))] | |
84 | - | } | |
85 | - | else throw("Strict value is not equal to itself.") | |
76 | + | let x = (d("global_boostingsAmount") + 1) | |
77 | + | let n = toString(x) | |
78 | + | if ((addressFromString(u) == unit)) | |
79 | + | then throw("incorrect pool address") | |
80 | + | else [IntegerEntry("global_boostingsAmount", x), IntegerEntry((("boosting_" + n) + "_days"), v), IntegerEntry((("boosting_" + n) + "_totalAmount"), w), IntegerEntry((("boosting_" + n) + "_dailyAmount"), (w / v)), IntegerEntry((("boosting_" + n) + "_blockAmount"), (w / ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_startHeight"), height), IntegerEntry((("boosting_" + n) + "_finishHeight"), (height + ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_finishTimestamp"), (lastBlock.timestamp + ((((v * b) * c) * 60) * 1000))), IntegerEntry((("boosting_" + n) + "_lastHeight"), height), StringEntry((("boosting_" + n) + "_assetId"), j), StringEntry((("boosting_" + n) + "_owner"), toString(t.caller)), StringEntry((("boosting_" + n) + "_poolId"), u), StringEntry((("pool_" + u) + "_boostings"), ((h((("pool_" + u) + "_boostings")) + n) + ","))] | |
86 | 81 | } | |
87 | 82 | ||
88 | 83 | ||
89 | 84 | ||
90 | 85 | @Callable(t) | |
91 | 86 | func payBoosting (n) = m(n) | |
92 | 87 | ||
93 | 88 | ||
94 | 89 | ||
95 | 90 | @Callable(t) | |
96 | 91 | func payBoostings () = { | |
97 | - | func | |
98 | - | let | |
99 | - | if (( | |
100 | - | then | |
92 | + | func y (z,A) = { | |
93 | + | let B = invoke(this, "payBoosting", [A], nil) | |
94 | + | if ((B == B)) | |
95 | + | then B | |
101 | 96 | else throw("Strict value is not equal to itself.") | |
102 | 97 | } | |
103 | 98 | ||
104 | - | let | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | func | |
109 | - | then | |
110 | - | else | |
99 | + | let C = { | |
100 | + | let D = a | |
101 | + | let E = size(D) | |
102 | + | let F = 0 | |
103 | + | func G (H,I) = if ((I >= E)) | |
104 | + | then H | |
105 | + | else y(H, D[I]) | |
111 | 106 | ||
112 | - | func | |
113 | - | then | |
107 | + | func J (H,I) = if ((I >= E)) | |
108 | + | then H | |
114 | 109 | else throw("List size exceeds 100") | |
115 | 110 | ||
116 | - | | |
111 | + | J(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(F, 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) | |
117 | 112 | } | |
118 | - | if (( | |
113 | + | if ((C == C)) | |
119 | 114 | then nil | |
120 | 115 | else throw("Strict value is not equal to itself.") | |
121 | 116 | } | |
122 | 117 | ||
123 | 118 | ||
124 | 119 | ||
125 | 120 | @Callable(t) | |
126 | 121 | func getEndedList (n) = s(n) | |
127 | 122 | ||
128 | 123 | ||
129 | 124 | ||
130 | 125 | @Callable(t) | |
131 | 126 | func getList () = { | |
132 | - | func | |
133 | - | let | |
134 | - | if (( | |
135 | - | then | |
127 | + | func y (z,A) = { | |
128 | + | let B = invoke(this, "getEndedList", [A], nil) | |
129 | + | if ((B == B)) | |
130 | + | then B | |
136 | 131 | else throw("Strict value is not equal to itself.") | |
137 | 132 | } | |
138 | 133 | ||
139 | - | let | |
140 | - | let | |
141 | - | let | |
142 | - | let | |
143 | - | func | |
144 | - | then | |
145 | - | else | |
134 | + | let K = { | |
135 | + | let D = a | |
136 | + | let E = size(D) | |
137 | + | let F = 0 | |
138 | + | func G (H,I) = if ((I >= E)) | |
139 | + | then H | |
140 | + | else y(H, D[I]) | |
146 | 141 | ||
147 | - | func | |
148 | - | then | |
142 | + | func J (H,I) = if ((I >= E)) | |
143 | + | then H | |
149 | 144 | else throw("List size exceeds 100") | |
150 | 145 | ||
151 | - | | |
146 | + | J(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(F, 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) | |
152 | 147 | } | |
153 | - | if (( | |
148 | + | if ((K == K)) | |
154 | 149 | then nil | |
155 | 150 | else throw("Strict value is not equal to itself.") | |
156 | 151 | } | |
157 | 152 | ||
158 | 153 |
github/deemru/w8io/026f985 90.45 ms ◑