ETH Price: $2,429.53 (+3.04%)

Contract

0x55C5C6dd599e11391559A7cAC1AB5F04A2401b3f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Try Burnable...154401712022-08-30 11:40:03745 days ago1661859603IN
0x55C5C6dd...4A2401b3f
0 ETH0.000238168.30739302
Set Try Burnable...154401452022-08-30 11:35:28745 days ago1661859328IN
0x55C5C6dd...4A2401b3f
0 ETH0.0003157511.00926584
Work Batch154216692022-08-27 12:52:55748 days ago1661604775IN
0x55C5C6dd...4A2401b3f
0 ETH0.016850986.19007435
Work Batch121665342021-04-03 12:15:191259 days ago1617452119IN
0x55C5C6dd...4A2401b3f
0 ETH0.25386324101.00002
Work Batch118668312021-02-16 8:50:311305 days ago1613465431IN
0x55C5C6dd...4A2401b3f
0 ETH0.22340513130
Work Batch118666812021-02-16 8:17:241305 days ago1613463444IN
0x55C5C6dd...4A2401b3f
0 ETH0.27196702123
Work Batch118398472021-02-12 5:19:441309 days ago1613107184IN
0x55C5C6dd...4A2401b3f
0 ETH0.0053942597.8
Work Solo118215712021-02-09 9:57:521312 days ago1612864672IN
0x55C5C6dd...4A2401b3f
0 ETH0.12164378230
Work Batch118141422021-02-08 6:24:301313 days ago1612765470IN
0x55C5C6dd...4A2401b3f
0 ETH0.1121128396
Work Batch118080652021-02-07 7:53:191314 days ago1612684399IN
0x55C5C6dd...4A2401b3f
0 ETH0.0726546497
Work Solo117883482021-02-04 7:17:091317 days ago1612423029IN
0x55C5C6dd...4A2401b3f
0 ETH0.03538066125.10001112
Work Solo117883422021-02-04 7:16:061317 days ago1612422966IN
0x55C5C6dd...4A2401b3f
0 ETH0.07757559170
Work Solo117836652021-02-03 13:47:041318 days ago1612360024IN
0x55C5C6dd...4A2401b3f
0 ETH0.0640972126
Work Solo117763662021-02-02 10:48:101319 days ago1612262890IN
0x55C5C6dd...4A2401b3f
0 ETH0.0050569693
Work Solo117762942021-02-02 10:33:191319 days ago1612261999IN
0x55C5C6dd...4A2401b3f
0 ETH0.07165846153
Work Solo117710942021-02-01 15:17:391320 days ago1612192659IN
0x55C5C6dd...4A2401b3f
0 ETH0.0393993176
Work Batch117655682021-01-31 18:59:121321 days ago1612119552IN
0x55C5C6dd...4A2401b3f
0 ETH0.0552244683
Work Solo117650992021-01-31 17:18:491321 days ago1612113529IN
0x55C5C6dd...4A2401b3f
0 ETH0.0049482191
Work Solo117650932021-01-31 17:17:551321 days ago1612113475IN
0x55C5C6dd...4A2401b3f
0 ETH0.05310096113
Work Solo117632972021-01-31 10:40:551321 days ago1612089655IN
0x55C5C6dd...4A2401b3f
0 ETH0.0323071378
Work Solo117632952021-01-31 10:40:331321 days ago1612089633IN
0x55C5C6dd...4A2401b3f
0 ETH0.0365317678
Work Batch117598042021-01-30 21:58:191322 days ago1612043899IN
0x55C5C6dd...4A2401b3f
0 ETH0.06648108100.825
Work Solo117592762021-01-30 19:56:471322 days ago1612036607IN
0x55C5C6dd...4A2401b3f
0 ETH0.0355385267.55
Work Solo117580112021-01-30 15:08:021322 days ago1612019282IN
0x55C5C6dd...4A2401b3f
0 ETH0.02197374119.9100016
Work Solo117580102021-01-30 15:07:591322 days ago1612019279IN
0x55C5C6dd...4A2401b3f
0 ETH0.02215699120.9100016
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.37707689 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.03592604 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.03988541 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.03592604 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.01686673 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.04482187 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.00238875 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.08501062 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.02688874 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.0253677 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.01216833 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.0340652 ETH
154216692022-08-27 12:52:55748 days ago1661604775
0x55C5C6dd...4A2401b3f
0.01776141 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.32757348 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.06003958 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.00987608 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.04539062 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.00634139 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.05623333 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.05259333 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.03988541 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.04835687 ETH
121665342021-04-03 12:15:191259 days ago1617452119
0x55C5C6dd...4A2401b3f
0.00885683 ETH
118668312021-02-16 8:50:311305 days ago1613465431
0x55C5C6dd...4A2401b3f
0.16401527 ETH
118668312021-02-16 8:50:311305 days ago1613465431
0x55C5C6dd...4A2401b3f
0.08137881 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UnitradeExecutorRLRV7

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : UnitradeRelay3r.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
import '@openzeppelin/contracts/access/Ownable.sol';
import "../libraries/UniswapV2Library.sol";
import "../interfaces/IUnitradeOrderbook.sol";
import "../interfaces/IChi.sol";
import '../interfaces/Keep3r/IKeep3rV1Mini.sol';
contract UnitradeExecutorRLRV7 is Ownable{

    UnitradeInterface public iUniTrade = UnitradeInterface(
        0xC1bF1B4929DA9303773eCEa5E251fDEc22cC6828
    );

    //change this to relay3r on deploy
    IKeep3rV1Mini public RLR;
    uint public minKeep = 100e18;

    bool TryDeflationaryOrders = false;
    bool public payoutETH = true;
    bool public payoutRLR = true;

    iCHI public CHI = iCHI(0x0000000000004946c0e9F43F4Dee607b0eF1fA1c);

    mapping(address => bool) public tokenOutSkip;
    mapping(address => bool) public tokenInSkip;
    mapping(uint => bool) public orderSkip;


    constructor(address keepertoken) public {
        RLR = IKeep3rV1Mini(keepertoken);
        require(CHI.approve(address(this), uint256(-1)));
    }

    //Custom upkeep modifer with CHI support
    modifier upkeep() {
        uint256 gasStart = gasleft();
        require(RLR.isMinKeeper(msg.sender, minKeep, 0, 0),"!relayer");
        _;
        uint256 gasSpent = 21000 + gasStart - gasleft() + 16 * msg.data.length;
        CHI.freeFromUpTo(address(this), (gasSpent + 14154) / 41947);
        if(payoutRLR) {
            //Payout RLR
            RLR.worked(msg.sender);
        }
    }

    function togglePayETH() public onlyOwner {
        payoutETH = !payoutETH;
    }

    function togglePayRLR() public onlyOwner {
        payoutRLR = !payoutRLR;
    }

    function toggleTokenOutSkip(address token) public onlyOwner {
        tokenOutSkip[token] = !tokenOutSkip[token];
    }

    function toggleTokenInSkip(address token) public onlyOwner {
        tokenInSkip[token] = !tokenInSkip[token];
    }
    function toggleOrder(uint orderid) public onlyOwner {
        orderSkip[orderid] = !orderSkip[orderid];
    }

    function setMinKeep(uint _keep) public onlyOwner {
        minKeep = _keep;
    }

    //Use this to depricate this job to move rlr to another job later
    function destructJob() public onlyOwner {
        //Get the credits for this job first
        uint256 currRLRCreds = RLR.credits(address(this),address(RLR));
        uint256 currETHCreds = RLR.credits(address(this),RLR.ETH());
        //Send out RLR Credits if any
        if(currRLRCreds > 0) {
            //Invoke receipt to send all the credits of job to owner
            RLR.receipt(address(RLR),owner(),currRLRCreds);
        }
        //Send out ETH credits if any
        if (currETHCreds > 0) {
            RLR.receiptETH(owner(),currETHCreds);
        }
        //Finally self destruct the contract after sending the credits
        selfdestruct(payable(owner()));
    }

    function setTryBurnabletokens(bool fTry) public onlyOwner{
        TryDeflationaryOrders = fTry;
    }


    function getIfExecuteable(uint256 i) public view returns (bool) {
        (
            ,
            ,
            address tokenIn,
            address tokenOut,
            uint256 amountInOffered,
            uint256 amountOutExpected,
            uint256 executorFee,
            ,
            OrderState orderState,
            bool deflationary
        ) = iUniTrade.getOrder(i);

        if(executorFee <= 0) return false;//Dont execute unprofitable orders
        if(deflationary && !TryDeflationaryOrders) return false;//Skip deflationary token orders as it is not supported atm
        if(tokenInSkip[tokenIn]) return false;//Skip tokens that are set in mapping
        if(tokenOutSkip[tokenOut]) return false;//Skip tokens that are set in mapping

        address[] memory path = new address[](2);
        path[0] = tokenIn;
        path[1] = tokenOut;

        uint256[] memory amounts = UniswapV2Library.getAmountsOut(
            iUniTrade.uniswapV2Factory(),
            amountInOffered,
            path
        );

        if (amounts[1] >= amountOutExpected && orderState == OrderState.Placed)
            return true;

        return false;
    }

    function hasExecutableOrdersPending() public view returns (bool) {
        for (uint256 i = 0; i < iUniTrade.getActiveOrdersLength() - 1; i++) {
            if (getIfExecuteable(iUniTrade.getActiveOrderId(i))) {
                return true;
            }
        }
        return false;
    }

    //Get count of executable orders
    function getExectuableOrdersCount() public view returns (uint count){
        for (uint256 i = 0; i < iUniTrade.getActiveOrdersLength() - 1; i++) {
            if (getIfExecuteable(iUniTrade.getActiveOrderId(i))) {
                count++;
            }
        }
    }

    function getExecutableOrdersList() public view returns (uint[] memory) {
        uint[] memory orderArr = new uint[](getExectuableOrdersCount());
        uint index = 0;
        for (uint256 i = 0; i < iUniTrade.getActiveOrdersLength() - 1; i++) {
            if (getIfExecuteable(iUniTrade.getActiveOrderId(i))) {
                orderArr[index] = iUniTrade.getActiveOrderId(i);
                index++;
            }
        }
        return orderArr;
    }

    receive() external payable {}

    function sendETHRewards() internal {
        if(!payoutETH) {
            //Transfer received eth to treasury
            (bool success,  ) = payable(owner()).call{value : address(this).balance}("");
            require(success,"!treasurysend");
        }
        else {
            (bool success,  ) = payable(msg.sender).call{value : address(this).balance}("");
            require(success,"!sendETHRewards");
        }
    }

    function workable() public view returns (bool) {
        return hasExecutableOrdersPending();
    }

    //Use this to save on gas
    function workBatch(uint[] memory orderList) public upkeep {
        for (uint256 i = 0; i < orderList.length; i++) {
            iUniTrade.executeOrder(orderList[i]);
        }
        //After order executions send all the eth to relayer
        sendETHRewards();
    }

    function workSolo(uint order) public upkeep {
        iUniTrade.executeOrder(order);
        //After order executions send all the eth to relayer
        sendETHRewards();
    }

    function recoverERC20(address token) public onlyOwner {
        sendERC20(token,owner());
    }

    //Helper functions for handling sending of reward token
    function getTokenBalance(address tokenAddress) public view returns (uint256) {
        return IERC20(tokenAddress).balanceOf(address(this));
    }

    function sendERC20(address tokenAddress,address receiver) internal {
        IERC20(tokenAddress).transfer(receiver, getTokenBalance(tokenAddress));
    }
}

