-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCIP-4130 CCIP-Compatible Generic BurnMintERC20 (#15123)
* make generic BurnMintERC20 that's ccip-compatible * formatting * changeset, compiler version set to 8.19 for conformity, and new gethwrapper * [Bot] Update changeset file with jira issues * adjust compiler version * replace ERC677 with ERC20 in tests that don't need it. * move burnMintERC20 to access control not ownership * forge fmt * undo accidental changes to go file in merge * fix compiler errors * Update gethwrappers * formatting * remove more references to ERC677 * fix snapshot broken in merge * remove automatic mint and burn role granting in BurnMintERC20 constructor * Update gethwrappers * optimize contract and change function names for new naming convention * snapshot fix * pnpm prettier formatting * Update gethwrappers * optimize transfer and approve function by removing unnec. error check that only applied to 677 * Update gethwrappers * remove unused import and better interface imports * snapshot fix * remove failing coverage test * add missing single quote in github action * lets try this one more time * remove IR minimum compilation detail * gas snapshot fix attempt * Revert "optimize transfer and approve function by removing unnec. error check that only applied to 677" This reverts commit dce25c7. * fix naming of tests * Update gethwrappers * fix min pragma * add important natspec comment * snapshot fix * another snapshot fix attempt --------- Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com> Co-authored-by: Rens Rooimans <[email protected]>
- Loading branch information
1 parent
29eb755
commit 72da397
Showing
44 changed files
with
2,438 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@chainlink/contracts': minor | ||
--- | ||
|
||
Add a new contract, BurnMintERC20, which is basically just our ERC677 implementation without the transferAndCall function. #internal | ||
|
||
|
||
PR issue: CCIP-4130 | ||
|
||
Solidity Review issue: CCIP-3966 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.