ERC-20
Overview
Max Total Supply
214,997,508,319.746983905683690649 DOGPRO
Holders
821
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
84,054,337.07408803198261836 DOGPROValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DogstonksPro
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; import './ERC20.sol'; import './StakingPool.sol'; /** * @notice ERC20 token with cost basis tracking and restricted loss-taking */ contract DogstonksPro is ERC20, StakingPool { using Address for address payable; enum Phase { PENDING, LIQUIDITY_EVENT, OPEN, CLOSED } Phase public _phase; uint public _phaseChangedAt; string public override name = 'DogstonksPro (dogstonks.com)'; string public override symbol = 'DOGPRO'; address private constant UNISWAP_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address private constant DOGSTONKS = 0xC9aA1007b1619d04C1911E48A8a7a95770BE21a2; uint private constant SUPPLY = 1e12 ether; uint private constant TAX_RATE = 1000; uint private constant BP_DIVISOR = 10000; // V1 token redemption rate uint private constant V1_VALUE = 12.659726999081298826 ether; uint private constant V1_SUPPLY = 913290958465.509630323815153677 ether; address private _owner; address private _pair; uint private _initialBasis; mapping (address => uint) private _basisOf; mapping (address => uint) public cooldownOf; // credits for ETH LE deposits mapping (address => uint) private _lpCredits; uint private _lpCreditsTotal; // quantity of UNI-V2 tokens corresponding to initial liquidity, shared among token holders uint private _holderDistributionUNIV2; // quantity of ETH to be distributed to token holders, set after trading close uint private _holderDistributionETH; // quantity of ETH to be distributed to liquidity providers, set after trading close uint private _lpDistributionETH; // all time high uint private _ath; uint private _athTimestamp; // values to prevent adding liquidity directly address private _lastOrigin; uint private _lastBlock; bool private _nohook; struct Minting { address recipient; uint amount; } modifier phase (Phase p) { require(_phase == p, 'ERR: invalid phase'); _; } modifier nohook () { _nohook = true; _; _nohook = false; } /** * @notice deploy * @param mintings structured minting data (recipient, amount) */ constructor ( Minting[] memory mintings ) payable { _owner = msg.sender; _phaseChangedAt = block.timestamp; // setup uniswap pair and store address _pair = IUniswapV2Factory( IUniswapV2Router02(UNISWAP_ROUTER).factory() ).createPair(WETH, address(this)); // prepare to add/remove liquidity _approve(address(this), UNISWAP_ROUTER, type(uint).max); IERC20(_pair).approve(UNISWAP_ROUTER, type(uint).max); // mint team tokens uint mintedSupply; for (uint i; i < mintings.length; i++) { Minting memory m = mintings[i]; uint amount = m.amount; address recipient = m.recipient; mintedSupply += amount; _balances[recipient] += amount; emit Transfer(address(0), recipient, amount); } _totalSupply = mintedSupply; } receive () external payable {} /** * @inheritdoc ERC20 * @dev reverts if Uniswap pair holds more WETH than accounted for in reserves (suggesting liquidity is being added) */ function balanceOf ( address account ) override public view returns (uint) { if (msg.sender == _pair && tx.origin == _lastOrigin && block.number == _lastBlock) { (uint res0, uint res1, ) = IUniswapV2Pair(_pair).getReserves(); require( (address(this) > WETH ? res0 : res1) > IERC20(WETH).balanceOf(_pair), 'ERR: liquidity add' ); } return super.balanceOf(account); } /** * @notice get cost basis for given address * @param account address to query * @return cost basis */ function basisOf ( address account ) public view returns (uint) { uint basis = _basisOf[account]; if (basis == 0 && balanceOf(account) > 0) { basis = _initialBasis; } return basis; } /** * @notice calculate current cost basis for sale of given quantity of tokens * @param amount quantity of tokens sold * @return cost basis for sale */ function basisOfSale ( uint amount ) public view returns (uint) { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; uint[] memory amounts = IUniswapV2Router02(UNISWAP_ROUTER).getAmountsOut( amount, path ); return (1 ether) * amounts[1] / amount; } /** * @notice calculate tax for given cost bases and sale amount * @param fromBasis cost basis of seller * @param toBasis cost basis for sale * @param amount quantity of tokens sold * @return tax amount */ function taxFor ( uint fromBasis, uint toBasis, uint amount ) public pure returns (uint) { return amount * (toBasis - fromBasis) / toBasis * TAX_RATE / BP_DIVISOR; } /** * @notice enable liquidity event participation */ function openLiquidityEvent () external phase(Phase.PENDING) { require( msg.sender == _owner || block.timestamp > _phaseChangedAt + (2 weeks), 'ERR: sender must be owner' ); _incrementPhase(); // track lp credits to be used for distribution _lpCredits[address(this)] = address(this).balance; _lpCreditsTotal += address(this).balance; // add liquidity _mint(address(this), SUPPLY - totalSupply()); IUniswapV2Router02( UNISWAP_ROUTER ).addLiquidityETH{ value: address(this).balance }( address(this), balanceOf(address(this)), 0, 0, address(this), block.timestamp ); } /** * @notice buy in to liquidity event using DOGSTONKS V1 tokens */ function contributeV1 () external { require(_phase == Phase.LIQUIDITY_EVENT || _phase == Phase.OPEN, 'ERR: invalid phase'); uint amount = IERC20(DOGSTONKS).balanceOf(msg.sender); IERC20(DOGSTONKS).transferFrom(msg.sender, DOGSTONKS, amount); address[] memory path = new address[](2); path[0] = WETH; path[1] = address(this); uint[] memory amounts = IUniswapV2Router02( UNISWAP_ROUTER ).getAmountsOut( amount * V1_VALUE / V1_SUPPLY, path ); // credit sender with deposit _mintTaxCredit(msg.sender, amounts[1]); } /** * @notice buy in to liquidity event using ETH */ function contributeETH () external payable phase(Phase.LIQUIDITY_EVENT) nohook { if (block.timestamp < _phaseChangedAt + (15 minutes)) { // at beginning of LE, only V1 depositors and team token holders may contribute require( taxCreditsOf(msg.sender) >= 1e6 ether || balanceOf(msg.sender) > 0, 'ERR: must contribute V1 tokens' ); } // add liquidity via purchase to simulate price action by purchasing tokens address[] memory path = new address[](2); path[0] = WETH; path[1] = address(this); uint[] memory amounts = IUniswapV2Router02( UNISWAP_ROUTER ).swapExactETHForTokens{ value: msg.value }( 0, path, msg.sender, block.timestamp ); _transfer(msg.sender, _pair, amounts[1]); IUniswapV2Pair(_pair).sync(); // credit sender with deposit _mintTaxCredit(msg.sender, amounts[1]); _lpCredits[msg.sender] += msg.value; _lpCreditsTotal += msg.value; } /** * @notice open trading * @dev sender must be owner * @dev trading must not yet have been opened */ function open () external phase(Phase.LIQUIDITY_EVENT) { require( msg.sender == _owner || block.timestamp > _phaseChangedAt + (1 hours), 'ERR: sender must be owner' ); _incrementPhase(); // set initial cost basis _initialBasis = (1 ether) * IERC20(WETH).balanceOf(_pair) / balanceOf(_pair); // calculate proportion of UNI-V2 tokens for distribution _holderDistributionUNIV2 = IERC20(_pair).totalSupply() * _lpCredits[address(this)] / _lpCreditsTotal; } /** * @notice add Uniswap liquidity * @param amount quantity of DOGPRO to add */ function addLiquidity ( uint amount ) external payable phase(Phase.OPEN) { _transfer(msg.sender, address(this), amount); uint liquidityETH = IERC20(WETH).balanceOf(_pair); (uint amountToken, uint amountETH, ) = IUniswapV2Router02( UNISWAP_ROUTER ).addLiquidityETH{ value: msg.value }( address(this), amount, 0, 0, address(this), block.timestamp ); if (amountToken < amount) { _transfer(address(this), msg.sender, amount - amountToken); } if (amountETH < msg.value) { payable(msg.sender).sendValue(msg.value - amountETH); } uint lpCreditsDelta = _lpCreditsTotal * amountETH / liquidityETH; _lpCredits[msg.sender] += lpCreditsDelta; _lpCreditsTotal += lpCreditsDelta; _mintTaxCredit(msg.sender, amountToken); } /** * @notice close trading * @dev trading must not yet have been closed * @dev minimum time since open must have elapsed */ function close () external phase(Phase.OPEN) { require(block.timestamp > _phaseChangedAt + (1 days), 'ERR: too soon'); _incrementPhase(); require( block.timestamp > _athTimestamp + (1 weeks), 'ERR: recent ATH' ); uint univ2 = IERC20(_pair).balanceOf(address(this)); (uint amountToken, ) = IUniswapV2Router02( UNISWAP_ROUTER ).removeLiquidityETH( address(this), univ2, 0, 0, address(this), block.timestamp ); _burn(address(this), amountToken); // split liquidity between holders and liquidity providers _holderDistributionETH = address(this).balance * _holderDistributionUNIV2 / univ2; _lpDistributionETH = address(this).balance - _holderDistributionETH; // stop tracking LP credit for original deposit _lpCreditsTotal -= _lpCredits[address(this)]; delete _lpCredits[address(this)]; } /** * @notice exchange DOGPRO for proportion of ETH in contract * @dev trading must have been closed */ function liquidate () external phase(Phase.CLOSED) { // claim tax rewards if (taxCreditsOf(msg.sender) > 0) { _transfer(address(this), msg.sender, taxRewardsOf(msg.sender)); _burnTaxCredit(msg.sender); } // calculate share of holder rewards uint balance = balanceOf(msg.sender); uint holderPayout; if (balance > 0) { holderPayout = _holderDistributionETH * balance / totalSupply(); _holderDistributionETH -= holderPayout; _burn(msg.sender, balance); } // calculate share of liquidity uint lpCredits = _lpCredits[msg.sender]; uint lpPayout; if (lpCredits > 0) { lpPayout = _lpDistributionETH * lpCredits / _lpCreditsTotal; _lpDistributionETH -= lpPayout; delete _lpCredits[msg.sender]; _lpCreditsTotal -= lpCredits; } payable(msg.sender).sendValue(holderPayout + lpPayout); } /** * @notice withdraw remaining ETH from contract * @dev trading must have been closed * @dev minimum time since close must have elapsed */ function liquidateUnclaimed () external phase(Phase.CLOSED) { require(block.timestamp > _phaseChangedAt + (52 weeks), 'ERR: too soon'); payable(_owner).sendValue(address(this).balance); } /** * @notice update contract phase and track timestamp */ function _incrementPhase () private { _phase = Phase(uint8(_phase) + 1); _phaseChangedAt = block.timestamp; } /** * @notice ERC20 hook: enforce transfer restrictions and cost basis; collect tax * @param from tranfer sender * @param to transfer recipient * @param amount quantity of tokens transferred */ function _beforeTokenTransfer ( address from, address to, uint amount ) override internal { super._beforeTokenTransfer(from, to, amount); if (_nohook) return; // ignore minting and burning if (from == address(0) || to == address(0)) return; // ignore add/remove liquidity if (from == address(this) || to == address(this)) return; if (from == UNISWAP_ROUTER || to == UNISWAP_ROUTER) return; require(uint8(_phase) >= uint8(Phase.OPEN)); require( msg.sender == UNISWAP_ROUTER || msg.sender == _pair, 'ERR: sender must be uniswap' ); require(amount <= 5e9 ether /* revert message not returned by Uniswap */); if (from == _pair) { require(cooldownOf[to] < block.timestamp /* revert message not returned by Uniswap */); cooldownOf[to] = block.timestamp + (5 minutes); address[] memory path = new address[](2); path[0] = WETH; path[1] = address(this); uint[] memory amounts = IUniswapV2Router02(UNISWAP_ROUTER).getAmountsIn( amount, path ); uint balance = balanceOf(to); uint fromBasis = (1 ether) * amounts[0] / amount; _basisOf[to] = (fromBasis * amount + basisOf(to) * balance) / (amount + balance); if (fromBasis > _ath) { _ath = fromBasis; _athTimestamp = block.timestamp; } } else if (to == _pair) { _lastOrigin = tx.origin; _lastBlock = block.number; require(cooldownOf[from] < block.timestamp /* revert message not returned by Uniswap */); cooldownOf[from] = block.timestamp + (5 minutes); uint fromBasis = basisOf(from); uint toBasis = basisOfSale(amount); require(fromBasis <= toBasis /* revert message not returned by Uniswap */); // collect tax uint tax = taxFor(fromBasis, toBasis, amount); _transfer(from, address(this), tax); _distributeTax(tax); } } }
// 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata { mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 internal _totalSupply; /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract StakingPool { uint private constant SCALE = 1e18; uint private _rewardPerToken; mapping (address => uint) private _rewardsAccounted; mapping (address => uint) private _rewardsSkipped; // credits for tax distribution mapping (address => uint) private _taxCredits; uint private _taxCreditsTotal; function taxCreditsOf ( address account ) public view returns (uint) { return _taxCredits[account]; } function taxRewardsOf ( address account ) public view returns (uint) { return (_taxCredits[account] * _rewardPerToken + _rewardsAccounted[account] - _rewardsSkipped[account]) / SCALE; } function _distributeTax ( uint amount ) internal { _rewardPerToken += amount * SCALE / _taxCreditsTotal; } function _mintTaxCredit ( address account, uint amount ) internal { uint skipped = taxCreditsOf(account) * _rewardPerToken; _rewardsAccounted[account] += skipped - _rewardsSkipped[account]; _rewardsSkipped[account] = skipped - amount * _rewardPerToken; _taxCredits[account] += amount; _taxCreditsTotal += amount; } function _burnTaxCredit ( address account ) internal { _taxCreditsTotal -= _taxCredits[account]; delete _taxCredits[account]; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// 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; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct DogstonksPro.Minting[]","name":"mintings","type":"tuple[]"}],"stateMutability":"payable","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_phase","outputs":[{"internalType":"enum DogstonksPro.Phase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_phaseChangedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":"account","type":"address"}],"name":"basisOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"basisOfSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"close","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contributeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contributeV1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cooldownOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidateUnclaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openLiquidityEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"taxCreditsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromBasis","type":"uint256"},{"internalType":"uint256","name":"toBasis","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"taxFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"taxRewardsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052601c60808190527f446f6773746f6e6b7350726f2028646f6773746f6e6b732e636f6d290000000060a09081526200004091600a9190620004cb565b5060408051808201909152600680825265444f4750524f60d01b60209092019182526200007091600b91620004cb565b5060405162003574380380620035748339810160408190526200009391620005b2565b600c80546001600160a01b03191633179055426009556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9163c45a0155916004808301926020929190829003018186803b158015620000f557600080fd5b505afa1580156200010a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013091906200058e565b6040516364e329cb60e11b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260048201523060248201526001600160a01b03919091169063c9c6539690604401602060405180830381600087803b1580156200018e57600080fd5b505af1158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c991906200058e565b600d80546001600160a01b0319166001600160a01b03929092169190911790556200020c30737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200039f565b600d5460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d600482015260001960248201526001600160a01b039091169063095ea7b390604401602060405180830381600087803b1580156200026e57600080fd5b505af115801562000283573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a9919062000692565b506000805b825181101562000394576000838281518110620002db57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015190810151815191925090620002fd828662000712565b945081600080836001600160a01b03166001600160a01b03168152602001908152602001600020600082825462000335919062000712565b90915550506040518281526001600160a01b038216906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505080806200038b906200076a565b915050620002ae565b5060025550620007b4565b6001600160a01b038316620004075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200046a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003fe565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620004d9906200072d565b90600052602060002090601f016020900481019282620004fd576000855562000548565b82601f106200051857805160ff191683800117855562000548565b8280016001018555821562000548579182015b82811115620005485782518255916020019190600101906200052b565b50620005569291506200055a565b5090565b5b808211156200055657600081556001016200055b565b80516001600160a01b03811681146200058957600080fd5b919050565b600060208284031215620005a0578081fd5b620005ab8262000571565b9392505050565b60006020808385031215620005c5578182fd5b82516001600160401b0380821115620005dc578384fd5b818501915085601f830112620005f0578384fd5b8151818111156200060557620006056200079e565b62000615848260051b01620006df565b8181528481019250838501600683901b8501860189101562000635578687fd5b8694505b828510156200068657604080828b03121562000653578788fd5b6200065d620006b4565b620006688362000571565b81528288015188820152855260019590950194938601930162000639565b50979650505050505050565b600060208284031215620006a4578081fd5b81518015158114620005ab578182fd5b604080519081016001600160401b0381118282101715620006d957620006d96200079e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200070a576200070a6200079e565b604052919050565b6000821982111562000728576200072862000788565b500190565b600181811c908216806200074257607f821691505b602082108114156200076457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000781576200078162000788565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612db080620007c46000396000f3fe60806040526004361061016a5760003560e01c806351c6590a116100d1578063a0436acb1161008a578063b2ec663811610064578063b2ec6638146103de578063b33a7a17146103fe578063dd62ed3e1461042b578063fcfff16f1461047157600080fd5b8063a0436acb14610368578063a136773b1461039e578063a9059cbb146103be57600080fd5b806351c6590a146102c4578063639f5bb6146102d7578063667a6774146102f757806370a082311461030c57806395d89b411461032c578063973010591461034157600080fd5b806323b872dd1161012357806323b872dd1461022957806328a07025146102495780632fc013911461025e578063313ce5671461027357806343d726d61461028f5780634e7a6a02146102a457600080fd5b806306fdde03146101765780630842566d146101a1578063095ea7b3146101c5578063175323a8146101f557806318160ddd146101ff578063183f0d901461021457600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b610486565b6040516101989190612be8565b60405180910390f35b3480156101ad57600080fd5b506101b760095481565b604051908152602001610198565b3480156101d157600080fd5b506101e56101e036600461290b565b610514565b6040519015158152602001610198565b6101fd61052a565b005b34801561020b57600080fd5b506002546101b7565b34801561022057600080fd5b506101fd61088c565b34801561023557600080fd5b506101e56102443660046128d0565b610a3e565b34801561025557600080fd5b506101fd610aef565b34801561026a57600080fd5b506101fd610c49565b34801561027f57600080fd5b5060405160128152602001610198565b34801561029b57600080fd5b506101fd610cf6565b3480156102b057600080fd5b506101b76102bf36600461287d565b610f69565b6101fd6102d2366004612a62565b610fa8565b3480156102e357600080fd5b506101b76102f236600461287d565b6111ce565b34801561030357600080fd5b506101fd611232565b34801561031857600080fd5b506101b761032736600461287d565b611554565b34801561033857600080fd5b5061018b61173d565b34801561034d57600080fd5b5060085461035b9060ff1681565b6040516101989190612b8b565b34801561037457600080fd5b506101b761038336600461287d565b6001600160a01b031660009081526006602052604090205490565b3480156103aa57600080fd5b506101b76103b9366004612a62565b61174a565b3480156103ca57600080fd5b506101e56103d936600461290b565b6118e0565b3480156103ea57600080fd5b506101b76103f9366004612ab5565b6118ed565b34801561040a57600080fd5b506101b761041936600461287d565b60106020526000908152604090205481565b34801561043757600080fd5b506101b761044636600461289e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561047d57600080fd5b506101fd61191e565b600a805461049390612d13565b80601f01602080910402602001604051908101604052809291908181526020018280546104bf90612d13565b801561050c5780601f106104e15761010080835404028352916020019161050c565b820191906000526020600020905b8154815290600101906020018083116104ef57829003601f168201915b505050505081565b6000610521338484611b44565b50600192915050565b60018060085460ff16600381111561055257634e487b7160e01b600052602160045260246000fd5b146105785760405162461bcd60e51b815260040161056f90612c3b565b60405180910390fd5b601a805460ff1916600117905560095461059490610384612c80565b421015610617573360009081526006602052604090205469d3c21bcecceda10000001115806105cb575060006105c933611554565b115b6106175760405162461bcd60e51b815260206004820152601e60248201527f4552523a206d75737420636f6e7472696275746520563120746f6b656e730000604482015260640161056f565b60408051600280825260608201835260009260208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061066e57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106106b057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152604051637ff36ab560e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d90637ff36ab590349061070a908590879033904290600401612bb3565b6000604051808303818588803b15801561072357600080fd5b505af1158015610737573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526107609190810190612934565b600d5481519192506107a69133916001600160a01b0316908490600190811061079957634e487b7160e01b600052603260045260246000fd5b6020026020010151611c69565b600d60009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156107f657600080fd5b505af115801561080a573d6000803e3d6000fd5b50505050610840338260018151811061083357634e487b7160e01b600052603260045260246000fd5b6020026020010151611e4c565b336000908152601160205260408120805434929061085f908490612c80565b9250508190555034601260008282546108789190612c80565b9091555050601a805460ff19169055505050565b60008060085460ff1660038111156108b457634e487b7160e01b600052602160045260246000fd5b146108d15760405162461bcd60e51b815260040161056f90612c3b565b600c546001600160a01b03163314806108f857506009546108f59062127500612c80565b42115b6109405760405162461bcd60e51b815260206004820152601960248201527822a9291d1039b2b73232b91036bab9ba1031329037bbb732b960391b604482015260640161056f565b610948611f3d565b3060009081526011602052604081204790556012805447929061096c908490612c80565b9091555061099b90503061097f60025490565b610996906c0c9f2c9cd04674edea40000000612cfc565b611fc4565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d71947306109c081611554565b60008030426040518863ffffffff1660e01b81526004016109e696959493929190612b50565b6060604051808303818588803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a389190612ae0565b50505050565b6000610a4b848484611c69565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ad05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161056f565b610ae48533610adf8685612cfc565b611b44565b506001949350505050565b60038060085460ff166003811115610b1757634e487b7160e01b600052602160045260246000fd5b14610b345760405162461bcd60e51b815260040161056f90612c3b565b3360009081526006602052604090205415610b6557610b5c3033610b57336111ce565b611c69565b610b65336120af565b6000610b7033611554565b905060008115610bb95760025482601454610b8b9190612cdd565b610b959190612cbd565b90508060146000828254610ba99190612cfc565b90915550610bb9905033836120fa565b33600090815260116020526040812054908115610c2e5760125482601554610be19190612cdd565b610beb9190612cbd565b90508060156000828254610bff9190612cfc565b909155505033600090815260116020526040812081905560128054849290610c28908490612cfc565b90915550505b610c42610c3b8285612c80565b3390612255565b5050505050565b60038060085460ff166003811115610c7157634e487b7160e01b600052602160045260246000fd5b14610c8e5760405162461bcd60e51b815260040161056f90612c3b565b600954610c9f906301dfe200612c80565b4211610cdd5760405162461bcd60e51b815260206004820152600d60248201526c22a9291d103a37b79039b7b7b760991b604482015260640161056f565b600c54610cf3906001600160a01b031647612255565b50565b60028060085460ff166003811115610d1e57634e487b7160e01b600052602160045260246000fd5b14610d3b5760405162461bcd60e51b815260040161056f90612c3b565b600954610d4b9062015180612c80565b4211610d895760405162461bcd60e51b815260206004820152600d60248201526c22a9291d103a37b79039b7b7b760991b604482015260640161056f565b610d91611f3d565b601754610da19062093a80612c80565b4211610de15760405162461bcd60e51b815260206004820152600f60248201526e08aa4a47440e4cac6cadce84082a89608b1b604482015260640161056f565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610e2557600080fd5b505afa158015610e39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5d9190612a7a565b604051629d473b60e21b8152909150600090737a250d5630b4cf539739df2c5dacb4c659f2488d906302751cec90610ea390309086908690819084904290600401612b50565b6040805180830381600087803b158015610ebc57600080fd5b505af1158015610ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef49190612a92565b509050610f0130826120fa565b8160135447610f109190612cdd565b610f1a9190612cbd565b6014819055610f299047612cfc565b601555306000908152601160205260408120546012805491929091610f4f908490612cfc565b909155505030600090815260116020526040812055505050565b6001600160a01b0381166000908152600f602052604081205480158015610f9857506000610f9684611554565b115b15610fa25750600e545b92915050565b60028060085460ff166003811115610fd057634e487b7160e01b600052602160045260246000fd5b14610fed5760405162461bcd60e51b815260040161056f90612c3b565b610ff8333084611c69565b600d546040516370a0823160e01b81526001600160a01b03909116600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b15801561105257600080fd5b505afa158015611066573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108a9190612a7a565b9050600080737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71934308860008030426040518863ffffffff1660e01b81526004016110db96959493929190612b50565b6060604051808303818588803b1580156110f457600080fd5b505af1158015611108573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061112d9190612ae0565b509150915084821015611149576111493033610b578589612cfc565b3481101561115e5761115e610c3b8234612cfc565b6000838260125461116f9190612cdd565b6111799190612cbd565b3360009081526011602052604081208054929350839290919061119d908490612c80565b9250508190555080601260008282546111b69190612c80565b909155506111c690503384611e4c565b505050505050565b6001600160a01b0381166000908152600560209081526040808320546004835281842054600354600690945291842054670de0b6b3a76400009391929161121491612cdd565b61121e9190612c80565b6112289190612cfc565b610fa29190612cbd565b600160085460ff16600381111561125957634e487b7160e01b600052602160045260246000fd5b14806112895750600260085460ff16600381111561128757634e487b7160e01b600052602160045260246000fd5b145b6112a55760405162461bcd60e51b815260040161056f90612c3b565b6040516370a0823160e01b815233600482015260009073c9aa1007b1619d04c1911e48a8a7a95770be21a2906370a082319060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190612a7a565b6040516323b872dd60e01b815233600482015273c9aa1007b1619d04c1911e48a8a7a95770be21a260248201819052604482018390529192506323b872dd90606401602060405180830381600087803b15801561138657600080fd5b505af115801561139a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113be91906129f4565b5060408051600280825260608201835260009260208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061141657634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061145857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101526000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f6c0b8700930ffbd437464329000d6114ac67afb062a1ada9ab8a87612cdd565b6114b69190612cbd565b846040518363ffffffff1660e01b81526004016114d4929190612c67565b60006040518083038186803b1580156114ec57600080fd5b505afa158015611500573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115289190810190612934565b905061154f338260018151811061083357634e487b7160e01b600052603260045260246000fd5b505050565b600d546000906001600160a01b03163314801561157b57506018546001600160a01b031632145b8015611588575060195443145b1561171f57600080600d60009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156115de57600080fd5b505afa1580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190612a14565b50600d546040516370a0823160e01b81526001600160a01b0390911660048201526001600160701b0392831694509116915073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b15801561167f57600080fd5b505afa158015611693573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b79190612a7a565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc230116116d857816116da565b825b1161171c5760405162461bcd60e51b81526020600482015260126024820152711154948e881b1a5c5d5a591a5d1e4818591960721b604482015260640161056f565b50505b6001600160a01b038216600090815260208190526040902054610fa2565b600b805461049390612d13565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061179157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106117e757634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f9061183b9087908690600401612c67565b60006040518083038186803b15801561185357600080fd5b505afa158015611867573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261188f9190810190612934565b905083816001815181106118b357634e487b7160e01b600052603260045260246000fd5b6020026020010151670de0b6b3a76400006118ce9190612cdd565b6118d89190612cbd565b949350505050565b6000610521338484611c69565b60006127106103e8846119008782612cfc565b61190a9086612cdd565b6119149190612cbd565b6118ce9190612cdd565b60018060085460ff16600381111561194657634e487b7160e01b600052602160045260246000fd5b146119635760405162461bcd60e51b815260040161056f90612c3b565b600c546001600160a01b0316331480611989575060095461198690610e10612c80565b42115b6119d15760405162461bcd60e51b815260206004820152601960248201527822a9291d1039b2b73232b91036bab9ba1031329037bbb732b960391b604482015260640161056f565b6119d9611f3d565b600d546119ee906001600160a01b0316611554565b600d546040516370a0823160e01b81526001600160a01b03909116600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190612a7a565b611a8f90670de0b6b3a7640000612cdd565b611a999190612cbd565b600e556012543060009081526011602090815260409182902054600d5483516318160ddd60e01b8152935191936001600160a01b03909116926318160ddd92600480840193829003018186803b158015611af257600080fd5b505afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190612a7a565b611b349190612cdd565b611b3e9190612cbd565b60135550565b6001600160a01b038316611ba65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056f565b6001600160a01b038216611c075760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611ccd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056f565b6001600160a01b038216611d2f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056f565b611d3a83838361236e565b6001600160a01b03831660009081526020819052604090205481811015611db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056f565b611dbc8282612cfc565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611df2908490612c80565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e3e91815260200190565b60405180910390a350505050565b6000600354611e70846001600160a01b031660009081526006602052604090205490565b611e7a9190612cdd565b6001600160a01b038416600090815260056020526040902054909150611ea09082612cfc565b6001600160a01b03841660009081526004602052604081208054909190611ec8908490612c80565b9091555050600354611eda9083612cdd565b611ee49082612cfc565b6001600160a01b038416600090815260056020908152604080832093909355600690529081208054849290611f1a908490612c80565b925050819055508160076000828254611f339190612c80565b9091555050505050565b60085460ff166003811115611f6257634e487b7160e01b600052602160045260246000fd5b611f6d906001612c98565b60ff166003811115611f8f57634e487b7160e01b600052602160045260246000fd5b6008805460ff19166001836003811115611fb957634e487b7160e01b600052602160045260246000fd5b021790555042600955565b6001600160a01b03821661201a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161056f565b6120266000838361236e565b80600260008282546120389190612c80565b90915550506001600160a01b03821660009081526020819052604081208054839290612065908490612c80565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03811660009081526006602052604081205460078054919290916120db908490612cfc565b90915550506001600160a01b0316600090815260066020526040812055565b6001600160a01b03821661215a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161056f565b6121668260008361236e565b6001600160a01b038216600090815260208190526040902054818110156121da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161056f565b6121e48282612cfc565b6001600160a01b03841660009081526020819052604081209190915560028054849290612212908490612cfc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611c5c565b804710156122a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161056f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122f2576040519150601f19603f3d011682016040523d82523d6000602084013e6122f7565b606091505b505090508061154f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161056f565b601a5460ff161561237e57505050565b6001600160a01b038316158061239b57506001600160a01b038216155b156123a557505050565b6001600160a01b0383163014806123c457506001600160a01b03821630145b156123ce57505050565b6001600160a01b038316737a250d5630b4cf539739df2c5dacb4c659f2488d148061241557506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d145b1561241f57505050565b60085460029060ff16600381111561244757634e487b7160e01b600052602160045260246000fd5b60ff16101561245557600080fd5b33737a250d5630b4cf539739df2c5dacb4c659f2488d14806124815750600d546001600160a01b031633145b6124cd5760405162461bcd60e51b815260206004820152601b60248201527f4552523a2073656e646572206d75737420626520756e69737761700000000000604482015260640161056f565b6b1027e72f1f128130880000008111156124e657600080fd5b600d546001600160a01b0384811691161415612757576001600160a01b038216600090815260106020526040902054421161252057600080fd5b61252c4261012c612c80565b6001600160a01b038316600090815260106020526040808220929092558151600280825260608201909352909181602001602082028036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816000815181106125a157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106125e357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101526040516307c0329d60e21b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d90631f00ca74906126379086908690600401612c67565b60006040518083038186803b15801561264f57600080fd5b505afa158015612663573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261268b9190810190612934565b9050600061269885611554565b9050600084836000815181106126be57634e487b7160e01b600052603260045260246000fd5b6020026020010151670de0b6b3a76400006126d99190612cdd565b6126e39190612cbd565b90506126ef8286612c80565b826126f988610f69565b6127039190612cdd565b61270d8784612cdd565b6127179190612c80565b6127219190612cbd565b6001600160a01b0387166000908152600f602052604090205560165481111561274e576016819055426017555b50505050505050565b600d546001600160a01b038381169116141561154f57601880546001600160a01b03191632179055436019556001600160a01b03831660009081526010602052604090205442116127a757600080fd5b6127b34261012c612c80565b6001600160a01b0384166000908152601060205260408120919091556127d884610f69565b905060006127e58361174a565b9050808211156127f457600080fd5b60006128018383866118ed565b905061280e863083611c69565b6111c681600754612827670de0b6b3a764000083612cdd565b6128319190612cbd565b600360008282546128429190612c80565b909155505050565b80356001600160a01b038116811461286157600080fd5b919050565b80516001600160701b038116811461286157600080fd5b60006020828403121561288e578081fd5b6128978261284a565b9392505050565b600080604083850312156128b0578081fd5b6128b98361284a565b91506128c76020840161284a565b90509250929050565b6000806000606084860312156128e4578081fd5b6128ed8461284a565b92506128fb6020850161284a565b9150604084013590509250925092565b6000806040838503121561291d578182fd5b6129268361284a565b946020939093013593505050565b60006020808385031215612946578182fd5b825167ffffffffffffffff8082111561295d578384fd5b818501915085601f830112612970578384fd5b81518181111561298257612982612d64565b8060051b604051601f19603f830116810181811085821117156129a7576129a7612d64565b604052828152858101935084860182860187018a10156129c5578788fd5b8795505b838610156129e75780518552600195909501949386019386016129c9565b5098975050505050505050565b600060208284031215612a05578081fd5b81518015158114612897578182fd5b600080600060608486031215612a28578283fd5b612a3184612866565b9250612a3f60208501612866565b9150604084015163ffffffff81168114612a57578182fd5b809150509250925092565b600060208284031215612a73578081fd5b5035919050565b600060208284031215612a8b578081fd5b5051919050565b60008060408385031215612aa4578182fd5b505080516020909101519092909150565b600080600060608486031215612ac9578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215612af4578283fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b83811015612b455781516001600160a01b031687529582019590820190600101612b20565b509495945050505050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6020810160048310612bad57634e487b7160e01b600052602160045260246000fd5b91905290565b848152608060208201526000612bcc6080830186612b0d565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b81811015612c1457858101830151858201604001528201612bf8565b81811115612c255783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601290820152714552523a20696e76616c696420706861736560701b604082015260600190565b8281526040602082015260006118d86040830184612b0d565b60008219821115612c9357612c93612d4e565b500190565b600060ff821660ff84168060ff03821115612cb557612cb5612d4e565b019392505050565b600082612cd857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612cf757612cf7612d4e565b500290565b600082821015612d0e57612d0e612d4e565b500390565b600181811c90821680612d2757607f821691505b60208210811415612d4857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220aad8fd5b7a4d12ee719e7424f75d431c680fa6ab005eba572ac071bfe3a0b1a864736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002800000000000000000000000093623f322856e03545c74ce9f1039de25095f0b80000000000000000000000000000000000000000409f9cbc7c4a04c220000000000000000000000000000000c7aaf4e1e16b83bd0de09615efc0a4ab74eb11c400000000000000000000000000000000000000001027e72f1f1281308800000000000000000000000000000020d53b1acf8c55b3a54218a43c4758e6fbd8386900000000000000000000000000000000000000001027e72f1f1281308800000000000000000000000000000098b310e1280f014adff1f103edc3f64372fa96f10000000000000000000000000000000000000000183bdac6ae9bc1c8cc0000000000000000000000000000002e21ecf3e5c0bc4a1742f33d90f045aa7f0e2b9500000000000000000000000000000000000000000409f9cbc7c4a04c220000000000000000000000000000005823443272c330e1a28cea0038e70196b785dbdd00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000f78108c9bbaf466dd96be41be728fe3220b3711900000000000000000000000000000000000000000409f9cbc7c4a04c2200000000000000000000000000000023ed05aad698cd4be7c9c5f2c6f8c04ed182779300000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000003a883ba0bbf17260d7228e80b36ec1ca75d446ad0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000001e81bc871bc3463032beae0fac04615681d51400000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000009d320aa885e129c08572adca4068381f82d1f12900000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000fd5167d229803e567e7ce5d9193e35f242f62c8600000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000002d0701a0412fb990420ab630d08c38ad0192a2a100000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000256b1df1ecb6de7c3a260bf5e970a81d8ea601230000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000775d1a3da9ce51073adefe530c486d68a174387a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000001ea770e09907ca58ff4fd540ec283c3b79f10e9b00000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000008be16f0ec06bc7f50078ac6a23f5b08189335a6d0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000516167dda008849321c767ba389cae2cbb33ea4c0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000000000000000000000000000ee5ade55a46908e73e8735c5d6c53baa1b8cb50a00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c7c68cde0e53b71dd571868e696e5d8a73417a9200000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c5c49506ff89b4867b927078234e119fcb78b84c0000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000069bcd48e05a6efe968cef41fc778f574741924ff0000000000000000000000000000000000000000019d971d9b7ef8fef3ec0000000000000000000000000000232874ebfb5d4823071714f6cd1caefd8666dcbb00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000b35e366946515ee77c8af394be8a18c504dc5a050000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000f2a0b113615ef56fabefd0c7c1cf7438f41558e30000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000ab437e4e75b198966268ad7753a82a5993b095a900000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000979244c427041ac573bb377c705dac79922818c100000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000cb5c7bf4b2da6be9b66cb38bdb6d2a50f5b3cf9000000000000000000000000000000000000000000409f9cbc7c4a04c2200000000000000000000000000000090bcef8d0aa1d81bfbedef19eb66bb0c417bc81b0000000000000000000000000000000000000000183bdac6ae9bc1c8cc00000000000000000000000000000059c4f2bedc3f216b75af2471e100c5ce26792d240000000000000000000000000000000000000000204fce5e3e25026110000000000000000000000000000000d0c92c7db6973764723eeaed0856dd5dce7f3b180000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000cc8fbf47a128966ffa8bb402fe95841125dc94a60000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000008d5d4881efd155ca9dbd070140301dbf932b3b4500000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c344c03d1b541ffef02f1df8a2e58b38ff402f230000000000000000000000000000000000000000183bdac6ae9bc1c8cc0000000000000000000000000000001382bc8cc13355615294ebb3e788789cd8b555890000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a7323094c5cc61e3a0bd99df5db1cfcae8249e030000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000006d6b4ad62f5506040e9e5d1533583f9eb5f9b54600000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000867cb9c2df8d3120657e69884b8b8486fb394e470000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000e4df62239a96950d3b41e483fd8a54d7386914300000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a3e51498579db0f7bb1ec9e3093b2f44158e25a50000000000000000000000000000000000000000026c62ad77dc602dae000000
Deployed Bytecode
0x60806040526004361061016a5760003560e01c806351c6590a116100d1578063a0436acb1161008a578063b2ec663811610064578063b2ec6638146103de578063b33a7a17146103fe578063dd62ed3e1461042b578063fcfff16f1461047157600080fd5b8063a0436acb14610368578063a136773b1461039e578063a9059cbb146103be57600080fd5b806351c6590a146102c4578063639f5bb6146102d7578063667a6774146102f757806370a082311461030c57806395d89b411461032c578063973010591461034157600080fd5b806323b872dd1161012357806323b872dd1461022957806328a07025146102495780632fc013911461025e578063313ce5671461027357806343d726d61461028f5780634e7a6a02146102a457600080fd5b806306fdde03146101765780630842566d146101a1578063095ea7b3146101c5578063175323a8146101f557806318160ddd146101ff578063183f0d901461021457600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b610486565b6040516101989190612be8565b60405180910390f35b3480156101ad57600080fd5b506101b760095481565b604051908152602001610198565b3480156101d157600080fd5b506101e56101e036600461290b565b610514565b6040519015158152602001610198565b6101fd61052a565b005b34801561020b57600080fd5b506002546101b7565b34801561022057600080fd5b506101fd61088c565b34801561023557600080fd5b506101e56102443660046128d0565b610a3e565b34801561025557600080fd5b506101fd610aef565b34801561026a57600080fd5b506101fd610c49565b34801561027f57600080fd5b5060405160128152602001610198565b34801561029b57600080fd5b506101fd610cf6565b3480156102b057600080fd5b506101b76102bf36600461287d565b610f69565b6101fd6102d2366004612a62565b610fa8565b3480156102e357600080fd5b506101b76102f236600461287d565b6111ce565b34801561030357600080fd5b506101fd611232565b34801561031857600080fd5b506101b761032736600461287d565b611554565b34801561033857600080fd5b5061018b61173d565b34801561034d57600080fd5b5060085461035b9060ff1681565b6040516101989190612b8b565b34801561037457600080fd5b506101b761038336600461287d565b6001600160a01b031660009081526006602052604090205490565b3480156103aa57600080fd5b506101b76103b9366004612a62565b61174a565b3480156103ca57600080fd5b506101e56103d936600461290b565b6118e0565b3480156103ea57600080fd5b506101b76103f9366004612ab5565b6118ed565b34801561040a57600080fd5b506101b761041936600461287d565b60106020526000908152604090205481565b34801561043757600080fd5b506101b761044636600461289e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561047d57600080fd5b506101fd61191e565b600a805461049390612d13565b80601f01602080910402602001604051908101604052809291908181526020018280546104bf90612d13565b801561050c5780601f106104e15761010080835404028352916020019161050c565b820191906000526020600020905b8154815290600101906020018083116104ef57829003601f168201915b505050505081565b6000610521338484611b44565b50600192915050565b60018060085460ff16600381111561055257634e487b7160e01b600052602160045260246000fd5b146105785760405162461bcd60e51b815260040161056f90612c3b565b60405180910390fd5b601a805460ff1916600117905560095461059490610384612c80565b421015610617573360009081526006602052604090205469d3c21bcecceda10000001115806105cb575060006105c933611554565b115b6106175760405162461bcd60e51b815260206004820152601e60248201527f4552523a206d75737420636f6e7472696275746520563120746f6b656e730000604482015260640161056f565b60408051600280825260608201835260009260208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061066e57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106106b057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152604051637ff36ab560e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d90637ff36ab590349061070a908590879033904290600401612bb3565b6000604051808303818588803b15801561072357600080fd5b505af1158015610737573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526107609190810190612934565b600d5481519192506107a69133916001600160a01b0316908490600190811061079957634e487b7160e01b600052603260045260246000fd5b6020026020010151611c69565b600d60009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156107f657600080fd5b505af115801561080a573d6000803e3d6000fd5b50505050610840338260018151811061083357634e487b7160e01b600052603260045260246000fd5b6020026020010151611e4c565b336000908152601160205260408120805434929061085f908490612c80565b9250508190555034601260008282546108789190612c80565b9091555050601a805460ff19169055505050565b60008060085460ff1660038111156108b457634e487b7160e01b600052602160045260246000fd5b146108d15760405162461bcd60e51b815260040161056f90612c3b565b600c546001600160a01b03163314806108f857506009546108f59062127500612c80565b42115b6109405760405162461bcd60e51b815260206004820152601960248201527822a9291d1039b2b73232b91036bab9ba1031329037bbb732b960391b604482015260640161056f565b610948611f3d565b3060009081526011602052604081204790556012805447929061096c908490612c80565b9091555061099b90503061097f60025490565b610996906c0c9f2c9cd04674edea40000000612cfc565b611fc4565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d71947306109c081611554565b60008030426040518863ffffffff1660e01b81526004016109e696959493929190612b50565b6060604051808303818588803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a389190612ae0565b50505050565b6000610a4b848484611c69565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ad05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161056f565b610ae48533610adf8685612cfc565b611b44565b506001949350505050565b60038060085460ff166003811115610b1757634e487b7160e01b600052602160045260246000fd5b14610b345760405162461bcd60e51b815260040161056f90612c3b565b3360009081526006602052604090205415610b6557610b5c3033610b57336111ce565b611c69565b610b65336120af565b6000610b7033611554565b905060008115610bb95760025482601454610b8b9190612cdd565b610b959190612cbd565b90508060146000828254610ba99190612cfc565b90915550610bb9905033836120fa565b33600090815260116020526040812054908115610c2e5760125482601554610be19190612cdd565b610beb9190612cbd565b90508060156000828254610bff9190612cfc565b909155505033600090815260116020526040812081905560128054849290610c28908490612cfc565b90915550505b610c42610c3b8285612c80565b3390612255565b5050505050565b60038060085460ff166003811115610c7157634e487b7160e01b600052602160045260246000fd5b14610c8e5760405162461bcd60e51b815260040161056f90612c3b565b600954610c9f906301dfe200612c80565b4211610cdd5760405162461bcd60e51b815260206004820152600d60248201526c22a9291d103a37b79039b7b7b760991b604482015260640161056f565b600c54610cf3906001600160a01b031647612255565b50565b60028060085460ff166003811115610d1e57634e487b7160e01b600052602160045260246000fd5b14610d3b5760405162461bcd60e51b815260040161056f90612c3b565b600954610d4b9062015180612c80565b4211610d895760405162461bcd60e51b815260206004820152600d60248201526c22a9291d103a37b79039b7b7b760991b604482015260640161056f565b610d91611f3d565b601754610da19062093a80612c80565b4211610de15760405162461bcd60e51b815260206004820152600f60248201526e08aa4a47440e4cac6cadce84082a89608b1b604482015260640161056f565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610e2557600080fd5b505afa158015610e39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5d9190612a7a565b604051629d473b60e21b8152909150600090737a250d5630b4cf539739df2c5dacb4c659f2488d906302751cec90610ea390309086908690819084904290600401612b50565b6040805180830381600087803b158015610ebc57600080fd5b505af1158015610ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef49190612a92565b509050610f0130826120fa565b8160135447610f109190612cdd565b610f1a9190612cbd565b6014819055610f299047612cfc565b601555306000908152601160205260408120546012805491929091610f4f908490612cfc565b909155505030600090815260116020526040812055505050565b6001600160a01b0381166000908152600f602052604081205480158015610f9857506000610f9684611554565b115b15610fa25750600e545b92915050565b60028060085460ff166003811115610fd057634e487b7160e01b600052602160045260246000fd5b14610fed5760405162461bcd60e51b815260040161056f90612c3b565b610ff8333084611c69565b600d546040516370a0823160e01b81526001600160a01b03909116600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b15801561105257600080fd5b505afa158015611066573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108a9190612a7a565b9050600080737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71934308860008030426040518863ffffffff1660e01b81526004016110db96959493929190612b50565b6060604051808303818588803b1580156110f457600080fd5b505af1158015611108573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061112d9190612ae0565b509150915084821015611149576111493033610b578589612cfc565b3481101561115e5761115e610c3b8234612cfc565b6000838260125461116f9190612cdd565b6111799190612cbd565b3360009081526011602052604081208054929350839290919061119d908490612c80565b9250508190555080601260008282546111b69190612c80565b909155506111c690503384611e4c565b505050505050565b6001600160a01b0381166000908152600560209081526040808320546004835281842054600354600690945291842054670de0b6b3a76400009391929161121491612cdd565b61121e9190612c80565b6112289190612cfc565b610fa29190612cbd565b600160085460ff16600381111561125957634e487b7160e01b600052602160045260246000fd5b14806112895750600260085460ff16600381111561128757634e487b7160e01b600052602160045260246000fd5b145b6112a55760405162461bcd60e51b815260040161056f90612c3b565b6040516370a0823160e01b815233600482015260009073c9aa1007b1619d04c1911e48a8a7a95770be21a2906370a082319060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190612a7a565b6040516323b872dd60e01b815233600482015273c9aa1007b1619d04c1911e48a8a7a95770be21a260248201819052604482018390529192506323b872dd90606401602060405180830381600087803b15801561138657600080fd5b505af115801561139a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113be91906129f4565b5060408051600280825260608201835260009260208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061141657634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061145857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101526000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f6c0b8700930ffbd437464329000d6114ac67afb062a1ada9ab8a87612cdd565b6114b69190612cbd565b846040518363ffffffff1660e01b81526004016114d4929190612c67565b60006040518083038186803b1580156114ec57600080fd5b505afa158015611500573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115289190810190612934565b905061154f338260018151811061083357634e487b7160e01b600052603260045260246000fd5b505050565b600d546000906001600160a01b03163314801561157b57506018546001600160a01b031632145b8015611588575060195443145b1561171f57600080600d60009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156115de57600080fd5b505afa1580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190612a14565b50600d546040516370a0823160e01b81526001600160a01b0390911660048201526001600160701b0392831694509116915073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b15801561167f57600080fd5b505afa158015611693573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b79190612a7a565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc230116116d857816116da565b825b1161171c5760405162461bcd60e51b81526020600482015260126024820152711154948e881b1a5c5d5a591a5d1e4818591960721b604482015260640161056f565b50505b6001600160a01b038216600090815260208190526040902054610fa2565b600b805461049390612d13565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061179157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106117e757634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f9061183b9087908690600401612c67565b60006040518083038186803b15801561185357600080fd5b505afa158015611867573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261188f9190810190612934565b905083816001815181106118b357634e487b7160e01b600052603260045260246000fd5b6020026020010151670de0b6b3a76400006118ce9190612cdd565b6118d89190612cbd565b949350505050565b6000610521338484611c69565b60006127106103e8846119008782612cfc565b61190a9086612cdd565b6119149190612cbd565b6118ce9190612cdd565b60018060085460ff16600381111561194657634e487b7160e01b600052602160045260246000fd5b146119635760405162461bcd60e51b815260040161056f90612c3b565b600c546001600160a01b0316331480611989575060095461198690610e10612c80565b42115b6119d15760405162461bcd60e51b815260206004820152601960248201527822a9291d1039b2b73232b91036bab9ba1031329037bbb732b960391b604482015260640161056f565b6119d9611f3d565b600d546119ee906001600160a01b0316611554565b600d546040516370a0823160e01b81526001600160a01b03909116600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a082319060240160206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190612a7a565b611a8f90670de0b6b3a7640000612cdd565b611a999190612cbd565b600e556012543060009081526011602090815260409182902054600d5483516318160ddd60e01b8152935191936001600160a01b03909116926318160ddd92600480840193829003018186803b158015611af257600080fd5b505afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190612a7a565b611b349190612cdd565b611b3e9190612cbd565b60135550565b6001600160a01b038316611ba65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056f565b6001600160a01b038216611c075760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611ccd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056f565b6001600160a01b038216611d2f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056f565b611d3a83838361236e565b6001600160a01b03831660009081526020819052604090205481811015611db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056f565b611dbc8282612cfc565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611df2908490612c80565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e3e91815260200190565b60405180910390a350505050565b6000600354611e70846001600160a01b031660009081526006602052604090205490565b611e7a9190612cdd565b6001600160a01b038416600090815260056020526040902054909150611ea09082612cfc565b6001600160a01b03841660009081526004602052604081208054909190611ec8908490612c80565b9091555050600354611eda9083612cdd565b611ee49082612cfc565b6001600160a01b038416600090815260056020908152604080832093909355600690529081208054849290611f1a908490612c80565b925050819055508160076000828254611f339190612c80565b9091555050505050565b60085460ff166003811115611f6257634e487b7160e01b600052602160045260246000fd5b611f6d906001612c98565b60ff166003811115611f8f57634e487b7160e01b600052602160045260246000fd5b6008805460ff19166001836003811115611fb957634e487b7160e01b600052602160045260246000fd5b021790555042600955565b6001600160a01b03821661201a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161056f565b6120266000838361236e565b80600260008282546120389190612c80565b90915550506001600160a01b03821660009081526020819052604081208054839290612065908490612c80565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03811660009081526006602052604081205460078054919290916120db908490612cfc565b90915550506001600160a01b0316600090815260066020526040812055565b6001600160a01b03821661215a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161056f565b6121668260008361236e565b6001600160a01b038216600090815260208190526040902054818110156121da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161056f565b6121e48282612cfc565b6001600160a01b03841660009081526020819052604081209190915560028054849290612212908490612cfc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611c5c565b804710156122a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161056f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122f2576040519150601f19603f3d011682016040523d82523d6000602084013e6122f7565b606091505b505090508061154f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161056f565b601a5460ff161561237e57505050565b6001600160a01b038316158061239b57506001600160a01b038216155b156123a557505050565b6001600160a01b0383163014806123c457506001600160a01b03821630145b156123ce57505050565b6001600160a01b038316737a250d5630b4cf539739df2c5dacb4c659f2488d148061241557506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d145b1561241f57505050565b60085460029060ff16600381111561244757634e487b7160e01b600052602160045260246000fd5b60ff16101561245557600080fd5b33737a250d5630b4cf539739df2c5dacb4c659f2488d14806124815750600d546001600160a01b031633145b6124cd5760405162461bcd60e51b815260206004820152601b60248201527f4552523a2073656e646572206d75737420626520756e69737761700000000000604482015260640161056f565b6b1027e72f1f128130880000008111156124e657600080fd5b600d546001600160a01b0384811691161415612757576001600160a01b038216600090815260106020526040902054421161252057600080fd5b61252c4261012c612c80565b6001600160a01b038316600090815260106020526040808220929092558151600280825260608201909352909181602001602082028036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816000815181106125a157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106125e357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101526040516307c0329d60e21b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d90631f00ca74906126379086908690600401612c67565b60006040518083038186803b15801561264f57600080fd5b505afa158015612663573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261268b9190810190612934565b9050600061269885611554565b9050600084836000815181106126be57634e487b7160e01b600052603260045260246000fd5b6020026020010151670de0b6b3a76400006126d99190612cdd565b6126e39190612cbd565b90506126ef8286612c80565b826126f988610f69565b6127039190612cdd565b61270d8784612cdd565b6127179190612c80565b6127219190612cbd565b6001600160a01b0387166000908152600f602052604090205560165481111561274e576016819055426017555b50505050505050565b600d546001600160a01b038381169116141561154f57601880546001600160a01b03191632179055436019556001600160a01b03831660009081526010602052604090205442116127a757600080fd5b6127b34261012c612c80565b6001600160a01b0384166000908152601060205260408120919091556127d884610f69565b905060006127e58361174a565b9050808211156127f457600080fd5b60006128018383866118ed565b905061280e863083611c69565b6111c681600754612827670de0b6b3a764000083612cdd565b6128319190612cbd565b600360008282546128429190612c80565b909155505050565b80356001600160a01b038116811461286157600080fd5b919050565b80516001600160701b038116811461286157600080fd5b60006020828403121561288e578081fd5b6128978261284a565b9392505050565b600080604083850312156128b0578081fd5b6128b98361284a565b91506128c76020840161284a565b90509250929050565b6000806000606084860312156128e4578081fd5b6128ed8461284a565b92506128fb6020850161284a565b9150604084013590509250925092565b6000806040838503121561291d578182fd5b6129268361284a565b946020939093013593505050565b60006020808385031215612946578182fd5b825167ffffffffffffffff8082111561295d578384fd5b818501915085601f830112612970578384fd5b81518181111561298257612982612d64565b8060051b604051601f19603f830116810181811085821117156129a7576129a7612d64565b604052828152858101935084860182860187018a10156129c5578788fd5b8795505b838610156129e75780518552600195909501949386019386016129c9565b5098975050505050505050565b600060208284031215612a05578081fd5b81518015158114612897578182fd5b600080600060608486031215612a28578283fd5b612a3184612866565b9250612a3f60208501612866565b9150604084015163ffffffff81168114612a57578182fd5b809150509250925092565b600060208284031215612a73578081fd5b5035919050565b600060208284031215612a8b578081fd5b5051919050565b60008060408385031215612aa4578182fd5b505080516020909101519092909150565b600080600060608486031215612ac9578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215612af4578283fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b83811015612b455781516001600160a01b031687529582019590820190600101612b20565b509495945050505050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6020810160048310612bad57634e487b7160e01b600052602160045260246000fd5b91905290565b848152608060208201526000612bcc6080830186612b0d565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b81811015612c1457858101830151858201604001528201612bf8565b81811115612c255783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601290820152714552523a20696e76616c696420706861736560701b604082015260600190565b8281526040602082015260006118d86040830184612b0d565b60008219821115612c9357612c93612d4e565b500190565b600060ff821660ff84168060ff03821115612cb557612cb5612d4e565b019392505050565b600082612cd857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612cf757612cf7612d4e565b500290565b600082821015612d0e57612d0e612d4e565b500390565b600181811c90821680612d2757607f821691505b60208210811415612d4857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220aad8fd5b7a4d12ee719e7424f75d431c680fa6ab005eba572ac071bfe3a0b1a864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002800000000000000000000000093623f322856e03545c74ce9f1039de25095f0b80000000000000000000000000000000000000000409f9cbc7c4a04c220000000000000000000000000000000c7aaf4e1e16b83bd0de09615efc0a4ab74eb11c400000000000000000000000000000000000000001027e72f1f1281308800000000000000000000000000000020d53b1acf8c55b3a54218a43c4758e6fbd8386900000000000000000000000000000000000000001027e72f1f1281308800000000000000000000000000000098b310e1280f014adff1f103edc3f64372fa96f10000000000000000000000000000000000000000183bdac6ae9bc1c8cc0000000000000000000000000000002e21ecf3e5c0bc4a1742f33d90f045aa7f0e2b9500000000000000000000000000000000000000000409f9cbc7c4a04c220000000000000000000000000000005823443272c330e1a28cea0038e70196b785dbdd00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000f78108c9bbaf466dd96be41be728fe3220b3711900000000000000000000000000000000000000000409f9cbc7c4a04c2200000000000000000000000000000023ed05aad698cd4be7c9c5f2c6f8c04ed182779300000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000003a883ba0bbf17260d7228e80b36ec1ca75d446ad0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000001e81bc871bc3463032beae0fac04615681d51400000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000009d320aa885e129c08572adca4068381f82d1f12900000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000fd5167d229803e567e7ce5d9193e35f242f62c8600000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000002d0701a0412fb990420ab630d08c38ad0192a2a100000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000256b1df1ecb6de7c3a260bf5e970a81d8ea601230000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000775d1a3da9ce51073adefe530c486d68a174387a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000001ea770e09907ca58ff4fd540ec283c3b79f10e9b00000000000000000000000000000000000000001027e72f1f128130880000000000000000000000000000008be16f0ec06bc7f50078ac6a23f5b08189335a6d0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000516167dda008849321c767ba389cae2cbb33ea4c0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000000000000000000000000000ee5ade55a46908e73e8735c5d6c53baa1b8cb50a00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c7c68cde0e53b71dd571868e696e5d8a73417a9200000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c5c49506ff89b4867b927078234e119fcb78b84c0000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000069bcd48e05a6efe968cef41fc778f574741924ff0000000000000000000000000000000000000000019d971d9b7ef8fef3ec0000000000000000000000000000232874ebfb5d4823071714f6cd1caefd8666dcbb00000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000b35e366946515ee77c8af394be8a18c504dc5a050000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000f2a0b113615ef56fabefd0c7c1cf7438f41558e30000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000ab437e4e75b198966268ad7753a82a5993b095a900000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000979244c427041ac573bb377c705dac79922818c100000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000cb5c7bf4b2da6be9b66cb38bdb6d2a50f5b3cf9000000000000000000000000000000000000000000409f9cbc7c4a04c2200000000000000000000000000000090bcef8d0aa1d81bfbedef19eb66bb0c417bc81b0000000000000000000000000000000000000000183bdac6ae9bc1c8cc00000000000000000000000000000059c4f2bedc3f216b75af2471e100c5ce26792d240000000000000000000000000000000000000000204fce5e3e25026110000000000000000000000000000000d0c92c7db6973764723eeaed0856dd5dce7f3b180000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000cc8fbf47a128966ffa8bb402fe95841125dc94a60000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000008d5d4881efd155ca9dbd070140301dbf932b3b4500000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000c344c03d1b541ffef02f1df8a2e58b38ff402f230000000000000000000000000000000000000000183bdac6ae9bc1c8cc0000000000000000000000000000001382bc8cc13355615294ebb3e788789cd8b555890000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a7323094c5cc61e3a0bd99df5db1cfcae8249e030000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000006d6b4ad62f5506040e9e5d1533583f9eb5f9b54600000000000000000000000000000000000000001027e72f1f12813088000000000000000000000000000000867cb9c2df8d3120657e69884b8b8486fb394e470000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000e4df62239a96950d3b41e483fd8a54d7386914300000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a3e51498579db0f7bb1ec9e3093b2f44158e25a50000000000000000000000000000000000000000026c62ad77dc602dae000000
-----Decoded View---------------
Arg [0] : mintings (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
82 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [2] : 00000000000000000000000093623f322856e03545c74ce9f1039de25095f0b8
Arg [3] : 0000000000000000000000000000000000000000409f9cbc7c4a04c220000000
Arg [4] : 000000000000000000000000c7aaf4e1e16b83bd0de09615efc0a4ab74eb11c4
Arg [5] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [6] : 00000000000000000000000020d53b1acf8c55b3a54218a43c4758e6fbd83869
Arg [7] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [8] : 00000000000000000000000098b310e1280f014adff1f103edc3f64372fa96f1
Arg [9] : 0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000
Arg [10] : 0000000000000000000000002e21ecf3e5c0bc4a1742f33d90f045aa7f0e2b95
Arg [11] : 00000000000000000000000000000000000000000409f9cbc7c4a04c22000000
Arg [12] : 0000000000000000000000005823443272c330e1a28cea0038e70196b785dbdd
Arg [13] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [14] : 000000000000000000000000f78108c9bbaf466dd96be41be728fe3220b37119
Arg [15] : 00000000000000000000000000000000000000000409f9cbc7c4a04c22000000
Arg [16] : 00000000000000000000000023ed05aad698cd4be7c9c5f2c6f8c04ed1827793
Arg [17] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [18] : 0000000000000000000000003a883ba0bbf17260d7228e80b36ec1ca75d446ad
Arg [19] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [20] : 00000000000000000000000001e81bc871bc3463032beae0fac04615681d5140
Arg [21] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [22] : 0000000000000000000000009d320aa885e129c08572adca4068381f82d1f129
Arg [23] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [24] : 000000000000000000000000fd5167d229803e567e7ce5d9193e35f242f62c86
Arg [25] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [26] : 0000000000000000000000002d0701a0412fb990420ab630d08c38ad0192a2a1
Arg [27] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [28] : 000000000000000000000000256b1df1ecb6de7c3a260bf5e970a81d8ea60123
Arg [29] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [30] : 000000000000000000000000775d1a3da9ce51073adefe530c486d68a174387a
Arg [31] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [32] : 0000000000000000000000001ea770e09907ca58ff4fd540ec283c3b79f10e9b
Arg [33] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [34] : 0000000000000000000000008be16f0ec06bc7f50078ac6a23f5b08189335a6d
Arg [35] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [36] : 000000000000000000000000516167dda008849321c767ba389cae2cbb33ea4c
Arg [37] : 0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000
Arg [38] : 000000000000000000000000ee5ade55a46908e73e8735c5d6c53baa1b8cb50a
Arg [39] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [40] : 000000000000000000000000c7c68cde0e53b71dd571868e696e5d8a73417a92
Arg [41] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [42] : 000000000000000000000000c5c49506ff89b4867b927078234e119fcb78b84c
Arg [43] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [44] : 00000000000000000000000069bcd48e05a6efe968cef41fc778f574741924ff
Arg [45] : 0000000000000000000000000000000000000000019d971d9b7ef8fef3ec0000
Arg [46] : 000000000000000000000000232874ebfb5d4823071714f6cd1caefd8666dcbb
Arg [47] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [48] : 000000000000000000000000b35e366946515ee77c8af394be8a18c504dc5a05
Arg [49] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [50] : 000000000000000000000000f2a0b113615ef56fabefd0c7c1cf7438f41558e3
Arg [51] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [52] : 000000000000000000000000ab437e4e75b198966268ad7753a82a5993b095a9
Arg [53] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [54] : 000000000000000000000000979244c427041ac573bb377c705dac79922818c1
Arg [55] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [56] : 000000000000000000000000cb5c7bf4b2da6be9b66cb38bdb6d2a50f5b3cf90
Arg [57] : 00000000000000000000000000000000000000000409f9cbc7c4a04c22000000
Arg [58] : 00000000000000000000000090bcef8d0aa1d81bfbedef19eb66bb0c417bc81b
Arg [59] : 0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000
Arg [60] : 00000000000000000000000059c4f2bedc3f216b75af2471e100c5ce26792d24
Arg [61] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [62] : 000000000000000000000000d0c92c7db6973764723eeaed0856dd5dce7f3b18
Arg [63] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [64] : 000000000000000000000000cc8fbf47a128966ffa8bb402fe95841125dc94a6
Arg [65] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [66] : 0000000000000000000000008d5d4881efd155ca9dbd070140301dbf932b3b45
Arg [67] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [68] : 000000000000000000000000c344c03d1b541ffef02f1df8a2e58b38ff402f23
Arg [69] : 0000000000000000000000000000000000000000183bdac6ae9bc1c8cc000000
Arg [70] : 0000000000000000000000001382bc8cc13355615294ebb3e788789cd8b55589
Arg [71] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [72] : 000000000000000000000000a7323094c5cc61e3a0bd99df5db1cfcae8249e03
Arg [73] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [74] : 0000000000000000000000006d6b4ad62f5506040e9e5d1533583f9eb5f9b546
Arg [75] : 00000000000000000000000000000000000000001027e72f1f12813088000000
Arg [76] : 000000000000000000000000867cb9c2df8d3120657e69884b8b8486fb394e47
Arg [77] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [78] : 000000000000000000000000e4df62239a96950d3b41e483fd8a54d738691430
Arg [79] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [80] : 000000000000000000000000a3e51498579db0f7bb1ec9e3093b2f44158e25a5
Arg [81] : 0000000000000000000000000000000000000000026c62ad77dc602dae000000
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.