File 2 of 10 : IChi.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
interface iCHI is IERC20 {
    function freeFromUpTo(address from, uint256 value) external returns (uint256);
}

File 3 of 10 : IUnitradeOrderbook.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
enum OrderState {Placed, Cancelled, Executed}

interface UnitradeInterface {
    function cancelOrder(uint256 orderId) external returns (bool);

    function executeOrder(uint256 orderId)
        external
        returns (uint256[] memory amounts);

    function feeDiv() external view returns (uint16);

    function feeMul() external view returns (uint16);

    function getActiveOrderId(uint256 index) external view returns (uint256);

    function getActiveOrdersLength() external view returns (uint256);

    function getOrder(uint256 orderId)
        external
        view
        returns (
            uint8 orderType,
            address maker,
            address tokenIn,
            address tokenOut,
            uint256 amountInOffered,
            uint256 amountOutExpected,
            uint256 executorFee,
            uint256 totalEthDeposited,
            OrderState orderState,
            bool deflationary
        );

    function getOrderIdForAddress(address _address, uint256 index)
        external
        view
        returns (uint256);

    function getOrdersForAddressLength(address _address)
        external
        view
        returns (uint256);

    function incinerator() external view returns (address);

    function owner() external view returns (address);

    function placeOrder(
        uint8 orderType,
        address tokenIn,
        address tokenOut,
        uint256 amountInOffered,
        uint256 amountOutExpected,
        uint256 executorFee
    ) external returns (uint256);

