tx · 8JPZfJW9oMChr8rHqvf9neeS4JRbXM2aNxNaTK9yN4T7 3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37: -0.01400000 Waves 2021.09.16 16:10 [1705651] smart account 3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37 > SELF 0.00000000 Waves
{ "type": 13, "id": "8JPZfJW9oMChr8rHqvf9neeS4JRbXM2aNxNaTK9yN4T7", "fee": 1400000, "feeAssetId": null, "timestamp": 1631797814925, "version": 2, "chainId": 84, "sender": "3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37", "senderPublicKey": "4bwUHdA4vTBJ1k43dYKiPYTDqm3QqiZXNGXoQstGAD1k", "proofs": [ "2MU4vjupHLptixiCgPvJoBkRrNDG6CvWLW1Zs59gaQKR6EnreezNmsYktXG1Up4QBeKwCWiuaDrH4yg5G1VpvcLF", "42d7N7ay6cCnQK1kgCFjLuSsGcFCt2bVnEgj6ovdRidBg6Xje7P4bK4mftFazd5SU9FTCE3giMknNqfJwd9FbxvQ" ], "script": "base64:AAIFAAAAAAAAEBwIAhIDCgEIEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQESABoNCgJhMRIHdmVyc2lvbhoQCgJhMhIKa2V5VmVyc2lvbhoPCgJhMxIJa2V5QWN0aXZlGhEKAmE0EgtrZXlBc3NldElkQRoRCgJhNRILa2V5QXNzZXRJZEIaEQoCYTYSC2tleUJhbGFuY2VBGhEKAmE3EgtrZXlCYWxhbmNlQhoVCgJhOBIPa2V5QmFsYW5jZUluaXRBGhUKAmE5Eg9rZXlCYWxhbmNlSW5pdEIaFQoCYjESD2tleVNoYXJlQXNzZXRJZBoZCgJiMhITa2V5U2hhcmVBc3NldFN1cHBseRoTCgJiMxINa2V5Q29tbWlzc2lvbhohCgJiNBIba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyGg4KAmI1EghrZXlDYXVzZRoVCgJiNhIPa2V5Rmlyc3RIYXJ2ZXN0GhsKAmI3EhVrZXlGaXJzdEh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AIZXhjaGFuZ2UHCQAAAAAAAAIFAAAAAmczBQAAAAJlNQcGAwMJAAAAAAAAAgUAAAACZzQFAAAAAmU1CQAAAAAAAAIJAAGQAAAAAQgFAAAAAnYxAAAACHBheW1lbnRzAAAAAAAAAAABBwkAAAAAAAACCAkAAZEAAAACCAUAAAACdjEAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAACZTQHBAAAAAJ2NwMDAwkAAfQAAAADCAUAAAACdTQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ1NAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmQ2BgkAAfQAAAADCAUAAAACdTQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ1NAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmQ3BgkAAfQAAAADCAUAAAACdTQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ1NAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmQ4BgkAAfQAAAADCAUAAAACdTQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ1NAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmUxAwMDAwMDBQAAAAJ2MgYFAAAAAnYzBgUAAAACdjQGBQAAAAJ2NQYFAAAAAnY2BQAAAAJ2NwcGBQAAAAJ1NgUAAAACdTZoZAEo", "height": 1705651, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8qapBEDzbTWJPvQ1cEwWJS2XPgE56qn3dLHANVPhHCn3 Next: AJaFgiazFXzqBC6rLaRvMMuRP19zPPa7XBbT5NNsANQK Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let version = "1.0.0" | |
5 | 5 | ||
6 | 6 | let keyVersion = "version" | |
7 | 7 | ||
8 | 8 | let keyActive = "active" | |
9 | 9 | ||
10 | 10 | let keyAssetIdA = "A_asset_id" | |
11 | 11 | ||
12 | 12 | let keyAssetIdB = "B_asset_id" | |
13 | 13 | ||
14 | 14 | let keyBalanceA = "A_asset_balance" | |
15 | 15 | ||
16 | 16 | let keyBalanceB = "B_asset_balance" | |
17 | 17 | ||
18 | 18 | let keyBalanceInitA = "A_asset_init" | |
19 | 19 | ||
20 | 20 | let keyBalanceInitB = "B_asset_init" | |
21 | 21 | ||
22 | 22 | let keyShareAssetId = "share_asset_id" | |
23 | 23 | ||
24 | 24 | let keyShareAssetSupply = "share_asset_supply" | |
25 | 25 | ||
26 | 26 | let keyCommission = "commission" | |
27 | 27 | ||
28 | 28 | let keyCommissionScaleDelimiter = "commission_scale_delimiter" | |
29 | 29 | ||
30 | 30 | let keyCause = "shutdown_cause" | |
31 | 31 | ||
32 | 32 | let keyFirstHarvest = "first_harvest" | |
33 | 33 | ||
34 | 34 | let keyFirstHarvestHeight = "first_harvest_height" | |
35 | 35 | ||
36 | 36 | let keyShareLimit = "share_limit_on_first_harvest" | |
37 | 37 | ||
38 | 38 | let keyBasePeriod = "base_period" | |
39 | 39 | ||
40 | 40 | let keyPeriodLength = "period_length" | |
41 | 41 | ||
42 | 42 | let keyStartHeight = "start_height" | |
43 | 43 | ||
44 | 44 | let keyOracleAssetPriority = "asset_priority_" | |
45 | 45 | ||
46 | 46 | let keyOracleScriptHash = "script_hash_cpmm" | |
47 | 47 | ||
48 | 48 | let keyInitPoolHeight = "init_pool_height" | |
49 | 49 | ||
50 | 50 | let keyAdminPubKey1 = "admin_pub_1" | |
51 | 51 | ||
52 | 52 | let keyAdminPubKey2 = "admin_pub_2" | |
53 | 53 | ||
54 | 54 | let keyAdminPubKey3 = "admin_pub_3" | |
55 | 55 | ||
56 | 56 | let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
57 | 57 | ||
58 | 58 | func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) { | |
59 | 59 | case string: String => | |
60 | 60 | fromBase58String(string) | |
61 | 61 | case nothing => | |
62 | 62 | throw("Admin public key is empty") | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | let adminPubKey1 = getAdminPub(keyAdminPubKey1) | |
67 | 67 | ||
68 | 68 | let adminPubKey2 = getAdminPub(keyAdminPubKey2) | |
69 | 69 | ||
70 | 70 | let adminPubKey3 = getAdminPub(keyAdminPubKey3) | |
71 | 71 | ||
72 | 72 | let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
73 | 73 | ||
74 | 74 | let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
75 | 75 | ||
76 | 76 | let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
77 | 77 | ||
78 | 78 | let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ') | |
79 | 79 | ||
80 | 80 | let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
81 | 81 | ||
82 | 82 | let NSBT = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9' | |
83 | 83 | ||
84 | 84 | let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ' | |
85 | 85 | ||
86 | 86 | let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA' | |
87 | 87 | ||
88 | 88 | let stakingUSDNNSBTAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
89 | 89 | ||
90 | 90 | let stakingEURNAddress = Address(base58'3MyVqAbmKWh339gF6hy8faWw1jGeTV2wnGE') | |
91 | 91 | ||
92 | 92 | let USDNToWavesExchanger = Address(base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37') | |
93 | 93 | ||
94 | 94 | let USDNToNSBTExchanger = Address(base58'3Mye9wVR7d2mc6Y5ZJTu11svzgUQ7o8H9dA') | |
95 | 95 | ||
96 | 96 | let stakingFeeInUSDN = 270000 | |
97 | 97 | ||
98 | 98 | let stakingFeeInEURN = 234000 | |
99 | 99 | ||
100 | 100 | let basePeriod = valueOrErrorMessage(getInteger(votingAddress, keyBasePeriod), "Empty keyBasePeriod") | |
101 | 101 | ||
102 | 102 | let startHeight = valueOrErrorMessage(getInteger(votingAddress, keyStartHeight), "Empty keyStartHeight") | |
103 | 103 | ||
104 | 104 | let periodLength = valueOrErrorMessage(getInteger(votingAddress, keyPeriodLength), "Empty keyPeriodLength") | |
105 | 105 | ||
106 | 106 | let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 1) | |
107 | 107 | ||
108 | 108 | let isActive = getBooleanValue(this, keyActive) | |
109 | 109 | ||
110 | 110 | let strAssetIdA = getStringValue(this, keyAssetIdA) | |
111 | 111 | ||
112 | 112 | let strAssetIdB = getStringValue(this, keyAssetIdB) | |
113 | 113 | ||
114 | 114 | let assetIdA = if ((strAssetIdA == "WAVES")) | |
115 | 115 | then unit | |
116 | 116 | else fromBase58String(strAssetIdA) | |
117 | 117 | ||
118 | 118 | let assetIdB = if ((strAssetIdB == "WAVES")) | |
119 | 119 | then unit | |
120 | 120 | else fromBase58String(strAssetIdB) | |
121 | 121 | ||
122 | 122 | let assetNameA = match assetIdA { | |
123 | 123 | case id: ByteVector => | |
124 | 124 | value(assetInfo(id)).name | |
125 | 125 | case waves: Unit => | |
126 | 126 | "WAVES" | |
127 | 127 | case _ => | |
128 | 128 | throw("Match error") | |
129 | 129 | } | |
130 | 130 | ||
131 | 131 | let assetNameB = match assetIdB { | |
132 | 132 | case id: ByteVector => | |
133 | 133 | value(assetInfo(id)).name | |
134 | 134 | case waves: Unit => | |
135 | 135 | "WAVES" | |
136 | 136 | case _ => | |
137 | 137 | throw("Match error") | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | let balanceA = getIntegerValue(this, keyBalanceA) | |
141 | 141 | ||
142 | 142 | let balanceB = getIntegerValue(this, keyBalanceB) | |
143 | 143 | ||
144 | 144 | let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId)) | |
145 | 145 | ||
146 | 146 | let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply) | |
147 | 147 | ||
148 | 148 | let commission = 3000 | |
149 | 149 | ||
150 | 150 | let commissionGovernance = 1200 | |
151 | 151 | ||
152 | 152 | let commissionScaleDelimiter = 1000000 | |
153 | 153 | ||
154 | 154 | let scaleValue3 = 1000 | |
155 | 155 | ||
156 | 156 | let scaleValue8 = 100000000 | |
157 | 157 | ||
158 | 158 | let slippageToleranceDelimiter = 1000 | |
159 | 159 | ||
160 | 160 | let scaleValue8Digits = 8 | |
161 | 161 | ||
162 | 162 | let comissionForInitalization = 1000000000 | |
163 | 163 | ||
164 | 164 | func accountBalance (assetId) = match assetId { | |
165 | 165 | case id: ByteVector => | |
166 | 166 | assetBalance(this, id) | |
167 | 167 | case waves: Unit => | |
168 | 168 | wavesBalance(this).available | |
169 | 169 | case _ => | |
170 | 170 | throw("Match error") | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func stakedAmount (assetId) = { | |
175 | 175 | let stakedAmountCalculated = match assetId { | |
176 | 176 | case aId: ByteVector => | |
177 | 177 | if (if ((aId == USDN)) | |
178 | 178 | then true | |
179 | 179 | else (aId == NSBT)) | |
180 | 180 | then getInteger(stakingUSDNNSBTAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this))) | |
181 | 181 | else if ((aId == EURN)) | |
182 | 182 | then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this))) | |
183 | 183 | else 0 | |
184 | 184 | case _: Unit => | |
185 | 185 | 0 | |
186 | 186 | case _ => | |
187 | 187 | throw("Match error") | |
188 | 188 | } | |
189 | 189 | match stakedAmountCalculated { | |
190 | 190 | case i: Int => | |
191 | 191 | i | |
192 | 192 | case _ => | |
193 | 193 | 0 | |
194 | 194 | } | |
195 | 195 | } | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func isAllowedAsset (assetId) = match assetId { | |
199 | 199 | case id: ByteVector => | |
200 | 200 | if (if ((id == USDN)) | |
201 | 201 | then true | |
202 | 202 | else (id == SWOP)) | |
203 | 203 | then true | |
204 | 204 | else false | |
205 | 205 | case waves: Unit => | |
206 | 206 | true | |
207 | 207 | case _ => | |
208 | 208 | throw("Match error") | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | let stakedAmountA = stakedAmount(assetIdA) | |
213 | 213 | ||
214 | 214 | let stakedAmountB = stakedAmount(assetIdB) | |
215 | 215 | ||
216 | 216 | let assetInitA = getIntegerValue(this, keyBalanceInitA) | |
217 | 217 | ||
218 | 218 | let assetInitB = getIntegerValue(this, keyBalanceInitB) | |
219 | 219 | ||
220 | 220 | let availableBalanceA = (balanceA - stakedAmountA) | |
221 | 221 | ||
222 | 222 | let availableBalanceB = (balanceB - stakedAmountB) | |
223 | 223 | ||
224 | 224 | let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA) | |
225 | 225 | ||
226 | 226 | let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB) | |
227 | 227 | ||
228 | 228 | let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA)) | |
229 | 229 | then (accountBalanceWithStakedB >= balanceB) | |
230 | 230 | else false | |
231 | 231 | ||
232 | 232 | func getAssetInfo (assetId) = match assetId { | |
233 | 233 | case id: ByteVector => | |
234 | 234 | let stringId = toBase58String(id) | |
235 | 235 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
236 | 236 | $Tuple3(stringId, info.name, info.decimals) | |
237 | 237 | case waves: Unit => | |
238 | 238 | $Tuple3("WAVES", "WAVES", 8) | |
239 | 239 | case _ => | |
240 | 240 | throw("Match error") | |
241 | 241 | } | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES")) | |
245 | 245 | then $Tuple3("WAVES", "WAVES", 8) | |
246 | 246 | else { | |
247 | 247 | let stringId = assetStr | |
248 | 248 | let id = fromBase58String(assetStr) | |
249 | 249 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
250 | 250 | $Tuple3(stringId, info.name, info.decimals) | |
251 | 251 | } | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func deductStakingFee (amount,assetId,secondAssetId) = if (if ((assetId == USDN)) | |
258 | 258 | then true | |
259 | 259 | else (assetId == EURN)) | |
260 | 260 | then { | |
261 | 261 | let stakinFee = if ((assetId == USDN)) | |
262 | 262 | then (stakingFeeInUSDN * (if ((secondAssetId == NSBT)) | |
263 | 263 | then 2 | |
264 | 264 | else 1)) | |
265 | 265 | else if ((assetId == EURN)) | |
266 | 266 | then stakingFeeInEURN | |
267 | 267 | else 0 | |
268 | 268 | let result = (amount - stakinFee) | |
269 | 269 | if ((0 >= result)) | |
270 | 270 | then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakinFee)) + "USDN/EURN")) | |
271 | 271 | else result | |
272 | 272 | } | |
273 | 273 | else amount | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func getStakingFee (assetId,secondAssetId) = if ((assetId == USDN)) | |
277 | 277 | then (stakingFeeInUSDN * (if ((secondAssetId == NSBT)) | |
278 | 278 | then 2 | |
279 | 279 | else 1)) | |
280 | 280 | else if ((assetId == EURN)) | |
281 | 281 | then stakingFeeInEURN | |
282 | 282 | else 0 | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func throwInsufficientAvailableBalance (amount,available,assetName) = throw((((((((("Insufficient DApp balance to pay " + toString(amount)) + " ") + assetName) + " due to staking. Available: ") + toString(available)) + " ") + assetName) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | func throwInsufficientAvailableBalances (amountA,amountB) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(amountA)) + " ") + assetNameA) + " and ") + toString(amountB)) + " ") + assetNameB) + " due to staking. Available: ") + toString(availableBalanceA)) + " ") + assetNameA) + " and ") + toString(availableBalanceB)) + " ") + assetNameB) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
289 | 289 | ||
290 | 290 | ||
291 | 291 | func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB)) | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | @Callable(i) | |
295 | 295 | func init (userAddressStr) = { | |
296 | 296 | let $t083608437 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
297 | 297 | let pmtAmount1 = $t083608437._1 | |
298 | 298 | let pmtAssetId1 = $t083608437._2 | |
299 | 299 | let $t084428519 = $Tuple2(i.payments[1].amount, i.payments[1].assetId) | |
300 | 300 | let pmtAmount2 = $t084428519._1 | |
301 | 301 | let pmtAssetId2 = $t084428519._2 | |
302 | 302 | let $t085248607 = $Tuple2(i.payments[2].amount, i.payments[2].assetId) | |
303 | 303 | let pmtAmountSWOP = $t085248607._1 | |
304 | 304 | let pmtAssetIdSWOP = $t085248607._2 | |
305 | 305 | let check = isDataStorageUntouched(this) | |
306 | 306 | let userScriptHash = scriptHash(this) | |
307 | 307 | let userAddress = addressFromStringValue(userAddressStr) | |
308 | 308 | if ((i.caller == this)) | |
309 | 309 | then throw("You can't call yourself") | |
310 | 310 | else if (if ((pmtAssetIdSWOP != SWOP)) | |
311 | 311 | then true | |
312 | 312 | else (pmtAmountSWOP != comissionForInitalization)) | |
313 | 313 | then throw("You need to attach 10 SWOP tokens") | |
314 | 314 | else if (if (!(isAllowedAsset(pmtAssetId1))) | |
315 | 315 | then !(isAllowedAsset(pmtAssetId2)) | |
316 | 316 | else false) | |
317 | 317 | then throw("One of assets must be USDN, WAVES or SWOP") | |
318 | 318 | else if (if ((userScriptHash != value(getBinary(oracle, keyOracleScriptHash)))) | |
319 | 319 | then true | |
320 | 320 | else !(check)) | |
321 | 321 | then throw("Unexpected script was found.") | |
322 | 322 | else if (isDefined(getBoolean(this, keyActive))) | |
323 | 323 | then throw("DApp is already active") | |
324 | 324 | else if ((pmtAssetId1 == pmtAssetId2)) | |
325 | 325 | then throw("Assets must be different") | |
326 | 326 | else { | |
327 | 327 | let pmtStrAssetId1 = match pmtAssetId1 { | |
328 | 328 | case id: ByteVector => | |
329 | 329 | toBase58String(id) | |
330 | 330 | case waves: Unit => | |
331 | 331 | "WAVES" | |
332 | 332 | case _ => | |
333 | 333 | throw("Match error") | |
334 | 334 | } | |
335 | 335 | let pmtStrAssetId2 = match pmtAssetId2 { | |
336 | 336 | case id: ByteVector => | |
337 | 337 | toBase58String(id) | |
338 | 338 | case waves: Unit => | |
339 | 339 | "WAVES" | |
340 | 340 | case _ => | |
341 | 341 | throw("Match error") | |
342 | 342 | } | |
343 | 343 | let asset1Priority = valueOrElse(getInteger(oracle, (keyOracleAssetPriority + pmtStrAssetId1)), 999999) | |
344 | 344 | let asset2Priority = valueOrElse(getInteger(oracle, (keyOracleAssetPriority + pmtStrAssetId2)), 999999) | |
345 | 345 | let $t0996310190 = if ((asset2Priority > asset1Priority)) | |
346 | 346 | then $Tuple4(pmtAmount2, pmtAssetId2, pmtAmount1, pmtAssetId1) | |
347 | 347 | else $Tuple4(pmtAmount1, pmtAssetId1, pmtAmount2, pmtAssetId2) | |
348 | 348 | let pmtAmountA = $t0996310190._1 | |
349 | 349 | let pmtAssetIdA = $t0996310190._2 | |
350 | 350 | let pmtAmountB = $t0996310190._3 | |
351 | 351 | let pmtAssetIdB = $t0996310190._4 | |
352 | 352 | let $t01019910276 = getAssetInfo(pmtAssetIdA) | |
353 | 353 | let pmtStrAssetIdA = $t01019910276._1 | |
354 | 354 | let pmtAssetNameA = $t01019910276._2 | |
355 | 355 | let pmtDecimalsA = $t01019910276._3 | |
356 | 356 | let $t01028510362 = getAssetInfo(pmtAssetIdB) | |
357 | 357 | let pmtStrAssetIdB = $t01028510362._1 | |
358 | 358 | let pmtAssetNameB = $t01028510362._2 | |
359 | 359 | let pmtDecimalsB = $t01028510362._3 | |
360 | 360 | let addParams = [toString(this), ((pmtAssetNameA + "_") + pmtAssetNameB), pmtStrAssetIdA, pmtStrAssetIdB] | |
361 | 361 | let addPool = invoke(oracle, "addPool", addParams, nil) | |
362 | 362 | if ((addPool == addPool)) | |
363 | 363 | then if (!(isDefined(getString(oracle, ("pool_" + toString(this)))))) | |
364 | 364 | then throw("Pool is not added") | |
365 | 365 | else { | |
366 | 366 | let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7)) | |
367 | 367 | let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this)) | |
368 | 368 | let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2) | |
369 | 369 | let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN) | |
370 | 370 | let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN) | |
371 | 371 | let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN) | |
372 | 372 | let shareInitialSupply = fraction(arg1, arg2, arg3) | |
373 | 373 | let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true) | |
374 | 374 | let shareIssueId = calculateAssetId(shareIssue) | |
375 | 375 | let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply), IntegerEntry(keyInitPoolHeight, height), ScriptTransfer(userAddress, shareInitialSupply, shareIssueId), ScriptTransfer(walletAddress, comissionForInitalization, SWOP)] | |
376 | 376 | baseEntry | |
377 | 377 | } | |
378 | 378 | else throw("Strict value is not equal to itself.") | |
379 | 379 | } | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | ||
384 | 384 | @Callable(i) | |
385 | 385 | func keepLimitForFirstHarvest (shareLimit) = if (!(isActive)) | |
386 | 386 | then throw("DApp is inactive at this moment") | |
387 | 387 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey))) | |
388 | 388 | then throw("Only admin can call this function") | |
389 | 389 | else [IntegerEntry(keyShareLimit, shareLimit)] | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Callable(i) | |
394 | 394 | func replenishWithTwoTokens (slippageTolerance) = { | |
395 | 395 | let pmtAssetIdA = i.payments[0].assetId | |
396 | 396 | let pmtAssetIdB = i.payments[1].assetId | |
397 | 397 | let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA, pmtAssetIdB) | |
398 | 398 | let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB, pmtAssetIdA) | |
399 | 399 | if (if ((balanceA == 0)) | |
400 | 400 | then (balanceB == 0) | |
401 | 401 | else false) | |
402 | 402 | then { | |
403 | 403 | let $t01328213359 = getAssetInfo(pmtAssetIdA) | |
404 | 404 | let pmtStrAssetIdA = $t01328213359._1 | |
405 | 405 | let pmtAssetNameA = $t01328213359._2 | |
406 | 406 | let pmtDecimalsA = $t01328213359._3 | |
407 | 407 | let $t01336813445 = getAssetInfo(pmtAssetIdB) | |
408 | 408 | let pmtStrAssetIdB = $t01336813445._1 | |
409 | 409 | let pmtAssetNameB = $t01336813445._2 | |
410 | 410 | let pmtDecimalsB = $t01336813445._3 | |
411 | 411 | let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB)) | |
412 | 412 | if ((pmtAssetIdA == pmtAssetIdB)) | |
413 | 413 | then throw("Assets must be different") | |
414 | 414 | else { | |
415 | 415 | let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2) | |
416 | 416 | let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN)) | |
417 | 417 | if (!(isActive)) | |
418 | 418 | then throw("DApp is inactive at this moment") | |
419 | 419 | else if (if ((0 > slippageTolerance)) | |
420 | 420 | then true | |
421 | 421 | else (slippageTolerance > slippageToleranceDelimiter)) | |
422 | 422 | then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance))) | |
423 | 423 | else if ((size(i.payments) != 2)) | |
424 | 424 | then throw("Two attached assets expected") | |
425 | 425 | else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio)) | |
426 | 426 | then true | |
427 | 427 | else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter))) | |
428 | 428 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
429 | 429 | else if (if ((pmtAssetIdA != assetIdA)) | |
430 | 430 | then true | |
431 | 431 | else (pmtAssetIdB != assetIdB)) | |
432 | 432 | then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB)) | |
433 | 433 | else if ((shareInitialSupply == 0)) | |
434 | 434 | then throw("Too small amount to replenish") | |
435 | 435 | else if (!(hasEnoughBalance)) | |
436 | 436 | then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious()) | |
437 | 437 | else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)] | |
438 | 438 | } | |
439 | 439 | } | |
440 | 440 | else { | |
441 | 441 | let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB)) | |
442 | 442 | let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA) | |
443 | 443 | let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB) | |
444 | 444 | let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8) | |
445 | 445 | if (!(isActive)) | |
446 | 446 | then throw("DApp is inactive at this moment") | |
447 | 447 | else if (if ((0 > slippageTolerance)) | |
448 | 448 | then true | |
449 | 449 | else (slippageTolerance > slippageToleranceDelimiter)) | |
450 | 450 | then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance))) | |
451 | 451 | else if ((size(i.payments) != 2)) | |
452 | 452 | then throw("Two attached assets expected") | |
453 | 453 | else if (if ((pmtAssetIdA != assetIdA)) | |
454 | 454 | then true | |
455 | 455 | else (pmtAssetIdB != assetIdB)) | |
456 | 456 | then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB)) | |
457 | 457 | else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio)) | |
458 | 458 | then true | |
459 | 459 | else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter))) | |
460 | 460 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
461 | 461 | else if ((shareTokenToPayAmount == 0)) | |
462 | 462 | then throw("Too small amount to replenish") | |
463 | 463 | else if (!(hasEnoughBalance)) | |
464 | 464 | then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious()) | |
465 | 465 | else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)] | |
466 | 466 | } | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(i) | |
472 | 472 | func withdraw () = { | |
473 | 473 | let $t01784417994 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
474 | 474 | let pmtAmount = $t01784417994._1 | |
475 | 475 | let pmtAssetId = $t01784417994._2 | |
476 | 476 | let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA, assetIdB) | |
477 | 477 | let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB, assetIdA) | |
478 | 478 | if (!(isActive)) | |
479 | 479 | then throw("DApp is inactive at this moment") | |
480 | 480 | else if ((size(i.payments) != 1)) | |
481 | 481 | then throw("One attached payment expected") | |
482 | 482 | else if ((pmtAssetId != shareAssetId)) | |
483 | 483 | then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId))) | |
484 | 484 | else if (!(hasEnoughBalance)) | |
485 | 485 | then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious()) | |
486 | 486 | else if (if ((amountToPayA > availableBalanceA)) | |
487 | 487 | then true | |
488 | 488 | else (amountToPayB > availableBalanceB)) | |
489 | 489 | then throwInsufficientAvailableBalances(amountToPayA, amountToPayB) | |
490 | 490 | else [IntegerEntry(keyBalanceA, (balanceA - amountToPayA)), IntegerEntry(keyBalanceB, (balanceB - amountToPayB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)] | |
491 | 491 | } | |
492 | 492 | ||
493 | 493 | ||
494 | 494 | ||
495 | 495 | @Callable(i) | |
496 | 496 | func exchange (minAmountToReceive) = { | |
497 | 497 | let $t01922019295 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
498 | 498 | let pmtAmount = $t01922019295._1 | |
499 | 499 | let pmtAssetId = $t01922019295._2 | |
500 | 500 | func calculateFees (tokenFrom,tokenTo) = { | |
501 | 501 | let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom)) | |
502 | 502 | let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter) | |
503 | 503 | let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter) | |
504 | 504 | if ((minAmountToReceive > amountWithFee)) | |
505 | 505 | then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive))) | |
506 | 506 | else $Tuple3(amountWithoutFee, amountWithFee, governanceReward) | |
507 | 507 | } | |
508 | 508 | ||
509 | 509 | if (!(isActive)) | |
510 | 510 | then throw("DApp is inactive at this moment") | |
511 | 511 | else if (if ((balanceA == 0)) | |
512 | 512 | then true | |
513 | 513 | else (balanceB == 0)) | |
514 | 514 | then throw("Can't exchange with zero balance") | |
515 | 515 | else if ((0 >= minAmountToReceive)) | |
516 | 516 | then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive))) | |
517 | 517 | else if ((size(i.payments) != 1)) | |
518 | 518 | then throw("One attached payment expected") | |
519 | 519 | else if (!(hasEnoughBalance)) | |
520 | 520 | then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious()) | |
521 | 521 | else if ((pmtAssetId == assetIdA)) | |
522 | 522 | then { | |
523 | 523 | let assetIdSend = assetIdB | |
524 | 524 | let $t02056920660 = calculateFees(balanceA, balanceB) | |
525 | 525 | let amountWithoutFee = $t02056920660._1 | |
526 | 526 | let amountWithFee = $t02056920660._2 | |
527 | 527 | let governanceReward = $t02056920660._3 | |
528 | 528 | let newBalanceA = (balanceA + pmtAmount) | |
529 | 529 | let newBalanceB = ((balanceB - amountWithFee) - governanceReward) | |
530 | 530 | if (if ((stakedAmountA >= newBalanceA)) | |
531 | 531 | then true | |
532 | 532 | else (stakedAmountB >= newBalanceB)) | |
533 | 533 | then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB) | |
534 | 534 | else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)] | |
535 | 535 | } | |
536 | 536 | else if ((pmtAssetId == assetIdB)) | |
537 | 537 | then { | |
538 | 538 | let assetIdSend = assetIdA | |
539 | 539 | let $t02147921570 = calculateFees(balanceB, balanceA) | |
540 | 540 | let amountWithoutFee = $t02147921570._1 | |
541 | 541 | let amountWithFee = $t02147921570._2 | |
542 | 542 | let governanceReward = $t02147921570._3 | |
543 | 543 | let newBalanceA = ((balanceA - amountWithFee) - governanceReward) | |
544 | 544 | let newBalanceB = (balanceB + pmtAmount) | |
545 | 545 | if (if ((stakedAmountA >= newBalanceA)) | |
546 | 546 | then true | |
547 | 547 | else (stakedAmountB >= newBalanceB)) | |
548 | 548 | then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA) | |
549 | 549 | else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)] | |
550 | 550 | } | |
551 | 551 | else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB)) | |
552 | 552 | } | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | ||
556 | 556 | @Callable(i) | |
557 | 557 | func shutdown () = if (!(isActive)) | |
558 | 558 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
559 | 559 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
560 | 560 | then throw("Only admin can call this function") | |
561 | 561 | else suspend("Paused by admin") | |
562 | 562 | ||
563 | 563 | ||
564 | 564 | ||
565 | 565 | @Callable(i) | |
566 | 566 | func activate () = if (isActive) | |
567 | 567 | then throw("DApp is already active") | |
568 | 568 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
569 | 569 | then throw("Only admin can call this function") | |
570 | 570 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
571 | 571 | ||
572 | 572 | ||
573 | 573 | ||
574 | 574 | @Callable(i) | |
575 | 575 | func takeIntoAccountExtraFunds (amountLeave) = { | |
576 | 576 | let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA) | |
577 | 577 | let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB) | |
578 | 578 | let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == unit)) | |
579 | 579 | then amountLeave | |
580 | 580 | else 0)) | |
581 | 581 | let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == unit)) | |
582 | 582 | then amountLeave | |
583 | 583 | else 0)) | |
584 | 584 | if (!(isActive)) | |
585 | 585 | then throw("DApp is inactive at this moment") | |
586 | 586 | else if ((i.caller != this)) | |
587 | 587 | then throw("Only the DApp itself can call this function") | |
588 | 588 | else if ((0 > amountLeave)) | |
589 | 589 | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave))) | |
590 | 590 | else if (if ((0 > uncountableAmountEnrollAssetA)) | |
591 | 591 | then true | |
592 | 592 | else (0 > uncountableAmountEnrollAssetB)) | |
593 | 593 | then suspend("Enroll amount negative") | |
594 | 594 | else if (if ((0 > amountEnrollA)) | |
595 | 595 | then true | |
596 | 596 | else (0 > amountEnrollB)) | |
597 | 597 | then throw("Too large amountLeave") | |
598 | 598 | else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)] | |
599 | 599 | } | |
600 | 600 | ||
601 | 601 | ||
602 | 602 | ||
603 | 603 | @Callable(i) | |
604 | 604 | func enableFirstHarvest () = [BooleanEntry(keyFirstHarvest, true), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))] | |
605 | 605 | ||
606 | 606 | ||
607 | 607 | @Verifier(tx) | |
608 | 608 | func verify () = { | |
609 | 609 | let multiSignedByAdmins = { | |
610 | 610 | let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
611 | 611 | then 1 | |
612 | 612 | else 0 | |
613 | 613 | let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
614 | 614 | then 1 | |
615 | 615 | else 0 | |
616 | 616 | let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
617 | 617 | then 1 | |
618 | 618 | else 0 | |
619 | 619 | (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2) | |
620 | 620 | } | |
621 | 621 | match tx { | |
622 | 622 | case inv: InvokeScriptTransaction => | |
623 | 623 | let callTakeIntoAccount = if ((inv.dApp == this)) | |
624 | 624 | then (inv.function == "takeIntoAccountExtraFunds") | |
625 | 625 | else false | |
626 | 626 | let callEnableFirstHarvest = if ((inv.dApp == this)) | |
627 | 627 | then (inv.function == "enableFirstHarvest") | |
628 | 628 | else false | |
629 | 629 | let callStaking = if (if ((inv.dApp == stakingUSDNNSBTAddress)) | |
630 | 630 | then if (if (if ((inv.function == "lockNeutrino")) | |
631 | 631 | then (size(inv.payments) == 1) | |
632 | 632 | else false) | |
633 | 633 | then if ((inv.payments[0].assetId == USDN)) | |
634 | 634 | then true | |
635 | 635 | else (inv.payments[0].assetId == NSBT) | |
636 | 636 | else false) | |
637 | 637 | then true | |
638 | 638 | else if ((inv.function == "unlockNeutrino")) | |
639 | 639 | then (size(inv.payments) == 0) | |
640 | 640 | else false | |
641 | 641 | else false) | |
642 | 642 | then true | |
643 | 643 | else if ((inv.dApp == stakingEURNAddress)) | |
644 | 644 | then if (if (if ((inv.function == "startStaking")) | |
645 | 645 | then (size(inv.payments) == 1) | |
646 | 646 | else false) | |
647 | 647 | then (inv.payments[0].assetId == EURN) | |
648 | 648 | else false) | |
649 | 649 | then true | |
650 | 650 | else if ((inv.function == "stopStaking")) | |
651 | 651 | then (size(inv.payments) == 0) | |
652 | 652 | else false | |
653 | 653 | else false | |
654 | 654 | let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger)) | |
655 | 655 | then (inv.function == "exchange") | |
656 | 656 | else false) | |
657 | 657 | then (assetIdA == USDN) | |
658 | 658 | else false) | |
659 | 659 | then true | |
660 | 660 | else if (if ((assetIdB == USDN)) | |
661 | 661 | then (size(inv.payments) == 1) | |
662 | 662 | else false) | |
663 | 663 | then (inv.payments[0].assetId == USDN) | |
664 | 664 | else false | |
665 | 665 | let exchangeToNSBTs = if (if (if ((inv.dApp == USDNToNSBTExchanger)) | |
666 | 666 | then (inv.function == "exchange") | |
667 | 667 | else false) | |
668 | 668 | then (assetIdA == NSBT) | |
669 | 669 | else false) | |
670 | 670 | then true | |
671 | 671 | else if (if ((assetIdB == NSBT)) | |
672 | 672 | then (size(inv.payments) == 1) | |
673 | 673 | else false) | |
674 | 674 | then (inv.payments[0].assetId == USDN) | |
675 | 675 | else false | |
676 | 676 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
677 | 677 | then true | |
678 | 678 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
679 | 679 | then true | |
680 | 680 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3)) | |
681 | 681 | then true | |
682 | 682 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking) | |
683 | 683 | if (if (if (if (if (if (callTakeIntoAccount) | |
684 | 684 | then true | |
685 | 685 | else callEnableFirstHarvest) | |
686 | 686 | then true | |
687 | 687 | else callStaking) | |
688 | 688 | then true | |
689 | 689 | else exchangeToWaves) | |
690 | 690 | then true | |
691 | 691 | else exchangeToNSBTs) | |
692 | 692 | then signedByAdmin | |
693 | 693 | else false) | |
694 | 694 | then true | |
695 | 695 | else multiSignedByAdmins | |
696 | 696 | case _ => | |
697 | 697 | multiSignedByAdmins | |
698 | 698 | } | |
699 | 699 | } | |
700 | 700 |
github/deemru/w8io/169f3d6 64.10 ms ◑