https://t.co/ebNIXvVdsv
@cz_binance@heyibinance@0xjiujiu99
开源代码在
https://t.co/ziWwwydS92
写了半天,代码写完了,以上是代码原理的简介和讲解
感兴趣的项目方拿去发,注意风险,目前代码未审计
大概机制
1.ido
项目方指定ido的bnb数量,
并发射
当募集到指定数额的bnb之后流程如下
5%的token和50%募集到的BNB加到pancakeswap里面,lptoken永久锁死在合约里面
50%募集到的BNB打给项目方,剩下解锁的5%的token打给参加ido的用户
2.解锁机制
a.要求上一次领取之后的180天
b.价格必须是上一次领取的两倍
(更优的方案是用TWAP收集这个token的加权时间价格,主要是比较麻烦,现在想睡觉)
满足ab可以解锁,若不满足,便等于一直锁在合约里面
btw,顺便抽5000个 $tst ,明天直播抽
要求粉丝里面有我的关注一个就够呀
然后关注+转发
后面打算做一些web3教育类型,希望大家多多捧场啊啊啊啊
🙏🙏🙏
阿里嘎多!!!!!!
The open-source code is available at:
https://t.co/ziWwwydS92
Spent half a day writing—now it's done! Above is an introduction and explanation of the code logic.
Project teams interested in using it, feel free to deploy, but be aware of the risks!
The code is currently unaudited.
Mechanism Overview
1. IDO
The project team sets a target amount of BNB for the IDO and issues.
Once the target amount of BNB is raised, the following steps occur:5% of the tokens and 50% of the raised BNB are added to PancakeSwap as liquidity, with LP tokens permanently locked in the contract.
50% of the raised BNB is sent to the project team, while the unlocked 5% of tokens are distributed to IDO participants.
2. Unlocking Mechanism
(a) A minimum of 180 days must have passed since the last claim.
(b) The price must be at least twice the price at the last claim.
(A more optimal approach would be to use TWAP for time-weighted price tracking, but it’s a hassle… and I need sleep now 😴).
If both conditions (a) and (b) are met, tokens can be unlocked. Otherwise, they remain locked in the contract indefinitely.
Giveaway 🎉
Giving away 5,000 $TST in tomorrow’s live stream!
Requirements:
Follow me (at least one of your followers must be following me)
Like + Retweet
Future Plans
Planning to create some Web3 educational content, so stay tuned and show some support! 🙏🙏🙏
Arigato!!!!
I applied for the white list of vagaa NFT. There is not much left. The white list application will be closed soon. Please apply as soon as possible I applied for the white list of vagaa NFT. There is not much left. The white list via @PREMINT_NFT https://t.co/yZEbXAQQG4