tx · 3DWedvTbm36mW5YHnShZYJrsqLZbNHYMZ2uDJp5fBE6L 3MwkjgDrsm5k73WJU9Nbxbx4y2iy3zjQzMi: -0.01400000 Waves 2021.11.30 17:13 [1813879] smart account 3MwkjgDrsm5k73WJU9Nbxbx4y2iy3zjQzMi > SELF 0.00000000 Waves
{ "type": 13, "id": "3DWedvTbm36mW5YHnShZYJrsqLZbNHYMZ2uDJp5fBE6L", "fee": 1400000, "feeAssetId": null, "timestamp": 1638281646133, "version": 2, "chainId": 84, "sender": "3MwkjgDrsm5k73WJU9Nbxbx4y2iy3zjQzMi", "senderPublicKey": "FRotxVW1MhTQRDvVbMM4yvYGWzBFvHqvMsonvGeEXQUy", "proofs": [ "5sHmjctzXTSTRwKPtwPy6y5AEkBPjRKM2hus5MckyDRq1ZsnG1aMBGLfqBDms9KRXrvZTEJLB3Jz4t3X1a55m8jm", "41SZEarfcQQoSgemXkG4rf6q8G3e8Lgp1T6ric7RGDHudkZ1pATC6rxP3MA6rKNLmSmyMr9RU1oXDiBazUFT9PA3" ], "script": "base64:AAIFAAAAAAAAADwIAhIECgIBCBIDCgEIEgsKCQgBAQEBAQEBARIECgIBCBIECgIBCBIFCgMBAQgSAwoBARIECgIBARIAEgAAAAA2AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAPa2V5QWRtaW5QdWJLZXkxAgAAAAthZG1pbl9wdWJfMQAAAAAPa2V5QWRtaW5QdWJLZXkyAgAAAAthZG1pbl9wdWJfMgAAAAAPa2V5QWRtaW5QdWJLZXkzAgAAAAthZG1pbl9wdWJfMwAAAAAha2V5TGF1bmNocGFkRGF0YVRyYW5zYWN0aW9uU3RhdHVzAgAAACFsYXVuY2hwYWRfZGF0YV90cmFuc2FjdGlvbl9zdGF0dXMAAAAAEmtleUxhdW5jaHBhZE5leHRJZAIAAAARbGF1bmNocGFkX25leHRfaWQAAAAAFGtleUxhdW5jaHBhZEFjdGl2ZUlkAgAAABNsYXVuY2hwYWRfYWN0aXZ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compacted Prev: H4hTfBNTa542YFxbMpo1gQ9EAKFy2h8BWmvXF1S7PuuD Next: CDWcwp553L4RJpxspWNTcpGXwthNGVK4Hch9wENYEfvb Diff:
Old | New | Differences | |
---|---|---|---|
75 | 75 | ||
76 | 76 | let keyUserWinnedTicketsAmount = "_tickets_result" | |
77 | 77 | ||
78 | - | let lauchpadDuration = | |
78 | + | let lauchpadDuration = 10000 | |
79 | 79 | ||
80 | 80 | let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
81 | 81 | ||
147 | 147 | ||
148 | 148 | @Callable(i) | |
149 | 149 | func init (projectAddress,startHeight,commission,tokensPerTicket,pricePerToken,swopfiTicketsAmount,campaignTokensAmount,tokensPerAllocation,swopPerTicket) = { | |
150 | - | let $ | |
151 | - | let pmtAmount = $ | |
152 | - | let pmtAssetId = $ | |
150 | + | let $t042024277 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
151 | + | let pmtAmount = $t042024277._1 | |
152 | + | let pmtAssetId = $t042024277._2 | |
153 | 153 | if (!(isActive)) | |
154 | 154 | then throw("DApp is inactive at this moment") | |
155 | 155 | else if ((toString(i.caller) != valueOrElse(getString(this, keyInitCaller), ""))) | |
159 | 159 | else if ((height > startHeight)) | |
160 | 160 | then throw("Start height must be greater than blockchain height") | |
161 | 161 | else { | |
162 | - | let $ | |
163 | - | let pmtStrAssetId = $ | |
164 | - | let pmtAssetName = $ | |
165 | - | let pmtDecimals = $ | |
162 | + | let $t047054778 = getAssetInfo(pmtAssetId) | |
163 | + | let pmtStrAssetId = $t047054778._1 | |
164 | + | let pmtAssetName = $t047054778._2 | |
165 | + | let pmtDecimals = $t047054778._3 | |
166 | 166 | let launchpadId = getLaunchpadNextId() | |
167 | 167 | let launchpadIdStr = toString(launchpadId) | |
168 | 168 | [IntegerEntry((pmtStrAssetId + "_launchpad"), launchpadId), IntegerEntry(keyLaunchpadNextId, (launchpadId + 1)), StringEntry((launchpadIdStr + keyAddress), projectAddress), IntegerEntry((launchpadIdStr + keyInitHeight), height), IntegerEntry((launchpadIdStr + keyStartHeight), startHeight), IntegerEntry((launchpadIdStr + keyDuration), lauchpadDuration), IntegerEntry((launchpadIdStr + keyTotalTokenAmount), pmtAmount), StringEntry((launchpadIdStr + keyAssetId), pmtStrAssetId), IntegerEntry((launchpadIdStr + keyComission), commission), IntegerEntry((launchpadIdStr + keyTicketLastNumber), 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), IntegerEntry(keyLaunchpadActiveId, launchpadId), StringEntry(keyInitCaller, "")] | |
173 | 173 | ||
174 | 174 | @Callable(i) | |
175 | 175 | func commitSwopfiSale (launchpadId,refId) = { | |
176 | - | let $ | |
177 | - | let pmtAmount = $ | |
178 | - | let pmtAssetId = $ | |
176 | + | let $t062726347 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
177 | + | let pmtAmount = $t062726347._1 | |
178 | + | let pmtAssetId = $t062726347._2 | |
179 | 179 | let stakedSwops = valueOrElse(getInteger(governance, (toString(i.caller) + keyGovernanceStaked)), 0) | |
180 | 180 | let allowedTicketsAmountAll = (stakedSwops / getIntegerValue(this, (toString(launchpadId) + keySwopPerTicket))) | |
181 | 181 | let boughtTicketsAmount = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0) | |
202 | 202 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
203 | 203 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
204 | 204 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
205 | - | let $ | |
206 | - | let tokenStrAssetId = $ | |
207 | - | let tokenAssetName = $ | |
208 | - | let tokenDecimals = $ | |
205 | + | let $t078717947 = getAssetInfo(tokenId) | |
206 | + | let tokenStrAssetId = $t078717947._1 | |
207 | + | let tokenAssetName = $t078717947._2 | |
208 | + | let tokenDecimals = $t078717947._3 | |
209 | 209 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
210 | 210 | let commissionPerTicket = fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyComission)), 100) | |
211 | 211 | let buyTicketAmount = (pmtAmount / (ticketPrice + commissionPerTicket)) | |
240 | 240 | ||
241 | 241 | @Callable(i) | |
242 | 242 | func commitAccessListSale (launchpadId,refId) = { | |
243 | - | let $ | |
244 | - | let pmtAmount = $ | |
245 | - | let pmtAssetId = $ | |
243 | + | let $t01026710342 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
244 | + | let pmtAmount = $t01026710342._1 | |
245 | + | let pmtAssetId = $t01026710342._2 | |
246 | 246 | let userUsdnInMarketing = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountUSDNInMarketing)), 0) | |
247 | 247 | let usdnInMarketing = valueOrElse(getInteger(this, (toString(launchpadId) + keyAmountUSDNInMarketing)), 0) | |
248 | 248 | let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0) | |
250 | 250 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
251 | 251 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
252 | 252 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
253 | - | let $ | |
254 | - | let tokenStrAssetId = $ | |
255 | - | let tokenAssetName = $ | |
256 | - | let tokenDecimals = $ | |
253 | + | let $t01109711173 = getAssetInfo(tokenId) | |
254 | + | let tokenStrAssetId = $t01109711173._1 | |
255 | + | let tokenAssetName = $t01109711173._2 | |
256 | + | let tokenDecimals = $t01109711173._3 | |
257 | 257 | let allocationPriceWithComission = fraction(fraction(tokenPrice, tokensPerAllocation, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100) | |
258 | 258 | let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight))) | |
259 | 259 | let duration = value(getInteger(this, (toString(launchpadId) + keyDuration))) | |
346 | 346 | let allowedAllocations = min([boughtAllocations, awailableAllocations]) | |
347 | 347 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
348 | 348 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
349 | - | let $ | |
350 | - | let tokenStrAssetId = $ | |
351 | - | let tokenAssetName = $ | |
352 | - | let tokenDecimals = $ | |
349 | + | let $t01694717023 = getAssetInfo(tokenId) | |
350 | + | let tokenStrAssetId = $t01694717023._1 | |
351 | + | let tokenAssetName = $t01694717023._2 | |
352 | + | let tokenDecimals = $t01694717023._3 | |
353 | 353 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
354 | 354 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
355 | 355 | let transferTokensAmount = ((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) |
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 keyTotalAmountUsdnSold = "_total_usdn_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 keyAmountUSDNInMarketing = "_total_purchased_usdn_in_marketing" | |
59 | 59 | ||
60 | 60 | let keyAmountUSDNInMarketingFinalized = "_total_purchased_usdn_in_marketing_finalized" | |
61 | 61 | ||
62 | 62 | let keyTransferUsd = "_transfer_usd" | |
63 | 63 | ||
64 | 64 | let keyUserBoughtTicketsAmount = "_bought_tickets" | |
65 | 65 | ||
66 | 66 | let keyUserTickets = "_tickets_number" | |
67 | 67 | ||
68 | 68 | let keyUserAvailableAllocations = "_available_purchase_marketing" | |
69 | 69 | ||
70 | 70 | let keyUserAmountUSDNInMarketing = "_purchased_usdn_in_marketing" | |
71 | 71 | ||
72 | 72 | let keyUserBoughtAllocations = "_bought_allocations" | |
73 | 73 | ||
74 | 74 | let keyUserClaimStatus = "_claim_status" | |
75 | 75 | ||
76 | 76 | let keyUserWinnedTicketsAmount = "_tickets_result" | |
77 | 77 | ||
78 | - | let lauchpadDuration = | |
78 | + | let lauchpadDuration = 10000 | |
79 | 79 | ||
80 | 80 | let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
81 | 81 | ||
82 | 82 | let governance = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
83 | 83 | ||
84 | 84 | let commissionWallet = Address(base58'3N2hBdeDEs7wCNA9EY8qv3B6drjgKD64xQG') | |
85 | 85 | ||
86 | 86 | let stakingUSDNAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
87 | 87 | ||
88 | 88 | let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
89 | 89 | ||
90 | 90 | let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
91 | 91 | ||
92 | 92 | let maxAllocationsAmount = 2 | |
93 | 93 | ||
94 | 94 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
95 | 95 | ||
96 | 96 | let activeLaunchpadId = valueOrElse(getIntegerValue(this, keyLaunchpadActiveId), -1) | |
97 | 97 | ||
98 | 98 | func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) { | |
99 | 99 | case string: String => | |
100 | 100 | fromBase58String(string) | |
101 | 101 | case nothing => | |
102 | 102 | throw("Admin public key is empty") | |
103 | 103 | } | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | let adminPubKey1 = getAdminPub(keyAdminPubKey1) | |
107 | 107 | ||
108 | 108 | let adminPubKey2 = getAdminPub(keyAdminPubKey2) | |
109 | 109 | ||
110 | 110 | let adminPubKey3 = getAdminPub(keyAdminPubKey3) | |
111 | 111 | ||
112 | 112 | func getAssetInfo (assetId) = match assetId { | |
113 | 113 | case id: ByteVector => | |
114 | 114 | let stringId = toBase58String(id) | |
115 | 115 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
116 | 116 | $Tuple3(stringId, info.name, info.decimals) | |
117 | 117 | case waves: Unit => | |
118 | 118 | $Tuple3("WAVES", "WAVES", 8) | |
119 | 119 | case _ => | |
120 | 120 | throw("Match error") | |
121 | 121 | } | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getLaunchpadNextId () = valueOrElse(getInteger(this, keyLaunchpadNextId), 1) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func stakedUsdnAmount () = valueOrElse(getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))), 0) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | @Callable(i) | |
131 | 131 | func hashingRandom (launchpadId,hash) = if (!(isActive)) | |
132 | 132 | then throw("DApp is inactive at this moment") | |
133 | 133 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
134 | 134 | then throw("Only admin can call this function") | |
135 | 135 | else [StringEntry((toString(launchpadId) + keyVerifyHash), hash)] | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | ||
139 | 139 | @Callable(i) | |
140 | 140 | func initCaller (address) = if (!(isActive)) | |
141 | 141 | then throw("DApp is inactive at this moment") | |
142 | 142 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
143 | 143 | then throw("Only admin can call this function") | |
144 | 144 | else [StringEntry(keyInitCaller, address)] | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(i) | |
149 | 149 | func init (projectAddress,startHeight,commission,tokensPerTicket,pricePerToken,swopfiTicketsAmount,campaignTokensAmount,tokensPerAllocation,swopPerTicket) = { | |
150 | - | let $ | |
151 | - | let pmtAmount = $ | |
152 | - | let pmtAssetId = $ | |
150 | + | let $t042024277 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
151 | + | let pmtAmount = $t042024277._1 | |
152 | + | let pmtAssetId = $t042024277._2 | |
153 | 153 | if (!(isActive)) | |
154 | 154 | then throw("DApp is inactive at this moment") | |
155 | 155 | else if ((toString(i.caller) != valueOrElse(getString(this, keyInitCaller), ""))) | |
156 | 156 | then throw("Only project admin can call init function") | |
157 | 157 | else if ((size(i.payments) != 1)) | |
158 | 158 | then throw("One attached payment expected") | |
159 | 159 | else if ((height > startHeight)) | |
160 | 160 | then throw("Start height must be greater than blockchain height") | |
161 | 161 | else { | |
162 | - | let $ | |
163 | - | let pmtStrAssetId = $ | |
164 | - | let pmtAssetName = $ | |
165 | - | let pmtDecimals = $ | |
162 | + | let $t047054778 = getAssetInfo(pmtAssetId) | |
163 | + | let pmtStrAssetId = $t047054778._1 | |
164 | + | let pmtAssetName = $t047054778._2 | |
165 | + | let pmtDecimals = $t047054778._3 | |
166 | 166 | let launchpadId = getLaunchpadNextId() | |
167 | 167 | let launchpadIdStr = toString(launchpadId) | |
168 | 168 | [IntegerEntry((pmtStrAssetId + "_launchpad"), launchpadId), IntegerEntry(keyLaunchpadNextId, (launchpadId + 1)), StringEntry((launchpadIdStr + keyAddress), projectAddress), IntegerEntry((launchpadIdStr + keyInitHeight), height), IntegerEntry((launchpadIdStr + keyStartHeight), startHeight), IntegerEntry((launchpadIdStr + keyDuration), lauchpadDuration), IntegerEntry((launchpadIdStr + keyTotalTokenAmount), pmtAmount), StringEntry((launchpadIdStr + keyAssetId), pmtStrAssetId), IntegerEntry((launchpadIdStr + keyComission), commission), IntegerEntry((launchpadIdStr + keyTicketLastNumber), 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), IntegerEntry(keyLaunchpadActiveId, launchpadId), StringEntry(keyInitCaller, "")] | |
169 | 169 | } | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | ||
174 | 174 | @Callable(i) | |
175 | 175 | func commitSwopfiSale (launchpadId,refId) = { | |
176 | - | let $ | |
177 | - | let pmtAmount = $ | |
178 | - | let pmtAssetId = $ | |
176 | + | let $t062726347 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
177 | + | let pmtAmount = $t062726347._1 | |
178 | + | let pmtAssetId = $t062726347._2 | |
179 | 179 | let stakedSwops = valueOrElse(getInteger(governance, (toString(i.caller) + keyGovernanceStaked)), 0) | |
180 | 180 | let allowedTicketsAmountAll = (stakedSwops / getIntegerValue(this, (toString(launchpadId) + keySwopPerTicket))) | |
181 | 181 | let boughtTicketsAmount = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0) | |
182 | 182 | let allowedTicketsAmount = (allowedTicketsAmountAll - boughtTicketsAmount) | |
183 | 183 | let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight))) | |
184 | 184 | let duration = value(getInteger(this, (toString(launchpadId) + keyDuration))) | |
185 | 185 | if (!(isActive)) | |
186 | 186 | then throw("DApp is inactive at this moment") | |
187 | 187 | else if ((activeLaunchpadId != launchpadId)) | |
188 | 188 | then throw("There is no active launchpad or this launchpad is ended") | |
189 | 189 | else if ((startHeight > height)) | |
190 | 190 | then throw("Launchpad sale not started yet") | |
191 | 191 | else if ((height > (startHeight + duration))) | |
192 | 192 | then throw("Launchpad sale ended") | |
193 | 193 | else if (if ((size(i.payments) != 1)) | |
194 | 194 | then true | |
195 | 195 | else (pmtAssetId != USDN)) | |
196 | 196 | then throw("One attached payment in USDN expected") | |
197 | 197 | else if (if ((0 >= allowedTicketsAmountAll)) | |
198 | 198 | then true | |
199 | 199 | else (0 >= allowedTicketsAmount)) | |
200 | 200 | then throw("Not enought SWOP in staking to buy tickets") | |
201 | 201 | else { | |
202 | 202 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
203 | 203 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
204 | 204 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
205 | - | let $ | |
206 | - | let tokenStrAssetId = $ | |
207 | - | let tokenAssetName = $ | |
208 | - | let tokenDecimals = $ | |
205 | + | let $t078717947 = getAssetInfo(tokenId) | |
206 | + | let tokenStrAssetId = $t078717947._1 | |
207 | + | let tokenAssetName = $t078717947._2 | |
208 | + | let tokenDecimals = $t078717947._3 | |
209 | 209 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
210 | 210 | let commissionPerTicket = fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyComission)), 100) | |
211 | 211 | let buyTicketAmount = (pmtAmount / (ticketPrice + commissionPerTicket)) | |
212 | 212 | let allowedBuyTicketAmount = min([buyTicketAmount, allowedTicketsAmount]) | |
213 | 213 | let allowedBuyPriceWithComission = (allowedBuyTicketAmount * (ticketPrice + commissionPerTicket)) | |
214 | 214 | let change = (pmtAmount - allowedBuyPriceWithComission) | |
215 | 215 | if ((buyTicketAmount == 0)) | |
216 | 216 | then throw("Not enought USDN to buy tickets") | |
217 | 217 | else if ((change != 0)) | |
218 | 218 | then throw((((("Wrong payment. To buy " + toString(allowedBuyTicketAmount)) + "tickets you need to pay ") + toString(allowedBuyPriceWithComission)) + "USDN")) | |
219 | 219 | else { | |
220 | 220 | let userBoughtTicketsNumbers = valueOrElse(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserTickets)), "") | |
221 | 221 | let lastBoughtTicketNumber = getIntegerValue(this, (toString(launchpadId) + keyTicketLastNumber)) | |
222 | 222 | let boughtRange = ((toString((lastBoughtTicketNumber + 1)) + "-") + toString((lastBoughtTicketNumber + allowedBuyTicketAmount))) | |
223 | 223 | let newUserBoughtTicketsNumbers = (userBoughtTicketsNumbers + (if ((userBoughtTicketsNumbers != "")) | |
224 | 224 | then ("," + boughtRange) | |
225 | 225 | else ("" + boughtRange))) | |
226 | 226 | let inv = invoke(stakingUSDNAddress, "lockNeutrino", nil, [AttachedPayment(pmtAssetId, pmtAmount)]) | |
227 | 227 | if ((inv == inv)) | |
228 | 228 | then { | |
229 | 229 | let baseEntry = [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount), (boughtTicketsAmount + allowedBuyTicketAmount)), IntegerEntry((toString(launchpadId) + keyTicketLastNumber), (lastBoughtTicketNumber + allowedBuyTicketAmount)), StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserTickets), newUserBoughtTicketsNumbers)] | |
230 | 230 | if (!(isDefined(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId))))) | |
231 | 231 | then (baseEntry ++ [StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId), refId)]) | |
232 | 232 | else baseEntry | |
233 | 233 | } | |
234 | 234 | else throw("Strict value is not equal to itself.") | |
235 | 235 | } | |
236 | 236 | } | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(i) | |
242 | 242 | func commitAccessListSale (launchpadId,refId) = { | |
243 | - | let $ | |
244 | - | let pmtAmount = $ | |
245 | - | let pmtAssetId = $ | |
243 | + | let $t01026710342 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
244 | + | let pmtAmount = $t01026710342._1 | |
245 | + | let pmtAssetId = $t01026710342._2 | |
246 | 246 | let userUsdnInMarketing = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountUSDNInMarketing)), 0) | |
247 | 247 | let usdnInMarketing = valueOrElse(getInteger(this, (toString(launchpadId) + keyAmountUSDNInMarketing)), 0) | |
248 | 248 | let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0) | |
249 | 249 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
250 | 250 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
251 | 251 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
252 | 252 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
253 | - | let $ | |
254 | - | let tokenStrAssetId = $ | |
255 | - | let tokenAssetName = $ | |
256 | - | let tokenDecimals = $ | |
253 | + | let $t01109711173 = getAssetInfo(tokenId) | |
254 | + | let tokenStrAssetId = $t01109711173._1 | |
255 | + | let tokenAssetName = $t01109711173._2 | |
256 | + | let tokenDecimals = $t01109711173._3 | |
257 | 257 | let allocationPriceWithComission = fraction(fraction(tokenPrice, tokensPerAllocation, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100) | |
258 | 258 | let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight))) | |
259 | 259 | let duration = value(getInteger(this, (toString(launchpadId) + keyDuration))) | |
260 | 260 | if (!(isActive)) | |
261 | 261 | then throw("DApp is inactive at this moment") | |
262 | 262 | else if ((activeLaunchpadId != launchpadId)) | |
263 | 263 | then throw("There is no active launchpad or this launchpad is ended") | |
264 | 264 | else if ((startHeight > height)) | |
265 | 265 | then throw("Launchpad sale not started yet") | |
266 | 266 | else if ((height > (startHeight + duration))) | |
267 | 267 | then throw("Launchpad sale ended") | |
268 | 268 | else if (if ((size(i.payments) != 1)) | |
269 | 269 | then true | |
270 | 270 | else (pmtAssetId != USDN)) | |
271 | 271 | then throw("One attached payment in USDN expected") | |
272 | 272 | else if ((boughtAllocations >= maxAllocationsAmount)) | |
273 | 273 | then throw((("You can buy only " + toString(maxAllocationsAmount)) + "allocations")) | |
274 | 274 | else if (if ((allocationPriceWithComission != pmtAmount)) | |
275 | 275 | then ((allocationPriceWithComission * 2) != pmtAmount) | |
276 | 276 | else false) | |
277 | 277 | then throw((("Wrong payment. You can buy 1 or 2 allocations for " + toString(allocationPriceWithComission)) + " USDN per allocation")) | |
278 | 278 | else { | |
279 | 279 | let buyAllocationsAmount = (pmtAmount / allocationPriceWithComission) | |
280 | 280 | let inv = invoke(stakingUSDNAddress, "lockNeutrino", nil, [AttachedPayment(pmtAssetId, pmtAmount)]) | |
281 | 281 | if ((inv == inv)) | |
282 | 282 | then { | |
283 | 283 | let baseEntry = [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations), (boughtAllocations + buyAllocationsAmount)), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountUSDNInMarketing), (userUsdnInMarketing + pmtAmount)), IntegerEntry((toString(launchpadId) + keyAmountUSDNInMarketing), (usdnInMarketing + pmtAmount))] | |
284 | 284 | if (!(isDefined(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId))))) | |
285 | 285 | then (baseEntry ++ [StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId), refId)]) | |
286 | 286 | else baseEntry | |
287 | 287 | } | |
288 | 288 | else throw("Strict value is not equal to itself.") | |
289 | 289 | } | |
290 | 290 | } | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | ||
294 | 294 | @Callable(i) | |
295 | 295 | func finalise (launchpadId,vrfHeight,secretWord) = { | |
296 | 296 | let savedHash = getStringValue(this, (toString(launchpadId) + keyVerifyHash)) | |
297 | 297 | let calcHash = toBase58String(sha256((toBytes(vrfHeight) + toBytes(secretWord)))) | |
298 | 298 | if (!(isActive)) | |
299 | 299 | then throw("DApp is inactive at this moment") | |
300 | 300 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
301 | 301 | then throw("Only admin can call this function") | |
302 | 302 | else if ((calcHash != savedHash)) | |
303 | 303 | then throw("vrf Height hash not matching") | |
304 | 304 | else { | |
305 | 305 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
306 | 306 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
307 | 307 | let transferedUsdn = valueOrElse(getInteger(this, (toString(launchpadId) + keyTransferUsd)), 0) | |
308 | 308 | let swopfiMembersUsdnAmount = getIntegerValue(this, (toString(launchpadId) + keyTotalAmountUsdnSold)) | |
309 | 309 | let swopfiMembersComission = fraction(swopfiMembersUsdnAmount, commission, 100) | |
310 | 310 | let totalAmountUsdnInMarketing = getIntegerValue(this, (toString(launchpadId) + keyAmountUSDNInMarketingFinalized)) | |
311 | 311 | let marketingComission = fraction(totalAmountUsdnInMarketing, commission, 100) | |
312 | 312 | let unstakeAmount = (((swopfiMembersUsdnAmount + totalAmountUsdnInMarketing) + swopfiMembersComission) + marketingComission) | |
313 | 313 | if ((transferedUsdn > (swopfiMembersUsdnAmount + totalAmountUsdnInMarketing))) | |
314 | 314 | then throw("Can't transfer negative value to project") | |
315 | 315 | else { | |
316 | 316 | let inv = invoke(stakingUSDNAddress, "unlockNeutrino", [unstakeAmount, toBase58String(USDN)], nil) | |
317 | 317 | if ((inv == inv)) | |
318 | 318 | then [IntegerEntry((toString(launchpadId) + keyFinaliseHeight), height), ScriptTransfer(projectAddress, ((swopfiMembersUsdnAmount + totalAmountUsdnInMarketing) - transferedUsdn), USDN), ScriptTransfer(commissionWallet, (swopfiMembersComission + marketingComission), USDN)] | |
319 | 319 | else throw("Strict value is not equal to itself.") | |
320 | 320 | } | |
321 | 321 | } | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | ||
326 | 326 | @Callable(i) | |
327 | 327 | func claim (launchpadId) = { | |
328 | 328 | let userClaimStatus = valueOrElse(getBoolean(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus)), false) | |
329 | 329 | let boughtTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0) | |
330 | 330 | let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0) | |
331 | 331 | if (!(isActive)) | |
332 | 332 | then throw("DApp is inactive at this moment") | |
333 | 333 | else if (!(isDefined(getInteger(this, (toString(launchpadId) + keyFinaliseHeight))))) | |
334 | 334 | then throw("You can't claim because results are not finalized") | |
335 | 335 | else if (userClaimStatus) | |
336 | 336 | then throw("You are already claimed") | |
337 | 337 | else if (if ((boughtTickets == 0)) | |
338 | 338 | then (boughtAllocations == 0) | |
339 | 339 | else false) | |
340 | 340 | then throw("You can't claim because you don't buy anything") | |
341 | 341 | else { | |
342 | 342 | let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyAssetId))) | |
343 | 343 | let wonnedTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedTicketsAmount)), 0) | |
344 | 344 | let awailableAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAvailableAllocations)), 0) | |
345 | 345 | let commission = getIntegerValue(this, (toString(launchpadId) + keyComission)) | |
346 | 346 | let allowedAllocations = min([boughtAllocations, awailableAllocations]) | |
347 | 347 | let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken)) | |
348 | 348 | let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket)) | |
349 | - | let $ | |
350 | - | let tokenStrAssetId = $ | |
351 | - | let tokenAssetName = $ | |
352 | - | let tokenDecimals = $ | |
349 | + | let $t01694717023 = getAssetInfo(tokenId) | |
350 | + | let tokenStrAssetId = $t01694717023._1 | |
351 | + | let tokenAssetName = $t01694717023._2 | |
352 | + | let tokenDecimals = $t01694717023._3 | |
353 | 353 | let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)) | |
354 | 354 | let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation)) | |
355 | 355 | let transferTokensAmount = ((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) | |
356 | 356 | let notAllowedAllocationsTokens = ((boughtAllocations - allowedAllocations) * tokensPerAllocation) | |
357 | 357 | let usdnForAllocations = fraction(fraction(notAllowedAllocationsTokens, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100) | |
358 | 358 | let usdnForUnwonnedTickets = fraction(((boughtTickets - wonnedTickets) * ticketPrice), (100 + commission), 100) | |
359 | 359 | if (if ((0 > usdnForAllocations)) | |
360 | 360 | then true | |
361 | 361 | else (0 > usdnForUnwonnedTickets)) | |
362 | 362 | then throw("Error with allowed allocation param or wonned tickets param please contact support") | |
363 | 363 | else { | |
364 | 364 | let returnedUsdnAmount = (usdnForAllocations + usdnForUnwonnedTickets) | |
365 | 365 | let transferUsdn = if ((returnedUsdnAmount > 0)) | |
366 | 366 | then [ScriptTransfer(i.caller, returnedUsdnAmount, USDN)] | |
367 | 367 | else nil | |
368 | 368 | let transferTokens = if ((transferTokensAmount > 0)) | |
369 | 369 | then [ScriptTransfer(i.caller, transferTokensAmount, tokenId)] | |
370 | 370 | else nil | |
371 | 371 | let inv = if ((returnedUsdnAmount > 0)) | |
372 | 372 | then invoke(stakingUSDNAddress, "unlockNeutrino", [returnedUsdnAmount, toBase58String(USDN)], nil) | |
373 | 373 | else 0 | |
374 | 374 | if ((inv == inv)) | |
375 | 375 | then (([BooleanEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus), true)] ++ transferTokens) ++ transferUsdn) | |
376 | 376 | else throw("Strict value is not equal to itself.") | |
377 | 377 | } | |
378 | 378 | } | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | ||
383 | 383 | @Callable(i) | |
384 | 384 | func transferUsd (launchpadId,amountUsdn) = if (!(isActive)) | |
385 | 385 | then throw("DApp is inactive") | |
386 | 386 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
387 | 387 | then throw("Only admin can call this function") | |
388 | 388 | else { | |
389 | 389 | let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress))) | |
390 | 390 | [IntegerEntry((toString(launchpadId) + keyTransferUsd), amountUsdn), ScriptTransfer(projectAddress, amountUsdn, USDN)] | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | ||
395 | 395 | @Callable(i) | |
396 | 396 | func shutdown () = if (!(isActive)) | |
397 | 397 | then throw("DApp already inactive") | |
398 | 398 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
399 | 399 | then throw("Only admin can call this function") | |
400 | 400 | else [BooleanEntry(keyActive, false)] | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | ||
404 | 404 | @Callable(i) | |
405 | 405 | func activate () = if (isActive) | |
406 | 406 | then throw("DApp already active") | |
407 | 407 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
408 | 408 | then throw("Only admin can call this function") | |
409 | 409 | else [BooleanEntry(keyActive, true)] | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Verifier(tx) | |
413 | 413 | func verify () = { | |
414 | 414 | let multiSignedByAdmins = { | |
415 | 415 | let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
416 | 416 | then 1 | |
417 | 417 | else 0 | |
418 | 418 | let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
419 | 419 | then 1 | |
420 | 420 | else 0 | |
421 | 421 | let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
422 | 422 | then 1 | |
423 | 423 | else 0 | |
424 | 424 | (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2) | |
425 | 425 | } | |
426 | 426 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
427 | 427 | then true | |
428 | 428 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
429 | 429 | then true | |
430 | 430 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3)) | |
431 | 431 | then true | |
432 | 432 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking) | |
433 | 433 | match tx { | |
434 | 434 | case dtx: DataTransaction => | |
435 | 435 | if (valueOrElse(getBoolean(oracle, keyLaunchpadDataTransactionStatus), false)) | |
436 | 436 | then signedByAdmin | |
437 | 437 | else false | |
438 | 438 | case _ => | |
439 | 439 | multiSignedByAdmins | |
440 | 440 | } | |
441 | 441 | } | |
442 | 442 |
github/deemru/w8io/169f3d6 123.58 ms ◑