tx · 6sPPaLvDSUy7mWkbhv9Cb4hSYN1LBLfgMhpHySsp7ghW 3P4AdC9J6MzTEi2LL9xgQN8EimMnbk4d6Nt: -0.00600000 Waves 2024.03.26 14:38 [4100885] smart account 3P4AdC9J6MzTEi2LL9xgQN8EimMnbk4d6Nt > SELF 0.00000000 Waves
{ "type": 13, "id": "6sPPaLvDSUy7mWkbhv9Cb4hSYN1LBLfgMhpHySsp7ghW", "fee": 600000, "feeAssetId": null, "timestamp": 1711453127114, "version": 2, "chainId": 87, "sender": "3P4AdC9J6MzTEi2LL9xgQN8EimMnbk4d6Nt", "senderPublicKey": "33BMe2b9KpjJyCQXAKa3DKHqSBjB7q2mEJoiP17cRLAN", "proofs": [ "GnPC3GwJBmN6VTFv39U66yRWEL7qaCRtBAPr5hG3cLWEAvockBYshKcGBmjT7pPPCqffTSUknWj53UjYWPiDssu" ], "script": "base64:BgILCAISABIAEgMKAQEYAA1rZXlJbnZva2VOZXh0AgtpbnZva2UgbmV4dAACZDgAgMLXLwAIcHJvamVjdEIJAQdBZGRyZXNzAQEaAVdwbDRmhirDATU6QoAL3cOQY/2jW4AAS60AB3Jld2FyZHMJAQdBZGRyZXNzAQEaAVcvrvFwaQNjny0gZUUh1HEd/jGd8viso2IABmJvdW50eQkBB0FkZHJlc3MBARoBV7YjoAYajOBZFu8wyv9e/PgMkdYAnWtPwwAKc3RhYmxlc3dhcAkBB0FkZHJlc3MBARoBV3jqxOOJIQWZhtKvJn+sb9l421+tvLFYcAAIVVNEVGRhcHAJAQdBZGRyZXNzAQEaAVf71JwncFfMM9/6I0kiQLjvSbBsjAn0RXkACFVTRENkYXBwCQEHQWRkcmVzcwEBGgFXz6aN3s2+zY3dv+vX54lGQL255gN5PxhyAAd2dnh0bmxwASBsrfjgz4rhcUcNCnloAXRiOOvvbXnzzY2ztsZHwrhpBwAGc3dhdmVzASAIH8j3FjDtUcIpG+ysGo/8kHEcWTgt6yGBsDdB8EXRSgAJYnVybnh0bklkASAkT3V5an4z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SW52b2tlTmV4dAAiACMDCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAAoADIDCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAAyADMDCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAAzADQDCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAA0ADwDCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAA8AD0DCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAA9AD4DCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAA+AD8DCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dAA/AEADCQAAAgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUNa2V5SW52b2tlTmV4dABAAEYAAAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBC2NoYW5nZUVudHJ5AQpJbnZva2VOZXh0AwkBAiE9AggFAWkGY2FsbGVyBQR0aGlzCQACAQIcYWNjZXNzIG9ubHkgYnkgcHJvamVjdCBvd25lcgkAzAgCCQEMSW50ZWdlckVudHJ5AgUNa2V5SW52b2tlTmV4dAUKSW52b2tlTmV4dAUDbmlsAFJVTpo=", "height": 4100885, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4ZHp9CBbVZH7xRhC8AwCGsRzfgLQYiZYT3kwSf8o8ffK Next: 337Wc3QwzCth4PRY4LVfb2qR5Ckcr1Kv4XX21HD5qj3K Diff:
Old | New | Differences | |
---|---|---|---|
110 | 110 | then invoke(projectB, "grow4", nil, nil) | |
111 | 111 | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
112 | 112 | then invoke(projectB, "grow5", nil, nil) | |
113 | - | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
114 | - | then [IntegerEntry(keyInvokeNext, 16)] | |
115 | - | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
116 | - | then invoke(projectB, "grow6", nil, nil) | |
117 | - | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
118 | - | then [IntegerEntry(keyInvokeNext, 30)] | |
119 | - | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
120 | - | then invoke(projectB, "pump", nil, nil) | |
121 | - | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
122 | - | then [IntegerEntry(keyInvokeNext, 30)] | |
123 | - | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
124 | - | then invoke(projectB, "PZbbb", nil, nil) | |
125 | - | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
126 | - | then [IntegerEntry(keyInvokeNext, 31)] | |
127 | - | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
128 | - | then invoke(projectB, "claimBBB", nil, nil) | |
113 | + | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
114 | + | then invoke(projectB, "grow6", nil, nil) | |
115 | + | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
116 | + | then invoke(projectB, "pump", nil, nil) | |
117 | + | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
118 | + | then invoke(projectB, "PZbbb", nil, nil) | |
119 | + | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
120 | + | then invoke(projectB, "claimBBB", nil, nil) | |
121 | + | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
122 | + | then invoke(projectB, "burnSURF", nil, nil) | |
123 | + | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
124 | + | then invoke(projectB, "puzzlePZbbb", nil, nil) | |
125 | + | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
126 | + | then invoke(projectB, "stakePZbbb", nil, nil) | |
127 | + | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
128 | + | then invoke(projectB, "dEntry", nil, nil) | |
129 | + | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
130 | + | then invoke(rewards, "claimRewards", nil, nil) | |
131 | + | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
132 | + | then invoke(rewards, "shillerRewards", nil, nil) | |
133 | + | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
134 | + | then invoke(rewards, "adminRewards", nil, nil) | |
135 | + | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
136 | + | then invoke(bounty, "updateBalanceEntry", nil, nil) | |
137 | + | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
138 | + | then invoke(bounty, "claim", nil, nil) | |
139 | + | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
140 | + | then invoke(bounty, "swap", nil, nil) | |
141 | + | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
142 | + | then invoke(bounty, "totalBalanceAll", nil, nil) | |
143 | + | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
144 | + | then invoke(bounty, "payRewards", nil, nil) | |
145 | + | else unit | |
146 | + | if ((inv00 == inv00)) | |
147 | + | then { | |
148 | + | let usdc = if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
149 | + | then invoke(USDCdapp, "claimAll ", [toString(this)], nil) | |
150 | + | else unit | |
151 | + | if ((usdc == usdc)) | |
152 | + | then { | |
153 | + | let usdt = if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
154 | + | then invoke(USDTdapp, "claimAll ", [toString(this)], nil) | |
155 | + | else unit | |
156 | + | if ((usdt == usdt)) | |
157 | + | then [IntegerEntry(keyInvokeNext, if ((getIntegerValue(this, keyInvokeNext) == 0)) | |
158 | + | then 1 | |
159 | + | else if ((getIntegerValue(this, keyInvokeNext) == 1)) | |
160 | + | then if ((burnxtnwavesprice >= getIntegerValue(projectB, "ATH in wavelets"))) | |
161 | + | then 10 | |
162 | + | else 20 | |
163 | + | else if ((getIntegerValue(this, keyInvokeNext) == 10)) | |
164 | + | then 11 | |
165 | + | else if ((getIntegerValue(this, keyInvokeNext) == 11)) | |
166 | + | then 12 | |
167 | + | else if ((getIntegerValue(this, keyInvokeNext) == 12)) | |
168 | + | then 13 | |
169 | + | else if ((getIntegerValue(this, keyInvokeNext) == 13)) | |
170 | + | then 14 | |
171 | + | else if ((getIntegerValue(this, keyInvokeNext) == 14)) | |
172 | + | then 15 | |
173 | + | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
174 | + | then 16 | |
175 | + | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
176 | + | then 30 | |
177 | + | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
178 | + | then 30 | |
179 | + | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
180 | + | then 31 | |
129 | 181 | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
130 | - | then | |
182 | + | then 32 | |
131 | 183 | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
132 | - | then invoke(projectB, "burnSURF", nil, nil) | |
133 | - | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
134 | - | then [IntegerEntry(keyInvokeNext, 33)] | |
135 | - | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
136 | - | then invoke(projectB, "puzzlePZbbb", nil, nil) | |
137 | - | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
138 | - | then [IntegerEntry(keyInvokeNext, 40)] | |
139 | - | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
140 | - | then invoke(projectB, "stakePZbbb", nil, nil) | |
141 | - | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
142 | - | then [IntegerEntry(keyInvokeNext, 35)] | |
143 | - | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
144 | - | then invoke(projectB, "dEntry", nil, nil) | |
145 | - | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
146 | - | then [IntegerEntry(keyInvokeNext, 50)] | |
147 | - | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
148 | - | then invoke(rewards, "claimRewards", nil, nil) | |
149 | - | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
150 | - | then [IntegerEntry(keyInvokeNext, 51)] | |
151 | - | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
152 | - | then invoke(rewards, "shillerRewards", nil, nil) | |
153 | - | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
154 | - | then [IntegerEntry(keyInvokeNext, 52)] | |
155 | - | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
156 | - | then invoke(rewards, "adminRewards", nil, nil) | |
157 | - | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
158 | - | then [IntegerEntry(keyInvokeNext, 60)] | |
159 | - | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
160 | - | then invoke(bounty, "updateBalanceEntry", nil, nil) | |
161 | - | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
162 | - | then [IntegerEntry(keyInvokeNext, 61)] | |
163 | - | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
164 | - | then invoke(bounty, "claim", nil, nil) | |
165 | - | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
166 | - | then [IntegerEntry(keyInvokeNext, 62)] | |
167 | - | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
168 | - | then invoke(bounty, "swap", nil, nil) | |
169 | - | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
170 | - | then [IntegerEntry(keyInvokeNext, 63)] | |
171 | - | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
172 | - | then invoke(bounty, "totalBalanceAll", nil, nil) | |
173 | - | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
174 | - | then [IntegerEntry(keyInvokeNext, 64)] | |
175 | - | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
176 | - | then invoke(bounty, "payRewards", nil, nil) | |
177 | - | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
178 | - | then [IntegerEntry(keyInvokeNext, 70)] | |
179 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
180 | - | then invoke(USDCdapp, "claimAll ", [toString(this)], nil) | |
181 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
182 | - | then invoke(USDTdapp, "claimAll ", [toString(this)], nil) | |
183 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
184 | - | then [IntegerEntry(keyInvokeNext, 0)] | |
185 | - | else unit | |
186 | - | if ((inv00 == inv00)) | |
187 | - | then [IntegerEntry(keyInvokeNext, if ((getIntegerValue(this, keyInvokeNext) == 0)) | |
188 | - | then 1 | |
189 | - | else if ((getIntegerValue(this, keyInvokeNext) == 1)) | |
190 | - | then if ((burnxtnwavesprice >= getIntegerValue(projectB, "ATH in wavelets"))) | |
191 | - | then 10 | |
192 | - | else 20 | |
193 | - | else if ((getIntegerValue(this, keyInvokeNext) == 10)) | |
194 | - | then 11 | |
195 | - | else if ((getIntegerValue(this, keyInvokeNext) == 11)) | |
196 | - | then 12 | |
197 | - | else if ((getIntegerValue(this, keyInvokeNext) == 12)) | |
198 | - | then 13 | |
199 | - | else if ((getIntegerValue(this, keyInvokeNext) == 13)) | |
200 | - | then 14 | |
201 | - | else if ((getIntegerValue(this, keyInvokeNext) == 14)) | |
202 | - | then 15 | |
203 | - | else 0)] | |
184 | + | then 33 | |
185 | + | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
186 | + | then 40 | |
187 | + | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
188 | + | then 35 | |
189 | + | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
190 | + | then 50 | |
191 | + | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
192 | + | then 51 | |
193 | + | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
194 | + | then 52 | |
195 | + | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
196 | + | then 60 | |
197 | + | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
198 | + | then 61 | |
199 | + | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
200 | + | then 62 | |
201 | + | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
202 | + | then 63 | |
203 | + | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
204 | + | then 64 | |
205 | + | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
206 | + | then 70 | |
207 | + | else 0)] | |
208 | + | else throw("Strict value is not equal to itself.") | |
209 | + | } | |
210 | + | else throw("Strict value is not equal to itself.") | |
211 | + | } | |
204 | 212 | else throw("Strict value is not equal to itself.") | |
205 | 213 | } | |
206 | 214 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let keyInvokeNext = "invoke next" | |
5 | 5 | ||
6 | 6 | let d8 = 100000000 | |
7 | 7 | ||
8 | 8 | let projectB = Address(base58'3PCBL2vbjAVFbiCwmGsPmT6QdATutQnM8ov') | |
9 | 9 | ||
10 | 10 | let rewards = Address(base58'3P6H24XKLyRX8RKwyA5ARsChE6WhjDcVBiZ') | |
11 | 11 | ||
12 | 12 | let bounty = Address(base58'3PJXxPS9FxZsSLyP9gA47dSLwMinoFyfYFC') | |
13 | 13 | ||
14 | 14 | let stableswap = Address(base58'3PCxF4JryswYYp9mpUtE725wjTgvpBmp3M9') | |
15 | 15 | ||
16 | 16 | let USDTdapp = Address(base58'3PQtT2o7g8HmcZLGodx4L7YDe7ngb26wjYk') | |
17 | 17 | ||
18 | 18 | let USDCdapp = Address(base58'3PLrr8LpfYjUadnEQ1ov61uMWHdMopUCNAm') | |
19 | 19 | ||
20 | 20 | let vvxtnlp = base58'8KEtor9aSsSj38MknyAE7k1uRThHY9prAXgiE4D7WpyL' | |
21 | 21 | ||
22 | 22 | let swaves = base58'YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7' | |
23 | 23 | ||
24 | 24 | let burnxtnId = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns' | |
25 | 25 | ||
26 | 26 | let SWAVES_stake = Address(base58'3PDPzZVLhN1EuzGy4xAxjjTVkawKDLEaHiV') | |
27 | 27 | ||
28 | 28 | func _loadInt (key_,default_) = match getInteger(SWAVES_stake, key_) { | |
29 | 29 | case a: Int => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | default_ | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func _loadBigInt (key_,default_) = match getBinary(SWAVES_stake, key_) { | |
37 | 37 | case a: ByteVector => | |
38 | 38 | toBigInt(a) | |
39 | 39 | case _ => | |
40 | 40 | default_ | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | let WX_BURNXTN_WAVES = Address(base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5') | |
45 | 45 | ||
46 | 46 | let lastRate = _loadBigInt("LAST_RATE", toBigInt(1000000000000)) | |
47 | 47 | ||
48 | 48 | let currentRate = _loadBigInt("CURRENT_RATE", toBigInt(0)) | |
49 | 49 | ||
50 | 50 | let lastHeight = _loadInt("LAST_HEIGHT", 0) | |
51 | 51 | ||
52 | 52 | let targetHeight = min([_loadInt("TARGET_HEIGHT", 0), height]) | |
53 | 53 | ||
54 | 54 | let lastRateUpdated = (lastRate + (currentRate * toBigInt((targetHeight - lastHeight)))) | |
55 | 55 | ||
56 | 56 | let baseAmount = toInt(fraction(toBigInt(assetBalance(WX_BURNXTN_WAVES, swaves)), lastRateUpdated, toBigInt(1000000000000), FLOOR)) | |
57 | 57 | ||
58 | 58 | let wavesInWX = (wavesBalance(WX_BURNXTN_WAVES).regular + baseAmount) | |
59 | 59 | ||
60 | 60 | let burnxtnInWX = assetBalance(WX_BURNXTN_WAVES, burnxtnId) | |
61 | 61 | ||
62 | 62 | let burnxtnwavesprice = fraction(d8, wavesInWX, burnxtnInWX) | |
63 | 63 | ||
64 | 64 | @Callable(i) | |
65 | 65 | func invoker () = { | |
66 | 66 | let inv1 = invoke(Address(base58'3PAucbbumdUXmhzcR421zGiayphEdo2tRoz'), "withdraw", nil, nil) | |
67 | 67 | if ((inv1 == inv1)) | |
68 | 68 | then { | |
69 | 69 | let inv2 = if ((50 > assetBalance(Address(base58'3PAucbbumdUXmhzcR421zGiayphEdo2tRoz'), vvxtnlp))) | |
70 | 70 | then invoke(Address(base58'3PAkmJniMgnnAej5pYf2jFYkCbZow5pt9tr'), "withdraw", nil, nil) | |
71 | 71 | else invoke(Address(base58'3PAucbbumdUXmhzcR421zGiayphEdo2tRoz'), "importVVXTNLP", nil, nil) | |
72 | 72 | if ((inv2 == inv2)) | |
73 | 73 | then { | |
74 | 74 | let inv3 = invoke(Address(base58'3PPCzX2doZ7agBNuGSKqjrbdXgGEtE7CpQ3'), "withdraw", nil, nil) | |
75 | 75 | if ((inv3 == inv3)) | |
76 | 76 | then { | |
77 | 77 | let inv4 = invoke(Address(base58'3PHLhWPrs1mrpM1ZDUv1VmUnZRwchADJELc'), "withdraw", nil, nil) | |
78 | 78 | if ((inv4 == inv4)) | |
79 | 79 | then nil | |
80 | 80 | else throw("Strict value is not equal to itself.") | |
81 | 81 | } | |
82 | 82 | else throw("Strict value is not equal to itself.") | |
83 | 83 | } | |
84 | 84 | else throw("Strict value is not equal to itself.") | |
85 | 85 | } | |
86 | 86 | else throw("Strict value is not equal to itself.") | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | ||
91 | 91 | @Callable(i) | |
92 | 92 | func selector () = if (if ((i.caller != this)) | |
93 | 93 | then (i.caller != stableswap) | |
94 | 94 | else false) | |
95 | 95 | then throw("no access") | |
96 | 96 | else { | |
97 | 97 | let inv00 = if ((getIntegerValue(this, keyInvokeNext) == 0)) | |
98 | 98 | then invoke(projectB, "burnXTNandClaim", nil, nil) | |
99 | 99 | else if ((getIntegerValue(this, keyInvokeNext) == 1)) | |
100 | 100 | then invoke(projectB, "SURFandVVXTNLP", nil, nil) | |
101 | 101 | else if ((getIntegerValue(this, keyInvokeNext) == 10)) | |
102 | 102 | then invoke(projectB, "burnBURNXTN", nil, nil) | |
103 | 103 | else if ((getIntegerValue(this, keyInvokeNext) == 11)) | |
104 | 104 | then invoke(projectB, "grow1", nil, nil) | |
105 | 105 | else if ((getIntegerValue(this, keyInvokeNext) == 12)) | |
106 | 106 | then invoke(projectB, "grow2", nil, nil) | |
107 | 107 | else if ((getIntegerValue(this, keyInvokeNext) == 13)) | |
108 | 108 | then invoke(projectB, "grow3", nil, nil) | |
109 | 109 | else if ((getIntegerValue(this, keyInvokeNext) == 14)) | |
110 | 110 | then invoke(projectB, "grow4", nil, nil) | |
111 | 111 | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
112 | 112 | then invoke(projectB, "grow5", nil, nil) | |
113 | - | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
114 | - | then [IntegerEntry(keyInvokeNext, 16)] | |
115 | - | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
116 | - | then invoke(projectB, "grow6", nil, nil) | |
117 | - | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
118 | - | then [IntegerEntry(keyInvokeNext, 30)] | |
119 | - | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
120 | - | then invoke(projectB, "pump", nil, nil) | |
121 | - | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
122 | - | then [IntegerEntry(keyInvokeNext, 30)] | |
123 | - | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
124 | - | then invoke(projectB, "PZbbb", nil, nil) | |
125 | - | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
126 | - | then [IntegerEntry(keyInvokeNext, 31)] | |
127 | - | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
128 | - | then invoke(projectB, "claimBBB", nil, nil) | |
113 | + | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
114 | + | then invoke(projectB, "grow6", nil, nil) | |
115 | + | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
116 | + | then invoke(projectB, "pump", nil, nil) | |
117 | + | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
118 | + | then invoke(projectB, "PZbbb", nil, nil) | |
119 | + | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
120 | + | then invoke(projectB, "claimBBB", nil, nil) | |
121 | + | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
122 | + | then invoke(projectB, "burnSURF", nil, nil) | |
123 | + | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
124 | + | then invoke(projectB, "puzzlePZbbb", nil, nil) | |
125 | + | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
126 | + | then invoke(projectB, "stakePZbbb", nil, nil) | |
127 | + | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
128 | + | then invoke(projectB, "dEntry", nil, nil) | |
129 | + | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
130 | + | then invoke(rewards, "claimRewards", nil, nil) | |
131 | + | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
132 | + | then invoke(rewards, "shillerRewards", nil, nil) | |
133 | + | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
134 | + | then invoke(rewards, "adminRewards", nil, nil) | |
135 | + | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
136 | + | then invoke(bounty, "updateBalanceEntry", nil, nil) | |
137 | + | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
138 | + | then invoke(bounty, "claim", nil, nil) | |
139 | + | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
140 | + | then invoke(bounty, "swap", nil, nil) | |
141 | + | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
142 | + | then invoke(bounty, "totalBalanceAll", nil, nil) | |
143 | + | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
144 | + | then invoke(bounty, "payRewards", nil, nil) | |
145 | + | else unit | |
146 | + | if ((inv00 == inv00)) | |
147 | + | then { | |
148 | + | let usdc = if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
149 | + | then invoke(USDCdapp, "claimAll ", [toString(this)], nil) | |
150 | + | else unit | |
151 | + | if ((usdc == usdc)) | |
152 | + | then { | |
153 | + | let usdt = if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
154 | + | then invoke(USDTdapp, "claimAll ", [toString(this)], nil) | |
155 | + | else unit | |
156 | + | if ((usdt == usdt)) | |
157 | + | then [IntegerEntry(keyInvokeNext, if ((getIntegerValue(this, keyInvokeNext) == 0)) | |
158 | + | then 1 | |
159 | + | else if ((getIntegerValue(this, keyInvokeNext) == 1)) | |
160 | + | then if ((burnxtnwavesprice >= getIntegerValue(projectB, "ATH in wavelets"))) | |
161 | + | then 10 | |
162 | + | else 20 | |
163 | + | else if ((getIntegerValue(this, keyInvokeNext) == 10)) | |
164 | + | then 11 | |
165 | + | else if ((getIntegerValue(this, keyInvokeNext) == 11)) | |
166 | + | then 12 | |
167 | + | else if ((getIntegerValue(this, keyInvokeNext) == 12)) | |
168 | + | then 13 | |
169 | + | else if ((getIntegerValue(this, keyInvokeNext) == 13)) | |
170 | + | then 14 | |
171 | + | else if ((getIntegerValue(this, keyInvokeNext) == 14)) | |
172 | + | then 15 | |
173 | + | else if ((getIntegerValue(this, keyInvokeNext) == 15)) | |
174 | + | then 16 | |
175 | + | else if ((getIntegerValue(this, keyInvokeNext) == 16)) | |
176 | + | then 30 | |
177 | + | else if ((getIntegerValue(this, keyInvokeNext) == 20)) | |
178 | + | then 30 | |
179 | + | else if ((getIntegerValue(this, keyInvokeNext) == 30)) | |
180 | + | then 31 | |
129 | 181 | else if ((getIntegerValue(this, keyInvokeNext) == 31)) | |
130 | - | then | |
182 | + | then 32 | |
131 | 183 | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
132 | - | then invoke(projectB, "burnSURF", nil, nil) | |
133 | - | else if ((getIntegerValue(this, keyInvokeNext) == 32)) | |
134 | - | then [IntegerEntry(keyInvokeNext, 33)] | |
135 | - | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
136 | - | then invoke(projectB, "puzzlePZbbb", nil, nil) | |
137 | - | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
138 | - | then [IntegerEntry(keyInvokeNext, 40)] | |
139 | - | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
140 | - | then invoke(projectB, "stakePZbbb", nil, nil) | |
141 | - | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
142 | - | then [IntegerEntry(keyInvokeNext, 35)] | |
143 | - | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
144 | - | then invoke(projectB, "dEntry", nil, nil) | |
145 | - | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
146 | - | then [IntegerEntry(keyInvokeNext, 50)] | |
147 | - | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
148 | - | then invoke(rewards, "claimRewards", nil, nil) | |
149 | - | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
150 | - | then [IntegerEntry(keyInvokeNext, 51)] | |
151 | - | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
152 | - | then invoke(rewards, "shillerRewards", nil, nil) | |
153 | - | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
154 | - | then [IntegerEntry(keyInvokeNext, 52)] | |
155 | - | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
156 | - | then invoke(rewards, "adminRewards", nil, nil) | |
157 | - | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
158 | - | then [IntegerEntry(keyInvokeNext, 60)] | |
159 | - | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
160 | - | then invoke(bounty, "updateBalanceEntry", nil, nil) | |
161 | - | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
162 | - | then [IntegerEntry(keyInvokeNext, 61)] | |
163 | - | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
164 | - | then invoke(bounty, "claim", nil, nil) | |
165 | - | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
166 | - | then [IntegerEntry(keyInvokeNext, 62)] | |
167 | - | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
168 | - | then invoke(bounty, "swap", nil, nil) | |
169 | - | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
170 | - | then [IntegerEntry(keyInvokeNext, 63)] | |
171 | - | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
172 | - | then invoke(bounty, "totalBalanceAll", nil, nil) | |
173 | - | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
174 | - | then [IntegerEntry(keyInvokeNext, 64)] | |
175 | - | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
176 | - | then invoke(bounty, "payRewards", nil, nil) | |
177 | - | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
178 | - | then [IntegerEntry(keyInvokeNext, 70)] | |
179 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
180 | - | then invoke(USDCdapp, "claimAll ", [toString(this)], nil) | |
181 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
182 | - | then invoke(USDTdapp, "claimAll ", [toString(this)], nil) | |
183 | - | else if ((getIntegerValue(this, keyInvokeNext) == 70)) | |
184 | - | then [IntegerEntry(keyInvokeNext, 0)] | |
185 | - | else unit | |
186 | - | if ((inv00 == inv00)) | |
187 | - | then [IntegerEntry(keyInvokeNext, if ((getIntegerValue(this, keyInvokeNext) == 0)) | |
188 | - | then 1 | |
189 | - | else if ((getIntegerValue(this, keyInvokeNext) == 1)) | |
190 | - | then if ((burnxtnwavesprice >= getIntegerValue(projectB, "ATH in wavelets"))) | |
191 | - | then 10 | |
192 | - | else 20 | |
193 | - | else if ((getIntegerValue(this, keyInvokeNext) == 10)) | |
194 | - | then 11 | |
195 | - | else if ((getIntegerValue(this, keyInvokeNext) == 11)) | |
196 | - | then 12 | |
197 | - | else if ((getIntegerValue(this, keyInvokeNext) == 12)) | |
198 | - | then 13 | |
199 | - | else if ((getIntegerValue(this, keyInvokeNext) == 13)) | |
200 | - | then 14 | |
201 | - | else if ((getIntegerValue(this, keyInvokeNext) == 14)) | |
202 | - | then 15 | |
203 | - | else 0)] | |
184 | + | then 33 | |
185 | + | else if ((getIntegerValue(this, keyInvokeNext) == 33)) | |
186 | + | then 40 | |
187 | + | else if ((getIntegerValue(this, keyInvokeNext) == 34)) | |
188 | + | then 35 | |
189 | + | else if ((getIntegerValue(this, keyInvokeNext) == 40)) | |
190 | + | then 50 | |
191 | + | else if ((getIntegerValue(this, keyInvokeNext) == 50)) | |
192 | + | then 51 | |
193 | + | else if ((getIntegerValue(this, keyInvokeNext) == 51)) | |
194 | + | then 52 | |
195 | + | else if ((getIntegerValue(this, keyInvokeNext) == 52)) | |
196 | + | then 60 | |
197 | + | else if ((getIntegerValue(this, keyInvokeNext) == 60)) | |
198 | + | then 61 | |
199 | + | else if ((getIntegerValue(this, keyInvokeNext) == 61)) | |
200 | + | then 62 | |
201 | + | else if ((getIntegerValue(this, keyInvokeNext) == 62)) | |
202 | + | then 63 | |
203 | + | else if ((getIntegerValue(this, keyInvokeNext) == 63)) | |
204 | + | then 64 | |
205 | + | else if ((getIntegerValue(this, keyInvokeNext) == 64)) | |
206 | + | then 70 | |
207 | + | else 0)] | |
208 | + | else throw("Strict value is not equal to itself.") | |
209 | + | } | |
210 | + | else throw("Strict value is not equal to itself.") | |
211 | + | } | |
204 | 212 | else throw("Strict value is not equal to itself.") | |
205 | 213 | } | |
206 | 214 | ||
207 | 215 | ||
208 | 216 | ||
209 | 217 | @Callable(i) | |
210 | 218 | func changeEntry (InvokeNext) = if ((i.caller != this)) | |
211 | 219 | then throw("access only by project owner") | |
212 | 220 | else [IntegerEntry(keyInvokeNext, InvokeNext)] | |
213 | 221 | ||
214 | 222 |
github/deemru/w8io/6500d08 51.33 ms ◑