ERC-20
Overview
Max Total Supply
100,000,000 ORBIT
Holders
47,513 ( 0.008%)
Market
Price
$0.0041 @ 0.000001 ETH (-2.35%)
Onchain Market Cap
$410,567.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000001 ORBITValue
$0.00 ( ~0 ETH) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
OrbitToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.10; contract OrbitToken { /// @notice EIP-20 token name for this token string public constant name = "Orbit Protocol"; /// @notice EIP-20 token symbol for this token string public constant symbol = "ORBIT"; /// @notice EIP-20 token decimals for this token uint8 public constant decimals = 18; /// @notice Total number of tokens in circulation uint public constant totalSupply = 100_000_000 * 1e18; // 10 million /// @notice Allowance amounts on behalf of others mapping(address => mapping(address => uint96)) internal allowances; /// @notice Official record of token balances for each account mapping(address => uint96) internal balances; /// @notice A record of each accounts delegate mapping(address => address) public delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint96 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256( "EIP712Domain(string name,uint256 chainId,address verifyingContract)" ); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping(address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged( address indexed delegator, address indexed fromDelegate, address indexed toDelegate ); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged( address indexed delegate, uint previousBalance, uint newBalance ); /// @notice The standard EIP-20 transfer event event Transfer(address indexed from, address indexed to, uint256 amount); /// @notice The standard EIP-20 approval event event Approval( address indexed owner, address indexed spender, uint256 amount ); /** * @notice Construct a new token * @param account The initial account to grant all the tokens */ constructor(address account) public { balances[account] = uint96(totalSupply); emit Transfer(address(0), account, totalSupply); } /** * @notice Get the number of tokens `spender` is approved to spend on behalf of `account` * @param account The address of the account holding the funds * @param spender The address of the account spending the funds * @return The number of tokens approved */ function allowance( address account, address spender ) external view returns (uint) { return allowances[account][spender]; } /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * @param spender The address of the account which may transfer tokens * @param rawAmount The number of tokens that are approved (2^256-1 means infinite) * @return Whether or not the approval succeeded */ function approve(address spender, uint rawAmount) external returns (bool) { uint96 amount; if (rawAmount == type(uint).max) { amount = type(uint96).max; } else { amount = safe96( rawAmount, "Token::approve: amount exceeds 96 bits" ); } allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } /** * @notice Get the number of tokens held by the `account` * @param account The address of the account to get the balance of * @return The number of tokens held */ function balanceOf(address account) external view returns (uint) { return balances[account]; } /** * @notice Transfer `amount` tokens from `msg.sender` to `dst` * @param dst The address of the destination account * @param rawAmount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transfer(address dst, uint rawAmount) external returns (bool) { uint96 amount = safe96( rawAmount, "Token::transfer: amount exceeds 96 bits" ); _transferTokens(msg.sender, dst, amount); return true; } /** * @notice Transfer `amount` tokens from `src` to `dst` * @param src The address of the source account * @param dst The address of the destination account * @param rawAmount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transferFrom( address src, address dst, uint rawAmount ) external returns (bool) { address spender = msg.sender; uint96 spenderAllowance = allowances[src][spender]; uint96 amount = safe96( rawAmount, "Token::approve: amount exceeds 96 bits" ); if (spender != src && spenderAllowance != type(uint96).max) { uint96 newAllowance = sub96( spenderAllowance, amount, "Token::transferFrom: transfer amount exceeds spender allowance" ); allowances[src][spender] = newAllowance; emit Approval(src, spender, newAllowance); } _transferTokens(src, dst, amount); return true; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) public { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) public { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry) ); bytes32 digest = keccak256( abi.encodePacked("\x19\x01", domainSeparator, structHash) ); address signatory = ecrecover(digest, v, r, s); require( signatory != address(0), "Token::delegateBySig: invalid signature" ); require( nonce == nonces[signatory]++, "Token::delegateBySig: invalid nonce" ); require( block.timestamp <= expiry, "Token::delegateBySig: signature expired" ); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint96) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes( address account, uint blockNumber ) public view returns (uint96) { require( blockNumber < block.number, "Token::getPriorVotes: not yet determined" ); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = delegates[delegator]; uint96 delegatorBalance = balances[delegator]; delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _transferTokens(address src, address dst, uint96 amount) internal { require( src != address(0), "Token::_transferTokens: cannot transfer from the zero address" ); require( dst != address(0), "Token::_transferTokens: cannot transfer to the zero address" ); balances[src] = sub96( balances[src], amount, "Token::_transferTokens: transfer amount exceeds balance" ); balances[dst] = add96( balances[dst], amount, "Token::_transferTokens: transfer amount overflows" ); emit Transfer(src, dst, amount); _moveDelegates(delegates[src], delegates[dst], amount); } function _moveDelegates( address srcRep, address dstRep, uint96 amount ) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { uint32 srcRepNum = numCheckpoints[srcRep]; uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint96 srcRepNew = sub96( srcRepOld, amount, "Token::_moveVotes: vote amount underflows" ); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { uint32 dstRepNum = numCheckpoints[dstRep]; uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint96 dstRepNew = add96( dstRepOld, amount, "Token::_moveVotes: vote amount overflows" ); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes ) internal { uint32 blockNumber = safe32( block.number, "Token::_writeCheckpoint: block number exceeds 32 bits" ); if ( nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber ) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint( blockNumber, newVotes ); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32( uint n, string memory errorMessage ) internal pure returns (uint32) { require(n < 2 ** 32, errorMessage); return uint32(n); } function safe96( uint n, string memory errorMessage ) internal pure returns (uint96) { require(n < 2 ** 96, errorMessage); return uint96(n); } function add96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { uint96 c = a + b; require(c >= a, errorMessage); return c; } function sub96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { require(b <= a, errorMessage); return a - b; } function getChainId() internal view returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"account","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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":"rawAmount","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":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","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":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161191a38038061191a83398101604081905261002f916100a5565b6001600160a01b03811660008181526001602052604080822080546001600160601b0319166a52b7d2dcc80cd2e400000090811790915590517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916100979190815260200190565b60405180910390a3506100d5565b6000602082840312156100b757600080fd5b81516001600160a01b03811681146100ce57600080fd5b9392505050565b611836806100e46000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea5714610345578063c3cda52014610358578063dd62ed3e1461036b578063e7a324dc146103ab578063f1127ed8146103d257600080fd5b806370a0823114610291578063782d6fe1146102c35780637ecebe00146102ee57806395d89b411461030e578063a9059cbb1461033257600080fd5b806323b872dd116100f457806323b872dd146101d3578063313ce567146101e6578063587cde1e146102005780635c19a95c146102415780636fcfff451461025657600080fd5b806306fdde0314610126578063095ea7b31461016957806318160ddd1461018c57806320606b70146101ac575b600080fd5b6101536040518060400160405280600e81526020016d13dc989a5d08141c9bdd1bd8dbdb60921b81525081565b60405161016091906113e8565b60405180910390f35b61017c610177366004611452565b610439565b6040519015158152602001610160565b61019e6a52b7d2dcc80cd2e400000081565b604051908152602001610160565b61019e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61017c6101e136600461147c565b6104f7565b6101ee601281565b60405160ff9091168152602001610160565b61022961020e3660046114b8565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610160565b61025461024f3660046114b8565b610638565b005b61027c6102643660046114b8565b60046020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610160565b61019e61029f3660046114b8565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102d66102d1366004611452565b610645565b6040516001600160601b039091168152602001610160565b61019e6102fc3660046114b8565b60056020526000908152604090205481565b6101536040518060400160405280600581526020016413d490925560da1b81525081565b61017c610340366004611452565b6108d5565b6102d66103533660046114b8565b610911565b6102546103663660046114d3565b61098f565b61019e610379366004611533565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b61019e7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104156103e0366004611566565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610160565b600080600019830361045357506001600160601b03610478565b6104758360405180606001604052806026815260200161172e60269139610c84565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602680845291936001600160601b0390911692859261054d928892919061172e90830139610c84565b9050866001600160a01b0316836001600160a01b03161415801561057a57506001600160601b0382811614155b156106205760006105a483836040518060600160405280603e81526020016116bf603e9139610cb3565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61062b878783610cfd565b5060019695505050505050565b6106423382610f4e565b50565b60004382106106ac5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e3a3a6765745072696f72566f7465733a206e6f74207965742064656044820152671d195c9b5a5b995960c21b60648201526084015b60405180910390fd5b6001600160a01b03831660009081526004602052604081205463ffffffff16908190036106dd5760009150506104f1565b6001600160a01b038416600090815260036020526040812084916107026001856115bc565b63ffffffff90811682526020820192909252604001600020541611610775576001600160a01b0384166000908152600360205260408120906107456001846115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506104f19050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156107b05760009150506104f1565b6000806107be6001846115bc565b90505b8163ffffffff168163ffffffff16111561089057600060026107e384846115bc565b6107ed91906115e0565b6107f790836115bc565b6001600160a01b038816600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610864576020015194506104f19350505050565b805163ffffffff1687111561087b57819350610889565b6108866001836115bc565b92505b50506107c1565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b6000806108fa836040518060600160405280602781526020016117da60279139610c84565b9050610907338583610cfd565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff168061093c576000610988565b6001600160a01b0383166000908152600360205260408120906109606001846115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b604080518082018252600e81526d13dc989a5d08141c9bdd1bd8dbdb60921b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f545b10ff6ce24a094e1b788a77a2b4ffc91c1cef2c94c3ca4093a60ed2bc0ba981840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610b18573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a3a64656c656761746542795369673a20696e76616c6964207369604482015266676e617475726560c81b60648201526084016106a3565b6001600160a01b0381166000908152600560205260408120805491610baf83611611565b919050558914610c0d5760405162461bcd60e51b815260206004820152602360248201527f546f6b656e3a3a64656c656761746542795369673a20696e76616c6964206e6f6044820152626e636560e81b60648201526084016106a3565b87421115610c6d5760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a3a64656c656761746542795369673a207369676e617475726520604482015266195e1c1a5c995960ca1b60648201526084016106a3565b610c77818b610f4e565b505050505b505050505050565b600081600160601b8410610cab5760405162461bcd60e51b81526004016106a391906113e8565b509192915050565b6000836001600160601b0316836001600160601b031611158290610cea5760405162461bcd60e51b81526004016106a391906113e8565b50610cf5838561162a565b949350505050565b6001600160a01b038316610d795760405162461bcd60e51b815260206004820152603d60248201527f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460448201527f72616e736665722066726f6d20746865207a65726f206164647265737300000060648201526084016106a3565b6001600160a01b038216610df55760405162461bcd60e51b815260206004820152603b60248201527f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460448201527f72616e7366657220746f20746865207a65726f2061646472657373000000000060648201526084016106a3565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526037808452610e40936001600160601b03909216928592919061168890830139610cb3565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526031808452610ea894919091169285929091906116fd90830139610fd8565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610f4992918216911683611025565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610fd2828483611025565b50505050565b600080610fe5848661164a565b9050846001600160601b0316816001600160601b03161015839061101c5760405162461bcd60e51b81526004016106a391906113e8565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561105057506000816001600160601b0316115b15610f49576001600160a01b03831615611115576001600160a01b03831660009081526004602052604081205463ffffffff1690816110905760006110dc565b6001600160a01b0385166000908152600360205260408120906110b46001856115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611103828560405180606001604052806029815260200161178960299139610cb3565b9050611111868484846111cd565b5050505b6001600160a01b03821615610f49576001600160a01b03821660009081526004602052604081205463ffffffff16908161115057600061119c565b6001600160a01b0384166000908152600360205260408120906111746001856115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006111c382856040518060600160405280602881526020016117b260289139610fd8565b9050610c7c858484845b60006111f143604051806060016040528060358152602001611754603591396113c5565b905060008463ffffffff1611801561124b57506001600160a01b038516600090815260036020526040812063ffffffff83169161122f6001886115bc565b63ffffffff908116825260208201929092526040016000205416145b156112bf576001600160a01b038516600090815260036020526040812083916112756001886115bc565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff0000000019909216919091179055611370565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600382528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561133f84600161166a565b6001600160a01b0386166000908152600460205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b8410610cab5760405162461bcd60e51b81526004016106a391905b600060208083528351808285015260005b81811015611415578581018301518582016040015282016113f9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461144d57600080fd5b919050565b6000806040838503121561146557600080fd5b61146e83611436565b946020939093013593505050565b60008060006060848603121561149157600080fd5b61149a84611436565b92506114a860208501611436565b9150604084013590509250925092565b6000602082840312156114ca57600080fd5b61098882611436565b60008060008060008060c087890312156114ec57600080fd5b6114f587611436565b95506020870135945060408701359350606087013560ff8116811461151957600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561154657600080fd5b61154f83611436565b915061155d60208401611436565b90509250929050565b6000806040838503121561157957600080fd5b61158283611436565b9150602083013563ffffffff8116811461159b57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff8281168282160390808211156115d9576115d96115a6565b5092915050565b600063ffffffff8084168061160557634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600060018201611623576116236115a6565b5060010190565b6001600160601b038281168282160390808211156115d9576115d96115a6565b6001600160601b038181168382160190808211156115d9576115d96115a6565b63ffffffff8181168382160190808211156115d9576115d96115a656fe546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365546f6b656e3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773546f6b656e3a3a617070726f76653a20616d6f756e7420657863656564732039362062697473546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773546f6b656e3a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a26469706673582212203f47e89a3890ddb64b023d89baea2b2b145880e67a8e0dab1cb4861ec55afe0164736f6c634300081400330000000000000000000000006315f65843e7582508e4f0aac20a7203e7b09f02
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea5714610345578063c3cda52014610358578063dd62ed3e1461036b578063e7a324dc146103ab578063f1127ed8146103d257600080fd5b806370a0823114610291578063782d6fe1146102c35780637ecebe00146102ee57806395d89b411461030e578063a9059cbb1461033257600080fd5b806323b872dd116100f457806323b872dd146101d3578063313ce567146101e6578063587cde1e146102005780635c19a95c146102415780636fcfff451461025657600080fd5b806306fdde0314610126578063095ea7b31461016957806318160ddd1461018c57806320606b70146101ac575b600080fd5b6101536040518060400160405280600e81526020016d13dc989a5d08141c9bdd1bd8dbdb60921b81525081565b60405161016091906113e8565b60405180910390f35b61017c610177366004611452565b610439565b6040519015158152602001610160565b61019e6a52b7d2dcc80cd2e400000081565b604051908152602001610160565b61019e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61017c6101e136600461147c565b6104f7565b6101ee601281565b60405160ff9091168152602001610160565b61022961020e3660046114b8565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610160565b61025461024f3660046114b8565b610638565b005b61027c6102643660046114b8565b60046020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610160565b61019e61029f3660046114b8565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102d66102d1366004611452565b610645565b6040516001600160601b039091168152602001610160565b61019e6102fc3660046114b8565b60056020526000908152604090205481565b6101536040518060400160405280600581526020016413d490925560da1b81525081565b61017c610340366004611452565b6108d5565b6102d66103533660046114b8565b610911565b6102546103663660046114d3565b61098f565b61019e610379366004611533565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b61019e7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104156103e0366004611566565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610160565b600080600019830361045357506001600160601b03610478565b6104758360405180606001604052806026815260200161172e60269139610c84565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602680845291936001600160601b0390911692859261054d928892919061172e90830139610c84565b9050866001600160a01b0316836001600160a01b03161415801561057a57506001600160601b0382811614155b156106205760006105a483836040518060600160405280603e81526020016116bf603e9139610cb3565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61062b878783610cfd565b5060019695505050505050565b6106423382610f4e565b50565b60004382106106ac5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e3a3a6765745072696f72566f7465733a206e6f74207965742064656044820152671d195c9b5a5b995960c21b60648201526084015b60405180910390fd5b6001600160a01b03831660009081526004602052604081205463ffffffff16908190036106dd5760009150506104f1565b6001600160a01b038416600090815260036020526040812084916107026001856115bc565b63ffffffff90811682526020820192909252604001600020541611610775576001600160a01b0384166000908152600360205260408120906107456001846115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506104f19050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156107b05760009150506104f1565b6000806107be6001846115bc565b90505b8163ffffffff168163ffffffff16111561089057600060026107e384846115bc565b6107ed91906115e0565b6107f790836115bc565b6001600160a01b038816600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610864576020015194506104f19350505050565b805163ffffffff1687111561087b57819350610889565b6108866001836115bc565b92505b50506107c1565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b6000806108fa836040518060600160405280602781526020016117da60279139610c84565b9050610907338583610cfd565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff168061093c576000610988565b6001600160a01b0383166000908152600360205260408120906109606001846115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b604080518082018252600e81526d13dc989a5d08141c9bdd1bd8dbdb60921b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f545b10ff6ce24a094e1b788a77a2b4ffc91c1cef2c94c3ca4093a60ed2bc0ba981840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610b18573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a3a64656c656761746542795369673a20696e76616c6964207369604482015266676e617475726560c81b60648201526084016106a3565b6001600160a01b0381166000908152600560205260408120805491610baf83611611565b919050558914610c0d5760405162461bcd60e51b815260206004820152602360248201527f546f6b656e3a3a64656c656761746542795369673a20696e76616c6964206e6f6044820152626e636560e81b60648201526084016106a3565b87421115610c6d5760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a3a64656c656761746542795369673a207369676e617475726520604482015266195e1c1a5c995960ca1b60648201526084016106a3565b610c77818b610f4e565b505050505b505050505050565b600081600160601b8410610cab5760405162461bcd60e51b81526004016106a391906113e8565b509192915050565b6000836001600160601b0316836001600160601b031611158290610cea5760405162461bcd60e51b81526004016106a391906113e8565b50610cf5838561162a565b949350505050565b6001600160a01b038316610d795760405162461bcd60e51b815260206004820152603d60248201527f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460448201527f72616e736665722066726f6d20746865207a65726f206164647265737300000060648201526084016106a3565b6001600160a01b038216610df55760405162461bcd60e51b815260206004820152603b60248201527f546f6b656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207460448201527f72616e7366657220746f20746865207a65726f2061646472657373000000000060648201526084016106a3565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526037808452610e40936001600160601b03909216928592919061168890830139610cb3565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526031808452610ea894919091169285929091906116fd90830139610fd8565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610f4992918216911683611025565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610fd2828483611025565b50505050565b600080610fe5848661164a565b9050846001600160601b0316816001600160601b03161015839061101c5760405162461bcd60e51b81526004016106a391906113e8565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561105057506000816001600160601b0316115b15610f49576001600160a01b03831615611115576001600160a01b03831660009081526004602052604081205463ffffffff1690816110905760006110dc565b6001600160a01b0385166000908152600360205260408120906110b46001856115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611103828560405180606001604052806029815260200161178960299139610cb3565b9050611111868484846111cd565b5050505b6001600160a01b03821615610f49576001600160a01b03821660009081526004602052604081205463ffffffff16908161115057600061119c565b6001600160a01b0384166000908152600360205260408120906111746001856115bc565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006111c382856040518060600160405280602881526020016117b260289139610fd8565b9050610c7c858484845b60006111f143604051806060016040528060358152602001611754603591396113c5565b905060008463ffffffff1611801561124b57506001600160a01b038516600090815260036020526040812063ffffffff83169161122f6001886115bc565b63ffffffff908116825260208201929092526040016000205416145b156112bf576001600160a01b038516600090815260036020526040812083916112756001886115bc565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff0000000019909216919091179055611370565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600382528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561133f84600161166a565b6001600160a01b0386166000908152600460205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b8410610cab5760405162461bcd60e51b81526004016106a391905b600060208083528351808285015260005b81811015611415578581018301518582016040015282016113f9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461144d57600080fd5b919050565b6000806040838503121561146557600080fd5b61146e83611436565b946020939093013593505050565b60008060006060848603121561149157600080fd5b61149a84611436565b92506114a860208501611436565b9150604084013590509250925092565b6000602082840312156114ca57600080fd5b61098882611436565b60008060008060008060c087890312156114ec57600080fd5b6114f587611436565b95506020870135945060408701359350606087013560ff8116811461151957600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561154657600080fd5b61154f83611436565b915061155d60208401611436565b90509250929050565b6000806040838503121561157957600080fd5b61158283611436565b9150602083013563ffffffff8116811461159b57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff8281168282160390808211156115d9576115d96115a6565b5092915050565b600063ffffffff8084168061160557634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600060018201611623576116236115a6565b5060010190565b6001600160601b038281168282160390808211156115d9576115d96115a6565b6001600160601b038181168382160190808211156115d9576115d96115a6565b63ffffffff8181168382160190808211156115d9576115d96115a656fe546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365546f6b656e3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365546f6b656e3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773546f6b656e3a3a617070726f76653a20616d6f756e7420657863656564732039362062697473546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773546f6b656e3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773546f6b656e3a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a26469706673582212203f47e89a3890ddb64b023d89baea2b2b145880e67a8e0dab1cb4861ec55afe0164736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006315f65843e7582508e4f0aac20a7203e7b09f02
-----Decoded View---------------
Arg [0] : account (address): 0x6315F65843e7582508e4F0aAC20a7203E7B09F02
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006315f65843e7582508e4f0aac20a7203e7b09f02
[ 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.