tx · GNhYbVZ9ACMchHwkqDAmgLKWwyachspSErHvicN71k6n

3N3UHNYQ8xwe2WWLKgXX628JyUtF6kYK4wS:  -0.01000000 Waves

2020.09.28 12:27 [1196990] smart account 3N3UHNYQ8xwe2WWLKgXX628JyUtF6kYK4wS > SELF 0.00000000 Waves

{ "type": 13, "id": "GNhYbVZ9ACMchHwkqDAmgLKWwyachspSErHvicN71k6n", "fee": 1000000, "feeAssetId": null, "timestamp": 1601285260478, "version": 1, "sender": "3N3UHNYQ8xwe2WWLKgXX628JyUtF6kYK4wS", "senderPublicKey": "Hxyif8HnnHh34SZ7PZewDcNUgrZfHNJsQvLNCcPbCW27", "proofs": [ "zAQzf4qJaMRpjPBSgE8TYcFoFLpZF6tQnF6t2fbD9M6TdL7RL9M5AXRx8KNaKi73NNaB7f57AYDEW39KPcX8aRP" ], "script": "base64:AAIEAAAAAAAAADUIAhIKCggICAEIAQEICBIQCg4ICAEIAQgBAQEBAQEBARIDCgEIEgMKAQgSBAoCCAESAwoBCAAAAFcBAAAAFmNvbnZlcnRKc29uQXJyYXlUb0xpc3QAAAACAAAACWpzb25BcnJheQAAAAtzcGxpdFN5bWJvbAkABLUAAAACBQAAAAlqc29uQXJyYXkFAAAAC3NwbGl0U3ltYm9sAQAAABhnZXRTdHJpbmdCeUFkZHJlc3NBbmRLZXkAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQIAAAAAAQAAAAxnZXRCb29sQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkHAAAAAAxrZXlBc3NldENvZGUAAAAAAAAAAAEAAAAACmtleUFzc2V0SWQAAAAAAAAAAAIAAAAADmtleUFzc2V0U3RhdHVzAAAAAAAAAAADAAAAABVrZXlBc3NldFByaWNlRGVjaW1hbHMAAAAAAAAAAAQAAAAAE2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"applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 9earhUfVjmBWQKD4nQGRWWQv2eztDqGvmHDK2JGh3KeM Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func convertJsonArrayToList (jsonArray,splitSymbol) = split(jsonArray, splitSymbol)
5+
6+
7+func getStringByAddressAndKey (address,key) = valueOrElse(getString(address, key), "")
8+
9+
10+func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
11+
12+
13+let keyAssetCode = 1
14+
15+let keyAssetId = 2
16+
17+let keyAssetStatus = 3
18+
19+let keyAssetPriceDecimals = 4
20+
21+let keyAssetBakingAsset = 5
22+
23+let keyOvercollateralPercentage = 6
24+
25+let keyMinPool = 7
26+
27+let keyPriceOracleAddress = 8
28+
29+let keyMinBuyPayment = 9
30+
31+let keyMinSellPayment = 10
32+
33+let keyBuyLockInterval = 11
34+
35+let keySellLockInterval = 12
36+
37+let keyBuyFee = 13
38+
39+let keySellFee = 14
40+
41+let keyPoolRedemptionTimeout = 15
42+
43+let adminPublicKey = "G1Ebu5AMHaTJFEbZNkZQcJFUQ9KfiYUwupyLG857DcFr"
44+
45+let neutrinoContractAddressKey = "%s%s__commonConfig__neutrinoContractAddress"
46+
47+let neutrinoStakingAddressKey = "%s%s__commonConfig__neutrinoStakingAddress"
48+
49+let minimunPoolFundingAmountKey = "%s%s__commonConfig__minimumPoolFundingAmount"
50+
51+let isInitializedKey = "%s%s__commonConfig__initialized"
52+
53+let currentAssetIndexKey = "%s%s__commonConfig__predefinedAssetsActiveIndex"
54+
55+let assetsAddressListKey = "%s%s__commonConfig__predefinedAssetsList"
56+
57+let debtTokenIdKey = "%s%s__commonConfig__debtAssetId"
58+
59+let debtTokenEtalonBalanceKey = "%s%s__commonConfig__debtAssetEtalonBalance"
60+
61+let defoStakingAddressKey = "%s%s__commonConfig__defoStakingAddress"
62+
63+let defoStakingPacemakerPubKey = "%s%s__commonConfig__defoStakingPacemakerPub"
64+
65+let neutrinoAssetIdKey = "neutrino_asset_id"
66+
67+let nsbtAssetIdKey = "bond_asset_id"
68+
69+let defoAssetIdKey = "%s__defoAssetId"
70+
71+let setAssetScriptTxIdKey = "%s__assetScriptTxId"
72+
73+func getAssetConfigKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__config")
74+
75+
76+func getAssetPriceKey (assetCode) = ("%s%s__assetPrice__" + assetCode)
77+
78+
79+func getAssetInitHeightKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__initHeight")
80+
81+
82+func getAssetActivateHeightKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__activateHeight")
83+
84+
85+func getAssetCurrrentPoolAmountKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__currentPool")
86+
87+
88+func getAssetMaxPoolAmountKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__maxPool")
89+
90+
91+func getAssetMetaKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__meta")
92+
93+
94+func getAssetPoolMakersKey (assetAddress) = (("%s%s%s__defoAsset__" + assetAddress) + "__poolMakers")
95+
96+
97+func getAssetAddressByCodeKey (assetCode) = (("%s%s%s__defoAsset__" + assetCode) + "__addressByAssetCode")
98+
99+
100+func getAssetAddressByAssetIdKey (assetId) = (("%s%s%s__defoAsset__" + assetId) + "__addressByAssetId")
101+
102+
103+func getPoolMakerParticipationAmountKey (assetAddress,poolMakerAddress) = (((("%s%s%s%s__pool__" + assetAddress) + "__") + poolMakerAddress) + "__amount")
104+
105+
106+func getPoolMakerParticipationMaxAmountKey (assetAddress,poolMakerAddress) = (((("%s%s%s%s__pool__" + assetAddress) + "__") + poolMakerAddress) + "__maxAmount")
107+
108+
109+func getPoolMakerLockedAmountKey (assetAddress,poolMakerAddress) = (((("%s%s%s%s__pool__" + assetAddress) + "__") + poolMakerAddress) + "__lockedAmount")
110+
111+
112+func getPoolMakerUnlockHeightKey (assetAddress,poolMakerAddress) = (((("%s%s%s%s__pool__" + assetAddress) + "__") + poolMakerAddress) + "__unlockHeight")
113+
114+
115+func getAssetConfigArray (assetAddress) = convertJsonArrayToList(valueOrErrorMessage(getStringByAddressAndKey(this, getAssetConfigKey(assetAddress)), (("No DEFO Asset " + assetAddress) + "config present")), "__")
116+
117+
118+let neutrinoContract = addressFromStringValue(valueOrErrorMessage(getString(this, neutrinoContractAddressKey), "No neutrino contract specified."))
119+
120+let neutrinoAssetId = fromBase58String(valueOrErrorMessage(getString(neutrinoContract, neutrinoAssetIdKey), "No USDN asset id found."))
121+
122+let nsbtAssetId = fromBase58String(valueOrErrorMessage(getString(neutrinoContract, nsbtAssetIdKey), "No NSBT asset id found"))
123+
124+let minimumPoolFunding = valueOrErrorMessage(getInteger(this, minimunPoolFundingAmountKey), "Minimum pool funding amount is not specified.")
125+
126+let assetStatus = $Tuple3("PROPOSED", "READY", "ISSUED")
127+
128+let predefinedAssetContracts = valueOrErrorMessage(getString(this, assetsAddressListKey), "No pool of predeployed asset contracts found.")
129+
130+let predefinedAssetsList = convertJsonArrayToList(predefinedAssetContracts, ",")
131+
132+let currentAssetIndex = valueOrElse(getInteger(this, currentAssetIndexKey), 0)
133+
134+let debtToken = fromBase58String(valueOrErrorMessage(getString(this, debtTokenIdKey), "No debt token found"))
135+
136+let multiplicator = 1000000
137+
138+let debtTokenReissueAmount = valueOrElse(getInteger(this, debtTokenEtalonBalanceKey), 0)
139+
140+func getAssetAddressByCode (assetSymbol) = valueOrElse(getString(this, getAssetAddressByCodeKey(assetSymbol)), "")
141+
142+
143+func getAssetCode (assetConfig) = assetConfig[keyAssetCode]
144+
145+
146+func getAssetID (assetConfig) = assetConfig[keyAssetId]
147+
148+
149+func getAssetStatus (assetConfig) = assetConfig[keyAssetStatus]
150+
151+
152+func getAssetPriceDecimals (assetConfig) = parseIntValue(assetConfig[keyAssetPriceDecimals])
153+
154+
155+func getAssetBakingAssetId (assetConfig) = assetConfig[keyAssetBakingAsset]
156+
157+
158+func getAssetOverCollateralPercent (assetConfig) = parseIntValue(assetConfig[keyOvercollateralPercentage])
159+
160+
161+func getAssetMinRequiredPoolAmount (assetConfig) = parseIntValue(assetConfig[keyMinPool])
162+
163+
164+func getAssetPriceOracleAddress (assetConfig) = assetConfig[keyPriceOracleAddress]
165+
166+
167+func getMinBuyPaymentPerAsset (assetConfig) = parseIntValue(assetConfig[keyMinBuyPayment])
168+
169+
170+func getMinSellPaymentPerAsset (assetConfig) = parseIntValue(assetConfig[keyMinSellPayment])
171+
172+
173+func getBuyLockIntervalPerAsset (assetConfig) = parseIntValue(assetConfig[keyBuyLockInterval])
174+
175+
176+func getSellLockIntervalPerAsset (assetConfig) = parseIntValue(assetConfig[keySellLockInterval])
177+
178+
179+func getBuyFeePerAsset (assetConfig) = parseIntValue(assetConfig[keyBuyFee])
180+
181+
182+func getSellFeePerAsset (assetConfig) = parseIntValue(assetConfig[keySellFee])
183+
184+
185+func getRedemptionTimeoutBlocks (assetConfig) = parseIntValue(assetConfig[keyPoolRedemptionTimeout])
186+
187+
188+func getAssetPoolMakers (assetAddress) = valueOrElse(getString(this, getAssetPoolMakersKey(assetAddress)), "")
189+
190+
191+func getAssetInitHeight (assetAddress) = valueOrElse(getInteger(this, getAssetInitHeightKey(assetAddress)), 0)
192+
193+
194+func getAssetActivateHeight (assetAddress) = valueOrElse(getInteger(this, getAssetActivateHeightKey(assetAddress)), 0)
195+
196+
197+func getAssetCurrentPoolAmount (assetAddress) = valueOrElse(getInteger(this, getAssetCurrrentPoolAmountKey(assetAddress)), 0)
198+
199+
200+func getAssetMaxPoolAmount (assetAddress) = valueOrElse(getInteger(this, getAssetMaxPoolAmountKey(assetAddress)), 0)
201+
202+
203+func getAssetMeta (assetAddress) = valueOrElse(getString(this, getAssetMetaKey(assetAddress)), "")
204+
205+
206+func getPoolMakerParticipationAmount (assetAddress,poolMakerAddress) = valueOrElse(getInteger(this, getPoolMakerParticipationAmountKey(assetAddress, poolMakerAddress)), 0)
207+
208+
209+func getPoolMakerParticipationMaxAmount (assetAddress,poolMakerAddress) = valueOrElse(getInteger(this, getPoolMakerParticipationMaxAmountKey(assetAddress, poolMakerAddress)), 0)
210+
211+
212+func getPoolMakerLockedAmount (assetAddress,poolMakerAddress) = valueOrElse(getInteger(this, getPoolMakerLockedAmountKey(assetAddress, poolMakerAddress)), 0)
213+
214+
215+func getPoolMakerUnlockHeight (assetAddress,poolMakerAddress) = valueOrElse(getInteger(this, getPoolMakerUnlockHeightKey(assetAddress, poolMakerAddress)), 0)
216+
217+
218+func getAssetPrice (priceOracleAddress,assetCode) = valueOrErrorMessage(getInteger(priceOracleAddress, getAssetPriceKey(assetCode)), "No Asset price found")
219+
220+
221+func composeAssetConfigurationString (assetCode,assetId,assetStatus,priceDecimals,backingAssetId,overCollateralPercent,minPool,priceOracleAddress,minBuyPayment,minSellPayment,buyLockInterval,sellLockInterval,buyFee,sellFee,poolRedemptionTimeout) = makeString(["%s%s%s%d%s%d%d%s%d%d%d%d%d%d%d", assetCode, assetId, assetStatus, toString(priceDecimals), backingAssetId, toString(overCollateralPercent), toString(minPool), priceOracleAddress, toString(minBuyPayment), toString(minSellPayment), toString(buyLockInterval), toString(sellLockInterval), toString(buyFee), toString(sellFee), toString(poolRedemptionTimeout)], "__")
222+
223+
224+@Callable(i)
225+func init (neutrinoContractAddress,neutrinoStakingAddress,minimunPoolFundingAmount,predefinedAssetList,currentAssetIndex,debtEthalonBalance,defoStakingAddress,defoStakingPacemakerPub) = if ((toBase58String(i.callerPublicKey) != adminPublicKey))
226+ then throw("Only Admin can perform contract operation.")
227+ else if ((getBoolByKey(isInitializedKey) == true))
228+ then throw("Contract was already initialized.")
229+ else {
230+ let issueDebt = Issue("DEFO_DEBT", "DEFO Debt Token.", 1, 6, true)
231+ let debtTokenId = calculateAssetId(issueDebt)
232+[StringEntry(neutrinoContractAddressKey, neutrinoContractAddress), StringEntry(neutrinoStakingAddressKey, neutrinoStakingAddress), IntegerEntry(minimunPoolFundingAmountKey, minimunPoolFundingAmount), StringEntry(assetsAddressListKey, predefinedAssetList), IntegerEntry(currentAssetIndexKey, currentAssetIndex), IntegerEntry(debtTokenEtalonBalanceKey, debtEthalonBalance), StringEntry(debtTokenIdKey, toBase58String(debtTokenId)), StringEntry(defoStakingAddressKey, defoStakingAddress), StringEntry(defoStakingPacemakerPubKey, defoStakingPacemakerPub), BooleanEntry(isInitializedKey, true), issueDebt, Burn(debtTokenId, 1)]
233+ }
234+
235+
236+
237+@Callable(i)
238+func proposeAsset (assetCode,meta,minPool,priceOracleAddress,overCollateralPercent,backingAssetId,priceDecimals,minBuyPayment,minSellPayment,buyLockInterval,sellLockInterval,buyFee,sellFee,poolRedemptionTimeout) = if ((toBase58String(i.callerPublicKey) != adminPublicKey))
239+ then throw("Only Admin can perform contract operation.")
240+ else if ((getBoolByKey(isInitializedKey) == false))
241+ then throw("Contract is not yet ready.")
242+ else if ((fromBase58String(backingAssetId) != neutrinoAssetId))
243+ then throw("Baking asset id could be USDN only.")
244+ else if ((getAssetAddressByCode(assetCode) != ""))
245+ then throw((("Asset with passed code " + assetCode) + " has already been proposed."))
246+ else if ((minimumPoolFunding > minPool))
247+ then throw(("Minimum pool amount should be greater or equals to " + toString(minimumPoolFunding)))
248+ else if (if (if (if (if (if (if (if ((0 > overCollateralPercent))
249+ then true
250+ else (0 > priceDecimals))
251+ then true
252+ else (0 > minBuyPayment))
253+ then true
254+ else (0 > minSellPayment))
255+ then true
256+ else (0 > buyLockInterval))
257+ then true
258+ else (0 > sellLockInterval))
259+ then true
260+ else (0 > buyFee))
261+ then true
262+ else (0 > sellFee))
263+ then throw("One of the passed parameters is invalid.")
264+ else {
265+ let priceOracleAddressValid = valueOrErrorMessage(addressFromStringValue(priceOracleAddress), "Passed Price Oracle Address is not valid.")
266+ let assetAddress = predefinedAssetsList[currentAssetIndex]
267+ let defoAssetId = valueOrErrorMessage(getString(valueOrErrorMessage(addressFromString(assetAddress), ""), defoAssetIdKey), "No defo asset ID found.")
268+[StringEntry(getAssetConfigKey(assetAddress), composeAssetConfigurationString(assetCode, defoAssetId, assetStatus._1, priceDecimals, backingAssetId, overCollateralPercent, minPool, priceOracleAddress, minBuyPayment, minSellPayment, buyLockInterval, sellLockInterval, buyFee, sellFee, poolRedemptionTimeout)), StringEntry(getAssetAddressByCodeKey(assetCode), assetAddress), StringEntry(getAssetMetaKey(assetAddress), meta), IntegerEntry(getAssetInitHeightKey(assetAddress), height), IntegerEntry(currentAssetIndexKey, (currentAssetIndex + 1)), StringEntry(getAssetAddressByAssetIdKey(defoAssetId), assetAddress)]
269+ }
270+
271+
272+
273+@Callable(i)
274+func fundLiquidityPool (assetCode) = {
275+ let assetAddress = getAssetAddressByCode(assetCode)
276+ let assetConfigurationList = getAssetConfigArray(assetAddress)
277+ let attachedPayment = value(i.payments[0])
278+ if ((toBase58String(i.callerPublicKey) != adminPublicKey))
279+ then throw("Only Admin can perform contract operation.")
280+ else if ((getBoolByKey(isInitializedKey) == false))
281+ then throw("Contract is not yet ready.")
282+ else if ((attachedPayment.assetId != neutrinoAssetId))
283+ then throw("Liquidity pool could be funded with USDN only.")
284+ else if ((attachedPayment.amount == 0))
285+ then throw("Incorrect attached payment amount.")
286+ else if ((assetAddress == ""))
287+ then throw((("Cannot find liquidity pool for asset " + assetCode) + "."))
288+ else {
289+ let finalPoolAmount = (attachedPayment.amount + getAssetCurrentPoolAmount(assetAddress))
290+ let maxPoolAmount = getAssetMaxPoolAmount(assetAddress)
291+ let poolMakerAddress = toString(i.caller)
292+ let currentPoolMakerBalance = getPoolMakerParticipationAmount(assetAddress, poolMakerAddress)
293+ let maxPoolMakerBalance = getPoolMakerParticipationMaxAmount(assetAddress, poolMakerAddress)
294+ let currentPoolStatus = getAssetStatus(assetConfigurationList)
295+ let finalPoolStatus = if (if ((finalPoolAmount >= getAssetMinRequiredPoolAmount(assetConfigurationList)))
296+ then (currentPoolStatus == assetStatus._1)
297+ else false)
298+ then assetStatus._2
299+ else currentPoolStatus
300+ let currentPoolMakers = getAssetPoolMakers(assetAddress)
301+ let newPoolMakers = if ((currentPoolMakers == ""))
302+ then poolMakerAddress
303+ else if (contains(currentPoolMakers, poolMakerAddress))
304+ then currentPoolMakers
305+ else ((currentPoolMakers + ",") + toString(i.caller))
306+ let aCode = getAssetCode(assetConfigurationList)
307+ let aID = getAssetID(assetConfigurationList)
308+ let aPriceDecimals = getAssetPriceDecimals(assetConfigurationList)
309+ let aBakingAssetId = getAssetBakingAssetId(assetConfigurationList)
310+ let aOverCollateralPercent = getAssetOverCollateralPercent(assetConfigurationList)
311+ let aMinRequiredPool = getAssetMinRequiredPoolAmount(assetConfigurationList)
312+ let aPriceOracleAddress = getAssetPriceOracleAddress(assetConfigurationList)
313+ let aMinBuyPayment = getMinBuyPaymentPerAsset(assetConfigurationList)
314+ let aMinSellPayment = getMinSellPaymentPerAsset(assetConfigurationList)
315+ let aBuyLockInterval = getBuyLockIntervalPerAsset(assetConfigurationList)
316+ let aSellLockInterval = getSellLockIntervalPerAsset(assetConfigurationList)
317+ let aBuyFee = getBuyFeePerAsset(assetConfigurationList)
318+ let aSellFee = getSellFeePerAsset(assetConfigurationList)
319+ let aRedemptionTimeoutBlocks = getRedemptionTimeoutBlocks(assetConfigurationList)
320+ let newPoolMakerBalance = (currentPoolMakerBalance + i.payments[0].amount)
321+ let result = [IntegerEntry(getPoolMakerParticipationAmountKey(assetAddress, toString(i.caller)), newPoolMakerBalance), IntegerEntry(getPoolMakerParticipationMaxAmountKey(assetAddress, toString(i.caller)), if ((newPoolMakerBalance > maxPoolMakerBalance))
322+ then newPoolMakerBalance
323+ else maxPoolMakerBalance), IntegerEntry(getAssetCurrrentPoolAmountKey(assetAddress), finalPoolAmount), IntegerEntry(getAssetMaxPoolAmountKey(assetAddress), if ((finalPoolAmount > maxPoolAmount))
324+ then finalPoolAmount
325+ else maxPoolAmount), DeleteEntry(getAssetConfigKey(assetAddress)), StringEntry(getAssetPoolMakersKey(assetAddress), newPoolMakers), StringEntry(getAssetConfigKey(assetAddress), composeAssetConfigurationString(aCode, aID, finalPoolStatus, aPriceDecimals, aBakingAssetId, aOverCollateralPercent, aMinRequiredPool, aPriceOracleAddress, aMinBuyPayment, aMinSellPayment, aBuyLockInterval, aSellLockInterval, aBuyFee, aSellFee, aRedemptionTimeoutBlocks))]
326+ if ((currentPoolStatus == assetStatus._3))
327+ then (result :+ ScriptTransfer(addressFromStringValue(assetAddress), attachedPayment.amount, neutrinoAssetId))
328+ else result
329+ }
330+ }
331+
332+
333+
334+@Callable(i)
335+func activateAsset (assetCode) = {
336+ let assetAddress = getAssetAddressByCode(assetCode)
337+ let assetConfigurationList = getAssetConfigArray(assetAddress)
338+ let currentAssetPoolAmount = getAssetCurrentPoolAmount(assetAddress)
339+ let aCode = getAssetCode(assetConfigurationList)
340+ let aCurrentStatus = getAssetStatus(assetConfigurationList)
341+ let aID = getAssetID(assetConfigurationList)
342+ let aPriceDecimals = getAssetPriceDecimals(assetConfigurationList)
343+ let aBakingAssetId = getAssetBakingAssetId(assetConfigurationList)
344+ let aOverCollateralPercent = getAssetOverCollateralPercent(assetConfigurationList)
345+ let aMinRequiredPool = getAssetMinRequiredPoolAmount(assetConfigurationList)
346+ let aPriceOracleAddress = getAssetPriceOracleAddress(assetConfigurationList)
347+ let aMinBuyPayment = getMinBuyPaymentPerAsset(assetConfigurationList)
348+ let aMinSellPayment = getMinSellPaymentPerAsset(assetConfigurationList)
349+ let aBuyLockInterval = getBuyLockIntervalPerAsset(assetConfigurationList)
350+ let aSellLockInterval = getSellLockIntervalPerAsset(assetConfigurationList)
351+ let aBuyFee = getBuyFeePerAsset(assetConfigurationList)
352+ let aSellFee = getSellFeePerAsset(assetConfigurationList)
353+ let aRedemptionTimeoutBlocks = getRedemptionTimeoutBlocks(assetConfigurationList)
354+ if ((toBase58String(i.callerPublicKey) != adminPublicKey))
355+ then throw("Only Admin can perform contract operation.")
356+ else if ((getBoolByKey(isInitializedKey) == false))
357+ then throw("Contract is not yet ready.")
358+ else if ((aCurrentStatus != assetStatus._2))
359+ then throw((("Asset is not in READY status. Current status is " + aCurrentStatus) + "."))
360+ else if ((assetAddress == ""))
361+ then throw((("Cannot find asset " + assetCode) + "."))
362+ else if ((minimumPoolFunding > currentAssetPoolAmount))
363+ then throw((((("Cannot issue asset as liquidity pool amount (" + toString(currentAssetPoolAmount)) + ") is less than required (") + toString(minimumPoolFunding)) + ")"))
364+ else {
365+ let issueDebt = Reissue(debtToken, debtTokenReissueAmount, true)
366+[IntegerEntry(getAssetActivateHeightKey(assetAddress), height), DeleteEntry(getAssetConfigKey(assetAddress)), StringEntry(getAssetConfigKey(assetAddress), composeAssetConfigurationString(aCode, aID, assetStatus._3, aPriceDecimals, aBakingAssetId, aOverCollateralPercent, aMinRequiredPool, aPriceOracleAddress, aMinBuyPayment, aMinSellPayment, aBuyLockInterval, aSellLockInterval, aBuyFee, aSellFee, aRedemptionTimeoutBlocks)), issueDebt, ScriptTransfer(addressFromStringValue(assetAddress), currentAssetPoolAmount, neutrinoAssetId), ScriptTransfer(addressFromStringValue(assetAddress), debtTokenReissueAmount, debtToken)]
367+ }
368+ }
369+
370+
371+
372+@Callable(i)
373+func redeemFromPool (assetCode,amount) = {
374+ let assetAddress = getAssetAddressByCode(assetCode)
375+ let assetConfigurationList = getAssetConfigArray(assetAddress)
376+ let callerAddress = toString(i.caller)
377+ let totalAmountInPoolByCaller = getPoolMakerParticipationAmount(assetAddress, callerAddress)
378+ let lockedAmountByPoolMaker = getPoolMakerLockedAmount(assetAddress, callerAddress)
379+ if ((toBase58String(i.callerPublicKey) != adminPublicKey))
380+ then throw("Only Admin can perform contract operation.")
381+ else if ((getBoolByKey(isInitializedKey) == false))
382+ then throw("Contract is not yet ready.")
383+ else if ((assetAddress == ""))
384+ then throw((("Cannot find asset " + assetCode) + "."))
385+ else if (if (if ((0 > amount))
386+ then true
387+ else (totalAmountInPoolByCaller == 0))
388+ then true
389+ else (amount > totalAmountInPoolByCaller))
390+ then throw((("Cannot find pool maker by address " + callerAddress) + " or amount passed is not correct."))
391+ else if ((lockedAmountByPoolMaker > 0))
392+ then throw("Pool maker already has initiated redemption that is not withdrawn yet.")
393+ else [IntegerEntry(getPoolMakerLockedAmountKey(assetAddress, callerAddress), amount), IntegerEntry(getPoolMakerUnlockHeightKey(assetAddress, callerAddress), (height + getRedemptionTimeoutBlocks(assetConfigurationList)))]
394+ }
395+
396+
397+
398+@Callable(i)
399+func withdraw (assetCode) = {
400+ let assetConfigurationList = getAssetConfigArray(assetCode)
401+ let assetAddress = getAssetAddressByCode(assetCode)
402+ let priceOracleAddress = addressFromStringValue(getAssetPriceOracleAddress(assetConfigurationList))
403+ let callerAddress = toString(i.caller)
404+ let syntheticAssetInfo = valueOrErrorMessage(assetInfo(fromBase58String(assetAddress)), ("Cannot find asset by id " + assetAddress))
405+ let totalUSDNBalanceOnContract = assetBalance(this, neutrinoAssetId)
406+ let totalAmountInPoolByPoolMaker = getPoolMakerParticipationAmount(assetAddress, callerAddress)
407+ let lockedAmountByPoolMaker = getPoolMakerLockedAmount(assetAddress, callerAddress)
408+ let minWithdrawHeight = getPoolMakerUnlockHeight(assetAddress, callerAddress)
409+ let poolMaketProportion = (getAssetMaxPoolAmount(assetAddress) / getPoolMakerParticipationMaxAmount(assetAddress, callerAddress))
410+ if ((toBase58String(i.callerPublicKey) != adminPublicKey))
411+ then throw("Only Admin can perform contract operation.")
412+ else if ((getBoolByKey(isInitializedKey) == false))
413+ then throw("Contract is not yet ready.")
414+ else if ((getBoolByKey(isInitializedKey) == false))
415+ then throw("Contract is not yet ready.")
416+ else if ((assetAddress == ""))
417+ then throw((("Cannot find asset " + assetCode) + "."))
418+ else if ((totalAmountInPoolByPoolMaker == 0))
419+ then throw((("Cannot find pool maker by address " + callerAddress) + " or no locked amount."))
420+ else if ((height > minWithdrawHeight))
421+ then throw((("Please wait " + toString(minWithdrawHeight)) + " before withdraw."))
422+ else {
423+ let assetEmission = syntheticAssetInfo.quantity
424+ let currentPrice = getAssetPrice(priceOracleAddress, assetCode)
425+ let poolMakerLockedAmount = getPoolMakerLockedAmount(assetAddress, callerAddress)
426+ let priceWithOvercollateralRate = (getAssetOverCollateralPercent(assetConfigurationList) * currentPrice)
427+ let usdnNeededToCoverEmission = (priceWithOvercollateralRate * assetEmission)
428+ if ((totalUSDNBalanceOnContract > usdnNeededToCoverEmission))
429+ then {
430+ let amoutAvailableToExitFromPool = (totalUSDNBalanceOnContract - usdnNeededToCoverEmission)
431+ let amountForWithdraw = (poolMaketProportion * amoutAvailableToExitFromPool)
432+ let finalLockedAmount = (getPoolMakerLockedAmount(assetAddress, callerAddress) - amountForWithdraw)
433+[IntegerEntry(getAssetCurrrentPoolAmountKey(assetAddress), (getAssetCurrentPoolAmount(assetAddress) - amountForWithdraw)), IntegerEntry(getPoolMakerParticipationAmountKey(assetAddress, callerAddress), (getPoolMakerParticipationAmount(assetAddress, callerAddress) - amountForWithdraw)), IntegerEntry(getPoolMakerLockedAmountKey(assetAddress, callerAddress), finalLockedAmount), ScriptTransfer(addressFromStringValue(callerAddress), amountForWithdraw, neutrinoAssetId)]
434+ }
435+ else nil
436+ }
437+ }
438+
439+

github/deemru/w8io/026f985 
44.14 ms