ERC-20
Overview
Max Total Supply
10,000,000 DRF
Holders
270
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4.157680270814889525 DRFValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DRF
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.2; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./uniswapv2/interfaces/IUniswapV2Factory.sol"; import "./uniswapv2/interfaces/IUniswapV2Router02.sol"; import "./uniswapv2/interfaces/IUniswapV2Pair.sol"; import "./uniswapv2/interfaces/IWETH.sol"; contract DRF is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isReflectExcluded; address[] private _reflectExcluded; mapping(address => bool) private _isNoFee; mapping(address => bool) private _transferPairAddress; uint256 private constant MAX = uint256(- 1); uint256 private constant _tTotal = 10000000e18; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; enum TransferState {Normal, Buy, Sell} /// @notice Principal supply to generate rewards for LP or liquidity /// @dev The actual supply is in this contract uint256 public principalSupply; /// @notice Reserve supply used to generate liquidity /// @dev The actual supply is in lord contract uint256 public reserveSupply; /// @notice Bonus supply used as buy bonus /// @dev The actual supply is in lord contract uint256 public bonusSupply; uint256 public reflectFeeDenominator = 67; uint256 public buyTxFeeDenominator = 200; uint256 public sellTxFeeDenominator = 200; uint256 public buyBonusDenominator = 25; uint256 public sellFeeDenominator = 50; /// @dev Restrict buy max, set to 0 to remove restriction uint256 public restrictBuyAmount = 8000e18; address public lord; address public pairAddress; struct TValues { uint256 amount; uint256 transferAmount; uint256 fee; uint256 txFee; uint256 sellFee; uint256 buyBonus; } struct RValues { uint256 amount; uint256 transferAmount; uint256 fee; uint256 txFee; uint256 sellFee; uint256 buyBonus; } string private _name = 'drift.finance'; string private _symbol = 'DRF'; uint8 private _decimals = 18; constructor () public { } receive() external payable { } /* ========== Modifiers ========== */ modifier onlyLord { require(_msgSender() == lord, "Lord only"); _; } /* ========== Only Owner ========== */ function init(address _lord, address _pairAddress) external onlyOwner { if (lord == address(0)) { lord = _lord; pairAddress = _pairAddress; _rOwned[lord] = _rTotal; setNoFee(lord, true); excludeReflectAccount(lord); excludeReflectAccount(pairAddress); // Set transfer pair address so contract know which one is buy or sell setTransferPairAddress(pairAddress, true); // Set no fee since we use this contract as principal to generate rewards for LP provider setNoFee(address(this), true); } } function setNoFee(address account, bool value) public onlyOwner { _isNoFee[account] = value; } function setTransferPairAddress(address transferPairAddress, bool value) public onlyOwner { _transferPairAddress[transferPairAddress] = value; } function setRestrictBuyAmount(uint256 amount) external onlyOwner { restrictBuyAmount = amount; } function excludeReflectAccount(address account) public onlyOwner { require(!_isReflectExcluded[account], "Already excluded"); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isReflectExcluded[account] = true; _reflectExcluded.push(account); } function includeReflectAccount(address account) public onlyOwner { require(_isReflectExcluded[account], "Already included"); for (uint256 i = 0; i < _reflectExcluded.length; i++) { if (_reflectExcluded[i] == account) { _reflectExcluded[i] = _reflectExcluded[_reflectExcluded.length - 1]; _tOwned[account] = 0; _isReflectExcluded[account] = false; _reflectExcluded.pop(); break; } } } /* ========== Only Lord ========== */ function setFee( uint256 _reflectFeeDenominator, uint256 _buyTxFeeDenominator, uint256 _sellTxFeeDenominator, uint256 _buyBonusDenominator, uint256 _sellFeeDenominator ) external onlyLord { reflectFeeDenominator = _reflectFeeDenominator; buyTxFeeDenominator = _buyTxFeeDenominator; sellTxFeeDenominator = _sellTxFeeDenominator; buyBonusDenominator = _buyBonusDenominator; sellFeeDenominator = _sellFeeDenominator; } function setReserveSupply(uint256 amount) external onlyLord { reserveSupply = amount; } /// @notice Deposit principal supply from lord function depositPrincipalSupply(uint256 amount) external onlyLord { principalSupply = amount; _transferFromExcluded(lord, address(this), principalSupply, false, TransferState.Normal); } /// @notice Withdraw back principal supply to lord function withdrawPrincipalSupply() external onlyLord returns(uint256) { _transferToExcluded(address(this), lord, balanceOf(address(this)), false, TransferState.Normal); return principalSupply; } /// @notice Reward LP providers if pair address is specified, otherwise just add the reward to reserve supply for liquidity function distributePrincipalRewards(address rewardPairAddress) external onlyLord { uint256 balance = balanceOf(address(this)); if (balance > 0) { uint256 reward = balance.sub(principalSupply); // If pair address specified then reward LP provider if (rewardPairAddress != address(0)) { _transferToExcluded(address(this), rewardPairAddress, reward, false, TransferState.Normal); IUniswapV2Pair(rewardPairAddress).sync(); } // else add as reserve supply to generate liquidity else { _transferToExcluded(address(this), lord, reward, false, TransferState.Normal); reserveSupply = reserveSupply.add(reward); } } } /* ========== View ========== */ function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function circulatingSupply() public view returns (uint256) { return _tTotal.sub(balanceOf(address(this))).sub(balanceOf(lord)); } function balanceOf(address account) public view override returns (uint256) { if (_isReflectExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function isExcluded(address account) public view returns (bool) { return _isReflectExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function reflectionFromToken(uint256 tAmount, bool deductTransferFee, TransferState transferState) public view returns (uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (RValues memory r,) = _getValues(tAmount, true, transferState); return r.amount; } else { (RValues memory r,) = _getValues(tAmount, true, transferState); return r.transferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } /* ========== Mutative ========== */ function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function reflect(uint256 tAmount) public { address sender = _msgSender(); require(!_isReflectExcluded[sender], "Excluded addresses cannot call this function"); (RValues memory r,) = _getValues(tAmount, !_isNoFee[sender], TransferState.Normal); _rOwned[sender] = _rOwned[sender].sub(r.amount); _rTotal = _rTotal.sub(r.amount); _tFeeTotal = _tFeeTotal.add(tAmount); } /* ========== Private ========== */ function _approve(address owner, address spender, uint256 amount) private { 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 _transfer(address sender, address recipient, uint256 amount) private { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Invalid amount"); bool hasFee = !_isNoFee[sender] && !_isNoFee[recipient]; TransferState transferState; if (_transferPairAddress[sender]) { transferState = TransferState.Buy; } else if (_transferPairAddress[recipient]) { transferState = TransferState.Sell; } if (restrictBuyAmount > 0 && transferState == TransferState.Buy && hasFee) { require(amount <= restrictBuyAmount, "Buy restricted"); } if (_isReflectExcluded[sender] && !_isReflectExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount, hasFee, transferState); } else if (!_isReflectExcluded[sender] && _isReflectExcluded[recipient]) { _transferToExcluded(sender, recipient, amount, hasFee, transferState); } else if (!_isReflectExcluded[sender] && !_isReflectExcluded[recipient]) { _transferStandard(sender, recipient, amount, hasFee, transferState); } else if (_isReflectExcluded[sender] && _isReflectExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount, hasFee, transferState); } else { _transferStandard(sender, recipient, amount, hasFee, transferState); } } function _transferStandard(address sender, address recipient, uint256 tAmount, bool hasFee, TransferState transferState) private { (RValues memory r, TValues memory t) = _getValues(tAmount, hasFee, transferState); _rOwned[sender] = _rOwned[sender].sub(r.amount); _rOwned[recipient] = _rOwned[recipient].add(r.transferAmount.add(r.buyBonus)); _tOwned[lord] = _tOwned[lord].add(t.txFee.add(t.sellFee)).sub(t.buyBonus); _rOwned[lord] = _rOwned[lord].add(r.txFee.add(r.sellFee)).sub(r.buyBonus); reserveSupply = reserveSupply.add(t.txFee); bonusSupply = bonusSupply.add(t.sellFee).sub(t.buyBonus); _reflectFee(r.fee, t.fee); emit Transfer(sender, recipient, t.transferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount, bool hasFee, TransferState transferState) private { (RValues memory r, TValues memory t) = _getValues(tAmount, hasFee, transferState); _rOwned[sender] = _rOwned[sender].sub(r.amount); _tOwned[recipient] = _tOwned[recipient].add(t.transferAmount.add(t.buyBonus)); _rOwned[recipient] = _rOwned[recipient].add(r.transferAmount.add(r.buyBonus)); _tOwned[lord] = _tOwned[lord].add(t.txFee.add(t.sellFee)).sub(t.buyBonus); _rOwned[lord] = _rOwned[lord].add(r.txFee.add(r.sellFee)).sub(r.buyBonus); reserveSupply = reserveSupply.add(t.txFee); bonusSupply = bonusSupply.add(t.sellFee).sub(t.buyBonus); _reflectFee(r.fee, t.fee); emit Transfer(sender, recipient, t.transferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount, bool hasFee, TransferState transferState) private { (RValues memory r, TValues memory t) = _getValues(tAmount, hasFee, transferState); _tOwned[sender] = _tOwned[sender].sub(t.amount); _rOwned[sender] = _rOwned[sender].sub(r.amount); _rOwned[recipient] = _rOwned[recipient].add(r.transferAmount.add(r.buyBonus)); _tOwned[lord] = _tOwned[lord].add(t.txFee.add(t.sellFee)).sub(t.buyBonus); _rOwned[lord] = _rOwned[lord].add(r.txFee.add(r.sellFee)).sub(r.buyBonus); reserveSupply = reserveSupply.add(t.txFee); bonusSupply = bonusSupply.add(t.sellFee).sub(t.buyBonus); _reflectFee(r.fee, t.fee); emit Transfer(sender, recipient, t.transferAmount); } function _transferBothExcluded(address sender, address recipient, uint256 tAmount, bool hasFee, TransferState transferState) private { (RValues memory r, TValues memory t) = _getValues(tAmount, hasFee, transferState); _tOwned[sender] = _tOwned[sender].sub(t.amount); _rOwned[sender] = _rOwned[sender].sub(r.amount); _tOwned[recipient] = _tOwned[recipient].add(t.transferAmount.add(t.buyBonus)); _rOwned[recipient] = _rOwned[recipient].add(r.transferAmount.add(r.buyBonus)); _tOwned[lord] = _tOwned[lord].add(t.txFee.add(t.sellFee)).sub(t.buyBonus); _rOwned[lord] = _rOwned[lord].add(r.txFee.add(r.sellFee)).sub(r.buyBonus); reserveSupply = reserveSupply.add(t.txFee); bonusSupply = bonusSupply.add(t.sellFee).sub(t.buyBonus); _reflectFee(r.fee, t.fee); emit Transfer(sender, recipient, t.transferAmount); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount, bool hasFee, TransferState transferState) private view returns (RValues memory r, TValues memory t) { t = _getTValues(tAmount, hasFee, transferState); r = _getRValues(t, _getRate()); } function _getTValues(uint256 tAmount, bool hasFee, TransferState transferState) private view returns (TValues memory t) { t.amount = tAmount; if (hasFee) { t.fee = tAmount.div(reflectFeeDenominator); t.txFee = transferState == TransferState.Buy ? tAmount.div(buyTxFeeDenominator) : tAmount.div(sellTxFeeDenominator); t.sellFee = transferState == TransferState.Sell ? tAmount.div(sellFeeDenominator) : 0; t.buyBonus = transferState == TransferState.Buy ? tAmount.div(buyBonusDenominator) : 0; if (t.buyBonus > 0) { t.buyBonus = bonusSupply > t.buyBonus ? t.buyBonus : bonusSupply; } } t.transferAmount = tAmount.sub(t.fee).sub(t.txFee).sub(t.sellFee); } function _getRValues(TValues memory t, uint256 currentRate) private pure returns (RValues memory r) { r.amount = t.amount.mul(currentRate); r.fee = t.fee.mul(currentRate); r.txFee = t.txFee.mul(currentRate); r.sellFee = t.sellFee.mul(currentRate); r.transferAmount = r.amount.sub(r.fee).sub(r.txFee).sub(r.sellFee); r.buyBonus = t.buyBonus.mul(currentRate); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _reflectExcluded.length; i++) { if (_rOwned[_reflectExcluded[i]] > rSupply || _tOwned[_reflectExcluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_reflectExcluded[i]]); tSupply = tSupply.sub(_tOwned[_reflectExcluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: Unlicensed pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function migrator() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; function setMigrator(address) external; }
// SPDX-License-Identifier: Unlicensed pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: Unlicensed pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: Unlicensed pragma solidity >=0.5.0; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
// SPDX-License-Identifier: Unlicensed pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBonusDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTxFeeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","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":"uint256","name":"amount","type":"uint256"}],"name":"depositPrincipalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rewardPairAddress","type":"address"}],"name":"distributePrincipalRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeReflectAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeReflectAccount","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":"_lord","type":"address"},{"internalType":"address","name":"_pairAddress","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lord","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"principalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"reflect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reflectFeeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"},{"internalType":"enum DRF.TransferState","name":"transferState","type":"uint8"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"restrictBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFeeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTxFeeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reflectFeeDenominator","type":"uint256"},{"internalType":"uint256","name":"_buyTxFeeDenominator","type":"uint256"},{"internalType":"uint256","name":"_sellTxFeeDenominator","type":"uint256"},{"internalType":"uint256","name":"_buyBonusDenominator","type":"uint256"},{"internalType":"uint256","name":"_sellFeeDenominator","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setNoFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setReserveSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setRestrictBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferPairAddress","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setTransferPairAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPrincipalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6a0357636f35a3ab8fffffff196008556043600d90815560c8600e819055600f55601960105560326011556901b1ae4d6e2ef500000060125560c060405260808190526c64726966742e66696e616e636560981b60a090815262000067916015919062000110565b506040805180820190915260038082526222292360e91b6020909201918252620000949160169162000110565b506017805460ff19166012179055348015620000af57600080fd5b506000620000bc6200010c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001ac565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200015357805160ff191683800117855562000183565b8280016001018555821562000183579182015b828111156200018357825182559160200191906001019062000166565b506200019192915062000195565b5090565b5b8082111562000191576000815560010162000196565b61295e80620001bc6000396000f3fe6080604052600436106102555760003560e01c80637767b16211610139578063a8b08982116100b6578063cba0e9961161007a578063cba0e99614610844578063d356a0b414610877578063dc1d39c61461088c578063dd62ed3e146108bf578063f09a4016146108fa578063f2fde38b146109355761025c565b8063a8b0898214610773578063a9059cbb14610788578063ab8a128b146107c1578063abfd5e99146107f4578063beb09140146108095761025c565b80638ebd2c06116100fd5780638ebd2c06146106b95780639358928b146106ce57806395d89b41146106e3578063a2e00d63146106f8578063a457c2d71461073a5761025c565b80637767b1621461063457806378353d9a1461064957806385a0ff531461067a578063863843bc1461068f5780638da5cb5b146106a45761025c565b8063313ce567116101d2578063505cee4911610196578063505cee491461052a57806354277de714610554578063635259e01461057e57806370a08231146105b1578063715018a6146105e457806372b2097f146105f95761025c565b8063313ce56714610461578063319d42a41461048c57806339509351146104a157806342701a8e146104da578063459e06f5146105155761025c565b806313114a9d1161021957806313114a9d146103b5578063156ff796146103ca57806318160ddd146103df57806323b872dd146103f45780632d838119146104375761025c565b806303d41eb614610261578063053ab1821461028857806306fdde03146102b4578063092bf7921461033e578063095ea7b3146103685761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b50610276610968565b60408051918252519081900360200190f35b34801561029457600080fd5b506102b2600480360360208110156102ab57600080fd5b503561096e565b005b3480156102c057600080fd5b506102c9610a6c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103035781810151838201526020016102eb565b50505050905090810190601f1680156103305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034a57600080fd5b506102b26004803603602081101561036157600080fd5b5035610b02565b34801561037457600080fd5b506103a16004803603604081101561038b57600080fd5b506001600160a01b038135169060200135610b5f565b604080519115158252519081900360200190f35b3480156103c157600080fd5b50610276610b7d565b3480156103d657600080fd5b50610276610b83565b3480156103eb57600080fd5b50610276610b89565b34801561040057600080fd5b506103a16004803603606081101561041757600080fd5b506001600160a01b03813581169160208101359091169060400135610b98565b34801561044357600080fd5b506102766004803603602081101561045a57600080fd5b5035610c20565b34801561046d57600080fd5b50610476610c82565b6040805160ff9092168252519081900360200190f35b34801561049857600080fd5b50610276610c8b565b3480156104ad57600080fd5b506103a1600480360360408110156104c457600080fd5b506001600160a01b038135169060200135610c91565b3480156104e657600080fd5b506102b2600480360360408110156104fd57600080fd5b506001600160a01b0381351690602001351515610cdf565b34801561052157600080fd5b50610276610d62565b34801561053657600080fd5b506102b26004803603602081101561054d57600080fd5b5035610d68565b34801561056057600080fd5b506102b26004803603602081101561057757600080fd5b5035610dc8565b34801561058a57600080fd5b506102b2600480360360208110156105a157600080fd5b50356001600160a01b0316610e45565b3480156105bd57600080fd5b50610276600480360360208110156105d457600080fd5b50356001600160a01b0316610ff9565b3480156105f057600080fd5b506102b261105b565b34801561060557600080fd5b506102b26004803603604081101561061c57600080fd5b506001600160a01b03813516906020013515156110fd565b34801561064057600080fd5b50610276611180565b34801561065557600080fd5b5061065e611186565b604080516001600160a01b039092168252519081900360200190f35b34801561068657600080fd5b50610276611195565b34801561069b57600080fd5b5061027661119b565b3480156106b057600080fd5b5061065e6111a1565b3480156106c557600080fd5b506102766111b0565b3480156106da57600080fd5b50610276611238565b3480156106ef57600080fd5b506102c961127d565b34801561070457600080fd5b506102b2600480360360a081101561071b57600080fd5b50803590602081013590604081013590606081013590608001356112de565b34801561074657600080fd5b506103a16004803603604081101561075d57600080fd5b506001600160a01b038135169060200135611350565b34801561077f57600080fd5b5061065e6113b8565b34801561079457600080fd5b506103a1600480360360408110156107ab57600080fd5b506001600160a01b0381351690602001356113c7565b3480156107cd57600080fd5b506102b2600480360360208110156107e457600080fd5b50356001600160a01b03166113db565b34801561080057600080fd5b50610276611508565b34801561081557600080fd5b506102766004803603606081101561082c57600080fd5b5080359060208101351515906040013560ff1661150e565b34801561085057600080fd5b506103a16004803603602081101561086757600080fd5b50356001600160a01b03166115b6565b34801561088357600080fd5b506102766115d4565b34801561089857600080fd5b506102b2600480360360208110156108af57600080fd5b50356001600160a01b03166115da565b3480156108cb57600080fd5b50610276600480360360408110156108e257600080fd5b506001600160a01b0381358116916020013516611753565b34801561090657600080fd5b506102b26004803603604081101561091d57600080fd5b506001600160a01b038135811691602001351661177e565b34801561094157600080fd5b506102b26004803603602081101561095857600080fd5b50356001600160a01b0316611889565b600b5481565b6000610978611981565b6001600160a01b03811660009081526004602052604090205490915060ff16156109d35760405162461bcd60e51b815260040180806020018281038252602c8152602001806128d8602c913960400191505060405180910390fd5b6109db61275a565b6001600160a01b038216600090815260066020526040812054610a0491859160ff161590611985565b5080516001600160a01b038416600090815260016020526040902054919250610a2d91906119bd565b6001600160a01b0383166000908152600160205260409020558051600854610a54916119bd565b600855600954610a6490846119ff565b600955505050565b60158054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b610b0a611981565b6000546001600160a01b03908116911614610b5a576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b601255565b6000610b73610b6c611981565b8484611a59565b5060015b92915050565b60095490565b60115481565b6a084595161401484a00000090565b6000610ba5848484611b45565b610c1584610bb1611981565b610c1085604051806060016040528060288152602001612847602891396001600160a01b038a16600090815260036020526040812090610bef611981565b6001600160a01b031681526020810191909152604001600020549190611e81565b611a59565b5060015b9392505050565b6000600854821115610c635760405162461bcd60e51b815260040180806020018281038252602a8152602001806127b4602a913960400191505060405180910390fd5b6000610c6d611f18565b9050610c798382611f3b565b9150505b919050565b60175460ff1690565b600d5481565b6000610b73610c9e611981565b84610c108560036000610caf611981565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119ff565b610ce7611981565b6000546001600160a01b03908116911614610d37576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600a5481565b6013546001600160a01b0316610d7c611981565b6001600160a01b031614610dc3576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600b55565b6013546001600160a01b0316610ddc611981565b6001600160a01b031614610e23576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600a819055601354610e42906001600160a01b03163083600080611f7d565b50565b610e4d611981565b6000546001600160a01b03908116911614610e9d576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610efd576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481a5b98db1d59195960821b604482015290519081900360640190fd5b60005b600554811015610ff557816001600160a01b031660058281548110610f2157fe5b6000918252602090912001546001600160a01b03161415610fed57600580546000198101908110610f4e57fe5b600091825260209091200154600580546001600160a01b039092169183908110610f7457fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610fc657fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ff5565b600101610f00565b5050565b6001600160a01b03811660009081526004602052604081205460ff161561103957506001600160a01b038116600090815260026020526040902054610c7d565b6001600160a01b038216600090815260016020526040902054610b7790610c20565b611063611981565b6000546001600160a01b039081169116146110b3576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b611105611981565b6000546001600160a01b03908116911614611155576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60125481565b6013546001600160a01b031681565b600f5481565b600c5481565b6000546001600160a01b031690565b6013546000906001600160a01b03166111c7611981565b6001600160a01b03161461120e576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b6013546112319030906001600160a01b031661122982610ff9565b6000806121be565b50600a5490565b60135460009061127890611254906001600160a01b0316610ff9565b61127261126030610ff9565b6a084595161401484a000000906119bd565b906119bd565b905090565b60168054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610af85780601f10610acd57610100808354040283529160200191610af8565b6013546001600160a01b03166112f2611981565b6001600160a01b031614611339576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600d94909455600e92909255600f55601055601155565b6000610b7361135d611981565b84610c10856040518060600160405280602581526020016129046025913960036000611387611981565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e81565b6014546001600160a01b031681565b6000610b736113d4611981565b8484611b45565b6013546001600160a01b03166113ef611981565b6001600160a01b031614611436576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600061144130610ff9565b90508015610ff5576000611460600a54836119bd90919063ffffffff16565b90506001600160a01b038316156114d75761147f3084836000806121be565b826001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156114ba57600080fd5b505af11580156114ce573d6000803e3d6000fd5b50505050611503565b6013546114f29030906001600160a01b0316836000806121be565b600b546114ff90826119ff565b600b555b505050565b600e5481565b60006a084595161401484a000000841115611570576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b826115945761157d61275a565b61158985600185611985565b50519150610c199050565b61159c61275a565b6115a885600185611985565b50602001519150610c199050565b6001600160a01b031660009081526004602052604090205460ff1690565b60105481565b6115e2611981565b6000546001600160a01b03908116911614611632576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615611693576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b604482015290519081900360640190fd5b6001600160a01b038116600090815260016020526040902054156116ed576001600160a01b0381166000908152600160205260409020546116d390610c20565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b611786611981565b6000546001600160a01b039081169116146117d6576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6013546001600160a01b0316610ff557601380546001600160a01b038085166001600160a01b03199283161780845560148054868416941693909317909255600854918116600090815260016020819052604090912092909255915461183d921690610cdf565b601354611852906001600160a01b03166115da565b601454611867906001600160a01b03166115da565b60145461187e906001600160a01b031660016110fd565b610ff5306001610cdf565b611891611981565b6000546001600160a01b039081169116146118e1576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b0381166119265760405162461bcd60e51b81526004018080602001828103825260268152602001806127de6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b61198d61275a565b61199561275a565b6119a085858561228f565b90506119b3816119ae611f18565b6123a1565b9150935093915050565b6000610c1983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e81565b600082820183811015610c19576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611a9e5760405162461bcd60e51b81526004018080602001828103825260248152602001806128b46024913960400191505060405180910390fd5b6001600160a01b038216611ae35760405162461bcd60e51b81526004018080602001828103825260228152602001806128046022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611b8a5760405162461bcd60e51b815260040180806020018281038252602581526020018061288f6025913960400191505060405180910390fd5b6001600160a01b038216611bcf5760405162461bcd60e51b81526004018080602001828103825260238152602001806127916023913960400191505060405180910390fd5b60008111611c15576040805162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015290519081900360640190fd5b6001600160a01b03831660009081526006602052604081205460ff16158015611c5757506001600160a01b03831660009081526006602052604090205460ff16155b6001600160a01b0385166000908152600760205260408120549192509060ff1615611c8457506001611ca9565b6001600160a01b03841660009081526007602052604090205460ff1615611ca9575060025b6000601254118015611cc657506001816002811115611cc457fe5b145b8015611ccf5750815b15611d1c57601254831115611d1c576040805162461bcd60e51b815260206004820152600e60248201526d109d5e481c995cdd1c9a58dd195960921b604482015290519081900360640190fd5b6001600160a01b03851660009081526004602052604090205460ff168015611d5d57506001600160a01b03841660009081526004602052604090205460ff16155b15611d7457611d6f8585858585611f7d565b611e7a565b6001600160a01b03851660009081526004602052604090205460ff16158015611db557506001600160a01b03841660009081526004602052604090205460ff165b15611dc757611d6f85858585856121be565b6001600160a01b03851660009081526004602052604090205460ff16158015611e0957506001600160a01b03841660009081526004602052604090205460ff16155b15611e1b57611d6f8585858585612432565b6001600160a01b03851660009081526004602052604090205460ff168015611e5b57506001600160a01b03841660009081526004602052604090205460ff165b15611e6d57611d6f8585858585612478565b611e7a8585858585612432565b5050505050565b60008184841115611f105760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ed5578181015183820152602001611ebd565b50505050905090810190601f168015611f025780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611f256124f1565b9092509050611f348282611f3b565b9250505090565b6000610c1983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612678565b611f8561275a565b611f8d61275a565b611f98858585611985565b80516001600160a01b038a16600090815260026020526040902054929450909250611fc391906119bd565b6001600160a01b0388166000908152600260209081526040808320939093558451600190915291902054611ff6916119bd565b6001600160a01b03881660009081526001602090815260409091209190915560a08301519083015161204b9161202c91906119ff565b6001600160a01b038816600090815260016020526040902054906119ff565b6001600160a01b03871660009081526001602052604090205560a0810151608082015160608301516120a6929161127291612085916119ff565b6013546001600160a01b0316600090815260026020526040902054906119ff565b6013546001600160a01b031660009081526002602052604090205560a0820151608083015160608401516121039291611272916120e2916119ff565b6013546001600160a01b0316600090815260016020526040902054906119ff565b6013546001600160a01b03166000908152600160205260409020556060810151600b5461212f916119ff565b600b5560a08101516080820151600c5461214e929161127291906119ff565b600c81905550612166826040015182604001516126dd565b856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83602001516040518082815260200191505060405180910390a350505050505050565b6121c661275a565b6121ce61275a565b6121d9858585611985565b81516001600160a01b038a1660009081526001602052604090205492945090925061220491906119bd565b6001600160a01b03881660009081526001602090815260409091209190915560a0820151908201516122599161223a91906119ff565b6001600160a01b038816600090815260026020526040902054906119ff565b6001600160a01b03871660009081526002602090815260409091209190915560a08301519083015161204b9161202c91906119ff565b61229761275a565b838152821561236e57600d546122ae908590611f3b565b604082015260018260028111156122c157fe5b146122d957600f546122d4908590611f3b565b6122e7565b600e546122e7908590611f3b565b606082015260028260028111156122fa57fe5b14612306576000612314565b601154612314908590611f3b565b6080820152600182600281111561232757fe5b14612333576000612341565b601054612341908590611f3b565b60a082018190521561236e578060a00151600c541161236257600c54612368565b8060a001515b60a08201525b612395816080015161127283606001516112728560400151896119bd90919063ffffffff16565b60208201529392505050565b6123a961275a565b82516123b59083612701565b815260408301516123c69083612701565b604082015260608301516123da9083612701565b606082015260808301516123ee9083612701565b60808201819052606082015160408301518351612413939261127292909183916119bd565b602082015260a08301516124279083612701565b60a082015292915050565b61243a61275a565b61244261275a565b61244d858585611985565b81516001600160a01b038a16600090815260016020526040902054929450909250611ff691906119bd565b61248061275a565b61248861275a565b612493858585611985565b80516001600160a01b038a166000908152600260205260409020549294509092506124be91906119bd565b6001600160a01b0388166000908152600260209081526040808320939093558451600190915291902054612204916119bd565b60085460009081906a084595161401484a000000825b6005548110156126345782600160006005848154811061252357fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612588575081600260006005848154811061256157fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156125a8576008546a084595161401484a00000094509450505050612674565b6125e860016000600584815481106125bc57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906119bd565b925061262a60026000600584815481106125fe57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906119bd565b9150600101612507565b5060085461264d906a084595161401484a000000611f3b565b82101561266e576008546a084595161401484a000000935093505050612674565b90925090505b9091565b600081836126c75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ed5578181015183820152602001611ebd565b5060008385816126d357fe5b0495945050505050565b6008546126ea90836119bd565b6008556009546126fa90826119ff565b6009555050565b60008261271057506000610b77565b8282028284828161271d57fe5b0414610c195760405162461bcd60e51b81526004018080602001828103825260218152602001806128266021913960400191505060405180910390fd5b6040518060c00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122026b859c50327a17611015d088a7fe1b4b4ade08a04ee1ddc84d072fda9f715c564736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106102555760003560e01c80637767b16211610139578063a8b08982116100b6578063cba0e9961161007a578063cba0e99614610844578063d356a0b414610877578063dc1d39c61461088c578063dd62ed3e146108bf578063f09a4016146108fa578063f2fde38b146109355761025c565b8063a8b0898214610773578063a9059cbb14610788578063ab8a128b146107c1578063abfd5e99146107f4578063beb09140146108095761025c565b80638ebd2c06116100fd5780638ebd2c06146106b95780639358928b146106ce57806395d89b41146106e3578063a2e00d63146106f8578063a457c2d71461073a5761025c565b80637767b1621461063457806378353d9a1461064957806385a0ff531461067a578063863843bc1461068f5780638da5cb5b146106a45761025c565b8063313ce567116101d2578063505cee4911610196578063505cee491461052a57806354277de714610554578063635259e01461057e57806370a08231146105b1578063715018a6146105e457806372b2097f146105f95761025c565b8063313ce56714610461578063319d42a41461048c57806339509351146104a157806342701a8e146104da578063459e06f5146105155761025c565b806313114a9d1161021957806313114a9d146103b5578063156ff796146103ca57806318160ddd146103df57806323b872dd146103f45780632d838119146104375761025c565b806303d41eb614610261578063053ab1821461028857806306fdde03146102b4578063092bf7921461033e578063095ea7b3146103685761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b50610276610968565b60408051918252519081900360200190f35b34801561029457600080fd5b506102b2600480360360208110156102ab57600080fd5b503561096e565b005b3480156102c057600080fd5b506102c9610a6c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103035781810151838201526020016102eb565b50505050905090810190601f1680156103305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034a57600080fd5b506102b26004803603602081101561036157600080fd5b5035610b02565b34801561037457600080fd5b506103a16004803603604081101561038b57600080fd5b506001600160a01b038135169060200135610b5f565b604080519115158252519081900360200190f35b3480156103c157600080fd5b50610276610b7d565b3480156103d657600080fd5b50610276610b83565b3480156103eb57600080fd5b50610276610b89565b34801561040057600080fd5b506103a16004803603606081101561041757600080fd5b506001600160a01b03813581169160208101359091169060400135610b98565b34801561044357600080fd5b506102766004803603602081101561045a57600080fd5b5035610c20565b34801561046d57600080fd5b50610476610c82565b6040805160ff9092168252519081900360200190f35b34801561049857600080fd5b50610276610c8b565b3480156104ad57600080fd5b506103a1600480360360408110156104c457600080fd5b506001600160a01b038135169060200135610c91565b3480156104e657600080fd5b506102b2600480360360408110156104fd57600080fd5b506001600160a01b0381351690602001351515610cdf565b34801561052157600080fd5b50610276610d62565b34801561053657600080fd5b506102b26004803603602081101561054d57600080fd5b5035610d68565b34801561056057600080fd5b506102b26004803603602081101561057757600080fd5b5035610dc8565b34801561058a57600080fd5b506102b2600480360360208110156105a157600080fd5b50356001600160a01b0316610e45565b3480156105bd57600080fd5b50610276600480360360208110156105d457600080fd5b50356001600160a01b0316610ff9565b3480156105f057600080fd5b506102b261105b565b34801561060557600080fd5b506102b26004803603604081101561061c57600080fd5b506001600160a01b03813516906020013515156110fd565b34801561064057600080fd5b50610276611180565b34801561065557600080fd5b5061065e611186565b604080516001600160a01b039092168252519081900360200190f35b34801561068657600080fd5b50610276611195565b34801561069b57600080fd5b5061027661119b565b3480156106b057600080fd5b5061065e6111a1565b3480156106c557600080fd5b506102766111b0565b3480156106da57600080fd5b50610276611238565b3480156106ef57600080fd5b506102c961127d565b34801561070457600080fd5b506102b2600480360360a081101561071b57600080fd5b50803590602081013590604081013590606081013590608001356112de565b34801561074657600080fd5b506103a16004803603604081101561075d57600080fd5b506001600160a01b038135169060200135611350565b34801561077f57600080fd5b5061065e6113b8565b34801561079457600080fd5b506103a1600480360360408110156107ab57600080fd5b506001600160a01b0381351690602001356113c7565b3480156107cd57600080fd5b506102b2600480360360208110156107e457600080fd5b50356001600160a01b03166113db565b34801561080057600080fd5b50610276611508565b34801561081557600080fd5b506102766004803603606081101561082c57600080fd5b5080359060208101351515906040013560ff1661150e565b34801561085057600080fd5b506103a16004803603602081101561086757600080fd5b50356001600160a01b03166115b6565b34801561088357600080fd5b506102766115d4565b34801561089857600080fd5b506102b2600480360360208110156108af57600080fd5b50356001600160a01b03166115da565b3480156108cb57600080fd5b50610276600480360360408110156108e257600080fd5b506001600160a01b0381358116916020013516611753565b34801561090657600080fd5b506102b26004803603604081101561091d57600080fd5b506001600160a01b038135811691602001351661177e565b34801561094157600080fd5b506102b26004803603602081101561095857600080fd5b50356001600160a01b0316611889565b600b5481565b6000610978611981565b6001600160a01b03811660009081526004602052604090205490915060ff16156109d35760405162461bcd60e51b815260040180806020018281038252602c8152602001806128d8602c913960400191505060405180910390fd5b6109db61275a565b6001600160a01b038216600090815260066020526040812054610a0491859160ff161590611985565b5080516001600160a01b038416600090815260016020526040902054919250610a2d91906119bd565b6001600160a01b0383166000908152600160205260409020558051600854610a54916119bd565b600855600954610a6490846119ff565b600955505050565b60158054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b610b0a611981565b6000546001600160a01b03908116911614610b5a576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b601255565b6000610b73610b6c611981565b8484611a59565b5060015b92915050565b60095490565b60115481565b6a084595161401484a00000090565b6000610ba5848484611b45565b610c1584610bb1611981565b610c1085604051806060016040528060288152602001612847602891396001600160a01b038a16600090815260036020526040812090610bef611981565b6001600160a01b031681526020810191909152604001600020549190611e81565b611a59565b5060015b9392505050565b6000600854821115610c635760405162461bcd60e51b815260040180806020018281038252602a8152602001806127b4602a913960400191505060405180910390fd5b6000610c6d611f18565b9050610c798382611f3b565b9150505b919050565b60175460ff1690565b600d5481565b6000610b73610c9e611981565b84610c108560036000610caf611981565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119ff565b610ce7611981565b6000546001600160a01b03908116911614610d37576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600a5481565b6013546001600160a01b0316610d7c611981565b6001600160a01b031614610dc3576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600b55565b6013546001600160a01b0316610ddc611981565b6001600160a01b031614610e23576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600a819055601354610e42906001600160a01b03163083600080611f7d565b50565b610e4d611981565b6000546001600160a01b03908116911614610e9d576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610efd576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481a5b98db1d59195960821b604482015290519081900360640190fd5b60005b600554811015610ff557816001600160a01b031660058281548110610f2157fe5b6000918252602090912001546001600160a01b03161415610fed57600580546000198101908110610f4e57fe5b600091825260209091200154600580546001600160a01b039092169183908110610f7457fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610fc657fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ff5565b600101610f00565b5050565b6001600160a01b03811660009081526004602052604081205460ff161561103957506001600160a01b038116600090815260026020526040902054610c7d565b6001600160a01b038216600090815260016020526040902054610b7790610c20565b611063611981565b6000546001600160a01b039081169116146110b3576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b611105611981565b6000546001600160a01b03908116911614611155576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60125481565b6013546001600160a01b031681565b600f5481565b600c5481565b6000546001600160a01b031690565b6013546000906001600160a01b03166111c7611981565b6001600160a01b03161461120e576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b6013546112319030906001600160a01b031661122982610ff9565b6000806121be565b50600a5490565b60135460009061127890611254906001600160a01b0316610ff9565b61127261126030610ff9565b6a084595161401484a000000906119bd565b906119bd565b905090565b60168054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610af85780601f10610acd57610100808354040283529160200191610af8565b6013546001600160a01b03166112f2611981565b6001600160a01b031614611339576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600d94909455600e92909255600f55601055601155565b6000610b7361135d611981565b84610c10856040518060600160405280602581526020016129046025913960036000611387611981565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e81565b6014546001600160a01b031681565b6000610b736113d4611981565b8484611b45565b6013546001600160a01b03166113ef611981565b6001600160a01b031614611436576040805162461bcd60e51b81526020600482015260096024820152684c6f7264206f6e6c7960b81b604482015290519081900360640190fd5b600061144130610ff9565b90508015610ff5576000611460600a54836119bd90919063ffffffff16565b90506001600160a01b038316156114d75761147f3084836000806121be565b826001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156114ba57600080fd5b505af11580156114ce573d6000803e3d6000fd5b50505050611503565b6013546114f29030906001600160a01b0316836000806121be565b600b546114ff90826119ff565b600b555b505050565b600e5481565b60006a084595161401484a000000841115611570576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b826115945761157d61275a565b61158985600185611985565b50519150610c199050565b61159c61275a565b6115a885600185611985565b50602001519150610c199050565b6001600160a01b031660009081526004602052604090205460ff1690565b60105481565b6115e2611981565b6000546001600160a01b03908116911614611632576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615611693576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b604482015290519081900360640190fd5b6001600160a01b038116600090815260016020526040902054156116ed576001600160a01b0381166000908152600160205260409020546116d390610c20565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b611786611981565b6000546001600160a01b039081169116146117d6576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6013546001600160a01b0316610ff557601380546001600160a01b038085166001600160a01b03199283161780845560148054868416941693909317909255600854918116600090815260016020819052604090912092909255915461183d921690610cdf565b601354611852906001600160a01b03166115da565b601454611867906001600160a01b03166115da565b60145461187e906001600160a01b031660016110fd565b610ff5306001610cdf565b611891611981565b6000546001600160a01b039081169116146118e1576040805162461bcd60e51b8152602060048201819052602482015260008051602061286f833981519152604482015290519081900360640190fd5b6001600160a01b0381166119265760405162461bcd60e51b81526004018080602001828103825260268152602001806127de6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b61198d61275a565b61199561275a565b6119a085858561228f565b90506119b3816119ae611f18565b6123a1565b9150935093915050565b6000610c1983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e81565b600082820183811015610c19576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611a9e5760405162461bcd60e51b81526004018080602001828103825260248152602001806128b46024913960400191505060405180910390fd5b6001600160a01b038216611ae35760405162461bcd60e51b81526004018080602001828103825260228152602001806128046022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611b8a5760405162461bcd60e51b815260040180806020018281038252602581526020018061288f6025913960400191505060405180910390fd5b6001600160a01b038216611bcf5760405162461bcd60e51b81526004018080602001828103825260238152602001806127916023913960400191505060405180910390fd5b60008111611c15576040805162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015290519081900360640190fd5b6001600160a01b03831660009081526006602052604081205460ff16158015611c5757506001600160a01b03831660009081526006602052604090205460ff16155b6001600160a01b0385166000908152600760205260408120549192509060ff1615611c8457506001611ca9565b6001600160a01b03841660009081526007602052604090205460ff1615611ca9575060025b6000601254118015611cc657506001816002811115611cc457fe5b145b8015611ccf5750815b15611d1c57601254831115611d1c576040805162461bcd60e51b815260206004820152600e60248201526d109d5e481c995cdd1c9a58dd195960921b604482015290519081900360640190fd5b6001600160a01b03851660009081526004602052604090205460ff168015611d5d57506001600160a01b03841660009081526004602052604090205460ff16155b15611d7457611d6f8585858585611f7d565b611e7a565b6001600160a01b03851660009081526004602052604090205460ff16158015611db557506001600160a01b03841660009081526004602052604090205460ff165b15611dc757611d6f85858585856121be565b6001600160a01b03851660009081526004602052604090205460ff16158015611e0957506001600160a01b03841660009081526004602052604090205460ff16155b15611e1b57611d6f8585858585612432565b6001600160a01b03851660009081526004602052604090205460ff168015611e5b57506001600160a01b03841660009081526004602052604090205460ff165b15611e6d57611d6f8585858585612478565b611e7a8585858585612432565b5050505050565b60008184841115611f105760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ed5578181015183820152602001611ebd565b50505050905090810190601f168015611f025780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611f256124f1565b9092509050611f348282611f3b565b9250505090565b6000610c1983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612678565b611f8561275a565b611f8d61275a565b611f98858585611985565b80516001600160a01b038a16600090815260026020526040902054929450909250611fc391906119bd565b6001600160a01b0388166000908152600260209081526040808320939093558451600190915291902054611ff6916119bd565b6001600160a01b03881660009081526001602090815260409091209190915560a08301519083015161204b9161202c91906119ff565b6001600160a01b038816600090815260016020526040902054906119ff565b6001600160a01b03871660009081526001602052604090205560a0810151608082015160608301516120a6929161127291612085916119ff565b6013546001600160a01b0316600090815260026020526040902054906119ff565b6013546001600160a01b031660009081526002602052604090205560a0820151608083015160608401516121039291611272916120e2916119ff565b6013546001600160a01b0316600090815260016020526040902054906119ff565b6013546001600160a01b03166000908152600160205260409020556060810151600b5461212f916119ff565b600b5560a08101516080820151600c5461214e929161127291906119ff565b600c81905550612166826040015182604001516126dd565b856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83602001516040518082815260200191505060405180910390a350505050505050565b6121c661275a565b6121ce61275a565b6121d9858585611985565b81516001600160a01b038a1660009081526001602052604090205492945090925061220491906119bd565b6001600160a01b03881660009081526001602090815260409091209190915560a0820151908201516122599161223a91906119ff565b6001600160a01b038816600090815260026020526040902054906119ff565b6001600160a01b03871660009081526002602090815260409091209190915560a08301519083015161204b9161202c91906119ff565b61229761275a565b838152821561236e57600d546122ae908590611f3b565b604082015260018260028111156122c157fe5b146122d957600f546122d4908590611f3b565b6122e7565b600e546122e7908590611f3b565b606082015260028260028111156122fa57fe5b14612306576000612314565b601154612314908590611f3b565b6080820152600182600281111561232757fe5b14612333576000612341565b601054612341908590611f3b565b60a082018190521561236e578060a00151600c541161236257600c54612368565b8060a001515b60a08201525b612395816080015161127283606001516112728560400151896119bd90919063ffffffff16565b60208201529392505050565b6123a961275a565b82516123b59083612701565b815260408301516123c69083612701565b604082015260608301516123da9083612701565b606082015260808301516123ee9083612701565b60808201819052606082015160408301518351612413939261127292909183916119bd565b602082015260a08301516124279083612701565b60a082015292915050565b61243a61275a565b61244261275a565b61244d858585611985565b81516001600160a01b038a16600090815260016020526040902054929450909250611ff691906119bd565b61248061275a565b61248861275a565b612493858585611985565b80516001600160a01b038a166000908152600260205260409020549294509092506124be91906119bd565b6001600160a01b0388166000908152600260209081526040808320939093558451600190915291902054612204916119bd565b60085460009081906a084595161401484a000000825b6005548110156126345782600160006005848154811061252357fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612588575081600260006005848154811061256157fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156125a8576008546a084595161401484a00000094509450505050612674565b6125e860016000600584815481106125bc57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906119bd565b925061262a60026000600584815481106125fe57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906119bd565b9150600101612507565b5060085461264d906a084595161401484a000000611f3b565b82101561266e576008546a084595161401484a000000935093505050612674565b90925090505b9091565b600081836126c75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ed5578181015183820152602001611ebd565b5060008385816126d357fe5b0495945050505050565b6008546126ea90836119bd565b6008556009546126fa90826119ff565b6009555050565b60008261271057506000610b77565b8282028284828161271d57fe5b0414610c195760405162461bcd60e51b81526004018080602001828103825260218152602001806128266021913960400191505060405180910390fd5b6040518060c00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122026b859c50327a17611015d088a7fe1b4b4ade08a04ee1ddc84d072fda9f715c564736f6c634300060c0033
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.