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