Skip to content
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

Feedback #1

Open
wants to merge 3 commits into
base: feedback
Choose a base branch
from
Open
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: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/H-krrxK5)
[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-2e0aaae1b6195c2367325f4f02e2d04e9abb55f0b24a779b69b11b9e10269abc.svg)](https://classroom.github.com/online_ide?assignment_repo_id=18754139&assignment_repo_type=AssignmentRepo)
# Assignment 7: ERC20 Token Contract

## Objective
Expand Down
5 changes: 3 additions & 2 deletions src/Assignment7.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Assignment7 is ERC20 {
// Constructor to initialize the token
// Fill in the parameters for the token name and symbol
constructor() ERC20() {}
constructor() ERC20("MixToken", "MIX") {}

// Function to mint tokens
// Fill in the visibility modifier to be external
// Set params as to address and amount
function mint() {
function mint(address to, uint256 amount) external {
// Fill in the logic
// call _mint function with to and amount params
_mint(to, amount);
}
}
Loading