Skip to content

Commit

Permalink
Update ERC-7751: Relicense code snippet
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
gretzke authored Nov 4, 2024
1 parent c64bce3 commit 5e76057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7751.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ This ERC does not introduce any backwards incompatibilities. Existing contracts
## Test Cases

```solidity
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: CC0-1.0
pragma solidity 0.8.26;
contract Token {
mapping(address => uint256) public balanceOf;
event Transfer(address indexed sender, address indexed recipient, uint amount);
event Transfer(address indexed sender, address indexed recipient, uint amount);
function transfer(address to, uint256 amount) external returns (bool) {
require(balanceOf[msg.sender] >= amount, "insufficient balance");
Expand Down

0 comments on commit 5e76057

Please sign in to comment.