tx · 8qMb324TTFRDxGjKhTaLRjBvT17cGtC58UYK6UuLmC4c

3MqzpRGNBq3GSxMonFoenAhNRDHJ2a8omm1:  -0.05000000 Waves

2023.08.23 14:10 [2723204] smart account 3MqzpRGNBq3GSxMonFoenAhNRDHJ2a8omm1 > SELF 0.00000000 Waves

{ "type": 13, "id": "8qMb324TTFRDxGjKhTaLRjBvT17cGtC58UYK6UuLmC4c", "fee": 5000000, "feeAssetId": null, "timestamp": 1692789031257, "version": 2, "chainId": 84, "sender": "3MqzpRGNBq3GSxMonFoenAhNRDHJ2a8omm1", "senderPublicKey": "Cm1uVVKocYw3S4eL9bYUMNZe5vpBPipgiiTx37eL6E8F", "proofs": [ "pRcY3pdX8Jd4fLsPDuYFsMooTXpr5g4sCYKb14xeb9GzUK9H49Fp312XjueCpyA4xxri6ZB8xL6v9rzq34dWD3w", "31fYEgt988z89GCaSZbvPovwJnS7uVpXCnGq6Mmi4rCrE8Wa8ZKWgxA4zB6igFGWAt9z9iThxoH1Fm8Mo1Lgttex" ], "script": "base64:BgJQCAISBAoCAQgSAwoBCBIUChIIAQEIAQEBAQEBAQEYBAEBBBgSBAoCAQgSBAoCAQgSBAoCAQgSBQoDAQEIEgMKAQESAwoBARIECgIBARIAEgBOAAlrZXlBY3RpdmUCBmFjdGl2ZQALa0FjdGl2ZUdsb2ICFGFjdGl2ZV9hbGxfY29udHJhY3RzAA9rZXlBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA9rZXlBZG1pblB1YktleTICC2FkbWluX3B1Yl8yAA9rZXlBZG1pblB1YktleTMCC2FkbWluX3B1Yl8zACFrZXlMYXVuY2hwYWREYXRhVHJhbnNhY3Rpb25TdGF0dXMCIWxhdW5jaHBhZF9kYXRhX3RyYW5zYWN0aW9uX3N0YXR1cwASa2V5TGF1bmNocGFkTmV4dElkAhFsYXVuY2hwYWRfbmV4dF9pZAAUa2V5TGF1bmNocGFkQWN0aXZlSWQCE2xhdW5jaHBhZF9hY3RpdmVfaWQADW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m9vZnMAAAUSYWRtaW5QdWJLZXlTdGFraW5nBAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAg9EYXRhVHJhbnNhY3Rpb24EA2R0eAUHJG1hdGNoMAMJAQt2YWx1ZU9yRWxzZQIJAJsIAgUGb3JhY2xlBSFrZXlMYXVuY2hwYWREYXRhVHJhbnNhY3Rpb25TdGF0dXMHBQ1zaWduZWRCeUFkbWluBwUTbXVsdGlTaWduZWRCeUFkbWlucyn+Oew=", "height": 2723204, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6fXQU633NvXpTrp9JYc1tekuydQtKwEk2fu57G21dN1x Next: none Diff:
OldNewDifferences
286286 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
287287 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
288288 let freezeAdditionalToken = valueOrElse(getBoolean(this, (toString(launchpadId) + keyFreezeAdditionalToken)), false)
289- let $t01196513105 = if ((i.payments[0].assetId == unit))
289+ let $t01196513098 = if ((i.payments[0].assetId == unit))
290290 then {
291291 let amntToGet = {
292292 let @ = ({
322322 let ex = invoke(WAVES_XTN_EX, "callFunction", ["exchange", [toString(amntToGetTickets)]], [AttachedPayment(unit, amntToPay)])
323323 if ((ex == ex))
324324 then {
325- let change = (i.payments[0].amount - amntToGetTickets)
325+ let change = (i.payments[0].amount - amntToPay)
326326 let cEntry = if ((change > 0))
327327 then [ScriptTransfer(i.caller, change, i.payments[0].assetId)]
328328 else nil
336336 else throw("Strict value is not equal to itself.")
337337 }
338338 else $Tuple3(i.payments[0].amount, i.payments[0].assetId, nil)
339- let pmtAmount = $t01196513105._1
340- let pmtAssetId = $t01196513105._2
341- let changeEntry = $t01196513105._3
339+ let pmtAmount = $t01196513098._1
340+ let pmtAssetId = $t01196513098._2
341+ let changeEntry = $t01196513098._3
342342 if ((activeLaunchpadId != launchpadId))
343343 then throw("There is no active launchpad or this launchpad is ended")
344344 else if ((startHeight > height))
378378 then {
379379 let freezeTokenId = getStringValue(this, (toString(launchpadId) + keyFreezeTokenId))
380380 let freezeTokenPerTicket = getIntegerValue(this, (toString(launchpadId) + keyFreezeTokenPerTicket))
381- let $t01494815035 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
382- let pmtAmountFreeze = $t01494815035._1
383- let pmtAssetIdFreeze = $t01494815035._2
384- let $t01505215143 = getAssetInfo(pmtAssetId)
385- let pmtFreezeStrAssetId = $t01505215143._1
386- let pmtFreezeAssetName = $t01505215143._2
387- let pmtFreezeDecimals = $t01505215143._3
381+ let $t01494115028 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
382+ let pmtAmountFreeze = $t01494115028._1
383+ let pmtAssetIdFreeze = $t01494115028._2
384+ let $t01504515136 = getAssetInfo(pmtAssetId)
385+ let pmtFreezeStrAssetId = $t01504515136._1
386+ let pmtFreezeAssetName = $t01504515136._2
387+ let pmtFreezeDecimals = $t01504515136._3
388388 let needFreezeTokens = (freezeTokenPerTicket * buyTicketAmount)
389389 if (if ((pmtFreezeStrAssetId != freezeTokenId))
390390 then true
418418
419419 @Callable(i)
420420 func commitAccessListSale (launchpadId,refId) = valueOrElse(isActive(), {
421- let $t01722917304 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
422- let pmtAmount = $t01722917304._1
423- let pmtAssetId = $t01722917304._2
424- let $t01730917459 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
425- let buyAssetId = $t01730917459._1
426- let buyAssetStrId = $t01730917459._2
427- let buyAssetName = $t01730917459._3
428- let buyAssetDecimals = $t01730917459._4
421+ let $t01722217297 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
422+ let pmtAmount = $t01722217297._1
423+ let pmtAssetId = $t01722217297._2
424+ let $t01730217452 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
425+ let buyAssetId = $t01730217452._1
426+ let buyAssetStrId = $t01730217452._2
427+ let buyAssetName = $t01730217452._3
428+ let buyAssetDecimals = $t01730217452._4
429429 let userUsdnInMarketing = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountBuyAssetInMarketing)), 0)
430430 let usdnInMarketing = valueOrElse(getInteger(this, (toString(launchpadId) + keyAmountBuyAssetInMarketing)), 0)
431431 let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0)
432432 let commission = getIntegerValue(this, (toString(launchpadId) + keyComission))
433433 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
434434 let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation))
435- let $t01812818272 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
436- let tokenId = $t01812818272._1
437- let tokenStrAssetId = $t01812818272._2
438- let tokenAssetName = $t01812818272._3
439- let tokenDecimals = $t01812818272._4
435+ let $t01812118265 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
436+ let tokenId = $t01812118265._1
437+ let tokenStrAssetId = $t01812118265._2
438+ let tokenAssetName = $t01812118265._3
439+ let tokenDecimals = $t01812118265._4
440440 let allocationPriceWithComission = fraction(fraction(tokenPrice, tokensPerAllocation, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100)
441441 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
442442 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
476476
477477 @Callable(i)
478478 func commitHighCompetitionSale (launchpadId,refId) = valueOrElse(isActive(), {
479- let $t02053020680 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
480- let buyAssetId = $t02053020680._1
481- let buyAssetStrId = $t02053020680._2
482- let buyAssetName = $t02053020680._3
483- let buyAssetDecimals = $t02053020680._4
479+ let $t02052320673 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
480+ let buyAssetId = $t02052320673._1
481+ let buyAssetStrId = $t02052320673._2
482+ let buyAssetName = $t02052320673._3
483+ let buyAssetDecimals = $t02052320673._4
484484 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
485485 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
486486 let boughtHCTicketsAmount = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCBoughtTicketsAmount)), 0)
487487 let highCompetitionSale = valueOrElse(getBoolean(this, (toString(launchpadId) + keyHighCompetitionSale)), false)
488488 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
489489 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
490- let $t02129021434 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
491- let tokenId = $t02129021434._1
492- let tokenStrAssetId = $t02129021434._2
493- let tokenAssetName = $t02129021434._3
494- let tokenDecimals = $t02129021434._4
490+ let $t02128321427 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
491+ let tokenId = $t02128321427._1
492+ let tokenStrAssetId = $t02128321427._2
493+ let tokenAssetName = $t02128321427._3
494+ let tokenDecimals = $t02128321427._4
495495 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
496496 let commissionPerTicket = fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission)), 100)
497- let $t02166722807 = if ((i.payments[0].assetId == unit))
497+ let $t02166022793 = if ((i.payments[0].assetId == unit))
498498 then {
499499 let amntToGet = {
500500 let @ = ({
530530 let ex = invoke(WAVES_XTN_EX, "callFunction", ["exchange", [toString(amntToGetTickets)]], [AttachedPayment(unit, amntToPay)])
531531 if ((ex == ex))
532532 then {
533- let change = (i.payments[0].amount - amntToGetTickets)
533+ let change = (i.payments[0].amount - amntToPay)
534534 let cEntry = if ((change > 0))
535535 then [ScriptTransfer(i.caller, change, i.payments[0].assetId)]
536536 else nil
544544 else throw("Strict value is not equal to itself.")
545545 }
546546 else $Tuple3(i.payments[0].amount, i.payments[0].assetId, nil)
547- let pmtAmount = $t02166722807._1
548- let pmtAssetId = $t02166722807._2
549- let changeEntry = $t02166722807._3
547+ let pmtAmount = $t02166022793._1
548+ let pmtAssetId = $t02166022793._2
549+ let changeEntry = $t02166022793._3
550550 if ((activeLaunchpadId != launchpadId))
551551 then throw("There is no active launchpad or this launchpad is ended")
552552 else if (!(highCompetitionSale))
598598 if ((calcHash != savedHash))
599599 then throw("vrf Height hash not matching")
600600 else {
601- let $t02576025910 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
602- let buyAssetId = $t02576025910._1
603- let buyAssetStrId = $t02576025910._2
604- let buyAssetName = $t02576025910._3
605- let buyAssetDecimals = $t02576025910._4
601+ let $t02574625896 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
602+ let buyAssetId = $t02574625896._1
603+ let buyAssetStrId = $t02574625896._2
604+ let buyAssetName = $t02574625896._3
605+ let buyAssetDecimals = $t02574625896._4
606606 let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress)))
607607 let commission = getIntegerValue(this, (toString(launchpadId) + keyComission))
608608 let commissionHC = getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission))
647647 else false)
648648 then throw("You can't claim because you don't buy anything")
649649 else {
650- let $t02899429171 = getAssetInfoFromString(valueOrElse(getString(this, (toString(launchpadId) + keyBuyToken)), toBase58String(USDN)))
651- let buyAssetId = $t02899429171._1
652- let buyAssetStrId = $t02899429171._2
653- let buyAssetName = $t02899429171._3
654- let buyAssetDecimals = $t02899429171._4
650+ let $t02898029157 = getAssetInfoFromString(valueOrElse(getString(this, (toString(launchpadId) + keyBuyToken)), toBase58String(USDN)))
651+ let buyAssetId = $t02898029157._1
652+ let buyAssetStrId = $t02898029157._2
653+ let buyAssetName = $t02898029157._3
654+ let buyAssetDecimals = $t02898029157._4
655655 let wonnedTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedTicketsAmount)), 0)
656656 let wonnedHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedHighCompetitionTicketsAmount)), 0)
657657 let awailableAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAvailableAllocations)), 0)
660660 let allowedAllocations = min([boughtAllocations, awailableAllocations])
661661 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
662662 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
663- let $t03008730231 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
664- let tokenId = $t03008730231._1
665- let tokenStrAssetId = $t03008730231._2
666- let tokenAssetName = $t03008730231._3
667- let tokenDecimals = $t03008730231._4
663+ let $t03007330217 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
664+ let tokenId = $t03007330217._1
665+ let tokenStrAssetId = $t03007330217._2
666+ let tokenAssetName = $t03007330217._3
667+ let tokenDecimals = $t03007330217._4
668668 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
669669 let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation))
670670 let transferTokensAmount = (((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) + (wonnedHCTickets * tokensPerTicket))
759759 @Callable(i)
760760 func transferBuyAsset (launchpadId,amount) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), {
761761 let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress)))
762- let $t03639636546 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
763- let buyAssetId = $t03639636546._1
764- let buyAssetStrId = $t03639636546._2
765- let buyAssetName = $t03639636546._3
766- let buyAssetDecimals = $t03639636546._4
762+ let $t03638236532 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
763+ let buyAssetId = $t03638236532._1
764+ let buyAssetStrId = $t03638236532._2
765+ let buyAssetName = $t03638236532._3
766+ let buyAssetDecimals = $t03638236532._4
767767 let transferedBuyAsset = valueOrElse(getInteger(this, (toString(launchpadId) + keyTransferBuyAsset)), 0)
768768 let inv = if (if ((amount > 0))
769769 then (buyAssetId == USDN)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let keyActive = "active"
55
66 let kActiveGlob = "active_all_contracts"
77
88 let keyAdminPubKey1 = "admin_pub_1"
99
1010 let keyAdminPubKey2 = "admin_pub_2"
1111
1212 let keyAdminPubKey3 = "admin_pub_3"
1313
1414 let keyLaunchpadDataTransactionStatus = "launchpad_data_transaction_status"
1515
1616 let keyLaunchpadNextId = "launchpad_next_id"
1717
1818 let keyLaunchpadActiveId = "launchpad_active_id"
1919
2020 let keyInitCaller = "init_caller"
2121
2222 let keyAddress = "_address"
2323
2424 let keyInitHeight = "_init_height"
2525
2626 let keyStartHeight = "_start_height"
2727
2828 let keyFinaliseHeight = "_finalise_height"
2929
3030 let keyComission = "_comission"
3131
3232 let keyAssetId = "_asset_id"
3333
3434 let keyTotalTokenAmount = "_total_token_amount"
3535
3636 let keyTotalAmountBuyAssetSold = "_total_buy_asset_sold"
3737
3838 let keyTokensPerTicket = "_tokens_per_ticket"
3939
4040 let keyPricePerToken = "_price_per_token"
4141
4242 let keySwopPerTicket = "_swop_per_ticket"
4343
4444 let keySwopfiTicketsAmount = "_tickets_swopfi_members"
4545
4646 let keyCampaignTokensAmount = "_tokens_access_list"
4747
4848 let keyTokensPerAllocation = "_tokens_per_allocation"
4949
5050 let keyTicketLastNumber = "_ticket_last_number"
5151
5252 let keyGovernanceStaked = "_GSwop_amount"
5353
5454 let keyUserRefId = "_ref_id"
5555
5656 let keyVerifyHash = "_verify_hash"
5757
5858 let keyDuration = "_duration"
5959
6060 let keyAmountBuyAssetInMarketing = "_total_purchased_buy_asset_in_marketing"
6161
6262 let keyAmountBuyAssetInMarketingFinalized = "_total_purchased_buy_asset_in_marketing_finalized"
6363
6464 let keyTransferBuyAsset = "_transfer_buy_asset"
6565
6666 let keyFreezSwopDuration = "_freeze_swop_duration"
6767
6868 let keyFreezeAdditionalToken = "_freeze_additional_token"
6969
7070 let keyFreezeTokenId = "_freeze_token_id"
7171
7272 let keyFreezeTokenDuration = "_freeze_token_duration"
7373
7474 let keyFreezeTokenPerTicket = "_freeze_token_per_ticket"
7575
7676 let keyBuyToken = "_buy_token"
7777
7878 let keyClaimParams = "_claim_params"
7979
8080 let keyHighCompetitionComission = "_high_competition_comission"
8181
8282 let keyHighCompetitionSale = "_high_competition_sale"
8383
8484 let keyHCTicketLastNumber = "_high_competition_ticket_last_number"
8585
8686 let keyHighCompetitionAmount = "_tickets_high_competition"
8787
8888 let keyTotalAmountBuyAssetSoldHC = "_total_buy_asset_sold_high_competition"
8989
9090 let keyUserClaimedTokens = "_claimed_tokens"
9191
9292 let keyUserClaimedBuyTokens = "_claimed_buy_tokens"
9393
9494 let keyUserBoughtTicketsAmount = "_bought_tickets"
9595
9696 let keyUserTickets = "_tickets_number"
9797
9898 let keyUserHCTickets = "_tickets_number_high_competition"
9999
100100 let keyUserHCBoughtTicketsAmount = "_bought_tickets_high_competition"
101101
102102 let keyUserAvailableAllocations = "_available_purchase_marketing"
103103
104104 let keyUserAmountBuyAssetInMarketing = "_purchased_buy_asset_in_marketing"
105105
106106 let keyUserBoughtAllocations = "_bought_allocations"
107107
108108 let keyUserClaimStatus = "_claim_status"
109109
110110 let keyUserWinnedTicketsAmount = "_tickets_result"
111111
112112 let keyUserWinnedHighCompetitionTicketsAmount = "_tickets_result_high_competition"
113113
114114 let keyUserFreezeToken = "_freeze_token_amount"
115115
116116 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
117117
118118 let governance = Address(base58'3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs')
119119
120120 let commissionWallet = Address(base58'3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had')
121121
122122 let stakingUSDNAddress = Address(base58'3N8STSY7dWpBYLiCimEQMkRizyWePSX3qQx')
123123
124124 let USDN = base58'4W19ndijcc2CsQa9HGW2dfXKTVXhnneWWttxXrtjPmEp'
125125
126126 let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
127127
128128 let WAVES_XTN_EX = Address(base58'3MqjSoPUdGHaan9uhxwTnFw1uH7uZ8dgt8f')
129129
130130 let maxAllocationsAmount = 2
131131
132132 let activeLaunchpadId = valueOrElse(getIntegerValue(this, keyLaunchpadActiveId), -1)
133133
134134 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
135135 case string: String =>
136136 fromBase58String(string)
137137 case nothing =>
138138 throw("Admin public key is empty")
139139 }
140140
141141
142142 let adminPubKey1 = getAdminPub(keyAdminPubKey1)
143143
144144 let adminPubKey2 = getAdminPub(keyAdminPubKey2)
145145
146146 let adminPubKey3 = getAdminPub(keyAdminPubKey3)
147147
148148 func getAssetInfo (assetId) = match assetId {
149149 case id: ByteVector =>
150150 let stringId = toBase58String(id)
151151 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
152152 $Tuple3(stringId, info.name, info.decimals)
153153 case waves: Unit =>
154154 $Tuple3("WAVES", "WAVES", 8)
155155 case _ =>
156156 throw("Match error")
157157 }
158158
159159
160160 func getLaunchpadNextId () = valueOrElse(getInteger(this, keyLaunchpadNextId), 1)
161161
162162
163163 func stakedUsdnAmount () = valueOrElse(getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))), 0)
164164
165165
166166 let active = valueOrElse(getBoolean(this, keyActive), true)
167167
168168 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
169169
170170 func isActive () = if (if (active)
171171 then activeGlob
172172 else false)
173173 then unit
174174 else throw("DApp is inactive at this moment")
175175
176176
177177 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
178178 then unit
179179 else throw("Only admin can call this function")
180180
181181
182182 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
183183 then $Tuple4(unit, "WAVES", "WAVES", 8)
184184 else {
185185 let stringId = assetStr
186186 let id = fromBase58String(assetStr)
187187 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
188188 $Tuple4(id, stringId, info.name, info.decimals)
189189 }
190190
191191
192192 func buyInWaves (launchpadId,ticketsAmount,type) = {
193193 let $t051595309 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
194194 let buyAssetId = $t051595309._1
195195 let buyAssetStrId = $t051595309._2
196196 let buyAssetName = $t051595309._3
197197 let buyAssetDecimals = $t051595309._4
198198 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
199199 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
200200 let $t054915635 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
201201 let tokenId = $t054915635._1
202202 let tokenStrAssetId = $t054915635._2
203203 let tokenAssetName = $t054915635._3
204204 let tokenDecimals = $t054915635._4
205205 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
206206 let commissionPerTicket = if ((type == 1))
207207 then fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyComission)), 100)
208208 else fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission)), 100)
209209 let amntToGetTickets = (ticketsAmount * (ticketPrice + commissionPerTicket))
210210 let amntToPay = {
211211 let @ = ({
212212 let @ = invoke(WAVES_XTN_EX, "callFunction", ["howManyYouPayREADONLY", [toString(amntToGetTickets), buyAssetId]], nil)
213213 if ($isInstanceOf(@, "List[Any]"))
214214 then @
215215 else throw(($getType(@) + " couldn't be cast to List[Any]"))
216216 })[0]
217217 if ($isInstanceOf(@, "Int"))
218218 then @
219219 else throw(($getType(@) + " couldn't be cast to Int"))
220220 }
221221 if ((amntToPay == amntToPay))
222222 then fraction(amntToPay, 101, 100)
223223 else throw("Strict value is not equal to itself.")
224224 }
225225
226226
227227 @Callable(i)
228228 func hashingRandom (launchpadId,hash) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [StringEntry((toString(launchpadId) + keyVerifyHash), hash)]))
229229
230230
231231
232232 @Callable(i)
233233 func initCaller (address) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [StringEntry(keyInitCaller, address)]))
234234
235235
236236
237237 @Callable(i)
238238 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), "")))
239239 then throw("Only project admin can call init function")
240240 else if ((size(i.payments) != 1))
241241 then throw("One attached payment expected")
242242 else if ((height > startHeight))
243243 then throw("Start height must be greater than blockchain height")
244244 else if (if (freezeAdditionalToken)
245245 then (size(freezeParams) != 3)
246246 else false)
247247 then throw("Freeze params list must have 3 items")
248248 else {
249249 let launchpadId = getLaunchpadNextId()
250250 let launchpadIdStr = toString(launchpadId)
251251 let $t077897864 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
252252 let pmtAmount = $t077897864._1
253253 let pmtAssetId = $t077897864._2
254254 let $t078737946 = getAssetInfo(pmtAssetId)
255255 let pmtStrAssetId = $t078737946._1
256256 let pmtAssetName = $t078737946._2
257257 let pmtDecimals = $t078737946._3
258258 let freezeAdditionalEntry = if (freezeAdditionalToken)
259259 then [BooleanEntry((launchpadIdStr + keyFreezeAdditionalToken), true), StringEntry((launchpadIdStr + keyFreezeTokenId), freezeParams[0]), IntegerEntry((launchpadIdStr + keyFreezeTokenDuration), parseIntValue(freezeParams[1])), IntegerEntry((launchpadIdStr + keyFreezeTokenPerTicket), parseIntValue(freezeParams[2]))]
260260 else nil
261261 ([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)
262262 })
263263
264264
265265
266266 @Callable(i)
267267 func commitSwopfiSale (launchpadId,refId) = valueOrElse(isActive(), {
268268 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
269269 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
270270 let $t01072910873 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
271271 let tokenId = $t01072910873._1
272272 let tokenStrAssetId = $t01072910873._2
273273 let tokenAssetName = $t01072910873._3
274274 let tokenDecimals = $t01072910873._4
275275 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
276276 let commissionPerTicket = fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyComission)), 100)
277277 let $t01109011240 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
278278 let buyAssetId = $t01109011240._1
279279 let buyAssetStrId = $t01109011240._2
280280 let buyAssetName = $t01109011240._3
281281 let buyAssetDecimals = $t01109011240._4
282282 let stakedSwops = valueOrElse(getInteger(governance, (toString(i.caller) + keyGovernanceStaked)), 0)
283283 let allowedTicketsAmountAll = (stakedSwops / getIntegerValue(this, (toString(launchpadId) + keySwopPerTicket)))
284284 let boughtTicketsAmount = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0)
285285 let allowedTicketsAmount = (allowedTicketsAmountAll - boughtTicketsAmount)
286286 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
287287 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
288288 let freezeAdditionalToken = valueOrElse(getBoolean(this, (toString(launchpadId) + keyFreezeAdditionalToken)), false)
289- let $t01196513105 = if ((i.payments[0].assetId == unit))
289+ let $t01196513098 = if ((i.payments[0].assetId == unit))
290290 then {
291291 let amntToGet = {
292292 let @ = ({
293293 let @ = invoke(WAVES_XTN_EX, "callFunction", ["howManyYouGetREADONLY", [toString(i.payments[0].amount), base58'']], nil)
294294 if ($isInstanceOf(@, "List[Any]"))
295295 then @
296296 else throw(($getType(@) + " couldn't be cast to List[Any]"))
297297 })[0]
298298 if ($isInstanceOf(@, "Int"))
299299 then @
300300 else throw(($getType(@) + " couldn't be cast to Int"))
301301 }
302302 if ((amntToGet == amntToGet))
303303 then {
304304 let ticketsAmount = (amntToGet / (ticketPrice + commissionPerTicket))
305305 if ((ticketsAmount == 0))
306306 then throw("Not enought WAVES to buy tickets")
307307 else {
308308 let amntToGetTickets = (ticketsAmount * (ticketPrice + commissionPerTicket))
309309 let amntToPay = {
310310 let @ = ({
311311 let @ = invoke(WAVES_XTN_EX, "callFunction", ["howManyYouPayREADONLY", [toString(amntToGetTickets), buyAssetId]], nil)
312312 if ($isInstanceOf(@, "List[Any]"))
313313 then @
314314 else throw(($getType(@) + " couldn't be cast to List[Any]"))
315315 })[0]
316316 if ($isInstanceOf(@, "Int"))
317317 then @
318318 else throw(($getType(@) + " couldn't be cast to Int"))
319319 }
320320 if ((amntToPay == amntToPay))
321321 then {
322322 let ex = invoke(WAVES_XTN_EX, "callFunction", ["exchange", [toString(amntToGetTickets)]], [AttachedPayment(unit, amntToPay)])
323323 if ((ex == ex))
324324 then {
325- let change = (i.payments[0].amount - amntToGetTickets)
325+ let change = (i.payments[0].amount - amntToPay)
326326 let cEntry = if ((change > 0))
327327 then [ScriptTransfer(i.caller, change, i.payments[0].assetId)]
328328 else nil
329329 $Tuple3(amntToGetTickets, buyAssetId, cEntry)
330330 }
331331 else throw("Strict value is not equal to itself.")
332332 }
333333 else throw("Strict value is not equal to itself.")
334334 }
335335 }
336336 else throw("Strict value is not equal to itself.")
337337 }
338338 else $Tuple3(i.payments[0].amount, i.payments[0].assetId, nil)
339- let pmtAmount = $t01196513105._1
340- let pmtAssetId = $t01196513105._2
341- let changeEntry = $t01196513105._3
339+ let pmtAmount = $t01196513098._1
340+ let pmtAssetId = $t01196513098._2
341+ let changeEntry = $t01196513098._3
342342 if ((activeLaunchpadId != launchpadId))
343343 then throw("There is no active launchpad or this launchpad is ended")
344344 else if ((startHeight > height))
345345 then throw("Launchpad sale not started yet")
346346 else if ((height > (startHeight + duration)))
347347 then throw("Launchpad sale ended")
348348 else if (if (!(freezeAdditionalToken))
349349 then if ((size(i.payments) != 1))
350350 then true
351351 else (pmtAssetId != buyAssetId)
352352 else false)
353353 then throw((("One attached payment in " + buyAssetName) + " expected"))
354354 else if (if (freezeAdditionalToken)
355355 then if ((size(i.payments) != 2))
356356 then true
357357 else (pmtAssetId != buyAssetId)
358358 else false)
359359 then {
360360 let freezeTokenId = getStringValue(this, (toString(launchpadId) + keyFreezeTokenId))
361361 throw(((("Two attached payments expected: First in " + buyAssetName) + ", second in ") + freezeTokenId))
362362 }
363363 else if (if ((0 >= allowedTicketsAmountAll))
364364 then true
365365 else (0 >= allowedTicketsAmount))
366366 then throw("Not enought SWOP in staking to buy tickets")
367367 else {
368368 let buyTicketAmount = (pmtAmount / (ticketPrice + commissionPerTicket))
369369 let allowedBuyTicketAmount = min([buyTicketAmount, allowedTicketsAmount])
370370 let allowedBuyPriceWithComission = (allowedBuyTicketAmount * (ticketPrice + commissionPerTicket))
371371 let change = (pmtAmount - allowedBuyPriceWithComission)
372372 if ((buyTicketAmount == 0))
373373 then throw((("Not enought " + buyAssetName) + " to buy tickets"))
374374 else if ((change != 0))
375375 then throw((((("Wrong payment. To buy " + toString(allowedBuyTicketAmount)) + "tickets you need to pay ") + toString(allowedBuyPriceWithComission)) + buyAssetName))
376376 else {
377377 let freezeAdditionalEntry = if (freezeAdditionalToken)
378378 then {
379379 let freezeTokenId = getStringValue(this, (toString(launchpadId) + keyFreezeTokenId))
380380 let freezeTokenPerTicket = getIntegerValue(this, (toString(launchpadId) + keyFreezeTokenPerTicket))
381- let $t01494815035 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
382- let pmtAmountFreeze = $t01494815035._1
383- let pmtAssetIdFreeze = $t01494815035._2
384- let $t01505215143 = getAssetInfo(pmtAssetId)
385- let pmtFreezeStrAssetId = $t01505215143._1
386- let pmtFreezeAssetName = $t01505215143._2
387- let pmtFreezeDecimals = $t01505215143._3
381+ let $t01494115028 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
382+ let pmtAmountFreeze = $t01494115028._1
383+ let pmtAssetIdFreeze = $t01494115028._2
384+ let $t01504515136 = getAssetInfo(pmtAssetId)
385+ let pmtFreezeStrAssetId = $t01504515136._1
386+ let pmtFreezeAssetName = $t01504515136._2
387+ let pmtFreezeDecimals = $t01504515136._3
388388 let needFreezeTokens = (freezeTokenPerTicket * buyTicketAmount)
389389 if (if ((pmtFreezeStrAssetId != freezeTokenId))
390390 then true
391391 else (needFreezeTokens != pmtAmountFreeze))
392392 then throw((((("You need to add " + toString(needFreezeTokens)) + " ") + pmtFreezeAssetName) + " as a second payment"))
393393 else [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserFreezeToken), pmtAmountFreeze)]
394394 }
395395 else nil
396396 let userBoughtTicketsNumbers = valueOrElse(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserTickets)), "")
397397 let lastBoughtTicketNumber = getIntegerValue(this, (toString(launchpadId) + keyTicketLastNumber))
398398 let boughtRange = ((toString((lastBoughtTicketNumber + 1)) + "-") + toString((lastBoughtTicketNumber + allowedBuyTicketAmount)))
399399 let newUserBoughtTicketsNumbers = (userBoughtTicketsNumbers + (if ((userBoughtTicketsNumbers != ""))
400400 then ("," + boughtRange)
401401 else ("" + boughtRange)))
402402 let inv = if ((buyAssetId == USDN))
403403 then invoke(stakingUSDNAddress, "lockNeutrino", nil, [AttachedPayment(pmtAssetId, pmtAmount)])
404404 else 0
405405 if ((inv == inv))
406406 then {
407407 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)] ++ freezeAdditionalEntry) ++ changeEntry)
408408 if (!(isDefined(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId)))))
409409 then (baseEntry ++ [StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId), refId)])
410410 else baseEntry
411411 }
412412 else throw("Strict value is not equal to itself.")
413413 }
414414 }
415415 })
416416
417417
418418
419419 @Callable(i)
420420 func commitAccessListSale (launchpadId,refId) = valueOrElse(isActive(), {
421- let $t01722917304 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
422- let pmtAmount = $t01722917304._1
423- let pmtAssetId = $t01722917304._2
424- let $t01730917459 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
425- let buyAssetId = $t01730917459._1
426- let buyAssetStrId = $t01730917459._2
427- let buyAssetName = $t01730917459._3
428- let buyAssetDecimals = $t01730917459._4
421+ let $t01722217297 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
422+ let pmtAmount = $t01722217297._1
423+ let pmtAssetId = $t01722217297._2
424+ let $t01730217452 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
425+ let buyAssetId = $t01730217452._1
426+ let buyAssetStrId = $t01730217452._2
427+ let buyAssetName = $t01730217452._3
428+ let buyAssetDecimals = $t01730217452._4
429429 let userUsdnInMarketing = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountBuyAssetInMarketing)), 0)
430430 let usdnInMarketing = valueOrElse(getInteger(this, (toString(launchpadId) + keyAmountBuyAssetInMarketing)), 0)
431431 let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0)
432432 let commission = getIntegerValue(this, (toString(launchpadId) + keyComission))
433433 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
434434 let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation))
435- let $t01812818272 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
436- let tokenId = $t01812818272._1
437- let tokenStrAssetId = $t01812818272._2
438- let tokenAssetName = $t01812818272._3
439- let tokenDecimals = $t01812818272._4
435+ let $t01812118265 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
436+ let tokenId = $t01812118265._1
437+ let tokenStrAssetId = $t01812118265._2
438+ let tokenAssetName = $t01812118265._3
439+ let tokenDecimals = $t01812118265._4
440440 let allocationPriceWithComission = fraction(fraction(tokenPrice, tokensPerAllocation, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100)
441441 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
442442 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
443443 if ((activeLaunchpadId != launchpadId))
444444 then throw("There is no active launchpad or this launchpad is ended")
445445 else if ((startHeight > height))
446446 then throw("Launchpad sale not started yet")
447447 else if ((height > (startHeight + duration)))
448448 then throw("Launchpad sale ended")
449449 else if (if ((size(i.payments) != 1))
450450 then true
451451 else (pmtAssetId != buyAssetId))
452452 then throw((("One attached payment in " + buyAssetName) + " expected"))
453453 else if ((boughtAllocations >= maxAllocationsAmount))
454454 then throw((("You can buy only " + toString(maxAllocationsAmount)) + "allocations"))
455455 else if (if ((allocationPriceWithComission != pmtAmount))
456456 then ((allocationPriceWithComission * 2) != pmtAmount)
457457 else false)
458458 then throw(((("Wrong payment. You can buy 1 or 2 allocations for " + toString(allocationPriceWithComission)) + buyAssetName) + " per allocation"))
459459 else {
460460 let buyAllocationsAmount = (pmtAmount / allocationPriceWithComission)
461461 let inv = if ((buyAssetId == USDN))
462462 then invoke(stakingUSDNAddress, "lockNeutrino", nil, [AttachedPayment(pmtAssetId, pmtAmount)])
463463 else 0
464464 if ((inv == inv))
465465 then {
466466 let baseEntry = [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations), (boughtAllocations + buyAllocationsAmount)), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAmountBuyAssetInMarketing), (userUsdnInMarketing + pmtAmount)), IntegerEntry((toString(launchpadId) + keyAmountBuyAssetInMarketing), (usdnInMarketing + pmtAmount))]
467467 if (!(isDefined(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId)))))
468468 then (baseEntry ++ [StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId), refId)])
469469 else baseEntry
470470 }
471471 else throw("Strict value is not equal to itself.")
472472 }
473473 })
474474
475475
476476
477477 @Callable(i)
478478 func commitHighCompetitionSale (launchpadId,refId) = valueOrElse(isActive(), {
479- let $t02053020680 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
480- let buyAssetId = $t02053020680._1
481- let buyAssetStrId = $t02053020680._2
482- let buyAssetName = $t02053020680._3
483- let buyAssetDecimals = $t02053020680._4
479+ let $t02052320673 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
480+ let buyAssetId = $t02052320673._1
481+ let buyAssetStrId = $t02052320673._2
482+ let buyAssetName = $t02052320673._3
483+ let buyAssetDecimals = $t02052320673._4
484484 let startHeight = value(getInteger(this, (toString(launchpadId) + keyStartHeight)))
485485 let duration = value(getInteger(this, (toString(launchpadId) + keyDuration)))
486486 let boughtHCTicketsAmount = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCBoughtTicketsAmount)), 0)
487487 let highCompetitionSale = valueOrElse(getBoolean(this, (toString(launchpadId) + keyHighCompetitionSale)), false)
488488 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
489489 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
490- let $t02129021434 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
491- let tokenId = $t02129021434._1
492- let tokenStrAssetId = $t02129021434._2
493- let tokenAssetName = $t02129021434._3
494- let tokenDecimals = $t02129021434._4
490+ let $t02128321427 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
491+ let tokenId = $t02128321427._1
492+ let tokenStrAssetId = $t02128321427._2
493+ let tokenAssetName = $t02128321427._3
494+ let tokenDecimals = $t02128321427._4
495495 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
496496 let commissionPerTicket = fraction(ticketPrice, getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission)), 100)
497- let $t02166722807 = if ((i.payments[0].assetId == unit))
497+ let $t02166022793 = if ((i.payments[0].assetId == unit))
498498 then {
499499 let amntToGet = {
500500 let @ = ({
501501 let @ = invoke(WAVES_XTN_EX, "callFunction", ["howManyYouGetREADONLY", [toString(i.payments[0].amount), base58'']], nil)
502502 if ($isInstanceOf(@, "List[Any]"))
503503 then @
504504 else throw(($getType(@) + " couldn't be cast to List[Any]"))
505505 })[0]
506506 if ($isInstanceOf(@, "Int"))
507507 then @
508508 else throw(($getType(@) + " couldn't be cast to Int"))
509509 }
510510 if ((amntToGet == amntToGet))
511511 then {
512512 let ticketsAmount = (amntToGet / (ticketPrice + commissionPerTicket))
513513 if ((ticketsAmount == 0))
514514 then throw("Not enought WAVES to buy tickets")
515515 else {
516516 let amntToGetTickets = (ticketsAmount * (ticketPrice + commissionPerTicket))
517517 let amntToPay = {
518518 let @ = ({
519519 let @ = invoke(WAVES_XTN_EX, "callFunction", ["howManyYouPayREADONLY", [toString(amntToGetTickets), buyAssetId]], nil)
520520 if ($isInstanceOf(@, "List[Any]"))
521521 then @
522522 else throw(($getType(@) + " couldn't be cast to List[Any]"))
523523 })[0]
524524 if ($isInstanceOf(@, "Int"))
525525 then @
526526 else throw(($getType(@) + " couldn't be cast to Int"))
527527 }
528528 if ((amntToPay == amntToPay))
529529 then {
530530 let ex = invoke(WAVES_XTN_EX, "callFunction", ["exchange", [toString(amntToGetTickets)]], [AttachedPayment(unit, amntToPay)])
531531 if ((ex == ex))
532532 then {
533- let change = (i.payments[0].amount - amntToGetTickets)
533+ let change = (i.payments[0].amount - amntToPay)
534534 let cEntry = if ((change > 0))
535535 then [ScriptTransfer(i.caller, change, i.payments[0].assetId)]
536536 else nil
537537 $Tuple3(amntToGetTickets, buyAssetId, cEntry)
538538 }
539539 else throw("Strict value is not equal to itself.")
540540 }
541541 else throw("Strict value is not equal to itself.")
542542 }
543543 }
544544 else throw("Strict value is not equal to itself.")
545545 }
546546 else $Tuple3(i.payments[0].amount, i.payments[0].assetId, nil)
547- let pmtAmount = $t02166722807._1
548- let pmtAssetId = $t02166722807._2
549- let changeEntry = $t02166722807._3
547+ let pmtAmount = $t02166022793._1
548+ let pmtAssetId = $t02166022793._2
549+ let changeEntry = $t02166022793._3
550550 if ((activeLaunchpadId != launchpadId))
551551 then throw("There is no active launchpad or this launchpad is ended")
552552 else if (!(highCompetitionSale))
553553 then throw("There is no high competition sale for this launchpad")
554554 else if ((startHeight > height))
555555 then throw("Launchpad sale not started yet")
556556 else if ((height > (startHeight + duration)))
557557 then throw("Launchpad sale ended")
558558 else if (if ((size(i.payments) != 1))
559559 then true
560560 else (pmtAssetId != buyAssetId))
561561 then throw((("One attached payment in " + buyAssetName) + " expected"))
562562 else {
563563 let buyTicketAmount = (pmtAmount / (ticketPrice + commissionPerTicket))
564564 let buyPriceWithComission = (buyTicketAmount * (ticketPrice + commissionPerTicket))
565565 let change = (pmtAmount - buyPriceWithComission)
566566 if ((buyTicketAmount == 0))
567567 then throw((("Not enought " + buyAssetName) + " to buy tickets"))
568568 else if ((change != 0))
569569 then throw((((("Wrong payment. To buy " + toString(buyTicketAmount)) + "tickets you need to pay ") + toString(buyPriceWithComission)) + buyAssetName))
570570 else {
571571 let userBoughtTicketsNumbers = valueOrElse(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCTickets)), "")
572572 let lastBoughtTicketNumber = getIntegerValue(this, (toString(launchpadId) + keyHCTicketLastNumber))
573573 let boughtRange = ((toString((lastBoughtTicketNumber + 1)) + "-") + toString((lastBoughtTicketNumber + buyTicketAmount)))
574574 let newUserBoughtTicketsNumbers = (userBoughtTicketsNumbers + (if ((userBoughtTicketsNumbers != ""))
575575 then ("," + boughtRange)
576576 else ("" + boughtRange)))
577577 let inv = if ((buyAssetId == USDN))
578578 then invoke(stakingUSDNAddress, "lockNeutrino", nil, [AttachedPayment(pmtAssetId, pmtAmount)])
579579 else 0
580580 if ((inv == inv))
581581 then {
582582 let baseEntry = ([IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCBoughtTicketsAmount), (boughtHCTicketsAmount + buyTicketAmount)), IntegerEntry((toString(launchpadId) + keyHCTicketLastNumber), (lastBoughtTicketNumber + buyTicketAmount)), StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCTickets), newUserBoughtTicketsNumbers)] ++ changeEntry)
583583 if (!(isDefined(getString(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId)))))
584584 then (baseEntry ++ [StringEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserRefId), refId)])
585585 else baseEntry
586586 }
587587 else throw("Strict value is not equal to itself.")
588588 }
589589 }
590590 })
591591
592592
593593
594594 @Callable(i)
595595 func finalise (launchpadId,vrfHeight,secretWord) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), {
596596 let savedHash = getStringValue(this, (toString(launchpadId) + keyVerifyHash))
597597 let calcHash = toBase58String(sha256((toBytes(vrfHeight) + toBytes(secretWord))))
598598 if ((calcHash != savedHash))
599599 then throw("vrf Height hash not matching")
600600 else {
601- let $t02576025910 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
602- let buyAssetId = $t02576025910._1
603- let buyAssetStrId = $t02576025910._2
604- let buyAssetName = $t02576025910._3
605- let buyAssetDecimals = $t02576025910._4
601+ let $t02574625896 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
602+ let buyAssetId = $t02574625896._1
603+ let buyAssetStrId = $t02574625896._2
604+ let buyAssetName = $t02574625896._3
605+ let buyAssetDecimals = $t02574625896._4
606606 let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress)))
607607 let commission = getIntegerValue(this, (toString(launchpadId) + keyComission))
608608 let commissionHC = getIntegerValue(this, (toString(launchpadId) + keyHighCompetitionComission))
609609 let transferedBuyAsset = valueOrElse(getInteger(this, (toString(launchpadId) + keyTransferBuyAsset)), 0)
610610 let swopfiMembersBuyAssetAmount = getIntegerValue(this, (toString(launchpadId) + keyTotalAmountBuyAssetSold))
611611 let swopfiHCBuyAssetAmount = valueOrElse(getInteger(this, (toString(launchpadId) + keyTotalAmountBuyAssetSoldHC)), 0)
612612 let swopfiMembersComission = fraction(swopfiMembersBuyAssetAmount, commission, 100)
613613 let swopfiHCComission = fraction(swopfiHCBuyAssetAmount, commissionHC, 100)
614614 let totalAmountBuyAssetInMarketing = getIntegerValue(this, (toString(launchpadId) + keyAmountBuyAssetInMarketingFinalized))
615615 let marketingComission = fraction(totalAmountBuyAssetInMarketing, commission, 100)
616616 let unstakeAmount = ((((((swopfiMembersBuyAssetAmount + totalAmountBuyAssetInMarketing) + swopfiMembersComission) + marketingComission) + swopfiHCBuyAssetAmount) + swopfiHCComission) - transferedBuyAsset)
617617 if ((transferedBuyAsset > ((swopfiMembersBuyAssetAmount + totalAmountBuyAssetInMarketing) + swopfiHCBuyAssetAmount)))
618618 then throw("Can't transfer negative value to project")
619619 else {
620620 let inv = if ((buyAssetId == USDN))
621621 then invoke(stakingUSDNAddress, "unlockNeutrino", [unstakeAmount, toBase58String(USDN)], nil)
622622 else 0
623623 if ((inv == inv))
624624 then [IntegerEntry((toString(launchpadId) + keyFinaliseHeight), height), ScriptTransfer(projectAddress, (((swopfiMembersBuyAssetAmount + swopfiHCBuyAssetAmount) + totalAmountBuyAssetInMarketing) - transferedBuyAsset), buyAssetId), ScriptTransfer(commissionWallet, ((swopfiMembersComission + marketingComission) + swopfiHCComission), buyAssetId)]
625625 else throw("Strict value is not equal to itself.")
626626 }
627627 }
628628 }))
629629
630630
631631
632632 @Callable(i)
633633 func claim (launchpadId) = valueOrElse(isActive(), {
634634 let boughtTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtTicketsAmount)), 0)
635635 let boughtHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserHCBoughtTicketsAmount)), 0)
636636 let boughtAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserBoughtAllocations)), 0)
637637 let userClaimStatus = valueOrElse(getBoolean(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus)), false)
638638 let finalizeHeight = valueOrElse(getInteger(this, (toString(launchpadId) + keyFinaliseHeight)), 0)
639639 if ((finalizeHeight == 0))
640640 then throw("You can't claim because results are not finalized")
641641 else if (userClaimStatus)
642642 then throw("You are already claimed")
643643 else if (if (if ((boughtTickets == 0))
644644 then (boughtAllocations == 0)
645645 else false)
646646 then (boughtHCTickets == 0)
647647 else false)
648648 then throw("You can't claim because you don't buy anything")
649649 else {
650- let $t02899429171 = getAssetInfoFromString(valueOrElse(getString(this, (toString(launchpadId) + keyBuyToken)), toBase58String(USDN)))
651- let buyAssetId = $t02899429171._1
652- let buyAssetStrId = $t02899429171._2
653- let buyAssetName = $t02899429171._3
654- let buyAssetDecimals = $t02899429171._4
650+ let $t02898029157 = getAssetInfoFromString(valueOrElse(getString(this, (toString(launchpadId) + keyBuyToken)), toBase58String(USDN)))
651+ let buyAssetId = $t02898029157._1
652+ let buyAssetStrId = $t02898029157._2
653+ let buyAssetName = $t02898029157._3
654+ let buyAssetDecimals = $t02898029157._4
655655 let wonnedTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedTicketsAmount)), 0)
656656 let wonnedHCTickets = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserWinnedHighCompetitionTicketsAmount)), 0)
657657 let awailableAllocations = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserAvailableAllocations)), 0)
658658 let commission = getIntegerValue(this, (toString(launchpadId) + keyComission))
659659 let commissionHC = valueOrElse(getInteger(this, (toString(launchpadId) + keyHighCompetitionComission)), 0)
660660 let allowedAllocations = min([boughtAllocations, awailableAllocations])
661661 let tokenPrice = getIntegerValue(this, (toString(launchpadId) + keyPricePerToken))
662662 let tokensPerTicket = getIntegerValue(this, (toString(launchpadId) + keyTokensPerTicket))
663- let $t03008730231 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
664- let tokenId = $t03008730231._1
665- let tokenStrAssetId = $t03008730231._2
666- let tokenAssetName = $t03008730231._3
667- let tokenDecimals = $t03008730231._4
663+ let $t03007330217 = getAssetInfoFromString(getStringValue(this, (toString(launchpadId) + keyAssetId)))
664+ let tokenId = $t03007330217._1
665+ let tokenStrAssetId = $t03007330217._2
666+ let tokenAssetName = $t03007330217._3
667+ let tokenDecimals = $t03007330217._4
668668 let ticketPrice = fraction(tokensPerTicket, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN))
669669 let tokensPerAllocation = getIntegerValue(this, (toString(launchpadId) + keyTokensPerAllocation))
670670 let transferTokensAmount = (((wonnedTickets * tokensPerTicket) + (allowedAllocations * tokensPerAllocation)) + (wonnedHCTickets * tokensPerTicket))
671671 let notAllowedAllocationsTokens = ((boughtAllocations - allowedAllocations) * tokensPerAllocation)
672672 let buyAssetForAllocations = fraction(fraction(notAllowedAllocationsTokens, tokenPrice, pow(10, 0, tokenDecimals, 0, 0, DOWN)), (100 + commission), 100)
673673 let buyAssetForUnwonnedTickets = fraction(((boughtTickets - wonnedTickets) * ticketPrice), (100 + commission), 100)
674674 let buyAssetForHCUnwonnedTickets = fraction(((boughtHCTickets - wonnedHCTickets) * ticketPrice), (100 + commissionHC), 100)
675675 let claimedBuyToken = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedBuyTokens)), 0)
676676 if (if (if ((0 > buyAssetForAllocations))
677677 then true
678678 else (0 > buyAssetForUnwonnedTickets))
679679 then true
680680 else (0 > buyAssetForHCUnwonnedTickets))
681681 then throw("Error with allowed allocation param or wonned tickets param please contact support")
682682 else {
683683 let returnedBuyAssetAmount = (((buyAssetForUnwonnedTickets + buyAssetForHCUnwonnedTickets) + buyAssetForAllocations) - claimedBuyToken)
684684 let transferBuyAsset = if ((returnedBuyAssetAmount > 0))
685685 then [ScriptTransfer(i.caller, returnedBuyAssetAmount, buyAssetId), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedBuyTokens), returnedBuyAssetAmount)]
686686 else nil
687687 let inv = if (if ((returnedBuyAssetAmount > 0))
688688 then (buyAssetId == USDN)
689689 else false)
690690 then invoke(stakingUSDNAddress, "unlockNeutrino", [returnedBuyAssetAmount, toBase58String(USDN)], nil)
691691 else 0
692692 if ((inv == inv))
693693 then {
694694 let claimedParams = split(valueOrElse(getString(this, (toString(launchpadId) + keyClaimParams)), "claimAll"), ",")
695695 if ((claimedParams[0] == "claimAll"))
696696 then {
697697 let transferTokens = if ((transferTokensAmount > 0))
698698 then [ScriptTransfer(i.caller, transferTokensAmount, tokenId)]
699699 else nil
700700 (([BooleanEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus), true), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens), transferTokensAmount)] ++ transferTokens) ++ transferBuyAsset)
701701 }
702702 else if ((claimedParams[0] == "claimPeriod"))
703703 then {
704704 let claimedTokens = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens)), 0)
705705 let unlockPeriod = value(parseInt(claimedParams[2]))
706706 let blockHeight = (value(parseInt(claimedParams[3])) + finalizeHeight)
707707 let unlockHeight = (unlockPeriod + blockHeight)
708708 let allowedStartAmount = fraction(transferTokensAmount, value(parseInt(claimedParams[1])), 100)
709709 let allowedTokensAmount = (allowedStartAmount + (if ((height > blockHeight))
710710 then (fraction((transferTokensAmount - allowedStartAmount), (min([height, unlockHeight]) - blockHeight), unlockPeriod) - claimedTokens)
711711 else (0 - claimedTokens)))
712712 let claimStatusEntry = if ((transferTokensAmount >= (claimedTokens + allowedTokensAmount)))
713713 then [BooleanEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimStatus), true)]
714714 else nil
715715 if (if ((allowedTokensAmount > 0))
716716 then true
717717 else (returnedBuyAssetAmount > 0))
718718 then {
719719 let transferTokens = if ((allowedTokensAmount > 0))
720720 then [IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserClaimedTokens), (claimedTokens + allowedTokensAmount)), ScriptTransfer(i.caller, allowedTokensAmount, tokenId)]
721721 else nil
722722 (transferBuyAsset ++ transferTokens)
723723 }
724724 else throw("Nothing to claim")
725725 }
726726 else throw("Unknown claim function")
727727 }
728728 else throw("Strict value is not equal to itself.")
729729 }
730730 }
731731 })
732732
733733
734734
735735 @Callable(i)
736736 func claimFreezeToken (launchpadId) = valueOrElse(isActive(), {
737737 let freezeAdditionalToken = valueOrElse(getBoolean(this, (toString(launchpadId) + keyFreezeAdditionalToken)), false)
738738 if (!(isDefined(getInteger(this, (toString(launchpadId) + keyFinaliseHeight)))))
739739 then throw("You can't claim because results are not finalized")
740740 else if (!(freezeAdditionalToken))
741741 then throw("There are no additional token freezing for this launchpad")
742742 else {
743743 let tokenId = fromBase58String(getStringValue(this, (toString(launchpadId) + keyFreezeTokenId)))
744744 let userTokensFreezed = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + toString(launchpadId)) + keyUserFreezeToken)), 0)
745745 let startHeight = valueOrElse(getInteger(this, (toString(launchpadId) + keyStartHeight)), 0)
746746 let duration = valueOrElse(getInteger(this, (toString(launchpadId) + keyDuration)), 0)
747747 let freezeTokenDuration = getIntegerValue(this, (toString(launchpadId) + keyFreezeTokenDuration))
748748 let blockEndHeight = ((startHeight + duration) + freezeTokenDuration)
749749 if ((userTokensFreezed == 0))
750750 then throw("You are already claimed your tokens or not paid anything")
751751 else if ((blockEndHeight > height))
752752 then throw(("Your tokens freezed teel " + toString(blockEndHeight)))
753753 else [ScriptTransfer(i.caller, userTokensFreezed, tokenId), IntegerEntry((((toString(i.caller) + "_") + toString(launchpadId)) + keyUserFreezeToken), 0)]
754754 }
755755 })
756756
757757
758758
759759 @Callable(i)
760760 func transferBuyAsset (launchpadId,amount) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), {
761761 let projectAddress = addressFromStringValue(getStringValue(this, (toString(launchpadId) + keyAddress)))
762- let $t03639636546 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
763- let buyAssetId = $t03639636546._1
764- let buyAssetStrId = $t03639636546._2
765- let buyAssetName = $t03639636546._3
766- let buyAssetDecimals = $t03639636546._4
762+ let $t03638236532 = getAssetInfoFromString(value(getString(this, (toString(launchpadId) + keyBuyToken))))
763+ let buyAssetId = $t03638236532._1
764+ let buyAssetStrId = $t03638236532._2
765+ let buyAssetName = $t03638236532._3
766+ let buyAssetDecimals = $t03638236532._4
767767 let transferedBuyAsset = valueOrElse(getInteger(this, (toString(launchpadId) + keyTransferBuyAsset)), 0)
768768 let inv = if (if ((amount > 0))
769769 then (buyAssetId == USDN)
770770 else false)
771771 then invoke(stakingUSDNAddress, "unlockNeutrino", [amount, toBase58String(USDN)], nil)
772772 else 0
773773 if ((inv == inv))
774774 then [IntegerEntry((toString(launchpadId) + keyTransferBuyAsset), (transferedBuyAsset + amount)), ScriptTransfer(projectAddress, amount, buyAssetId)]
775775 else throw("Strict value is not equal to itself.")
776776 }))
777777
778778
779779
780780 @Callable(i)
781781 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
782782 then throw("DApp already inactive")
783783 else [BooleanEntry(keyActive, false)])
784784
785785
786786
787787 @Callable(i)
788788 func activate () = valueOrElse(isAdminCall(i), if (active)
789789 then throw("DApp already active")
790790 else [BooleanEntry(keyActive, true)])
791791
792792
793793 @Verifier(tx)
794794 func verify () = {
795795 let multiSignedByAdmins = {
796796 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
797797 then 1
798798 else 0
799799 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
800800 then 1
801801 else 0
802802 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
803803 then 1
804804 else 0
805805 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
806806 }
807807 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
808808 then true
809809 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
810810 then true
811811 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
812812 then true
813813 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
814814 match tx {
815815 case dtx: DataTransaction =>
816816 if (valueOrElse(getBoolean(oracle, keyLaunchpadDataTransactionStatus), false))
817817 then signedByAdmin
818818 else false
819819 case _ =>
820820 multiSignedByAdmins
821821 }
822822 }
823823

github/deemru/w8io/026f985 
124.48 ms