Skip to content

Instantly share code, notes, and snippets.

@CesarFon
CesarFon / .deps...npm...@openzeppelin...contracts...interfaces...draft-IERC6093.sol
Created December 7, 2025 13:08
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
@CesarFon
CesarFon / Timoneltoken.sol
Created December 7, 2025 11:41
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract TimonelToken is ERC20 {
constructor(uint256 initialSupply)ERC20("Timonel Cripto-Ceremonial", "TIMONEL") {
_mint(msg.sender, initialSupply * 10 ** uint256(18));
}
}