tx · A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3: -0.02000000 Waves 2020.06.17 12:55 [1047562] smart account 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3 > SELF 0.00000000 Waves
{ "type": 13, "id": "A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq", "fee": 2000000, "feeAssetId": null, "timestamp": 1592398563811, "version": 1, "sender": "3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3", "senderPublicKey": "3VHsLLWkFL98S7B2qFvsehH7yt6RF3dJouXsR5X3WHHZ", "proofs": [ "2hHM7e8kdiFURpMXXr9FC3SBBAzfgaLcVG3YUJHCQhGFj7WbVkiTy3hianVd8rCKpoSgS5uUMozipX96fKzJ7DpD", "2Yp4TPMW4SFDwzCg8NNq58htfmLke9qRDwQyYZpddQ9edzcjz6XQvZzCEGA8qmJ6h93fJSd52j8f3uzW3EYw3Qa4", "5osJG67ufzAPYR716bA7V291i51yB7Zkx9CZujuhb8axdgKWYzqK9mat3TYhrtchZ1Mh6GgRGyHuH6AKH8pFfmNd" ], "script": "base64:AAIDAAAAAAAAABcIARIAEgASBAoCCAESABIDCgEIEgASAAAAAEsBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQA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AAAAgUAAAAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAAJbGVhc2luZ1R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAlsZWFzaW5nVHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAlsZWFzaW5nVHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABhub2RlT3JhY2xlUHJvdmlkZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFVNwb25zb3JGZWVUcmFuc2FjdGlvbgQAAAAJc3BvbnNvclR4BQAAAAckbWF0Y2gwAwkBAAAAG2NoZWNrSXNWYWxpZE1pblNwb25zb3JlZEZlZQAAAAEFAAAACXNwb25zb3JUeAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAwcJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAN4H0zi", "chainId": 84, "height": 1047562, "spentComplexity": 0 } View: original | compacted Prev: HSWGCEpvdbLJpj7S1S4ggLdGfSjqVzDqfVUtoKeeasxy Next: 6Hsb9Pmqi7FrTQ57ewkVBqLBMtLpEaMATJaKbD7Kpebp Diff:
Old | New | Differences | |
---|---|---|---|
60 | 60 | let WAVELET = 100000000 | |
61 | 61 | ||
62 | 62 | let PAULI = 1000000 | |
63 | - | ||
64 | - | let PRICELET = 1000000 | |
65 | 63 | ||
66 | 64 | let NeutrinoAssetIdKey = "neutrino_asset_id" | |
67 | 65 | ||
126 | 124 | func getRPDProfitKey (count) = (("rpd_profit" + "_") + toString(count)) | |
127 | 125 | ||
128 | 126 | ||
129 | - | func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, | |
127 | + | func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, 100, price), WAVELET, PAULI) | |
130 | 128 | ||
131 | 129 | ||
132 | - | func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, | |
130 | + | func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, 100), PAULI, WAVELET) | |
133 | 131 | ||
134 | 132 | ||
135 | 133 | func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price) | |
360 | 358 | else 0)) | |
361 | 359 | match tx { | |
362 | 360 | case leasingTx: LeaseCancelTransaction|LeaseTransaction => | |
363 | - | sigVerify( | |
361 | + | sigVerify(leasingTx.bodyBytes, leasingTx.proofs[0], nodeOracleProviderPubKey) | |
364 | 362 | case sponsorTx: SponsorFeeTransaction => | |
365 | 363 | if (checkIsValidMinSponsoredFee(sponsorTx)) | |
366 | 364 | then (count >= 3) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func getNumberByKey (key) = match getInteger(this, key) { | |
5 | 5 | case a: Int => | |
6 | 6 | a | |
7 | 7 | case _ => | |
8 | 8 | 0 | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func getStringByKey (key) = match getString(this, key) { | |
13 | 13 | case a: String => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | "" | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func getBoolByKey (key) = match getBoolean(this, key) { | |
21 | 21 | case a: Boolean => | |
22 | 22 | a | |
23 | 23 | case _ => | |
24 | 24 | false | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getNumberByAddressAndKey (address,key) = match getInteger(addressFromStringValue(address), key) { | |
29 | 29 | case a: Int => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | 0 | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func getStringByAddressAndKey (address,key) = match getString(addressFromStringValue(address), key) { | |
37 | 37 | case a: String => | |
38 | 38 | a | |
39 | 39 | case _ => | |
40 | 40 | "" | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func getBoolByAddressAndKey (address,key) = match getBoolean(addressFromStringValue(address), key) { | |
45 | 45 | case a: Boolean => | |
46 | 46 | a | |
47 | 47 | case _ => | |
48 | 48 | false | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | let pubKeyAdminsList = ["D96T5UoL7E2FERaEwov9Frx8XFVPNGqZ4TyDiWvn1urJ", "Fk2zgbrRA8KytTVMVy6Df5i4tTEsKaqg6ybh6x6Hehjj", "37f1yE54FyMKwEkg413peq5Gbze9sBavASVeTYbQLTvJ", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
53 | 53 | ||
54 | 54 | let SENDTXEXPIRE = 30 | |
55 | 55 | ||
56 | 56 | let LISTSPLITSYMBOL = "_" | |
57 | 57 | ||
58 | 58 | let LISTDATASYMBOL = "+" | |
59 | 59 | ||
60 | 60 | let WAVELET = 100000000 | |
61 | 61 | ||
62 | 62 | let PAULI = 1000000 | |
63 | - | ||
64 | - | let PRICELET = 1000000 | |
65 | 63 | ||
66 | 64 | let NeutrinoAssetIdKey = "neutrino_asset_id" | |
67 | 65 | ||
68 | 66 | let BondAssetIdKey = "bond_asset_id" | |
69 | 67 | ||
70 | 68 | let AuctionContractKey = "auction_contract" | |
71 | 69 | ||
72 | 70 | let LiquidationContractKey = "liquidation_contract" | |
73 | 71 | ||
74 | 72 | let RPDContractKey = "rpd_contract" | |
75 | 73 | ||
76 | 74 | let ContolContractKey = "control_contract" | |
77 | 75 | ||
78 | 76 | let BalanceWavesLockIntervalKey = "balance_waves_lock_interval" | |
79 | 77 | ||
80 | 78 | let BalanceNeutrinoLockIntervalKey = "balance_neutrino_lock_interval" | |
81 | 79 | ||
82 | 80 | let MinWavesSwapAmountKey = "min_waves_swap_amount" | |
83 | 81 | ||
84 | 82 | let MinNeutrinoSwapAmountKey = "min_neutrino_swap_amount" | |
85 | 83 | ||
86 | 84 | let NodeOracleProviderPubKeyKey = "node_oracle_provider" | |
87 | 85 | ||
88 | 86 | let RPDBalanceKey = "rpd_balance" | |
89 | 87 | ||
90 | 88 | func getRPDContractBalanceKey (assetId) = ((RPDBalanceKey + "_") + toBase58String(assetId)) | |
91 | 89 | ||
92 | 90 | ||
93 | 91 | let PriceKey = "price" | |
94 | 92 | ||
95 | 93 | let PriceIndexKey = "price_index" | |
96 | 94 | ||
97 | 95 | let IsBlockedKey = "is_blocked" | |
98 | 96 | ||
99 | 97 | func getPriceHistoryKey (block) = ((PriceKey + "_") + toString(block)) | |
100 | 98 | ||
101 | 99 | ||
102 | 100 | func getHeightPriceByIndexKey (index) = ((PriceIndexKey + "_") + toString(index)) | |
103 | 101 | ||
104 | 102 | ||
105 | 103 | let BalanceLockedkKey = "balance_lock_" | |
106 | 104 | ||
107 | 105 | let WavesLockedBalanceKey = (BalanceLockedkKey + "waves") | |
108 | 106 | ||
109 | 107 | let NeutrinoLockedBalanceKey = (BalanceLockedkKey + "neutrino") | |
110 | 108 | ||
111 | 109 | func getRPDSnapshotContractBalanceKey (count,assetId) = ((((RPDBalanceKey + "_") + toBase58String(assetId)) + "_") + toString(count)) | |
112 | 110 | ||
113 | 111 | ||
114 | 112 | func getCancelLeaseTxReserveFeeKey (hash) = (("cancel_lease_tx_reserve_fee" + "_") + hash) | |
115 | 113 | ||
116 | 114 | ||
117 | 115 | func getWavesLockedBalanceKey (owner) = ((WavesLockedBalanceKey + "_") + owner) | |
118 | 116 | ||
119 | 117 | ||
120 | 118 | func getNeutrinoLockedBalanceKey (owner) = ((NeutrinoLockedBalanceKey + "_") + owner) | |
121 | 119 | ||
122 | 120 | ||
123 | 121 | func getBalanceUnlockBlockKey (owner) = ("balance_unlock_block_" + owner) | |
124 | 122 | ||
125 | 123 | ||
126 | 124 | func getRPDProfitKey (count) = (("rpd_profit" + "_") + toString(count)) | |
127 | 125 | ||
128 | 126 | ||
129 | - | func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, | |
127 | + | func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, 100, price), WAVELET, PAULI) | |
130 | 128 | ||
131 | 129 | ||
132 | - | func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, | |
130 | + | func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, 100), PAULI, WAVELET) | |
133 | 131 | ||
134 | 132 | ||
135 | 133 | func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price) | |
136 | 134 | ||
137 | 135 | ||
138 | 136 | func convertJsonArrayToList (jsonArray) = split(jsonArray, ",") | |
139 | 137 | ||
140 | 138 | ||
141 | 139 | let liquidationContract = getStringByKey(LiquidationContractKey) | |
142 | 140 | ||
143 | 141 | let neutrinoAssetIdString = getStringByKey(NeutrinoAssetIdKey) | |
144 | 142 | ||
145 | 143 | let neutrinoAssetId = fromBase58String(neutrinoAssetIdString) | |
146 | 144 | ||
147 | 145 | let auctionContract = getStringByKey(AuctionContractKey) | |
148 | 146 | ||
149 | 147 | let rpdContract = getStringByKey(RPDContractKey) | |
150 | 148 | ||
151 | 149 | let controlContract = getStringByKey(ContolContractKey) | |
152 | 150 | ||
153 | 151 | let priceIndex = getNumberByAddressAndKey(controlContract, PriceIndexKey) | |
154 | 152 | ||
155 | 153 | let isBlocked = getBoolByAddressAndKey(controlContract, IsBlockedKey) | |
156 | 154 | ||
157 | 155 | let nodeOracleProviderPubKey = fromBase58String(getStringByKey(NodeOracleProviderPubKeyKey)) | |
158 | 156 | ||
159 | 157 | let balanceWavesLockInterval = getNumberByKey(BalanceWavesLockIntervalKey) | |
160 | 158 | ||
161 | 159 | let balanceNeutrinoLockInterval = getNumberByKey(BalanceNeutrinoLockIntervalKey) | |
162 | 160 | ||
163 | 161 | let minWavesSwapAmount = getNumberByKey(MinWavesSwapAmountKey) | |
164 | 162 | ||
165 | 163 | let minNeutrinoSwapAmount = getNumberByKey(MinNeutrinoSwapAmountKey) | |
166 | 164 | ||
167 | 165 | let bondAssetId = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN") | |
168 | 166 | ||
169 | 167 | let deprecatedBondAssetId = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
170 | 168 | ||
171 | 169 | let neutrinoContract = this | |
172 | 170 | ||
173 | 171 | let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey) | |
174 | 172 | ||
175 | 173 | let neutrinoLockedBalance = getNumberByKey(NeutrinoLockedBalanceKey) | |
176 | 174 | ||
177 | 175 | let wavesLockedBalance = getNumberByKey(WavesLockedBalanceKey) | |
178 | 176 | ||
179 | 177 | let reserve = (wavesBalance(neutrinoContract) - wavesLockedBalance) | |
180 | 178 | ||
181 | 179 | let neutrinoSupply = (((neutrinoLockedBalance + extract(assetInfo(neutrinoAssetId)).quantity) - assetBalance(neutrinoContract, neutrinoAssetId)) - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId)) | |
182 | 180 | ||
183 | 181 | let surplus = (convertWavesToNeutrino(reserve, currentPrice) - neutrinoSupply) | |
184 | 182 | ||
185 | 183 | let deficit = (neutrinoSupply - convertWavesToNeutrino(reserve, currentPrice)) | |
186 | 184 | ||
187 | 185 | func checkIsValidMinSponsoredFee (tx) = { | |
188 | 186 | let MINTRANSFERFEE = 100000 | |
189 | 187 | let SponsoredFeeUpperBound = 1000 | |
190 | 188 | let realNeutrinoFee = convertWavesToNeutrino(MINTRANSFERFEE, currentPrice) | |
191 | 189 | let minNeutrinoFee = (realNeutrinoFee * 2) | |
192 | 190 | let maxNeutrinoFee = fraction(realNeutrinoFee, SponsoredFeeUpperBound, 100) | |
193 | 191 | let inputFee = extract(tx.minSponsoredAssetFee) | |
194 | 192 | if (if ((inputFee >= minNeutrinoFee)) | |
195 | 193 | then (maxNeutrinoFee >= inputFee) | |
196 | 194 | else false) | |
197 | 195 | then (tx.assetId == neutrinoAssetId) | |
198 | 196 | else false | |
199 | 197 | } | |
200 | 198 | ||
201 | 199 | ||
202 | 200 | func getRPDContractBalance (assetId) = getNumberByAddressAndKey(rpdContract, getRPDContractBalanceKey(assetId)) | |
203 | 201 | ||
204 | 202 | ||
205 | 203 | func getPriceHistory (block) = getNumberByAddressAndKey(controlContract, getPriceHistoryKey(block)) | |
206 | 204 | ||
207 | 205 | ||
208 | 206 | func getHeightPriceByIndex (index) = getNumberByAddressAndKey(controlContract, getHeightPriceByIndexKey(index)) | |
209 | 207 | ||
210 | 208 | ||
211 | 209 | func getCancelLeaseTxReserveFee (hash) = getNumberByKey(getCancelLeaseTxReserveFeeKey(hash)) | |
212 | 210 | ||
213 | 211 | ||
214 | 212 | func getWavesLockedBalance (owner) = getNumberByKey(getWavesLockedBalanceKey(owner)) | |
215 | 213 | ||
216 | 214 | ||
217 | 215 | func getNeutrinoLockedBalance (owner) = getNumberByKey(getNeutrinoLockedBalanceKey(owner)) | |
218 | 216 | ||
219 | 217 | ||
220 | 218 | func getUnlockBalanceBlock (owner) = getNumberByKey(getBalanceUnlockBlockKey(owner)) | |
221 | 219 | ||
222 | 220 | ||
223 | 221 | func getRPDProfit (count) = getNumberByKey(getRPDProfitKey(count)) | |
224 | 222 | ||
225 | 223 | ||
226 | 224 | @Callable(i) | |
227 | 225 | func swapWavesToNeutrino () = { | |
228 | 226 | let pmt = extract(i.payment) | |
229 | 227 | let account = toString(i.caller) | |
230 | 228 | if ((minWavesSwapAmount > pmt.amount)) | |
231 | 229 | then throw((("The specified Waves amount is less than the required minimum of " + toString(minWavesSwapAmount)) + " wavelets.")) | |
232 | 230 | else if (isDefined(pmt.assetId)) | |
233 | 231 | then throw("Only Waves token is allowed for swapping.") | |
234 | 232 | else if (isBlocked) | |
235 | 233 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
236 | 234 | else if ((getUnlockBalanceBlock(account) > height)) | |
237 | 235 | then throw((("await " + toString((getUnlockBalanceBlock(account) - height))) + " blocks")) | |
238 | 236 | else if (if ((getNeutrinoLockedBalance(account) != 0)) | |
239 | 237 | then true | |
240 | 238 | else (getWavesLockedBalance(account) != 0)) | |
241 | 239 | then throw("please withdraw locked funds first") | |
242 | 240 | else WriteSet([DataEntry(getWavesLockedBalanceKey(account), pmt.amount), DataEntry(getBalanceUnlockBlockKey(account), (height + balanceWavesLockInterval)), DataEntry(WavesLockedBalanceKey, (wavesLockedBalance + pmt.amount))]) | |
243 | 241 | } | |
244 | 242 | ||
245 | 243 | ||
246 | 244 | ||
247 | 245 | @Callable(i) | |
248 | 246 | func swapNeutrinoToWaves () = { | |
249 | 247 | let pmt = extract(i.payment) | |
250 | 248 | let account = toString(i.caller) | |
251 | 249 | if ((minNeutrinoSwapAmount > pmt.amount)) | |
252 | 250 | then throw((("The specified Neutrino amount is less than the required minimum of " + toString(minNeutrinoSwapAmount)) + " Neutrino cents.")) | |
253 | 251 | else if (isBlocked) | |
254 | 252 | then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.") | |
255 | 253 | else if ((pmt.assetId != neutrinoAssetId)) | |
256 | 254 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
257 | 255 | else if ((getUnlockBalanceBlock(account) > height)) | |
258 | 256 | then throw((("await " + toString((getUnlockBalanceBlock(account) - height))) + " blocks")) | |
259 | 257 | else if (if ((getNeutrinoLockedBalance(account) != 0)) | |
260 | 258 | then true | |
261 | 259 | else (getWavesLockedBalance(account) != 0)) | |
262 | 260 | then throw("please withdraw locked funds first") | |
263 | 261 | else WriteSet([DataEntry(getNeutrinoLockedBalanceKey(account), pmt.amount), DataEntry(getBalanceUnlockBlockKey(account), (height + balanceNeutrinoLockInterval)), DataEntry(NeutrinoLockedBalanceKey, (neutrinoLockedBalance + pmt.amount))]) | |
264 | 262 | } | |
265 | 263 | ||
266 | 264 | ||
267 | 265 | ||
268 | 266 | @Callable(i) | |
269 | 267 | func withdraw (account,index) = { | |
270 | 268 | let unlockHeight = getUnlockBalanceBlock(account) | |
271 | 269 | let userWavesLockedBalance = getWavesLockedBalance(account) | |
272 | 270 | let userNeutrinoLockedBalance = getNeutrinoLockedBalance(account) | |
273 | 271 | let indexHeight = getHeightPriceByIndex(index) | |
274 | 272 | let prevIndexHeight = getHeightPriceByIndex((index - 1)) | |
275 | 273 | let priceByIndex = getPriceHistory(indexHeight) | |
276 | 274 | let spread = 0 | |
277 | 275 | let neutrinoAmount = convertWavesToNeutrino(userWavesLockedBalance, (priceByIndex - spread)) | |
278 | 276 | let wavesAmount = convertNeutrinoToWaves(userNeutrinoLockedBalance, (priceByIndex + spread)) | |
279 | 277 | if (isBlocked) | |
280 | 278 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
281 | 279 | else if ((unlockHeight > height)) | |
282 | 280 | then throw((("please wait for: " + toString(unlockHeight)) + " block height to withdraw WAVES funds")) | |
283 | 281 | else if (if (if ((index > priceIndex)) | |
284 | 282 | then true | |
285 | 283 | else (unlockHeight > indexHeight)) | |
286 | 284 | then true | |
287 | 285 | else if ((prevIndexHeight != 0)) | |
288 | 286 | then (prevIndexHeight >= unlockHeight) | |
289 | 287 | else false) | |
290 | 288 | then throw(((((((((("invalid price history index: index=" + toString(index)) + " priceIndex=") + toString(priceIndex)) + " indexHeight=") + toString(indexHeight)) + " unlockHeight=") + toString(unlockHeight)) + " prevIndexHeight=") + toString(prevIndexHeight))) | |
291 | 289 | else if (if ((0 >= neutrinoAmount)) | |
292 | 290 | then (0 >= wavesAmount) | |
293 | 291 | else false) | |
294 | 292 | then throw("balance equals zero") | |
295 | 293 | else ScriptResult(WriteSet([DataEntry(getWavesLockedBalanceKey(account), 0), DataEntry(getNeutrinoLockedBalanceKey(account), 0), DataEntry(WavesLockedBalanceKey, (wavesLockedBalance - userWavesLockedBalance)), DataEntry(NeutrinoLockedBalanceKey, (neutrinoLockedBalance - userNeutrinoLockedBalance))]), TransferSet([ScriptTransfer(addressFromStringValue(account), wavesAmount, unit), ScriptTransfer(addressFromStringValue(account), neutrinoAmount, neutrinoAssetId)])) | |
296 | 294 | } | |
297 | 295 | ||
298 | 296 | ||
299 | 297 | ||
300 | 298 | @Callable(i) | |
301 | 299 | func transferToAuction () = { | |
302 | 300 | let auctionNBAmount = (neutrinoSupply - assetBalance(addressFromStringValue(auctionContract), bondAssetId)) | |
303 | 301 | let surplusWithLiquidation = (surplus - assetBalance(addressFromStringValue(liquidationContract), neutrinoAssetId)) | |
304 | 302 | if (isBlocked) | |
305 | 303 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
306 | 304 | else if ((auctionNBAmount > (1 * PAULI))) | |
307 | 305 | then TransferSet([ScriptTransfer(addressFromStringValue(auctionContract), auctionNBAmount, bondAssetId)]) | |
308 | 306 | else if ((surplusWithLiquidation >= (1 * PAULI))) | |
309 | 307 | then TransferSet([ScriptTransfer(addressFromStringValue(liquidationContract), surplusWithLiquidation, neutrinoAssetId)]) | |
310 | 308 | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(auctionNBAmount)) + "|") + toString(0)) + ". Surplus:") + toString(surplusWithLiquidation)) + "|") + toString(surplus))) | |
311 | 309 | } | |
312 | 310 | ||
313 | 311 | ||
314 | 312 | ||
315 | 313 | @Callable(i) | |
316 | 314 | func transfer (account) = { | |
317 | 315 | let pmt = extract(i.payment) | |
318 | 316 | TransferSet([ScriptTransfer(addressFromStringValue(account), pmt.amount, pmt.assetId)]) | |
319 | 317 | } | |
320 | 318 | ||
321 | 319 | ||
322 | 320 | ||
323 | 321 | @Callable(i) | |
324 | 322 | func migrationUSDNB2NSBTSwap () = { | |
325 | 323 | let pmt = extract(i.payment) | |
326 | 324 | let account = i.caller | |
327 | 325 | if ((deprecatedBondAssetId != pmt.assetId)) | |
328 | 326 | then throw("error: attempt to swap not USDNB tokens") | |
329 | 327 | else TransferSet([ScriptTransfer(account, (pmt.amount * PAULI), bondAssetId)]) | |
330 | 328 | } | |
331 | 329 | ||
332 | 330 | ||
333 | 331 | ||
334 | 332 | @Callable(i) | |
335 | 333 | func updateReservesAndNeutrinoSupply () = { | |
336 | 334 | func getNumberByKeyInternal (key) = match getInteger(this, key) { | |
337 | 335 | case a: Int => | |
338 | 336 | a | |
339 | 337 | case _ => | |
340 | 338 | 0 | |
341 | 339 | } | |
342 | 340 | ||
343 | 341 | let idx = getNumberByKeyInternal("updateReservesAndNeutrinoSupplyIdx") | |
344 | 342 | let newIdx = (idx + 1) | |
345 | 343 | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", newIdx), DataEntry("reserve", reserve), DataEntry("neutrinoSupply", neutrinoSupply), DataEntry("deficit", deficit), DataEntry("surplus", surplus), DataEntry("bondSupply", (extract(assetInfo(bondAssetId)).quantity - assetBalance(neutrinoContract, bondAssetId)))]) | |
346 | 344 | } | |
347 | 345 | ||
348 | 346 | ||
349 | 347 | @Verifier(tx) | |
350 | 348 | func verify () = { | |
351 | 349 | let id = toBase58String(tx.id) | |
352 | 350 | let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0]))) | |
353 | 351 | then 1 | |
354 | 352 | else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1]))) | |
355 | 353 | then 1 | |
356 | 354 | else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2]))) | |
357 | 355 | then 1 | |
358 | 356 | else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3]))) | |
359 | 357 | then 2 | |
360 | 358 | else 0)) | |
361 | 359 | match tx { | |
362 | 360 | case leasingTx: LeaseCancelTransaction|LeaseTransaction => | |
363 | - | sigVerify( | |
361 | + | sigVerify(leasingTx.bodyBytes, leasingTx.proofs[0], nodeOracleProviderPubKey) | |
364 | 362 | case sponsorTx: SponsorFeeTransaction => | |
365 | 363 | if (checkIsValidMinSponsoredFee(sponsorTx)) | |
366 | 364 | then (count >= 3) | |
367 | 365 | else false | |
368 | 366 | case _ => | |
369 | 367 | (count >= 3) | |
370 | 368 | } | |
371 | 369 | } | |
372 | 370 |
github/deemru/w8io/169f3d6 94.27 ms ◑