Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,767.095100118412694285 PBRAMM
Holders
1
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4Bae4895...9a3ACF742 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
UniswapV2Pair
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import './interfaces/IUniswapV2Pair.sol'; import './UniswapV2ERC20.sol'; import './libraries/Math.sol'; import './libraries/UQ112x112.sol'; import './interfaces/IERC20.sol'; import './interfaces/IUniswapV2Factory.sol'; contract UniswapV2Pair is IUniswapV2Pair, UniswapV2ERC20 { using UQ112x112 for uint224; // string public name = 'PolkaBridgeAMM: Pair'; // uint256 public constant override MINIMUM_LIQUIDITY = 10**3; bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)'))); address public override factory; address public override token0; address public override token1; // address ownerAddress; address treasury; uint112 private reserve0; // uses single storage slot, accessible via getReserves uint112 private reserve1; // uses single storage slot, accessible via getReserves uint32 private blockTimestampLast; // uses single storage slot, accessible via getReserves uint public override price0CumulativeLast; uint public override price1CumulativeLast; // uint public override kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event uint256 private unlocked = 1; uint256 private releaseTime; uint256 private lockTime = 2 days; modifier lock() { require(unlocked == 1, 'PolkaBridge AMM: LOCKED'); unlocked = 0; _; unlocked = 1; } function getReserves() public view override returns ( uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast ) { _reserve0 = reserve0; _reserve1 = reserve1; _blockTimestampLast = blockTimestampLast; } function _safeTransfer( address token, address to, uint256 value ) private { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'PolkaBridge AMM: TRANSFER_FAILED'); } constructor() { factory = msg.sender; } // called once by the factory at time of deployment function initialize(address _token0, address _token1, address _treasury) external override { require(msg.sender == factory, 'PolkaBridge AMM: FORBIDDEN'); // sufficient check token0 = _token0; token1 = _token1; // ownerAddress = _owner; treasury = _treasury; } // force reserves to match balances function sync() external override lock { _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1); } // update reserves and, on the first call per block, price accumulators function _update(uint balance0, uint balance1, uint112 _reserve0, uint112 _reserve1) private { require(balance0 <= uint112(int112(-1)) && balance1 <= uint112(int112(-1)), 'PolkaBridge AMM: OVERFLOW'); uint32 blockTimestamp = uint32(block.timestamp % 2**32); uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) { // * never overflows, and + overflow is desired price0CumulativeLast += uint(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed; price1CumulativeLast += uint(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed; } reserve0 = uint112(balance0); reserve1 = uint112(balance1); blockTimestampLast = blockTimestamp; emit Sync(reserve0, reserve1); } // this low-level function should be called from a contract which performs important safety checks function mint(address to) external override lock returns (uint256 liquidity) { (uint112 _reserve0, uint112 _reserve1, ) = getReserves(); // gas savings uint256 balance0 = IERC20(token0).balanceOf(address(this)); uint256 balance1 = IERC20(token1).balanceOf(address(this)); uint256 amount0 = balance0 - _reserve0; uint256 amount1 = balance1 - _reserve1; // bool feeOn = false;//_mintFee(_reserve0, _reserve1); // uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee if (totalSupply == 0) { liquidity = Math.sqrt(amount0 * amount1);// - MINIMUM_LIQUIDITY; // _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens } else { liquidity = Math.min(amount0 * totalSupply / _reserve0, amount1 * totalSupply / _reserve1); } require(liquidity > 0, 'PolkaBridge AMM: INSUFFICIENT_LIQUIDITY_MINTED'); _mint(to, liquidity); _update(balance0, balance1, _reserve0, _reserve1); // if (feeOn) kLast = uint(reserve0) * reserve1; // reserve0 and reserve1 are up-to-date emit Mint(msg.sender, amount0, amount1); } // this low-level function should be called from a contract which performs important safety checks function burn(address to) external override lock returns (uint256 amount0, uint256 amount1) { (uint112 _reserve0, uint112 _reserve1, ) = getReserves(); // gas savings address _token0 = token0; // gas savings address _token1 = token1; // gas savings uint256 balance0 = IERC20(_token0).balanceOf(address(this)); uint256 balance1 = IERC20(_token1).balanceOf(address(this)); uint256 liquidity = balanceOf[address(this)]; // bool feeOn = _mintFee(_reserve0, _reserve1); // uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee amount0 = liquidity * balance0 / totalSupply; // using balances ensures pro-rata distribution amount1 = liquidity * balance1 / totalSupply; // using balances ensures pro-rata distribution require(amount0 > 0 && amount1 > 0, 'PolkaBridge AMM: INSUFFICIENT_LIQUIDITY_BURNED'); _burn(address(this), liquidity); _safeTransfer(_token0, to, amount0); _safeTransfer(_token1, to, amount1); balance0 = IERC20(_token0).balanceOf(address(this)); balance1 = IERC20(_token1).balanceOf(address(this)); _update(balance0, balance1, _reserve0, _reserve1); // if (feeOn) kLast = uint(reserve0) * reserve1; // reserve0 and reserve1 are up-to-date emit Burn(msg.sender, amount0, amount1, to); } // this low-level function should be called from a contract which performs important safety checks function swap(uint amount0Out, uint amount1Out, address to) external override lock { require(amount0Out > 0 || amount1Out > 0, 'PolkaBridge AMM: INSUFFICIENT_OUTPUT_AMOUNT'); (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings require(amount0Out < _reserve0 && amount1Out < _reserve1, 'PolkaBridge AMM: INSUFFICIENT_LIQUIDITY'); uint256 balance0; uint256 balance1; { // scope for _token{0,1}, avoids stack too deep errors // address _token0 = token0; // address _token1 = token1; require(to != token0 && to != token1, 'PolkaBridge AMM: INVALID_TO'); if (amount0Out > 0) _safeTransfer(token0, to, amount0Out); // optimistically transfer tokens if (amount1Out > 0) _safeTransfer(token1, to, amount1Out); // optimistically transfer tokens balance0 = IERC20(token0).balanceOf(address(this)); balance1 = IERC20(token1).balanceOf(address(this)); } uint256 amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0; uint256 amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0; require(amount0In > 0 || amount1In > 0, 'PolkaBridge AMM: INSUFFICIENT_INPUT_AMOUNT'); { // scope for reserve{0,1}Adjusted, avoids stack too deep errors uint balance0Adjusted = balance0 * 1000 - amount0In * 2; uint balance1Adjusted = balance1 * 1000 - amount1In * 2; // require(false, string(abi.encodePacked(uint2str(_reserve0), ' : ', uint2str(_reserve1), ' : ', uint2str(balance0), ' : ', uint2str(balance1), ' : ', uint2str(amount0In), ' : ', uint2str(amount1In)))); require(balance0Adjusted * balance1Adjusted >= uint(_reserve0) * _reserve1 * (1000**2), 'PolkaBridge AMM: K'); } uint256 amount0Treasury = amount0In / 2500; // amount0In * 4 / 10000; uint256 amount1Treasury = amount1In / 2500; // amount1In * 4 / 10000; if (amount0Treasury > 0) { require(treasury != address(0), 'Treasury address error'); _safeTransfer(token0, treasury, amount0Treasury); balance0 = balance0 - amount0Treasury; } if (amount1Treasury > 0) { require(treasury != address(0), 'Treasury address error'); _safeTransfer(token1, treasury, amount1Treasury); balance1 = balance1 - amount1Treasury; } _update(balance0, balance1, _reserve0, _reserve1); emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; // a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format)) // range: [0, 2**112 - 1] // resolution: 1 / 2**112 library UQ112x112 { uint224 constant Q112 = 2**112; // encode a uint112 as a UQ112x112 function encode(uint112 y) internal pure returns (uint224 z) { z = uint224(y) * Q112; // never overflows } // divide a UQ112x112 by a uint112, returning a UQ112x112 function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) { z = x / uint224(y); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; // a library for performing various math operations library Math { function min(uint x, uint y) internal pure returns (uint z) { z = x < y ? x : y; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import './IUniswapV2ERC20.sol'; interface IUniswapV2Pair is IUniswapV2ERC20 { event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); // event BurnETH(address indexed sender, uint amount0, uint amount1, address indexed to, address indexed to1); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); // event TreasurySet(address _address); // function setTreasuryAddress(address _address) external; // 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 burnETH(address to, address to1) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to) external; // function skim(address to) external; function sync() external; function initialize(address, address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); event TreasurySet(address _address); function setTreasuryAddress(address _address) external; function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs() external view returns (uint); // function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; interface IUniswapV2ERC20 { 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; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view 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); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import './interfaces/IUniswapV2ERC20.sol'; contract UniswapV2ERC20 is IUniswapV2ERC20 { string public override constant name = 'PolkaBridge AMM'; string public override constant symbol = 'PBRAMM'; uint8 public override constant decimals = 18; uint public override totalSupply; mapping(address => uint) public override balanceOf; mapping(address => mapping(address => uint)) public override allowance; bytes32 public override DOMAIN_SEPARATOR; // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public override constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; mapping(address => uint) public override nonces; constructor() { uint chainId; assembly { chainId := chainid() } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'), keccak256(bytes(name)), keccak256(bytes('1')), chainId, address(this) ) ); } function _mint(address to, uint value) internal { totalSupply = totalSupply + value; balanceOf[to] = balanceOf[to] + value; emit Transfer(address(0), to, value); } function _burn(address from, uint value) internal { balanceOf[from] = balanceOf[from] - value; totalSupply = totalSupply - value; emit Transfer(from, address(0), value); } function _approve(address owner, address spender, uint value) private { allowance[owner][spender] = value; emit Approval(owner, spender, value); } function _transfer(address from, address to, uint value) private { balanceOf[from] = balanceOf[from] - value; balanceOf[to] = balanceOf[to] + value; emit Transfer(from, to, value); } function approve(address spender, uint value) external override returns (bool) { _approve(msg.sender, spender, value); return true; } function transfer(address to, uint value) external override returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint value) external override returns (bool) { if (allowance[from][msg.sender] != uint(int(-1))) { allowance[from][msg.sender] = allowance[from][msg.sender] - value; } _transfer(from, to, value); return true; } function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external override { require(deadline >= block.timestamp, 'PolkaBridge AMM: EXPIRED'); bytes32 digest = keccak256( abi.encodePacked( '\x19\x01', DOMAIN_SEPARATOR, keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress != address(0) && recoveredAddress == owner, 'PolkaBridge AMM: INVALID_SIGNATURE'); _approve(owner, spender, value); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"_reserve0","type":"uint112"},{"internalType":"uint112","name":"_reserve1","type":"uint112"},{"internalType":"uint32","name":"_blockTimestampLast","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001600c556202a300600e5534801561001c57600080fd5b50604080518082018252600f81526e506f6c6b6142726964676520414d4d60881b6020918201528151808301835260018152603160f81b90820152905146916100cf917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f917f15a86730743c3e388e116597c7aabb9a1152bd2b4c773530fe214a9fb4046fa9917fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6918691309101610102565b60408051601f19818403018152919052805160209091012060035550600580546001600160a01b0319163317905561012e565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b6120c38061013d6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80636d9a640a116100c3578063c0c53b8b1161007c578063c0c53b8b146102ae578063c45a0155146102c1578063d21220a7146102c9578063d505accf146102d1578063dd62ed3e146102e4578063fff6cae9146102f757610158565b80636d9a640a1461023757806370a082311461024c5780637ecebe001461025f57806389afcb441461027257806395d89b4114610293578063a9059cbb1461029b57610158565b806330adf81f1161011557806330adf81f146101ef578063313ce567146101f75780633644e5151461020c5780635909c0d5146102145780635a3d54931461021c5780636a6278421461022457610158565b806306fdde031461015d5780630902f1ac1461017b578063095ea7b3146101925780630dfe1681146101b257806318160ddd146101c757806323b872dd146101dc575b600080fd5b6101656102ff565b6040516101729190611b1b565b60405180910390f35b61018361032a565b60405161017293929190611ec6565b6101a56101a03660046119c5565b610354565b6040516101729190611ab5565b6101ba61036a565b6040516101729190611a88565b6101cf610379565b6040516101729190611ac0565b6101a56101ea366004611919565b61037f565b6101cf610414565b6101ff610438565b6040516101729190611f18565b6101cf61043d565b6101cf610443565b6101cf610449565b6101cf61023236600461188b565b61044f565b61024a610245366004611a26565b6106c9565b005b6101cf61025a36600461188b565b610b74565b6101cf61026d36600461188b565b610b86565b61028561028036600461188b565b610b98565b604051610172929190611eef565b610165610edb565b6101a56102a93660046119c5565b610efd565b61024a6102bc3660046118d7565b610f0a565b6101ba610f73565b6101ba610f82565b61024a6102df366004611954565b610f91565b6101cf6102f23660046118a5565b61110c565b61024a611129565b6040518060400160405280600f81526020016e506f6c6b6142726964676520414d4d60881b81525081565b6009546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b6000610361338484611275565b50600192915050565b6006546001600160a01b031681565b60005481565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019146103ff576001600160a01b03841660009081526002602090815260408083203384529091529020546103da908390611fc6565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b61040a8484846112dd565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b600a5481565b600b5481565b6000600c5460011461047c5760405162461bcd60e51b815260040161047390611c3e565b60405180910390fd5b6000600c8190558061048c61032a565b506006546040516370a0823160e01b81529294509092506000916001600160a01b03909116906370a08231906104c6903090600401611a88565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105169190611a0e565b6007546040516370a0823160e01b81529192506000916001600160a01b03909116906370a082319061054c903090600401611a88565b60206040518083038186803b15801561056457600080fd5b505afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611a0e565b905060006105b36001600160701b03861684611fc6565b905060006105ca6001600160701b03861684611fc6565b9050600054600014156105f0576105e96105e48284611fa7565b611383565b965061063f565b61063c866001600160701b03166000548461060b9190611fa7565b6106159190611f64565b866001600160701b03166000548461062d9190611fa7565b6106379190611f64565b6113f3565b96505b6000871161065f5760405162461bcd60e51b815260040161047390611cac565b610669888861140b565b6106758484888861149a565b336001600160a01b03167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f83836040516106b0929190611eef565b60405180910390a250506001600c555092949350505050565b600c546001146106eb5760405162461bcd60e51b815260040161047390611c3e565b6000600c55821515806106fe5750600082115b61071a5760405162461bcd60e51b815260040161047390611bf3565b60008061072561032a565b5091509150816001600160701b03168510801561074a5750806001600160701b031684105b6107665760405162461bcd60e51b815260040161047390611e65565b60065460009081906001600160a01b0386811691161480159061079757506007546001600160a01b03868116911614155b6107b35760405162461bcd60e51b815260040161047390611d7b565b86156107d0576006546107d0906001600160a01b03168689611670565b85156107ed576007546107ed906001600160a01b03168688611670565b6006546040516370a0823160e01b81526001600160a01b03909116906370a082319061081d903090600401611a88565b60206040518083038186803b15801561083557600080fd5b505afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190611a0e565b6007546040516370a0823160e01b81529193506001600160a01b0316906370a082319061089e903090600401611a88565b60206040518083038186803b1580156108b657600080fd5b505afa1580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190611a0e565b90506000610905886001600160701b038716611fc6565b831161091257600061092f565b610925886001600160701b038716611fc6565b61092f9084611fc6565b90506000610946886001600160701b038716611fc6565b8311610953576000610970565b610966886001600160701b038716611fc6565b6109709084611fc6565b905060008211806109815750600081115b61099d5760405162461bcd60e51b815260040161047390611d31565b60006109aa836002611fa7565b6109b6866103e8611fa7565b6109c09190611fc6565b905060006109cf836002611fa7565b6109db866103e8611fa7565b6109e59190611fc6565b90506109fd6001600160701b03808916908a16611fa7565b610a0a90620f4240611fa7565b610a148284611fa7565b1015610a325760405162461bcd60e51b815260040161047390611b90565b5060009050610a436109c484611f64565b90506000610a536109c484611f64565b90508115610aad576008546001600160a01b0316610a835760405162461bcd60e51b815260040161047390611e00565b600654600854610aa0916001600160a01b03908116911684611670565b610aaa8287611fc6565b95505b8015610b05576008546001600160a01b0316610adb5760405162461bcd60e51b815260040161047390611e00565b600754600854610af8916001600160a01b03908116911683611670565b610b028186611fc6565b94505b610b1186868a8a61149a565b886001600160a01b0316336001600160a01b03167fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d82286868f8f604051610b5a9493929190611efd565b60405180910390a350506001600c55505050505050505050565b60016020526000908152604090205481565b60046020526000908152604090205481565b600080600c54600114610bbd5760405162461bcd60e51b815260040161047390611c3e565b6000600c81905580610bcd61032a565b506006546007546040516370a0823160e01b81529395509193506001600160a01b039081169291169060009083906370a0823190610c0f903090600401611a88565b60206040518083038186803b158015610c2757600080fd5b505afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190611a0e565b90506000826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610c8f9190611a88565b60206040518083038186803b158015610ca757600080fd5b505afa158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190611a0e565b30600090815260016020526040812054905491925090610cff8483611fa7565b610d099190611f64565b600054909950610d198383611fa7565b610d239190611f64565b9750600089118015610d355750600088115b610d515760405162461bcd60e51b815260040161047390611db2565b610d5b30826117b4565b610d66858b8b611670565b610d71848b8a611670565b6040516370a0823160e01b81526001600160a01b038616906370a0823190610d9d903090600401611a88565b60206040518083038186803b158015610db557600080fd5b505afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ded9190611a0e565b6040516370a0823160e01b81529093506001600160a01b038516906370a0823190610e1c903090600401611a88565b60206040518083038186803b158015610e3457600080fd5b505afa158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c9190611a0e565b9150610e7a8383898961149a565b896001600160a01b0316336001600160a01b03167fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d819364968b8b604051610ebf929190611eef565b60405180910390a3505050505050506001600c81905550915091565b60405180604001604052806006815260200165504252414d4d60d01b81525081565b60006103613384846112dd565b6005546001600160a01b03163314610f345760405162461bcd60e51b815260040161047390611c75565b600680546001600160a01b039485166001600160a01b031991821617909155600780549385169382169390931790925560088054919093169116179055565b6005546001600160a01b031681565b6007546001600160a01b031681565b42841015610fb15760405162461bcd60e51b815260040161047390611bbc565b6003546001600160a01b038816600090815260046020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b91908761100483612032565b919050558a60405160200161101e96959493929190611ac9565b60405160208183030381529060405280519060200120604051602001611045929190611a6d565b6040516020818303038152906040528051906020012090506000600182868686604051600081526020016040526040516110829493929190611afd565b6020604051602081039080840390855afa1580156110a4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906110da5750886001600160a01b0316816001600160a01b0316145b6110f65760405162461bcd60e51b815260040161047390611b4e565b611101898989611275565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c5460011461114b5760405162461bcd60e51b815260040161047390611c3e565b6000600c556006546040516370a0823160e01b815261126e916001600160a01b0316906370a0823190611182903090600401611a88565b60206040518083038186803b15801561119a57600080fd5b505afa1580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d29190611a0e565b6007546040516370a0823160e01b81526001600160a01b03909116906370a0823190611202903090600401611a88565b60206040518083038186803b15801561121a57600080fd5b505afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112529190611a0e565b6009546001600160701b0380821691600160701b90041661149a565b6001600c55565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906112d0908590611ac0565b60405180910390a3505050565b6001600160a01b038316600090815260016020526040902054611301908290611fc6565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611331908290611f26565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112d0908590611ac0565b600060038211156113e4575080600061139d600283611f64565b6113a8906001611f26565b90505b818110156113de579050806002816113c38186611f64565b6113cd9190611f26565b6113d79190611f64565b90506113ab565b506113ee565b81156113ee575060015b919050565b60008183106114025781611404565b825b9392505050565b806000546114199190611f26565b60009081556001600160a01b03831681526001602052604090205461143f908290611f26565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061148e908590611ac0565b60405180910390a35050565b6001600160701b0384118015906114b857506001600160701b038311155b6114d45760405162461bcd60e51b815260040161047390611cfa565b60006114e56401000000004261204d565b60095490915060009061150590600160e01b900463ffffffff1683611fdd565b905060008163ffffffff1611801561152557506001600160701b03841615155b801561153957506001600160701b03831615155b156115c8578063ffffffff166115618561155286611840565b6001600160e01b03169061185f565b6001600160e01b03166115749190611fa7565b600a60008282546115859190611f26565b909155505063ffffffff811661159e8461155287611840565b6001600160e01b03166115b19190611fa7565b600b60008282546115c29190611f26565b90915550505b600980546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff87160217928390556040517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad19361166093818116939091041690611eac565b60405180910390a1505050505050565b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020909101525160009081906001600160a01b038616907fa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b906116e79087908790602401611a9c565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516117259190611a51565b6000604051808303816000865af19150503d8060008114611762576040519150601f19603f3d011682016040523d82523d6000602084013e611767565b606091505b509150915081801561179157508051158061179157508080602001905181019061179191906119ee565b6117ad5760405162461bcd60e51b815260040161047390611e30565b5050505050565b6001600160a01b0382166000908152600160205260409020546117d8908290611fc6565b6001600160a01b03831660009081526001602052604081209190915554611800908290611fc6565b60009081556040516001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061148e908590611ac0565b6000611859600160701b6001600160701b038416611f78565b92915050565b60006114046001600160701b03831684611f3e565b80356001600160a01b03811681146113ee57600080fd5b60006020828403121561189c578081fd5b61140482611874565b600080604083850312156118b7578081fd5b6118c083611874565b91506118ce60208401611874565b90509250929050565b6000806000606084860312156118eb578081fd5b6118f484611874565b925061190260208501611874565b915061191060408501611874565b90509250925092565b60008060006060848603121561192d578283fd5b61193684611874565b925061194460208501611874565b9150604084013590509250925092565b600080600080600080600060e0888a03121561196e578283fd5b61197788611874565b965061198560208901611874565b95506040880135945060608801359350608088013560ff811681146119a8578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156119d7578182fd5b6119e083611874565b946020939093013593505050565b6000602082840312156119ff578081fd5b81518015158114611404578182fd5b600060208284031215611a1f578081fd5b5051919050565b600080600060608486031215611a3a578283fd5b833592506020840135915061191060408501611874565b60008251611a63818460208701612002565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082528251806020840152611b3a816040850160208701612002565b601f01601f19169190910160400192915050565b60208082526022908201527f506f6c6b6142726964676520414d4d3a20494e56414c49445f5349474e415455604082015261524560f01b606082015260800190565b602080825260129082015271506f6c6b6142726964676520414d4d3a204b60701b604082015260600190565b60208082526018908201527f506f6c6b6142726964676520414d4d3a20455850495245440000000000000000604082015260600190565b6020808252602b908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4f5560408201526a1514155517d05353d5539560aa1b606082015260800190565b60208082526017908201527f506f6c6b6142726964676520414d4d3a204c4f434b4544000000000000000000604082015260600190565b6020808252601a908201527f506f6c6b6142726964676520414d4d3a20464f5242494444454e000000000000604082015260600190565b6020808252602e908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c4960408201526d1455525112551657d3525395115160921b606082015260800190565b60208082526019908201527f506f6c6b6142726964676520414d4d3a204f564552464c4f5700000000000000604082015260600190565b6020808252602a908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f494e60408201526914155517d05353d5539560b21b606082015260800190565b6020808252601b908201527f506f6c6b6142726964676520414d4d3a20494e56414c49445f544f0000000000604082015260600190565b6020808252602e908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c4960408201526d1455525112551657d0955493915160921b606082015260800190565b6020808252601690820152752a3932b0b9bab93c9030b2323932b9b99032b93937b960511b604082015260600190565b6020808252818101527f506f6c6b6142726964676520414d4d3a205452414e534645525f4641494c4544604082015260600190565b60208082526027908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c496040820152665155494449545960c81b606082015260800190565b6001600160701b0392831681529116602082015260400190565b6001600160701b03938416815291909216602082015263ffffffff909116604082015260600190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60008219821115611f3957611f39612061565b500190565b60006001600160e01b0383811680611f5857611f58612077565b92169190910492915050565b600082611f7357611f73612077565b500490565b60006001600160e01b0382811684821681151582840482111615611f9e57611f9e612061565b02949350505050565b6000816000190483118215151615611fc157611fc1612061565b500290565b600082821015611fd857611fd8612061565b500390565b600063ffffffff83811690831681811015611ffa57611ffa612061565b039392505050565b60005b8381101561201d578181015183820152602001612005565b8381111561202c576000848401525b50505050565b600060001982141561204657612046612061565b5060010190565b60008261205c5761205c612077565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea2646970667358221220d4065094c3a2de5135486812594713cc05d638f2ba96848e72720d81c2216ac464736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80636d9a640a116100c3578063c0c53b8b1161007c578063c0c53b8b146102ae578063c45a0155146102c1578063d21220a7146102c9578063d505accf146102d1578063dd62ed3e146102e4578063fff6cae9146102f757610158565b80636d9a640a1461023757806370a082311461024c5780637ecebe001461025f57806389afcb441461027257806395d89b4114610293578063a9059cbb1461029b57610158565b806330adf81f1161011557806330adf81f146101ef578063313ce567146101f75780633644e5151461020c5780635909c0d5146102145780635a3d54931461021c5780636a6278421461022457610158565b806306fdde031461015d5780630902f1ac1461017b578063095ea7b3146101925780630dfe1681146101b257806318160ddd146101c757806323b872dd146101dc575b600080fd5b6101656102ff565b6040516101729190611b1b565b60405180910390f35b61018361032a565b60405161017293929190611ec6565b6101a56101a03660046119c5565b610354565b6040516101729190611ab5565b6101ba61036a565b6040516101729190611a88565b6101cf610379565b6040516101729190611ac0565b6101a56101ea366004611919565b61037f565b6101cf610414565b6101ff610438565b6040516101729190611f18565b6101cf61043d565b6101cf610443565b6101cf610449565b6101cf61023236600461188b565b61044f565b61024a610245366004611a26565b6106c9565b005b6101cf61025a36600461188b565b610b74565b6101cf61026d36600461188b565b610b86565b61028561028036600461188b565b610b98565b604051610172929190611eef565b610165610edb565b6101a56102a93660046119c5565b610efd565b61024a6102bc3660046118d7565b610f0a565b6101ba610f73565b6101ba610f82565b61024a6102df366004611954565b610f91565b6101cf6102f23660046118a5565b61110c565b61024a611129565b6040518060400160405280600f81526020016e506f6c6b6142726964676520414d4d60881b81525081565b6009546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b6000610361338484611275565b50600192915050565b6006546001600160a01b031681565b60005481565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019146103ff576001600160a01b03841660009081526002602090815260408083203384529091529020546103da908390611fc6565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b61040a8484846112dd565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b600a5481565b600b5481565b6000600c5460011461047c5760405162461bcd60e51b815260040161047390611c3e565b60405180910390fd5b6000600c8190558061048c61032a565b506006546040516370a0823160e01b81529294509092506000916001600160a01b03909116906370a08231906104c6903090600401611a88565b60206040518083038186803b1580156104de57600080fd5b505afa1580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105169190611a0e565b6007546040516370a0823160e01b81529192506000916001600160a01b03909116906370a082319061054c903090600401611a88565b60206040518083038186803b15801561056457600080fd5b505afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611a0e565b905060006105b36001600160701b03861684611fc6565b905060006105ca6001600160701b03861684611fc6565b9050600054600014156105f0576105e96105e48284611fa7565b611383565b965061063f565b61063c866001600160701b03166000548461060b9190611fa7565b6106159190611f64565b866001600160701b03166000548461062d9190611fa7565b6106379190611f64565b6113f3565b96505b6000871161065f5760405162461bcd60e51b815260040161047390611cac565b610669888861140b565b6106758484888861149a565b336001600160a01b03167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f83836040516106b0929190611eef565b60405180910390a250506001600c555092949350505050565b600c546001146106eb5760405162461bcd60e51b815260040161047390611c3e565b6000600c55821515806106fe5750600082115b61071a5760405162461bcd60e51b815260040161047390611bf3565b60008061072561032a565b5091509150816001600160701b03168510801561074a5750806001600160701b031684105b6107665760405162461bcd60e51b815260040161047390611e65565b60065460009081906001600160a01b0386811691161480159061079757506007546001600160a01b03868116911614155b6107b35760405162461bcd60e51b815260040161047390611d7b565b86156107d0576006546107d0906001600160a01b03168689611670565b85156107ed576007546107ed906001600160a01b03168688611670565b6006546040516370a0823160e01b81526001600160a01b03909116906370a082319061081d903090600401611a88565b60206040518083038186803b15801561083557600080fd5b505afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190611a0e565b6007546040516370a0823160e01b81529193506001600160a01b0316906370a082319061089e903090600401611a88565b60206040518083038186803b1580156108b657600080fd5b505afa1580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190611a0e565b90506000610905886001600160701b038716611fc6565b831161091257600061092f565b610925886001600160701b038716611fc6565b61092f9084611fc6565b90506000610946886001600160701b038716611fc6565b8311610953576000610970565b610966886001600160701b038716611fc6565b6109709084611fc6565b905060008211806109815750600081115b61099d5760405162461bcd60e51b815260040161047390611d31565b60006109aa836002611fa7565b6109b6866103e8611fa7565b6109c09190611fc6565b905060006109cf836002611fa7565b6109db866103e8611fa7565b6109e59190611fc6565b90506109fd6001600160701b03808916908a16611fa7565b610a0a90620f4240611fa7565b610a148284611fa7565b1015610a325760405162461bcd60e51b815260040161047390611b90565b5060009050610a436109c484611f64565b90506000610a536109c484611f64565b90508115610aad576008546001600160a01b0316610a835760405162461bcd60e51b815260040161047390611e00565b600654600854610aa0916001600160a01b03908116911684611670565b610aaa8287611fc6565b95505b8015610b05576008546001600160a01b0316610adb5760405162461bcd60e51b815260040161047390611e00565b600754600854610af8916001600160a01b03908116911683611670565b610b028186611fc6565b94505b610b1186868a8a61149a565b886001600160a01b0316336001600160a01b03167fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d82286868f8f604051610b5a9493929190611efd565b60405180910390a350506001600c55505050505050505050565b60016020526000908152604090205481565b60046020526000908152604090205481565b600080600c54600114610bbd5760405162461bcd60e51b815260040161047390611c3e565b6000600c81905580610bcd61032a565b506006546007546040516370a0823160e01b81529395509193506001600160a01b039081169291169060009083906370a0823190610c0f903090600401611a88565b60206040518083038186803b158015610c2757600080fd5b505afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190611a0e565b90506000826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610c8f9190611a88565b60206040518083038186803b158015610ca757600080fd5b505afa158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190611a0e565b30600090815260016020526040812054905491925090610cff8483611fa7565b610d099190611f64565b600054909950610d198383611fa7565b610d239190611f64565b9750600089118015610d355750600088115b610d515760405162461bcd60e51b815260040161047390611db2565b610d5b30826117b4565b610d66858b8b611670565b610d71848b8a611670565b6040516370a0823160e01b81526001600160a01b038616906370a0823190610d9d903090600401611a88565b60206040518083038186803b158015610db557600080fd5b505afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ded9190611a0e565b6040516370a0823160e01b81529093506001600160a01b038516906370a0823190610e1c903090600401611a88565b60206040518083038186803b158015610e3457600080fd5b505afa158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c9190611a0e565b9150610e7a8383898961149a565b896001600160a01b0316336001600160a01b03167fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d819364968b8b604051610ebf929190611eef565b60405180910390a3505050505050506001600c81905550915091565b60405180604001604052806006815260200165504252414d4d60d01b81525081565b60006103613384846112dd565b6005546001600160a01b03163314610f345760405162461bcd60e51b815260040161047390611c75565b600680546001600160a01b039485166001600160a01b031991821617909155600780549385169382169390931790925560088054919093169116179055565b6005546001600160a01b031681565b6007546001600160a01b031681565b42841015610fb15760405162461bcd60e51b815260040161047390611bbc565b6003546001600160a01b038816600090815260046020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b91908761100483612032565b919050558a60405160200161101e96959493929190611ac9565b60405160208183030381529060405280519060200120604051602001611045929190611a6d565b6040516020818303038152906040528051906020012090506000600182868686604051600081526020016040526040516110829493929190611afd565b6020604051602081039080840390855afa1580156110a4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906110da5750886001600160a01b0316816001600160a01b0316145b6110f65760405162461bcd60e51b815260040161047390611b4e565b611101898989611275565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c5460011461114b5760405162461bcd60e51b815260040161047390611c3e565b6000600c556006546040516370a0823160e01b815261126e916001600160a01b0316906370a0823190611182903090600401611a88565b60206040518083038186803b15801561119a57600080fd5b505afa1580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d29190611a0e565b6007546040516370a0823160e01b81526001600160a01b03909116906370a0823190611202903090600401611a88565b60206040518083038186803b15801561121a57600080fd5b505afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112529190611a0e565b6009546001600160701b0380821691600160701b90041661149a565b6001600c55565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906112d0908590611ac0565b60405180910390a3505050565b6001600160a01b038316600090815260016020526040902054611301908290611fc6565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611331908290611f26565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112d0908590611ac0565b600060038211156113e4575080600061139d600283611f64565b6113a8906001611f26565b90505b818110156113de579050806002816113c38186611f64565b6113cd9190611f26565b6113d79190611f64565b90506113ab565b506113ee565b81156113ee575060015b919050565b60008183106114025781611404565b825b9392505050565b806000546114199190611f26565b60009081556001600160a01b03831681526001602052604090205461143f908290611f26565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061148e908590611ac0565b60405180910390a35050565b6001600160701b0384118015906114b857506001600160701b038311155b6114d45760405162461bcd60e51b815260040161047390611cfa565b60006114e56401000000004261204d565b60095490915060009061150590600160e01b900463ffffffff1683611fdd565b905060008163ffffffff1611801561152557506001600160701b03841615155b801561153957506001600160701b03831615155b156115c8578063ffffffff166115618561155286611840565b6001600160e01b03169061185f565b6001600160e01b03166115749190611fa7565b600a60008282546115859190611f26565b909155505063ffffffff811661159e8461155287611840565b6001600160e01b03166115b19190611fa7565b600b60008282546115c29190611f26565b90915550505b600980546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff87160217928390556040517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad19361166093818116939091041690611eac565b60405180910390a1505050505050565b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020909101525160009081906001600160a01b038616907fa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b906116e79087908790602401611a9c565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516117259190611a51565b6000604051808303816000865af19150503d8060008114611762576040519150601f19603f3d011682016040523d82523d6000602084013e611767565b606091505b509150915081801561179157508051158061179157508080602001905181019061179191906119ee565b6117ad5760405162461bcd60e51b815260040161047390611e30565b5050505050565b6001600160a01b0382166000908152600160205260409020546117d8908290611fc6565b6001600160a01b03831660009081526001602052604081209190915554611800908290611fc6565b60009081556040516001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061148e908590611ac0565b6000611859600160701b6001600160701b038416611f78565b92915050565b60006114046001600160701b03831684611f3e565b80356001600160a01b03811681146113ee57600080fd5b60006020828403121561189c578081fd5b61140482611874565b600080604083850312156118b7578081fd5b6118c083611874565b91506118ce60208401611874565b90509250929050565b6000806000606084860312156118eb578081fd5b6118f484611874565b925061190260208501611874565b915061191060408501611874565b90509250925092565b60008060006060848603121561192d578283fd5b61193684611874565b925061194460208501611874565b9150604084013590509250925092565b600080600080600080600060e0888a03121561196e578283fd5b61197788611874565b965061198560208901611874565b95506040880135945060608801359350608088013560ff811681146119a8578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156119d7578182fd5b6119e083611874565b946020939093013593505050565b6000602082840312156119ff578081fd5b81518015158114611404578182fd5b600060208284031215611a1f578081fd5b5051919050565b600080600060608486031215611a3a578283fd5b833592506020840135915061191060408501611874565b60008251611a63818460208701612002565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082528251806020840152611b3a816040850160208701612002565b601f01601f19169190910160400192915050565b60208082526022908201527f506f6c6b6142726964676520414d4d3a20494e56414c49445f5349474e415455604082015261524560f01b606082015260800190565b602080825260129082015271506f6c6b6142726964676520414d4d3a204b60701b604082015260600190565b60208082526018908201527f506f6c6b6142726964676520414d4d3a20455850495245440000000000000000604082015260600190565b6020808252602b908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4f5560408201526a1514155517d05353d5539560aa1b606082015260800190565b60208082526017908201527f506f6c6b6142726964676520414d4d3a204c4f434b4544000000000000000000604082015260600190565b6020808252601a908201527f506f6c6b6142726964676520414d4d3a20464f5242494444454e000000000000604082015260600190565b6020808252602e908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c4960408201526d1455525112551657d3525395115160921b606082015260800190565b60208082526019908201527f506f6c6b6142726964676520414d4d3a204f564552464c4f5700000000000000604082015260600190565b6020808252602a908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f494e60408201526914155517d05353d5539560b21b606082015260800190565b6020808252601b908201527f506f6c6b6142726964676520414d4d3a20494e56414c49445f544f0000000000604082015260600190565b6020808252602e908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c4960408201526d1455525112551657d0955493915160921b606082015260800190565b6020808252601690820152752a3932b0b9bab93c9030b2323932b9b99032b93937b960511b604082015260600190565b6020808252818101527f506f6c6b6142726964676520414d4d3a205452414e534645525f4641494c4544604082015260600190565b60208082526027908201527f506f6c6b6142726964676520414d4d3a20494e53554646494349454e545f4c496040820152665155494449545960c81b606082015260800190565b6001600160701b0392831681529116602082015260400190565b6001600160701b03938416815291909216602082015263ffffffff909116604082015260600190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60008219821115611f3957611f39612061565b500190565b60006001600160e01b0383811680611f5857611f58612077565b92169190910492915050565b600082611f7357611f73612077565b500490565b60006001600160e01b0382811684821681151582840482111615611f9e57611f9e612061565b02949350505050565b6000816000190483118215151615611fc157611fc1612061565b500290565b600082821015611fd857611fd8612061565b500390565b600063ffffffff83811690831681811015611ffa57611ffa612061565b039392505050565b60005b8381101561201d578181015183820152602001612005565b8381111561202c576000848401525b50505050565b600060001982141561204657612046612061565b5060010190565b60008261205c5761205c612077565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea2646970667358221220d4065094c3a2de5135486812594713cc05d638f2ba96848e72720d81c2216ac464736f6c63430008000033
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.