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

feat(example): basic implementation of ERC20 #228

Merged
merged 22 commits into from
Nov 6, 2024
Merged

feat(example): basic implementation of ERC20 #228

merged 22 commits into from
Nov 6, 2024

Conversation

clearloop
Copy link
Member

@clearloop clearloop commented Sep 11, 2024

A basic ERC20 implementation

Tasks

  • function
    • dynamic arguments
  • storage
    • write storage in constructor
    • read storage
    • read / write dynamic{bytes, string}
    • mapping implementation
  • fix reading static variables
  • transfer / allowance / approval
  • deriving and exposing functions from trait (ERC20) Inherit contract methods from traits #259

Contract

  • read
    • name
    • symbol
    • decimals
    • totalSupply
    • balanceOf
    • allowance
  • write
    • transfer
    • approve
    • transferFrom
    • internal
      • _transfer
      • _update
      • _mint
      • _burn
      • _approve
      • _spendAllowance

@clearloop clearloop changed the title feat(example): demo of erc20 feat(example): basic implementation of ERC20 Nov 6, 2024
@clearloop clearloop merged commit a217af6 into main Nov 6, 2024
4 checks passed
@clearloop clearloop deleted the cl/erc20 branch November 6, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant