ERC-20
Gitcoin Grants
Overview
Max Total Supply
100,000,000 GTC
Holders
93,199 ( -0.006%)
Market
Price
$0.82 @ 0.000242 ETH (+6.93%)
Onchain Market Cap
$81,667,700.00
Circulating Supply Market Cap
$49,612,810.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
28.74943 GTCValue
$23.48 ( ~0.00697109696539657 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GTC
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-12 */ // SPDX-License-Identifier: NONE pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // Part: SafeMath // Subject to the MIT license. /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction underflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, errorMessage); return c; } /** * @dev Returns the integer division of two unsigned integers. * Reverts on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. * Reverts with custom message on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: GTC.sol contract GTC { /// @notice EIP-20 token name for this token string public constant name = "Gitcoin"; /// @notice EIP-20 token symbol for this token string public constant symbol = "GTC"; /// @notice EIP-20 token decimals for this token uint8 public constant decimals = 18; /// @notice Total number of tokens in circulation uint public totalSupply = 100_000_000e18; // 100 million GTC /// @notice Address which may mint new tokens address public minter; /// @notice Address of the GTCDistribution contract address public GTCDist; /// @notice The timestamp after which minting may occur uint public mintingAllowedAfter; /// @notice Minimum time between mints uint32 public constant minimumTimeBetweenMints = 1 days * 365; /// @notice Cap on the percentage of totalSupply that can be minted at each mint uint8 public constant mintCap = 2; /// @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 The EIP-712 typehash for the permit struct used by the contract bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when the minter address is changed event MinterChanged(address minter, address newMinter); /// @notice An event thats emitted when the minter address is changed event GTCDistChanged(address delegator, address delegatee); /// @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 GTC token * @param account The initial account to grant all the tokens * @param minter_ The account with minting ability * @param mintingAllowedAfter_ The timestamp after which minting may occur */ constructor(address account, address minter_, uint mintingAllowedAfter_) public { require(mintingAllowedAfter_ >= block.timestamp, "GTC::constructor: minting can only begin after deployment"); balances[account] = uint96(totalSupply); emit Transfer(address(0), account, totalSupply); minter = minter_; emit MinterChanged(address(0), minter); mintingAllowedAfter = mintingAllowedAfter_; } /** * @notice Change the minter address * @param minter_ The address of the new minter */ function setMinter(address minter_) external { require(msg.sender == minter, "GTC::setMinter: only the minter can change the minter address"); emit MinterChanged(minter, minter_); minter = minter_; } /** * @notice Change/set TokenDistribution address, needs to be called after GTCToken contract is deployed * @param GTCDist_ The address of the TokenDistributor contract */ function setGTCDist(address GTCDist_) external { require(msg.sender == minter, "GTC::setGTCDist: only the minter can change the GTCDist address"); emit GTCDistChanged(GTCDist, GTCDist_); GTCDist = GTCDist_; } /** * @notice Mint new tokens * @param dst The address of the destination account * @param rawAmount The number of tokens to be minted */ function mint(address dst, uint rawAmount) external { require(msg.sender == minter, "GTC::mint: only the minter can mint"); require(block.timestamp >= mintingAllowedAfter, "GTC::mint: minting not allowed yet"); require(dst != address(0), "GTC::mint: cannot transfer to the zero address"); // record the mint mintingAllowedAfter = SafeMath.add(block.timestamp, minimumTimeBetweenMints); // mint the amount uint96 amount = safe96(rawAmount, "GTC::mint: amount exceeds 96 bits"); require(amount <= SafeMath.div(SafeMath.mul(totalSupply, mintCap), 100), "GTC::mint: exceeded mint cap"); totalSupply = safe96(SafeMath.add(totalSupply, amount), "GTC::mint: totalSupply exceeds 96 bits"); // transfer the amount to the recipient balances[dst] = add96(balances[dst], amount, "GTC::mint: transfer amount overflows"); emit Transfer(address(0), dst, amount); // move delegates _moveDelegates(address(0), delegates[dst], amount); } /** * @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 == uint(-1)) { amount = uint96(-1); } else { amount = safe96(rawAmount, "GTC::approve: amount exceeds 96 bits"); } allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } /** * @notice Triggers an approval from owner to spends * @param owner The address to approve from * @param spender The address to be approved * @param rawAmount The number of tokens that are approved (2^256-1 means infinite) * @param deadline 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 permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external { uint96 amount; if (rawAmount == uint(-1)) { amount = uint96(-1); } else { amount = safe96(rawAmount, "GTC::permit: amount exceeds 96 bits"); } bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this))); bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline)); bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "GTC::permit: invalid signature"); require(signatory == owner, "GTC::permit: unauthorized"); require(now <= deadline, "GTC::permit: signature expired"); allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @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, "GTC::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, "GTC::approve: amount exceeds 96 bits"); if (spender != src && spenderAllowance != uint96(-1)) { uint96 newAllowance = sub96(spenderAllowance, amount, "GTC::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) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegate votes from `delegator` to `delegatee` * @param delegator The address to delegate votes from * @param delegatee The address to delegate votes to */ function delegateOnDist(address delegator, address delegatee) external { require(msg.sender == GTCDist, "Sender not authorized"); return _delegate(delegator, 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) external { 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), "GTC::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "GTC::delegateBySig: invalid nonce"); require(now <= expiry, "GTC::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) external view returns (uint96) { require(blockNumber < block.number, "GTC::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), "GTC::_transferTokens: cannot transfer from the zero address"); require(dst != address(0), "GTC::_transferTokens: cannot transfer to the zero address"); balances[src] = sub96(balances[src], amount, "GTC::_transferTokens: transfer amount exceeds balance"); balances[dst] = add96(balances[dst], amount, "GTC::_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, "GTC::_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, "GTC::_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, "GTC::_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 pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"minter_","type":"address"},{"internalType":"uint256","name":"mintingAllowedAfter_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"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":false,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"address","name":"delegatee","type":"address"}],"name":"GTCDistChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterChanged","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":[],"name":"GTCDist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_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":"delegator","type":"address"},{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegateOnDist","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":"minimumTimeBetweenMints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintCap","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingAllowedAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","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":[{"internalType":"address","name":"GTCDist_","type":"address"}],"name":"setGTCDist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","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":"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
60806040526a52b7d2dcc80cd2e40000006000553480156200002057600080fd5b50604051620027453803806200274583398101604081905262000043916200016e565b428110156200006f5760405162461bcd60e51b81526004016200006690620001ca565b60405180910390fd5b600080546001600160a01b0385168083526005602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000dd919062000227565b60405180910390a3600180546001600160a01b0319166001600160a01b0384811691909117918290556040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6926200013c92600092911690620001b0565b60405180910390a160035550620002309050565b80516001600160a01b03811681146200016857600080fd5b92915050565b60008060006060848603121562000183578283fd5b6200018f858562000150565b9250620001a0856020860162000150565b9150604084015190509250925092565b6001600160a01b0392831681529116602082015260400190565b60208082526039908201527f4754433a3a636f6e7374727563746f723a206d696e74696e672063616e206f6e60408201527f6c7920626567696e206166746572206465706c6f796d656e7400000000000000606082015260800190565b90815260200190565b61250580620002406000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063c3cda520116100a2578063dd62ed3e11610071578063dd62ed3e146103ba578063e7a324dc146103cd578063f1127ed8146103d5578063fca3b5aa146103f6576101da565b8063c3cda52014610379578063c904e00e1461038c578063d505accf14610394578063d7f6e3db146103a7576101da565b80637ecebe00116100de5780637ecebe001461033857806395d89b411461034b578063a9059cbb14610353578063b4b5ea5714610366576101da565b806370a08231146102fd57806376c71ca114610310578063782d6fe114610318576101da565b806330b36cef1161017c5780635c11d62f1161014b5780635c11d62f146102af5780635c19a95c146102c45780635c583e15146102d75780636fcfff45146102ea576101da565b806330b36cef1461026a578063313ce5671461027257806340c10f1914610287578063587cde1e1461029c576101da565b806318160ddd116101b857806318160ddd1461023257806320606b701461024757806323b872dd1461024f57806330adf81f14610262576101da565b806306fdde03146101df57806307546172146101fd578063095ea7b314610212575b600080fd5b6101e7610409565b6040516101f49190611d29565b60405180910390f35b61020561042c565b6040516101f49190611c4d565b610225610220366004611b70565b61043b565b6040516101f49190611c7b565b61023a6104fa565b6040516101f49190611c86565b61023a610500565b61022561025d366004611ac4565b610524565b61023a61066b565b61023a61068f565b61027a610695565b6040516101f49190612287565b61029a610295366004611b70565b61069a565b005b6102056102aa366004611a75565b6108b5565b6102b76108d0565b6040516101f49190612257565b61029a6102d2366004611a75565b6108d8565b61029a6102e5366004611a90565b6108e5565b6102b76102f8366004611a75565b61091d565b61023a61030b366004611a75565b610935565b61027a610959565b61032b610326366004611b70565b61095e565b6040516101f49190612295565b61023a610346366004611a75565b610b6c565b6101e7610b7e565b610225610361366004611b70565b610b9d565b61032b610374366004611a75565b610bd9565b61029a610387366004611b9a565b610c4a565b610205610e4f565b61029a6103a2366004611b04565b610e5e565b61029a6103b5366004611a75565b61115f565b61023a6103c8366004611a90565b6111f2565b61023a611226565b6103e86103e3366004611bf3565b61124a565b6040516101f4929190612268565b61029a610404366004611a75565b61127f565b6040518060400160405280600781526020016623b4ba31b7b4b760c91b81525081565b6001546001600160a01b031681565b6000806000198314156104515750600019610476565b610473836040518060600160405280602481526020016123e760249139611312565b90505b3360008181526004602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104e6908590612295565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b03831660009081526004602090815260408083203380855290835281842054825160608101909352602480845291936001600160601b0390911692859261057c92889291906123e790830139611312565b9050866001600160a01b0316836001600160a01b0316141580156105a957506001600160601b0382811614155b156106535760006105d383836040518060600160405280603c81526020016123ab603c9139611341565b6001600160a01b038981166000818152600460209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610649908590612295565b60405180910390a3505b61065e878783611380565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035481565b601281565b6001546001600160a01b031633146106cd5760405162461bcd60e51b81526004016106c4906120a0565b60405180910390fd5b6003544210156106ef5760405162461bcd60e51b81526004016106c4906120e3565b6001600160a01b0382166107155760405162461bcd60e51b81526004016106c490611e27565b610723426301e13380611526565b600381905550600061074d8260405180606001604052806021815260200161233460219139611312565b9050610769610762600054600260ff1661154b565b6064611585565b816001600160601b031611156107915760405162461bcd60e51b81526004016106c490611f9d565b6107c76107a9600054836001600160601b0316611526565b60405180606001604052806026815260200161242f60269139611312565b6001600160601b0390811660009081556001600160a01b038516815260056020908152604091829020548251606081019093526024808452610819949190911692859290919061240b908301396115c7565b6001600160a01b03841660008181526005602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610883908590612295565b60405180910390a36001600160a01b038084166000908152600660205260408120546108b0921683611603565b505050565b6006602052600090815260409020546001600160a01b031681565b6301e1338081565b6108e23382611795565b50565b6002546001600160a01b0316331461090f5760405162461bcd60e51b81526004016106c490611dc1565b6109198282611795565b5050565b60086020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600560205260409020546001600160601b031690565b600281565b600043821061097f5760405162461bcd60e51b81526004016106c49061205a565b6001600160a01b03831660009081526008602052604090205463ffffffff16806109ad5760009150506104f4565b6001600160a01b038416600090815260076020908152604080832063ffffffff600019860181168552925290912054168310610a29576001600160a01b03841660009081526007602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506104f4565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff16831015610a645760009150506104f4565b600060001982015b8163ffffffff168163ffffffff161115610b2757600282820363ffffffff16048103610a96611a36565b506001600160a01b038716600090815260076020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610b02576020015194506104f49350505050565b805163ffffffff16871115610b1957819350610b20565b6001820392505b5050610a6c565b506001600160a01b038516600090815260076020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60096020526000908152604090205481565b6040518060400160405280600381526020016247544360e81b81525081565b600080610bc28360405180606001604052806025815260200161248860259139611312565b9050610bcf338583611380565b5060019392505050565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610c04576000610c43565b6001600160a01b0383166000908152600760209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600781526623b4ba31b7b4b760c91b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fa4c5dcb026f4d78750d2f732b3f6c7c54aa4261b5793bf5773d51d8b0447003b610cb561181f565b30604051602001610cc99493929190611ce7565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610d1a9493929190611cc3565b60405160208183030381529060405280519060200120905060008282604051602001610d47929190611c32565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610d849493929190611d0b565b6020604051602081039080840390855afa158015610da6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dd95760405162461bcd60e51b81526004016106c490611d7c565b6001600160a01b03811660009081526009602052604090208054600181019091558914610e185760405162461bcd60e51b81526004016106c4906121df565b87421115610e385760405162461bcd60e51b81526004016106c490612015565b610e42818b611795565b505050505b505050505050565b6002546001600160a01b031681565b6000600019861415610e735750600019610e98565b610e95866040518060600160405280602381526020016124ad60239139611312565b90505b60408051808201909152600781526623b4ba31b7b4b760c91b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fa4c5dcb026f4d78750d2f732b3f6c7c54aa4261b5793bf5773d51d8b0447003b610f0361181f565b30604051602001610f179493929190611ce7565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600983529283208054600181019091559094509192610f89927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611c8f565b60405160208183030381529060405280519060200120905060008282604051602001610fb6929190611c32565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610ff39493929190611d0b565b6020604051602081039080840390855afa158015611015573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110485760405162461bcd60e51b81526004016106c490612220565b8b6001600160a01b0316816001600160a01b0316146110795760405162461bcd60e51b81526004016106c490611ed2565b884211156110995760405162461bcd60e51b81526004016106c490611f09565b84600460008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516111499190612295565b60405180910390a3505050505050505050505050565b6001546001600160a01b031633146111895760405162461bcd60e51b81526004016106c490612125565b6002546040517f12aa09d7887b401e20989b89da323840a273720748810afd3cdcc7ba0aedaeb9916111c8916001600160a01b03909116908490611c61565b60405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0391821660009081526004602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600760209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146112a95760405162461bcd60e51b81526004016106c490612182565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6916112e8916001600160a01b03909116908490611c61565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106113395760405162461bcd60e51b81526004016106c49190611d29565b509192915050565b6000836001600160601b0316836001600160601b0316111582906113785760405162461bcd60e51b81526004016106c49190611d29565b505050900390565b6001600160a01b0383166113a65760405162461bcd60e51b81526004016106c490611e75565b6001600160a01b0382166113cc5760405162461bcd60e51b81526004016106c490611f40565b6001600160a01b038316600090815260056020908152604091829020548251606081019093526035808452611417936001600160601b0390921692859291906122d990830139611341565b6001600160a01b03848116600090815260056020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f80845261147f9491909116928592909190612355908301396115c7565b6001600160a01b038381166000818152600560205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906114ec908590612295565b60405180910390a36001600160a01b038084166000908152600660205260408082205485841683529120546108b092918216911683611603565b600082820183811015610c435760405162461bcd60e51b81526004016106c490611df0565b60008261155a575060006104f4565b8282028284828161156757fe5b0414610c435760405162461bcd60e51b81526004016106c490611fd4565b6000610c4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611823565b6000838301826001600160601b0380871690831610156115fa5760405162461bcd60e51b81526004016106c49190611d29565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561162e57506000816001600160601b0316115b156108b0576001600160a01b038316156116e6576001600160a01b03831660009081526008602052604081205463ffffffff16908161166e5760006116ad565b6001600160a01b0385166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116d4828560405180606001604052806027815260200161238460279139611341565b90506116e28684848461185a565b5050505b6001600160a01b038216156108b0576001600160a01b03821660009081526008602052604081205463ffffffff169081611721576000611760565b6001600160a01b0384166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611787828560405180606001604052806026815260200161230e602691396115c7565b9050610e478584848461185a565b6001600160a01b03808316600081815260066020818152604080842080546005845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611819828483611603565b50505050565b4690565b600081836118445760405162461bcd60e51b81526004016106c49190611d29565b50600083858161185057fe5b0495945050505050565b600061187e4360405180606001604052806033815260200161245560339139611a0f565b905060008463ffffffff161180156118c757506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611926576001600160a01b0385166000908152600760209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556119c5565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600783528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600890935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611a009291906122a9565b60405180910390a25050505050565b600081600160201b84106113395760405162461bcd60e51b81526004016106c49190611d29565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104f457600080fd5b803560ff811681146104f457600080fd5b600060208284031215611a86578081fd5b610c438383611a4d565b60008060408385031215611aa2578081fd5b611aac8484611a4d565b9150611abb8460208501611a4d565b90509250929050565b600080600060608486031215611ad8578081fd5b8335611ae3816122c3565b92506020840135611af3816122c3565b929592945050506040919091013590565b600080600080600080600060e0888a031215611b1e578283fd5b611b288989611a4d565b9650611b378960208a01611a4d565b95506040880135945060608801359350611b548960808a01611a64565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b82578182fd5b611b8c8484611a4d565b946020939093013593505050565b60008060008060008060c08789031215611bb2578182fd5b611bbc8888611a4d565b95506020870135945060408701359350611bd98860608901611a64565b92506080870135915060a087013590509295509295509295565b60008060408385031215611c05578182fd5b611c0f8484611a4d565b9150602083013563ffffffff81168114611c27578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611d5557858101830151858201604001528201611d39565b81811115611d665783604083870101525b50601f01601f1916929092016040019392505050565b60208082526025908201527f4754433a3a64656c656761746542795369673a20696e76616c6964207369676e604082015264617475726560d81b606082015260800190565b60208082526015908201527414d95b99195c881b9bdd08185d5d1a1bdc9a5e9959605a1b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602e908201527f4754433a3a6d696e743a2063616e6e6f74207472616e7366657220746f20746860408201526d65207a65726f206164647265737360901b606082015260800190565b6020808252603b908201527f4754433a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160408201527f6e736665722066726f6d20746865207a65726f20616464726573730000000000606082015260800190565b60208082526019908201527f4754433a3a7065726d69743a20756e617574686f72697a656400000000000000604082015260600190565b6020808252601e908201527f4754433a3a7065726d69743a207369676e617475726520657870697265640000604082015260600190565b60208082526039908201527f4754433a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160408201527f6e7366657220746f20746865207a65726f206164647265737300000000000000606082015260800190565b6020808252601c908201527f4754433a3a6d696e743a206578636565646564206d696e742063617000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526025908201527f4754433a3a64656c656761746542795369673a207369676e61747572652065786040820152641c1a5c995960da1b606082015260800190565b60208082526026908201527f4754433a3a6765745072696f72566f7465733a206e6f742079657420646574656040820152651c9b5a5b995960d21b606082015260800190565b60208082526023908201527f4754433a3a6d696e743a206f6e6c7920746865206d696e7465722063616e206d6040820152621a5b9d60ea1b606082015260800190565b60208082526022908201527f4754433a3a6d696e743a206d696e74696e67206e6f7420616c6c6f7765642079604082015261195d60f21b606082015260800190565b6020808252603f908201527f4754433a3a736574475443446973743a206f6e6c7920746865206d696e74657260408201527f2063616e206368616e6765207468652047544344697374206164647265737300606082015260800190565b6020808252603d908201527f4754433a3a7365744d696e7465723a206f6e6c7920746865206d696e7465722060408201527f63616e206368616e676520746865206d696e7465722061646472657373000000606082015260800190565b60208082526021908201527f4754433a3a64656c656761746542795369673a20696e76616c6964206e6f6e636040820152606560f81b606082015260800190565b6020808252601e908201527f4754433a3a7065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b0392831681529116602082015260400190565b6001600160a01b03811681146108e257600080fdfe4754433a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63654754433a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77734754433a3a6d696e743a20616d6f756e74206578636565647320393620626974734754433a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77734754433a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77734754433a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63654754433a3a617070726f76653a20616d6f756e74206578636565647320393620626974734754433a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f77734754433a3a6d696e743a20746f74616c537570706c79206578636565647320393620626974734754433a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734754433a3a7472616e736665723a20616d6f756e74206578636565647320393620626974734754433a3a7065726d69743a20616d6f756e7420657863656564732039362062697473a2646970667358221220ed2ac6cab41d7f012a073849a987ec9f845d91e7a611c7b893bba4176af525ef64736f6c634300060c0033000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b96000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b960000000000000000000000000000000000000000000000000000000061cffbf0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063c3cda520116100a2578063dd62ed3e11610071578063dd62ed3e146103ba578063e7a324dc146103cd578063f1127ed8146103d5578063fca3b5aa146103f6576101da565b8063c3cda52014610379578063c904e00e1461038c578063d505accf14610394578063d7f6e3db146103a7576101da565b80637ecebe00116100de5780637ecebe001461033857806395d89b411461034b578063a9059cbb14610353578063b4b5ea5714610366576101da565b806370a08231146102fd57806376c71ca114610310578063782d6fe114610318576101da565b806330b36cef1161017c5780635c11d62f1161014b5780635c11d62f146102af5780635c19a95c146102c45780635c583e15146102d75780636fcfff45146102ea576101da565b806330b36cef1461026a578063313ce5671461027257806340c10f1914610287578063587cde1e1461029c576101da565b806318160ddd116101b857806318160ddd1461023257806320606b701461024757806323b872dd1461024f57806330adf81f14610262576101da565b806306fdde03146101df57806307546172146101fd578063095ea7b314610212575b600080fd5b6101e7610409565b6040516101f49190611d29565b60405180910390f35b61020561042c565b6040516101f49190611c4d565b610225610220366004611b70565b61043b565b6040516101f49190611c7b565b61023a6104fa565b6040516101f49190611c86565b61023a610500565b61022561025d366004611ac4565b610524565b61023a61066b565b61023a61068f565b61027a610695565b6040516101f49190612287565b61029a610295366004611b70565b61069a565b005b6102056102aa366004611a75565b6108b5565b6102b76108d0565b6040516101f49190612257565b61029a6102d2366004611a75565b6108d8565b61029a6102e5366004611a90565b6108e5565b6102b76102f8366004611a75565b61091d565b61023a61030b366004611a75565b610935565b61027a610959565b61032b610326366004611b70565b61095e565b6040516101f49190612295565b61023a610346366004611a75565b610b6c565b6101e7610b7e565b610225610361366004611b70565b610b9d565b61032b610374366004611a75565b610bd9565b61029a610387366004611b9a565b610c4a565b610205610e4f565b61029a6103a2366004611b04565b610e5e565b61029a6103b5366004611a75565b61115f565b61023a6103c8366004611a90565b6111f2565b61023a611226565b6103e86103e3366004611bf3565b61124a565b6040516101f4929190612268565b61029a610404366004611a75565b61127f565b6040518060400160405280600781526020016623b4ba31b7b4b760c91b81525081565b6001546001600160a01b031681565b6000806000198314156104515750600019610476565b610473836040518060600160405280602481526020016123e760249139611312565b90505b3360008181526004602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104e6908590612295565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b03831660009081526004602090815260408083203380855290835281842054825160608101909352602480845291936001600160601b0390911692859261057c92889291906123e790830139611312565b9050866001600160a01b0316836001600160a01b0316141580156105a957506001600160601b0382811614155b156106535760006105d383836040518060600160405280603c81526020016123ab603c9139611341565b6001600160a01b038981166000818152600460209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610649908590612295565b60405180910390a3505b61065e878783611380565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035481565b601281565b6001546001600160a01b031633146106cd5760405162461bcd60e51b81526004016106c4906120a0565b60405180910390fd5b6003544210156106ef5760405162461bcd60e51b81526004016106c4906120e3565b6001600160a01b0382166107155760405162461bcd60e51b81526004016106c490611e27565b610723426301e13380611526565b600381905550600061074d8260405180606001604052806021815260200161233460219139611312565b9050610769610762600054600260ff1661154b565b6064611585565b816001600160601b031611156107915760405162461bcd60e51b81526004016106c490611f9d565b6107c76107a9600054836001600160601b0316611526565b60405180606001604052806026815260200161242f60269139611312565b6001600160601b0390811660009081556001600160a01b038516815260056020908152604091829020548251606081019093526024808452610819949190911692859290919061240b908301396115c7565b6001600160a01b03841660008181526005602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610883908590612295565b60405180910390a36001600160a01b038084166000908152600660205260408120546108b0921683611603565b505050565b6006602052600090815260409020546001600160a01b031681565b6301e1338081565b6108e23382611795565b50565b6002546001600160a01b0316331461090f5760405162461bcd60e51b81526004016106c490611dc1565b6109198282611795565b5050565b60086020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600560205260409020546001600160601b031690565b600281565b600043821061097f5760405162461bcd60e51b81526004016106c49061205a565b6001600160a01b03831660009081526008602052604090205463ffffffff16806109ad5760009150506104f4565b6001600160a01b038416600090815260076020908152604080832063ffffffff600019860181168552925290912054168310610a29576001600160a01b03841660009081526007602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506104f4565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff16831015610a645760009150506104f4565b600060001982015b8163ffffffff168163ffffffff161115610b2757600282820363ffffffff16048103610a96611a36565b506001600160a01b038716600090815260076020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610b02576020015194506104f49350505050565b805163ffffffff16871115610b1957819350610b20565b6001820392505b5050610a6c565b506001600160a01b038516600090815260076020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60096020526000908152604090205481565b6040518060400160405280600381526020016247544360e81b81525081565b600080610bc28360405180606001604052806025815260200161248860259139611312565b9050610bcf338583611380565b5060019392505050565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610c04576000610c43565b6001600160a01b0383166000908152600760209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600781526623b4ba31b7b4b760c91b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fa4c5dcb026f4d78750d2f732b3f6c7c54aa4261b5793bf5773d51d8b0447003b610cb561181f565b30604051602001610cc99493929190611ce7565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610d1a9493929190611cc3565b60405160208183030381529060405280519060200120905060008282604051602001610d47929190611c32565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610d849493929190611d0b565b6020604051602081039080840390855afa158015610da6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dd95760405162461bcd60e51b81526004016106c490611d7c565b6001600160a01b03811660009081526009602052604090208054600181019091558914610e185760405162461bcd60e51b81526004016106c4906121df565b87421115610e385760405162461bcd60e51b81526004016106c490612015565b610e42818b611795565b505050505b505050505050565b6002546001600160a01b031681565b6000600019861415610e735750600019610e98565b610e95866040518060600160405280602381526020016124ad60239139611312565b90505b60408051808201909152600781526623b4ba31b7b4b760c91b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fa4c5dcb026f4d78750d2f732b3f6c7c54aa4261b5793bf5773d51d8b0447003b610f0361181f565b30604051602001610f179493929190611ce7565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600983529283208054600181019091559094509192610f89927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611c8f565b60405160208183030381529060405280519060200120905060008282604051602001610fb6929190611c32565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610ff39493929190611d0b565b6020604051602081039080840390855afa158015611015573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110485760405162461bcd60e51b81526004016106c490612220565b8b6001600160a01b0316816001600160a01b0316146110795760405162461bcd60e51b81526004016106c490611ed2565b884211156110995760405162461bcd60e51b81526004016106c490611f09565b84600460008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516111499190612295565b60405180910390a3505050505050505050505050565b6001546001600160a01b031633146111895760405162461bcd60e51b81526004016106c490612125565b6002546040517f12aa09d7887b401e20989b89da323840a273720748810afd3cdcc7ba0aedaeb9916111c8916001600160a01b03909116908490611c61565b60405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0391821660009081526004602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600760209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146112a95760405162461bcd60e51b81526004016106c490612182565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6916112e8916001600160a01b03909116908490611c61565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106113395760405162461bcd60e51b81526004016106c49190611d29565b509192915050565b6000836001600160601b0316836001600160601b0316111582906113785760405162461bcd60e51b81526004016106c49190611d29565b505050900390565b6001600160a01b0383166113a65760405162461bcd60e51b81526004016106c490611e75565b6001600160a01b0382166113cc5760405162461bcd60e51b81526004016106c490611f40565b6001600160a01b038316600090815260056020908152604091829020548251606081019093526035808452611417936001600160601b0390921692859291906122d990830139611341565b6001600160a01b03848116600090815260056020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f80845261147f9491909116928592909190612355908301396115c7565b6001600160a01b038381166000818152600560205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906114ec908590612295565b60405180910390a36001600160a01b038084166000908152600660205260408082205485841683529120546108b092918216911683611603565b600082820183811015610c435760405162461bcd60e51b81526004016106c490611df0565b60008261155a575060006104f4565b8282028284828161156757fe5b0414610c435760405162461bcd60e51b81526004016106c490611fd4565b6000610c4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611823565b6000838301826001600160601b0380871690831610156115fa5760405162461bcd60e51b81526004016106c49190611d29565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561162e57506000816001600160601b0316115b156108b0576001600160a01b038316156116e6576001600160a01b03831660009081526008602052604081205463ffffffff16908161166e5760006116ad565b6001600160a01b0385166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116d4828560405180606001604052806027815260200161238460279139611341565b90506116e28684848461185a565b5050505b6001600160a01b038216156108b0576001600160a01b03821660009081526008602052604081205463ffffffff169081611721576000611760565b6001600160a01b0384166000908152600760209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611787828560405180606001604052806026815260200161230e602691396115c7565b9050610e478584848461185a565b6001600160a01b03808316600081815260066020818152604080842080546005845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611819828483611603565b50505050565b4690565b600081836118445760405162461bcd60e51b81526004016106c49190611d29565b50600083858161185057fe5b0495945050505050565b600061187e4360405180606001604052806033815260200161245560339139611a0f565b905060008463ffffffff161180156118c757506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611926576001600160a01b0385166000908152600760209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556119c5565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600783528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600890935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611a009291906122a9565b60405180910390a25050505050565b600081600160201b84106113395760405162461bcd60e51b81526004016106c49190611d29565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104f457600080fd5b803560ff811681146104f457600080fd5b600060208284031215611a86578081fd5b610c438383611a4d565b60008060408385031215611aa2578081fd5b611aac8484611a4d565b9150611abb8460208501611a4d565b90509250929050565b600080600060608486031215611ad8578081fd5b8335611ae3816122c3565b92506020840135611af3816122c3565b929592945050506040919091013590565b600080600080600080600060e0888a031215611b1e578283fd5b611b288989611a4d565b9650611b378960208a01611a4d565b95506040880135945060608801359350611b548960808a01611a64565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611b82578182fd5b611b8c8484611a4d565b946020939093013593505050565b60008060008060008060c08789031215611bb2578182fd5b611bbc8888611a4d565b95506020870135945060408701359350611bd98860608901611a64565b92506080870135915060a087013590509295509295509295565b60008060408385031215611c05578182fd5b611c0f8484611a4d565b9150602083013563ffffffff81168114611c27578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611d5557858101830151858201604001528201611d39565b81811115611d665783604083870101525b50601f01601f1916929092016040019392505050565b60208082526025908201527f4754433a3a64656c656761746542795369673a20696e76616c6964207369676e604082015264617475726560d81b606082015260800190565b60208082526015908201527414d95b99195c881b9bdd08185d5d1a1bdc9a5e9959605a1b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602e908201527f4754433a3a6d696e743a2063616e6e6f74207472616e7366657220746f20746860408201526d65207a65726f206164647265737360901b606082015260800190565b6020808252603b908201527f4754433a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160408201527f6e736665722066726f6d20746865207a65726f20616464726573730000000000606082015260800190565b60208082526019908201527f4754433a3a7065726d69743a20756e617574686f72697a656400000000000000604082015260600190565b6020808252601e908201527f4754433a3a7065726d69743a207369676e617475726520657870697265640000604082015260600190565b60208082526039908201527f4754433a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160408201527f6e7366657220746f20746865207a65726f206164647265737300000000000000606082015260800190565b6020808252601c908201527f4754433a3a6d696e743a206578636565646564206d696e742063617000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526025908201527f4754433a3a64656c656761746542795369673a207369676e61747572652065786040820152641c1a5c995960da1b606082015260800190565b60208082526026908201527f4754433a3a6765745072696f72566f7465733a206e6f742079657420646574656040820152651c9b5a5b995960d21b606082015260800190565b60208082526023908201527f4754433a3a6d696e743a206f6e6c7920746865206d696e7465722063616e206d6040820152621a5b9d60ea1b606082015260800190565b60208082526022908201527f4754433a3a6d696e743a206d696e74696e67206e6f7420616c6c6f7765642079604082015261195d60f21b606082015260800190565b6020808252603f908201527f4754433a3a736574475443446973743a206f6e6c7920746865206d696e74657260408201527f2063616e206368616e6765207468652047544344697374206164647265737300606082015260800190565b6020808252603d908201527f4754433a3a7365744d696e7465723a206f6e6c7920746865206d696e7465722060408201527f63616e206368616e676520746865206d696e7465722061646472657373000000606082015260800190565b60208082526021908201527f4754433a3a64656c656761746542795369673a20696e76616c6964206e6f6e636040820152606560f81b606082015260800190565b6020808252601e908201527f4754433a3a7065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b0392831681529116602082015260400190565b6001600160a01b03811681146108e257600080fdfe4754433a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63654754433a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77734754433a3a6d696e743a20616d6f756e74206578636565647320393620626974734754433a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77734754433a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77734754433a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63654754433a3a617070726f76653a20616d6f756e74206578636565647320393620626974734754433a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f77734754433a3a6d696e743a20746f74616c537570706c79206578636565647320393620626974734754433a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734754433a3a7472616e736665723a20616d6f756e74206578636565647320393620626974734754433a3a7065726d69743a20616d6f756e7420657863656564732039362062697473a2646970667358221220ed2ac6cab41d7f012a073849a987ec9f845d91e7a611c7b893bba4176af525ef64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b96000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b960000000000000000000000000000000000000000000000000000000061cffbf0
-----Decoded View---------------
Arg [0] : account (address): 0xe00AbC6686eE8fA5C45161A5FA75fB99a1026B96
Arg [1] : minter_ (address): 0xe00AbC6686eE8fA5C45161A5FA75fB99a1026B96
Arg [2] : mintingAllowedAfter_ (uint256): 1641020400
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b96
Arg [1] : 000000000000000000000000e00abc6686ee8fa5c45161a5fa75fb99a1026b96
Arg [2] : 0000000000000000000000000000000000000000000000000000000061cffbf0
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.