Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/SEQICO.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract SEQICO is Ownable {
uint256 _pricePerTokenETH,
uint256 _pricePerTokenUSDT,
uint256 _pricePerTokenUSDC
) {
) Ownable(msg.sender) {
seqToken = IERC20(_seqToken);
usdt = IERC20(_usdt);
usdc = IERC20(_usdc);
Expand Down
5 changes: 1 addition & 4 deletions contracts/SEQToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ contract SEQToken is ERC20, Ownable {
uint256 totalSupply,
address owner,
address icoContract
) ERC20("SEQ Token", "SEQ") {
) ERC20("SEQ Token", "SEQ") Ownable(owner) {
// Mint 10% to owner, 90% to ICO contract
uint256 ownerAmount = (totalSupply * 10) / 100;
uint256 icoAmount = totalSupply - ownerAmount;

_mint(owner, ownerAmount);
_mint(icoContract, icoAmount);

// Transfer ownership to the specified owner
_transferOwnership(owner);
}
}
Loading
Loading