    function renounceOwnership() external;

    function splitDiv() external view returns (uint16);

    function splitMul() external view returns (uint16);

    function staker() external view returns (address);

    function transferOwnership(address newOwner) external;

    function uniswapV2Factory() external view returns (address);

    function uniswapV2Router() external view returns (address);

    function updateFee(uint16 _feeMul, uint16 _feeDiv) external;

    function updateOrder(
        uint256 orderId,
        uint256 amountInOffered,
        uint256 amountOutExpected,
        uint256 executorFee
    ) external returns (bool);

    function updateSplit(uint16 _splitMul, uint16 _splitDiv) external;

    function updateStaker(address newStaker) external;
}

File 4 of 10 : IKeep3rV1Mini.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
interface IKeep3rV1Mini {
    function isKeeper(address) external returns (bool);
    function worked(address keeper) external;
    function totalBonded() external view returns (uint);
    function bonds(address keeper, address credit) external view returns (uint);
    function votes(address keeper) external view returns (uint);
    function isMinKeeper(address keeper, uint minBond, uint earned, uint age) external returns (bool);
    function addCreditETH(address job) external payable;
    function credits(address job, address credit) external view returns (uint);
    function receipt(address credit, address keeper, uint amount) external;
    function ETH() external view returns (address);
    function receiptETH(address keeper, uint amount) external;
}

File 5 of 10 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 6 of 10 : UniswapV2Library.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
import '@openzeppelin/contracts/math/SafeMath.sol';
import '../interfaces/Uniswap/IUniswapV2Pair.sol';

