ERC-20
Launchpad
Overview
Max Total Supply
5,000,000,000 TOKEN
Holders
28,307 ( 0.049%)
Market
Price
$0.06 @ 0.000019 ETH (+15.60%)
Onchain Market Cap
$297,390,000.00
Circulating Supply Market Cap
$115,475,282.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000000001 TOKENValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x68C470db...B44996Ab7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
T1
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 888 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./governance/IGovernanceToken.sol"; import "./tax/ITaxHandler.sol"; import "./treasury/ITreasuryHandler.sol"; /** * @title Tokenfi token contract * @dev The Tokenfi token has modular systems for tax and treasury handler as well as governance capabilities. */ contract T1 is IERC20, IGovernanceToken, Ownable { using Address for address payable; /// @dev Registry of user token balances. mapping(address => uint256) private _balances; /// @dev Registry of addresses users have given allowances to. mapping(address => mapping(address => uint256)) private _allowances; /// @notice Registry of user delegates for governance. mapping(address => address) public delegates; /// @notice Registry of nonces for vote delegation. mapping(address => uint256) public nonces; /// @notice Registry of the number of balance checkpoints an account has. mapping(address => uint32) public numCheckpoints; /// @notice Registry of balance checkpoints per account. mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @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 contract implementing tax calculations. ITaxHandler public taxHandler; /// @notice The contract that performs treasury-related operations. ITreasuryHandler public treasuryHandler; /// @notice Emitted when the tax handler contract is changed. event TaxHandlerChanged(address oldAddress, address newAddress); /// @notice Emitted when the treasury handler contract is changed. event TreasuryHandlerChanged(address oldAddress, address newAddress); /// @dev Name of the token. string private _name; /// @dev Symbol of the token. string private _symbol; /** * @param name_ Name of the token. * @param symbol_ Symbol of the token. * @param taxHandlerAddress Initial tax handler contract. * @param treasuryHandlerAddress Initial treasury handler contract. */ constructor( string memory name_, string memory symbol_, address taxHandlerAddress, address treasuryHandlerAddress ) { _name = name_; _symbol = symbol_; taxHandler = ITaxHandler(taxHandlerAddress); treasuryHandler = ITreasuryHandler(treasuryHandlerAddress); _balances[_msgSender()] = totalSupply(); emit Transfer(address(0), _msgSender(), totalSupply()); } /** * @notice Get token name. * @return Name of the token. */ function name() public view returns (string memory) { return _name; } /** * @notice Get token symbol. * @return Symbol of the token. */ function symbol() external view returns (string memory) { return _symbol; } /** * @notice Get number of decimals used by the token. * @return Number of decimals used by the token. */ function decimals() external pure returns (uint8) { return 9; } /** * @notice Get the maximum number of tokens. * @return The maximum number of tokens that will ever be in existence. */ function totalSupply() public pure override returns (uint256) { // Five billion, i.e., 5,000,000,000 tokens. return 5e9 * 1e9; } /** * @notice Get token balance of given account. * @param account Address to retrieve balance for. * @return The number of tokens owned by `account`. */ function balanceOf(address account) external view override returns (uint256) { return _balances[account]; } /** * @notice Transfer tokens from caller's address to another. * @param recipient Address to send the caller's tokens to. * @param amount The number of tokens to transfer to recipient. * @return True if transfer succeeds, else an error is raised. */ function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @notice Get the allowance `owner` has given `spender`. * @param owner The address on behalf of whom tokens can be spent by `spender`. * @param spender The address authorized to spend tokens on behalf of `owner`. * @return The allowance `owner` has given `spender`. */ function allowance(address owner, address spender) external view override returns (uint256) { return _allowances[owner][spender]; } /** * @notice Approve address to spend caller's tokens. * @dev This method can be exploited by malicious spenders if their allowance is already non-zero. See the following * document for details: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/edit. * Ensure the spender can be trusted before calling this method if they've already been approved before. Otherwise * use either the `increaseAllowance`/`decreaseAllowance` functions, or first set their allowance to zero, before * setting a new allowance. * @param spender Address to authorize for token expenditure. * @param amount The number of tokens `spender` is allowed to spend. * @return True if the approval succeeds, else an error is raised. */ function approve(address spender, uint256 amount) external override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @notice Transfer tokens from one address to another. * @param sender Address to move tokens from. * @param recipient Address to send the caller's tokens to. * @param amount The number of tokens to transfer to recipient. * @return True if the transfer succeeds, else an error is raised. */ function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require( currentAllowance >= amount, "FLOKI:transferFrom:ALLOWANCE_EXCEEDED: Transfer amount exceeds allowance." ); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @notice Increase spender's allowance. * @param spender Address of user authorized to spend caller's tokens. * @param addedValue The number of tokens to add to `spender`'s allowance. * @return True if the allowance is successfully increased, else an error is raised. */ function increaseAllowance(address spender, uint256 addedValue) external returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @notice Decrease spender's allowance. * @param spender Address of user authorized to spend caller's tokens. * @param subtractedValue The number of tokens to remove from `spender`'s allowance. * @return True if the allowance is successfully decreased, else an error is raised. */ function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require( currentAllowance >= subtractedValue, "FLOKI:decreaseAllowance:ALLOWANCE_UNDERFLOW: Subtraction results in sub-zero allowance." ); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @notice Delegate votes to given address. * @dev It should be noted that users that want to vote themselves, also need to call this method, albeit with their * own address. * @param delegatee Address to delegate votes to. */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegate 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, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), block.chainid, 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), "FLOKI:delegateBySig:INVALID_SIGNATURE: Received signature was invalid."); require(block.timestamp <= expiry, "FLOKI:delegateBySig:EXPIRED_SIGNATURE: Received signature has expired."); require(nonce == nonces[signatory]++, "FLOKI:delegateBySig:INVALID_NONCE: Received nonce was invalid."); return _delegate(signatory, delegatee); } /** * @notice Determine the 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 getVotesAtBlock(address account, uint32 blockNumber) public view returns (uint224) { require( blockNumber < block.number, "FLOKI:getVotesAtBlock:FUTURE_BLOCK: Cannot get votes at a block in the future." ); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance. if (checkpoints[account][nCheckpoints - 1].blockNumber <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance. if (checkpoints[account][0].blockNumber > blockNumber) { return 0; } // Perform binary search. uint32 lowerBound = 0; uint32 upperBound = nCheckpoints - 1; while (upperBound > lowerBound) { uint32 center = upperBound - (upperBound - lowerBound) / 2; Checkpoint memory checkpoint = checkpoints[account][center]; if (checkpoint.blockNumber == blockNumber) { return checkpoint.votes; } else if (checkpoint.blockNumber < blockNumber) { lowerBound = center; } else { upperBound = center - 1; } } // No exact block found. Use last known balance before that block number. return checkpoints[account][lowerBound].votes; } /** * @notice Set new tax handler contract. * @param taxHandlerAddress Address of new tax handler contract. */ function setTaxHandler(address taxHandlerAddress) external onlyOwner { address oldTaxHandlerAddress = address(taxHandler); taxHandler = ITaxHandler(taxHandlerAddress); emit TaxHandlerChanged(oldTaxHandlerAddress, taxHandlerAddress); } /** * @notice Set new treasury handler contract. * @param treasuryHandlerAddress Address of new treasury handler contract. */ function setTreasuryHandler(address treasuryHandlerAddress) external onlyOwner { address oldTreasuryHandlerAddress = address(treasuryHandler); treasuryHandler = ITreasuryHandler(treasuryHandlerAddress); emit TreasuryHandlerChanged(oldTreasuryHandlerAddress, treasuryHandlerAddress); } /** * @notice Send any tokens or ETH stuck in the token contract to the treasury handler. * @param tokenAddress Address of the token to withdraw. If set to the zero address, ETH will be withdrawn. * @param amount The number of tokens to withdraw. * @dev The treasury handler has a method to send any tokens to the treasury (except for what it uses to swap). */ function withdraw(address tokenAddress, uint256 amount) external onlyOwner { if (tokenAddress == address(0)) { payable(address(treasuryHandler)).sendValue(amount); } else { IERC20(tokenAddress).transferFrom(address(this), address(treasuryHandler), amount); } } /** * @notice Delegate votes from one address to another. * @param delegator Address from which to delegate votes for. * @param delegatee Address to delegate votes to. */ function _delegate(address delegator, address delegatee) private { address currentDelegate = delegates[delegator]; uint256 delegatorBalance = _balances[delegator]; delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, uint224(delegatorBalance)); } /** * @notice Move delegates from one address to another. * @param from Representative to move delegates from. * @param to Representative to move delegates to. * @param amount Number of delegates to move. */ function _moveDelegates( address from, address to, uint224 amount ) private { // No need to update checkpoints if the votes don't actually move between different delegates. This can be the // case where tokens are transferred between two parties that have delegated their votes to the same address. if (from == to) { return; } // Some users preemptively delegate their votes (i.e. before they have any tokens). No need to perform an update // to the checkpoints in that case. if (amount == 0) { return; } if (from != address(0)) { uint32 fromRepNum = numCheckpoints[from]; uint224 fromRepOld = fromRepNum > 0 ? checkpoints[from][fromRepNum - 1].votes : 0; uint224 fromRepNew = fromRepOld - amount; _writeCheckpoint(from, fromRepNum, fromRepOld, fromRepNew); } if (to != address(0)) { uint32 toRepNum = numCheckpoints[to]; uint224 toRepOld = toRepNum > 0 ? checkpoints[to][toRepNum - 1].votes : 0; uint224 toRepNew = toRepOld + amount; _writeCheckpoint(to, toRepNum, toRepOld, toRepNew); } } /** * @notice Write balance checkpoint to chain. * @param delegatee The address to write the checkpoint for. * @param nCheckpoints The number of checkpoints `delegatee` already has. * @param oldVotes Number of votes prior to this checkpoint. * @param newVotes Number of votes `delegatee` now has. */ function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint224 oldVotes, uint224 newVotes ) private { uint32 blockNumber = uint32(block.number); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].blockNumber == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } /** * @notice Approve spender on behalf of owner. * @param owner Address on behalf of whom tokens can be spent by `spender`. * @param spender Address to authorize for token expenditure. * @param amount The number of tokens `spender` is allowed to spend. */ function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "FLOKI:_approve:OWNER_ZERO: Cannot approve for the zero address."); require(spender != address(0), "FLOKI:_approve:SPENDER_ZERO: Cannot approve to the zero address."); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @notice Transfer `amount` tokens from account `from` to account `to`. * @param from Address the tokens are moved out of. * @param to Address the tokens are moved to. * @param amount The number of tokens to transfer. */ function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "FLOKI:_transfer:FROM_ZERO: Cannot transfer from the zero address."); require(to != address(0), "FLOKI:_transfer:TO_ZERO: Cannot transfer to the zero address."); require(amount > 0, "FLOKI:_transfer:ZERO_AMOUNT: Transfer amount must be greater than zero."); require(amount <= _balances[from], "FLOKI:_transfer:INSUFFICIENT_BALANCE: Transfer amount exceeds balance."); treasuryHandler.beforeTransferHandler(from, to, amount); uint256 tax = taxHandler.getTax(from, to, amount); uint256 taxedAmount = amount - tax; _balances[from] -= amount; _balances[to] += taxedAmount; _moveDelegates(delegates[from], delegates[to], uint224(taxedAmount)); if (tax > 0) { _balances[address(treasuryHandler)] += tax; _moveDelegates(delegates[from], delegates[address(treasuryHandler)], uint224(tax)); emit Transfer(from, address(treasuryHandler), tax); } treasuryHandler.afterTransferHandler(from, to, amount); emit Transfer(from, to, taxedAmount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @title Governance token interface. */ interface IGovernanceToken { /// @notice A checkpoint for marking number of votes as of a given block. struct Checkpoint { // The 32-bit unsigned integer is valid until these estimated dates for these given chains: // - BSC: Sat Dec 23 2428 18:23:11 UTC // - ETH: Tue Apr 18 3826 09:27:12 UTC // This assumes that block mining rates don't speed up. uint32 blockNumber; // This type is set to `uint224` for optimizations purposes (i.e., specifically to fit in a 32-byte block). It // assumes that the number of votes for the implementing governance token never exceeds the maximum value for a // 224-bit number. uint224 votes; } /** * @notice Determine the 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 getVotesAtBlock(address account, uint32 blockNumber) external view returns (uint224); /// @notice Emitted whenever a new delegate is set for an account. event DelegateChanged(address indexed delegator, address currentDelegate, address newDelegate); /// @notice Emitted when a delegate's vote count changes. event DelegateVotesChanged(address indexed delegatee, uint224 oldVotes, uint224 newVotes); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @title Tax handler interface * @dev Any class that implements this interface can be used for protocol-specific tax calculations. */ interface ITaxHandler { /** * @notice Get number of tokens to pay as tax. * @param benefactor Address of the benefactor. * @param beneficiary Address of the beneficiary. * @param amount Number of tokens in the transfer. * @return Number of tokens to pay as tax. */ function getTax( address benefactor, address beneficiary, uint256 amount ) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @title Treasury handler interface * @dev Any class that implements this interface can be used for protocol-specific operations pertaining to the treasury. */ interface ITreasuryHandler { /** * @notice Perform operations before a transfer is executed. * @param benefactor Address of the benefactor. * @param beneficiary Address of the beneficiary. * @param amount Number of tokens in the transfer. */ function beforeTransferHandler( address benefactor, address beneficiary, uint256 amount ) external; /** * @notice Perform operations after a transfer is executed. * @param benefactor Address of the benefactor. * @param beneficiary Address of the beneficiary. * @param amount Number of tokens in the transfer. */ function afterTransferHandler( address benefactor, address beneficiary, uint256 amount ) external; }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 888 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"taxHandlerAddress","type":"address"},{"internalType":"address","name":"treasuryHandlerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"address","name":"currentDelegate","type":"address"},{"indexed":false,"internalType":"address","name":"newDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegatee","type":"address"},{"indexed":false,"internalType":"uint224","name":"oldVotes","type":"uint224"},{"indexed":false,"internalType":"uint224","name":"newVotes","type":"uint224"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"TaxHandlerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"TreasuryHandlerChanged","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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"blockNumber","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"internalType":"uint32","name":"blockNumber","type":"uint32"}],"name":"getVotesAtBlock","outputs":[{"internalType":"uint224","name":"","type":"uint224"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"taxHandlerAddress","type":"address"}],"name":"setTaxHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryHandlerAddress","type":"address"}],"name":"setTreasuryHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxHandler","outputs":[{"internalType":"contract ITaxHandler","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryHandler","outputs":[{"internalType":"contract ITreasuryHandler","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002580380380620025808339810160408190526200003491620002fb565b6200003f336200011b565b8351620000549060099060208701906200016b565b5082516200006a90600a9060208601906200016b565b50600780546001600160a01b038085166001600160a01b0319928316179092556008805492841692909116919091179055620000ab674563918244f4000090565b60016000336001600160a01b03168152602081019190915260400160002055336001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef674563918244f4000060405190815260200160405180910390a350505050620003c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000179906200038a565b90600052602060002090601f0160209004810192826200019d5760008555620001e8565b82601f10620001b857805160ff1916838001178555620001e8565b82800160010185558215620001e8579182015b82811115620001e8578251825591602001919060010190620001cb565b50620001f6929150620001fa565b5090565b5b80821115620001f65760008155600101620001fb565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023957600080fd5b81516001600160401b038082111562000256576200025662000211565b604051601f8301601f19908116603f0116810190828211818310171562000281576200028162000211565b816040528381526020925086838588010111156200029e57600080fd5b600091505b83821015620002c25785820183015181830184015290820190620002a3565b83821115620002d45760008385830101525b9695505050505050565b80516001600160a01b0381168114620002f657600080fd5b919050565b600080600080608085870312156200031257600080fd5b84516001600160401b03808211156200032a57600080fd5b620003388883890162000227565b955060208701519150808211156200034f57600080fd5b506200035e8782880162000227565b9350506200036f60408601620002de565b91506200037f60608601620002de565b905092959194509250565b600181811c908216806200039f57607f821691505b60208210811415620003c157634e487b7160e01b600052602260045260246000fd5b50919050565b6121a980620003d76000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a9373b7b11610097578063e7a324dc11610071578063e7a324dc14610462578063f1127ed814610489578063f2fde38b146104f1578063f3fef3a31461050457600080fd5b8063a9373b7b14610403578063c3cda52014610416578063dd62ed3e1461042957600080fd5b80638da5cb5b116100d35780638da5cb5b146103c457806395d89b41146103d5578063a457c2d7146103dd578063a9059cbb146103f057600080fd5b806370a0823114610373578063715018a61461039c5780637ecebe00146103a457600080fd5b8063271a452911610166578063488d4a5111610140578063488d4a51146102e7578063587cde1e146102fc5780635c19a95c146103255780636fcfff451461033857600080fd5b8063271a45291461029a578063313ce567146102c557806339509351146102d457600080fd5b806317889633116101a2578063178896331461023557806318160ddd1461024857806320606b701461026057806323b872dd1461028757600080fd5b806306fdde03146101c9578063095ea7b3146101e757806312280ba81461020a575b600080fd5b6101d1610517565b6040516101de9190611e3a565b60405180910390f35b6101fa6101f5366004611eab565b6105a9565b60405190151581526020016101de565b60075461021d906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b60085461021d906001600160a01b031681565b674563918244f400005b6040519081526020016101de565b6102527f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101fa610295366004611ed5565b6105c0565b6102ad6102a8366004611f11565b6106aa565b6040516001600160e01b0390911681526020016101de565b604051600981526020016101de565b6101fa6102e2366004611eab565b610984565b6102fa6102f5366004611f51565b6109c0565b005b61021d61030a366004611f51565b6003602052600090815260409020546001600160a01b031681565b6102fa610333366004611f51565b610a88565b61035e610346366004611f51565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101de565b610252610381366004611f51565b6001600160a01b031660009081526001602052604090205490565b6102fa610a95565b6102526103b2366004611f51565b60046020526000908152604090205481565b6000546001600160a01b031661021d565b6101d1610afb565b6101fa6103eb366004611eab565b610b0a565b6101fa6103fe366004611eab565b610be1565b6102fa610411366004611f51565b610bee565b6102fa610424366004611f73565b610caf565b610252610437366004611fd3565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102527fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104cd610497366004611f11565b600660209081526000928352604080842090915290825290205463ffffffff81169064010000000090046001600160e01b031682565b6040805163ffffffff90931683526001600160e01b039091166020830152016101de565b6102fa6104ff366004611f51565b611009565b6102fa610512366004611eab565b6110e8565b60606009805461052690612006565b80601f016020809104026020016040519081016040528092919081815260200182805461055290612006565b801561059f5780601f106105745761010080835404028352916020019161059f565b820191906000526020600020905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b60006105b6338484611205565b5060015b92915050565b60006105cd848484611360565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106925760405162461bcd60e51b815260206004820152604960248201527f464c4f4b493a7472616e7366657246726f6d3a414c4c4f57414e43455f45584360448201527f45454445443a205472616e7366657220616d6f756e742065786365656473206160648201527f6c6c6f77616e63652e0000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b61069f8533858403611205565b506001949350505050565b6000438263ffffffff161061074d5760405162461bcd60e51b815260206004820152604e60248201527f464c4f4b493a676574566f7465734174426c6f636b3a4655545552455f424c4f60448201527f434b3a2043616e6e6f742067657420766f746573206174206120626c6f636b2060648201527f696e20746865206675747572652e000000000000000000000000000000000000608482015260a401610689565b6001600160a01b03831660009081526005602052604090205463ffffffff168061077b5760009150506105ba565b6001600160a01b038416600090815260066020526040812063ffffffff8516916107a6600185612057565b63ffffffff9081168252602082019290925260400160002054161161081a576001600160a01b0384166000908152600660205260408120906107e9600184612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b031691506105ba9050565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff808516911611156108585760009150506105ba565b600080610866600184612057565b90505b8163ffffffff168163ffffffff16111561093e576000600261088b8484612057565b610895919061207c565b61089f9083612057565b6001600160a01b038816600090815260066020908152604080832063ffffffff8581168552908352928190208151808301909252548084168083526401000000009091046001600160e01b031692820192909252929350908816141561090f576020015194506105ba9350505050565b805163ffffffff8089169116101561092957819350610937565b610934600183612057565b92505b5050610869565b506001600160a01b038516600090815260066020908152604080832063ffffffff909416835292905220546001600160e01b036401000000009091041691505092915050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105b69185906109bb9086906120ad565b611205565b6000546001600160a01b03163314610a1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ed910c9481701ba32afe0c247572aaece27072f230c8ec769bf245fc0b38de691015b60405180910390a15050565b610a9233826118fb565b50565b6000546001600160a01b03163314610aef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b610af96000611995565b565b6060600a805461052690612006565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610bca5760405162461bcd60e51b815260206004820152605760248201527f464c4f4b493a6465637265617365416c6c6f77616e63653a414c4c4f57414e4360448201527f455f554e444552464c4f573a205375627472616374696f6e20726573756c747360648201527f20696e207375622d7a65726f20616c6c6f77616e63652e000000000000000000608482015260a401610689565b610bd73385858403611205565b5060019392505050565b60006105b6338484611360565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527f1bf87992a35ee29395ab494f9adb9a500a7fa60c3082cba0ef02701bb35900d99101610a7c565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610cda610517565b8051602091820120604080518084019490945283810191909152466060840152306080808501919091528151808503909101815260a0840182528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08501526001600160a01b038b1660e085015261010084018a90526101208085018a90528251808603909101815261014085019092528151919092012061190160f01b61016084015261016283018290526101828301819052909250906000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610e0b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610eba5760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a64656c656761746542795369673a494e56414c49445f5349474e60448201527f41545552453a205265636569766564207369676e61747572652077617320696e60648201527f76616c69642e0000000000000000000000000000000000000000000000000000608482015260a401610689565b87421115610f565760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a64656c656761746542795369673a455850495245445f5349474e60448201527f41545552453a205265636569766564207369676e61747572652068617320657860648201527f70697265642e0000000000000000000000000000000000000000000000000000608482015260a401610689565b6001600160a01b0381166000908152600460205260408120805491610f7a836120c5565b919050558914610ff25760405162461bcd60e51b815260206004820152603e60248201527f464c4f4b493a64656c656761746542795369673a494e56414c49445f4e4f4e4360448201527f453a205265636569766564206e6f6e63652077617320696e76616c69642e00006064820152608401610689565b610ffc818b6118fb565b505050505b505050505050565b6000546001600160a01b031633146110635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b6001600160a01b0381166110df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610689565b610a9281611995565b6000546001600160a01b031633146111425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b6001600160a01b03821661116a57600854611166906001600160a01b0316826119f2565b5050565b6008546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03918216602482015260448101839052908316906323b872dd906064016020604051808303816000875af11580156111dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120091906120e0565b505050565b6001600160a01b0383166112815760405162461bcd60e51b815260206004820152603f60248201527f464c4f4b493a5f617070726f76653a4f574e45525f5a45524f3a2043616e6e6f60448201527f7420617070726f766520666f7220746865207a65726f20616464726573732e006064820152608401610689565b6001600160a01b0382166112ff576040805162461bcd60e51b81526020600482015260248101919091527f464c4f4b493a5f617070726f76653a5350454e4445525f5a45524f3a2043616e60448201527f6e6f7420617070726f766520746f20746865207a65726f20616464726573732e6064820152608401610689565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152604160248201527f464c4f4b493a5f7472616e736665723a46524f4d5f5a45524f3a2043616e6e6f60448201527f74207472616e736665722066726f6d20746865207a65726f20616464726573736064820152601760f91b608482015260a401610689565b6001600160a01b0382166114625760405162461bcd60e51b815260206004820152603d60248201527f464c4f4b493a5f7472616e736665723a544f5f5a45524f3a2043616e6e6f742060448201527f7472616e7366657220746f20746865207a65726f20616464726573732e0000006064820152608401610689565b600081116114fe5760405162461bcd60e51b815260206004820152604760248201527f464c4f4b493a5f7472616e736665723a5a45524f5f414d4f554e543a2054726160448201527f6e7366657220616d6f756e74206d75737420626520677265617465722074686160648201527f6e207a65726f2e00000000000000000000000000000000000000000000000000608482015260a401610689565b6001600160a01b0383166000908152600160205260409020548111156115b25760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a5f7472616e736665723a494e53554646494349454e545f42414c60448201527f414e43453a205472616e7366657220616d6f756e74206578636565647320626160648201527f6c616e63652e0000000000000000000000000000000000000000000000000000608482015260a401610689565b6008546040517fc6512cc10000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018490529091169063c6512cc190606401600060405180830381600087803b15801561162157600080fd5b505af1158015611635573d6000803e3d6000fd5b50506007546040517fd7ad21ac0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015286811660248301526044820186905260009450909116915063d7ad21ac90606401602060405180830381865afa1580156116ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d29190612102565b905060006116e0828461211b565b6001600160a01b03861660009081526001602052604081208054929350859290919061170d90849061211b565b90915550506001600160a01b0384166000908152600160205260408120805483929061173a9084906120ad565b90915550506001600160a01b0380861660009081526003602052604080822054878416835291205461177192918216911683611b0b565b8115611820576008546001600160a01b0316600090815260016020526040812080548492906117a19084906120ad565b90915550506001600160a01b0380861660009081526003602052604080822054600854841683529120546117da92918216911684611b0b565b6008546040518381526001600160a01b03918216918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6008546040517fe613b1cd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387811660048301528681166024830152604482018690529091169063e613b1cd90606401600060405180830381600087803b15801561188f57600080fd5b505af11580156118a3573d6000803e3d6000fd5b50505050836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118ec91815260200190565b60405180910390a35050505050565b6001600160a01b038281166000818152600360208181526040808420805460018452948290205493835287871673ffffffffffffffffffffffffffffffffffffffff198616811790915581519490961680855291840195909552939092917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f910160405180910390a261198f828483611b0b565b50505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80471015611a425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610689565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a8f576040519150601f19603f3d011682016040523d82523d6000602084013e611a94565b606091505b50509050806112005760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610689565b816001600160a01b0316836001600160a01b03161415611b2a57505050565b6001600160e01b038116611b3d57505050565b6001600160a01b03831615611be5576001600160a01b03831660009081526005602052604081205463ffffffff169081611b78576000611bc5565b6001600160a01b038516600090815260066020526040812090611b9c600185612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b03165b90506000611bd38483612132565b9050611be186848484611c85565b5050505b6001600160a01b03821615611200576001600160a01b03821660009081526005602052604081205463ffffffff169081611c20576000611c6d565b6001600160a01b038416600090815260066020526040812090611c44600185612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b03165b90506000611c7b8483612152565b9050611001858484845b4363ffffffff841615801590611cdd57506001600160a01b038516600090815260066020526040812063ffffffff831691611cc1600188612057565b63ffffffff908116825260208201929092526040016000205416145b15611d4d576001600160a01b03851660009081526006602052604081208391611d07600188612057565b63ffffffff1663ffffffff16815260200190815260200160002060000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611de5565b60408051808201825263ffffffff80841682526001600160e01b0380861660208085019182526001600160a01b038b166000908152600682528681208b86168252909152949094209251935116640100000000029216919091179055611db484600161217d565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160e01b038086168252841660208201526001600160a01b038716917fda5a64c2947c0b7bf4d6e7bf736c6f84d9d1c5f991770f88bbeb3fe19c85a134910160405180910390a25050505050565b600060208083528351808285015260005b81811015611e6757858101830151858201604001528201611e4b565b81811115611e79576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ea657600080fd5b919050565b60008060408385031215611ebe57600080fd5b611ec783611e8f565b946020939093013593505050565b600080600060608486031215611eea57600080fd5b611ef384611e8f565b9250611f0160208501611e8f565b9150604084013590509250925092565b60008060408385031215611f2457600080fd5b611f2d83611e8f565b9150602083013563ffffffff81168114611f4657600080fd5b809150509250929050565b600060208284031215611f6357600080fd5b611f6c82611e8f565b9392505050565b60008060008060008060c08789031215611f8c57600080fd5b611f9587611e8f565b95506020870135945060408701359350606087013560ff81168114611fb957600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611fe657600080fd5b611fef83611e8f565b9150611ffd60208401611e8f565b90509250929050565b600181811c9082168061201a57607f821691505b6020821081141561203b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8381169083168181101561207457612074612041565b039392505050565b600063ffffffff808416806120a157634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600082198211156120c0576120c0612041565b500190565b60006000198214156120d9576120d9612041565b5060010190565b6000602082840312156120f257600080fd5b81518015158114611f6c57600080fd5b60006020828403121561211457600080fd5b5051919050565b60008282101561212d5761212d612041565b500390565b60006001600160e01b038381169083168181101561207457612074612041565b60006001600160e01b0380831681851680830382111561217457612174612041565b01949350505050565b600063ffffffff8083168185168083038211156121745761217461204156fea164736f6c634300080b000a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000155e6ff9a7039a7d15f108647ea5ac7c7aa593ac00000000000000000000000007df8296e4d8d161bf76b00fa84367cc43e946810000000000000000000000000000000000000000000000000000000000000002543100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025431000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a9373b7b11610097578063e7a324dc11610071578063e7a324dc14610462578063f1127ed814610489578063f2fde38b146104f1578063f3fef3a31461050457600080fd5b8063a9373b7b14610403578063c3cda52014610416578063dd62ed3e1461042957600080fd5b80638da5cb5b116100d35780638da5cb5b146103c457806395d89b41146103d5578063a457c2d7146103dd578063a9059cbb146103f057600080fd5b806370a0823114610373578063715018a61461039c5780637ecebe00146103a457600080fd5b8063271a452911610166578063488d4a5111610140578063488d4a51146102e7578063587cde1e146102fc5780635c19a95c146103255780636fcfff451461033857600080fd5b8063271a45291461029a578063313ce567146102c557806339509351146102d457600080fd5b806317889633116101a2578063178896331461023557806318160ddd1461024857806320606b701461026057806323b872dd1461028757600080fd5b806306fdde03146101c9578063095ea7b3146101e757806312280ba81461020a575b600080fd5b6101d1610517565b6040516101de9190611e3a565b60405180910390f35b6101fa6101f5366004611eab565b6105a9565b60405190151581526020016101de565b60075461021d906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b60085461021d906001600160a01b031681565b674563918244f400005b6040519081526020016101de565b6102527f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101fa610295366004611ed5565b6105c0565b6102ad6102a8366004611f11565b6106aa565b6040516001600160e01b0390911681526020016101de565b604051600981526020016101de565b6101fa6102e2366004611eab565b610984565b6102fa6102f5366004611f51565b6109c0565b005b61021d61030a366004611f51565b6003602052600090815260409020546001600160a01b031681565b6102fa610333366004611f51565b610a88565b61035e610346366004611f51565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101de565b610252610381366004611f51565b6001600160a01b031660009081526001602052604090205490565b6102fa610a95565b6102526103b2366004611f51565b60046020526000908152604090205481565b6000546001600160a01b031661021d565b6101d1610afb565b6101fa6103eb366004611eab565b610b0a565b6101fa6103fe366004611eab565b610be1565b6102fa610411366004611f51565b610bee565b6102fa610424366004611f73565b610caf565b610252610437366004611fd3565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102527fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104cd610497366004611f11565b600660209081526000928352604080842090915290825290205463ffffffff81169064010000000090046001600160e01b031682565b6040805163ffffffff90931683526001600160e01b039091166020830152016101de565b6102fa6104ff366004611f51565b611009565b6102fa610512366004611eab565b6110e8565b60606009805461052690612006565b80601f016020809104026020016040519081016040528092919081815260200182805461055290612006565b801561059f5780601f106105745761010080835404028352916020019161059f565b820191906000526020600020905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b60006105b6338484611205565b5060015b92915050565b60006105cd848484611360565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106925760405162461bcd60e51b815260206004820152604960248201527f464c4f4b493a7472616e7366657246726f6d3a414c4c4f57414e43455f45584360448201527f45454445443a205472616e7366657220616d6f756e742065786365656473206160648201527f6c6c6f77616e63652e0000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b61069f8533858403611205565b506001949350505050565b6000438263ffffffff161061074d5760405162461bcd60e51b815260206004820152604e60248201527f464c4f4b493a676574566f7465734174426c6f636b3a4655545552455f424c4f60448201527f434b3a2043616e6e6f742067657420766f746573206174206120626c6f636b2060648201527f696e20746865206675747572652e000000000000000000000000000000000000608482015260a401610689565b6001600160a01b03831660009081526005602052604090205463ffffffff168061077b5760009150506105ba565b6001600160a01b038416600090815260066020526040812063ffffffff8516916107a6600185612057565b63ffffffff9081168252602082019290925260400160002054161161081a576001600160a01b0384166000908152600660205260408120906107e9600184612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b031691506105ba9050565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff808516911611156108585760009150506105ba565b600080610866600184612057565b90505b8163ffffffff168163ffffffff16111561093e576000600261088b8484612057565b610895919061207c565b61089f9083612057565b6001600160a01b038816600090815260066020908152604080832063ffffffff8581168552908352928190208151808301909252548084168083526401000000009091046001600160e01b031692820192909252929350908816141561090f576020015194506105ba9350505050565b805163ffffffff8089169116101561092957819350610937565b610934600183612057565b92505b5050610869565b506001600160a01b038516600090815260066020908152604080832063ffffffff909416835292905220546001600160e01b036401000000009091041691505092915050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105b69185906109bb9086906120ad565b611205565b6000546001600160a01b03163314610a1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ed910c9481701ba32afe0c247572aaece27072f230c8ec769bf245fc0b38de691015b60405180910390a15050565b610a9233826118fb565b50565b6000546001600160a01b03163314610aef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b610af96000611995565b565b6060600a805461052690612006565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610bca5760405162461bcd60e51b815260206004820152605760248201527f464c4f4b493a6465637265617365416c6c6f77616e63653a414c4c4f57414e4360448201527f455f554e444552464c4f573a205375627472616374696f6e20726573756c747360648201527f20696e207375622d7a65726f20616c6c6f77616e63652e000000000000000000608482015260a401610689565b610bd73385858403611205565b5060019392505050565b60006105b6338484611360565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527f1bf87992a35ee29395ab494f9adb9a500a7fa60c3082cba0ef02701bb35900d99101610a7c565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610cda610517565b8051602091820120604080518084019490945283810191909152466060840152306080808501919091528151808503909101815260a0840182528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08501526001600160a01b038b1660e085015261010084018a90526101208085018a90528251808603909101815261014085019092528151919092012061190160f01b61016084015261016283018290526101828301819052909250906000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610e0b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610eba5760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a64656c656761746542795369673a494e56414c49445f5349474e60448201527f41545552453a205265636569766564207369676e61747572652077617320696e60648201527f76616c69642e0000000000000000000000000000000000000000000000000000608482015260a401610689565b87421115610f565760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a64656c656761746542795369673a455850495245445f5349474e60448201527f41545552453a205265636569766564207369676e61747572652068617320657860648201527f70697265642e0000000000000000000000000000000000000000000000000000608482015260a401610689565b6001600160a01b0381166000908152600460205260408120805491610f7a836120c5565b919050558914610ff25760405162461bcd60e51b815260206004820152603e60248201527f464c4f4b493a64656c656761746542795369673a494e56414c49445f4e4f4e4360448201527f453a205265636569766564206e6f6e63652077617320696e76616c69642e00006064820152608401610689565b610ffc818b6118fb565b505050505b505050505050565b6000546001600160a01b031633146110635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b6001600160a01b0381166110df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610689565b610a9281611995565b6000546001600160a01b031633146111425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610689565b6001600160a01b03821661116a57600854611166906001600160a01b0316826119f2565b5050565b6008546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03918216602482015260448101839052908316906323b872dd906064016020604051808303816000875af11580156111dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120091906120e0565b505050565b6001600160a01b0383166112815760405162461bcd60e51b815260206004820152603f60248201527f464c4f4b493a5f617070726f76653a4f574e45525f5a45524f3a2043616e6e6f60448201527f7420617070726f766520666f7220746865207a65726f20616464726573732e006064820152608401610689565b6001600160a01b0382166112ff576040805162461bcd60e51b81526020600482015260248101919091527f464c4f4b493a5f617070726f76653a5350454e4445525f5a45524f3a2043616e60448201527f6e6f7420617070726f766520746f20746865207a65726f20616464726573732e6064820152608401610689565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166113e65760405162461bcd60e51b815260206004820152604160248201527f464c4f4b493a5f7472616e736665723a46524f4d5f5a45524f3a2043616e6e6f60448201527f74207472616e736665722066726f6d20746865207a65726f20616464726573736064820152601760f91b608482015260a401610689565b6001600160a01b0382166114625760405162461bcd60e51b815260206004820152603d60248201527f464c4f4b493a5f7472616e736665723a544f5f5a45524f3a2043616e6e6f742060448201527f7472616e7366657220746f20746865207a65726f20616464726573732e0000006064820152608401610689565b600081116114fe5760405162461bcd60e51b815260206004820152604760248201527f464c4f4b493a5f7472616e736665723a5a45524f5f414d4f554e543a2054726160448201527f6e7366657220616d6f756e74206d75737420626520677265617465722074686160648201527f6e207a65726f2e00000000000000000000000000000000000000000000000000608482015260a401610689565b6001600160a01b0383166000908152600160205260409020548111156115b25760405162461bcd60e51b815260206004820152604660248201527f464c4f4b493a5f7472616e736665723a494e53554646494349454e545f42414c60448201527f414e43453a205472616e7366657220616d6f756e74206578636565647320626160648201527f6c616e63652e0000000000000000000000000000000000000000000000000000608482015260a401610689565b6008546040517fc6512cc10000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018490529091169063c6512cc190606401600060405180830381600087803b15801561162157600080fd5b505af1158015611635573d6000803e3d6000fd5b50506007546040517fd7ad21ac0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015286811660248301526044820186905260009450909116915063d7ad21ac90606401602060405180830381865afa1580156116ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d29190612102565b905060006116e0828461211b565b6001600160a01b03861660009081526001602052604081208054929350859290919061170d90849061211b565b90915550506001600160a01b0384166000908152600160205260408120805483929061173a9084906120ad565b90915550506001600160a01b0380861660009081526003602052604080822054878416835291205461177192918216911683611b0b565b8115611820576008546001600160a01b0316600090815260016020526040812080548492906117a19084906120ad565b90915550506001600160a01b0380861660009081526003602052604080822054600854841683529120546117da92918216911684611b0b565b6008546040518381526001600160a01b03918216918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6008546040517fe613b1cd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387811660048301528681166024830152604482018690529091169063e613b1cd90606401600060405180830381600087803b15801561188f57600080fd5b505af11580156118a3573d6000803e3d6000fd5b50505050836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118ec91815260200190565b60405180910390a35050505050565b6001600160a01b038281166000818152600360208181526040808420805460018452948290205493835287871673ffffffffffffffffffffffffffffffffffffffff198616811790915581519490961680855291840195909552939092917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f910160405180910390a261198f828483611b0b565b50505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80471015611a425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610689565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a8f576040519150601f19603f3d011682016040523d82523d6000602084013e611a94565b606091505b50509050806112005760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610689565b816001600160a01b0316836001600160a01b03161415611b2a57505050565b6001600160e01b038116611b3d57505050565b6001600160a01b03831615611be5576001600160a01b03831660009081526005602052604081205463ffffffff169081611b78576000611bc5565b6001600160a01b038516600090815260066020526040812090611b9c600185612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b03165b90506000611bd38483612132565b9050611be186848484611c85565b5050505b6001600160a01b03821615611200576001600160a01b03821660009081526005602052604081205463ffffffff169081611c20576000611c6d565b6001600160a01b038416600090815260066020526040812090611c44600185612057565b63ffffffff16815260208101919091526040016000205464010000000090046001600160e01b03165b90506000611c7b8483612152565b9050611001858484845b4363ffffffff841615801590611cdd57506001600160a01b038516600090815260066020526040812063ffffffff831691611cc1600188612057565b63ffffffff908116825260208201929092526040016000205416145b15611d4d576001600160a01b03851660009081526006602052604081208391611d07600188612057565b63ffffffff1663ffffffff16815260200190815260200160002060000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611de5565b60408051808201825263ffffffff80841682526001600160e01b0380861660208085019182526001600160a01b038b166000908152600682528681208b86168252909152949094209251935116640100000000029216919091179055611db484600161217d565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160e01b038086168252841660208201526001600160a01b038716917fda5a64c2947c0b7bf4d6e7bf736c6f84d9d1c5f991770f88bbeb3fe19c85a134910160405180910390a25050505050565b600060208083528351808285015260005b81811015611e6757858101830151858201604001528201611e4b565b81811115611e79576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ea657600080fd5b919050565b60008060408385031215611ebe57600080fd5b611ec783611e8f565b946020939093013593505050565b600080600060608486031215611eea57600080fd5b611ef384611e8f565b9250611f0160208501611e8f565b9150604084013590509250925092565b60008060408385031215611f2457600080fd5b611f2d83611e8f565b9150602083013563ffffffff81168114611f4657600080fd5b809150509250929050565b600060208284031215611f6357600080fd5b611f6c82611e8f565b9392505050565b60008060008060008060c08789031215611f8c57600080fd5b611f9587611e8f565b95506020870135945060408701359350606087013560ff81168114611fb957600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611fe657600080fd5b611fef83611e8f565b9150611ffd60208401611e8f565b90509250929050565b600181811c9082168061201a57607f821691505b6020821081141561203b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8381169083168181101561207457612074612041565b039392505050565b600063ffffffff808416806120a157634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600082198211156120c0576120c0612041565b500190565b60006000198214156120d9576120d9612041565b5060010190565b6000602082840312156120f257600080fd5b81518015158114611f6c57600080fd5b60006020828403121561211457600080fd5b5051919050565b60008282101561212d5761212d612041565b500390565b60006001600160e01b038381169083168181101561207457612074612041565b60006001600160e01b0380831681851680830382111561217457612174612041565b01949350505050565b600063ffffffff8083168185168083038211156121745761217461204156fea164736f6c634300080b000a
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.