Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Apr 9, 2024
1 parent 985115f commit ec33548
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions contracts/src/ERC20Lib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ library ERC20Lib {
bytes32 domainSeparator;
}

bytes32 internal constant SLOT = keccak256("org.snowbridge.storage.assets.foreign");

function layout() internal pure returns (TokenStorage storage $) {
bytes32 slot = SLOT;
assembly {
$.slot := slot
}
}

function init(TokenStorage storage self, string memory name_) internal {
self.domainSeparator = keccak256(
abi.encode(
Expand Down

0 comments on commit ec33548

Please sign in to comment.