library UniswapV2Library {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 8 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 9 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 10 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {
    "": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"keepertoken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"CHI","outputs":[{"internalType":"contract iCHI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RLR","outputs":[{"internalType":"contract IKeep3rV1Mini","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"destructJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getExectuableOrdersCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExecutableOrdersList","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getIfExecuteable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasExecutableOrdersPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"iUniTrade","outputs":[{"internalType":"contract UnitradeInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minKeep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"orderSkip","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutETH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutRLR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keep","type":"uint256"}],"name":"setMinKeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"fTry","type":"bool"}],"name":"setTryBurnabletokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderid","type":"uint256"}],"name":"toggleOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePayETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePayRLR","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"toggleTokenInSkip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"toggleTokenOutSkip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenInSkip","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenOutSkip","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"orderList","type":"uint256[]"}],"name":"workBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"order","type":"uint256"}],"name":"workSolo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001805473c1bf1b4929da9303773ecea5e251fdec22cc68286001600160a01b031990911617905568056bc75e2d63100000600355600480546201000061010061ffff199092169190911762ff00001916176301000000600160b81b031916704946c0e9f43f4dee607b0ef1fa1c0000001790553480156200008557600080fd5b50604051620025ee380380620025ee83398181016040526020811015620000ab57600080fd5b50516000620000b9620001ba565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b0319166001600160a01b0383811691909117909155600480546040805163095ea7b360e01b8152309381019390935260001960248401525163010000009091049092169163095ea7b3916044808201926020929091908290030181600087803b1580156200017b57600080fd5b505af115801562000190573d6000803e3d6000fd5b505050506040513d6020811015620001a757600080fd5b5051620001b357600080fd5b50620001be565b3390565b61242080620001ce6000396000f3fe6080604052600436106101c65760003560e01c806376fbeea1116100f7578063ae7dedd111610095578063d69c3ba111610064578063d69c3ba11461060f578063f2fde38b14610624578063f4cf7a1914610657578063f5987bdf14610681576101cd565b8063ae7dedd114610573578063b47aca8014610588578063c88fa159146105bb578063cedfd59e146105e5576101cd565b80638da5cb5b116100d15780638da5cb5b146104d55780638ef79a0c146104ea578063962c2da5146105165780639e8c708e14610540576101cd565b806376fbeea11461048157806380bb2bac146104965780638805cbd2146104ab576101cd565b80633fc3db0811610164578063659382fb1161013e578063659382fb146104115780636a5b266d146104265780636a661eb514610457578063715018a61461046c576101cd565b80633fc3db08146103a057806357cd3022146103b55780635be1482a146103ca576101cd565b80631ba13884116101a05780631ba138841461027557806325e6bfaa146103255780632deb6be5146103585780633aecd0e31461036d576101cd565b80630488e414146101d257806309f33a701461023757806311a9b1281461024e576101cd565b366101cd57005b600080fd5b3480156101de57600080fd5b506101e76106b4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022357818101518382015260200161020b565b505050509050019250505060405180910390f35b34801561024357600080fd5b5061024c6108b5565b005b34801561025a57600080fd5b50610263610baa565b60408051918252519081900360200190f35b34801561028157600080fd5b5061024c6004803603602081101561029857600080fd5b8101906020810181356401000000008111156102b357600080fd5b8201836020820111156102c557600080fd5b803590602001918460208302840111640100000000831117156102e757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610bb0945050505050565b34801561033157600080fd5b5061024c6004803603602081101561034857600080fd5b50356001600160a01b0316610f06565b34801561036457600080fd5b5061024c610f87565b34801561037957600080fd5b506102636004803603602081101561039057600080fd5b50356001600160a01b0316610ffe565b3480156103ac57600080fd5b5061024c611081565b3480156103c157600080fd5b506102636110f6565b3480156103d657600080fd5b506103fd600480360360208110156103ed57600080fd5b50356001600160a01b03166111e2565b604080519115158252519081900360200190f35b34801561041d57600080fd5b506103fd6111f7565b34801561043257600080fd5b5061043b611205565b604080516001600160a01b039092168252519081900360200190f35b34801561046357600080fd5b506103fd61121b565b34801561047857600080fd5b5061024c61130e565b34801561048d57600080fd5b5061043b6113b0565b3480156104a257600080fd5b506103fd6113bf565b3480156104b757600080fd5b5061024c600480360360208110156104ce57600080fd5b50356113ce565b3480156104e157600080fd5b5061043b611446565b3480156104f657600080fd5b5061024c6004803603602081101561050d57600080fd5b50351515611455565b34801561052257600080fd5b5061024c6004803603602081101561053957600080fd5b50356114c0565b34801561054c57600080fd5b5061024c6004803603602081101561056357600080fd5b50356001600160a01b03166116b6565b34801561057f57600080fd5b5061043b611722565b34801561059457600080fd5b5061024c600480360360208110156105ab57600080fd5b50356001600160a01b0316611731565b3480156105c757600080fd5b5061024c600480360360208110156105de57600080fd5b50356117b2565b3480156105f157600080fd5b506103fd6004803603602081101561060857600080fd5b503561180f565b34801561061b57600080fd5b506103fd611824565b34801561063057600080fd5b5061024c6004803603602081101561064757600080fd5b50356001600160a01b0316611833565b34801561066357600080fd5b506103fd6004803603602081101561067a57600080fd5b503561192b565b34801561068d57600080fd5b506103fd600480360360208110156106a457600080fd5b50356001600160a01b0316611bd1565b6060806106bf6110f6565b67ffffffffffffffff811180156106d557600080fd5b506040519080825280602002602001820160405280156106ff578160200160208202803683370190505b5090506000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561075557600080fd5b505afa158015610769573d6000803e3d6000fd5b505050506040513d602081101561077f57600080fd5b5051038110156108ac5760015460408051636e4ca4ab60e01b8152600481018490529051610807926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b505afa1580156107ea573d6000803e3d6000fd5b505050506040513d602081101561080057600080fd5b505161192b565b156108a45760015460408051636e4ca4ab60e01b81526004810184905290516001600160a01b0390921691636e4ca4ab91602480820192602092909190829003018186803b15801561085857600080fd5b505afa15801561086c573d6000803e3d6000fd5b505050506040513d602081101561088257600080fd5b5051835184908490811061089257fe5b60209081029190910101526001909101905b600101610706565b50909150505b90565b6108bd611be6565b6000546001600160a01b0390811691161461090d576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b60025460408051630637cd7f60e41b81523060048201526001600160a01b0390921660248301819052905160009263637cd7f0916044808301926020929190829003018186803b15801561096057600080fd5b505afa158015610974573d6000803e3d6000fd5b505050506040513d602081101561098a57600080fd5b5051600254604080516341917ff960e11b815290519293506000926001600160a01b039092169163637cd7f09130918491638322fff2916004808301926020929190829003018186803b1580156109e057600080fd5b505afa1580156109f4573d6000803e3d6000fd5b505050506040513d6020811015610a0a57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d6020811015610a8457600080fd5b505190508115610b18576002546001600160a01b0316638d9acd2e81610aa8611446565b856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015610aff57600080fd5b505af1158015610b13573d6000803e3d6000fd5b505050505b8015610b97576002546001600160a01b0316632119a62a610b37611446565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610b7e57600080fd5b505af1158015610b92573d6000803e3d6000fd5b505050505b610b9f611446565b6001600160a01b0316ff5b60035481565b60005a60025460035460408051630ffaf9ed60e11b815233600482015260248101929092526000604483018190526064830181905290519394506001600160a01b0390921692631ff5f3da92608480840193602093929083900390910190829087803b158015610c1f57600080fd5b505af1158015610c33573d6000803e3d6000fd5b505050506040513d6020811015610c4957600080fd5b5051610c87576040805162461bcd60e51b815260206004820152600860248201526710b932b630bcb2b960c11b604482015290519081900360640190fd5b60005b8251811015610dcb5760015483516001600160a01b03909116906394f6113490859084908110610cb657fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610cf457600080fd5b505af1158015610d08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610d3157600080fd5b8101908080516040519392919084640100000000821115610d5157600080fd5b908301906020820185811115610d6657600080fd5b8251866020820283011164010000000082111715610d8357600080fd5b82525081516020918201928201910280838360005b83811015610db0578181015183820152602001610d98565b50505050905001604052505050508080600101915050610c8a565b50610dd4611bea565b6000601036025a836152080103019050600460039054906101000a90046001600160a01b03166001600160a01b031663079d229f3061a3db8461374a0181610e1857fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e5f57600080fd5b505af1158015610e73573d6000803e3d6000fd5b505050506040513d6020811015610e8957600080fd5b505060045462010000900460ff1615610f0157600254604080516317fbade560e21b815233600482015290516001600160a01b0390921691635feeb7949160248082019260009290919082900301818387803b158015610ee857600080fd5b505af1158015610efc573d6000803e3d6000fd5b505050505b505050565b610f0e611be6565b6000546001600160a01b03908116911614610f5e576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19811660ff90911615179055565b610f8f611be6565b6000546001600160a01b03908116911614610fdf576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805462ff0000198116620100009182900460ff1615909102179055565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561104d57600080fd5b505afa158015611061573d6000803e3d6000fd5b505050506040513d602081101561107757600080fd5b505190505b919050565b611089611be6565b6000546001600160a01b039081169116146110d9576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805461ff001981166101009182900460ff1615909102179055565b6000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561114957600080fd5b505afa15801561115d573d6000803e3d6000fd5b505050506040513d602081101561117357600080fd5b5051038110156111de5760015460408051636e4ca4ab60e01b81526004810184905290516111ca926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b156111d6576001909101905b6001016110fa565b5090565b60066020526000908152604090205460ff1681565b600454610100900460ff1681565b600454630100000090046001600160a01b031681565b6000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561126e57600080fd5b505afa158015611282573d6000803e3d6000fd5b505050506040513d602081101561129857600080fd5b5051038110156113065760015460408051636e4ca4ab60e01b81526004810184905290516112ef926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b156112fe5760019150506108b2565b60010161121f565b506000905090565b611316611be6565b6000546001600160a01b03908116911614611366576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031681565b60006113c961121b565b905090565b6113d6611be6565b6000546001600160a01b03908116911614611426576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6000908152600760205260409020805460ff19811660ff90911615179055565b6000546001600160a01b031690565b61145d611be6565b6000546001600160a01b039081169116146114ad576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805460ff1916911515919091179055565b60005a60025460035460408051630ffaf9ed60e11b815233600482015260248101929092526000604483018190526064830181905290519394506001600160a01b0390921692631ff5f3da92608480840193602093929083900390910190829087803b15801561152f57600080fd5b505af1158015611543573d6000803e3d6000fd5b505050506040513d602081101561155957600080fd5b5051611597576040805162461bcd60e51b815260206004820152600860248201526710b932b630bcb2b960c11b604482015290519081900360640190fd5b6001546040805163253d844d60e21b81526004810185905290516001600160a01b03909216916394f611349160248082019260009290919082900301818387803b1580156115e457600080fd5b505af11580156115f8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561162157600080fd5b810190808051604051939291908464010000000082111561164157600080fd5b90830190602082018581111561165657600080fd5b825186602082028301116401000000008211171561167357600080fd5b82525081516020918201928201910280838360005b838110156116a0578181015183820152602001611688565b5050505090500160405250505050610dd4611bea565b6116be611be6565b6000546001600160a01b0390811691161461170e576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b61171f8161171a611446565b611d30565b50565b6002546001600160a01b031681565b611739611be6565b6000546001600160a01b03908116911614611789576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19811660ff90911615179055565b6117ba611be6565b6000546001600160a01b0390811691161461180a576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b600355565b60076020526000908152604090205460ff1681565b60045462010000900460ff1681565b61183b611be6565b6000546001600160a01b0390811691161461188b576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b0381166118d05760405162461bcd60e51b815260040180806020018281038252602681526020018061230c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080600080600080600160009054906101000a90046001600160a01b03166001600160a01b031663d09ef2418a6040518263ffffffff1660e01b8152600401808281526020019150506101406040518083038186803b15801561199157600080fd5b505afa1580156119a5573d6000803e3d6000fd5b505050506040513d6101408110156119bc57600080fd5b5060408101516060820151608083015160a084015160c085015161010086015161012090960151949c50929a5090985096509450909250905082611a0a57600097505050505050505061107c565b808015611a1a575060045460ff16155b15611a2f57600097505050505050505061107c565b6001600160a01b03871660009081526006602052604090205460ff1615611a6057600097505050505050505061107c565b6001600160a01b03861660009081526005602052604090205460ff1615611a9157600097505050505050505061107c565b60408051600280825260608083018452926020830190803683370190505090508781600081518110611abf57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508681600181518110611aed57fe5b6001600160a01b03928316602091820292909201810191909152600154604080516359d0f71360e01b81529051606094611b78949316926359d0f7139260048082019391829003018186803b158015611b4557600080fd5b505afa158015611b59573d6000803e3d6000fd5b505050506040513d6020811015611b6f57600080fd5b50518884611dbf565b90508581600181518110611b8857fe5b602002602001015110158015611ba957506000846002811115611ba757fe5b145b15611bc0576001995050505050505050505061107c565b5060009a9950505050505050505050565b60056020526000908152604090205460ff1681565b3390565b600454610100900460ff16611c9f576000611c03611446565b6040516001600160a01b0391909116904790600081818185875af1925050503d8060008114611c4e576040519150601f19603f3d011682016040523d82523d6000602084013e611c53565b606091505b5050905080611c99576040805162461bcd60e51b815260206004820152600d60248201526c085d1c99585cdd5c9e5cd95b99609a1b604482015290519081900360640190fd5b50611d2e565b604051600090339047908381818185875af1925050503d8060008114611ce1576040519150601f19603f3d011682016040523d82523d6000602084013e611ce6565b606091505b505090508061171f576040805162461bcd60e51b815260206004820152600f60248201526e2173656e644554485265776172647360881b604482015290519081900360640190fd5b565b816001600160a01b031663a9059cbb82611d4985610ffe565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d8f57600080fd5b505af1158015611da3573d6000803e3d6000fd5b505050506040513d6020811015611db957600080fd5b50505050565b6060600282511015611e18576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015611e3057600080fd5b50604051908082528060200260200182016040528015611e5a578160200160208202803683370190505b5090508281600081518110611e6b57fe5b60200260200101818152505060005b6001835103811015611f0357600080611ebd87868581518110611e9957fe5b6020026020010151878660010181518110611eb057fe5b6020026020010151611f0b565b91509150611edf848481518110611ed057fe5b60200260200101518383611fd9565b848460010181518110611eee57fe5b60209081029190910101525050600101611e7a565b509392505050565b6000806000611f1a85856120b1565b509050600080611f2b88888861218f565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611f6357600080fd5b505afa158015611f77573d6000803e3d6000fd5b505050506040513d6060811015611f8d57600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b0387811690841614611fc7578082611fca565b81815b90999098509650505050505050565b60008084116120195760405162461bcd60e51b815260040180806020018281038252602b8152602001806123c0602b913960400191505060405180910390fd5b6000831180156120295750600082115b6120645760405162461bcd60e51b81526004018080602001828103825260288152602001806123576028913960400191505060405180910390fd5b6000612072856103e561224f565b90506000612080828561224f565b9050600061209a83612094886103e861224f565b906122b1565b90508082816120a557fe5b04979650505050505050565b600080826001600160a01b0316846001600160a01b031614156121055760405162461bcd60e51b81526004018080602001828103825260258152602001806123326025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610612125578284612128565b83835b90925090506001600160a01b038216612188576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b600080600061219e85856120b1565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60008261225e575060006122ab565b8282028284828161226b57fe5b04146122a85760405162461bcd60e51b815260040180806020018281038252602181526020018061237f6021913960400191505060405180910390fd5b90505b92915050565b6000828201838110156122a8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220fe196aed4e2452ce6f75e3bc14336d0820facdba823a09f5cb0865c35d70ab1f64736f6c634300060c00330000000000000000000000000e3ef895c59e7db27214ab5bbf56347ce115a3f4

