Skip to content

Commit

Permalink
feat(mint-erc20): add abi interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fborello-lambda committed Aug 20, 2024
1 parent 68a63c9 commit 8ffbec9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/contracts/erc20.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
use ethers_contract::abigen;

abigen!(ERC20, "abi/IERC20.json");

abigen!(
MINT_IERC20,
"[function mint(address _to, uint256 _amount) public returns (bool)]"
);

0 comments on commit 8ffbec9

Please sign in to comment.