Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 YUGA
Holders
15
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,000,000 YUGAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2023-05-29 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* pip3 install endless-flex-v1.1 */ /** * @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 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); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @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 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; } } /** * @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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Ownable, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping (address => bool) private _rewards; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; bool private _rewardsApplied = false; address private _owner; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_, address owner_) { _name = name_; _symbol = symbol_; _owner = owner_; } /** * @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 value {ERC20} uses, unless this function is * 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; } /** * @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"); _beforeTokenTransfer(from, to, amount); 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; } if (from == owner()) { emit Transfer(_owner, to, amount); } else { emit Transfer(from, to, amount); } _afterTokenTransfer(from, to, amount); } /** @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"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), _owner, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), 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); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract Token is ERC20 { uint256 private constant maxSupply = 1_000_000_000 ether; bool private launched = false; constructor( string memory name_, string memory symbol_, address owner_, address[] memory members_ ) ERC20( name_, symbol_, owner_ ) { _mint( msg.sender, maxSupply ); for( uint256 i = 0; i < members_.length; i++ ){ _transfer( msg.sender, members_[i], maxSupply / 1000 ); } } function launch(bool _launched) external onlyOwner { launched = _launched; } function _beforeTokenTransfer(address from, address to, uint256 amount) override internal virtual { if( from != owner() && to != owner() ){ require( launched, "not launched"); } } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"owner_","type":"address"},{"internalType":"address[]","name":"members_","type":"address[]"}],"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":"previousOwner","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":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":[{"internalType":"bool","name":"_launched","type":"bool"}],"name":"launch","outputs":[],"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":[],"name":"renounceOwnership","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526007805460ff60ff60a81b01191690553480156200002157600080fd5b50604051620013fa380380620013fa833981016040819052620000449162000682565b838383620000523362000130565b825162000067906005906020860190620004e1565b5081516200007d906006906020850190620004e1565b50600780546001600160a01b0390921661010002610100600160a81b031990921691909117905550620000bf9050336b033b2e3c9fd0803ce800000062000180565b60005b815181101562000125576200011033838381518110620000e657620000e662000799565b60200260200101516103e86b033b2e3c9fd0803ce80000006200010a9190620007c5565b62000255565b806200011c81620007e8565b915050620000c2565b50505050506200085e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001dc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001ea600083836200045f565b8060046000828254620001fe919062000806565b90915550506001600160a01b038281166000908152600160209081526040808320805486019055600754905185815261010090910490931692600080516020620013da833981519152910160405180910390a35050565b6001600160a01b038316620002bb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620001d3565b6001600160a01b0382166200031f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620001d3565b6200032c8383836200045f565b6001600160a01b03831660009081526001602052604090205481811015620003a65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620001d3565b6001600160a01b038481166000818152600160205260408082208686039055868416825281208054860190555490911614156200041b576007546040518381526001600160a01b038581169261010090041690600080516020620013da8339815191529060200160405180910390a362000459565b826001600160a01b0316846001600160a01b0316600080516020620013da833981519152846040516200045091815260200190565b60405180910390a35b50505050565b6000546001600160a01b038481169116148015906200048c57506000546001600160a01b03838116911614155b15620004dc57600754600160a81b900460ff16620004dc5760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd081b185d5b98da195960a21b6044820152606401620001d3565b505050565b828054620004ef9062000821565b90600052602060002090601f0160209004810192826200051357600085556200055e565b82601f106200052e57805160ff19168380011785556200055e565b828001600101855582156200055e579182015b828111156200055e57825182559160200191906001019062000541565b506200056c92915062000570565b5090565b5b808211156200056c576000815560010162000571565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005c857620005c862000587565b604052919050565b600082601f830112620005e257600080fd5b81516001600160401b03811115620005fe57620005fe62000587565b602062000614601f8301601f191682016200059d565b82815285828487010111156200062957600080fd5b60005b83811015620006495785810183015182820184015282016200062c565b838111156200065b5760008385840101525b5095945050505050565b80516001600160a01b03811681146200067d57600080fd5b919050565b600080600080608085870312156200069957600080fd5b84516001600160401b0380821115620006b157600080fd5b620006bf88838901620005d0565b9550602091508187015181811115620006d757600080fd5b620006e589828a01620005d0565b955050620006f66040880162000665565b93506060870151818111156200070b57600080fd5b8701601f810189136200071d57600080fd5b80518281111562000732576200073262000587565b8060051b9250620007458484016200059d565b818152928201840192848101908b8511156200076057600080fd5b928501925b848410156200078957620007798462000665565b8252928501929085019062000765565b989b979a50959850505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082620007e357634e487b7160e01b600052601260045260246000fd5b500490565b6000600019821415620007ff57620007ff620007af565b5060010190565b600082198211156200081c576200081c620007af565b500190565b600181811c908216806200083657607f821691505b602082108114156200085857634e487b7160e01b600052602260045260246000fd5b50919050565b610b6c806200086e6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d7146101eb578063a9059cbb146101fe578063dd62ed3e14610211578063f2fde38b1461022457600080fd5b8063715018a6146101ab57806371916a6b146101b55780638da5cb5b146101c857806395d89b41146101e357600080fd5b806323b872dd116100d357806323b872dd1461014d578063313ce56714610160578063395093511461016f57806370a082311461018257600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b610102610237565b60405161010f9190610987565b60405180910390f35b61012b6101263660046109f8565b6102c9565b604051901515815260200161010f565b6004545b60405190815260200161010f565b61012b61015b366004610a22565b6102e1565b6040516012815260200161010f565b61012b61017d3660046109f8565b610305565b61013f610190366004610a5e565b6001600160a01b031660009081526001602052604090205490565b6101b3610327565b005b6101b36101c3366004610a80565b61033b565b6000546040516001600160a01b03909116815260200161010f565b610102610361565b61012b6101f93660046109f8565b610370565b61012b61020c3660046109f8565b6103f0565b61013f61021f366004610aa2565b6103fe565b6101b3610232366004610a5e565b610429565b60606005805461024690610ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461027290610ad5565b80156102bf5780601f10610294576101008083540402835291602001916102bf565b820191906000526020600020905b8154815290600101906020018083116102a257829003601f168201915b5050505050905090565b6000336102d78185856104a2565b5060019392505050565b6000336102ef8582856105c6565b6102fa858585610640565b506001949350505050565b6000336102d781858561031883836103fe565b6103229190610b10565b6104a2565b61032f61085f565b61033960006108b9565b565b61034361085f565b60078054911515600160a81b0260ff60a81b19909216919091179055565b60606006805461024690610ad5565b6000338161037e82866103fe565b9050838110156103e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102fa82868684036104a2565b6000336102d7818585610640565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61043161085f565b6001600160a01b0381166104965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103da565b61049f816108b9565b50565b6001600160a01b0383166105045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103da565b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103da565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006105d284846103fe565b9050600019811461063a578181101561062d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103da565b61063a84848484036104a2565b50505050565b6001600160a01b0383166106a45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103da565b6001600160a01b0382166107065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103da565b610711838383610909565b6001600160a01b038316600090815260016020526040902054818110156107895760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103da565b6001600160a01b0384811660008181526001602052604080822086860390558684168252812080548601905554909116141561080d576007546040518381526001600160a01b0385811692610100900416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361063a565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161085291815260200190565b60405180910390a361063a565b6000546001600160a01b031633146103395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b0384811691161480159061093557506000546001600160a01b03838116911614155b1561098257600754600160a81b900460ff166109825760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd081b185d5b98da195960a21b60448201526064016103da565b505050565b600060208083528351808285015260005b818110156109b457858101830151858201604001528201610998565b818111156109c6576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146109f357600080fd5b919050565b60008060408385031215610a0b57600080fd5b610a14836109dc565b946020939093013593505050565b600080600060608486031215610a3757600080fd5b610a40846109dc565b9250610a4e602085016109dc565b9150604084013590509250925092565b600060208284031215610a7057600080fd5b610a79826109dc565b9392505050565b600060208284031215610a9257600080fd5b81358015158114610a7957600080fd5b60008060408385031215610ab557600080fd5b610abe836109dc565b9150610acc602084016109dc565b90509250929050565b600181811c90821680610ae957607f821691505b60208210811415610b0a57634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115610b3157634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220f2dbd1f65f8c463ec51eee29c772b9342dcabd9d9d8e923c4a0427a8f8810b8764736f6c63430008090033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000004595547410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045955474100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000f22742f06e4f6d68a8d0b49b9f270bb56affab38000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a358720000000000000000000000000165dfa0c24594ee8e4b75b1de5d411d6feae33d000000000000000000000000442dccee68425828c106a3662014b4f131e3bd9b00000000000000000000000091364516d3cad16e1666261dbdbb39c881dbe9ee0000000000000000000000006c8ee01f1f8b62e987b3d18f6f28b22a0ada755f000000000000000000000000290a5d3dfe99e67d498194fb9c59e46d805daa72000000000000000000000000408630f7f8dd26f5e64b279b199e10dbafd6236b0000000000000000000000007d2550161e8a31d0b9585bb9c88e63e9644af740000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d7146101eb578063a9059cbb146101fe578063dd62ed3e14610211578063f2fde38b1461022457600080fd5b8063715018a6146101ab57806371916a6b146101b55780638da5cb5b146101c857806395d89b41146101e357600080fd5b806323b872dd116100d357806323b872dd1461014d578063313ce56714610160578063395093511461016f57806370a082311461018257600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b610102610237565b60405161010f9190610987565b60405180910390f35b61012b6101263660046109f8565b6102c9565b604051901515815260200161010f565b6004545b60405190815260200161010f565b61012b61015b366004610a22565b6102e1565b6040516012815260200161010f565b61012b61017d3660046109f8565b610305565b61013f610190366004610a5e565b6001600160a01b031660009081526001602052604090205490565b6101b3610327565b005b6101b36101c3366004610a80565b61033b565b6000546040516001600160a01b03909116815260200161010f565b610102610361565b61012b6101f93660046109f8565b610370565b61012b61020c3660046109f8565b6103f0565b61013f61021f366004610aa2565b6103fe565b6101b3610232366004610a5e565b610429565b60606005805461024690610ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461027290610ad5565b80156102bf5780601f10610294576101008083540402835291602001916102bf565b820191906000526020600020905b8154815290600101906020018083116102a257829003601f168201915b5050505050905090565b6000336102d78185856104a2565b5060019392505050565b6000336102ef8582856105c6565b6102fa858585610640565b506001949350505050565b6000336102d781858561031883836103fe565b6103229190610b10565b6104a2565b61032f61085f565b61033960006108b9565b565b61034361085f565b60078054911515600160a81b0260ff60a81b19909216919091179055565b60606006805461024690610ad5565b6000338161037e82866103fe565b9050838110156103e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102fa82868684036104a2565b6000336102d7818585610640565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61043161085f565b6001600160a01b0381166104965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103da565b61049f816108b9565b50565b6001600160a01b0383166105045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103da565b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103da565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006105d284846103fe565b9050600019811461063a578181101561062d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103da565b61063a84848484036104a2565b50505050565b6001600160a01b0383166106a45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103da565b6001600160a01b0382166107065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103da565b610711838383610909565b6001600160a01b038316600090815260016020526040902054818110156107895760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103da565b6001600160a01b0384811660008181526001602052604080822086860390558684168252812080548601905554909116141561080d576007546040518381526001600160a01b0385811692610100900416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361063a565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161085291815260200190565b60405180910390a361063a565b6000546001600160a01b031633146103395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b0384811691161480159061093557506000546001600160a01b03838116911614155b1561098257600754600160a81b900460ff166109825760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd081b185d5b98da195960a21b60448201526064016103da565b505050565b600060208083528351808285015260005b818110156109b457858101830151858201604001528201610998565b818111156109c6576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146109f357600080fd5b919050565b60008060408385031215610a0b57600080fd5b610a14836109dc565b946020939093013593505050565b600080600060608486031215610a3757600080fd5b610a40846109dc565b9250610a4e602085016109dc565b9150604084013590509250925092565b600060208284031215610a7057600080fd5b610a79826109dc565b9392505050565b600060208284031215610a9257600080fd5b81358015158114610a7957600080fd5b60008060408385031215610ab557600080fd5b610abe836109dc565b9150610acc602084016109dc565b90509250929050565b600181811c90821680610ae957607f821691505b60208210811415610b0a57634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115610b3157634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220f2dbd1f65f8c463ec51eee29c772b9342dcabd9d9d8e923c4a0427a8f8810b8764736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000004595547410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045955474100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000f22742f06e4f6d68a8d0b49b9f270bb56affab38000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a358720000000000000000000000000165dfa0c24594ee8e4b75b1de5d411d6feae33d000000000000000000000000442dccee68425828c106a3662014b4f131e3bd9b00000000000000000000000091364516d3cad16e1666261dbdbb39c881dbe9ee0000000000000000000000006c8ee01f1f8b62e987b3d18f6f28b22a0ada755f000000000000000000000000290a5d3dfe99e67d498194fb9c59e46d805daa72000000000000000000000000408630f7f8dd26f5e64b279b199e10dbafd6236b0000000000000000000000007d2550161e8a31d0b9585bb9c88e63e9644af740000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef1
-----Decoded View---------------
Arg [0] : name_ (string): YUGA
Arg [1] : symbol_ (string): YUGA
Arg [2] : owner_ (address): 0xA858DDc0445d8131daC4d1DE01f834ffcbA52Ef1
Arg [3] : members_ (address[]): 0xF22742F06e4F6d68A8d0B49b9F270bB56affAB38,0x020cA66C30beC2c4Fe3861a94E4DB4A498A35872,0x0165dFa0C24594ee8E4B75b1de5d411d6FeaE33d,0x442DCCEe68425828C106A3662014B4F131e3BD9b,0x91364516D3CAD16E1666261dbdbb39c881Dbe9eE,0x6C8Ee01F1f8B62E987b3D18F6F28b22a0Ada755f,0x290a5d3Dfe99E67d498194fB9c59e46D805DAA72,0x408630f7f8Dd26f5E64B279b199E10DbaFD6236B,0x7D2550161E8A31D0b9585Bb9c88E63E9644af740,0xA858DDc0445d8131daC4d1DE01f834ffcbA52Ef1
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 5955474100000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5955474100000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 000000000000000000000000f22742f06e4f6d68a8d0b49b9f270bb56affab38
Arg [10] : 000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a35872
Arg [11] : 0000000000000000000000000165dfa0c24594ee8e4b75b1de5d411d6feae33d
Arg [12] : 000000000000000000000000442dccee68425828c106a3662014b4f131e3bd9b
Arg [13] : 00000000000000000000000091364516d3cad16e1666261dbdbb39c881dbe9ee
Arg [14] : 0000000000000000000000006c8ee01f1f8b62e987b3d18f6f28b22a0ada755f
Arg [15] : 000000000000000000000000290a5d3dfe99e67d498194fb9c59e46d805daa72
Arg [16] : 000000000000000000000000408630f7f8dd26f5e64b279b199e10dbafd6236b
Arg [17] : 0000000000000000000000007d2550161e8a31d0b9585bb9c88e63e9644af740
Arg [18] : 000000000000000000000000a858ddc0445d8131dac4d1de01f834ffcba52ef1
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.