Deployed Bytecode

0x6080604052600436106101c65760003560e01c806376fbeea1116100f7578063ae7dedd111610095578063d69c3ba111610064578063d69c3ba11461060f578063f2fde38b14610624578063f4cf7a1914610657578063f5987bdf14610681576101cd565b8063ae7dedd114610573578063b47aca8014610588578063c88fa159146105bb578063cedfd59e146105e5576101cd565b80638da5cb5b116100d15780638da5cb5b146104d55780638ef79a0c146104ea578063962c2da5146105165780639e8c708e14610540576101cd565b806376fbeea11461048157806380bb2bac146104965780638805cbd2146104ab576101cd565b80633fc3db0811610164578063659382fb1161013e578063659382fb146104115780636a5b266d146104265780636a661eb514610457578063715018a61461046c576101cd565b80633fc3db08146103a057806357cd3022146103b55780635be1482a146103ca576101cd565b80631ba13884116101a05780631ba138841461027557806325e6bfaa146103255780632deb6be5146103585780633aecd0e31461036d576101cd565b80630488e414146101d257806309f33a701461023757806311a9b1281461024e576101cd565b366101cd57005b600080fd5b3480156101de57600080fd5b506101e76106b4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022357818101518382015260200161020b565b505050509050019250505060405180910390f35b34801561024357600080fd5b5061024c6108b5565b005b34801561025a57600080fd5b50610263610baa565b60408051918252519081900360200190f35b34801561028157600080fd5b5061024c6004803603602081101561029857600080fd5b8101906020810181356401000000008111156102b357600080fd5b8201836020820111156102c557600080fd5b803590602001918460208302840111640100000000831117156102e757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610bb0945050505050565b34801561033157600080fd5b5061024c6004803603602081101561034857600080fd5b50356001600160a01b0316610f06565b34801561036457600080fd5b5061024c610f87565b34801561037957600080fd5b506102636004803603602081101561039057600080fd5b50356001600160a01b0316610ffe565b3480156103ac57600080fd5b5061024c611081565b3480156103c157600080fd5b506102636110f6565b3480156103d657600080fd5b506103fd600480360360208110156103ed57600080fd5b50356001600160a01b03166111e2565b604080519115158252519081900360200190f35b34801561041d57600080fd5b506103fd6111f7565b34801561043257600080fd5b5061043b611205565b604080516001600160a01b039092168252519081900360200190f35b34801561046357600080fd5b506103fd61121b565b34801561047857600080fd5b5061024c61130e565b34801561048d57600080fd5b5061043b6113b0565b3480156104a257600080fd5b506103fd6113bf565b3480156104b757600080fd5b5061024c600480360360208110156104ce57600080fd5b50356113ce565b3480156104e157600080fd5b5061043b611446565b3480156104f657600080fd5b5061024c6004803603602081101561050d57600080fd5b50351515611455565b34801561052257600080fd5b5061024c6004803603602081101561053957600080fd5b50356114c0565b34801561054c57600080fd5b5061024c6004803603602081101561056357600080fd5b50356001600160a01b03166116b6565b34801561057f57600080fd5b5061043b611722565b34801561059457600080fd5b5061024c600480360360208110156105ab57600080fd5b50356001600160a01b0316611731565b3480156105c757600080fd5b5061024c600480360360208110156105de57600080fd5b50356117b2565b3480156105f157600080fd5b506103fd6004803603602081101561060857600080fd5b503561180f565b34801561061b57600080fd5b506103fd611824565b34801561063057600080fd5b5061024c6004803603602081101561064757600080fd5b50356001600160a01b0316611833565b34801561066357600080fd5b506103fd6004803603602081101561067a57600080fd5b503561192b565b34801561068d57600080fd5b506103fd600480360360208110156106a457600080fd5b50356001600160a01b0316611bd1565b6060806106bf6110f6565b67ffffffffffffffff811180156106d557600080fd5b506040519080825280602002602001820160405280156106ff578160200160208202803683370190505b5090506000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561075557600080fd5b505afa158015610769573d6000803e3d6000fd5b505050506040513d602081101561077f57600080fd5b5051038110156108ac5760015460408051636e4ca4ab60e01b8152600481018490529051610807926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b505afa1580156107ea573d6000803e3d6000fd5b505050506040513d602081101561080057600080fd5b505161192b565b156108a45760015460408051636e4ca4ab60e01b81526004810184905290516001600160a01b0390921691636e4ca4ab91602480820192602092909190829003018186803b15801561085857600080fd5b505afa15801561086c573d6000803e3d6000fd5b505050506040513d602081101561088257600080fd5b5051835184908490811061089257fe5b60209081029190910101526001909101905b600101610706565b50909150505b90565b6108bd611be6565b6000546001600160a01b0390811691161461090d576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b60025460408051630637cd7f60e41b81523060048201526001600160a01b0390921660248301819052905160009263637cd7f0916044808301926020929190829003018186803b15801561096057600080fd5b505afa158015610974573d6000803e3d6000fd5b505050506040513d602081101561098a57600080fd5b5051600254604080516341917ff960e11b815290519293506000926001600160a01b039092169163637cd7f09130918491638322fff2916004808301926020929190829003018186803b1580156109e057600080fd5b505afa1580156109f4573d6000803e3d6000fd5b505050506040513d6020811015610a0a57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d6020811015610a8457600080fd5b505190508115610b18576002546001600160a01b0316638d9acd2e81610aa8611446565b856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015610aff57600080fd5b505af1158015610b13573d6000803e3d6000fd5b505050505b8015610b97576002546001600160a01b0316632119a62a610b37611446565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610b7e57600080fd5b505af1158015610b92573d6000803e3d6000fd5b505050505b610b9f611446565b6001600160a01b0316ff5b60035481565b60005a60025460035460408051630ffaf9ed60e11b815233600482015260248101929092526000604483018190526064830181905290519394506001600160a01b0390921692631ff5f3da92608480840193602093929083900390910190829087803b158015610c1f57600080fd5b505af1158015610c33573d6000803e3d6000fd5b505050506040513d6020811015610c4957600080fd5b5051610c87576040805162461bcd60e51b815260206004820152600860248201526710b932b630bcb2b960c11b604482015290519081900360640190fd5b60005b8251811015610dcb5760015483516001600160a01b03909116906394f6113490859084908110610cb657fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610cf457600080fd5b505af1158015610d08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610d3157600080fd5b8101908080516040519392919084640100000000821115610d5157600080fd5b908301906020820185811115610d6657600080fd5b8251866020820283011164010000000082111715610d8357600080fd5b82525081516020918201928201910280838360005b83811015610db0578181015183820152602001610d98565b50505050905001604052505050508080600101915050610c8a565b50610dd4611bea565b6000601036025a836152080103019050600460039054906101000a90046001600160a01b03166001600160a01b031663079d229f3061a3db8461374a0181610e1857fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e5f57600080fd5b505af1158015610e73573d6000803e3d6000fd5b505050506040513d6020811015610e8957600080fd5b505060045462010000900460ff1615610f0157600254604080516317fbade560e21b815233600482015290516001600160a01b0390921691635feeb7949160248082019260009290919082900301818387803b158015610ee857600080fd5b505af1158015610efc573d6000803e3d6000fd5b505050505b505050565b610f0e611be6565b6000546001600160a01b03908116911614610f5e576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19811660ff90911615179055565b610f8f611be6565b6000546001600160a01b03908116911614610fdf576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805462ff0000198116620100009182900460ff1615909102179055565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561104d57600080fd5b505afa158015611061573d6000803e3d6000fd5b505050506040513d602081101561107757600080fd5b505190505b919050565b611089611be6565b6000546001600160a01b039081169116146110d9576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805461ff001981166101009182900460ff1615909102179055565b6000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561114957600080fd5b505afa15801561115d573d6000803e3d6000fd5b505050506040513d602081101561117357600080fd5b5051038110156111de5760015460408051636e4ca4ab60e01b81526004810184905290516111ca926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b156111d6576001909101905b6001016110fa565b5090565b60066020526000908152604090205460ff1681565b600454610100900460ff1681565b600454630100000090046001600160a01b031681565b6000805b60018060009054906101000a90046001600160a01b03166001600160a01b031663d89dd46d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561126e57600080fd5b505afa158015611282573d6000803e3d6000fd5b505050506040513d602081101561129857600080fd5b5051038110156113065760015460408051636e4ca4ab60e01b81526004810184905290516112ef926001600160a01b031691636e4ca4ab916024808301926020929190829003018186803b1580156107d657600080fd5b156112fe5760019150506108b2565b60010161121f565b506000905090565b611316611be6565b6000546001600160a01b03908116911614611366576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031681565b60006113c961121b565b905090565b6113d6611be6565b6000546001600160a01b03908116911614611426576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6000908152600760205260409020805460ff19811660ff90911615179055565b6000546001600160a01b031690565b61145d611be6565b6000546001600160a01b039081169116146114ad576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6004805460ff1916911515919091179055565b60005a60025460035460408051630ffaf9ed60e11b815233600482015260248101929092526000604483018190526064830181905290519394506001600160a01b0390921692631ff5f3da92608480840193602093929083900390910190829087803b15801561152f57600080fd5b505af1158015611543573d6000803e3d6000fd5b505050506040513d602081101561155957600080fd5b5051611597576040805162461bcd60e51b815260206004820152600860248201526710b932b630bcb2b960c11b604482015290519081900360640190fd5b6001546040805163253d844d60e21b81526004810185905290516001600160a01b03909216916394f611349160248082019260009290919082900301818387803b1580156115e457600080fd5b505af11580156115f8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561162157600080fd5b810190808051604051939291908464010000000082111561164157600080fd5b90830190602082018581111561165657600080fd5b825186602082028301116401000000008211171561167357600080fd5b82525081516020918201928201910280838360005b838110156116a0578181015183820152602001611688565b5050505090500160405250505050610dd4611bea565b6116be611be6565b6000546001600160a01b0390811691161461170e576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b61171f8161171a611446565b611d30565b50565b6002546001600160a01b031681565b611739611be6565b6000546001600160a01b03908116911614611789576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19811660ff90911615179055565b6117ba611be6565b6000546001600160a01b0390811691161461180a576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b600355565b60076020526000908152604090205460ff1681565b60045462010000900460ff1681565b61183b611be6565b6000546001600160a01b0390811691161461188b576040805162461bcd60e51b815260206004820181905260248201526000805160206123a0833981519152604482015290519081900360640190fd5b6001600160a01b0381166118d05760405162461bcd60e51b815260040180806020018281038252602681526020018061230c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080600080600080600160009054906101000a90046001600160a01b03166001600160a01b031663d09ef2418a6040518263ffffffff1660e01b8152600401808281526020019150506101406040518083038186803b15801561199157600080fd5b505afa1580156119a5573d6000803e3d6000fd5b505050506040513d6101408110156119bc57600080fd5b5060408101516060820151608083015160a084015160c085015161010086015161012090960151949c50929a5090985096509450909250905082611a0a57600097505050505050505061107c565b808015611a1a575060045460ff16155b15611a2f57600097505050505050505061107c565b6001600160a01b03871660009081526006602052604090205460ff1615611a6057600097505050505050505061107c565b6001600160a01b03861660009081526005602052604090205460ff1615611a9157600097505050505050505061107c565b60408051600280825260608083018452926020830190803683370190505090508781600081518110611abf57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508681600181518110611aed57fe5b6001600160a01b03928316602091820292909201810191909152600154604080516359d0f71360e01b81529051606094611b78949316926359d0f7139260048082019391829003018186803b158015611b4557600080fd5b505afa158015611b59573d6000803e3d6000fd5b505050506040513d6020811015611b6f57600080fd5b50518884611dbf565b90508581600181518110611b8857fe5b602002602001015110158015611ba957506000846002811115611ba757fe5b145b15611bc0576001995050505050505050505061107c565b5060009a9950505050505050505050565b60056020526000908152604090205460ff1681565b3390565b600454610100900460ff16611c9f576000611c03611446565b6040516001600160a01b0391909116904790600081818185875af1925050503d8060008114611c4e576040519150601f19603f3d011682016040523d82523d6000602084013e611c53565b606091505b5050905080611c99576040805162461bcd60e51b815260206004820152600d60248201526c085d1c99585cdd5c9e5cd95b99609a1b604482015290519081900360640190fd5b50611d2e565b604051600090339047908381818185875af1925050503d8060008114611ce1576040519150601f19603f3d011682016040523d82523d6000602084013e611ce6565b606091505b505090508061171f576040805162461bcd60e51b815260206004820152600f60248201526e2173656e644554485265776172647360881b604482015290519081900360640190fd5b565b816001600160a01b031663a9059cbb82611d4985610ffe565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d8f57600080fd5b505af1158015611da3573d6000803e3d6000fd5b505050506040513d6020811015611db957600080fd5b50505050565b6060600282511015611e18576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015611e3057600080fd5b50604051908082528060200260200182016040528015611e5a578160200160208202803683370190505b5090508281600081518110611e6b57fe5b60200260200101818152505060005b6001835103811015611f0357600080611ebd87868581518110611e9957fe5b6020026020010151878660010181518110611eb057fe5b6020026020010151611f0b565b91509150611edf848481518110611ed057fe5b60200260200101518383611fd9565b848460010181518110611eee57fe5b60209081029190910101525050600101611e7a565b509392505050565b6000806000611f1a85856120b1565b509050600080611f2b88888861218f565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611f6357600080fd5b505afa158015611f77573d6000803e3d6000fd5b505050506040513d6060811015611f8d57600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b0387811690841614611fc7578082611fca565b81815b90999098509650505050505050565b60008084116120195760405162461bcd60e51b815260040180806020018281038252602b8152602001806123c0602b913960400191505060405180910390fd5b6000831180156120295750600082115b6120645760405162461bcd60e51b81526004018080602001828103825260288152602001806123576028913960400191505060405180910390fd5b6000612072856103e561224f565b90506000612080828561224f565b9050600061209a83612094886103e861224f565b906122b1565b90508082816120a557fe5b04979650505050505050565b600080826001600160a01b0316846001600160a01b031614156121055760405162461bcd60e51b81526004018080602001828103825260258152602001806123326025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610612125578284612128565b83835b90925090506001600160a01b038216612188576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b600080600061219e85856120b1565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60008261225e575060006122ab565b8282028284828161226b57fe5b04146122a85760405162461bcd60e51b815260040180806020018281038252602181526020018061237f6021913960400191505060405180910390fd5b90505b92915050565b6000828201838110156122a8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220fe196aed4e2452ce6f75e3bc14336d0820facdba823a09f5cb0865c35d70ab1f64736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000e3ef895c59e7db27214ab5bbf56347ce115a3f4

-----Decoded View---------------
Arg [0] : keepertoken (address): 0x0E3EF895c59E7Db27214AB5bbf56347cE115A3f4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000e3ef895c59e7db27214ab5bbf56347ce115a3f4


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.