ERC-20
DeFi
Overview
Max Total Supply
4,296,247,744.620729439 SYNC
Holders
18,746 ( -0.005%)
Market
Price
$0.00 @ 0.000000 ETH (+0.15%)
Onchain Market Cap
$1,209,565.59
Circulating Supply Market Cap
$1,206,853.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
6,110.952243336 SYNCValue
$1.72 ( ~0.000476497954154564 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Syncus
Compiler Version
v0.7.5+commit.eb77ed08
Optimization Enabled:
Yes with 200 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-or-later pragma abicoder v2; pragma solidity 0.7.5; import "./lib/EnumerableSet.sol"; import "./lib/IERC2612Permit.sol"; import "./lib/IERC20.sol"; import "./ERC20Permit.sol"; import "./VaultOwned.sol"; import "./lib/IWETH.sol"; import "./lib/IUniswapV2Router.sol"; import "./lib/IUniswapV2Factory.sol"; contract Syncus is ERC20Permit, VaultOwned { using SafeMath for uint256; IUniswapV2Router public router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public uniswapV2Pair; address private treasury; uint256 public buyTax = 5; uint256 public sellTax = 15; mapping(address => bool) private _isExcludedFromTaxes; mapping(address => bool) public automatedMarketMakerPairs; receive() external payable {} constructor() ERC20("Syncus", "SYNC", 9) { _mint(msg.sender, 4_000_000_000 * 1e9); uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); treasury = msg.sender; excludeFromTaxes(owner(), true); excludeFromTaxes(address(this), true); excludeFromTaxes(address(0xdead), true); } function mint(address account_, uint256 amount_) external onlyVault { _mint(account_, amount_); } function burn(uint256 amount) public virtual { _burn(msg.sender, amount); } function burnFrom(address account_, uint256 amount_) public virtual { _burnFrom(account_, amount_); } function _burnFrom(address account_, uint256 amount_) public virtual { uint256 decreasedAllowance_ = allowance(account_, msg.sender).sub( amount_, "ERC20: burn amount exceeds allowance" ); _approve(account_, msg.sender, decreasedAllowance_); _burn(account_, amount_); } function excludeFromTaxes(address account, bool excluded) public onlyOwner { _isExcludedFromTaxes[account] = excluded; } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; } function updateBuyTax(uint256 _buyTax) external onlyOwner { require(_buyTax <= 100, "Cannot set tax higher than 100%"); buyTax = _buyTax; } function updateSellTax(uint256 _sellTax) external onlyOwner { require(_sellTax <= 100, "Cannot set tax higher than 100%"); sellTax = _sellTax; } function updateTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner { require( _sellTax <= 100 && _buyTax <= 100, "Cannot set taxes higher than 100%" ); buyTax = _buyTax; sellTax = _sellTax; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } bool takeTax = true; if (_isExcludedFromTaxes[from] || _isExcludedFromTaxes[to]) { takeTax = false; } uint256 taxes = 0; if (takeTax) { if (automatedMarketMakerPairs[to] && sellTax > 0) { taxes = amount.mul(sellTax).div(100); } else if (automatedMarketMakerPairs[from] && buyTax > 0) { taxes = amount.mul(buyTax).div(100); } if (taxes > 0) { super._transfer(from, treasury, taxes); } amount -= taxes; } super._transfer(from, to, amount); } function setTreasury(address _treasury) external onlyOwner { treasury = _treasury; } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains( Set storage set, bytes32 value ) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at( Set storage set, uint256 index ) private view returns (bytes32) { require( set._values.length > index, "EnumerableSet: index out of bounds" ); return set._values[index]; } function _getValues( Set storage set_ ) private view returns (bytes32[] storage) { return set_._values; } // TODO needs insert function that maintains order. // TODO needs NatSpec documentation comment. /** * Inserts new value by moving existing value at provided index to end * of array and setting provided value at provided index */ function _insert( Set storage set_, uint256 index_, bytes32 valueToInsert_ ) private returns (bool) { require(set_._values.length > index_); require( !_contains(set_, valueToInsert_), "Remove value you wish to insert if you wish to reorder array." ); bytes32 existingValue_ = _at(set_, index_); set_._values[index_] = valueToInsert_; return _add(set_, existingValue_); } struct Bytes4Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes4Set storage set, bytes4 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove( Bytes4Set storage set, bytes4 value ) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains( Bytes4Set storage set, bytes4 value ) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values on the set. O(1). */ function length(Bytes4Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at( Bytes4Set storage set, uint256 index ) internal view returns (bytes4) { return bytes4(_at(set._inner, index)); } function getValues( Bytes4Set storage set_ ) internal view returns (bytes4[] memory) { bytes4[] memory bytes4Array_; for ( uint256 iteration_ = 0; _length(set_._inner) > iteration_; iteration_++ ) { bytes4Array_[iteration_] = bytes4(_at(set_._inner, iteration_)); } return bytes4Array_; } function insert( Bytes4Set storage set_, uint256 index_, bytes4 valueToInsert_ ) internal returns (bool) { return _insert(set_._inner, index_, valueToInsert_); } struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add( Bytes32Set storage set, bytes32 value ) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove( Bytes32Set storage set, bytes32 value ) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains( Bytes32Set storage set, bytes32 value ) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values on the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at( Bytes32Set storage set, uint256 index ) internal view returns (bytes32) { return _at(set._inner, index); } function getValues( Bytes32Set storage set_ ) internal view returns (bytes4[] memory) { bytes4[] memory bytes4Array_; for ( uint256 iteration_ = 0; _length(set_._inner) >= iteration_; iteration_++ ) { bytes4Array_[iteration_] = bytes4(at(set_, iteration_)); } return bytes4Array_; } function insert( Bytes32Set storage set_, uint256 index_, bytes32 valueToInsert_ ) internal returns (bool) { return _insert(set_._inner, index_, valueToInsert_); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add( AddressSet storage set, address value ) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove( AddressSet storage set, address value ) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains( AddressSet storage set, address value ) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at( AddressSet storage set, uint256 index ) internal view returns (address) { return address(uint256(_at(set._inner, index))); } /** * TODO Might require explicit conversion of bytes32[] to address[]. * Might require iteration. */ function getValues( AddressSet storage set_ ) internal view returns (address[] memory) { address[] memory addressArray; for ( uint256 iteration_ = 0; _length(set_._inner) >= iteration_; iteration_++ ) { addressArray[iteration_] = at(set_, iteration_); } return addressArray; } function insert( AddressSet storage set_, uint256 index_, address valueToInsert_ ) internal returns (bool) { return _insert(set_._inner, index_, bytes32(uint256(valueToInsert_))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove( UintSet storage set, uint256 value ) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains( UintSet storage set, uint256 value ) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at( UintSet storage set, uint256 index ) internal view returns (uint256) { return uint256(_at(set._inner, index)); } struct UInt256Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add( UInt256Set storage set, uint256 value ) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove( UInt256Set storage set, uint256 value ) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains( UInt256Set storage set, uint256 value ) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UInt256Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at( UInt256Set storage set, uint256 index ) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IERC2612Permit { function permit( address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; function nonces(address owner) external view returns (uint256); }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IERC20 { function decimals() external view returns (uint8); /** * @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: AGPL-3.0-or-later pragma solidity 0.7.5; import "./lib/IERC20.sol"; import "./lib/IERC2612Permit.sol"; import "./lib/Counters.sol"; import "./ERC20.sol"; abstract contract ERC20Permit is ERC20, IERC2612Permit { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; bytes32 public DOMAIN_SEPARATOR; constructor() { uint256 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")), // Version chainID, address(this) ) ); } /** * @dev See {IERC2612Permit-permit}. * */ function permit( address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "Permit: expired deadline"); bytes32 hashStruct = keccak256( abi.encode( PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline ) ); bytes32 _hash = keccak256( abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct) ); address signer = ecrecover(_hash, v, r, s); require( signer != address(0) && signer == owner, "ZeroSwapPermit: Invalid signature" ); _nonces[owner].increment(); _approve(owner, spender, amount); } /** * @dev See {IERC2612Permit-nonces}. */ function nonces(address owner) public view override returns (uint256) { return _nonces[owner].current(); } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import "./Ownable.sol"; contract VaultOwned is Ownable { address internal _vault; function setVault(address vault_) external onlyOwner returns (bool) { _vault = vault_; return true; } function vault() public view returns (address) { return _vault; } modifier onlyVault() { require(_vault == msg.sender, "VaultOwned: caller is not the Vault"); _; } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IWETH { /** * @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 ); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); /// @notice Deposit ether to get wrapped ether function deposit() external payable; /// @notice Withdraw wrapped ether to get ether function withdraw(uint256) external; }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IUniswapV2Router { 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); 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: AGPL-3.0-or-later pragma solidity 0.7.5; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); 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 feeTo() external view returns (address); function feeToSetter() external view returns (address); function createPair( address tokenA, address tokenB ) external returns (address pair); }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import "./SafeMath.sol"; library Counters { using SafeMath for uint256; struct Counter { uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import "./lib/IERC20.sol"; import "./lib/SafeMath.sol"; abstract contract ERC20 is IERC20 { using SafeMath for uint256; // TODO comment actual hash value. bytes32 private constant ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256("ERC20Token"); // Present in ERC777 mapping(address => uint256) internal _balances; // Present in ERC777 mapping(address => mapping(address => uint256)) internal _allowances; // Present in ERC777 uint256 internal _totalSupply; // Present in ERC777 string internal _name; // Present in ERC777 string internal _symbol; // Present in ERC777 uint8 internal _decimals; constructor(string memory name_, string memory symbol_, uint8 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view override returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } function transfer( address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, msg.sender, _allowances[sender][msg.sender].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { _approve( msg.sender, spender, _allowances[msg.sender][spender].add(addedValue) ); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { _approve( msg.sender, spender, _allowances[msg.sender][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } 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); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account_, uint256 amount_) internal virtual { require(account_ != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(this), account_, amount_); _totalSupply = _totalSupply.add(amount_); _balances[account_] = _balances[account_].add(amount_); emit Transfer(address(this), account_, amount_); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } 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); } function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual {} }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import "./lib/IOwnable.sol"; contract Ownable is IOwnable { address internal _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } function owner() public view override returns (address) { return _owner; } modifier onlyOwner() { require(_owner == msg.sender, "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual override onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership( address newOwner_ ) public virtual override onlyOwner { require( newOwner_ != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner_); _owner = newOwner_; } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function add32(uint32 a, uint32 b) internal pure returns (uint32) { uint32 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function sub32(uint32 a, uint32 b) internal pure returns (uint32) { return sub32(a, b, "SafeMath: subtraction overflow"); } function sub32( uint32 a, uint32 b, string memory errorMessage ) internal pure returns (uint32) { require(b <= a, errorMessage); uint32 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function mul32(uint32 a, uint32 b) internal pure returns (uint32) { if (a == 0) { return 0; } uint32 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } function sqrrt(uint256 a) internal pure returns (uint c) { if (a > 3) { c = a; uint b = add(div(a, 2), 1); while (b < c) { c = b; b = div(add(div(a, b), b), 2); } } else if (a != 0) { c = 1; } } function percentageAmount( uint256 total_, uint8 percentage_ ) internal pure returns (uint256 percentAmount_) { return div(mul(total_, percentage_), 1000); } function substractPercentage( uint256 total_, uint8 percentageToSub_ ) internal pure returns (uint256 result_) { return sub(total_, div(mul(total_, percentageToSub_), 1000)); } function percentageOfTotal( uint256 part_, uint256 total_ ) internal pure returns (uint256 percent_) { return div(mul(part_, 100), total_); } function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2); } function quadraticPricing( uint256 payment_, uint256 multiplier_ ) internal pure returns (uint256) { return sqrrt(mul(multiplier_, payment_)); } function bondingCurve( uint256 supply_, uint256 multiplier_ ) internal pure returns (uint256) { return mul(multiplier_, supply_); } }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; interface IOwnable { function owner() external view returns (address); function renounceOwnership() external; function transferOwnership(address newOwner_) external; }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "istanbul", "libraries": {} }
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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"account_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"_burnFrom","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vault_","type":"address"}],"name":"setVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"updateTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600a80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556005600d55600f600e553480156200004157600080fd5b50604080518082018252600681526553796e63757360d01b60208083019182528351808501909452600484526353594e4360e01b908401528151919291600991620000909160039190620006a8565b508151620000a6906004906020850190620006a8565b506005805460ff191660ff92909216919091179055504690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000ea620003d3565b805160209182012060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606084015260808301939093523060a0808401919091528351808403909101815260c0909201928390528151910120600755600880546001600160a01b0319163317908190556001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620001c533673782dace9d9000006200046d565b600a60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200021457600080fd5b505afa15801562000229573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024f919062000754565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620002ad57600080fd5b505afa158015620002c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e8919062000754565b6040518363ffffffff1660e01b8152600401620003079291906200077d565b602060405180830381600087803b1580156200032257600080fd5b505af115801562000337573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035d919062000754565b600b80546001600160a01b0319166001600160a01b03928316179081905562000389911660016200057c565b600c80546001600160a01b03191633179055620003b1620003a9620005a7565b6001620005b6565b620003be306001620005b6565b620003cd61dead6001620005b6565b62000797565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015620004635780601f10620004375761010080835404028352916020019162000463565b820191906000526020600020905b8154815290600101906020018083116200044557829003601f168201915b5050505050905090565b6001600160a01b038216620004c9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620004d630838362000641565b620004f2816002546200064660201b620010ca1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000525918390620010ca62000646821b17901c565b6001600160a01b038316600081815260208181526040918290209390935580518481529051919230927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6008546001600160a01b031690565b6008546001600160a01b0316331462000616576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b505050565b600082820183811015620006a1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620006e057600085556200072b565b82601f10620006fb57805160ff19168380011785556200072b565b828001600101855582156200072b579182015b828111156200072b5782518255916020019190600101906200070e565b50620007399291506200073d565b5090565b5b808211156200073957600081556001016200073e565b60006020828403121562000766578081fd5b81516001600160a01b0381168114620006a1578182fd5b6001600160a01b0392831681529116602082015260400190565b611e7980620007a76000396000f3fe6080604052600436106102085760003560e01c806370a0823111610118578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e146105a7578063f0f44260146105c7578063f2fde38b146105e7578063f887ea4014610607578063fbfa77cf1461061c5761020f565b8063a9059cbb14610532578063b62496f514610552578063cc1776d314610572578063d505accf146105875761020f565b80638da5cb5b116100e75780638da5cb5b146104a857806395d89b41146104bd5780639a7a23d6146104d2578063a22b35ce146104f2578063a457c2d7146105125761020f565b806370a0823114610433578063715018a61461045357806379cc6790146104685780637ecebe00146104885761020f565b8063313ce5671161019b57806342966c681161016a57806342966c681461039c578063436d3340146103bc57806349bd5a5e146103dc5780634f7041a5146103fe5780636817031b146104135761020f565b8063313ce567146103255780633644e51514610347578063395093511461035c57806340c10f191461037c5761020f565b806318160ddd116101d757806318160ddd146102ae57806322603661146102d057806323b872dd146102f057806330adf81f146103105761020f565b806306fdde0314610214578063095ea7b31461023f5780631006ee0c1461026c57806312185a391461028e5761020f565b3661020f57005b600080fd5b34801561022057600080fd5b50610229610631565b6040516102369190611acf565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611a45565b6106c7565b6040516102369190611abb565b34801561027857600080fd5b5061028c610287366004611a86565b6106de565b005b34801561029a57600080fd5b5061028c6102a9366004611a6e565b61076d565b3480156102ba57600080fd5b506102c36107e0565b6040516102369190611ac6565b3480156102dc57600080fd5b5061028c6102eb366004611a0b565b6107e6565b3480156102fc57600080fd5b5061025f61030b36600461195f565b61085e565b34801561031c57600080fd5b506102c36108c7565b34801561033157600080fd5b5061033a6108eb565b6040516102369190611c22565b34801561035357600080fd5b506102c36108f4565b34801561036857600080fd5b5061025f610377366004611a45565b6108fa565b34801561038857600080fd5b5061028c610397366004611a45565b610930565b3480156103a857600080fd5b5061028c6103b7366004611a6e565b610987565b3480156103c857600080fd5b5061028c6103d7366004611a6e565b610994565b3480156103e857600080fd5b506103f1610a07565b6040516102369190611aa7565b34801561040a57600080fd5b506102c3610a16565b34801561041f57600080fd5b5061025f61042e366004611913565b610a1c565b34801561043f57600080fd5b506102c361044e366004611913565b610a90565b34801561045f57600080fd5b5061028c610aab565b34801561047457600080fd5b5061028c610483366004611a45565b610b42565b34801561049457600080fd5b506102c36104a3366004611913565b610b4c565b3480156104b457600080fd5b506103f1610b6d565b3480156104c957600080fd5b50610229610b7c565b3480156104de57600080fd5b5061028c6104ed366004611a0b565b610bdd565b3480156104fe57600080fd5b5061028c61050d366004611a45565b610c34565b34801561051e57600080fd5b5061025f61052d366004611a45565b610c80565b34801561053e57600080fd5b5061025f61054d366004611a45565b610ccf565b34801561055e57600080fd5b5061025f61056d366004611913565b610cdc565b34801561057e57600080fd5b506102c3610cf1565b34801561059357600080fd5b5061028c6105a236600461199a565b610cf7565b3480156105b357600080fd5b506102c36105c236600461192d565b610f24565b3480156105d357600080fd5b5061028c6105e2366004611913565b610f4f565b3480156105f357600080fd5b5061028c610602366004611913565b610fbe565b34801561061357600080fd5b506103f16110ac565b34801561062857600080fd5b506103f16110bb565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106bd5780601f10610692576101008083540402835291602001916106bd565b820191906000526020600020905b8154815290600101906020018083116106a057829003601f168201915b5050505050905090565b60006106d433848461112b565b5060015b92915050565b6008546001600160a01b0316331461072b576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6064811115801561073d575060648211155b6107625760405162461bcd60e51b815260040161075990611b65565b60405180910390fd5b600d91909155600e55565b6008546001600160a01b031633146107ba576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b60648111156107db5760405162461bcd60e51b815260040161075990611ba6565b600e55565b60025490565b6008546001600160a01b03163314610833576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061086b848484611217565b6108bd84336108b885604051806060016040528060288152602001611d26602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906113a4565b61112b565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106d49185906108b890866110ca565b6009546001600160a01b031633146109795760405162461bcd60e51b8152600401808060200182810382526023815260200180611d4e6023913960400191505060405180910390fd5b610983828261143b565b5050565b610991338261152b565b50565b6008546001600160a01b031633146109e1576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6064811115610a025760405162461bcd60e51b815260040161075990611ba6565b600d55565b600b546001600160a01b031681565b600d5481565b6008546000906001600160a01b03163314610a6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b50600980546001600160a01b0319166001600160a01b03831617905560015b919050565b6001600160a01b031660009081526020819052604090205490565b6008546001600160a01b03163314610af8576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6109838282610c34565b6001600160a01b03811660009081526006602052604081206106d890611627565b6008546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106bd5780601f10610692576101008083540402835291602001916106bd565b6008546001600160a01b03163314610c2a576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b610983828261162b565b6000610c6482604051806060016040528060248152602001611d9160249139610c5d8633610f24565b91906113a4565b9050610c7183338361112b565b610c7b838361152b565b505050565b60006106d433846108b885604051806060016040528060258152602001611e1f602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906113a4565b60006106d4338484611217565b60106020526000908152604090205460ff1681565b600e5481565b83421115610d4c576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610d9590611627565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610e7b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610eb15750896001600160a01b0316816001600160a01b0316145b610eec5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ce46021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610f0d90611656565b610f188a8a8a61112b565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b03163314610f9c576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461100b576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6001600160a01b0381166110505760405162461bcd60e51b8152600401808060200182810382526026815260200180611c766026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031681565b6009546001600160a01b031690565b600082820183811015611124576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0383166111705760405162461bcd60e51b8152600401808060200182810382526024815260200180611dfb6024913960400191505060405180910390fd5b6001600160a01b0382166111b55760405162461bcd60e51b8152600401808060200182810382526022815260200180611c9c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661123d5760405162461bcd60e51b815260040161075990611bdd565b6001600160a01b0382166112635760405162461bcd60e51b815260040161075990611b22565b80611279576112748383600061165f565b610c7b565b6001600160a01b0383166000908152600f602052604090205460019060ff16806112bb57506001600160a01b0383166000908152600f602052604090205460ff165b156112c4575060005b60008115611392576001600160a01b03841660009081526010602052604090205460ff1680156112f657506000600e54115b156113225761131b6064611315600e54866117ba90919063ffffffff16565b90611813565b905061136e565b6001600160a01b03851660009081526010602052604090205460ff16801561134c57506000600d54115b1561136e5761136b6064611315600d54866117ba90919063ffffffff16565b90505b801561138c57600c5461138c9086906001600160a01b03168361165f565b80830392505b61139d85858561165f565b5050505050565b600081848411156114335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113f85781810151838201526020016113e0565b50505050905090810190601f1680156114255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611496576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6114a1308383610c7b565b6002546114ae90826110ca565b6002556001600160a01b0382166000908152602081905260409020546114d490826110ca565b6001600160a01b038316600081815260208181526040918290209390935580518481529051919230927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166115705760405162461bcd60e51b8152600401808060200182810382526021815260200180611db56021913960400191505060405180910390fd5b61157c82600083610c7b565b6115b981604051806060016040528060228152602001611c54602291396001600160a01b03851660009081526020819052604090205491906113a4565b6001600160a01b0383166000908152602081905260409020556002546115df9082611855565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b5490565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b80546001019055565b6001600160a01b0383166116a45760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd66025913960400191505060405180910390fd5b6001600160a01b0382166116e95760405162461bcd60e51b8152600401808060200182810382526023815260200180611c316023913960400191505060405180910390fd5b6116f4838383610c7b565b61173181604051806060016040528060268152602001611cbe602691396001600160a01b03861660009081526020819052604090205491906113a4565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461176090826110ca565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000826117c9575060006106d8565b828202828482816117d657fe5b04146111245760405162461bcd60e51b8152600401808060200182810382526021815260200180611d056021913960400191505060405180910390fd5b600061112483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611897565b600061112483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113a4565b600081836118e65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113f85781810151838201526020016113e0565b5060008385816118f257fe5b0495945050505050565b80356001600160a01b0381168114610a8b57600080fd5b600060208284031215611924578081fd5b611124826118fc565b6000806040838503121561193f578081fd5b611948836118fc565b9150611956602084016118fc565b90509250929050565b600080600060608486031215611973578081fd5b61197c846118fc565b925061198a602085016118fc565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119b4578283fd5b6119bd886118fc565b96506119cb602089016118fc565b95506040880135945060608801359350608088013560ff811681146119ee578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a1d578182fd5b611a26836118fc565b915060208301358015158114611a3a578182fd5b809150509250929050565b60008060408385031215611a57578182fd5b611a60836118fc565b946020939093013593505050565b600060208284031215611a7f578081fd5b5035919050565b60008060408385031215611a98578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b6000602080835283518082850152825b81811015611afb57858101830151858201604001528201611adf565b81811115611b0c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f43616e6e6f742073657420746178657320686967686572207468616e203130306040820152602560f81b606082015260800190565b6020808252601f908201527f43616e6e6f74207365742074617820686967686572207468616e203130302500604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60ff9190911681526020019056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655a65726f537761705065726d69743a20496e76616c6964207369676e6174757265536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655661756c744f776e65643a2063616c6c6572206973206e6f7420746865205661756c744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a0eda175a4364696b5b6e5aabe0f07129dd948585857b643af1417838df389d064736f6c63430007050033
Deployed Bytecode
0x6080604052600436106102085760003560e01c806370a0823111610118578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e146105a7578063f0f44260146105c7578063f2fde38b146105e7578063f887ea4014610607578063fbfa77cf1461061c5761020f565b8063a9059cbb14610532578063b62496f514610552578063cc1776d314610572578063d505accf146105875761020f565b80638da5cb5b116100e75780638da5cb5b146104a857806395d89b41146104bd5780639a7a23d6146104d2578063a22b35ce146104f2578063a457c2d7146105125761020f565b806370a0823114610433578063715018a61461045357806379cc6790146104685780637ecebe00146104885761020f565b8063313ce5671161019b57806342966c681161016a57806342966c681461039c578063436d3340146103bc57806349bd5a5e146103dc5780634f7041a5146103fe5780636817031b146104135761020f565b8063313ce567146103255780633644e51514610347578063395093511461035c57806340c10f191461037c5761020f565b806318160ddd116101d757806318160ddd146102ae57806322603661146102d057806323b872dd146102f057806330adf81f146103105761020f565b806306fdde0314610214578063095ea7b31461023f5780631006ee0c1461026c57806312185a391461028e5761020f565b3661020f57005b600080fd5b34801561022057600080fd5b50610229610631565b6040516102369190611acf565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611a45565b6106c7565b6040516102369190611abb565b34801561027857600080fd5b5061028c610287366004611a86565b6106de565b005b34801561029a57600080fd5b5061028c6102a9366004611a6e565b61076d565b3480156102ba57600080fd5b506102c36107e0565b6040516102369190611ac6565b3480156102dc57600080fd5b5061028c6102eb366004611a0b565b6107e6565b3480156102fc57600080fd5b5061025f61030b36600461195f565b61085e565b34801561031c57600080fd5b506102c36108c7565b34801561033157600080fd5b5061033a6108eb565b6040516102369190611c22565b34801561035357600080fd5b506102c36108f4565b34801561036857600080fd5b5061025f610377366004611a45565b6108fa565b34801561038857600080fd5b5061028c610397366004611a45565b610930565b3480156103a857600080fd5b5061028c6103b7366004611a6e565b610987565b3480156103c857600080fd5b5061028c6103d7366004611a6e565b610994565b3480156103e857600080fd5b506103f1610a07565b6040516102369190611aa7565b34801561040a57600080fd5b506102c3610a16565b34801561041f57600080fd5b5061025f61042e366004611913565b610a1c565b34801561043f57600080fd5b506102c361044e366004611913565b610a90565b34801561045f57600080fd5b5061028c610aab565b34801561047457600080fd5b5061028c610483366004611a45565b610b42565b34801561049457600080fd5b506102c36104a3366004611913565b610b4c565b3480156104b457600080fd5b506103f1610b6d565b3480156104c957600080fd5b50610229610b7c565b3480156104de57600080fd5b5061028c6104ed366004611a0b565b610bdd565b3480156104fe57600080fd5b5061028c61050d366004611a45565b610c34565b34801561051e57600080fd5b5061025f61052d366004611a45565b610c80565b34801561053e57600080fd5b5061025f61054d366004611a45565b610ccf565b34801561055e57600080fd5b5061025f61056d366004611913565b610cdc565b34801561057e57600080fd5b506102c3610cf1565b34801561059357600080fd5b5061028c6105a236600461199a565b610cf7565b3480156105b357600080fd5b506102c36105c236600461192d565b610f24565b3480156105d357600080fd5b5061028c6105e2366004611913565b610f4f565b3480156105f357600080fd5b5061028c610602366004611913565b610fbe565b34801561061357600080fd5b506103f16110ac565b34801561062857600080fd5b506103f16110bb565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106bd5780601f10610692576101008083540402835291602001916106bd565b820191906000526020600020905b8154815290600101906020018083116106a057829003601f168201915b5050505050905090565b60006106d433848461112b565b5060015b92915050565b6008546001600160a01b0316331461072b576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6064811115801561073d575060648211155b6107625760405162461bcd60e51b815260040161075990611b65565b60405180910390fd5b600d91909155600e55565b6008546001600160a01b031633146107ba576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b60648111156107db5760405162461bcd60e51b815260040161075990611ba6565b600e55565b60025490565b6008546001600160a01b03163314610833576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061086b848484611217565b6108bd84336108b885604051806060016040528060288152602001611d26602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906113a4565b61112b565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106d49185906108b890866110ca565b6009546001600160a01b031633146109795760405162461bcd60e51b8152600401808060200182810382526023815260200180611d4e6023913960400191505060405180910390fd5b610983828261143b565b5050565b610991338261152b565b50565b6008546001600160a01b031633146109e1576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6064811115610a025760405162461bcd60e51b815260040161075990611ba6565b600d55565b600b546001600160a01b031681565b600d5481565b6008546000906001600160a01b03163314610a6c576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b50600980546001600160a01b0319166001600160a01b03831617905560015b919050565b6001600160a01b031660009081526020819052604090205490565b6008546001600160a01b03163314610af8576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6109838282610c34565b6001600160a01b03811660009081526006602052604081206106d890611627565b6008546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106bd5780601f10610692576101008083540402835291602001916106bd565b6008546001600160a01b03163314610c2a576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b610983828261162b565b6000610c6482604051806060016040528060248152602001611d9160249139610c5d8633610f24565b91906113a4565b9050610c7183338361112b565b610c7b838361152b565b505050565b60006106d433846108b885604051806060016040528060258152602001611e1f602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906113a4565b60006106d4338484611217565b60106020526000908152604090205460ff1681565b600e5481565b83421115610d4c576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610d9590611627565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610e7b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610eb15750896001600160a01b0316816001600160a01b0316145b610eec5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ce46021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610f0d90611656565b610f188a8a8a61112b565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b03163314610f9c576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461100b576040805162461bcd60e51b81526020600482018190526024820152600080516020611d71833981519152604482015290519081900360640190fd5b6001600160a01b0381166110505760405162461bcd60e51b8152600401808060200182810382526026815260200180611c766026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031681565b6009546001600160a01b031690565b600082820183811015611124576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0383166111705760405162461bcd60e51b8152600401808060200182810382526024815260200180611dfb6024913960400191505060405180910390fd5b6001600160a01b0382166111b55760405162461bcd60e51b8152600401808060200182810382526022815260200180611c9c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661123d5760405162461bcd60e51b815260040161075990611bdd565b6001600160a01b0382166112635760405162461bcd60e51b815260040161075990611b22565b80611279576112748383600061165f565b610c7b565b6001600160a01b0383166000908152600f602052604090205460019060ff16806112bb57506001600160a01b0383166000908152600f602052604090205460ff165b156112c4575060005b60008115611392576001600160a01b03841660009081526010602052604090205460ff1680156112f657506000600e54115b156113225761131b6064611315600e54866117ba90919063ffffffff16565b90611813565b905061136e565b6001600160a01b03851660009081526010602052604090205460ff16801561134c57506000600d54115b1561136e5761136b6064611315600d54866117ba90919063ffffffff16565b90505b801561138c57600c5461138c9086906001600160a01b03168361165f565b80830392505b61139d85858561165f565b5050505050565b600081848411156114335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113f85781810151838201526020016113e0565b50505050905090810190601f1680156114255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611496576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6114a1308383610c7b565b6002546114ae90826110ca565b6002556001600160a01b0382166000908152602081905260409020546114d490826110ca565b6001600160a01b038316600081815260208181526040918290209390935580518481529051919230927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166115705760405162461bcd60e51b8152600401808060200182810382526021815260200180611db56021913960400191505060405180910390fd5b61157c82600083610c7b565b6115b981604051806060016040528060228152602001611c54602291396001600160a01b03851660009081526020819052604090205491906113a4565b6001600160a01b0383166000908152602081905260409020556002546115df9082611855565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b5490565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b80546001019055565b6001600160a01b0383166116a45760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd66025913960400191505060405180910390fd5b6001600160a01b0382166116e95760405162461bcd60e51b8152600401808060200182810382526023815260200180611c316023913960400191505060405180910390fd5b6116f4838383610c7b565b61173181604051806060016040528060268152602001611cbe602691396001600160a01b03861660009081526020819052604090205491906113a4565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461176090826110ca565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000826117c9575060006106d8565b828202828482816117d657fe5b04146111245760405162461bcd60e51b8152600401808060200182810382526021815260200180611d056021913960400191505060405180910390fd5b600061112483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611897565b600061112483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113a4565b600081836118e65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113f85781810151838201526020016113e0565b5060008385816118f257fe5b0495945050505050565b80356001600160a01b0381168114610a8b57600080fd5b600060208284031215611924578081fd5b611124826118fc565b6000806040838503121561193f578081fd5b611948836118fc565b9150611956602084016118fc565b90509250929050565b600080600060608486031215611973578081fd5b61197c846118fc565b925061198a602085016118fc565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119b4578283fd5b6119bd886118fc565b96506119cb602089016118fc565b95506040880135945060608801359350608088013560ff811681146119ee578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a1d578182fd5b611a26836118fc565b915060208301358015158114611a3a578182fd5b809150509250929050565b60008060408385031215611a57578182fd5b611a60836118fc565b946020939093013593505050565b600060208284031215611a7f578081fd5b5035919050565b60008060408385031215611a98578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b6000602080835283518082850152825b81811015611afb57858101830151858201604001528201611adf565b81811115611b0c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f43616e6e6f742073657420746178657320686967686572207468616e203130306040820152602560f81b606082015260800190565b6020808252601f908201527f43616e6e6f74207365742074617820686967686572207468616e203130302500604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60ff9190911681526020019056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655a65726f537761705065726d69743a20496e76616c6964207369676e6174757265536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655661756c744f776e65643a2063616c6c6572206973206e6f7420746865205661756c744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a0eda175a4364696b5b6e5aabe0f07129dd948585857b643af1417838df389d064736f6c63430007050033
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.