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