tx · GH16K5pQoEUZUenM5MBTQhs1k37KGez8WKwcDBswEHkz 3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg: -0.01400000 Waves 2022.01.31 23:37 [1903602] smart account 3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg > SELF 0.00000000 Waves
{ "type": 13, "id": "GH16K5pQoEUZUenM5MBTQhs1k37KGez8WKwcDBswEHkz", "fee": 1400000, "feeAssetId": null, "timestamp": 1643661539008, "version": 2, "chainId": 84, "sender": "3MzDGFvPnXVbA4wCacqcVnfVJPwG952KVAg", "senderPublicKey": "CViCXhHrygDDAtVc1uFczxe6ANj9tBz5PGQDS1yWZqgy", "proofs": [ "5xTW7i8mDp4yPLZaPfLTwE7aZTPnxU5HT8i6ni3gAJZu6gw28pBzrTbwLwuV8AywRvNm6Ubq3bjyXUPXeZrwZ3fg", "3g7jU1PL5w7JnYCbZ5quzuw5yjcX9D79sQ8pRhnAyXi7Rr8WNoVrwJAKCZvEdkqLgzidbeSVsmWPAhevrdFfpT2u" ], "script": "base64:AAIFAAAAAAAAAD4IAhIECgIBCBIDCgEIEhQKEggBAQgBAQEBAQEBARgEAQEEGBIFCgMBAQgSAwoBARIDCgEBEgQKAgEBEgASAAAAAEoAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAA9rZXlBZG1pblB1YktleTECAAAAC2FkbWluX3B1Yl8xAAAAAA9rZXlBZG1pblB1YktleTICAAAAC2FkbWluX3B1Yl8yAAAAAA9rZXlBZG1pblB1YktleTMCAAAAC2FkbWluX3B1Yl8zAAAAACFrZXlMYXVuY2hwYWREYXRhVHJhbnNhY3Rpb25TdGF0dXMCAAAAIWxhdW5jaHBhZF9kYXRhX3RyYW5zYWN0aW9uX3N0YXR1cwAAAAASa2V5TGF1bmNocGFkTmV4dElkAgAAABFsYXVuY2hwYWRfbmV4dF9pZAAAAAAUa2V5TGF1bmNocGFkQWN0aXZlSWQCAAAAE2xhdW5jaHBhZF9hY3RpdmVfaWQAAAA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ACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEmFkbWluUHViS2V5U3Rha2luZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAADZHR4BQAAAAckbWF0Y2gwAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZvcmFjbGUFAAAAIWtleUxhdW5jaHBhZERhdGFUcmFuc2FjdGlvblN0YXR1cwcFAAAADXNpZ25lZEJ5QWRtaW4HBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zdnvJPg==", "height": 1903602, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8co4thGRXHFBfkZ8DY992uJZYzhau2jAu7LWjDPD16sZ Next: 2eXdzZru7QHwMrFiWs7s4pWaKyhnHV7dVVHm1iQbHiM8 Diff:
Old | New | Differences | |
---|---|---|---|
174 | 174 | func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES")) | |
175 | 175 | then $Tuple4(unit, "WAVES", "WAVES", 8) | |
176 | 176 | else { | |
177 | - | let stringId = assetStr | |
178 | - | let idAsset = | |
177 | + | let stringId = valueOrElse(assetStr, toBase58String(USDN)) | |
178 | + | let idAsset = fromBase58String(assetStr) | |
179 | 179 | let info = valueOrErrorMessage(assetInfo(idAsset), (("Asset " + stringId) + " doesn't exist")) | |
180 | 180 | $Tuple4(idAsset, stringId, info.name, info.decimals) | |
181 | 181 | } | |
205 | 205 | else { | |
206 | 206 | let launchpadId = getLaunchpadNextId() | |
207 | 207 | let launchpadIdStr = toString(launchpadId) | |
208 | - | let $ | |
209 | - | let pmtAmount = $ | |
210 | - | let pmtAssetId = $ | |
211 | - | let $ | |
212 | - | let pmtStrAssetId = $ | |
213 | - | let pmtAssetName = $ | |
214 | - | let pmtDecimals = $ | |
208 | + | let $t064526527 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
209 | + | let pmtAmount = $t064526527._1 | |
210 | + | let pmtAssetId = $t064526527._2 | |
211 | + | let $t065366609 = getAssetInfo(pmtAssetId) | |
212 | + | let pmtStrAssetId = $t065366609._1 | |
213 | + | let pmtAssetName = $t065366609._2 | |
214 | + | let pmtDecimals = $t065366609._3 | |
215 | 215 | let freezeAdditionalEntry = if (freezeAdditionalToken) | |
216 | 216 | then [BooleanEntry((launchpadIdStr + keyFreezeAdditionalToken), true), StringEntry((launchpadIdStr + keyFreezeTokenId), freezeParams[0]), IntegerEntry((launchpadIdStr + keyFreezeTokenDuration), parseIntValue(freezeParams[1])), IntegerEntry((launchpadIdStr + keyFreezeTokenPerTicket), parseIntValue(freezeParams[2]))] | |
217 | 217 | else nil | |
227 | 227 | if ((calcHash != savedHash)) | |
228 | 228 | then throw("vrf Height hash not matching") | |
229 | 229 | else { | |
230 | - | let $ | |
231 | - | let buyAssetId = $ | |
232 | - | let buyAssetStrId = $ | |
233 | - | let buyAssetName = $ | |
234 | - | let buyAssetDecimals = $ | |
230 | + | let $t095159665 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
231 | + | let buyAssetId = $t095159665._1 | |
232 | + | let buyAssetStrId = $t095159665._2 | |
233 | + | let buyAssetName = $t095159665._3 | |
234 | + | let buyAssetDecimals = $t095159665._4 | |
235 | 235 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
236 | 236 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
237 | 237 | let commissionHC = getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission)) | |
276 | 276 | else false) | |
277 | 277 | then throw("You can't claim because you don't buy anything") | |
278 | 278 | else { | |
279 | - | let $ | |
280 | - | let buyAssetId = $ | |
281 | - | let buyAssetStrId = $ | |
282 | - | let buyAssetName = $ | |
283 | - | let buyAssetDecimals = $ | |
279 | + | let $t01271012860 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
280 | + | let buyAssetId = $t01271012860._1 | |
281 | + | let buyAssetStrId = $t01271012860._2 | |
282 | + | let buyAssetName = $t01271012860._3 | |
283 | + | let buyAssetDecimals = $t01271012860._4 | |
284 | 284 | let wonnedTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedTicketsAmount)), 0) | |
285 | 285 | let wonnedHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedHighCompetitionTicketsAmount)), 0) | |
286 | 286 | let awailableAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAvailableAllocations)), 0) | |
289 | 289 | let allowedAllocations = min([boughtAllocations, awailableAllocations]) | |
290 | 290 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
291 | 291 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
292 | - | let $ | |
293 | - | let tokenId = $ | |
294 | - | let tokenStrAssetId = $ | |
295 | - | let tokenAssetName = $ | |
296 | - | let tokenDecimals = $ | |
292 | + | let $t01377613920 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
293 | + | let tokenId = $t01377613920._1 | |
294 | + | let tokenStrAssetId = $t01377613920._2 | |
295 | + | let tokenAssetName = $t01377613920._3 | |
296 | + | let tokenDecimals = $t01377613920._4 | |
297 | 297 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
298 | 298 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
299 | 299 | let transferTokensAmount = (((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) + (wonnedHCTickets * tokensPerTicket)) | |
390 | 390 | @Callable(i) | |
391 | 391 | func transferBuyAsset (launchpadId,amount) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), { | |
392 | 392 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
393 | - | let $ | |
394 | - | let buyAssetId = $ | |
395 | - | let buyAssetStrId = $ | |
396 | - | let buyAssetName = $ | |
397 | - | let buyAssetDecimals = $ | |
393 | + | let $t02012620276 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
394 | + | let buyAssetId = $t02012620276._1 | |
395 | + | let buyAssetStrId = $t02012620276._2 | |
396 | + | let buyAssetName = $t02012620276._3 | |
397 | + | let buyAssetDecimals = $t02012620276._4 | |
398 | 398 | [IntegerEntry((toString(launchpadId) + keyTransferBuyAsset), amount), ScriptTransfer(projectAddress, amount, buyAssetId)] | |
399 | 399 | })) | |
400 | 400 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let keyActive = "active" | |
5 | 5 | ||
6 | 6 | let keyAdminPubKey1 = "admin_pub_1" | |
7 | 7 | ||
8 | 8 | let keyAdminPubKey2 = "admin_pub_2" | |
9 | 9 | ||
10 | 10 | let keyAdminPubKey3 = "admin_pub_3" | |
11 | 11 | ||
12 | 12 | let keyLaunchpadDataTransactionStatus = "launchpad_data_transaction_status" | |
13 | 13 | ||
14 | 14 | let keyLaunchpadNextId = "launchpad_next_id" | |
15 | 15 | ||
16 | 16 | let keyLaunchpadActiveId = "launchpad_active_id" | |
17 | 17 | ||
18 | 18 | let keyInitCaller = "init_caller" | |
19 | 19 | ||
20 | 20 | let keyAddress = "_address" | |
21 | 21 | ||
22 | 22 | let keyInitHeight = "_init_height" | |
23 | 23 | ||
24 | 24 | let keyStartHeight = "_start_height" | |
25 | 25 | ||
26 | 26 | let keyFinaliseHeight = "_finalise_height" | |
27 | 27 | ||
28 | 28 | let keyComission = "_comission" | |
29 | 29 | ||
30 | 30 | let keyAssetId = "_asset_id" | |
31 | 31 | ||
32 | 32 | let keyTotalTokenAmount = "_total_token_amount" | |
33 | 33 | ||
34 | 34 | let keyTotalAmountBuyAssetSold = "_total_buy_asset_sold" | |
35 | 35 | ||
36 | 36 | let keyTokensPerTicket = "_tokens_per_ticket" | |
37 | 37 | ||
38 | 38 | let keyPricePerToken = "_price_per_token" | |
39 | 39 | ||
40 | 40 | let keySwopPerTicket = "_swop_per_ticket" | |
41 | 41 | ||
42 | 42 | let keySwopfiTicketsAmount = "_tickets_swopfi_members" | |
43 | 43 | ||
44 | 44 | let keyCampaignTokensAmount = "_tokens_access_list" | |
45 | 45 | ||
46 | 46 | let keyTokensPerAllocation = "_tokens_per_allocation" | |
47 | 47 | ||
48 | 48 | let keyTicketLastNumber = "_ticket_last_number" | |
49 | 49 | ||
50 | 50 | let keyGovernanceStaked = "_SWOP_amount" | |
51 | 51 | ||
52 | 52 | let keyUserRefId = "_ref_id" | |
53 | 53 | ||
54 | 54 | let keyVerifyHash = "_verify_hash" | |
55 | 55 | ||
56 | 56 | let keyDuration = "_duration" | |
57 | 57 | ||
58 | 58 | let keyAmountBuyAssetInMarketing = "_total_purchased_buy_asset_in_marketing" | |
59 | 59 | ||
60 | 60 | let keyAmountBuyAssetInMarketingFinalized = "_total_purchased_buy_asset_in_marketing_finalized" | |
61 | 61 | ||
62 | 62 | let keyTransferBuyAsset = "_transfer_buy_asset" | |
63 | 63 | ||
64 | 64 | let keyFreezSwopDuration = "_freeze_swop_duration" | |
65 | 65 | ||
66 | 66 | let keyFreezeAdditionalToken = "_freeze_additional_token" | |
67 | 67 | ||
68 | 68 | let keyFreezeTokenId = "_freeze_token_id" | |
69 | 69 | ||
70 | 70 | let keyFreezeTokenDuration = "_freeze_token_duration" | |
71 | 71 | ||
72 | 72 | let keyFreezeTokenPerTicket = "_freeze_token_per_ticket" | |
73 | 73 | ||
74 | 74 | let keyBuyToken = "_buy_token" | |
75 | 75 | ||
76 | 76 | let keyClaimParams = "_claim_params" | |
77 | 77 | ||
78 | 78 | let keyHighCompetitionComission = "_high_competition_comission" | |
79 | 79 | ||
80 | 80 | let keyHighCompetitionSale = "_high_competition_sale" | |
81 | 81 | ||
82 | 82 | let keyHCTicketLastNumber = "_high_competition_ticket_last_number" | |
83 | 83 | ||
84 | 84 | let keyHighCompetitionAmount = "_tickets_high_competition" | |
85 | 85 | ||
86 | 86 | let keyTotalAmountBuyAssetSoldHC = "_total_buy_asset_sold_high_competition" | |
87 | 87 | ||
88 | 88 | let keyUserClaimedTokens = "_claimed_tokens" | |
89 | 89 | ||
90 | 90 | let keyUserClaimedBuyTokens = "_claimed_buy_tokens" | |
91 | 91 | ||
92 | 92 | let keyUserBoughtTicketsAmount = "_bought_tickets" | |
93 | 93 | ||
94 | 94 | let keyUserTickets = "_tickets_number" | |
95 | 95 | ||
96 | 96 | let keyUserHCTickets = "_tickets_number_high_competition" | |
97 | 97 | ||
98 | 98 | let keyUserHCBoughtTicketsAmount = "_bought_tickets_high_competition" | |
99 | 99 | ||
100 | 100 | let keyUserAvailableAllocations = "_available_purchase_marketing" | |
101 | 101 | ||
102 | 102 | let keyUserAmountBuyAssetInMarketing = "_purchased_buy_asset_in_marketing" | |
103 | 103 | ||
104 | 104 | let keyUserBoughtAllocations = "_bought_allocations" | |
105 | 105 | ||
106 | 106 | let keyUserClaimStatus = "_claim_status" | |
107 | 107 | ||
108 | 108 | let keyUserWinnedTicketsAmount = "_tickets_result" | |
109 | 109 | ||
110 | 110 | let keyUserWinnedHighCompetitionTicketsAmount = "_tickets_result_high_competition" | |
111 | 111 | ||
112 | 112 | let keyUserFreezeToken = "_freeze_token_amount" | |
113 | 113 | ||
114 | 114 | let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
115 | 115 | ||
116 | 116 | let governance = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
117 | 117 | ||
118 | 118 | let commissionWallet = Address(base58'3N2hBdeDEs7wCNA9EY8qv3B6drjgKD64xQG') | |
119 | 119 | ||
120 | 120 | let stakingUSDNAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
121 | 121 | ||
122 | 122 | let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
123 | 123 | ||
124 | 124 | let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
125 | 125 | ||
126 | 126 | let maxAllocationsAmount = 2 | |
127 | 127 | ||
128 | 128 | let activeLaunchpadId = valueOrElse(getIntegerValue(this, keyLaunchpadActiveId), -1) | |
129 | 129 | ||
130 | 130 | func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) { | |
131 | 131 | case string: String => | |
132 | 132 | fromBase58String(string) | |
133 | 133 | case nothing => | |
134 | 134 | throw("Admin public key is empty") | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | let adminPubKey1 = getAdminPub(keyAdminPubKey1) | |
139 | 139 | ||
140 | 140 | let adminPubKey2 = getAdminPub(keyAdminPubKey2) | |
141 | 141 | ||
142 | 142 | let adminPubKey3 = getAdminPub(keyAdminPubKey3) | |
143 | 143 | ||
144 | 144 | func getAssetInfo (assetId) = match assetId { | |
145 | 145 | case id: ByteVector => | |
146 | 146 | let stringId = toBase58String(id) | |
147 | 147 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
148 | 148 | $Tuple3(stringId, info.name, info.decimals) | |
149 | 149 | case waves: Unit => | |
150 | 150 | $Tuple3("WAVES", "WAVES", 8) | |
151 | 151 | case _ => | |
152 | 152 | throw("Match error") | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func getLaunchpadNextId () = valueOrElse(getInteger(this, keyLaunchpadNextId), 1) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func stakedUsdnAmount () = valueOrElse(getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))), 0) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | let active = valueOrElse(getBoolean(this, keyActive), true) | |
163 | 163 | ||
164 | 164 | func isActive () = if (active) | |
165 | 165 | then unit | |
166 | 166 | else throw("DApp is inactive at this moment") | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
170 | 170 | then unit | |
171 | 171 | else throw("Only admin can call this function") | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES")) | |
175 | 175 | then $Tuple4(unit, "WAVES", "WAVES", 8) | |
176 | 176 | else { | |
177 | - | let stringId = assetStr | |
178 | - | let idAsset = | |
177 | + | let stringId = valueOrElse(assetStr, toBase58String(USDN)) | |
178 | + | let idAsset = fromBase58String(assetStr) | |
179 | 179 | let info = valueOrErrorMessage(assetInfo(idAsset), (("Asset " + stringId) + " doesn't exist")) | |
180 | 180 | $Tuple4(idAsset, stringId, info.name, info.decimals) | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | @Callable(i) | |
185 | 185 | func hashingRandom (launchpadId,hash) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [StringEntry((toString(launchpadId) + keyVerifyHash), hash)])) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | ||
189 | 189 | @Callable(i) | |
190 | 190 | func initCaller (address) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [StringEntry(keyInitCaller, address)])) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(i) | |
195 | 195 | func init (projectAddress,startHeight,duration,buyToken,commission,tokensPerTicket,pricePerToken,swopfiTicketsAmount,campaignTokensAmount,tokensPerAllocation,swopPerTicket,swopFreezeDuration,claimParams,HighCompetitionSale,highCompetitionComission,highCompetitionTicketsAmount,freezeAdditionalToken,freezeParams) = valueOrElse(isActive(), if ((toString(i.caller) != valueOrElse(getString(this, keyInitCaller), ""))) | |
196 | 196 | then throw("Only project admin can call init function") | |
197 | 197 | else if ((size(i.payments) != 1)) | |
198 | 198 | then throw("One attached payment expected") | |
199 | 199 | else if ((height > startHeight)) | |
200 | 200 | then throw("Start height must be greater than blockchain height") | |
201 | 201 | else if (if (freezeAdditionalToken) | |
202 | 202 | then (size(freezeParams) != 3) | |
203 | 203 | else false) | |
204 | 204 | then throw("Freeze params list must have 3 items") | |
205 | 205 | else { | |
206 | 206 | let launchpadId = getLaunchpadNextId() | |
207 | 207 | let launchpadIdStr = toString(launchpadId) | |
208 | - | let $ | |
209 | - | let pmtAmount = $ | |
210 | - | let pmtAssetId = $ | |
211 | - | let $ | |
212 | - | let pmtStrAssetId = $ | |
213 | - | let pmtAssetName = $ | |
214 | - | let pmtDecimals = $ | |
208 | + | let $t064526527 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
209 | + | let pmtAmount = $t064526527._1 | |
210 | + | let pmtAssetId = $t064526527._2 | |
211 | + | let $t065366609 = getAssetInfo(pmtAssetId) | |
212 | + | let pmtStrAssetId = $t065366609._1 | |
213 | + | let pmtAssetName = $t065366609._2 | |
214 | + | let pmtDecimals = $t065366609._3 | |
215 | 215 | let freezeAdditionalEntry = if (freezeAdditionalToken) | |
216 | 216 | then [BooleanEntry((launchpadIdStr + keyFreezeAdditionalToken), true), StringEntry((launchpadIdStr + keyFreezeTokenId), freezeParams[0]), IntegerEntry((launchpadIdStr + keyFreezeTokenDuration), parseIntValue(freezeParams[1])), IntegerEntry((launchpadIdStr + keyFreezeTokenPerTicket), parseIntValue(freezeParams[2]))] | |
217 | 217 | else nil | |
218 | 218 | ([IntegerEntry((pmtStrAssetId + "_launchpad"), launchpadId), IntegerEntry(keyLaunchpadNextId, (launchpadId + 1)), StringEntry((launchpadIdStr + keyAddress), projectAddress), IntegerEntry((launchpadIdStr + keyInitHeight), height), IntegerEntry((launchpadIdStr + keyStartHeight), startHeight), IntegerEntry((launchpadIdStr + keyDuration), duration), StringEntry((launchpadIdStr + keyBuyToken), buyToken), IntegerEntry((launchpadIdStr + keyFreezSwopDuration), swopFreezeDuration), IntegerEntry((launchpadIdStr + keyTotalTokenAmount), pmtAmount), StringEntry((launchpadIdStr + keyAssetId), pmtStrAssetId), IntegerEntry((launchpadIdStr + keyComission), commission), IntegerEntry((launchpadIdStr + keyTicketLastNumber), 0), IntegerEntry((launchpadIdStr + keyHCTicketLastNumber), 0), IntegerEntry((launchpadIdStr + keyTokensPerTicket), tokensPerTicket), IntegerEntry((launchpadIdStr + keyPricePerToken), pricePerToken), IntegerEntry((launchpadIdStr + keySwopPerTicket), swopPerTicket), IntegerEntry((launchpadIdStr + keySwopfiTicketsAmount), swopfiTicketsAmount), IntegerEntry((launchpadIdStr + keyCampaignTokensAmount), campaignTokensAmount), IntegerEntry((launchpadIdStr + keyTokensPerAllocation), tokensPerAllocation), StringEntry((launchpadIdStr + keyClaimParams), makeString(claimParams, ",")), BooleanEntry((launchpadIdStr + keyHighCompetitionSale), HighCompetitionSale), IntegerEntry((launchpadIdStr + keyHighCompetitionComission), highCompetitionComission), IntegerEntry((launchpadIdStr + keyHighCompetitionAmount), highCompetitionTicketsAmount), IntegerEntry(keyLaunchpadActiveId, launchpadId), StringEntry(keyInitCaller, "")] ++ freezeAdditionalEntry) | |
219 | 219 | }) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | ||
223 | 223 | @Callable(i) | |
224 | 224 | func finalise (launchpadId,vrfHeight,secretWord) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), { | |
225 | 225 | let savedHash = getStringValue(this, (toString(launchpadId) + keyVerifyHash)) | |
226 | 226 | let calcHash = toBase58String(sha256((toBytes(vrfHeight) + toBytes(secretWord)))) | |
227 | 227 | if ((calcHash != savedHash)) | |
228 | 228 | then throw("vrf Height hash not matching") | |
229 | 229 | else { | |
230 | - | let $ | |
231 | - | let buyAssetId = $ | |
232 | - | let buyAssetStrId = $ | |
233 | - | let buyAssetName = $ | |
234 | - | let buyAssetDecimals = $ | |
230 | + | let $t095159665 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
231 | + | let buyAssetId = $t095159665._1 | |
232 | + | let buyAssetStrId = $t095159665._2 | |
233 | + | let buyAssetName = $t095159665._3 | |
234 | + | let buyAssetDecimals = $t095159665._4 | |
235 | 235 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
236 | 236 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
237 | 237 | let commissionHC = getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission)) | |
238 | 238 | let transferedBuyAsset = valueOrElse(getInteger(this, (toString(launchpadId) + keyTransferBuyAsset)), 0) | |
239 | 239 | let swopfiMembersBuyAssetAmount = getIntegerValue(this, (toString(launchpadId) + keyTotalAmountBuyAssetSold)) | |
240 | 240 | let swopfiHCBuyAssetAmount = valueOrElse(getIntegerValue(this, (toString(launchpadId) + keyTotalAmountBuyAssetSoldHC)), 0) | |
241 | 241 | let swopfiMembersComission = fraction(swopfiMembersBuyAssetAmount, commission, 100) | |
242 | 242 | let swopfiHCComission = fraction(swopfiHCBuyAssetAmount, commissionHC, 100) | |
243 | 243 | let totalAmountBuyAssetInMarketing = getIntegerValue(this, (toString(launchpadId) + keyAmountBuyAssetInMarketingFinalized)) | |
244 | 244 | let marketingComission = fraction(totalAmountBuyAssetInMarketing, commission, 100) | |
245 | 245 | let unstakeAmount = (((((swopfiMembersBuyAssetAmount + totalAmountBuyAssetInMarketing) + swopfiMembersComission) + marketingComission) + swopfiHCBuyAssetAmount) + swopfiHCComission) | |
246 | 246 | if ((transferedBuyAsset > (swopfiMembersBuyAssetAmount + totalAmountBuyAssetInMarketing))) | |
247 | 247 | then throw("Can't transfer negative value to project") | |
248 | 248 | else { | |
249 | 249 | let inv = if ((buyAssetId == USDN)) | |
250 | 250 | then invoke(stakingUSDNAddress, "unlockNeutrino", [unstakeAmount, toBase58String(USDN)], nil) | |
251 | 251 | else 0 | |
252 | 252 | if ((inv == inv)) | |
253 | 253 | then [IntegerEntry((toString(launchpadId) + keyFinaliseHeight), height), ScriptTransfer(projectAddress, (((swopfiMembersBuyAssetAmount + swopfiHCBuyAssetAmount) + totalAmountBuyAssetInMarketing) - transferedBuyAsset), buyAssetId), ScriptTransfer(commissionWallet, ((swopfiMembersComission + marketingComission) + swopfiHCComission), buyAssetId)] | |
254 | 254 | else throw("Strict value is not equal to itself.") | |
255 | 255 | } | |
256 | 256 | } | |
257 | 257 | })) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | ||
261 | 261 | @Callable(i) | |
262 | 262 | func claim (launchpadId) = valueOrElse(isActive(), { | |
263 | 263 | let boughtTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0) | |
264 | 264 | let boughtHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCBoughtTicketsAmount)), 0) | |
265 | 265 | let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0) | |
266 | 266 | let userClaimStatus = valueOrElse(getBoolean(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus)), false) | |
267 | 267 | let finalizeHeight = valueOrElse(getInteger(this, (toString(launchpadId) + keyFinaliseHeight)), 0) | |
268 | 268 | if ((finalizeHeight == 0)) | |
269 | 269 | then throw("You can't claim because results are not finalized") | |
270 | 270 | else if (userClaimStatus) | |
271 | 271 | then throw("You are already claimed") | |
272 | 272 | else if (if (if ((boughtTickets == 0)) | |
273 | 273 | then (boughtAllocations == 0) | |
274 | 274 | else false) | |
275 | 275 | then (boughtHCTickets == 0) | |
276 | 276 | else false) | |
277 | 277 | then throw("You can't claim because you don't buy anything") | |
278 | 278 | else { | |
279 | - | let $ | |
280 | - | let buyAssetId = $ | |
281 | - | let buyAssetStrId = $ | |
282 | - | let buyAssetName = $ | |
283 | - | let buyAssetDecimals = $ | |
279 | + | let $t01271012860 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
280 | + | let buyAssetId = $t01271012860._1 | |
281 | + | let buyAssetStrId = $t01271012860._2 | |
282 | + | let buyAssetName = $t01271012860._3 | |
283 | + | let buyAssetDecimals = $t01271012860._4 | |
284 | 284 | let wonnedTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedTicketsAmount)), 0) | |
285 | 285 | let wonnedHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedHighCompetitionTicketsAmount)), 0) | |
286 | 286 | let awailableAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAvailableAllocations)), 0) | |
287 | 287 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
288 | 288 | let commissionHC = valueOrElse(getInteger(this, (toString(launchpadId) + keyHighCompetitionComission)), 0) | |
289 | 289 | let allowedAllocations = min([boughtAllocations, awailableAllocations]) | |
290 | 290 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
291 | 291 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
292 | - | let $ | |
293 | - | let tokenId = $ | |
294 | - | let tokenStrAssetId = $ | |
295 | - | let tokenAssetName = $ | |
296 | - | let tokenDecimals = $ | |
292 | + | let $t01377613920 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
293 | + | let tokenId = $t01377613920._1 | |
294 | + | let tokenStrAssetId = $t01377613920._2 | |
295 | + | let tokenAssetName = $t01377613920._3 | |
296 | + | let tokenDecimals = $t01377613920._4 | |
297 | 297 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
298 | 298 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
299 | 299 | let transferTokensAmount = (((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) + (wonnedHCTickets * tokensPerTicket)) | |
300 | 300 | let notAllowedAllocationsTokens = ((boughtAllocations - allowedAllocations) * tokensPerAllocation) | |
301 | 301 | let buyAssetForAllocations = fraction(fraction(notAllowedAllocationsTokens, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100) | |
302 | 302 | let buyAssetForUnwonnedTickets = fraction(((boughtTickets - wonnedTickets) * ticketPrice), (100 + commission), 100) | |
303 | 303 | let buyAssetForHCUnwonnedTickets = fraction(((boughtHCTickets - wonnedHCTickets) * ticketPrice), (100 + commissionHC), 100) | |
304 | 304 | let claimedBuyToken = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedBuyTokens)), 0) | |
305 | 305 | if (if (if ((0 > buyAssetForAllocations)) | |
306 | 306 | then true | |
307 | 307 | else (0 > buyAssetForUnwonnedTickets)) | |
308 | 308 | then true | |
309 | 309 | else (0 > buyAssetForHCUnwonnedTickets)) | |
310 | 310 | then throw("Error with allowed allocation param or wonned tickets param please contact support") | |
311 | 311 | else { | |
312 | 312 | let returnedBuyAssetAmount = (((buyAssetForUnwonnedTickets + buyAssetForHCUnwonnedTickets) + buyAssetForAllocations) - claimedBuyToken) | |
313 | 313 | let transferBuyAsset = if ((returnedBuyAssetAmount > 0)) | |
314 | 314 | then [ScriptTransfer(i.caller, returnedBuyAssetAmount, buyAssetId), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedBuyTokens), returnedBuyAssetAmount)] | |
315 | 315 | else nil | |
316 | 316 | let inv = if (if ((returnedBuyAssetAmount > 0)) | |
317 | 317 | then (buyAssetId == USDN) | |
318 | 318 | else false) | |
319 | 319 | then invoke(stakingUSDNAddress, "unlockNeutrino", [returnedBuyAssetAmount, toBase58String(USDN)], nil) | |
320 | 320 | else 0 | |
321 | 321 | if ((inv == inv)) | |
322 | 322 | then { | |
323 | 323 | let claimedParams = split(valueOrElse(getString(this, (toString(launchpadId) + keyClaimParams)), ""), ",") | |
324 | 324 | if (if ((size(claimedParams) == 0)) | |
325 | 325 | then true | |
326 | 326 | else (claimedParams[0] == "claimAll")) | |
327 | 327 | then { | |
328 | 328 | let transferTokens = if ((transferTokensAmount > 0)) | |
329 | 329 | then [ScriptTransfer(i.caller, transferTokensAmount, tokenId)] | |
330 | 330 | else nil | |
331 | 331 | (([BooleanEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus), true), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens), transferTokensAmount)] ++ transferTokens) ++ transferBuyAsset) | |
332 | 332 | } | |
333 | 333 | else if ((claimedParams[0] == "claimPeriod")) | |
334 | 334 | then { | |
335 | 335 | let claimedTokens = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens)), 0) | |
336 | 336 | let unlockPeriod = value(parseInt(claimedParams[2])) | |
337 | 337 | let blockHeight = (value(parseInt(claimedParams[3])) + finalizeHeight) | |
338 | 338 | let unlockHeight = (unlockPeriod + blockHeight) | |
339 | 339 | let allowedStartAmount = fraction(transferTokensAmount, value(parseInt(claimedParams[1])), 100) | |
340 | 340 | let allowedTokensAmount = (allowedStartAmount + (if ((height > blockHeight)) | |
341 | 341 | then (fraction((transferTokensAmount - allowedStartAmount), (min([height, unlockHeight]) - blockHeight), unlockPeriod) - claimedTokens) | |
342 | 342 | else (0 - claimedTokens))) | |
343 | 343 | let claimStatusEntry = if ((transferTokensAmount >= (claimedTokens + allowedTokensAmount))) | |
344 | 344 | then [BooleanEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus), true)] | |
345 | 345 | else nil | |
346 | 346 | if (if ((allowedTokensAmount > 0)) | |
347 | 347 | then true | |
348 | 348 | else (returnedBuyAssetAmount > 0)) | |
349 | 349 | then { | |
350 | 350 | let transferTokens = if ((allowedTokensAmount > 0)) | |
351 | 351 | then [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens), (claimedTokens + allowedTokensAmount)), ScriptTransfer(i.caller, allowedTokensAmount, tokenId)] | |
352 | 352 | else nil | |
353 | 353 | (transferBuyAsset ++ transferTokens) | |
354 | 354 | } | |
355 | 355 | else throw("Nothing to claim") | |
356 | 356 | } | |
357 | 357 | else throw("Unknown claim function") | |
358 | 358 | } | |
359 | 359 | else throw("Strict value is not equal to itself.") | |
360 | 360 | } | |
361 | 361 | } | |
362 | 362 | }) | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | ||
366 | 366 | @Callable(i) | |
367 | 367 | func claimFreezeToken (launchpadId) = valueOrElse(isActive(), { | |
368 | 368 | let freezeAdditionalToken = valueOrElse(getBoolean(this, (toString(launchpadId) + keyFreezeAdditionalToken)), false) | |
369 | 369 | if (!(isDefined(getInteger(this, (toString(launchpadId) + keyFinaliseHeight))))) | |
370 | 370 | then throw("You can't claim because results are not finalized") | |
371 | 371 | else if (!(freezeAdditionalToken)) | |
372 | 372 | then throw("There are no additional token freezing for this launchpad") | |
373 | 373 | else { | |
374 | 374 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyFreezeTokenId))) | |
375 | 375 | let userTokensFreezed = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserFreezeToken)), 0) | |
376 | 376 | let startHeight = valueOrElse(getInteger(this, (toString(launchpadId) + keyStartHeight)), 0) | |
377 | 377 | let duration = valueOrElse(getInteger(this, (toString(launchpadId) + keyDuration)), 0) | |
378 | 378 | let freezeTokenDuration = getIntegerValue(this, (toString(launchpadId) + keyFreezeTokenDuration)) | |
379 | 379 | let blockEndHeight = ((startHeight + duration) + freezeTokenDuration) | |
380 | 380 | if ((userTokensFreezed == 0)) | |
381 | 381 | then throw("You are already claimed your tokens or not paid anything") | |
382 | 382 | else if ((blockEndHeight > height)) | |
383 | 383 | then throw(("Your tokens freezed teel " + toString(blockEndHeight))) | |
384 | 384 | else [ScriptTransfer(i.caller, userTokensFreezed, tokenId), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserFreezeToken), 0)] | |
385 | 385 | } | |
386 | 386 | }) | |
387 | 387 | ||
388 | 388 | ||
389 | 389 | ||
390 | 390 | @Callable(i) | |
391 | 391 | func transferBuyAsset (launchpadId,amount) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), { | |
392 | 392 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
393 | - | let $ | |
394 | - | let buyAssetId = $ | |
395 | - | let buyAssetStrId = $ | |
396 | - | let buyAssetName = $ | |
397 | - | let buyAssetDecimals = $ | |
393 | + | let $t02012620276 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken)))) | |
394 | + | let buyAssetId = $t02012620276._1 | |
395 | + | let buyAssetStrId = $t02012620276._2 | |
396 | + | let buyAssetName = $t02012620276._3 | |
397 | + | let buyAssetDecimals = $t02012620276._4 | |
398 | 398 | [IntegerEntry((toString(launchpadId) + keyTransferBuyAsset), amount), ScriptTransfer(projectAddress, amount, buyAssetId)] | |
399 | 399 | })) | |
400 | 400 | ||
401 | 401 | ||
402 | 402 | ||
403 | 403 | @Callable(i) | |
404 | 404 | func shutdown () = valueOrElse(isAdminCall(i), if (!(active)) | |
405 | 405 | then throw("DApp already inactive") | |
406 | 406 | else [BooleanEntry(keyActive, false)]) | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(i) | |
411 | 411 | func activate () = valueOrElse(isAdminCall(i), if (active) | |
412 | 412 | then throw("DApp already active") | |
413 | 413 | else [BooleanEntry(keyActive, true)]) | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | @Verifier(tx) | |
417 | 417 | func verify () = { | |
418 | 418 | let multiSignedByAdmins = { | |
419 | 419 | let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
420 | 420 | then 1 | |
421 | 421 | else 0 | |
422 | 422 | let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
423 | 423 | then 1 | |
424 | 424 | else 0 | |
425 | 425 | let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
426 | 426 | then 1 | |
427 | 427 | else 0 | |
428 | 428 | (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2) | |
429 | 429 | } | |
430 | 430 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
431 | 431 | then true | |
432 | 432 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
433 | 433 | then true | |
434 | 434 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3)) | |
435 | 435 | then true | |
436 | 436 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking) | |
437 | 437 | match tx { | |
438 | 438 | case dtx: DataTransaction => | |
439 | 439 | if (valueOrElse(getBoolean(oracle, keyLaunchpadDataTransactionStatus), false)) | |
440 | 440 | then signedByAdmin | |
441 | 441 | else false | |
442 | 442 | case _ => | |
443 | 443 | multiSignedByAdmins | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 |
github/deemru/w8io/026f985 79.10 ms ◑