Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Staking
Overview
Max Total Supply
100,000,000 WORLD
Holders
3,553 (0.00%)
Market
Price
$0.00 @ 0.000001 ETH
Onchain Market Cap
$211,226.72
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.026344190764016533 WORLDValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WorldToken
Compiler Version
v0.7.4+commit.3f05b770
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ░░░░░░░░░░ ░░░░░░████░░░░░░░░░░░░ ░░░░░░░░██████░░░░░░░░░░░░░░░░ ████░░░░░░░░████░░░░░░░░░░░░░░░░██ ████████░░░░██░░██░░░░░░░░░░░░░░██████ ██████████░░░░░░░░░░░░░░░░░░██████████ ████████████████████░░░░░░░░██████████████ ████████████░░██████░░░░░░░░██████████████ ██████████░░████████░░░░░░██████████░░░░██ ████████████████████░░░░░░░░████████░░░░░░░░██ ████████████████████░░░░░░░░░░████░░░░████████ ██████████████████░░░░░░░░░░░░░░░░████████████ ██████████████████░░░░░░░░░░░░░░██████████████ ░░░░░░░░░░██████░░░░░░░░░░░░░░░░██████████████ ░░░░░░░░░░░░██░░░░░░░░░░░░░░██████████████ ░░░░░░██░░░░██░░░░░░░░░░░░░░██████████████ ░░░░██░░░░░░░░░░░░░░░░░░░░░░██████████████ ░░░░░░░░░░░░░░░░░░░░░░░░░░████████████ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████ ░░░░██░░░░░░░░░░░░░░░░░░░░████████ ████░░░░░░░░░░░░░░░░░░░░██████ ░░████░░░░░░░░░░░░░░░░ ░░░░░░░░░░ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗ ████████╗ ██████╗ ██╗ ██╗███████╗███╗ ██╗ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔══██╗ ╚══██╔══╝██╔═══██╗██║ ██╔╝██╔════╝████╗ ██║ ██║ █╗ ██║██║ ██║██████╔╝██║ ██║ ██║ ██║ ██║ ██║█████╔╝ █████╗ ██╔██╗ ██║ ██║███╗██║██║ ██║██╔══██╗██║ ██║ ██║ ██║ ██║ ██║██╔═██╗ ██╔══╝ ██║╚██╗██║ ╚███╔███╔╝╚██████╔╝██║ ██║███████╗██████╔╝ ██║ ╚██████╔╝██║ ██╗███████╗██║ ╚████║ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ */ // SPDX-License-Identifier: MIT pragma solidity 0.7.4; 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"; contract WorldToken is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; string private constant NAME = "World Token"; string private constant SYMBOL = "WORLD"; uint8 private constant DECIMALS = 18; mapping(address => uint256) private rewards; mapping(address => uint256) private actual; mapping(address => mapping(address => uint256)) private allowances; mapping(address => bool) private excludedFromFees; mapping(address => bool) private excludedFromRewards; address[] private rewardExcluded; uint256 private constant MAX = ~uint256(0); uint256 private constant ACTUAL_TOTAL = 100_000_000 * 1e18; uint256 private rewardsTotal = (MAX - (MAX % ACTUAL_TOTAL)); uint256 private holderFeeTotal; uint256 private marketingFeeTotal; uint256 private lpFeeTotal; uint256 private merchantFeeTotal; uint256 public taxPercentage = 3; uint256 public holderTaxAlloc = 10; uint256 public marketingTaxAlloc = 10; uint256 public lpTaxAlloc = 10; uint256 public merchantTaxAlloc; uint256 public totalTaxAlloc = marketingTaxAlloc.add(holderTaxAlloc).add(lpTaxAlloc).add(merchantTaxAlloc); address public marketingAddress; address public lpStakingAddress; address public merchantStakingAddress; constructor(address _marketingAddress) { rewards[_marketingAddress] = rewardsTotal; emit Transfer(address(0), _marketingAddress, ACTUAL_TOTAL); marketingAddress = _marketingAddress; excludeFromRewards(_msgSender()); excludeFromFees(_marketingAddress); if (_marketingAddress != _msgSender()) { excludeFromRewards(_marketingAddress); excludeFromFees(_msgSender()); } excludeFromFees(address(0x000000000000000000000000000000000000dEaD)); } function name() external pure returns (string memory) { return NAME; } function symbol() external pure returns (string memory) { return SYMBOL; } function decimals() external pure returns (uint8) { return DECIMALS; } function totalSupply() external pure override returns (uint256) { return ACTUAL_TOTAL; } function balanceOf(address _account) public view override returns (uint256) { if (excludedFromRewards[_account]) { return actual[_account]; } return tokenWithRewards(rewards[_account]); } 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 isExcludedFromRewards(address _account) external view returns (bool) { return excludedFromRewards[_account]; } function isExcludedFromFees(address _account) external view returns (bool) { return excludedFromFees[_account]; } function totalFees() external view returns (uint256) { return holderFeeTotal.add(marketingFeeTotal).add(lpFeeTotal).add(merchantFeeTotal); } function totalHolderFees() external view returns (uint256) { return holderFeeTotal; } function totalMarketingFees() external view returns (uint256) { return marketingFeeTotal; } function totalLpFees() external view returns (uint256) { return lpFeeTotal; } function totalMerchantFees() external view returns (uint256) { return merchantFeeTotal; } function distribute(uint256 _actualAmount) public { address sender = _msgSender(); require(!excludedFromRewards[sender], "Excluded addresses cannot call this function"); (uint256 rewardAmount, , , , ) = _getValues(_actualAmount); rewards[sender] = rewards[sender].sub(rewardAmount); rewardsTotal = rewardsTotal.sub(rewardAmount); holderFeeTotal = holderFeeTotal.add(_actualAmount); } function excludeFromFees(address _account) public onlyOwner() { require(!excludedFromFees[_account], "Account is already excluded from fee"); excludedFromFees[_account] = true; } function includeInFees(address _account) public onlyOwner() { require(excludedFromFees[_account], "Account is already included in fee"); excludedFromFees[_account] = false; } function excludeFromRewards(address _account) public onlyOwner() { require(!excludedFromRewards[_account], "Account is already excluded from reward"); if (rewards[_account] > 0) { actual[_account] = tokenWithRewards(rewards[_account]); } excludedFromRewards[_account] = true; rewardExcluded.push(_account); } function includeInRewards(address _account) public onlyOwner() { require(excludedFromRewards[_account], "Account is already included in rewards"); for (uint256 i = 0; i < rewardExcluded.length; i++) { if (rewardExcluded[i] == _account) { rewardExcluded[i] = rewardExcluded[rewardExcluded.length - 1]; actual[_account] = 0; excludedFromRewards[_account] = false; rewardExcluded.pop(); break; } } } 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, "Transfer amount must be greater than zero"); uint256 currentTaxPercentage = taxPercentage; if (excludedFromFees[_sender] || excludedFromFees[_recipient]) { taxPercentage = 0; } else { uint256 fee = _getFee(_amount); uint256 marketingFee = _getMarketingFee(fee); uint256 lpFee = _getLpFee(fee); uint256 merchantFee = _getMerchantFee(fee); _updateMarketingFee(marketingFee); _updateLpFee(lpFee); _updateMerchantFee(merchantFee); } if (excludedFromRewards[_sender] && !excludedFromRewards[_recipient]) { _transferWithoutSenderRewards(_sender, _recipient, _amount); } else if (!excludedFromRewards[_sender] && excludedFromRewards[_recipient]) { _transferWithRecipientRewards(_sender, _recipient, _amount); } else if (!excludedFromRewards[_sender] && !excludedFromRewards[_recipient]) { _transferWithRewards(_sender, _recipient, _amount); } else if (excludedFromRewards[_sender] && excludedFromRewards[_recipient]) { _transferWithoutRewards(_sender, _recipient, _amount); } else { _transferWithRewards(_sender, _recipient, _amount); } if (currentTaxPercentage != taxPercentage) { taxPercentage = currentTaxPercentage; } } function _transferWithRewards( address _sender, address _recipient, uint256 _actualAmount ) private { ( uint256 rewardAmount, uint256 rewardTransferAmount, uint256 rewardFee, uint256 actualTransferAmount, uint256 actualFee ) = _getValues(_actualAmount); rewards[_sender] = rewards[_sender].sub(rewardAmount); rewards[_recipient] = rewards[_recipient].add(rewardTransferAmount); _updateHolderFee(rewardFee, actualFee); emit Transfer(_sender, _recipient, actualTransferAmount); } function _transferWithRecipientRewards( address _sender, address _recipient, uint256 _actualAmount ) private { ( uint256 rewardAmount, uint256 rewardTransferAmount, uint256 rewardFee, uint256 actualTransferAmount, uint256 actualFee ) = _getValues(_actualAmount); rewards[_sender] = rewards[_sender].sub(rewardAmount); actual[_recipient] = actual[_recipient].add(actualTransferAmount); rewards[_recipient] = rewards[_recipient].add(rewardTransferAmount); _updateHolderFee(rewardFee, actualFee); emit Transfer(_sender, _recipient, actualTransferAmount); } function _transferWithoutSenderRewards( address _sender, address _recipient, uint256 _actualAmount ) private { ( uint256 rewardAmount, uint256 rewardTransferAmount, uint256 rewardFee, uint256 actualTransferAmount, uint256 actualFee ) = _getValues(_actualAmount); actual[_sender] = actual[_sender].sub(_actualAmount); rewards[_sender] = rewards[_sender].sub(rewardAmount); rewards[_recipient] = rewards[_recipient].add(rewardTransferAmount); _updateHolderFee(rewardFee, actualFee); emit Transfer(_sender, _recipient, actualTransferAmount); } function _transferWithoutRewards( address _sender, address _recipient, uint256 _actualAmount ) private { ( uint256 rewardAmount, uint256 rewardTransferAmount, uint256 rewardFee, uint256 actualTransferAmount, uint256 actualFee ) = _getValues(_actualAmount); actual[_sender] = actual[_sender].sub(_actualAmount); rewards[_sender] = rewards[_sender].sub(rewardAmount); actual[_recipient] = actual[_recipient].add(actualTransferAmount); rewards[_recipient] = rewards[_recipient].add(rewardTransferAmount); _updateHolderFee(rewardFee, actualFee); emit Transfer(_sender, _recipient, actualTransferAmount); } function _updateHolderFee(uint256 _rewardFee, uint256 _actualFee) private { rewardsTotal = rewardsTotal.sub(_rewardFee); holderFeeTotal = holderFeeTotal.add(_actualFee); } function _updateMarketingFee(uint256 _marketingFee) private { if (marketingAddress == address(0)) { return; } uint256 rewardsRate = _getRewardsRate(); uint256 rewardMarketingFee = _marketingFee.mul(rewardsRate); marketingFeeTotal = marketingFeeTotal.add(_marketingFee); rewards[marketingAddress] = rewards[marketingAddress].add(rewardMarketingFee); if (excludedFromRewards[marketingAddress]) { actual[marketingAddress] = actual[marketingAddress].add(_marketingFee); } } function _updateLpFee(uint256 _lpFee) private { if (lpStakingAddress == address(0)) { return; } uint256 rewardsRate = _getRewardsRate(); uint256 rewardLpFee = _lpFee.mul(rewardsRate); lpFeeTotal = lpFeeTotal.add(_lpFee); rewards[lpStakingAddress] = rewards[lpStakingAddress].add(rewardLpFee); if (excludedFromRewards[lpStakingAddress]) { actual[lpStakingAddress] = actual[lpStakingAddress].add(_lpFee); } } function _updateMerchantFee(uint256 _merchantFee) private { if (merchantStakingAddress == address(0)) { return; } uint256 rewardsRate = _getRewardsRate(); uint256 rewardMerchantFee = _merchantFee.mul(rewardsRate); merchantFeeTotal = merchantFeeTotal.add(_merchantFee); rewards[merchantStakingAddress] = rewards[merchantStakingAddress].add(rewardMerchantFee); if (excludedFromRewards[merchantStakingAddress]) { actual[merchantStakingAddress] = actual[merchantStakingAddress].add(_merchantFee); } } function rewardsFromToken(uint256 _actualAmount, bool _deductTransferFee) public view returns (uint256) { require(_actualAmount <= ACTUAL_TOTAL, "Amount must be less than supply"); if (!_deductTransferFee) { (uint256 rewardAmount, , , , ) = _getValues(_actualAmount); return rewardAmount; } else { (, uint256 rewardTransferAmount, , , ) = _getValues(_actualAmount); return rewardTransferAmount; } } function tokenWithRewards(uint256 _rewardAmount) public view returns (uint256) { require(_rewardAmount <= rewardsTotal, "Amount must be less than total rewards"); uint256 rewardsRate = _getRewardsRate(); return _rewardAmount.div(rewardsRate); } function _getValues(uint256 _actualAmount) private view returns ( uint256, uint256, uint256, uint256, uint256 ) { (uint256 actualTransferAmount, uint256 actualFee) = _getActualValues(_actualAmount); uint256 rewardsRate = _getRewardsRate(); ( uint256 rewardAmount, uint256 rewardTransferAmount, uint256 rewardFee ) = _getRewardValues(_actualAmount, actualFee, rewardsRate); return (rewardAmount, rewardTransferAmount, rewardFee, actualTransferAmount, actualFee); } function _getActualValues(uint256 _actualAmount) private view returns (uint256, uint256) { uint256 actualFee = _getFee(_actualAmount); uint256 actualHolderFee = _getHolderFee(actualFee); uint256 actualTransferAmount = _actualAmount.sub(actualFee); return (actualTransferAmount, actualHolderFee); } function _getRewardValues( uint256 _actualAmount, uint256 _actualHolderFee, uint256 _rewardsRate ) private view returns ( uint256, uint256, uint256 ) { uint256 actualFee = _getFee(_actualAmount).mul(_rewardsRate); uint256 rewardAmount = _actualAmount.mul(_rewardsRate); uint256 rewardTransferAmount = rewardAmount.sub(actualFee); uint256 rewardFee = _actualHolderFee.mul(_rewardsRate); return (rewardAmount, rewardTransferAmount, rewardFee); } function _getRewardsRate() private view returns (uint256) { (uint256 rewardsSupply, uint256 actualSupply) = _getCurrentSupply(); return rewardsSupply.div(actualSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rewardsSupply = rewardsTotal; uint256 actualSupply = ACTUAL_TOTAL; for (uint256 i = 0; i < rewardExcluded.length; i++) { if (rewards[rewardExcluded[i]] > rewardsSupply || actual[rewardExcluded[i]] > actualSupply) { return (rewardsTotal, ACTUAL_TOTAL); } rewardsSupply = rewardsSupply.sub(rewards[rewardExcluded[i]]); actualSupply = actualSupply.sub(actual[rewardExcluded[i]]); } if (rewardsSupply < rewardsTotal.div(ACTUAL_TOTAL)) { return (rewardsTotal, ACTUAL_TOTAL); } return (rewardsSupply, actualSupply); } function _getFee(uint256 _amount) private view returns (uint256) { return _amount.mul(taxPercentage).div(100); } function _getHolderFee(uint256 _tax) private view returns (uint256) { return _tax.mul(holderTaxAlloc).div(totalTaxAlloc); } function _getMarketingFee(uint256 _tax) private view returns (uint256) { return _tax.mul(marketingTaxAlloc).div(totalTaxAlloc); } function _getLpFee(uint256 _tax) private view returns (uint256) { return _tax.mul(lpTaxAlloc).div(totalTaxAlloc); } function _getMerchantFee(uint256 _tax) private view returns (uint256) { return _tax.mul(merchantTaxAlloc).div(totalTaxAlloc); } function setTaxPercentage(uint256 _taxPercentage) external onlyOwner { require(_taxPercentage >= 1 && _taxPercentage <= 10, "Value is outside of range 1-10"); taxPercentage = _taxPercentage; } function setTaxAllocations( uint256 _holderTaxAlloc, uint256 _marketingTaxAlloc, uint256 _lpTaxAlloc, uint256 _merchantTaxAlloc ) external onlyOwner { totalTaxAlloc = _holderTaxAlloc.add(_marketingTaxAlloc).add(_lpTaxAlloc).add(_merchantTaxAlloc); require(_holderTaxAlloc >= 5 && _holderTaxAlloc <= 10, "_holderTaxAlloc is outside of range 5-10"); require(_lpTaxAlloc >= 5 && _lpTaxAlloc <= 10, "_lpTaxAlloc is outside of range 5-10"); require(_marketingTaxAlloc <= 10, "_marketingTaxAlloc is greater than 10"); require(_merchantTaxAlloc <= 10, "_merchantTaxAlloc is greater than 10"); holderTaxAlloc = _holderTaxAlloc; marketingTaxAlloc = _marketingTaxAlloc; lpTaxAlloc = _lpTaxAlloc; merchantTaxAlloc = _merchantTaxAlloc; } function setMarketingAddress(address _marketingAddress) external onlyOwner { marketingAddress = _marketingAddress; } function setLpStakingAddress(address _lpStakingAddress) external onlyOwner { lpStakingAddress = _lpStakingAddress; } function setMerchantStakingAddress(address _merchantStakingAddress) external onlyOwner { merchantStakingAddress = _merchantStakingAddress; } }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"_actualAmount","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"excludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"holderTaxAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"includeInFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"includeInRewards","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"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpStakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpTaxAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingTaxAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merchantStakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merchantTaxAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_actualAmount","type":"uint256"},{"internalType":"bool","name":"_deductTransferFee","type":"bool"}],"name":"rewardsFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_lpStakingAddress","type":"address"}],"name":"setLpStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_merchantStakingAddress","type":"address"}],"name":"setMerchantStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_holderTaxAlloc","type":"uint256"},{"internalType":"uint256","name":"_marketingTaxAlloc","type":"uint256"},{"internalType":"uint256","name":"_lpTaxAlloc","type":"uint256"},{"internalType":"uint256","name":"_merchantTaxAlloc","type":"uint256"}],"name":"setTaxAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxPercentage","type":"uint256"}],"name":"setTaxPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"taxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardAmount","type":"uint256"}],"name":"tokenWithRewards","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":"totalHolderFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLpFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMarketingFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMerchantFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalTaxAlloc","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"}]
Contract Creation Code
60806040526a34f8e1f3adab5d4bffffff196007556003600c55600a600d819055600e819055600f81905560105462000060916200004c90818180620001e0602090811b6200165f17901c565b620001e060201b6200165f1790919060201c565b6011553480156200007057600080fd5b50604051620030f8380380620030f8833981810160405260208110156200009657600080fd5b50516000620000a462000242565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506007546001600160a01b03821660008181526001602090815260408083209490945583516a52b7d2dcc80cd2e400000081529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3601280546001600160a01b0319166001600160a01b0383161790556200017f6200017962000242565b62000246565b6200018a81620003bf565b6200019462000242565b6001600160a01b0316816001600160a01b031614620001cc57620001b88162000246565b620001cc620001c662000242565b620003bf565b620001d961dead620003bf565b506200088e565b6000828201838110156200023b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6200025062000242565b6000546001600160a01b03908116911614620002a2576040805162461bcd60e51b815260206004820181905260248201526000805160206200308e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205460ff1615620002fc5760405162461bcd60e51b8152600401808060200182810382526027815260200180620030676027913960400191505060405180910390fd5b6001600160a01b0381166000908152600160205260409020541562000359576001600160a01b0381166000908152600160205260409020546200033f9062000499565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b620003c962000242565b6000546001600160a01b039081169116146200041b576040805162461bcd60e51b815260206004820181905260248201526000805160206200308e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615620004755760405162461bcd60e51b8152600401808060200182810382526024815260200180620030d46024913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754821115620004de5760405162461bcd60e51b8152600401808060200182810382526026815260200180620030ae6026913960400191505060405180910390fd5b6000620004ea62000506565b90506200023b81846200053960201b620016b91790919060201c565b600080806200051462000583565b915091506200053281836200053960201b620016b91790919060201c565b9250505090565b60006200023b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200074060201b60201c565b60075460009081906a52b7d2dcc80cd2e4000000825b600654811015620006eb57826001600060068481548110620005b757fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806200061e5750816002600060068481548110620005f757fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1562000640576007546a52b7d2dcc80cd2e4000000945094505050506200073c565b6200068f60016000600684815481106200065657fe5b60009182526020808320909101546001600160a01b031683528281019390935260409091019020548591620016fb620007e7821b17901c565b9250620006e06002600060068481548110620006a757fe5b60009182526020808320909101546001600160a01b031683528281019390935260409091019020548491620016fb620007e7821b17901c565b915060010162000599565b50620007136a52b7d2dcc80cd2e40000006007546200053960201b620016b91790919060201c565b82101562000736576007546a52b7d2dcc80cd2e40000009350935050506200073c565b90925090505b9091565b60008183620007d05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620007945781810151838201526020016200077a565b50505050905090810190601f168015620007c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620007dd57fe5b0495945050505050565b60006200023b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200083160201b60201c565b60008184841115620008865760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315620007945781810151838201526020016200077a565b505050900390565b6127c9806200089e6000396000f3fe608060405234801561001057600080fd5b506004361061025d5760003560e01c8063715018a611610146578063a457c2d7116100c3578063ca24295c11610087578063ca24295c14610679578063d71eb4b514610681578063d84bf7a8146106b0578063dd62ed3e146106b8578063e57f14e1146106e6578063f2fde38b1461070c5761025d565b8063a457c2d7146105eb578063a5ece94114610617578063a9059cbb1461061f578063ae7b6d161461064b578063b609995e146106535761025d565b80638da05f8f1161010a5780638da05f8f146105725780638da5cb5b14610598578063906e9dd0146105a057806391c05b0b146105c657806395d89b41146105e35761025d565b8063715018a61461053557806374e47a1e1461053d57806375edd5f2146105455780637c31efb11461054d5780638baa3fd4146105555761025d565b806323b872dd116101df5780634fbee193116101a35780634fbee193146104b457806350920759146104da578063595f052e146104e25780636740b9c6146104ea578063699abb3c146104f257806370a082311461050f5761025d565b806323b872dd14610407578063313ce5671461043d5780633557ee771461045b578063395093511461048057806340e7bdf4146104ac5761025d565b8063111e037611610226578063111e03761461038357806313114a9d146103ab578063143d4acf146103b357806316a2f82a146103d957806318160ddd146103ff5761025d565b8062897ad31461026257806306fdde0314610286578063077faa2114610303578063095ea7b31461031d5780630e8322731461035d575b600080fd5b61026a610732565b604080516001600160a01b039092168252519081900360200190f35b61028e610741565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c85781810151838201526020016102b0565b50505050905090810190601f1680156102f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030b610766565b60408051918252519081900360200190f35b6103496004803603604081101561033357600080fd5b506001600160a01b03813516906020013561076c565b604080519115158252519081900360200190f35b6103496004803603602081101561037357600080fd5b50356001600160a01b031661078a565b6103a96004803603602081101561039957600080fd5b50356001600160a01b03166107ac565b005b61030b61091c565b6103a9600480360360208110156103c957600080fd5b50356001600160a01b031661094c565b6103a9600480360360208110156103ef57600080fd5b50356001600160a01b03166109c6565b61030b610a96565b6103496004803603606081101561041d57600080fd5b506001600160a01b03813581169160208101359091169060400135610aa5565b610445610b2c565b6040805160ff9092168252519081900360200190f35b61030b6004803603604081101561047157600080fd5b50803590602001351515610b31565b6103496004803603604081101561049657600080fd5b506001600160a01b038135169060200135610bca565b61030b610c18565b610349600480360360208110156104ca57600080fd5b50356001600160a01b0316610c1e565b61030b610c3c565b61030b610c42565b61030b610c48565b6103a96004803603602081101561050857600080fd5b5035610c4e565b61030b6004803603602081101561052557600080fd5b50356001600160a01b0316610d0e565b6103a9610d70565b61030b610e12565b61030b610e18565b61030b610e1e565b61030b6004803603602081101561056b57600080fd5b5035610e24565b6103a96004803603602081101561058857600080fd5b50356001600160a01b0316610e84565b61026a610efe565b6103a9600480360360208110156105b657600080fd5b50356001600160a01b0316610f0d565b6103a9600480360360208110156105dc57600080fd5b5035610f87565b61028e61105f565b6103496004803603604081101561060157600080fd5b506001600160a01b03813516906020013561107e565b61026a6110e6565b6103496004803603604081101561063557600080fd5b506001600160a01b0381351690602001356110f5565b61030b611109565b6103a96004803603602081101561066957600080fd5b50356001600160a01b031661110f565b61026a6112ba565b6103a96004803603608081101561069757600080fd5b50803590602081013590604081013590606001356112c9565b61030b611462565b61030b600480360360408110156106ce57600080fd5b506001600160a01b0381358116916020013516611468565b6103a9600480360360208110156106fc57600080fd5b50356001600160a01b0316611493565b6103a96004803603602081101561072257600080fd5b50356001600160a01b0316611567565b6013546001600160a01b031681565b60408051808201909152600b81526a2bb7b93632102a37b5b2b760a91b602082015290565b600b5490565b600061078061077961173d565b8484611741565b5060015b92915050565b6001600160a01b03811660009081526005602052604090205460ff165b919050565b6107b461173d565b6000546001600160a01b03908116911614610804576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205460ff161561085c5760405162461bcd60e51b81526004018080602001828103825260278152602001806124fa6027913960400191505060405180910390fd5b6001600160a01b038116600090815260016020526040902054156108b6576001600160a01b03811660009081526001602052604090205461089c90610e24565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000610947600b54610941600a5461094160095460085461165f90919063ffffffff16565b9061165f565b905090565b61095461173d565b6000546001600160a01b039081169116146109a4576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6109ce61173d565b6000546001600160a01b03908116911614610a1e576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610a755760405162461bcd60e51b81526004018080602001828103825260228152602001806125476022913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19169055565b6a52b7d2dcc80cd2e400000090565b6000610ab284848461182d565b610b2284610abe61173d565b610b1d856040518060600160405280602881526020016125f6602891396001600160a01b038a16600090815260036020526040812090610afc61173d565b6001600160a01b031681526020810191909152604001600020549190611b04565b611741565b5060019392505050565b601290565b60006a52b7d2dcc80cd2e4000000831115610b93576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610bb1576000610ba384611b9b565b509294506107849350505050565b6000610bbc84611b9b565b509194506107849350505050565b6000610780610bd761173d565b84610b1d8560036000610be861173d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061165f565b60115481565b6001600160a01b031660009081526004602052604090205460ff1690565b60105481565b600f5481565b600a5490565b610c5661173d565b6000546001600160a01b03908116911614610ca6576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b60018110158015610cb85750600a8111155b610d09576040805162461bcd60e51b815260206004820152601e60248201527f56616c7565206973206f757473696465206f662072616e676520312d31300000604482015290519081900360640190fd5b600c55565b6001600160a01b03811660009081526005602052604081205460ff1615610d4e57506001600160a01b0381166000908152600260205260409020546107a7565b6001600160a01b03821660009081526001602052604090205461078490610e24565b610d7861173d565b6000546001600160a01b03908116911614610dc8576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600d5481565b600e5481565b60085490565b6000600754821115610e675760405162461bcd60e51b81526004018080602001828103825260268152602001806126d46026913960400191505060405180910390fd5b6000610e71611be7565b9050610e7d83826116b9565b9392505050565b610e8c61173d565b6000546001600160a01b03908116911614610edc576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b610f1561173d565b6000546001600160a01b03908116911614610f65576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f9161173d565b6001600160a01b03811660009081526005602052604090205490915060ff1615610fec5760405162461bcd60e51b815260040180806020018281038252602c81526020018061271e602c913960400191505060405180910390fd5b6000610ff783611b9b565b505050506001600160a01b03831660009081526001602052604090205490915061102190826116fb565b6001600160a01b03831660009081526001602052604090205560075461104790826116fb565b600755600854611057908461165f565b600855505050565b60408051808201909152600581526415d3d4931160da1b602082015290565b600061078061108b61173d565b84610b1d8560405180606001604052806025815260200161276f60259139600360006110b561173d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611b04565b6012546001600160a01b031681565b600061078061110261173d565b848461182d565b600c5481565b61111761173d565b6000546001600160a01b03908116911614611167576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205460ff166111be5760405162461bcd60e51b81526004018080602001828103825260268152602001806125216026913960400191505060405180910390fd5b60005b6006548110156112b657816001600160a01b0316600682815481106111e257fe5b6000918252602090912001546001600160a01b031614156112ae5760068054600019810190811061120f57fe5b600091825260209091200154600680546001600160a01b03909216918390811061123557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff19169055600680548061128757fe5b600082815260209020810160001990810180546001600160a01b03191690550190556112b6565b6001016111c1565b5050565b6014546001600160a01b031681565b6112d161173d565b6000546001600160a01b03908116911614611321576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b611331816109418481888861165f565b601155600584108015906113465750600a8411155b6113815760405162461bcd60e51b81526004018080602001828103825260288152602001806124d26028913960400191505060405180910390fd5b600582101580156113935750600a8211155b6113ce5760405162461bcd60e51b81526004018080602001828103825260248152602001806125b16024913960400191505060405180910390fd5b600a83111561140e5760405162461bcd60e51b815260040180806020018281038252602581526020018061274a6025913960400191505060405180910390fd5b600a81111561144e5760405162461bcd60e51b81526004018080602001828103825260248152602001806126b06024913960400191505060405180910390fd5b600d93909355600e91909155600f55601055565b60095490565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61149b61173d565b6000546001600160a01b039081169116146114eb576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16156115435760405162461bcd60e51b81526004018080602001828103825260248152602001806126fa6024913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b61156f61173d565b6000546001600160a01b039081169116146115bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b0381166116045760405162461bcd60e51b81526004018080602001828103825260268152602001806125696026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610e7d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610e7d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c0a565b6000610e7d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b04565b3390565b6001600160a01b0383166117865760405162461bcd60e51b815260040180806020018281038252602481526020018061268c6024913960400191505060405180910390fd5b6001600160a01b0382166117cb5760405162461bcd60e51b815260040180806020018281038252602281526020018061258f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166118725760405162461bcd60e51b81526004018080602001828103825260258152602001806126676025913960400191505060405180910390fd5b6001600160a01b0382166118b75760405162461bcd60e51b81526004018080602001828103825260238152602001806124af6023913960400191505060405180910390fd5b600081116118f65760405162461bcd60e51b815260040180806020018281038252602981526020018061263e6029913960400191505060405180910390fd5b600c546001600160a01b03841660009081526004602052604090205460ff168061193857506001600160a01b03831660009081526004602052604090205460ff165b15611947576000600c5561199b565b600061195283611c6f565b9050600061195f82611c91565b9050600061196c83611cae565b9050600061197984611ccb565b905061198483611ce8565b61198d82611dce565b61199681611eb2565b505050505b6001600160a01b03841660009081526005602052604090205460ff1680156119dc57506001600160a01b03831660009081526005602052604090205460ff16155b156119f1576119ec848484611f96565b611aef565b6001600160a01b03841660009081526005602052604090205460ff16158015611a3257506001600160a01b03831660009081526005602052604090205460ff165b15611a42576119ec8484846120ad565b6001600160a01b03841660009081526005602052604090205460ff16158015611a8457506001600160a01b03831660009081526005602052604090205460ff16155b15611a94576119ec848484612153565b6001600160a01b03841660009081526005602052604090205460ff168015611ad457506001600160a01b03831660009081526005602052604090205460ff165b15611ae4576119ec848484612194565b611aef848484612153565b600c548114611afe57600c8190555b50505050565b60008184841115611b935760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b58578181015183820152602001611b40565b50505050905090810190601f168015611b855780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000806000806000611baf88612204565b915091506000611bbd611be7565b90506000806000611bcf8c8686612239565b919e909d50909b509599509397509395505050505050565b6000806000611bf461228d565b9092509050611c0382826116b9565b9250505090565b60008183611c595760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611b58578181015183820152602001611b40565b506000838581611c6557fe5b0495945050505050565b60006107846064611c8b600c548561241490919063ffffffff16565b906116b9565b6000610784601154611c8b600e548561241490919063ffffffff16565b6000610784601154611c8b600f548561241490919063ffffffff16565b6000610784601154611c8b6010548561241490919063ffffffff16565b6012546001600160a01b0316611cfd57611dcb565b6000611d07611be7565b90506000611d158383612414565b600954909150611d25908461165f565b6009556012546001600160a01b0316600090815260016020526040902054611d4d908261165f565b601280546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576012546001600160a01b0316600090815260026020526040902054611dac908461165f565b6012546001600160a01b03166000908152600260205260409020555b50505b50565b6013546001600160a01b0316611de357611dcb565b6000611ded611be7565b90506000611dfb8383612414565b600a54909150611e0b908461165f565b600a556013546001600160a01b0316600090815260016020526040902054611e33908261165f565b601380546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576013546001600160a01b0316600090815260026020526040902054611e92908461165f565b6013546001600160a01b0316600090815260026020526040902055505050565b6014546001600160a01b0316611ec757611dcb565b6000611ed1611be7565b90506000611edf8383612414565b600b54909150611eef908461165f565b600b556014546001600160a01b0316600090815260016020526040902054611f17908261165f565b601480546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576014546001600160a01b0316600090815260026020526040902054611f76908461165f565b6014546001600160a01b0316600090815260026020526040902055505050565b6000806000806000611fa786611b9b565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611fd790876116fb565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461200690866116fb565b6001600160a01b03808a166000908152600160205260408082209390935590891681522054612035908561165f565b6001600160a01b038816600090815260016020526040902055612058838261246d565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b60008060008060006120be86611b9b565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506120ee90866116fb565b6001600160a01b03808a16600090815260016020908152604080832094909455918a16815260029091522054612124908361165f565b6001600160a01b038816600090815260026020908152604080832093909355600190522054612035908561165f565b600080600080600061216486611b9b565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061200690866116fb565b60008060008060006121a586611b9b565b6001600160a01b038d16600090815260026020526040902054949950929750909550935091506121d590876116fb565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546120ee90866116fb565b600080600061221284611c6f565b9050600061221f82612491565b9050600061222d86846116fb565b94509092505050915091565b6000806000806122528561224c89611c6f565b90612414565b905060006122608887612414565b9050600061226e82846116fb565b9050600061227c8989612414565b929a91995091975095505050505050565b60075460009081906a52b7d2dcc80cd2e4000000825b6006548110156123d0578260016000600684815481106122bf57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061232457508160026000600684815481106122fd57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612344576007546a52b7d2dcc80cd2e400000094509450505050612410565b612384600160006006848154811061235857fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906116fb565b92506123c6600260006006848154811061239a57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906116fb565b91506001016122a3565b506007546123e9906a52b7d2dcc80cd2e40000006116b9565b82101561240a576007546a52b7d2dcc80cd2e4000000935093505050612410565b90925090505b9091565b60008261242357506000610784565b8282028284828161243057fe5b0414610e7d5760405162461bcd60e51b81526004018080602001828103825260218152602001806125d56021913960400191505060405180910390fd5b60075461247a90836116fb565b60075560085461248a908261165f565b6008555050565b6000610784601154611c8b600d548561241490919063ffffffff1656fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735f686f6c646572546178416c6c6f63206973206f757473696465206f662072616e676520352d31304163636f756e7420697320616c7265616479206578636c756465642066726f6d207265776172644163636f756e7420697320616c726561647920696e636c7564656420696e20726577617264734163636f756e7420697320616c726561647920696e636c7564656420696e206665654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735f6c70546178416c6c6f63206973206f757473696465206f662072616e676520352d3130536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735f6d65726368616e74546178416c6c6f632069732067726561746572207468616e203130416d6f756e74206d757374206265206c657373207468616e20746f74616c20726577617264734163636f756e7420697320616c7265616479206578636c756465642066726f6d206665654578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e5f6d61726b6574696e67546178416c6c6f632069732067726561746572207468616e20313045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204cf22aee706ea64b96f0f0b9961a40a13b1625c7d496f69b1309fddf0589b15364736f6c634300070400334163636f756e7420697320616c7265616479206578636c756465642066726f6d207265776172644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416d6f756e74206d757374206265206c657373207468616e20746f74616c20726577617264734163636f756e7420697320616c7265616479206578636c756465642066726f6d20666565000000000000000000000000d4713a489194eee0ccad316a0a6ec2322290b4f9
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025d5760003560e01c8063715018a611610146578063a457c2d7116100c3578063ca24295c11610087578063ca24295c14610679578063d71eb4b514610681578063d84bf7a8146106b0578063dd62ed3e146106b8578063e57f14e1146106e6578063f2fde38b1461070c5761025d565b8063a457c2d7146105eb578063a5ece94114610617578063a9059cbb1461061f578063ae7b6d161461064b578063b609995e146106535761025d565b80638da05f8f1161010a5780638da05f8f146105725780638da5cb5b14610598578063906e9dd0146105a057806391c05b0b146105c657806395d89b41146105e35761025d565b8063715018a61461053557806374e47a1e1461053d57806375edd5f2146105455780637c31efb11461054d5780638baa3fd4146105555761025d565b806323b872dd116101df5780634fbee193116101a35780634fbee193146104b457806350920759146104da578063595f052e146104e25780636740b9c6146104ea578063699abb3c146104f257806370a082311461050f5761025d565b806323b872dd14610407578063313ce5671461043d5780633557ee771461045b578063395093511461048057806340e7bdf4146104ac5761025d565b8063111e037611610226578063111e03761461038357806313114a9d146103ab578063143d4acf146103b357806316a2f82a146103d957806318160ddd146103ff5761025d565b8062897ad31461026257806306fdde0314610286578063077faa2114610303578063095ea7b31461031d5780630e8322731461035d575b600080fd5b61026a610732565b604080516001600160a01b039092168252519081900360200190f35b61028e610741565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c85781810151838201526020016102b0565b50505050905090810190601f1680156102f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030b610766565b60408051918252519081900360200190f35b6103496004803603604081101561033357600080fd5b506001600160a01b03813516906020013561076c565b604080519115158252519081900360200190f35b6103496004803603602081101561037357600080fd5b50356001600160a01b031661078a565b6103a96004803603602081101561039957600080fd5b50356001600160a01b03166107ac565b005b61030b61091c565b6103a9600480360360208110156103c957600080fd5b50356001600160a01b031661094c565b6103a9600480360360208110156103ef57600080fd5b50356001600160a01b03166109c6565b61030b610a96565b6103496004803603606081101561041d57600080fd5b506001600160a01b03813581169160208101359091169060400135610aa5565b610445610b2c565b6040805160ff9092168252519081900360200190f35b61030b6004803603604081101561047157600080fd5b50803590602001351515610b31565b6103496004803603604081101561049657600080fd5b506001600160a01b038135169060200135610bca565b61030b610c18565b610349600480360360208110156104ca57600080fd5b50356001600160a01b0316610c1e565b61030b610c3c565b61030b610c42565b61030b610c48565b6103a96004803603602081101561050857600080fd5b5035610c4e565b61030b6004803603602081101561052557600080fd5b50356001600160a01b0316610d0e565b6103a9610d70565b61030b610e12565b61030b610e18565b61030b610e1e565b61030b6004803603602081101561056b57600080fd5b5035610e24565b6103a96004803603602081101561058857600080fd5b50356001600160a01b0316610e84565b61026a610efe565b6103a9600480360360208110156105b657600080fd5b50356001600160a01b0316610f0d565b6103a9600480360360208110156105dc57600080fd5b5035610f87565b61028e61105f565b6103496004803603604081101561060157600080fd5b506001600160a01b03813516906020013561107e565b61026a6110e6565b6103496004803603604081101561063557600080fd5b506001600160a01b0381351690602001356110f5565b61030b611109565b6103a96004803603602081101561066957600080fd5b50356001600160a01b031661110f565b61026a6112ba565b6103a96004803603608081101561069757600080fd5b50803590602081013590604081013590606001356112c9565b61030b611462565b61030b600480360360408110156106ce57600080fd5b506001600160a01b0381358116916020013516611468565b6103a9600480360360208110156106fc57600080fd5b50356001600160a01b0316611493565b6103a96004803603602081101561072257600080fd5b50356001600160a01b0316611567565b6013546001600160a01b031681565b60408051808201909152600b81526a2bb7b93632102a37b5b2b760a91b602082015290565b600b5490565b600061078061077961173d565b8484611741565b5060015b92915050565b6001600160a01b03811660009081526005602052604090205460ff165b919050565b6107b461173d565b6000546001600160a01b03908116911614610804576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205460ff161561085c5760405162461bcd60e51b81526004018080602001828103825260278152602001806124fa6027913960400191505060405180910390fd5b6001600160a01b038116600090815260016020526040902054156108b6576001600160a01b03811660009081526001602052604090205461089c90610e24565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000610947600b54610941600a5461094160095460085461165f90919063ffffffff16565b9061165f565b905090565b61095461173d565b6000546001600160a01b039081169116146109a4576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6109ce61173d565b6000546001600160a01b03908116911614610a1e576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610a755760405162461bcd60e51b81526004018080602001828103825260228152602001806125476022913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19169055565b6a52b7d2dcc80cd2e400000090565b6000610ab284848461182d565b610b2284610abe61173d565b610b1d856040518060600160405280602881526020016125f6602891396001600160a01b038a16600090815260036020526040812090610afc61173d565b6001600160a01b031681526020810191909152604001600020549190611b04565b611741565b5060019392505050565b601290565b60006a52b7d2dcc80cd2e4000000831115610b93576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610bb1576000610ba384611b9b565b509294506107849350505050565b6000610bbc84611b9b565b509194506107849350505050565b6000610780610bd761173d565b84610b1d8560036000610be861173d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061165f565b60115481565b6001600160a01b031660009081526004602052604090205460ff1690565b60105481565b600f5481565b600a5490565b610c5661173d565b6000546001600160a01b03908116911614610ca6576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b60018110158015610cb85750600a8111155b610d09576040805162461bcd60e51b815260206004820152601e60248201527f56616c7565206973206f757473696465206f662072616e676520312d31300000604482015290519081900360640190fd5b600c55565b6001600160a01b03811660009081526005602052604081205460ff1615610d4e57506001600160a01b0381166000908152600260205260409020546107a7565b6001600160a01b03821660009081526001602052604090205461078490610e24565b610d7861173d565b6000546001600160a01b03908116911614610dc8576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600d5481565b600e5481565b60085490565b6000600754821115610e675760405162461bcd60e51b81526004018080602001828103825260268152602001806126d46026913960400191505060405180910390fd5b6000610e71611be7565b9050610e7d83826116b9565b9392505050565b610e8c61173d565b6000546001600160a01b03908116911614610edc576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b610f1561173d565b6000546001600160a01b03908116911614610f65576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f9161173d565b6001600160a01b03811660009081526005602052604090205490915060ff1615610fec5760405162461bcd60e51b815260040180806020018281038252602c81526020018061271e602c913960400191505060405180910390fd5b6000610ff783611b9b565b505050506001600160a01b03831660009081526001602052604090205490915061102190826116fb565b6001600160a01b03831660009081526001602052604090205560075461104790826116fb565b600755600854611057908461165f565b600855505050565b60408051808201909152600581526415d3d4931160da1b602082015290565b600061078061108b61173d565b84610b1d8560405180606001604052806025815260200161276f60259139600360006110b561173d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611b04565b6012546001600160a01b031681565b600061078061110261173d565b848461182d565b600c5481565b61111761173d565b6000546001600160a01b03908116911614611167576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205460ff166111be5760405162461bcd60e51b81526004018080602001828103825260268152602001806125216026913960400191505060405180910390fd5b60005b6006548110156112b657816001600160a01b0316600682815481106111e257fe5b6000918252602090912001546001600160a01b031614156112ae5760068054600019810190811061120f57fe5b600091825260209091200154600680546001600160a01b03909216918390811061123557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff19169055600680548061128757fe5b600082815260209020810160001990810180546001600160a01b03191690550190556112b6565b6001016111c1565b5050565b6014546001600160a01b031681565b6112d161173d565b6000546001600160a01b03908116911614611321576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b611331816109418481888861165f565b601155600584108015906113465750600a8411155b6113815760405162461bcd60e51b81526004018080602001828103825260288152602001806124d26028913960400191505060405180910390fd5b600582101580156113935750600a8211155b6113ce5760405162461bcd60e51b81526004018080602001828103825260248152602001806125b16024913960400191505060405180910390fd5b600a83111561140e5760405162461bcd60e51b815260040180806020018281038252602581526020018061274a6025913960400191505060405180910390fd5b600a81111561144e5760405162461bcd60e51b81526004018080602001828103825260248152602001806126b06024913960400191505060405180910390fd5b600d93909355600e91909155600f55601055565b60095490565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61149b61173d565b6000546001600160a01b039081169116146114eb576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16156115435760405162461bcd60e51b81526004018080602001828103825260248152602001806126fa6024913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b61156f61173d565b6000546001600160a01b039081169116146115bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b0381166116045760405162461bcd60e51b81526004018080602001828103825260268152602001806125696026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610e7d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610e7d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c0a565b6000610e7d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b04565b3390565b6001600160a01b0383166117865760405162461bcd60e51b815260040180806020018281038252602481526020018061268c6024913960400191505060405180910390fd5b6001600160a01b0382166117cb5760405162461bcd60e51b815260040180806020018281038252602281526020018061258f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166118725760405162461bcd60e51b81526004018080602001828103825260258152602001806126676025913960400191505060405180910390fd5b6001600160a01b0382166118b75760405162461bcd60e51b81526004018080602001828103825260238152602001806124af6023913960400191505060405180910390fd5b600081116118f65760405162461bcd60e51b815260040180806020018281038252602981526020018061263e6029913960400191505060405180910390fd5b600c546001600160a01b03841660009081526004602052604090205460ff168061193857506001600160a01b03831660009081526004602052604090205460ff165b15611947576000600c5561199b565b600061195283611c6f565b9050600061195f82611c91565b9050600061196c83611cae565b9050600061197984611ccb565b905061198483611ce8565b61198d82611dce565b61199681611eb2565b505050505b6001600160a01b03841660009081526005602052604090205460ff1680156119dc57506001600160a01b03831660009081526005602052604090205460ff16155b156119f1576119ec848484611f96565b611aef565b6001600160a01b03841660009081526005602052604090205460ff16158015611a3257506001600160a01b03831660009081526005602052604090205460ff165b15611a42576119ec8484846120ad565b6001600160a01b03841660009081526005602052604090205460ff16158015611a8457506001600160a01b03831660009081526005602052604090205460ff16155b15611a94576119ec848484612153565b6001600160a01b03841660009081526005602052604090205460ff168015611ad457506001600160a01b03831660009081526005602052604090205460ff165b15611ae4576119ec848484612194565b611aef848484612153565b600c548114611afe57600c8190555b50505050565b60008184841115611b935760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b58578181015183820152602001611b40565b50505050905090810190601f168015611b855780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000806000806000611baf88612204565b915091506000611bbd611be7565b90506000806000611bcf8c8686612239565b919e909d50909b509599509397509395505050505050565b6000806000611bf461228d565b9092509050611c0382826116b9565b9250505090565b60008183611c595760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611b58578181015183820152602001611b40565b506000838581611c6557fe5b0495945050505050565b60006107846064611c8b600c548561241490919063ffffffff16565b906116b9565b6000610784601154611c8b600e548561241490919063ffffffff16565b6000610784601154611c8b600f548561241490919063ffffffff16565b6000610784601154611c8b6010548561241490919063ffffffff16565b6012546001600160a01b0316611cfd57611dcb565b6000611d07611be7565b90506000611d158383612414565b600954909150611d25908461165f565b6009556012546001600160a01b0316600090815260016020526040902054611d4d908261165f565b601280546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576012546001600160a01b0316600090815260026020526040902054611dac908461165f565b6012546001600160a01b03166000908152600260205260409020555b50505b50565b6013546001600160a01b0316611de357611dcb565b6000611ded611be7565b90506000611dfb8383612414565b600a54909150611e0b908461165f565b600a556013546001600160a01b0316600090815260016020526040902054611e33908261165f565b601380546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576013546001600160a01b0316600090815260026020526040902054611e92908461165f565b6013546001600160a01b0316600090815260026020526040902055505050565b6014546001600160a01b0316611ec757611dcb565b6000611ed1611be7565b90506000611edf8383612414565b600b54909150611eef908461165f565b600b556014546001600160a01b0316600090815260016020526040902054611f17908261165f565b601480546001600160a01b03908116600090815260016020908152604080832095909555925490911681526005909152205460ff1615611dc8576014546001600160a01b0316600090815260026020526040902054611f76908461165f565b6014546001600160a01b0316600090815260026020526040902055505050565b6000806000806000611fa786611b9b565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611fd790876116fb565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461200690866116fb565b6001600160a01b03808a166000908152600160205260408082209390935590891681522054612035908561165f565b6001600160a01b038816600090815260016020526040902055612058838261246d565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b60008060008060006120be86611b9b565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506120ee90866116fb565b6001600160a01b03808a16600090815260016020908152604080832094909455918a16815260029091522054612124908361165f565b6001600160a01b038816600090815260026020908152604080832093909355600190522054612035908561165f565b600080600080600061216486611b9b565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061200690866116fb565b60008060008060006121a586611b9b565b6001600160a01b038d16600090815260026020526040902054949950929750909550935091506121d590876116fb565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546120ee90866116fb565b600080600061221284611c6f565b9050600061221f82612491565b9050600061222d86846116fb565b94509092505050915091565b6000806000806122528561224c89611c6f565b90612414565b905060006122608887612414565b9050600061226e82846116fb565b9050600061227c8989612414565b929a91995091975095505050505050565b60075460009081906a52b7d2dcc80cd2e4000000825b6006548110156123d0578260016000600684815481106122bf57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061232457508160026000600684815481106122fd57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612344576007546a52b7d2dcc80cd2e400000094509450505050612410565b612384600160006006848154811061235857fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906116fb565b92506123c6600260006006848154811061239a57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906116fb565b91506001016122a3565b506007546123e9906a52b7d2dcc80cd2e40000006116b9565b82101561240a576007546a52b7d2dcc80cd2e4000000935093505050612410565b90925090505b9091565b60008261242357506000610784565b8282028284828161243057fe5b0414610e7d5760405162461bcd60e51b81526004018080602001828103825260218152602001806125d56021913960400191505060405180910390fd5b60075461247a90836116fb565b60075560085461248a908261165f565b6008555050565b6000610784601154611c8b600d548561241490919063ffffffff1656fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735f686f6c646572546178416c6c6f63206973206f757473696465206f662072616e676520352d31304163636f756e7420697320616c7265616479206578636c756465642066726f6d207265776172644163636f756e7420697320616c726561647920696e636c7564656420696e20726577617264734163636f756e7420697320616c726561647920696e636c7564656420696e206665654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735f6c70546178416c6c6f63206973206f757473696465206f662072616e676520352d3130536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735f6d65726368616e74546178416c6c6f632069732067726561746572207468616e203130416d6f756e74206d757374206265206c657373207468616e20746f74616c20726577617264734163636f756e7420697320616c7265616479206578636c756465642066726f6d206665654578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e5f6d61726b6574696e67546178416c6c6f632069732067726561746572207468616e20313045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204cf22aee706ea64b96f0f0b9961a40a13b1625c7d496f69b1309fddf0589b15364736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d4713a489194eee0ccad316a0a6ec2322290b4f9
-----Decoded View---------------
Arg [0] : _marketingAddress (address): 0xD4713A489194eeE0ccaD316a0A6Ec2322290B4F9
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d4713a489194eee0ccad316a0a6ec2322290b4f9
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.