-
Notifications
You must be signed in to change notification settings - Fork 56
initialize launchpadv2 contracts, test cases and deploy scripts #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | ||
import "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol"; | ||
|
||
import "./FFactoryV2.sol"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to use interfaces
} | ||
|
||
struct Data { | ||
address token; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
string description; | ||
uint8[] cores; | ||
string image; | ||
string twitter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
|
||
uint256 liquidity = (((((K * 10000) / assetRate) * 10000 ether) / | ||
bondingCurveSupply) * 1 ether) / 10000; | ||
uint256 price = bondingCurveSupply / liquidity; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
…lBoughtAgentTokens sent to teamReserveWallet
…to extra vaults, reset the tokenInfo.virtualId
…OLE and add test cases
…leted before graduation
No description provided.