More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 74,515 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Add Liquidity ET... | 73643800 | 282 days ago | IN | 51.14067296 FTM | 0.01918095 | ||||
Add Liquidity ET... | 60436844 | 539 days ago | IN | 0.324275 FTM | 0.03458493 | ||||
Add Liquidity ET... | 52346489 | 667 days ago | IN | 42.97453351 FTM | 0.00756477 | ||||
Add Liquidity ET... | 50427582 | 708 days ago | IN | 6.89062688 FTM | 0.30514601 | ||||
Add Liquidity ET... | 50427463 | 708 days ago | IN | 13.76004032 FTM | 0.30026361 | ||||
Add Liquidity ET... | 47946223 | 744 days ago | IN | 2.3169421 FTM | 0.00058078 | ||||
Add Liquidity ET... | 46961150 | 757 days ago | IN | 50.98303755 FTM | 0.0340335 | ||||
Add Liquidity ET... | 46666586 | 762 days ago | IN | 22.21301885 FTM | 0.0433631 | ||||
Add Liquidity ET... | 46592447 | 764 days ago | IN | 598.25485422 FTM | 0.28332012 | ||||
Add Liquidity ET... | 46490224 | 766 days ago | IN | 89.03687778 FTM | 0.30243758 | ||||
Add Liquidity ET... | 46377378 | 767 days ago | IN | 0.12 FTM | 0.00098546 | ||||
Add Liquidity ET... | 46205551 | 770 days ago | IN | 78.75051722 FTM | 0.000618 | ||||
Add Liquidity ET... | 44535353 | 794 days ago | IN | 2.62043828 FTM | 0.00077788 | ||||
Add Liquidity ET... | 44206370 | 799 days ago | IN | 1,998.37193699 FTM | 0.00068617 | ||||
Add Liquidity ET... | 44158194 | 800 days ago | IN | 21.9510892 FTM | 0.00061027 | ||||
Add Liquidity ET... | 44157630 | 800 days ago | IN | 10 FTM | 0.00061613 | ||||
Add Liquidity ET... | 44122549 | 800 days ago | IN | 1.74714973 FTM | 0.0008034 | ||||
Add Liquidity ET... | 43692735 | 806 days ago | IN | 0.50115048 FTM | 0.0040455 | ||||
Add Liquidity ET... | 43624842 | 807 days ago | IN | 350.01435885 FTM | 0.0009766 | ||||
Add Liquidity ET... | 43199970 | 814 days ago | IN | 0.0026601 FTM | 0.0026728 | ||||
Add Liquidity ET... | 42683225 | 821 days ago | IN | 1.18378842 FTM | 0.00106946 | ||||
Add Liquidity ET... | 42535573 | 823 days ago | IN | 5.6311139 FTM | 0.00187821 | ||||
Add Liquidity ET... | 42477558 | 824 days ago | IN | 93.70359881 FTM | 0.00093456 | ||||
Add Liquidity ET... | 41938097 | 831 days ago | IN | 98.74010142 FTM | 0.00057747 | ||||
Add Liquidity ET... | 40858405 | 845 days ago | IN | 186.10548997 FTM | 0.0083384 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
73643800 | 282 days ago | 51.14067296 FTM | ||||
60436844 | 539 days ago | 0.324275 FTM | ||||
52346489 | 667 days ago | 42.97453351 FTM | ||||
50427582 | 708 days ago | 6.89062688 FTM | ||||
50427463 | 708 days ago | 13.76004032 FTM | ||||
47946223 | 744 days ago | 2.3169421 FTM | ||||
46961150 | 757 days ago | 50.98303755 FTM | ||||
46666586 | 762 days ago | 22.21301885 FTM | ||||
46592447 | 764 days ago | 0.07565173 FTM | ||||
46592447 | 764 days ago | 598.25485422 FTM | ||||
46490224 | 766 days ago | 89.03687778 FTM | ||||
46377378 | 767 days ago | 0.12 FTM | ||||
46205551 | 770 days ago | 78.75051722 FTM | ||||
44535353 | 794 days ago | 2.62043828 FTM | ||||
44206370 | 799 days ago | 1,998.37193699 FTM | ||||
44158194 | 800 days ago | 21.9510892 FTM | ||||
44157630 | 800 days ago | 10 FTM | ||||
44122549 | 800 days ago | 1.74714973 FTM | ||||
43692735 | 806 days ago | 0.50115048 FTM | ||||
43624842 | 807 days ago | 350.01435885 FTM | ||||
43199970 | 814 days ago | 0.0026601 FTM | ||||
42683225 | 821 days ago | 1.18378842 FTM | ||||
42535573 | 823 days ago | 5.6311139 FTM | ||||
42477558 | 824 days ago | 93.70359881 FTM | ||||
41938097 | 831 days ago | 98.74010142 FTM |
Loading...
Loading
Contract Name:
TaxOfficeV2
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./owner/Operator.sol"; import "./interfaces/ITaxable.sol"; import "./interfaces/IUniswapV2Router.sol"; import "./interfaces/IERC20.sol"; /* ______ __ _______ /_ __/___ ____ ___ / /_ / ____(_)___ ____ _____ ________ / / / __ \/ __ `__ \/ __ \ / /_ / / __ \/ __ `/ __ \/ ___/ _ \ / / / /_/ / / / / / / /_/ / / __/ / / / / / /_/ / / / / /__/ __/ /_/ \____/_/ /_/ /_/_.___/ /_/ /_/_/ /_/\__,_/_/ /_/\___/\___/ http://tomb.finance */ contract TaxOfficeV2 is Operator { using SafeMath for uint256; address public tomb = address(0x6c021Ae822BEa943b2E66552bDe1D2696a53fbB7); address public wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83); address public uniRouter = address(0xF491e7B69E4244ad4002BC14e878a34207E38c29); mapping(address => bool) public taxExclusionEnabled; function setTaxTiersTwap(uint8 _index, uint256 _value) public onlyOperator returns (bool) { return ITaxable(tomb).setTaxTiersTwap(_index, _value); } function setTaxTiersRate(uint8 _index, uint256 _value) public onlyOperator returns (bool) { return ITaxable(tomb).setTaxTiersRate(_index, _value); } function enableAutoCalculateTax() public onlyOperator { ITaxable(tomb).enableAutoCalculateTax(); } function disableAutoCalculateTax() public onlyOperator { ITaxable(tomb).disableAutoCalculateTax(); } function setTaxRate(uint256 _taxRate) public onlyOperator { ITaxable(tomb).setTaxRate(_taxRate); } function setBurnThreshold(uint256 _burnThreshold) public onlyOperator { ITaxable(tomb).setBurnThreshold(_burnThreshold); } function setTaxCollectorAddress(address _taxCollectorAddress) public onlyOperator { ITaxable(tomb).setTaxCollectorAddress(_taxCollectorAddress); } function excludeAddressFromTax(address _address) external onlyOperator returns (bool) { return _excludeAddressFromTax(_address); } function _excludeAddressFromTax(address _address) private returns (bool) { if (!ITaxable(tomb).isAddressExcluded(_address)) { return ITaxable(tomb).excludeAddress(_address); } } function includeAddressInTax(address _address) external onlyOperator returns (bool) { return _includeAddressInTax(_address); } function _includeAddressInTax(address _address) private returns (bool) { if (ITaxable(tomb).isAddressExcluded(_address)) { return ITaxable(tomb).includeAddress(_address); } } function taxRate() external view returns (uint256) { return ITaxable(tomb).taxRate(); } function addLiquidityTaxFree( address token, uint256 amtTomb, uint256 amtToken, uint256 amtTombMin, uint256 amtTokenMin ) external returns ( uint256, uint256, uint256 ) { require(amtTomb != 0 && amtToken != 0, "amounts can't be 0"); _excludeAddressFromTax(msg.sender); IERC20(tomb).transferFrom(msg.sender, address(this), amtTomb); IERC20(token).transferFrom(msg.sender, address(this), amtToken); _approveTokenIfNeeded(tomb, uniRouter); _approveTokenIfNeeded(token, uniRouter); _includeAddressInTax(msg.sender); uint256 resultAmtTomb; uint256 resultAmtToken; uint256 liquidity; (resultAmtTomb, resultAmtToken, liquidity) = IUniswapV2Router(uniRouter).addLiquidity( tomb, token, amtTomb, amtToken, amtTombMin, amtTokenMin, msg.sender, block.timestamp ); if(amtTomb.sub(resultAmtTomb) > 0) { IERC20(tomb).transfer(msg.sender, amtTomb.sub(resultAmtTomb)); } if(amtToken.sub(resultAmtToken) > 0) { IERC20(token).transfer(msg.sender, amtToken.sub(resultAmtToken)); } return (resultAmtTomb, resultAmtToken, liquidity); } function addLiquidityETHTaxFree( uint256 amtTomb, uint256 amtTombMin, uint256 amtFtmMin ) external payable returns ( uint256, uint256, uint256 ) { require(amtTomb != 0 && msg.value != 0, "amounts can't be 0"); _excludeAddressFromTax(msg.sender); IERC20(tomb).transferFrom(msg.sender, address(this), amtTomb); _approveTokenIfNeeded(tomb, uniRouter); _includeAddressInTax(msg.sender); uint256 resultAmtTomb; uint256 resultAmtFtm; uint256 liquidity; (resultAmtTomb, resultAmtFtm, liquidity) = IUniswapV2Router(uniRouter).addLiquidityETH{value: msg.value}( tomb, amtTomb, amtTombMin, amtFtmMin, msg.sender, block.timestamp ); if(amtTomb.sub(resultAmtTomb) > 0) { IERC20(tomb).transfer(msg.sender, amtTomb.sub(resultAmtTomb)); } return (resultAmtTomb, resultAmtFtm, liquidity); } function setTaxableTombOracle(address _tombOracle) external onlyOperator { ITaxable(tomb).setTombOracle(_tombOracle); } function transferTaxOffice(address _newTaxOffice) external onlyOperator { ITaxable(tomb).setTaxOffice(_newTaxOffice); } function taxFreeTransferFrom( address _sender, address _recipient, uint256 _amt ) external { require(taxExclusionEnabled[msg.sender], "Address not approved for tax free transfers"); _excludeAddressFromTax(_sender); IERC20(tomb).transferFrom(_sender, _recipient, _amt); _includeAddressInTax(_sender); } function setTaxExclusionForAddress(address _address, bool _excluded) external onlyOperator { taxExclusionEnabled[_address] = _excluded; } function _approveTokenIfNeeded(address _token, address _router) private { if (IERC20(_token).allowance(address(this), _router) == 0) { IERC20(_token).approve(_router, type(uint256).max); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @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.12; interface ITaxable { function setTaxTiersTwap(uint8 _index, uint256 _value) external returns (bool); function setTaxTiersRate(uint8 _index, uint256 _value) external returns (bool); function enableAutoCalculateTax() external; function disableAutoCalculateTax() external; function setTaxCollectorAddress(address _taxCollectorAddress) external; function isAddressExcluded(address _address) external returns (bool); function setTaxRate(uint256 _taxRate) external; function setBurnThreshold(uint256 _burnThreshold) external; function excludeAddress(address _address) external returns (bool); function includeAddress(address _address) external returns (bool); function setTombOracle(address _tombOracle) external; function setTaxOffice(address _taxOffice) external; function taxRate() external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Operator is Context, Ownable { address private _operator; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); constructor() internal { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require(newOperator_ != address(0), "operator: zero address given for new operator"); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol";
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/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 virtual 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: 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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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.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; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 999999 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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"},{"inputs":[{"internalType":"uint256","name":"amtTomb","type":"uint256"},{"internalType":"uint256","name":"amtTombMin","type":"uint256"},{"internalType":"uint256","name":"amtFtmMin","type":"uint256"}],"name":"addLiquidityETHTaxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amtTomb","type":"uint256"},{"internalType":"uint256","name":"amtToken","type":"uint256"},{"internalType":"uint256","name":"amtTombMin","type":"uint256"},{"internalType":"uint256","name":"amtTokenMin","type":"uint256"}],"name":"addLiquidityTaxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"excludeAddressFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"includeAddressInTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"_burnThreshold","type":"uint256"}],"name":"setBurnThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxCollectorAddress","type":"address"}],"name":"setTaxCollectorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setTaxExclusionForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxRate","type":"uint256"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersRate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersTwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tombOracle","type":"address"}],"name":"setTaxableTombOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExclusionEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"taxFreeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tomb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTaxOffice","type":"address"}],"name":"transferTaxOffice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600280546001600160a01b0319908116736c021ae822bea943b2e66552bde1d2696a53fbb7179091556003805482167321be370d5312f44cb42ce377bc9b8a0cef1a4c831790556004805490911673f491e7b69e4244ad4002bc14e878a34207e38c2917905534801561007657600080fd5b506000610081610124565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506100d3610124565b600180546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3610128565b3390565b6124d580620001386000396000f3fe6080604052600436106101a15760003560e01c80639d6b5f21116100e1578063d1d31a371161008a578063f1efacf911610064578063f1efacf9146105f8578063f2fde38b14610650578063f4f45b4614610690578063ff87fc7c146106a5576101a1565b8063d1d31a3714610528578063e1d8752e14610568578063e69abb7e146105b8576101a1565b8063be94f86b116100bb578063be94f86b146104a9578063c040f23a146104e9578063c6d69a30146104fe576101a1565b80639d6b5f2114610437578063a0e47bf614610461578063b87c5a4a14610476576101a1565b806366206ce91161014e57806373baccc01161012857806373baccc01461036c578063771a3a1d146103b35780637fcd79c7146103da5780638da5cb5b14610422576101a1565b806366206ce9146102e457806369356d4714610317578063715018a614610357576101a1565b80634456eda21161017f5780634456eda21461027c578063570ca7351461029157806365bbacd9146102cf576101a1565b806313762bdc146101a657806319db099d146101fa57806329605e771461023a575b600080fd5b3480156101b257600080fd5b506101e6600480360360208110156101c957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106ba565b604080519115158252519081900360200190f35b34801561020657600080fd5b506101e66004803603602081101561021d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106cf565b34801561024657600080fd5b5061027a6004803603602081101561025d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610753565b005b34801561028857600080fd5b506101e6610807565b34801561029d57600080fd5b506102a6610847565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102db57600080fd5b5061027a610863565b3480156102f057600080fd5b506101e66004803603604081101561030757600080fd5b5060ff8135169060200135610957565b34801561032357600080fd5b5061027a6004803603602081101561033a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a7a565b34801561036357600080fd5b5061027a610b79565b6103956004803603606081101561038257600080fd5b5080359060208101359060400135610c90565b60408051938452602084019290925282820152519081900360600190f35b3480156103bf57600080fd5b506103c8610fa1565b60408051918252519081900360200190f35b3480156103e657600080fd5b5061027a600480360360408110156103fd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561103d565b34801561042e57600080fd5b506102a6611103565b34801561044357600080fd5b5061027a6004803603602081101561045a57600080fd5b503561111f565b34801561046d57600080fd5b506102a6611202565b34801561048257600080fd5b506101e66004803603604081101561049957600080fd5b5060ff813516906020013561121e565b3480156104b557600080fd5b506101e6600480360360208110156104cc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661130e565b3480156104f557600080fd5b506102a661138a565b34801561050a57600080fd5b5061027a6004803603602081101561052157600080fd5b50356113a6565b34801561053457600080fd5b5061027a6004803603602081101561054b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611489565b34801561057457600080fd5b5061027a6004803603606081101561058b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561156d565b3480156105c457600080fd5b5061027a600480360360208110156105db57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611699565b34801561060457600080fd5b50610395600480360360a081101561061b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040810135906060810135906080013561177d565b34801561065c57600080fd5b5061027a6004803603602081101561067357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611c22565b34801561069c57600080fd5b506102a6611dc3565b3480156106b157600080fd5b5061027a611ddf565b60056020526000908152604090205460ff1681565b60015460009073ffffffffffffffffffffffffffffffffffffffff163314610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b61074b82611eb9565b90505b919050565b61075b61200a565b73ffffffffffffffffffffffffffffffffffffffff16610779611103565b73ffffffffffffffffffffffffffffffffffffffff16146107fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108048161200e565b50565b60015460009073ffffffffffffffffffffffffffffffffffffffff1661082b61200a565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b60015473ffffffffffffffffffffffffffffffffffffffff1633146108d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365bbacd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561093d57600080fd5b505af1158015610951573d6000803e3d6000fd5b50505050565b60015460009073ffffffffffffffffffffffffffffffffffffffff1633146109ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f66206ce900000000000000000000000000000000000000000000000000000000815260ff8616600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff909216916366206ce9916044808201926020929091908290030181600087803b158015610a4757600080fd5b505af1158015610a5b573d6000803e3d6000fd5b505050506040513d6020811015610a7157600080fd5b50519392505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f69356d4700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152915191909216916369356d4791602480830192600092919082900301818387803b158015610b5e57600080fd5b505af1158015610b72573d6000803e3d6000fd5b5050505050565b610b8161200a565b73ffffffffffffffffffffffffffffffffffffffff16610b9f611103565b73ffffffffffffffffffffffffffffffffffffffff1614610c2157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600080808515801590610ca257503415155b610d0d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f616d6f756e74732063616e277420626520300000000000000000000000000000604482015290519081900360640190fd5b610d1633612104565b50600254604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101899052905173ffffffffffffffffffffffffffffffffffffffff909216916323b872dd916064808201926020929091908290030181600087803b158015610d9757600080fd5b505af1158015610dab573d6000803e3d6000fd5b505050506040513d6020811015610dc157600080fd5b5050600254600454610dec9173ffffffffffffffffffffffffffffffffffffffff9081169116612221565b610df533611eb9565b5060048054600254604080517ff305d71900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831694810194909452602484018a905260448401899052606484018890523360848501524260a48501525160009384938493169163f305d71991349160c480830192606092919082900301818588803b158015610e9657600080fd5b505af1158015610eaa573d6000803e3d6000fd5b50505050506040513d6060811015610ec157600080fd5b508051602082015160409092015190945090925090506000610ee38a85612386565b1115610f925760025473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33610f128c87612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610f6557600080fd5b505af1158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b50505b91989097509095509350505050565b600254604080517f771a3a1d000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163771a3a1d916004808301926020929190829003018186803b15801561100c57600080fd5b505afa158015611020573d6000803e3d6000fd5b505050506040513d602081101561103657600080fd5b5051905090565b60015473ffffffffffffffffffffffffffffffffffffffff1633146110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60015473ffffffffffffffffffffffffffffffffffffffff16331461118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f9d6b5f2100000000000000000000000000000000000000000000000000000000815260048101849052905173ffffffffffffffffffffffffffffffffffffffff90921691639d6b5f219160248082019260009290919082900301818387803b158015610b5e57600080fd5b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015460009073ffffffffffffffffffffffffffffffffffffffff163314611291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517fb87c5a4a00000000000000000000000000000000000000000000000000000000815260ff8616600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff9092169163b87c5a4a916044808201926020929091908290030181600087803b158015610a4757600080fd5b60015460009073ffffffffffffffffffffffffffffffffffffffff163314611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b61074b82612104565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517fc6d69a3000000000000000000000000000000000000000000000000000000000815260048101849052905173ffffffffffffffffffffffffffffffffffffffff9092169163c6d69a309160248082019260009290919082900301818387803b158015610b5e57600080fd5b60015473ffffffffffffffffffffffffffffffffffffffff1633146114f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f3f07d76a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015291519190921691633f07d76a91602480830192600092919082900301818387803b158015610b5e57600080fd5b3360009081526005602052604090205460ff166115d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612424602b913960400191505060405180910390fd5b6115de83612104565b50600254604080517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b15801561166357600080fd5b505af1158015611677573d6000803e3d6000fd5b505050506040513d602081101561168d57600080fd5b50610951905083611eb9565b60015473ffffffffffffffffffffffffffffffffffffffff163314611709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f75be5ae100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152915191909216916375be5ae191602480830192600092919082900301818387803b158015610b5e57600080fd5b60008080861580159061178f57508515155b6117fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f616d6f756e74732063616e277420626520300000000000000000000000000000604482015290519081900360640190fd5b61180333612104565b50600254604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018a9052905173ffffffffffffffffffffffffffffffffffffffff909216916323b872dd916064808201926020929091908290030181600087803b15801561188457600080fd5b505af1158015611898573d6000803e3d6000fd5b505050506040513d60208110156118ae57600080fd5b5050604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101889052905173ffffffffffffffffffffffffffffffffffffffff8a16916323b872dd9160648083019260209291908290030181600087803b15801561192b57600080fd5b505af115801561193f573d6000803e3d6000fd5b505050506040513d602081101561195557600080fd5b50506002546004546119809173ffffffffffffffffffffffffffffffffffffffff9081169116612221565b6004546119a490899073ffffffffffffffffffffffffffffffffffffffff16612221565b6119ad33611eb9565b5060048054600254604080517fe8e3370000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316948101949094528b82166024850152604484018b9052606484018a90526084840189905260a484018890523360c48501524260e48501525160009384938493169163e8e33700916101048082019260609290919082900301818787803b158015611a5d57600080fd5b505af1158015611a71573d6000803e3d6000fd5b505050506040513d6060811015611a8757600080fd5b508051602082015160409092015190945090925090506000611aa98b85612386565b1115611b585760025473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33611ad88d87612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b2b57600080fd5b505af1158015611b3f573d6000803e3d6000fd5b505050506040513d6020811015611b5557600080fd5b50505b6000611b648a84612386565b1115611c115773ffffffffffffffffffffffffffffffffffffffff8b1663a9059cbb33611b918c86612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611be457600080fd5b505af1158015611bf8573d6000803e3d6000fd5b505050506040513d6020811015611c0e57600080fd5b50505b919a90995090975095505050505050565b611c2a61200a565b73ffffffffffffffffffffffffffffffffffffffff16611c48611103565b73ffffffffffffffffffffffffffffffffffffffff1614611cca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611d36576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123fe6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314611e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ff87fc7c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561093d57600080fd5b600254604080517febca1bd900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529151600093929092169163ebca1bd99160248082019260209290919082900301818787803b158015611f3157600080fd5b505af1158015611f45573d6000803e3d6000fd5b505050506040513d6020811015611f5b57600080fd5b50511561074e57600254604080517f93995d4b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152915191909216916393995d4b9160248083019260209291908290030181600087803b158015611fd757600080fd5b505af1158015611feb573d6000803e3d6000fd5b505050506040513d602081101561200157600080fd5b5051905061074e565b3390565b73ffffffffffffffffffffffffffffffffffffffff811661207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061244f602d913960400191505060405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600254604080517febca1bd900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529151600093929092169163ebca1bd99160248082019260209290919082900301818787803b15801561217c57600080fd5b505af1158015612190573d6000803e3d6000fd5b505050506040513d60208110156121a657600080fd5b505161074e57600254604080517f3758e6ce00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519190921691633758e6ce9160248083019260209291908290030181600087803b158015611fd757600080fd5b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015291519184169163dd62ed3e91604480820192602092909190829003018186803b15801561229757600080fd5b505afa1580156122ab573d6000803e3d6000fd5b505050506040513d60208110156122c157600080fd5b5051612382578173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561235857600080fd5b505af115801561236c573d6000803e3d6000fd5b505050506040513d602081101561095157600080fd5b5050565b6000828211156123f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737341646472657373206e6f7420617070726f76656420666f72207461782066726565207472616e73666572736f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f72a2646970667358221220bc364f6a1927e88ff0dc9651532c823496c4e4932833a16dfd5b9cb483deb52764736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106101a15760003560e01c80639d6b5f21116100e1578063d1d31a371161008a578063f1efacf911610064578063f1efacf9146105f8578063f2fde38b14610650578063f4f45b4614610690578063ff87fc7c146106a5576101a1565b8063d1d31a3714610528578063e1d8752e14610568578063e69abb7e146105b8576101a1565b8063be94f86b116100bb578063be94f86b146104a9578063c040f23a146104e9578063c6d69a30146104fe576101a1565b80639d6b5f2114610437578063a0e47bf614610461578063b87c5a4a14610476576101a1565b806366206ce91161014e57806373baccc01161012857806373baccc01461036c578063771a3a1d146103b35780637fcd79c7146103da5780638da5cb5b14610422576101a1565b806366206ce9146102e457806369356d4714610317578063715018a614610357576101a1565b80634456eda21161017f5780634456eda21461027c578063570ca7351461029157806365bbacd9146102cf576101a1565b806313762bdc146101a657806319db099d146101fa57806329605e771461023a575b600080fd5b3480156101b257600080fd5b506101e6600480360360208110156101c957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106ba565b604080519115158252519081900360200190f35b34801561020657600080fd5b506101e66004803603602081101561021d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106cf565b34801561024657600080fd5b5061027a6004803603602081101561025d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610753565b005b34801561028857600080fd5b506101e6610807565b34801561029d57600080fd5b506102a6610847565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102db57600080fd5b5061027a610863565b3480156102f057600080fd5b506101e66004803603604081101561030757600080fd5b5060ff8135169060200135610957565b34801561032357600080fd5b5061027a6004803603602081101561033a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a7a565b34801561036357600080fd5b5061027a610b79565b6103956004803603606081101561038257600080fd5b5080359060208101359060400135610c90565b60408051938452602084019290925282820152519081900360600190f35b3480156103bf57600080fd5b506103c8610fa1565b60408051918252519081900360200190f35b3480156103e657600080fd5b5061027a600480360360408110156103fd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561103d565b34801561042e57600080fd5b506102a6611103565b34801561044357600080fd5b5061027a6004803603602081101561045a57600080fd5b503561111f565b34801561046d57600080fd5b506102a6611202565b34801561048257600080fd5b506101e66004803603604081101561049957600080fd5b5060ff813516906020013561121e565b3480156104b557600080fd5b506101e6600480360360208110156104cc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661130e565b3480156104f557600080fd5b506102a661138a565b34801561050a57600080fd5b5061027a6004803603602081101561052157600080fd5b50356113a6565b34801561053457600080fd5b5061027a6004803603602081101561054b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611489565b34801561057457600080fd5b5061027a6004803603606081101561058b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561156d565b3480156105c457600080fd5b5061027a600480360360208110156105db57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611699565b34801561060457600080fd5b50610395600480360360a081101561061b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040810135906060810135906080013561177d565b34801561065c57600080fd5b5061027a6004803603602081101561067357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611c22565b34801561069c57600080fd5b506102a6611dc3565b3480156106b157600080fd5b5061027a611ddf565b60056020526000908152604090205460ff1681565b60015460009073ffffffffffffffffffffffffffffffffffffffff163314610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b61074b82611eb9565b90505b919050565b61075b61200a565b73ffffffffffffffffffffffffffffffffffffffff16610779611103565b73ffffffffffffffffffffffffffffffffffffffff16146107fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108048161200e565b50565b60015460009073ffffffffffffffffffffffffffffffffffffffff1661082b61200a565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b60015473ffffffffffffffffffffffffffffffffffffffff1633146108d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365bbacd96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561093d57600080fd5b505af1158015610951573d6000803e3d6000fd5b50505050565b60015460009073ffffffffffffffffffffffffffffffffffffffff1633146109ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f66206ce900000000000000000000000000000000000000000000000000000000815260ff8616600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff909216916366206ce9916044808201926020929091908290030181600087803b158015610a4757600080fd5b505af1158015610a5b573d6000803e3d6000fd5b505050506040513d6020811015610a7157600080fd5b50519392505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610aea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f69356d4700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152915191909216916369356d4791602480830192600092919082900301818387803b158015610b5e57600080fd5b505af1158015610b72573d6000803e3d6000fd5b5050505050565b610b8161200a565b73ffffffffffffffffffffffffffffffffffffffff16610b9f611103565b73ffffffffffffffffffffffffffffffffffffffff1614610c2157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600080808515801590610ca257503415155b610d0d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f616d6f756e74732063616e277420626520300000000000000000000000000000604482015290519081900360640190fd5b610d1633612104565b50600254604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101899052905173ffffffffffffffffffffffffffffffffffffffff909216916323b872dd916064808201926020929091908290030181600087803b158015610d9757600080fd5b505af1158015610dab573d6000803e3d6000fd5b505050506040513d6020811015610dc157600080fd5b5050600254600454610dec9173ffffffffffffffffffffffffffffffffffffffff9081169116612221565b610df533611eb9565b5060048054600254604080517ff305d71900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831694810194909452602484018a905260448401899052606484018890523360848501524260a48501525160009384938493169163f305d71991349160c480830192606092919082900301818588803b158015610e9657600080fd5b505af1158015610eaa573d6000803e3d6000fd5b50505050506040513d6060811015610ec157600080fd5b508051602082015160409092015190945090925090506000610ee38a85612386565b1115610f925760025473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33610f128c87612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610f6557600080fd5b505af1158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b50505b91989097509095509350505050565b600254604080517f771a3a1d000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163771a3a1d916004808301926020929190829003018186803b15801561100c57600080fd5b505afa158015611020573d6000803e3d6000fd5b505050506040513d602081101561103657600080fd5b5051905090565b60015473ffffffffffffffffffffffffffffffffffffffff1633146110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60015473ffffffffffffffffffffffffffffffffffffffff16331461118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f9d6b5f2100000000000000000000000000000000000000000000000000000000815260048101849052905173ffffffffffffffffffffffffffffffffffffffff90921691639d6b5f219160248082019260009290919082900301818387803b158015610b5e57600080fd5b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60015460009073ffffffffffffffffffffffffffffffffffffffff163314611291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517fb87c5a4a00000000000000000000000000000000000000000000000000000000815260ff8616600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff9092169163b87c5a4a916044808201926020929091908290030181600087803b158015610a4757600080fd5b60015460009073ffffffffffffffffffffffffffffffffffffffff163314611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b61074b82612104565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517fc6d69a3000000000000000000000000000000000000000000000000000000000815260048101849052905173ffffffffffffffffffffffffffffffffffffffff9092169163c6d69a309160248082019260009290919082900301818387803b158015610b5e57600080fd5b60015473ffffffffffffffffffffffffffffffffffffffff1633146114f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f3f07d76a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015291519190921691633f07d76a91602480830192600092919082900301818387803b158015610b5e57600080fd5b3360009081526005602052604090205460ff166115d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612424602b913960400191505060405180910390fd5b6115de83612104565b50600254604080517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b15801561166357600080fd5b505af1158015611677573d6000803e3d6000fd5b505050506040513d602081101561168d57600080fd5b50610951905083611eb9565b60015473ffffffffffffffffffffffffffffffffffffffff163314611709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600254604080517f75be5ae100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152915191909216916375be5ae191602480830192600092919082900301818387803b158015610b5e57600080fd5b60008080861580159061178f57508515155b6117fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f616d6f756e74732063616e277420626520300000000000000000000000000000604482015290519081900360640190fd5b61180333612104565b50600254604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018a9052905173ffffffffffffffffffffffffffffffffffffffff909216916323b872dd916064808201926020929091908290030181600087803b15801561188457600080fd5b505af1158015611898573d6000803e3d6000fd5b505050506040513d60208110156118ae57600080fd5b5050604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101889052905173ffffffffffffffffffffffffffffffffffffffff8a16916323b872dd9160648083019260209291908290030181600087803b15801561192b57600080fd5b505af115801561193f573d6000803e3d6000fd5b505050506040513d602081101561195557600080fd5b50506002546004546119809173ffffffffffffffffffffffffffffffffffffffff9081169116612221565b6004546119a490899073ffffffffffffffffffffffffffffffffffffffff16612221565b6119ad33611eb9565b5060048054600254604080517fe8e3370000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316948101949094528b82166024850152604484018b9052606484018a90526084840189905260a484018890523360c48501524260e48501525160009384938493169163e8e33700916101048082019260609290919082900301818787803b158015611a5d57600080fd5b505af1158015611a71573d6000803e3d6000fd5b505050506040513d6060811015611a8757600080fd5b508051602082015160409092015190945090925090506000611aa98b85612386565b1115611b585760025473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33611ad88d87612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b2b57600080fd5b505af1158015611b3f573d6000803e3d6000fd5b505050506040513d6020811015611b5557600080fd5b50505b6000611b648a84612386565b1115611c115773ffffffffffffffffffffffffffffffffffffffff8b1663a9059cbb33611b918c86612386565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611be457600080fd5b505af1158015611bf8573d6000803e3d6000fd5b505050506040513d6020811015611c0e57600080fd5b50505b919a90995090975095505050505050565b611c2a61200a565b73ffffffffffffffffffffffffffffffffffffffff16611c48611103565b73ffffffffffffffffffffffffffffffffffffffff1614611cca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611d36576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123fe6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314611e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061247c6024913960400191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ff87fc7c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561093d57600080fd5b600254604080517febca1bd900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529151600093929092169163ebca1bd99160248082019260209290919082900301818787803b158015611f3157600080fd5b505af1158015611f45573d6000803e3d6000fd5b505050506040513d6020811015611f5b57600080fd5b50511561074e57600254604080517f93995d4b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152915191909216916393995d4b9160248083019260209291908290030181600087803b158015611fd757600080fd5b505af1158015611feb573d6000803e3d6000fd5b505050506040513d602081101561200157600080fd5b5051905061074e565b3390565b73ffffffffffffffffffffffffffffffffffffffff811661207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061244f602d913960400191505060405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600254604080517febca1bd900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529151600093929092169163ebca1bd99160248082019260209290919082900301818787803b15801561217c57600080fd5b505af1158015612190573d6000803e3d6000fd5b505050506040513d60208110156121a657600080fd5b505161074e57600254604080517f3758e6ce00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519190921691633758e6ce9160248083019260209291908290030181600087803b158015611fd757600080fd5b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015291519184169163dd62ed3e91604480820192602092909190829003018186803b15801561229757600080fd5b505afa1580156122ab573d6000803e3d6000fd5b505050506040513d60208110156122c157600080fd5b5051612382578173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561235857600080fd5b505af115801561236c573d6000803e3d6000fd5b505050506040513d602081101561095157600080fd5b5050565b6000828211156123f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737341646472657373206e6f7420617070726f76656420666f72207461782066726565207472616e73666572736f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f72a2646970667358221220bc364f6a1927e88ff0dc9651532c823496c4e4932833a16dfd5b9cb483deb52764736f6c634300060c0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.