-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put EVM writer interface into a file
- Loading branch information
Mike-CZ
committed
Oct 24, 2024
1 parent
00f6554
commit 152d0b3
Showing
3 changed files
with
19 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.9; | ||
|
||
interface IEvmWriter { | ||
function setBalance(address acc, uint256 value) external; | ||
|
||
function copyCode(address acc, address from) external; | ||
|
||
function swapCode(address acc, address where) external; | ||
|
||
function setStorage(address acc, bytes32 key, bytes32 value) external; | ||
|
||
function incNonce(address acc, uint256 diff) external; | ||
} |
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