tx · 4Ba56itoh96nQ8jW6LrD3uacxkdLnfGZLVaMjwA97gks

3Mvs2aNxgATs4pQfLib7a3qHUyXXXEY2uwY:  -0.21000000 Waves

2022.06.07 18:41 [2086139] smart account 3Mvs2aNxgATs4pQfLib7a3qHUyXXXEY2uwY > SELF 0.00000000 Waves

{ "type": 13, "id": "4Ba56itoh96nQ8jW6LrD3uacxkdLnfGZLVaMjwA97gks", "fee": 21000000, "feeAssetId": null, "timestamp": 1654616444458, "version": 2, "chainId": 84, "sender": "3Mvs2aNxgATs4pQfLib7a3qHUyXXXEY2uwY", "senderPublicKey": "8HrstAq6oHqvzM5kkg5P4eGG82Q79HNdmMcoJkZ2NmsL", "proofs": [ "Pug5cJASxR5qjPdihK8rxtuko5JstkYSMe9LqUz3mBfkVkLL5hyFjaZvBabw5eimu8HgRThfeLTZMVnHVgdGgtD" ], "script": "base64:AAIFAAAAAAAAACEIAhIFCgMBCAgSABIAEgASABIDCgEYEgASABIAEgMKARgAAABhAAAAAApUT0tFTl9OQU1FAgAAAAUkTUlOSQAAAAAIVE9LRU5fSUQBAAAAIPm6AX3vkhP4OE4QVKMdgQ+Iu0iyvaAUNHZ4s/ySUsRnAAAAABdERUNJTUFMX1BPSU5UU19JTl9UT0tFTgAAAAAABfXhAAAAAAAWREVDSU1BTF9QT0lOVFNfSU5fVVNETgAAAAAAAA9CQAAAAAASVE9UQUxfVE9LRU5fQU1PVU5UCQAAaAAAAAIAAAAAAAX14QAFAAAAF0RFQ0lNQUxfUE9JTlRTX0lOX1RPS0VOAAAAAAdVU0ROX0lEAQAAACCMzUgMLnJkPY4/IB9ub3HYe/HmIkiLCcBrVjQQxAnUWgAAAAALVVNETl9JRF9TVFICAAAAClVTRE5fQVNTRVQAAAAAFFNXQVBfQUdHUkVHQVRPUl9BRERSAQAAABoBVL7tsLBwKJSV0/AdwFnckBO8BXINE3eOSwAAAAAUQUNDRVBUQUJMRV9BU1NFVF9JRFMJAARMAAAAAgEAAAAgZswdb2G1EAD6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AAAAAWAAAAAAAAAAAXAAAAAAAAAAAYAAAAAAAAAAAZAAAAAAAAAAAaAAAAAAAAAAAbAAAAAAAAAAAcAAAAAAAAAAAdAAAAAAAAAAAeAAAAAAAAAAAfAAAAAAAAAAAgAAAAAAAAAAAhAAAAAAAAAAAiAAAAAAAAAAAjAAAAAAAAAAAkAAAAAAAAAAAlAAAAAAAAAAAmAAAAAAAAAAAnAAAAAAAAAAAoAAAAAAAAAAApAAAAAAAAAAAqAAAAAAAAAAArAAAAAAAAAAAsAAAAAAAAAAAtAAAAAAAAAAAuAAAAAAAAAAAvAAAAAAAAAAAwAAAAAAAAAAAxAAAAAAAAAAAyAAAAAAAAAAAzAAAAAAAAAAA0AAAAAAAAAAA1AAAAAAAAAAA2AAAAAAAAAAA3AAAAAAAAAAA4AAAAAAAAAAA5AAAAAAAAAAA6AAAAAAAAAAA7AAAAAAAAAAA8AAAAAAAAAAA9AAAAAAAAAAA+AAAAAAAAAAA/AAAAAAAAAABAAAAAAAAAAABBAAAAAAAAAABCAAAAAAAAAABDAAAAAAAAAABEAAAAAAAAAABFAAAAAAAAAABGAAAAAAAAAABHAAAAAAAAAABIAAAAAAAAAABJAAAAAAAAAABKAAAAAAAAAABLAAAAAAAAAABMAAAAAAAAAABNAAAAAAAAAABOAAAAAAAAAABPAAAAAAAAAABQAAAAAAAAAABRAAAAAAAAAABSAAAAAAAAAABTAAAAAAAAAABUAAAAAAAAAABVAAAAAAAAAABWAAAAAAAAAABXAAAAAAAAAABYAAAAAAAAAABZAAAAAAAAAABaAAAAAAAAAABbAAAAAAAAAABcAAAAAAAAAABdAAAAAAAAAABeAAAAAAAAAABfAAAAAAAAAABgAAAAAAAAAABhAAAAAAAAAABiAAAAAAAAAABjAAAAAAAAAABkAAAAAItLr54=", "height": 2086139, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let TOKEN_NAME = "$MINI"
5+
6+let TOKEN_ID = base58'Hoq2ET7XtRvSvegmZoczpMip76ZDvd3v1VZmxJSxk5dg'
7+
8+let DECIMAL_POINTS_IN_TOKEN = 100000000
9+
10+let DECIMAL_POINTS_IN_USDN = 1000000
11+
12+let TOTAL_TOKEN_AMOUNT = (100000000 * DECIMAL_POINTS_IN_TOKEN)
13+
14+let USDN_ID = base58'AUddX5CKUwoa6G414ERDiV1kbUQzz8A7fCVuLhwVW7cD'
15+
16+let USDN_ID_STR = "USDN_ASSET"
17+
18+let SWAP_AGGREGATOR_ADDR = base58'3N7KcuNZ2Pe7hakkyJhJqg63fTZdxPnSX4n'
19+
20+let ACCEPTABLE_ASSET_IDS = [base58'7vH77tRJYQa777M6yMjtsp3asjb5ioXZfaZrMfUYR8qq', base58'AUddX5CKUwoa6G414ERDiV1kbUQzz8A7fCVuLhwVW7cD', base58'8jNHNMkPUzNuf7ToChnTY5wsbfbSibXgVJKALcLvwShD', base58'ByvttnNRQHA9WbEx5S7rujvHwUXnwpHooLVx5uGzcHaa', base58'2RUZ3XEpEeD5oUn3TVRZT82BomCiUUTvwYVkHX76sXnn', unit]
21+
22+let WVS = 100000000
23+
24+let DENOMINATOR = 1000
25+
26+let PRESALE_UNIT_PRICE_USDN = fraction(DECIMAL_POINTS_IN_USDN, 100, DENOMINATOR)
27+
28+let PRESALE_TOKEN_PERCENTAGE = 45
29+
30+let PROMO_PERCENTAGE = 50
31+
32+let IDO_PERCENTAGE = 5
33+
34+let REWARDS_PERCENTAGE_BATTLE = 600
35+
36+let REWARDS_PERCENTAGE_TOURNAMENT = 300
37+
38+let PRIVATE_SALE_PERCENTAGE = 100
39+
40+let REFERREL_PERCENTAGE = 50
41+
42+let PRESALE_ALLOCATED_TOKEN_AMOUNT = fraction(PRESALE_TOKEN_PERCENTAGE, TOTAL_TOKEN_AMOUNT, DENOMINATOR)
43+
44+let PRIVATE_SALE_ALLOCATED_TOKEN_AMOUNT = fraction(fraction(TOTAL_TOKEN_AMOUNT, PROMO_PERCENTAGE, DENOMINATOR), PRIVATE_SALE_PERCENTAGE, DENOMINATOR)
45+
46+let PROMOFUND_TOKEN_AMOUNT = fraction(TOTAL_TOKEN_AMOUNT, PROMO_PERCENTAGE, DENOMINATOR)
47+
48+let TEAM_AND_PROMO_WALLET = base58'TEAMWALLET'
49+
50+let IDO_WALLET = base58'DEXWALLET'
51+
52+let BATTLE_REWARDS_WALLET = base58'BATTLEWALLET'
53+
54+let TOURNAMENTS_REWARDS_WALLET = base58'TWALLET'
55+
56+let PRESALE_VALID_DATES = (1440 * 15)
57+
58+let PRESALE_VESTING_PERIOD_1 = ((1440 * 30) * 1)
59+
60+let PRESALE_VESTING_PERIOD_2 = ((1440 * 30) * 2)
61+
62+let PRESALE_VESTING_PERIOD_3 = ((1440 * 30) * 3)
63+
64+let PRESALE_VESTING_PERIOD_4 = ((1440 * 30) * 4)
65+
66+let PRESALE_VESTING_PERIOD_5 = ((1440 * 30) * 5)
67+
68+let PRESALE_VESTING_PERIOD_6 = ((1440 * 30) * 6)
69+
70+let PRESALE_VESTING_PERCENTAGE_1 = 50
71+
72+let PRESALE_VESTING_PERCENTAGE_2 = 100
73+
74+let PRESALE_VESTING_PERCENTAGE_3 = 200
75+
76+let PRESALE_VESTING_PERCENTAGE_4 = 500
77+
78+let PRESALE_VESTING_PERCENTAGE_5 = 600
79+
80+let PRESALE_VESTING_PERCENTAGE_6 = 1000
81+
82+let SALES_STATUS_PRESALE = "SALES_STATUS_PRESALE"
83+
84+let SALES_STATUS_PRIVATESALE = "SALES_STATUS_PRIVATESALE"
85+
86+let SALES_STATUS_DISABLED = "SALES_STATUS_DISABLED"
87+
88+let SALES_STATUS_PRESALE_EXPIRED = "SALES_STATUS_PRESALE_EXPIRED"
89+
90+let salesStatusKey = "salesStatus"
91+
92+let presaleAssetsLockedKey = "_presaleAssetsLocked_"
93+
94+let presaleAssetsClaimedKey = "_presaleAssetsClaimed_"
95+
96+let tokenPresaleKey = "_tokenPresale_"
97+
98+let remainingPresaleTokenAmountKey = "remainingPresaleTokenAmount"
99+
100+let presaleAddressesKey = "_presaleAddresses_"
101+
102+let presaleStartedTimeKey = "presaleStartedTime"
103+
104+let presaleEndedTimeKey = "presaleEndedTime"
105+
106+let presaleClaimedPhaseKey = "_presaleClaimedPhase_"
107+
108+let isGameLaunchedKey = "is_game_launched"
109+
110+let gameLaunchedTimeKey = "gameLaunchedTime"
111+
112+let remainingPrivateSaleTokenAmountKey = "remainingPrivateSaleTokenAmount"
113+
114+let whiteListKey = "_whiteList_"
115+
116+let referralIdKey = "_referralId_"
117+
118+let referrelAddressKey = "_referrelAddress_"
119+
120+let referrelAmountKey = "_referrelAmount_"
121+
122+let assetsLockedKey = "_assetsLocked_"
123+
124+let salesStageKey = "_salesStageKey_"
125+
126+let idoReleasedKey = "idoReleased"
127+
128+let isBattleRewardsAllocatedKey = "isBattleRewardsAllocated"
129+
130+let battleRewardsKey = "_battleRewards_"
131+
132+let isTournamentRewardsAllocatedKey = "isTournamentRewardsAllocated"
133+
134+let tournamentRewardsKey = "_tournamentRewards_"
135+
136+let promoFundKey = "promoFund"
137+
138+func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
139+
140+
141+func getStringByKey (key) = valueOrElse(getString(this, key), "")
142+
143+
144+func getBoolByKey (key) = valueOrElse(getBoolean(this, key), false)
145+
146+
147+func getNumberByAddressAndKey (address,key) = valueOrElse(getInteger(addressFromStringValue(address), key), 0)
148+
149+
150+func getStringByAddressAndKey (address,key) = valueOrElse(getString(addressFromStringValue(address), key), "")
151+
152+
153+func getBoolByAddressAndKey (address,key) = valueOrElse(getBoolean(addressFromStringValue(address), key), false)
154+
155+
156+func getsaleStatus () = valueOrElse(getString(this, salesStatusKey), SALES_STATUS_DISABLED)
157+
158+
159+func getTokensBoughtFromPresale (addr) = getNumberByKey((addr + tokenPresaleKey))
160+
161+
162+func getRemainingPresaleTokenAmount () = valueOrElse(getInteger(this, remainingPresaleTokenAmountKey), fraction(PRESALE_TOKEN_PERCENTAGE, TOTAL_TOKEN_AMOUNT, DENOMINATOR))
163+
164+
165+func getWhiteListedOrNot (addr) = valueOrElse(getBoolean(this, (addr + whiteListKey)), false)
166+
167+
168+func getPresaleStartedTime () = valueOrElse(getInteger(this, presaleStartedTimeKey), lastBlock.height)
169+
170+
171+func getRemainingPrivateSaleTokenAmount () = valueOrElse(getInteger(this, remainingPrivateSaleTokenAmountKey), PRIVATE_SALE_ALLOCATED_TOKEN_AMOUNT)
172+
173+
174+func getGameLaunchedTime () = valueOrElse(getInteger(this, gameLaunchedTimeKey), 0)
175+
176+
177+func getGameLaunchedStatus () = valueOrElse(getBoolean(this, isGameLaunchedKey), false)
178+
179+
180+func isBattleRewardsAllocated () = valueOrElse(getBoolean(this, isBattleRewardsAllocatedKey), false)
181+
182+
183+func isTournamentRewardsAllocated () = valueOrElse(getBoolean(this, isTournamentRewardsAllocatedKey), false)
184+
185+
186+func getCurrentTokenAmountLockedBoughtFromPreSale (addr) = getNumberByKey((addr + presaleAssetsLockedKey))
187+
188+
189+func getRandomHash (i) = {
190+ let rand = ((((i.transactionId + i.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
191+ sha256(rand)
192+ }
193+
194+
195+func getReferrelIdByAddress (address,i) = valueOrElse(getString(this, (address + referralIdKey)), toBase58String(getRandomHash(i)))
196+
197+
198+func getAddressByRefferalId (refferelId) = valueOrElse(getString(this, (refferelId + referrelAddressKey)), "")
199+
200+
201+func getPresaleClaimedPhase (address) = valueOrElse(getInteger(this, (address + presaleClaimedPhaseKey)), 0)
202+
203+
204+func getClaimedAssetAmountFromPresale (address) = valueOrElse(getInteger(this, (address + presaleAssetsClaimedKey)), 0)
205+
206+
207+func getRemainingPromoFund () = valueOrElse(getInteger(this, promoFundKey), PROMOFUND_TOKEN_AMOUNT)
208+
209+
210+func getRefAmount (address) = valueOrElse(getInteger(this, (address + referrelAmountKey)), 0)
211+
212+
213+func getBattleRewards () = valueOrElse(getInteger(this, battleRewardsKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_BATTLE, DENOMINATOR))
214+
215+
216+func getTournamentRewards () = valueOrElse(getInteger(this, tournamentRewardsKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_TOURNAMENT, DENOMINATOR))
217+
218+
219+func getPresaleEndedTime () = valueOrElse(getInteger(this, presaleEndedTimeKey), lastBlock.height)
220+
221+
222+func storeTransaction (i,callerAddress,refferee,tokens) = {
223+ let referrelIdGenerated = getReferrelIdByAddress(callerAddress, i)
224+ if ((refferee == ""))
225+ then [IntegerEntry((callerAddress + tokenPresaleKey), (tokens + getTokensBoughtFromPresale(callerAddress))), IntegerEntry((callerAddress + presaleAssetsLockedKey), (tokens + getCurrentTokenAmountLockedBoughtFromPreSale(callerAddress))), StringEntry((callerAddress + presaleAddressesKey), callerAddress), StringEntry((callerAddress + referralIdKey), referrelIdGenerated), StringEntry((referrelIdGenerated + referrelAddressKey), callerAddress)]
226+ else {
227+ let refAmount = fraction(tokens, 50, DENOMINATOR)
228+[IntegerEntry((callerAddress + tokenPresaleKey), (tokens + getTokensBoughtFromPresale(callerAddress))), IntegerEntry((callerAddress + presaleAssetsLockedKey), (tokens + getCurrentTokenAmountLockedBoughtFromPreSale(callerAddress))), StringEntry((callerAddress + presaleAddressesKey), callerAddress), StringEntry((callerAddress + referralIdKey), referrelIdGenerated), StringEntry((referrelIdGenerated + referrelAddressKey), callerAddress), IntegerEntry((refferee + referrelAmountKey), (getRefAmount(refferee) + refAmount)), IntegerEntry(promoFundKey, (getRemainingPromoFund() - refAmount)), IntegerEntry((refferee + tokenPresaleKey), (refAmount + getTokensBoughtFromPresale(refferee))), IntegerEntry((refferee + presaleAssetsLockedKey), (refAmount + getCurrentTokenAmountLockedBoughtFromPreSale(refferee)))]
229+ }
230+ }
231+
232+
233+func checkTransactions (i,callerAddress,refferalId,routesStr) = {
234+ let pmt = value(i.payments[0])
235+ let refferee = getAddressByRefferalId(refferalId)
236+ if ((pmt.assetId == USDN_ID))
237+ then {
238+ let releasedUSDNAmount = pmt.amount
239+ let tokens = fraction(releasedUSDNAmount, DECIMAL_POINTS_IN_TOKEN, PRESALE_UNIT_PRICE_USDN)
240+ if ((getsaleStatus() == SALES_STATUS_PRIVATESALE))
241+ then if (if (((5000 * DECIMAL_POINTS_IN_TOKEN) > tokens))
242+ then true
243+ else (tokens > getRemainingPrivateSaleTokenAmount()))
244+ then throw("Insufficient Token Amount")
245+ else {
246+ let finalTx = storeTransaction(i, callerAddress, refferee, tokens)
247+ (finalTx ++ [IntegerEntry(remainingPrivateSaleTokenAmountKey, (getRemainingPrivateSaleTokenAmount() - tokens))])
248+ }
249+ else {
250+ let finalTx = storeTransaction(i, callerAddress, refferee, tokens)
251+ (finalTx ++ [IntegerEntry(remainingPresaleTokenAmountKey, (getRemainingPresaleTokenAmount() - tokens))])
252+ }
253+ }
254+ else {
255+ let test = 0
256+ let assetBalanceBeforeSwap = assetBalance(this, USDN_ID)
257+ if ((assetBalanceBeforeSwap == assetBalanceBeforeSwap))
258+ then {
259+ let swap = invoke(Address(SWAP_AGGREGATOR_ADDR), "swap", [routesStr, 0], [AttachedPayment(pmt.assetId, pmt.amount)])
260+ if ((swap == swap))
261+ then {
262+ let assetBalanceAfterSwap = assetBalance(this, USDN_ID)
263+ if ((assetBalanceAfterSwap == assetBalanceAfterSwap))
264+ then {
265+ let releasedUSDNAmount = (assetBalanceAfterSwap - assetBalanceBeforeSwap)
266+ let tokens = fraction(releasedUSDNAmount, DECIMAL_POINTS_IN_TOKEN, PRESALE_UNIT_PRICE_USDN)
267+ if ((getsaleStatus() == SALES_STATUS_PRIVATESALE))
268+ then if (if (((5000 * DECIMAL_POINTS_IN_TOKEN) > tokens))
269+ then true
270+ else (tokens > getRemainingPrivateSaleTokenAmount()))
271+ then throw("Insufficient Token Amount")
272+ else {
273+ let finalTx = storeTransaction(i, callerAddress, refferee, tokens)
274+ (finalTx ++ [IntegerEntry(remainingPrivateSaleTokenAmountKey, (getRemainingPrivateSaleTokenAmount() - tokens))])
275+ }
276+ else {
277+ let finalTx = storeTransaction(i, callerAddress, refferee, tokens)
278+ (finalTx ++ [IntegerEntry(remainingPresaleTokenAmountKey, (getRemainingPresaleTokenAmount() - tokens))])
279+ }
280+ }
281+ else throw("Strict value is not equal to itself.")
282+ }
283+ else throw("Strict value is not equal to itself.")
284+ }
285+ else throw("Strict value is not equal to itself.")
286+ }
287+ }
288+
289+
290+func claim (callerAddress,vestingPercentage,claimPhase) = {
291+ let totalTokenBalanceOwned = getTokensBoughtFromPresale(callerAddress)
292+ let presaleClaimedAssetAmount = getClaimedAssetAmountFromPresale(callerAddress)
293+[IntegerEntry((callerAddress + presaleClaimedPhaseKey), claimPhase), IntegerEntry((callerAddress + presaleAssetsLockedKey), (totalTokenBalanceOwned - fraction(totalTokenBalanceOwned, vestingPercentage, DENOMINATOR))), IntegerEntry((callerAddress + presaleAssetsClaimedKey), fraction(totalTokenBalanceOwned, vestingPercentage, DENOMINATOR)), ScriptTransfer(value(addressFromString(callerAddress)), (fraction(totalTokenBalanceOwned, vestingPercentage, DENOMINATOR) - presaleClaimedAssetAmount), TOKEN_ID)]
294+ }
295+
296+
297+@Callable(i)
298+func buyTokensFromPresale (buyAmount,routesStr,refferelId) = {
299+ let caller = toBase58String(i.caller.bytes)
300+ let pmt = value(i.payments[0])
301+ let saleStatus = getsaleStatus()
302+ if ((saleStatus == SALES_STATUS_DISABLED))
303+ then throw("Presale Not Started Yet or Stopped")
304+ else if (!(containsElement(ACCEPTABLE_ASSET_IDS, i.payments[0].assetId)))
305+ then throw("Given payment asset not supported")
306+ else if ((saleStatus == SALES_STATUS_PRESALE))
307+ then if ((lastBlock.height > (getPresaleStartedTime() + PRESALE_VALID_DATES)))
308+ then [StringEntry(salesStatusKey, SALES_STATUS_PRESALE_EXPIRED), IntegerEntry(presaleEndedTimeKey, getPresaleEndedTime()), throw("Presale Expired")]
309+ else if ((buyAmount > getRemainingPresaleTokenAmount()))
310+ then throw("Exceeded Remaining Token Amount Dedicated for Presale")
311+ else {
312+ let exec = checkTransactions(i, caller, refferelId, routesStr)
313+ (exec ++ nil)
314+ }
315+ else if ((saleStatus == SALES_STATUS_PRIVATESALE))
316+ then if (getWhiteListedOrNot(caller))
317+ then {
318+ let exec = checkTransactions(i, caller, refferelId, routesStr)
319+ (exec ++ nil)
320+ }
321+ else {
322+ let refferee = getAddressByRefferalId(refferelId)
323+ if (getWhiteListedOrNot(refferee))
324+ then throw("Please wait for start of the presale")
325+ else throw("You are not in whitelist")
326+ }
327+ else throw("You cannot buy at this moment")
328+ }
329+
330+
331+
332+@Callable(i)
333+func unlockTokens () = {
334+ let caller = toBase58String(i.caller.bytes)
335+ let totalTokenBalanceOwned = getTokensBoughtFromPresale(caller)
336+ let claimedPhase = getPresaleClaimedPhase(caller)
337+ if ((totalTokenBalanceOwned == 0))
338+ then throw("You havent enough tokens to claim")
339+ else {
340+ let currentTime = lastBlock.height
341+ let gameLaunchedTime = getGameLaunchedTime()
342+ if (!(getGameLaunchedStatus()))
343+ then throw("You cant claim until game launch")
344+ else if (if ((currentTime >= gameLaunchedTime))
345+ then ((gameLaunchedTime + PRESALE_VESTING_PERIOD_1) > currentTime)
346+ else false)
347+ then if ((claimedPhase != 1))
348+ then claim(caller, PRESALE_VESTING_PERCENTAGE_1, 1)
349+ else throw("Already claimed")
350+ else if (if ((currentTime >= (gameLaunchedTime + PRESALE_VESTING_PERIOD_1)))
351+ then ((gameLaunchedTime + PRESALE_VESTING_PERIOD_2) > currentTime)
352+ else false)
353+ then if ((claimedPhase != 2))
354+ then claim(caller, PRESALE_VESTING_PERCENTAGE_2, 2)
355+ else throw("Already claimed")
356+ else if (if ((currentTime >= (gameLaunchedTime + PRESALE_VESTING_PERIOD_2)))
357+ then ((gameLaunchedTime + PRESALE_VESTING_PERIOD_3) > currentTime)
358+ else false)
359+ then if ((claimedPhase != 3))
360+ then claim(caller, PRESALE_VESTING_PERCENTAGE_3, 3)
361+ else throw("Already claimed")
362+ else throw("Already claimed")
363+ }
364+ }
365+
366+
367+
368+@Callable(i)
369+func launchPresale () = if ((i.caller.bytes != this.bytes))
370+ then throw("Only Owner Can start the Presale")
371+ else [StringEntry(salesStatusKey, SALES_STATUS_PRESALE), IntegerEntry(presaleStartedTimeKey, getPresaleStartedTime())]
372+
373+
374+
375+@Callable(i)
376+func launchPrivatesale () = if ((i.caller.bytes != this.bytes))
377+ then throw("Only Owner Can start the Presale")
378+ else [StringEntry(salesStatusKey, SALES_STATUS_PRIVATESALE)]
379+
380+
381+
382+@Callable(i)
383+func disableSales () = if ((i.caller.bytes != this.bytes))
384+ then throw("Only Owner Can start the Presale")
385+ else [StringEntry(salesStatusKey, SALES_STATUS_DISABLED)]
386+
387+
388+
389+@Callable(i)
390+func add5ToWhiteList (addr) = if ((i.caller.bytes != this.bytes))
391+ then throw("Only Owner Can Add Members to the WhiteList")
392+ else {
393+ func map (accum,next) = BooleanEntry((next + whiteListKey), true) :: accum
394+
395+ let $l = addr
396+ let $s = size($l)
397+ let $acc0 = nil
398+ func $f0_1 ($a,$i) = if (($i >= $s))
399+ then $a
400+ else map($a, $l[$i])
401+
402+ func $f0_2 ($a,$i) = if (($i >= $s))
403+ then $a
404+ else throw("List size exceeds 5")
405+
406+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
407+ }
408+
409+
410+
411+@Callable(i)
412+func launchGame () = if ((i.caller.bytes != this.bytes))
413+ then throw("Only Owner Change the Game Launch Status")
414+ else if (getGameLaunchedStatus())
415+ then throw("Game Already Launched")
416+ else [BooleanEntry(isGameLaunchedKey, true), IntegerEntry(gameLaunchedTimeKey, lastBlock.height)]
417+
418+
419+
420+@Callable(i)
421+func allocateBattleRewards () = if ((i.caller.bytes != this.bytes))
422+ then throw("Only Owner has Permission")
423+ else if (isBattleRewardsAllocated())
424+ then throw("Battle Rewards Already Allocated")
425+ else if (!(getGameLaunchedStatus()))
426+ then throw("Cannot claim until the game launch")
427+ else [IntegerEntry((toBase58String(BATTLE_REWARDS_WALLET) + assetsLockedKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_BATTLE, DENOMINATOR)), BooleanEntry(isBattleRewardsAllocatedKey, true), IntegerEntry((toBase58String(BATTLE_REWARDS_WALLET) + battleRewardsKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_BATTLE, DENOMINATOR)), ScriptTransfer(Address(BATTLE_REWARDS_WALLET), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_BATTLE, DENOMINATOR), TOKEN_ID)]
428+
429+
430+
431+@Callable(i)
432+func allocateTournamentRewards () = if ((i.caller.bytes != this.bytes))
433+ then throw("Only Owner has Permission")
434+ else if (isTournamentRewardsAllocated())
435+ then throw("Tournament Rewards Already Allocated")
436+ else if (!(getGameLaunchedStatus()))
437+ then throw("Cannot claim until the game launch")
438+ else [IntegerEntry((toBase58String(TOURNAMENTS_REWARDS_WALLET) + assetsLockedKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_TOURNAMENT, DENOMINATOR)), BooleanEntry(isTournamentRewardsAllocatedKey, true), IntegerEntry((toBase58String(TOURNAMENTS_REWARDS_WALLET) + tournamentRewardsKey), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_TOURNAMENT, DENOMINATOR)), ScriptTransfer(Address(TOURNAMENTS_REWARDS_WALLET), fraction(TOTAL_TOKEN_AMOUNT, REWARDS_PERCENTAGE_TOURNAMENT, DENOMINATOR), TOKEN_ID)]
439+
440+
441+
442+@Callable(i)
443+func deleteBy100Keys (keysToDelete) = if ((toString(i.caller) != toString(this)))
444+ then throw("Permission denied")
445+ else {
446+ func map (accum,next) = DeleteEntry(next) :: accum
447+
448+ let $l = keysToDelete
449+ let $s = size($l)
450+ let $acc0 = nil
451+ func $f0_1 ($a,$i) = if (($i >= $s))
452+ then $a
453+ else map($a, $l[$i])
454+
455+ func $f0_2 ($a,$i) = if (($i >= $s))
456+ then $a
457+ else throw("List size exceeds 100")
458+
459+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
460+ }
461+
462+

github/deemru/w8io/169f3d6 
30.06 ms