Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
todo approvals?
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Oct 2, 2023
1 parent d2cebde commit c7d861c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# allow huff to be detected
*.huff linguist-language=Solidity
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $$
p = \mathtt{0xffffffffffffffffffffffffffffffffffffffd1}
$$

Notice the final hexadecimals, which is where the name of the project comes from. The degree of the polynomial is equal to total supply - 1, so for $n$ tokens we have a polynomial $P$:
Notice the final hexadecimals, which is where the name of the project comes from. The degree of the polynomial is equal to total supply minus one, so for $n$ tokens we have a polynomial $P$:

$$
P \in \mathbb{F}_\mathtt{0xffffffffffffffffffffffffffffffffffffffd1}^{n-1}[X]
Expand Down
5 changes: 5 additions & 0 deletions src/Huffd1.huff
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
#define function balanceOf(address) view returns (uint256)
#define function transfer(address, uint256) nonpayable returns ()

// TODOS:
// #define function transferFrom(address,address,uint256) nonpayable returns ()
// #define function approve(address,uint256) nonpayable returns ()
// #define function getApproved(uint256) view returns (address)

///////////////////////////////////////////////////////////////////////////////
//// STORAGE ////
///////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit c7d861c

Please sign in to comment.