This file contains hidden or 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
// SPDX-License-Identifier: VPL | |
pragma solidity 0.8.26; | |
contract Token { | |
event Transfer(address indexed from, address indexed to, uint256 amount); | |
event Approval(address indexed from, address indexed to, uint256 amount); | |
event OwnershipTransferred(address indexed from, address indexed to); | |
bytes32 internal immutable name_; | |
bytes32 internal immutable symbol_; |
This file contains hidden or 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
// SPDX-License-Identifier: VPL | |
pragma solidity 0.8.26; | |
contract Token { | |
event Transfer(address indexed from, address indexed to, uint256 amount); | |
event Approval(address indexed from, address indexed to, uint256 amount); | |
event OwnershipTransferred(address indexed from, address indexed to); | |
bytes32 internal immutable name_; | |
bytes32 internal immutable symbol_; |
This file contains hidden or 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
// SPDX-License-Identifier: VPL | |
pragma solidity 0.8.26; | |
contract Token { | |
event Transfer(address indexed from, address indexed to, uint256 amount); | |
event Approval(address indexed from, address indexed to, uint256 amount); | |
event OwnershipTransferred(address indexed from, address indexed to); | |
bytes32 internal immutable name_; | |
bytes32 internal immutable symbol_; |
This file contains hidden or 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
<!DOCTYPE html><html><head><title>test_simple_APNG</title></head><body><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAMAAADXEh96AAAACGFjVEwAAAAEAAAAAHzNZtAAAAMAUExURQAAACZXtlKtvbLEwtBViA1KKRobGiYoJgQEBq+9tRNNexRzMMje3O20mEGbZrXBug0VKkZMUOGKajWjYKNiLu2gfEUQFwkNDppqLo0nLOaSceaDsKmalU+yaitizF/H2iGQOZGLiP79/Y/HrNpwe//dXqZmMdHg119WUwkmE1EmXarjkDiJvicKDXyHk9h9YqaMZdp3WFU9LBBUkNJNVCUtNLrMyHR0epZ8WuAcGzScXeHy9vTw1cl2Yl9laczAuj65bi7ic3kcHHtiSY0IDsm+trx4ODk6ONPW09djk2a15cDS1d6EZLivr++Lj9qIbgF0jPrk5RIVDkqe2EarWN5pJSjZcih5tU1aY+zmiVW5yiI2cIUfIejIofmoSf7BR0n/lKrGnVxJRClsoDbroxAqJqWu5ZcqLMCkc9Xr6CWGSvreqKQKCRqLw60iHfK3420VFaM7DOWu2IhTm9/rarWENsB1ONNQIGx5hn9jHIwyCklxtWX8jvVYOcZvWhs1IPWriP7leeGwienp6kBDSTI5Qa7R8fyPMy55SoHwy+2buyvCwP6uNeN8gboyOaDatiqRRpqpp3XO+aCxsOrtsibcSgqXkOJ4pqwyNxKthqMpXK51Ob9kTirGibAvM/7iaZXx8JnY4qxYMdDLzOHpe0ONmFUWIPx7J1PszsGXUPbV7qMpLhIhP5qfpVyv9dLXpQf6mYv8ojTvz9qcfOini33jpbFYWQgYCx1zQ6JlVzJDl//DOCU1Kuuvk//TSMat0AoCOjftkMjiqax5WsQ9Q3rGwv7Zc3AcM5ZHNS0xMrr9/8XTy3Pi+umJSctwVos+Lt+GcRwsW |
This file contains hidden or 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
{ | |
"type": "object", | |
"properties": { | |
"block": { | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"number": { |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
interface IMasterChefUserInfo { | |
function userInfo(uint256 pid, address account) external view returns (uint256, uint256); | |
} | |
interface IERC20 { | |
function balanceOf(address account) external view returns (uint256); | |
function totalSupply() external view returns (uint256); |
This file contains hidden or 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
// SPDX-License-Identifier: AGPL-3.0-only | |
pragma solidity 0.8.10; | |
import {ERC721, ERC721TokenReceiver} from "@rari-capital/solmate/src/tokens/ERC721.sol"; | |
contract Enso721 is ERC721, ERC721TokenReceiver { | |
// An ensō 円相 is a circle that is hand-drawn in one or two uninhibited brushstrokes to express a moment when the mind is free to let the body create. | |
// |
This file contains hidden or 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 line is added to create a gist. Empty file is not allowed. |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.10; | |
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
interface IUniswapV2Router { | |
function swapExactTokensForTokensSupportingFeeOnTransferTokens( | |
uint amountIn, |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.10; | |
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
interface IUniswapV2Router { | |
function swapExactTokensForTokens( | |
uint amountIn, | |
uint amountOutMin, |
NewerOlder