Contract Address Details
0xB0EE479CA14b4B6e250511ddD21C7E3856F99dd9
- Token
- HoundToken (HOUND)
- Creator
- 0x85bdad–c9254e at 0xc2066d–363f73
- Balance
- 0 Doge
- Tokens
-
Fetching tokens...
- Transactions
- 333 Transactions
- Transfers
- 0 Transfers
- Gas Used
- 14,355,348
- Last Balance Update
- 27667849
- Contract name:
- HoundToken
- Optimization enabled
- true
- Compiler version
- v0.5.17+commit.d19bba13
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2022-09-23T06:02:52.271488Z
Constructor Arguments
00000000000000000000000085bdad72b7af3b540a5f73fbc6baf13884c9254e
Arg [0] (address) : 0x85bdad72b7af3b540a5f73fbc6baf13884c9254e
Contract source code
/** *Submitted for verification at Etherscan.io on 2020-09-16 */ /** *Submitted for verification at Etherscan.io on 2020-09-15 */ pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol // 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; } } contract HoundToken { /// @notice EIP-20 token name for this token string public constant name = "HoundToken"; /// @notice EIP-20 token symbol for this token string public constant symbol = "HOUND"; /// @notice EIP-20 token decimals for this token uint8 public constant decimals = 18; /// @notice Total number of tokens in circulation uint public totalSupply = 160_000_000e18; // 160 million Hound /// @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 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 Hound token * @param account The initial account to grant all the tokens */ constructor(address account) public { balances[account] = uint96(totalSupply); emit Transfer(address(0), account, totalSupply); } /** * @notice Get the number of tokens `spender` is approved to spend on behalf of `account` * @param account The address of the account holding the funds * @param spender The address of the account spending the funds * @return The number of tokens approved */ function allowance(address account, address spender) external view returns (uint) { return allowances[account][spender]; } /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * @param spender The address of the account which may transfer tokens * @param rawAmount The number of tokens that are approved (2^256-1 means infinite) * @return Whether or not the approval succeeded */ function approve(address spender, uint rawAmount) external returns (bool) { uint96 amount; if (rawAmount == uint(-1)) { amount = uint96(-1); } else { amount = safe96(rawAmount, "Hound::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, "Hound::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), "Hound::permit: invalid signature"); require(signatory == owner, "Hound::permit: unauthorized"); require(now <= deadline, "Hound::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, "Hound::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, "Hound::approve: amount exceeds 96 bits"); if (spender != src && spenderAllowance != uint96(-1)) { uint96 newAllowance = sub96(spenderAllowance, amount, "Hound::transferFrom: transfer amount exceeds spender allowance"); allowances[src][spender] = newAllowance; emit Approval(src, spender, newAllowance); } _transferTokens(src, dst, amount); return true; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) public { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public { bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this))); bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)); bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "Hound::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "Hound::delegateBySig: invalid nonce"); require(now <= expiry, "Hound::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint96) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) public view returns (uint96) { require(blockNumber < block.number, "Hound::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), "Hound::_transferTokens: cannot transfer from the zero address"); require(dst != address(0), "Hound::_transferTokens: cannot transfer to the zero address"); balances[src] = sub96(balances[src], amount, "Hound::_transferTokens: transfer amount exceeds balance"); balances[dst] = add96(balances[dst], amount, "Hound::_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, "Hound::_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, "Hound::_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, "Hound::_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 ABI
[{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DelegateChanged","inputs":[{"type":"address","name":"delegator","internalType":"address","indexed":true},{"type":"address","name":"fromDelegate","internalType":"address","indexed":true},{"type":"address","name":"toDelegate","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"type":"address","name":"delegate","internalType":"address","indexed":true},{"type":"uint256","name":"previousBalance","internalType":"uint256","indexed":false},{"type":"uint256","name":"newBalance","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DELEGATION_TYPEHASH","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_TYPEHASH","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"PERMIT_TYPEHASH","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint32","name":"fromBlock","internalType":"uint32"},{"type":"uint96","name":"votes","internalType":"uint96"}],"name":"checkpoints","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint32","name":"","internalType":"uint32"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"delegate","inputs":[{"type":"address","name":"delegatee","internalType":"address"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"delegateBySig","inputs":[{"type":"address","name":"delegatee","internalType":"address"},{"type":"uint256","name":"nonce","internalType":"uint256"},{"type":"uint256","name":"expiry","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"delegates","inputs":[{"type":"address","name":"","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"getCurrentVotes","inputs":[{"type":"address","name":"account","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"getPriorVotes","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"minimumTimeBetweenMints","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"mintCap","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintingAllowedAfter","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"numCheckpoints","inputs":[{"type":"address","name":"","internalType":"address"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"dst","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"src","internalType":"address"},{"type":"address","name":"dst","internalType":"address"},{"type":"uint256","name":"rawAmount","internalType":"uint256"}],"constant":false}]
Contract Creation Code
0x60806040526a84595161401484a00000006000553480156200002057600080fd5b50604051620021e9380380620021e98339810160408190526200004391620000d3565b600080546001600160a01b0383168083526003602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000b191906200010d565b60405180910390a3506200014c565b8051620000cd8162000132565b92915050565b600060208284031215620000e657600080fd5b6000620000f48484620000c0565b949350505050565b62000107816200012f565b82525050565b60208101620000cd8284620000fc565b60006001600160a01b038216620000cd565b90565b6200013d816200011d565b81146200014957600080fd5b50565b61208d806200015c6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b4b5ea571161007c578063b4b5ea57146102b6578063c3cda520146102c9578063d505accf146102dc578063dd62ed3e146102ef578063e7a324dc14610302578063f1127ed81461030a57610158565b806370a082311461024d57806376c71ca114610260578063782d6fe1146102685780637ecebe001461028857806395d89b411461029b578063a9059cbb146102a357610158565b806330b36cef1161011557806330b36cef146101d3578063313ce567146101db578063587cde1e146101f05780635c11d62f146102105780635c19a95c146102255780636fcfff451461023a57610158565b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019b57806320606b70146101b057806323b872dd146101b857806330adf81f146101cb575b600080fd5b61016561032b565b6040516101729190611ce1565b60405180910390f35b61018e61018936600461161c565b610351565b6040516101729190611bdd565b6101a3610410565b6040516101729190611beb565b6101a3610416565b61018e6101c6366004611533565b61042d565b6101a3610576565b6101a3610582565b6101e3610588565b6040516101729190611dab565b6102036101fe3660046114d3565b61058d565b6040516101729190611bcf565b6102186105a8565b6040516101729190611d82565b6102386102333660046114d3565b6105b0565b005b6102186102483660046114d3565b6105bd565b6101a361025b3660046114d3565b6105d5565b6101e36105f9565b61027b61027636600461161c565b6105fe565b6040516101729190611dc7565b6101a36102963660046114d3565b610815565b610165610827565b61018e6102b136600461161c565b610848565b61027b6102c43660046114d3565b610884565b6102386102d736600461164c565b6108f4565b6102386102ea366004611580565b610ae0565b6101a36102fd3660046114f9565b610dce565b6101a3610e02565b61031d6103183660046116d3565b610e0e565b604051610172929190611d90565b6040518060400160405280600a8152602001692437bab7322a37b5b2b760b11b81525081565b600080600019831415610367575060001961038c565b61038983604051806060016040528060268152602001611f4760269139610e43565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103fc908590611db9565b60405180910390a360019150505b92915050565b60005481565b60405161042290611bb9565b604051809103902081565b6001600160a01b03831660009081526002602090815260408083203380855290835281842054825160608101909352602680845291936001600160601b039091169285926104859288929190611f4790830139610e43565b9050866001600160a01b0316836001600160a01b0316141580156104b257506001600160601b0382811614155b1561055c5760006104dc83836040518060600160405280603e8152602001611ee4603e9139610e72565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610552908590611db9565b60405180910390a3505b610567878783610eb1565b600193505050505b9392505050565b60405161042290611bae565b60015481565b601281565b6004602052600090815260409020546001600160a01b031681565b6301e1338081565b6105ba338261105c565b50565b60066020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b600281565b60004382106106285760405162461bcd60e51b815260040161061f90611cf2565b60405180910390fd5b6001600160a01b03831660009081526006602052604090205463ffffffff168061065657600091505061040a565b6001600160a01b038416600090815260056020908152604080832063ffffffff6000198601811685529252909120541683106106d2576001600160a01b03841660009081526005602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061040a565b6001600160a01b038416600090815260056020908152604080832083805290915290205463ffffffff1683101561070d57600091505061040a565b600060001982015b8163ffffffff168163ffffffff1611156107d057600282820363ffffffff1604810361073f611490565b506001600160a01b038716600090815260056020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152908714156107ab5760200151945061040a9350505050565b805163ffffffff168711156107c2578193506107c9565b6001820392505b5050610715565b506001600160a01b038516600090815260056020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60076020526000908152604090205481565b604051806040016040528060058152602001641213d5539160da1b81525081565b60008061086d83604051806060016040528060278152602001611fef60279139610e43565b905061087a338583610eb1565b5060019392505050565b6001600160a01b03811660009081526006602052604081205463ffffffff16806108af57600061056f565b6001600160a01b0383166000908152600560209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b600060405161090290611bb9565b60408051918290038220828201909152600a8252692437bab7322a37b5b2b760b11b6020909201919091527f58f2fa4219ecb736d177dad0b1ac1f4db71feba913c004225ce1dbae9c0bc68d6109566110e6565b3060405160200161096a9493929190611c91565b604051602081830303815290604052805190602001209050600060405161099090611bc4565b6040519081900381206109ab918a908a908a90602001611c53565b604051602081830303815290604052805190602001209050600082826040516020016109d8929190611b7d565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610a159493929190611cc6565b6020604051602081039080840390855afa158015610a37573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a6a5760405162461bcd60e51b815260040161061f90611d02565b6001600160a01b03811660009081526007602052604090208054600181019091558914610aa95760405162461bcd60e51b815260040161061f90611d22565b87421115610ac95760405162461bcd60e51b815260040161061f90611d12565b610ad3818b61105c565b505050505b505050505050565b6000600019861415610af55750600019610b1a565b610b1786604051806060016040528060258152602001611f2260259139610e43565b90505b6000604051610b2890611bb9565b60408051918290038220828201909152600a8252692437bab7322a37b5b2b760b11b6020909201919091527f58f2fa4219ecb736d177dad0b1ac1f4db71feba913c004225ce1dbae9c0bc68d610b7c6110e6565b30604051602001610b909493929190611c91565b6040516020818303038152906040528051906020012090506000604051610bb690611bae565b604080519182900382206001600160a01b038d16600090815260076020908152929020805460018101909155610bf89391928e928e928e9290918e9101611bf9565b60405160208183030381529060405280519060200120905060008282604051602001610c25929190611b7d565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610c629493929190611cc6565b6020604051602081039080840390855afa158015610c84573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cb75760405162461bcd60e51b815260040161061f90611d32565b8b6001600160a01b0316816001600160a01b031614610ce85760405162461bcd60e51b815260040161061f90611d52565b88421115610d085760405162461bcd60e51b815260040161061f90611d72565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610db89190611db9565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b60405161042290611bc4565b600560209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610e6a5760405162461bcd60e51b815260040161061f9190611ce1565b509192915050565b6000836001600160601b0316836001600160601b031611158290610ea95760405162461bcd60e51b815260040161061f9190611ce1565b505050900390565b6001600160a01b038316610ed75760405162461bcd60e51b815260040161061f90611d42565b6001600160a01b038216610efd5760405162461bcd60e51b815260040161061f90611d62565b6001600160a01b038316600090815260036020908152604091829020548251606081019093526037808452610f48936001600160601b039092169285929190611ead90830139610e72565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526031808452610fb09491909116928592909190611f96908301396110ea565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061101d908590611db9565b60405180910390a36001600160a01b0380841660009081526004602052604080822054858416835291205461105792918216911683611126565b505050565b6001600160a01b03808316600081815260046020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46110e0828483611126565b50505050565b4690565b6000838301826001600160601b03808716908316101561111d5760405162461bcd60e51b815260040161061f9190611ce1565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561115157506000816001600160601b0316115b15611057576001600160a01b03831615611209576001600160a01b03831660009081526006602052604081205463ffffffff1690816111915760006111d0565b6001600160a01b0385166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006111f78285604051806060016040528060298152602001611f6d60299139610e72565b9050611205868484846112b4565b5050505b6001600160a01b03821615611057576001600160a01b03821660009081526006602052604081205463ffffffff169081611244576000611283565b6001600160a01b0384166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006112aa8285604051806060016040528060288152602001611fc7602891396110ea565b9050610ad8858484845b60006112d84360405180606001604052806035815260200161201660359139611469565b905060008463ffffffff1611801561132157506001600160a01b038516600090815260056020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611380576001600160a01b0385166000908152600560209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b0385160217905561141f565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600583528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600690935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724848460405161145a929190611dd5565b60405180910390a25050505050565b600081600160201b8410610e6a5760405162461bcd60e51b815260040161061f9190611ce1565b604080518082019091526000808252602082015290565b803561040a81611e7d565b803561040a81611e91565b803561040a81611e9a565b803561040a81611ea3565b6000602082840312156114e557600080fd5b60006114f184846114a7565b949350505050565b6000806040838503121561150c57600080fd5b600061151885856114a7565b9250506020611529858286016114a7565b9150509250929050565b60008060006060848603121561154857600080fd5b600061155486866114a7565b9350506020611565868287016114a7565b9250506040611576868287016114b2565b9150509250925092565b600080600080600080600060e0888a03121561159b57600080fd5b60006115a78a8a6114a7565b97505060206115b88a828b016114a7565b96505060406115c98a828b016114b2565b95505060606115da8a828b016114b2565b94505060806115eb8a828b016114c8565b93505060a06115fc8a828b016114b2565b92505060c061160d8a828b016114b2565b91505092959891949750929550565b6000806040838503121561162f57600080fd5b600061163b85856114a7565b9250506020611529858286016114b2565b60008060008060008060c0878903121561166557600080fd5b600061167189896114a7565b965050602061168289828a016114b2565b955050604061169389828a016114b2565b94505060606116a489828a016114c8565b93505060806116b589828a016114b2565b92505060a06116c689828a016114b2565b9150509295509295509295565b600080604083850312156116e657600080fd5b60006116f285856114a7565b9250506020611529858286016114bd565b61170c81611e02565b82525050565b61170c81611e0d565b61170c81611e12565b61170c61173082611e12565b611e12565b600061174082611df0565b61174a8185611df4565b935061175a818560208601611e47565b61176381611e73565b9093019392505050565b600061177a600283611dfd565b61190160f01b815260020192915050565b6000611798602883611df4565b7f486f756e643a3a6765745072696f72566f7465733a206e6f74207965742064658152671d195c9b5a5b995960c21b602082015260400192915050565b60006117e2602783611df4565b7f486f756e643a3a64656c656761746542795369673a20696e76616c6964207369815266676e617475726560c81b602082015260400192915050565b600061182b605283611dfd565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63656020820152712c75696e7432353620646561646c696e652960701b604082015260520192915050565b60006118a5602783611df4565b7f486f756e643a3a64656c656761746542795369673a207369676e617475726520815266195e1c1a5c995960ca1b602082015260400192915050565b60006118ee602383611df4565b7f486f756e643a3a64656c656761746542795369673a20696e76616c6964206e6f8152626e636560e81b602082015260400192915050565b6000611933604383611dfd565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b600061199e602083611df4565b7f486f756e643a3a7065726d69743a20696e76616c6964207369676e6174757265815260200192915050565b60006119d7603d83611df4565b7f486f756e643a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207481527f72616e736665722066726f6d20746865207a65726f2061646472657373000000602082015260400192915050565b6000611a36601b83611df4565b7f486f756e643a3a7065726d69743a20756e617574686f72697a65640000000000815260200192915050565b6000611a6f603b83611df4565b7f486f756e643a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207481527f72616e7366657220746f20746865207a65726f20616464726573730000000000602082015260400192915050565b6000611ace603a83611dfd565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b6000611b2d602083611df4565b7f486f756e643a3a7065726d69743a207369676e61747572652065787069726564815260200192915050565b61170c81611e21565b61170c81611e2a565b61170c81611e3c565b61170c81611e30565b6000611b888261176d565b9150611b948285611724565b602082019150611ba48284611724565b5060200192915050565b600061040a8261181e565b600061040a82611926565b600061040a82611ac1565b6020810161040a8284611703565b6020810161040a8284611712565b6020810161040a828461171b565b60c08101611c07828961171b565b611c146020830188611703565b611c216040830187611703565b611c2e606083018661171b565b611c3b608083018561171b565b611c4860a083018461171b565b979650505050505050565b60808101611c61828761171b565b611c6e6020830186611703565b611c7b604083018561171b565b611c88606083018461171b565b95945050505050565b60808101611c9f828761171b565b611cac602083018661171b565b611cb9604083018561171b565b611c886060830184611703565b60808101611cd4828761171b565b611c6e6020830186611b62565b6020808252810161056f8184611735565b6020808252810161040a8161178b565b6020808252810161040a816117d5565b6020808252810161040a81611898565b6020808252810161040a816118e1565b6020808252810161040a81611991565b6020808252810161040a816119ca565b6020808252810161040a81611a29565b6020808252810161040a81611a62565b6020808252810161040a81611b20565b6020810161040a8284611b59565b60408101611d9e8285611b59565b61056f6020830184611b74565b6020810161040a8284611b62565b6020810161040a8284611b6b565b6020810161040a8284611b74565b60408101611de38285611b6b565b61056f6020830184611b6b565b5190565b90815260200190565b919050565b600061040a82611e15565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b6001600160601b031690565b600061040a82611e30565b60005b83811015611e62578181015183820152602001611e4a565b838111156110e05750506000910152565b601f01601f191690565b611e8681611e02565b81146105ba57600080fd5b611e8681611e12565b611e8681611e21565b611e8681611e2a56fe486f756e643a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365486f756e643a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365486f756e643a3a7065726d69743a20616d6f756e7420657863656564732039362062697473486f756e643a3a617070726f76653a20616d6f756e7420657863656564732039362062697473486f756e643a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773486f756e643a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773486f756e643a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773486f756e643a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473486f756e643a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a365627a7a723158202f70bf4c2074ae945243dd1f7220b418aa96152e4f7fac491edf8fedcb898a4a6c6578706572696d656e74616cf564736f6c6343000511004000000000000000000000000085bdad72b7af3b540a5f73fbc6baf13884c9254e
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b4b5ea571161007c578063b4b5ea57146102b6578063c3cda520146102c9578063d505accf146102dc578063dd62ed3e146102ef578063e7a324dc14610302578063f1127ed81461030a57610158565b806370a082311461024d57806376c71ca114610260578063782d6fe1146102685780637ecebe001461028857806395d89b411461029b578063a9059cbb146102a357610158565b806330b36cef1161011557806330b36cef146101d3578063313ce567146101db578063587cde1e146101f05780635c11d62f146102105780635c19a95c146102255780636fcfff451461023a57610158565b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019b57806320606b70146101b057806323b872dd146101b857806330adf81f146101cb575b600080fd5b61016561032b565b6040516101729190611ce1565b60405180910390f35b61018e61018936600461161c565b610351565b6040516101729190611bdd565b6101a3610410565b6040516101729190611beb565b6101a3610416565b61018e6101c6366004611533565b61042d565b6101a3610576565b6101a3610582565b6101e3610588565b6040516101729190611dab565b6102036101fe3660046114d3565b61058d565b6040516101729190611bcf565b6102186105a8565b6040516101729190611d82565b6102386102333660046114d3565b6105b0565b005b6102186102483660046114d3565b6105bd565b6101a361025b3660046114d3565b6105d5565b6101e36105f9565b61027b61027636600461161c565b6105fe565b6040516101729190611dc7565b6101a36102963660046114d3565b610815565b610165610827565b61018e6102b136600461161c565b610848565b61027b6102c43660046114d3565b610884565b6102386102d736600461164c565b6108f4565b6102386102ea366004611580565b610ae0565b6101a36102fd3660046114f9565b610dce565b6101a3610e02565b61031d6103183660046116d3565b610e0e565b604051610172929190611d90565b6040518060400160405280600a8152602001692437bab7322a37b5b2b760b11b81525081565b600080600019831415610367575060001961038c565b61038983604051806060016040528060268152602001611f4760269139610e43565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103fc908590611db9565b60405180910390a360019150505b92915050565b60005481565b60405161042290611bb9565b604051809103902081565b6001600160a01b03831660009081526002602090815260408083203380855290835281842054825160608101909352602680845291936001600160601b039091169285926104859288929190611f4790830139610e43565b9050866001600160a01b0316836001600160a01b0316141580156104b257506001600160601b0382811614155b1561055c5760006104dc83836040518060600160405280603e8152602001611ee4603e9139610e72565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610552908590611db9565b60405180910390a3505b610567878783610eb1565b600193505050505b9392505050565b60405161042290611bae565b60015481565b601281565b6004602052600090815260409020546001600160a01b031681565b6301e1338081565b6105ba338261105c565b50565b60066020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b600281565b60004382106106285760405162461bcd60e51b815260040161061f90611cf2565b60405180910390fd5b6001600160a01b03831660009081526006602052604090205463ffffffff168061065657600091505061040a565b6001600160a01b038416600090815260056020908152604080832063ffffffff6000198601811685529252909120541683106106d2576001600160a01b03841660009081526005602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061040a565b6001600160a01b038416600090815260056020908152604080832083805290915290205463ffffffff1683101561070d57600091505061040a565b600060001982015b8163ffffffff168163ffffffff1611156107d057600282820363ffffffff1604810361073f611490565b506001600160a01b038716600090815260056020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152908714156107ab5760200151945061040a9350505050565b805163ffffffff168711156107c2578193506107c9565b6001820392505b5050610715565b506001600160a01b038516600090815260056020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60076020526000908152604090205481565b604051806040016040528060058152602001641213d5539160da1b81525081565b60008061086d83604051806060016040528060278152602001611fef60279139610e43565b905061087a338583610eb1565b5060019392505050565b6001600160a01b03811660009081526006602052604081205463ffffffff16806108af57600061056f565b6001600160a01b0383166000908152600560209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b600060405161090290611bb9565b60408051918290038220828201909152600a8252692437bab7322a37b5b2b760b11b6020909201919091527f58f2fa4219ecb736d177dad0b1ac1f4db71feba913c004225ce1dbae9c0bc68d6109566110e6565b3060405160200161096a9493929190611c91565b604051602081830303815290604052805190602001209050600060405161099090611bc4565b6040519081900381206109ab918a908a908a90602001611c53565b604051602081830303815290604052805190602001209050600082826040516020016109d8929190611b7d565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610a159493929190611cc6565b6020604051602081039080840390855afa158015610a37573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a6a5760405162461bcd60e51b815260040161061f90611d02565b6001600160a01b03811660009081526007602052604090208054600181019091558914610aa95760405162461bcd60e51b815260040161061f90611d22565b87421115610ac95760405162461bcd60e51b815260040161061f90611d12565b610ad3818b61105c565b505050505b505050505050565b6000600019861415610af55750600019610b1a565b610b1786604051806060016040528060258152602001611f2260259139610e43565b90505b6000604051610b2890611bb9565b60408051918290038220828201909152600a8252692437bab7322a37b5b2b760b11b6020909201919091527f58f2fa4219ecb736d177dad0b1ac1f4db71feba913c004225ce1dbae9c0bc68d610b7c6110e6565b30604051602001610b909493929190611c91565b6040516020818303038152906040528051906020012090506000604051610bb690611bae565b604080519182900382206001600160a01b038d16600090815260076020908152929020805460018101909155610bf89391928e928e928e9290918e9101611bf9565b60405160208183030381529060405280519060200120905060008282604051602001610c25929190611b7d565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610c629493929190611cc6565b6020604051602081039080840390855afa158015610c84573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cb75760405162461bcd60e51b815260040161061f90611d32565b8b6001600160a01b0316816001600160a01b031614610ce85760405162461bcd60e51b815260040161061f90611d52565b88421115610d085760405162461bcd60e51b815260040161061f90611d72565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610db89190611db9565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b60405161042290611bc4565b600560209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610e6a5760405162461bcd60e51b815260040161061f9190611ce1565b509192915050565b6000836001600160601b0316836001600160601b031611158290610ea95760405162461bcd60e51b815260040161061f9190611ce1565b505050900390565b6001600160a01b038316610ed75760405162461bcd60e51b815260040161061f90611d42565b6001600160a01b038216610efd5760405162461bcd60e51b815260040161061f90611d62565b6001600160a01b038316600090815260036020908152604091829020548251606081019093526037808452610f48936001600160601b039092169285929190611ead90830139610e72565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526031808452610fb09491909116928592909190611f96908301396110ea565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061101d908590611db9565b60405180910390a36001600160a01b0380841660009081526004602052604080822054858416835291205461105792918216911683611126565b505050565b6001600160a01b03808316600081815260046020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46110e0828483611126565b50505050565b4690565b6000838301826001600160601b03808716908316101561111d5760405162461bcd60e51b815260040161061f9190611ce1565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561115157506000816001600160601b0316115b15611057576001600160a01b03831615611209576001600160a01b03831660009081526006602052604081205463ffffffff1690816111915760006111d0565b6001600160a01b0385166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006111f78285604051806060016040528060298152602001611f6d60299139610e72565b9050611205868484846112b4565b5050505b6001600160a01b03821615611057576001600160a01b03821660009081526006602052604081205463ffffffff169081611244576000611283565b6001600160a01b0384166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006112aa8285604051806060016040528060288152602001611fc7602891396110ea565b9050610ad8858484845b60006112d84360405180606001604052806035815260200161201660359139611469565b905060008463ffffffff1611801561132157506001600160a01b038516600090815260056020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611380576001600160a01b0385166000908152600560209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b0385160217905561141f565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600583528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600690935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724848460405161145a929190611dd5565b60405180910390a25050505050565b600081600160201b8410610e6a5760405162461bcd60e51b815260040161061f9190611ce1565b604080518082019091526000808252602082015290565b803561040a81611e7d565b803561040a81611e91565b803561040a81611e9a565b803561040a81611ea3565b6000602082840312156114e557600080fd5b60006114f184846114a7565b949350505050565b6000806040838503121561150c57600080fd5b600061151885856114a7565b9250506020611529858286016114a7565b9150509250929050565b60008060006060848603121561154857600080fd5b600061155486866114a7565b9350506020611565868287016114a7565b9250506040611576868287016114b2565b9150509250925092565b600080600080600080600060e0888a03121561159b57600080fd5b60006115a78a8a6114a7565b97505060206115b88a828b016114a7565b96505060406115c98a828b016114b2565b95505060606115da8a828b016114b2565b94505060806115eb8a828b016114c8565b93505060a06115fc8a828b016114b2565b92505060c061160d8a828b016114b2565b91505092959891949750929550565b6000806040838503121561162f57600080fd5b600061163b85856114a7565b9250506020611529858286016114b2565b60008060008060008060c0878903121561166557600080fd5b600061167189896114a7565b965050602061168289828a016114b2565b955050604061169389828a016114b2565b94505060606116a489828a016114c8565b93505060806116b589828a016114b2565b92505060a06116c689828a016114b2565b9150509295509295509295565b600080604083850312156116e657600080fd5b60006116f285856114a7565b9250506020611529858286016114bd565b61170c81611e02565b82525050565b61170c81611e0d565b61170c81611e12565b61170c61173082611e12565b611e12565b600061174082611df0565b61174a8185611df4565b935061175a818560208601611e47565b61176381611e73565b9093019392505050565b600061177a600283611dfd565b61190160f01b815260020192915050565b6000611798602883611df4565b7f486f756e643a3a6765745072696f72566f7465733a206e6f74207965742064658152671d195c9b5a5b995960c21b602082015260400192915050565b60006117e2602783611df4565b7f486f756e643a3a64656c656761746542795369673a20696e76616c6964207369815266676e617475726560c81b602082015260400192915050565b600061182b605283611dfd565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63656020820152712c75696e7432353620646561646c696e652960701b604082015260520192915050565b60006118a5602783611df4565b7f486f756e643a3a64656c656761746542795369673a207369676e617475726520815266195e1c1a5c995960ca1b602082015260400192915050565b60006118ee602383611df4565b7f486f756e643a3a64656c656761746542795369673a20696e76616c6964206e6f8152626e636560e81b602082015260400192915050565b6000611933604383611dfd565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b600061199e602083611df4565b7f486f756e643a3a7065726d69743a20696e76616c6964207369676e6174757265815260200192915050565b60006119d7603d83611df4565b7f486f756e643a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207481527f72616e736665722066726f6d20746865207a65726f2061646472657373000000602082015260400192915050565b6000611a36601b83611df4565b7f486f756e643a3a7065726d69743a20756e617574686f72697a65640000000000815260200192915050565b6000611a6f603b83611df4565b7f486f756e643a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207481527f72616e7366657220746f20746865207a65726f20616464726573730000000000602082015260400192915050565b6000611ace603a83611dfd565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b6000611b2d602083611df4565b7f486f756e643a3a7065726d69743a207369676e61747572652065787069726564815260200192915050565b61170c81611e21565b61170c81611e2a565b61170c81611e3c565b61170c81611e30565b6000611b888261176d565b9150611b948285611724565b602082019150611ba48284611724565b5060200192915050565b600061040a8261181e565b600061040a82611926565b600061040a82611ac1565b6020810161040a8284611703565b6020810161040a8284611712565b6020810161040a828461171b565b60c08101611c07828961171b565b611c146020830188611703565b611c216040830187611703565b611c2e606083018661171b565b611c3b608083018561171b565b611c4860a083018461171b565b979650505050505050565b60808101611c61828761171b565b611c6e6020830186611703565b611c7b604083018561171b565b611c88606083018461171b565b95945050505050565b60808101611c9f828761171b565b611cac602083018661171b565b611cb9604083018561171b565b611c886060830184611703565b60808101611cd4828761171b565b611c6e6020830186611b62565b6020808252810161056f8184611735565b6020808252810161040a8161178b565b6020808252810161040a816117d5565b6020808252810161040a81611898565b6020808252810161040a816118e1565b6020808252810161040a81611991565b6020808252810161040a816119ca565b6020808252810161040a81611a29565b6020808252810161040a81611a62565b6020808252810161040a81611b20565b6020810161040a8284611b59565b60408101611d9e8285611b59565b61056f6020830184611b74565b6020810161040a8284611b62565b6020810161040a8284611b6b565b6020810161040a8284611b74565b60408101611de38285611b6b565b61056f6020830184611b6b565b5190565b90815260200190565b919050565b600061040a82611e15565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b6001600160601b031690565b600061040a82611e30565b60005b83811015611e62578181015183820152602001611e4a565b838111156110e05750506000910152565b601f01601f191690565b611e8681611e02565b81146105ba57600080fd5b611e8681611e12565b611e8681611e21565b611e8681611e2a56fe486f756e643a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365486f756e643a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365486f756e643a3a7065726d69743a20616d6f756e7420657863656564732039362062697473486f756e643a3a617070726f76653a20616d6f756e7420657863656564732039362062697473486f756e643a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773486f756e643a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773486f756e643a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773486f756e643a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473486f756e643a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a365627a7a723158202f70bf4c2074ae945243dd1f7220b418aa96152e4f7fac491edf8fedcb898a4a6c6578706572696d656e74616cf564736f6c63430005110040