ERC-721
Overview
Max Total Supply
8,360 FOY
Holders
1,919
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FOYLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
FieldOfYieldNFT
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {ERC721} from "solmate/tokens/ERC721.sol"; import {Owned} from "solmate/auth/Owned.sol"; contract FieldOfYieldNFT is ERC721, Owned { uint256 public totalSupply; bool public mintingPaused; string private _tokenURI; event MintingStatusChanged(bool paused); error MintingIsPaused(); constructor(string memory initialURI) ERC721("Field of Yield", "FOY") Owned(msg.sender) { _tokenURI = initialURI; } function mint() external { if (mintingPaused) revert MintingIsPaused(); unchecked { _mint(msg.sender, totalSupply++); } } function toggleMinting() external onlyOwner { mintingPaused = !mintingPaused; emit MintingStatusChanged(mintingPaused); } function setTokenURI(string memory newURI) external onlyOwner { _tokenURI = newURI; } function tokenURI(uint256) public view virtual override returns (string memory) { return _tokenURI; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
{ "remappings": [ "ds-test/=lib/solmate/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initialURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MintingIsPaused","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"MintingStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516114d93803806114d983398101604081905261002f91610107565b336040518060400160405280600e81526020016d119a595b19081bd988165a595b1960921b81525060405180604001604052806003815260200162464f5960e81b8152508160009081610082919061025c565b50600161008f828261025c565b5050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060096100ea828261025c565b505061031a565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561011957600080fd5b81516001600160401b0381111561012f57600080fd5b8201601f8101841361014057600080fd5b80516001600160401b03811115610159576101596100f1565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610187576101876100f1565b60405281815282820160200186101561019f57600080fd5b60005b828110156101be576020818501810151838301820152016101a2565b50600091810160200191909152949350505050565b600181811c908216806101e757607f821691505b60208210810361020757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561025757806000526020600020601f840160051c810160208510156102345750805b601f840160051c820191505b818110156102545760008155600101610240565b50505b505050565b81516001600160401b03811115610275576102756100f1565b6102898161028384546101d3565b8461020d565b6020601f8211600181146102bd57600083156102a55750848201515b600019600385901b1c1916600184901b178455610254565b600084815260208120601f198516915b828110156102ed57878501518255602094850194600190920191016102cd565b508482101561030b5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6111b0806103296000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80637d55094d116100ad578063c87b56dd11610071578063c87b56dd14610278578063e0df5b6f1461028b578063e1a283d61461029e578063e985e9c5146102ab578063f2fde38b146102d957600080fd5b80637d55094d1461022f5780638da5cb5b1461023757806395d89b411461024a578063a22cb46514610252578063b88d4fde1461026557600080fd5b806318160ddd116100f457806318160ddd146101cc57806323b872dd146101e357806342842e0e146101f65780636352211e1461020957806370a082311461021c57600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101af5780631249c58b146101c4575b600080fd5b61014461013f366004610ca7565b6102ec565b60405190151581526020015b60405180910390f35b61016161033e565b6040516101509190610ccb565b61019761017c366004610d19565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610150565b6101c26101bd366004610d49565b6103cc565b005b6101c26104b3565b6101d560075481565b604051908152602001610150565b6101c26101f1366004610d73565b6104ee565b6101c2610204366004610d73565b6106b5565b610197610217366004610d19565b6107ad565b6101d561022a366004610db0565b610804565b6101c2610867565b600654610197906001600160a01b031681565b6101616108de565b6101c2610260366004610dcb565b6108eb565b6101c2610273366004610e07565b610957565b610161610286366004610d19565b610a3f565b6101c2610299366004610eba565b610ad3565b6008546101449060ff1681565b6101446102b9366004610f73565b600560209081526000928352604080842090915290825290205460ff1681565b6101c26102e7366004610db0565b610b0d565b60006301ffc9a760e01b6001600160e01b03198316148061031d57506380ac58cd60e01b6001600160e01b03198316145b806103385750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000805461034b90610fa6565b80601f016020809104026020016040519081016040528092919081815260200182805461037790610fa6565b80156103c45780601f10610399576101008083540402835291602001916103c4565b820191906000526020600020905b8154815290600101906020018083116103a757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061041557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104575760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60085460ff16156104d657604051620de45360ea1b815260040160405180910390fd5b60078054600181019091556104ec903390610b83565b565b6000818152600260205260409020546001600160a01b038481169116146105445760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b604482015260640161044e565b6001600160a01b03821661058e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161044e565b336001600160a01b03841614806105c857506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806105e957506000818152600460205260409020546001600160a01b031633145b6106265760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b604482015260640161044e565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106c08383836104ee565b6001600160a01b0382163b15806107695750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190610fe0565b6001600160e01b031916145b6107a85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161044e565b505050565b6000818152600260205260409020546001600160a01b0316806107ff5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161044e565b919050565b60006001600160a01b03821661084b5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161044e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146108915760405162461bcd60e51b815260040161044e90610ffd565b6008805460ff8082161560ff1990921682179092556040519116151581527f41f386d449eec03c1c3b75bbba9c18df70aa19779ff47f68eab4b6a66fb399d49060200160405180910390a1565b6001805461034b90610fa6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109628585856104ee565b6001600160a01b0384163b15806109f95750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906109aa9033908a90899089908990600401611023565b6020604051808303816000875af11580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed9190610fe0565b6001600160e01b031916145b610a385760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161044e565b5050505050565b606060098054610a4e90610fa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a90610fa6565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b50505050509050919050565b6006546001600160a01b03163314610afd5760405162461bcd60e51b815260040161044e90610ffd565b6009610b0982826110bb565b5050565b6006546001600160a01b03163314610b375760405162461bcd60e51b815260040161044e90610ffd565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6001600160a01b038216610bcd5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161044e565b6000818152600260205260409020546001600160a01b031615610c235760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161044e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610ca457600080fd5b50565b600060208284031215610cb957600080fd5b8135610cc481610c8e565b9392505050565b602081526000825180602084015260005b81811015610cf95760208186018101516040868401015201610cdc565b506000604082850101526040601f19601f83011684010191505092915050565b600060208284031215610d2b57600080fd5b5035919050565b80356001600160a01b03811681146107ff57600080fd5b60008060408385031215610d5c57600080fd5b610d6583610d32565b946020939093013593505050565b600080600060608486031215610d8857600080fd5b610d9184610d32565b9250610d9f60208501610d32565b929592945050506040919091013590565b600060208284031215610dc257600080fd5b610cc482610d32565b60008060408385031215610dde57600080fd5b610de783610d32565b915060208301358015158114610dfc57600080fd5b809150509250929050565b600080600080600060808688031215610e1f57600080fd5b610e2886610d32565b9450610e3660208701610d32565b935060408601359250606086013567ffffffffffffffff811115610e5957600080fd5b8601601f81018813610e6a57600080fd5b803567ffffffffffffffff811115610e8157600080fd5b886020828401011115610e9357600080fd5b959894975092955050506020019190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610ecc57600080fd5b813567ffffffffffffffff811115610ee357600080fd5b8201601f81018413610ef457600080fd5b803567ffffffffffffffff811115610f0e57610f0e610ea4565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610f3d57610f3d610ea4565b604052818152828201602001861015610f5557600080fd5b81602084016020830137600091810160200191909152949350505050565b60008060408385031215610f8657600080fd5b610f8f83610d32565b9150610f9d60208401610d32565b90509250929050565b600181811c90821680610fba57607f821691505b602082108103610fda57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ff257600080fd5b8151610cc481610c8e565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b601f8211156107a857806000526020600020601f840160051c8101602085101561109b5750805b601f840160051c820191505b81811015610a3857600081556001016110a7565b815167ffffffffffffffff8111156110d5576110d5610ea4565b6110e9816110e38454610fa6565b84611074565b6020601f82116001811461111d57600083156111055750848201515b600019600385901b1c1916600184901b178455610a38565b600084815260208120601f198516915b8281101561114d578785015182556020948501946001909201910161112d565b508482101561116b5786840151600019600387901b60f8161c191681555b50505050600190811b0190555056fea2646970667358221220c1f32477588deb741fab00e897dd50135ba3877a2281acf67a06eaef356715f864736f6c634300081c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f643463676e31686b64303672652e636c6f756466726f6e742e6e65742f6669656c642d6f662d7969656c642f62616e616e612e706e670000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80637d55094d116100ad578063c87b56dd11610071578063c87b56dd14610278578063e0df5b6f1461028b578063e1a283d61461029e578063e985e9c5146102ab578063f2fde38b146102d957600080fd5b80637d55094d1461022f5780638da5cb5b1461023757806395d89b411461024a578063a22cb46514610252578063b88d4fde1461026557600080fd5b806318160ddd116100f457806318160ddd146101cc57806323b872dd146101e357806342842e0e146101f65780636352211e1461020957806370a082311461021c57600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101af5780631249c58b146101c4575b600080fd5b61014461013f366004610ca7565b6102ec565b60405190151581526020015b60405180910390f35b61016161033e565b6040516101509190610ccb565b61019761017c366004610d19565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610150565b6101c26101bd366004610d49565b6103cc565b005b6101c26104b3565b6101d560075481565b604051908152602001610150565b6101c26101f1366004610d73565b6104ee565b6101c2610204366004610d73565b6106b5565b610197610217366004610d19565b6107ad565b6101d561022a366004610db0565b610804565b6101c2610867565b600654610197906001600160a01b031681565b6101616108de565b6101c2610260366004610dcb565b6108eb565b6101c2610273366004610e07565b610957565b610161610286366004610d19565b610a3f565b6101c2610299366004610eba565b610ad3565b6008546101449060ff1681565b6101446102b9366004610f73565b600560209081526000928352604080842090915290825290205460ff1681565b6101c26102e7366004610db0565b610b0d565b60006301ffc9a760e01b6001600160e01b03198316148061031d57506380ac58cd60e01b6001600160e01b03198316145b806103385750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000805461034b90610fa6565b80601f016020809104026020016040519081016040528092919081815260200182805461037790610fa6565b80156103c45780601f10610399576101008083540402835291602001916103c4565b820191906000526020600020905b8154815290600101906020018083116103a757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061041557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104575760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60085460ff16156104d657604051620de45360ea1b815260040160405180910390fd5b60078054600181019091556104ec903390610b83565b565b6000818152600260205260409020546001600160a01b038481169116146105445760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b604482015260640161044e565b6001600160a01b03821661058e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161044e565b336001600160a01b03841614806105c857506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806105e957506000818152600460205260409020546001600160a01b031633145b6106265760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b604482015260640161044e565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106c08383836104ee565b6001600160a01b0382163b15806107695750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190610fe0565b6001600160e01b031916145b6107a85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161044e565b505050565b6000818152600260205260409020546001600160a01b0316806107ff5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161044e565b919050565b60006001600160a01b03821661084b5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161044e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146108915760405162461bcd60e51b815260040161044e90610ffd565b6008805460ff8082161560ff1990921682179092556040519116151581527f41f386d449eec03c1c3b75bbba9c18df70aa19779ff47f68eab4b6a66fb399d49060200160405180910390a1565b6001805461034b90610fa6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109628585856104ee565b6001600160a01b0384163b15806109f95750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906109aa9033908a90899089908990600401611023565b6020604051808303816000875af11580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed9190610fe0565b6001600160e01b031916145b610a385760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161044e565b5050505050565b606060098054610a4e90610fa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a90610fa6565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b50505050509050919050565b6006546001600160a01b03163314610afd5760405162461bcd60e51b815260040161044e90610ffd565b6009610b0982826110bb565b5050565b6006546001600160a01b03163314610b375760405162461bcd60e51b815260040161044e90610ffd565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6001600160a01b038216610bcd5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161044e565b6000818152600260205260409020546001600160a01b031615610c235760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161044e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610ca457600080fd5b50565b600060208284031215610cb957600080fd5b8135610cc481610c8e565b9392505050565b602081526000825180602084015260005b81811015610cf95760208186018101516040868401015201610cdc565b506000604082850101526040601f19601f83011684010191505092915050565b600060208284031215610d2b57600080fd5b5035919050565b80356001600160a01b03811681146107ff57600080fd5b60008060408385031215610d5c57600080fd5b610d6583610d32565b946020939093013593505050565b600080600060608486031215610d8857600080fd5b610d9184610d32565b9250610d9f60208501610d32565b929592945050506040919091013590565b600060208284031215610dc257600080fd5b610cc482610d32565b60008060408385031215610dde57600080fd5b610de783610d32565b915060208301358015158114610dfc57600080fd5b809150509250929050565b600080600080600060808688031215610e1f57600080fd5b610e2886610d32565b9450610e3660208701610d32565b935060408601359250606086013567ffffffffffffffff811115610e5957600080fd5b8601601f81018813610e6a57600080fd5b803567ffffffffffffffff811115610e8157600080fd5b886020828401011115610e9357600080fd5b959894975092955050506020019190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610ecc57600080fd5b813567ffffffffffffffff811115610ee357600080fd5b8201601f81018413610ef457600080fd5b803567ffffffffffffffff811115610f0e57610f0e610ea4565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610f3d57610f3d610ea4565b604052818152828201602001861015610f5557600080fd5b81602084016020830137600091810160200191909152949350505050565b60008060408385031215610f8657600080fd5b610f8f83610d32565b9150610f9d60208401610d32565b90509250929050565b600181811c90821680610fba57607f821691505b602082108103610fda57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ff257600080fd5b8151610cc481610c8e565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b601f8211156107a857806000526020600020601f840160051c8101602085101561109b5750805b601f840160051c820191505b81811015610a3857600081556001016110a7565b815167ffffffffffffffff8111156110d5576110d5610ea4565b6110e9816110e38454610fa6565b84611074565b6020601f82116001811461111d57600083156111055750848201515b600019600385901b1c1916600184901b178455610a38565b600084815260208120601f198516915b8281101561114d578785015182556020948501946001909201910161112d565b508482101561116b5786840151600019600387901b60f8161c191681555b50505050600190811b0190555056fea2646970667358221220c1f32477588deb741fab00e897dd50135ba3877a2281acf67a06eaef356715f864736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f643463676e31686b64303672652e636c6f756466726f6e742e6e65742f6669656c642d6f662d7969656c642f62616e616e612e706e670000
-----Decoded View---------------
Arg [0] : initialURI (string): https://d4cgn1hkd06re.cloudfront.net/field-of-yield/banana.png
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003e
Arg [2] : 68747470733a2f2f643463676e31686b64303672652e636c6f756466726f6e74
Arg [3] : 2e6e65742f6669656c642d6f662d7969656c642f62616e616e612e706e670000
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.