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