ERC-20
Artificial Intelligence
Overview
Max Total Supply
540,563,771.047700343656989598 OLAS
Holders
15,391 ( 0.091%)
Market
Price
$2.15 @ 0.000855 ETH (+5.37%)
Onchain Market Cap
$1,162,212,107.75
Circulating Supply Market Cap
$103,441,143.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
536.978051235908525016 OLASValue
$1,154.50 ( ~0.459171636087462 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OLAS
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "../lib/solmate/src/tokens/ERC20.sol"; /// @dev Only `manager` has a privilege, but the `sender` was provided. /// @param sender Sender address. /// @param manager Required sender address as a manager. error ManagerOnly(address sender, address manager); /// @dev Provided zero address. error ZeroAddress(); /// @title OLAS - Smart contract for the OLAS token. /// @author AL /// @author Aleksandr Kuperman - <[email protected]> contract OLAS is ERC20 { event MinterUpdated(address indexed minter); event OwnerUpdated(address indexed owner); // One year interval uint256 public constant oneYear = 1 days * 365; // Total supply cap for the first ten years (one billion OLAS tokens) uint256 public constant tenYearSupplyCap = 1_000_000_000e18; // Maximum annual inflation after first ten years uint256 public constant maxMintCapFraction = 2; // Initial timestamp of the token deployment uint256 public immutable timeLaunch; // Owner address address public owner; // Minter address address public minter; constructor() ERC20("Autonolas", "OLAS", 18) { owner = msg.sender; minter = msg.sender; timeLaunch = block.timestamp; } /// @dev Changes the owner address. /// @param newOwner Address of a new owner. function changeOwner(address newOwner) external { if (msg.sender != owner) { revert ManagerOnly(msg.sender, owner); } if (newOwner == address(0)) { revert ZeroAddress(); } owner = newOwner; emit OwnerUpdated(newOwner); } /// @dev Changes the minter address. /// @param newMinter Address of a new minter. function changeMinter(address newMinter) external { if (msg.sender != owner) { revert ManagerOnly(msg.sender, owner); } if (newMinter == address(0)) { revert ZeroAddress(); } minter = newMinter; emit MinterUpdated(newMinter); } /// @dev Mints OLAS tokens. /// @param account Account address. /// @param amount OLAS token amount. function mint(address account, uint256 amount) external { // Access control if (msg.sender != minter) { revert ManagerOnly(msg.sender, minter); } // Check the inflation schedule and mint if (inflationControl(amount)) { _mint(account, amount); } } /// @dev Provides various checks for the inflation control. /// @param amount Amount of OLAS to mint. /// @return True if the amount request is within inflation boundaries. function inflationControl(uint256 amount) public view returns (bool) { uint256 remainder = inflationRemainder(); return (amount <= remainder); } /// @dev Gets the reminder of OLAS possible for the mint. /// @return remainder OLAS token remainder. function inflationRemainder() public view returns (uint256 remainder) { uint256 _totalSupply = totalSupply; // Current year uint256 numYears = (block.timestamp - timeLaunch) / oneYear; // Calculate maximum mint amount to date uint256 supplyCap = tenYearSupplyCap; // After 10 years, adjust supplyCap according to the yearly inflation % set in maxMintCapFraction if (numYears > 9) { // Number of years after ten years have passed (including ongoing ones) numYears -= 9; for (uint256 i = 0; i < numYears; ++i) { supplyCap += (supplyCap * maxMintCapFraction) / 100; } } // Check for the requested mint overflow remainder = supplyCap - _totalSupply; } /// @dev Burns OLAS tokens. /// @param amount OLAS token amount to burn. function burn(uint256 amount) external { _burn(msg.sender, amount); } /// @dev Decreases the allowance of another account over their tokens. /// @param spender Account that tokens are approved for. /// @param amount Amount to decrease approval by. /// @return True if the operation succeeded. function decreaseAllowance(address spender, uint256 amount) external returns (bool) { uint256 spenderAllowance = allowance[msg.sender][spender]; if (spenderAllowance != type(uint256).max) { spenderAllowance -= amount; allowance[msg.sender][spender] = spenderAllowance; emit Approval(msg.sender, spender, spenderAllowance); } return true; } /// @dev Increases the allowance of another account over their tokens. /// @param spender Account that tokens are approved for. /// @param amount Amount to increase approval by. /// @return True if the operation succeeded. function increaseAllowance(address spender, uint256 amount) external returns (bool) { uint256 spenderAllowance = allowance[msg.sender][spender]; spenderAllowance += amount; allowance[msg.sender][spender] = spenderAllowance; emit Approval(msg.sender, spender, spenderAllowance); return true; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"manager","type":"address"}],"name":"ManagerOnly","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"MinterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"OwnerUpdated","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"changeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"inflationControl","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inflationRemainder","outputs":[{"internalType":"uint256","name":"remainder","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintCapFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tenYearSupplyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeLaunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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
6101006040523480156200001257600080fd5b50604051806040016040528060098152602001684175746f6e6f6c617360b81b815250604051806040016040528060048152602001634f4c415360e01b81525060128260009081620000659190620001fd565b506001620000748382620001fd565b5060ff81166080524660a0526200008a620000bc565b60c052505060068054336001600160a01b03199182168117909255600780549091169091179055504260e05262000347565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620000f09190620002c9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018357607f821691505b602082108103620001a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f857600081815260208120601f850160051c81016020861015620001d35750805b601f850160051c820191505b81811015620001f457828155600101620001df565b5050505b505050565b81516001600160401b0381111562000219576200021962000158565b62000231816200022a84546200016e565b84620001aa565b602080601f831160018114620002695760008415620002505750858301515b600019600386901b1c1916600185901b178555620001f4565b600085815260208120601f198616915b828110156200029a5788860151825594840194600190910190840162000279565b5085821015620002b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620002d9816200016e565b60018281168015620002f457600181146200030a576200033b565b60ff19841687528215158302870194506200033b565b8760005260208060002060005b85811015620003325781548a82015290840190820162000317565b50505082870194505b50929695505050505050565b60805160a05160c05160e05161156762000388600039600081816103850152610bb1015260006107f1015260006107bc0152600061029001526115676000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c80636e79265c116100ee578063a457c2d711610097578063b091dab311610071578063b091dab3146103e8578063d505accf146103f0578063dd62ed3e14610403578063f27c3bf61461042e57600080fd5b8063a457c2d7146103af578063a6f9dae1146103c2578063a9059cbb146103d557600080fd5b80638da5cb5b116100c85780638da5cb5b146103605780638e4a83791461038057806395d89b41146103a757600080fd5b80636e79265c1461030d57806370a08231146103205780637ecebe001461034057600080fd5b80632c4d4d181161015b578063395093511161013557806339509351146102cc57806340c10f19146102df57806342966c68146102f25780635ff99e9d1461030557600080fd5b80632c4d4d1814610276578063313ce5671461028b5780633644e515146102c457600080fd5b80630a8ded1d1161018c5780630a8ded1d1461023957806318160ddd1461025a57806323b872dd1461026357600080fd5b806306fdde03146101b357806307546172146101d1578063095ea7b314610216575b600080fd5b6101bb610439565b6040516101c89190611117565b60405180910390f35b6007546101f19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102296102243660046111b3565b6104c7565b60405190151581526020016101c8565b61024c6b033b2e3c9fd0803ce800000081565b6040519081526020016101c8565b61024c60025481565b6102296102713660046111dd565b610540565b610289610284366004611219565b610684565b005b6102b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101c8565b61024c6107b8565b6102296102da3660046111b3565b610813565b6102896102ed3660046111b3565b6108c2565b61028961030036600461123b565b610951565b61024c600281565b61022961031b36600461123b565b61095e565b61024c61032e366004611219565b60036020526000908152604090205481565b61024c61034e366004611219565b60056020526000908152604090205481565b6006546101f19073ffffffffffffffffffffffffffffffffffffffff1681565b61024c7f000000000000000000000000000000000000000000000000000000000000000081565b6101bb610973565b6102296103bd3660046111b3565b610980565b6102896103d0366004611219565b6109ec565b6102296103e33660046111b3565b610b1b565b61024c610ba0565b6102896103fe366004611254565b610c57565b61024c6104113660046112c7565b600460209081526000928352604080842090915290825290205481565b61024c6301e1338081565b60008054610446906112fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610472906112fa565b80156104bf5780601f10610494576101008083540402835291602001916104bf565b820191906000526020600020905b8154815290600101906020018083116104a257829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061052f9086815260200190565b60405180910390a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105d4576105a2838261137c565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff85166000908152600360205260408120805485929061060990849061137c565b909155505073ffffffffffffffffffffffffffffffffffffffff808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106719087815260200190565b60405180910390a3506001949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106fc576006546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116610749576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fad0f299ec81a386c98df0ac27dae11dd020ed1b56963c53a7292e7a3a314539a90600090a250565b60007f000000000000000000000000000000000000000000000000000000000000000046146107ee576107e9610f76565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205461084e8382611393565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16808552908352928190208590555184815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610935576007546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044016106f3565b61093e8161095e565b1561094d5761094d8282611010565b5050565b61095b3382611089565b50565b600080610969610ba0565b9092111592915050565b60018054610446906112fa565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109e25761084e838261137c565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610a5f576006546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044016106f3565b73ffffffffffffffffffffffffffffffffffffffff8116610aac576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4ffd725fc4a22075e9ec71c59edf9c38cdeb588a91b24fc5b61388c5be41282b90600090a250565b33600090815260036020526040812080548391908390610b3c90849061137c565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061052f9086815260200190565b600254600090816301e13380610bd67f00000000000000000000000000000000000000000000000000000000000000004261137c565b610be091906113ab565b90506b033b2e3c9fd0803ce80000006009821115610c4557610c0360098361137c565b915060005b82811015610c43576064610c1d6002846113e6565b610c2791906113ab565b610c319083611393565b9150610c3c81611423565b9050610c08565b505b610c4f838261137c565b935050505090565b42841015610cc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016106f3565b60006001610ccd6107b8565b73ffffffffffffffffffffffffffffffffffffffff8a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f190100000000000000000000000000000000000000000000000000000000000061010083015261010282019290925261012281019190915261014201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610e1f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610e9a57508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610f00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f5349474e455200000000000000000000000000000000000060448201526064016106f3565b73ffffffffffffffffffffffffffffffffffffffff90811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610fa8919061145b565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546110229190611393565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080548392906110be90849061137c565b909155505060028054829003905560405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161107d565b600060208083528351808285015260005b8181101561114457858101830151858201604001528201611128565b81811115611156576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111ae57600080fd5b919050565b600080604083850312156111c657600080fd5b6111cf8361118a565b946020939093013593505050565b6000806000606084860312156111f257600080fd5b6111fb8461118a565b92506112096020850161118a565b9150604084013590509250925092565b60006020828403121561122b57600080fd5b6112348261118a565b9392505050565b60006020828403121561124d57600080fd5b5035919050565b600080600080600080600060e0888a03121561126f57600080fd5b6112788861118a565b96506112866020890161118a565b95506040880135945060608801359350608088013560ff811681146112aa57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156112da57600080fd5b6112e38361118a565b91506112f16020840161118a565b90509250929050565b600181811c9082168061130e57607f821691505b602082108103611347577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561138e5761138e61134d565b500390565b600082198211156113a6576113a661134d565b500190565b6000826113e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561141e5761141e61134d565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114545761145461134d565b5060010190565b600080835481600182811c91508083168061147757607f831692505b602080841082036114af577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156114c357600181146114f657611523565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952841515850289019650611523565b60008a81526020902060005b8681101561151b5781548b820152908501908301611502565b505084890196505b50949897505050505050505056fea2646970667358221220c98a30972113e0d3de3d0251b915f91f6817c0880aa9ac6932e2dd2d6acd9ab964736f6c634300080f0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c80636e79265c116100ee578063a457c2d711610097578063b091dab311610071578063b091dab3146103e8578063d505accf146103f0578063dd62ed3e14610403578063f27c3bf61461042e57600080fd5b8063a457c2d7146103af578063a6f9dae1146103c2578063a9059cbb146103d557600080fd5b80638da5cb5b116100c85780638da5cb5b146103605780638e4a83791461038057806395d89b41146103a757600080fd5b80636e79265c1461030d57806370a08231146103205780637ecebe001461034057600080fd5b80632c4d4d181161015b578063395093511161013557806339509351146102cc57806340c10f19146102df57806342966c68146102f25780635ff99e9d1461030557600080fd5b80632c4d4d1814610276578063313ce5671461028b5780633644e515146102c457600080fd5b80630a8ded1d1161018c5780630a8ded1d1461023957806318160ddd1461025a57806323b872dd1461026357600080fd5b806306fdde03146101b357806307546172146101d1578063095ea7b314610216575b600080fd5b6101bb610439565b6040516101c89190611117565b60405180910390f35b6007546101f19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102296102243660046111b3565b6104c7565b60405190151581526020016101c8565b61024c6b033b2e3c9fd0803ce800000081565b6040519081526020016101c8565b61024c60025481565b6102296102713660046111dd565b610540565b610289610284366004611219565b610684565b005b6102b27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016101c8565b61024c6107b8565b6102296102da3660046111b3565b610813565b6102896102ed3660046111b3565b6108c2565b61028961030036600461123b565b610951565b61024c600281565b61022961031b36600461123b565b61095e565b61024c61032e366004611219565b60036020526000908152604090205481565b61024c61034e366004611219565b60056020526000908152604090205481565b6006546101f19073ffffffffffffffffffffffffffffffffffffffff1681565b61024c7f0000000000000000000000000000000000000000000000000000000062bd7a6781565b6101bb610973565b6102296103bd3660046111b3565b610980565b6102896103d0366004611219565b6109ec565b6102296103e33660046111b3565b610b1b565b61024c610ba0565b6102896103fe366004611254565b610c57565b61024c6104113660046112c7565b600460209081526000928352604080842090915290825290205481565b61024c6301e1338081565b60008054610446906112fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610472906112fa565b80156104bf5780601f10610494576101008083540402835291602001916104bf565b820191906000526020600020905b8154815290600101906020018083116104a257829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061052f9086815260200190565b60405180910390a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105d4576105a2838261137c565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff85166000908152600360205260408120805485929061060990849061137c565b909155505073ffffffffffffffffffffffffffffffffffffffff808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106719087815260200190565b60405180910390a3506001949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106fc576006546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116610749576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fad0f299ec81a386c98df0ac27dae11dd020ed1b56963c53a7292e7a3a314539a90600090a250565b60007f000000000000000000000000000000000000000000000000000000000000000146146107ee576107e9610f76565b905090565b507fcc88d6a52d0d804dfb8190af9a6e9b986b0ab82cc03960259053206463f7702090565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205461084e8382611393565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16808552908352928190208590555184815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610935576007546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044016106f3565b61093e8161095e565b1561094d5761094d8282611010565b5050565b61095b3382611089565b50565b600080610969610ba0565b9092111592915050565b60018054610446906112fa565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109e25761084e838261137c565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610a5f576006546040517f625a43fe00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911660248201526044016106f3565b73ffffffffffffffffffffffffffffffffffffffff8116610aac576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4ffd725fc4a22075e9ec71c59edf9c38cdeb588a91b24fc5b61388c5be41282b90600090a250565b33600090815260036020526040812080548391908390610b3c90849061137c565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061052f9086815260200190565b600254600090816301e13380610bd67f0000000000000000000000000000000000000000000000000000000062bd7a674261137c565b610be091906113ab565b90506b033b2e3c9fd0803ce80000006009821115610c4557610c0360098361137c565b915060005b82811015610c43576064610c1d6002846113e6565b610c2791906113ab565b610c319083611393565b9150610c3c81611423565b9050610c08565b505b610c4f838261137c565b935050505090565b42841015610cc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016106f3565b60006001610ccd6107b8565b73ffffffffffffffffffffffffffffffffffffffff8a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f190100000000000000000000000000000000000000000000000000000000000061010083015261010282019290925261012281019190915261014201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610e1f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610e9a57508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610f00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f5349474e455200000000000000000000000000000000000060448201526064016106f3565b73ffffffffffffffffffffffffffffffffffffffff90811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610fa8919061145b565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546110229190611393565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080548392906110be90849061137c565b909155505060028054829003905560405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161107d565b600060208083528351808285015260005b8181101561114457858101830151858201604001528201611128565b81811115611156576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111ae57600080fd5b919050565b600080604083850312156111c657600080fd5b6111cf8361118a565b946020939093013593505050565b6000806000606084860312156111f257600080fd5b6111fb8461118a565b92506112096020850161118a565b9150604084013590509250925092565b60006020828403121561122b57600080fd5b6112348261118a565b9392505050565b60006020828403121561124d57600080fd5b5035919050565b600080600080600080600060e0888a03121561126f57600080fd5b6112788861118a565b96506112866020890161118a565b95506040880135945060608801359350608088013560ff811681146112aa57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156112da57600080fd5b6112e38361118a565b91506112f16020840161118a565b90509250929050565b600181811c9082168061130e57607f821691505b602082108103611347577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561138e5761138e61134d565b500390565b600082198211156113a6576113a661134d565b500190565b6000826113e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561141e5761141e61134d565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114545761145461134d565b5060010190565b600080835481600182811c91508083168061147757607f831692505b602080841082036114af577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156114c357600181146114f657611523565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952841515850289019650611523565b60008a81526020902060005b8681101561151b5781548b820152908501908301611502565b505084890196505b50949897505050505050505056fea2646970667358221220c98a30972113e0d3de3d0251b915f91f6817c0880aa9ac6932e2dd2d6acd9ab964736f6c634300080f0033
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.