Skip to content

Add MintNativeToken and BurnNativeToken calls #332

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

Closed
wants to merge 2 commits into from
Closed
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
12 changes: 12 additions & 0 deletions src/precompiles/ArbOwner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,18 @@ interface ArbOwner {
string calldata chainConfig
) external;

/**
* @notice Mints some amount of the native gas token for this chain to the
* given address.
*/
function mintNativeToken(address to, uint256 amount) external;

/**
* @notice Burns some amount of the native gas token for this chain from the
* given address.
*/
function burnNativeToken(address from, uint256 amount) external;

/**
* @notice Sets the increased calldata price feature on or off (EIP-7623)
* Available in ArbOS version 40 with default as false
Expand Down