ETH Price: $3,110.17 (+1.39%)
Gas: 19 Gwei

Contract

0x280ac711bb99dE7C73FB70fb6DE29846D5e4207F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Convert164612972023-01-22 8:58:11535 days ago1674377891IN
0x280ac711...6D5e4207F
0 ETH0.003439714.2
Convert164611672023-01-22 8:31:47535 days ago1674376307IN
0x280ac711...6D5e4207F
0 ETH0.0030247714.2
Convert164610952023-01-22 8:17:11535 days ago1674375431IN
0x280ac711...6D5e4207F
0 ETH0.0034527714.2
Convert164610922023-01-22 8:16:35535 days ago1674375395IN
0x280ac711...6D5e4207F
0 ETH0.0034744414.2
Convert164608982023-01-22 7:37:35535 days ago1674373055IN
0x280ac711...6D5e4207F
0 ETH0.0033943114
Convert164607142023-01-22 7:00:23535 days ago1674370823IN
0x280ac711...6D5e4207F
0 ETH0.0035454814
Convert164606732023-01-22 6:51:59535 days ago1674370319IN
0x280ac711...6D5e4207F
0 ETH0.0033971914
Convert164605942023-01-22 6:36:11535 days ago1674369371IN
0x280ac711...6D5e4207F
0 ETH0.0033943114
Convert164605542023-01-22 6:28:11535 days ago1674368891IN
0x280ac711...6D5e4207F
0 ETH0.0035834614.2
Convert164605322023-01-22 6:23:47535 days ago1674368627IN
0x280ac711...6D5e4207F
0 ETH0.0038510514.2
Convert164605142023-01-22 6:20:11535 days ago1674368411IN
0x280ac711...6D5e4207F
0 ETH0.0030094614.2
Convert164604902023-01-22 6:15:23535 days ago1674368123IN
0x280ac711...6D5e4207F
0 ETH0.0029782514.2
Convert164604362023-01-22 6:04:35535 days ago1674367475IN
0x280ac711...6D5e4207F
0 ETH0.0030621414.6
Convert164601632023-01-22 5:09:59535 days ago1674364199IN
0x280ac711...6D5e4207F
0 ETH0.0030910514.6
Convert116378102021-01-12 3:49:301275 days ago1610423370IN
0x280ac711...6D5e4207F
0 ETH0.0211498578
Convert116253712021-01-10 6:12:411277 days ago1610259161IN
0x280ac711...6D5e4207F
0 ETH0.0303386169
Convert115852552021-01-04 2:21:141283 days ago1609726874IN
0x280ac711...6D5e4207F
0 ETH0.0324529100
Convert115851252021-01-04 1:53:161283 days ago1609725196IN
0x280ac711...6D5e4207F
0 ETH0.0455126100
Convert115837922021-01-03 20:45:121283 days ago1609706712IN
0x280ac711...6D5e4207F
0 ETH0.0312634102
Convert115803792021-01-03 8:24:341284 days ago1609662274IN
0x280ac711...6D5e4207F
0 ETH0.0440427695
Convert115802452021-01-03 7:58:211284 days ago1609660701IN
0x280ac711...6D5e4207F
0 ETH0.0407568285
Convert115782792021-01-03 0:29:151284 days ago1609633755IN
0x280ac711...6D5e4207F
0 ETH0.021980478
Convert115782762021-01-03 0:28:311284 days ago1609633711IN
0x280ac711...6D5e4207F
0 ETH0.0234578778
Convert115782752021-01-03 0:28:051284 days ago1609633685IN
0x280ac711...6D5e4207F
0 ETH0.0206433476
Convert115782662021-01-03 0:24:131284 days ago1609633453IN
0x280ac711...6D5e4207F
0 ETH0.0294896781
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SushiMaker

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-29
*/

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol
/**
 * @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: @openzeppelin/contracts/utils/Address.sol
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/uniswapv2/interfaces/IUniswapV2ERC20.sol
interface IUniswapV2ERC20 {
    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;
}

// File: contracts/uniswapv2/interfaces/IUniswapV2Pair.sol
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;
}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function migrator() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
    function setMigrator(address) external;
}

contract SushiMaker {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IUniswapV2Factory public constant factory = IUniswapV2Factory(0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac);
    address public constant bar = 0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272;
    address public constant sushi = 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2;
    address public constant weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    function convert(address token0, address token1) public {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");
        
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token0, token1));
        pair.transfer(address(pair), pair.balanceOf(address(this)));
        (uint amount0, uint amount1) = pair.burn(address(this));
        uint256 wethAmount = _toWETH(token0, amount0) + _toWETH(token1, amount1);
        _toSUSHI(wethAmount);
    }

    function _toWETH(address token, uint amountIn) internal returns (uint256) {
        if (token == sushi) {
            _safeTransfer(token, bar, amountIn);
            return 0;
        }
        if (token == weth) {
            _safeTransfer(token, factory.getPair(weth, sushi), amountIn);
            return amountIn;
        }
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token, weth));
        if (address(pair) == address(0)) {
            return 0;
        }
        (uint reserve0, uint reserve1,) = pair.getReserves();
        address token0 = pair.token0();
        (uint reserveIn, uint reserveOut) = token0 == token ? (reserve0, reserve1) : (reserve1, reserve0);
        uint amountInWithFee = amountIn.mul(997);
        uint amountOut = amountInWithFee.mul(reserveOut) / reserveIn.mul(1000).add(amountInWithFee);
        (uint amount0Out, uint amount1Out) = token0 == token ? (uint(0), amountOut) : (amountOut, uint(0));
        _safeTransfer(token, address(pair), amountIn);
        pair.swap(amount0Out, amount1Out, factory.getPair(weth, sushi), new bytes(0));
        return amountOut;
    }

    function _toSUSHI(uint256 amountIn) internal {
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(weth, sushi));
        (uint reserve0, uint reserve1,) = pair.getReserves();
        address token0 = pair.token0();
        (uint reserveIn, uint reserveOut) = token0 == weth ? (reserve0, reserve1) : (reserve1, reserve0);
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        uint amountOut = numerator / denominator;
        (uint amount0Out, uint amount1Out) = token0 == weth ? (uint(0), amountOut) : (amountOut, uint(0));
        pair.swap(amount0Out, amount1Out, bar, new bytes(0));
    }

    function _safeTransfer(address token, address to, uint256 amount) internal {
        IERC20(token).safeTransfer(to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"bar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"convert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506110a0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630a0879031461005c5780633fc8cef314610080578063bd1b820c14610088578063c45a0155146100b8578063febb0f7e146100c0575b600080fd5b6100646100c8565b604080516001600160a01b039092168252519081900360200190f35b6100646100e0565b6100b66004803603604081101561009e57600080fd5b506001600160a01b03813581169160200135166100f8565b005b610064610384565b61006461039c565b736b3595068778dd592e39a122f4f5a5cf09c90fe281565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b33321461014c576040805162461bcd60e51b815260206004820152601c60248201527f646f206e6f7420636f6e766572742066726f6d20636f6e747261637400000000604482015290519081900360640190fd5b6040805163e6a4390560e01b81526001600160a01b03848116600483015283166024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b1580156101b257600080fd5b505afa1580156101c6573d6000803e3d6000fd5b505050506040513d60208110156101dc57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b0383169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b15801561023157600080fd5b505afa158015610245573d6000803e3d6000fd5b505050506040513d602081101561025b57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156102ac57600080fd5b505af11580156102c0573d6000803e3d6000fd5b505050506040513d60208110156102d657600080fd5b50506040805163226bf2d160e21b8152306004820152815160009283926001600160a01b038616926389afcb449260248084019391929182900301818787803b15801561032257600080fd5b505af1158015610336573d6000803e3d6000fd5b505050506040513d604081101561034c57600080fd5b5080516020909101519092509050600061036685836103b4565b61037087856103b4565b01905061037c816108de565b505050505050565b73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac81565b738798249c2e607446efb7ad49ec89dd1865ff427281565b60006001600160a01b038316736b3595068778dd592e39a122f4f5a5cf09c90fe21415610402576103fa83738798249c2e607446efb7ad49ec89dd1865ff427284610c53565b5060006108d8565b6001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214156104e5576040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe2602482015290516104de91859173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a43905916044808301926020929190829003018186803b1580156104ac57600080fd5b505afa1580156104c0573d6000803e3d6000fd5b505050506040513d60208110156104d657600080fd5b505184610c53565b50806108d8565b6040805163e6a4390560e01b81526001600160a01b038516600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561055d57600080fd5b505afa158015610571573d6000803e3d6000fd5b505050506040513d602081101561058757600080fd5b505190506001600160a01b0381166105a35760009150506108d8565b600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156105df57600080fd5b505afa1580156105f3573d6000803e3d6000fd5b505050506040513d606081101561060957600080fd5b50805160209182015160408051630dfe168160e01b815290516001600160701b0393841696509290911693506000926001600160a01b03871692630dfe1681926004808201939291829003018186803b15801561066557600080fd5b505afa158015610679573d6000803e3d6000fd5b505050506040513d602081101561068f57600080fd5b505190506000806001600160a01b03808416908a16146106b05783856106b3565b84845b909250905060006106c6896103e5610c6c565b905060006106e0826106da866103e8610c6c565b90610ccc565b6106ea8385610c6c565b816106f157fe5b0490506000808c6001600160a01b0316876001600160a01b0316146107185782600061071c565b6000835b9150915061072b8d8b8e610c53565b6040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe2602482015290516001600160a01b038c169163022c0d9f918591859173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a43905916044808301926020929190829003018186803b1580156107bf57600080fd5b505afa1580156107d3573d6000803e3d6000fd5b505050506040513d60208110156107e957600080fd5b50516040805160008082526020820190925290506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561086457818101518382015260200161084c565b50505050905090810190601f1680156108915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156108b357600080fd5b505af11580156108c7573d6000803e3d6000fd5b50949c505050505050505050505050505b92915050565b6040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe26024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561096157600080fd5b505afa158015610975573d6000803e3d6000fd5b505050506040513d602081101561098b57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b1580156109d657600080fd5b505afa1580156109ea573d6000803e3d6000fd5b505050506040513d6060811015610a0057600080fd5b50805160209182015160408051630dfe168160e01b815290516001600160701b0393841696509290911693506000926001600160a01b03871692630dfe1681926004808201939291829003018186803b158015610a5c57600080fd5b505afa158015610a70573d6000803e3d6000fd5b505050506040513d6020811015610a8657600080fd5b505190506000806001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214610ab8578385610abb565b84845b90925090506000610ace886103e5610c6c565b90506000610adc8284610c6c565b90506000610af0836106da876103e8610c6c565b90506000818381610afd57fe5b0490506000806001600160a01b03891673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214610b2f57826000610b33565b6000835b604080516000808252602082019092529294509092506001600160a01b038e169163022c0d9f9185918591738798249c2e607446efb7ad49ec89dd1865ff42729190506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610bdd578181015183820152602001610bc5565b50505050905090810190601f168015610c0a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610c2c57600080fd5b505af1158015610c40573d6000803e3d6000fd5b5050505050505050505050505050505050565b610c676001600160a01b0384168383610d26565b505050565b600082610c7b575060006108d8565b82820282848281610c8857fe5b0414610cc55760405162461bcd60e51b81526004018080602001828103825260218152602001806110206021913960400191505060405180910390fd5b9392505050565b600082820183811015610cc5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c679084906060610dc8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e249092919063ffffffff16565b805190915015610c6757808060200190516020811015610de757600080fd5b5051610c675760405162461bcd60e51b815260040180806020018281038252602a815260200180611041602a913960400191505060405180910390fd5b6060610e338484600085610e3b565b949350505050565b6060610e4685610fe6565b610e97576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ed65780518252601f199092019160209182019101610eb7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610f38576040519150601f19603f3d011682016040523d82523d6000602084013e610f3d565b606091505b50915091508115610f51579150610e339050565b805115610f615780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fab578181015183820152602001610f93565b50505050905090810190601f168015610fd85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e3357505015159291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212205e0d9da6e6b85604a3d85593d665aad24bf052cfc20d85e125881e81251f97fc64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100575760003560e01c80630a0879031461005c5780633fc8cef314610080578063bd1b820c14610088578063c45a0155146100b8578063febb0f7e146100c0575b600080fd5b6100646100c8565b604080516001600160a01b039092168252519081900360200190f35b6100646100e0565b6100b66004803603604081101561009e57600080fd5b506001600160a01b03813581169160200135166100f8565b005b610064610384565b61006461039c565b736b3595068778dd592e39a122f4f5a5cf09c90fe281565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b33321461014c576040805162461bcd60e51b815260206004820152601c60248201527f646f206e6f7420636f6e766572742066726f6d20636f6e747261637400000000604482015290519081900360640190fd5b6040805163e6a4390560e01b81526001600160a01b03848116600483015283166024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b1580156101b257600080fd5b505afa1580156101c6573d6000803e3d6000fd5b505050506040513d60208110156101dc57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b0383169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b15801561023157600080fd5b505afa158015610245573d6000803e3d6000fd5b505050506040513d602081101561025b57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156102ac57600080fd5b505af11580156102c0573d6000803e3d6000fd5b505050506040513d60208110156102d657600080fd5b50506040805163226bf2d160e21b8152306004820152815160009283926001600160a01b038616926389afcb449260248084019391929182900301818787803b15801561032257600080fd5b505af1158015610336573d6000803e3d6000fd5b505050506040513d604081101561034c57600080fd5b5080516020909101519092509050600061036685836103b4565b61037087856103b4565b01905061037c816108de565b505050505050565b73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac81565b738798249c2e607446efb7ad49ec89dd1865ff427281565b60006001600160a01b038316736b3595068778dd592e39a122f4f5a5cf09c90fe21415610402576103fa83738798249c2e607446efb7ad49ec89dd1865ff427284610c53565b5060006108d8565b6001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214156104e5576040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe2602482015290516104de91859173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a43905916044808301926020929190829003018186803b1580156104ac57600080fd5b505afa1580156104c0573d6000803e3d6000fd5b505050506040513d60208110156104d657600080fd5b505184610c53565b50806108d8565b6040805163e6a4390560e01b81526001600160a01b038516600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561055d57600080fd5b505afa158015610571573d6000803e3d6000fd5b505050506040513d602081101561058757600080fd5b505190506001600160a01b0381166105a35760009150506108d8565b600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156105df57600080fd5b505afa1580156105f3573d6000803e3d6000fd5b505050506040513d606081101561060957600080fd5b50805160209182015160408051630dfe168160e01b815290516001600160701b0393841696509290911693506000926001600160a01b03871692630dfe1681926004808201939291829003018186803b15801561066557600080fd5b505afa158015610679573d6000803e3d6000fd5b505050506040513d602081101561068f57600080fd5b505190506000806001600160a01b03808416908a16146106b05783856106b3565b84845b909250905060006106c6896103e5610c6c565b905060006106e0826106da866103e8610c6c565b90610ccc565b6106ea8385610c6c565b816106f157fe5b0490506000808c6001600160a01b0316876001600160a01b0316146107185782600061071c565b6000835b9150915061072b8d8b8e610c53565b6040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe2602482015290516001600160a01b038c169163022c0d9f918591859173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a43905916044808301926020929190829003018186803b1580156107bf57600080fd5b505afa1580156107d3573d6000803e3d6000fd5b505050506040513d60208110156107e957600080fd5b50516040805160008082526020820190925290506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561086457818101518382015260200161084c565b50505050905090810190601f1680156108915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156108b357600080fd5b505af11580156108c7573d6000803e3d6000fd5b50949c505050505050505050505050505b92915050565b6040805163e6a4390560e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26004820152736b3595068778dd592e39a122f4f5a5cf09c90fe26024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561096157600080fd5b505afa158015610975573d6000803e3d6000fd5b505050506040513d602081101561098b57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b1580156109d657600080fd5b505afa1580156109ea573d6000803e3d6000fd5b505050506040513d6060811015610a0057600080fd5b50805160209182015160408051630dfe168160e01b815290516001600160701b0393841696509290911693506000926001600160a01b03871692630dfe1681926004808201939291829003018186803b158015610a5c57600080fd5b505afa158015610a70573d6000803e3d6000fd5b505050506040513d6020811015610a8657600080fd5b505190506000806001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214610ab8578385610abb565b84845b90925090506000610ace886103e5610c6c565b90506000610adc8284610c6c565b90506000610af0836106da876103e8610c6c565b90506000818381610afd57fe5b0490506000806001600160a01b03891673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214610b2f57826000610b33565b6000835b604080516000808252602082019092529294509092506001600160a01b038e169163022c0d9f9185918591738798249c2e607446efb7ad49ec89dd1865ff42729190506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610bdd578181015183820152602001610bc5565b50505050905090810190601f168015610c0a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610c2c57600080fd5b505af1158015610c40573d6000803e3d6000fd5b5050505050505050505050505050505050565b610c676001600160a01b0384168383610d26565b505050565b600082610c7b575060006108d8565b82820282848281610c8857fe5b0414610cc55760405162461bcd60e51b81526004018080602001828103825260218152602001806110206021913960400191505060405180910390fd5b9392505050565b600082820183811015610cc5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c679084906060610dc8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e249092919063ffffffff16565b805190915015610c6757808060200190516020811015610de757600080fd5b5051610c675760405162461bcd60e51b815260040180806020018281038252602a815260200180611041602a913960400191505060405180910390fd5b6060610e338484600085610e3b565b949350505050565b6060610e4685610fe6565b610e97576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ed65780518252601f199092019160209182019101610eb7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610f38576040519150601f19603f3d011682016040523d82523d6000602084013e610f3d565b606091505b50915091508115610f51579150610e339050565b805115610f615780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fab578181015183820152602001610f93565b50505050905090810190601f168015610fd85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e3357505015159291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212205e0d9da6e6b85604a3d85593d665aad24bf052cfc20d85e125881e81251f97fc64736f6c634300060c0033

Deployed Bytecode Sourcemap

22466:3037:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22752:74;;;:::i;:::-;;;;-1:-1:-1;;;;;22752:74:0;;;;;;;;;;;;;;22833:73;;;:::i;22915:543::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22915:543:0;;;;;;;;;;:::i;:::-;;22561:105;;;:::i;22673:72::-;;;:::i;22752:74::-;22784:42;22752:74;:::o;22833:73::-;22864:42;22833:73;:::o;22915:543::-;23054:10;23068:9;23054:23;23046:64;;;;;-1:-1:-1;;;23046:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23168:31;;;-1:-1:-1;;;23168:31:0;;-1:-1:-1;;;;;23168:31:0;;;;;;;;;;;;;;;23131:19;;22623:42;;23168:15;;:31;;;;;;;;;;;;;;;22623:42;23168:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23168:31:0;23240:29;;;-1:-1:-1;;;23240:29:0;;23263:4;23240:29;;;;;;23168:31;;-1:-1:-1;;;;;;23211:13:0;;;;;23168:31;;23211:13;;23240:14;;:29;;;;;23168:31;;23240:29;;;;;;;23211:13;23240:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23240:29:0;23211:59;;;-1:-1:-1;;;;;;23211:59:0;;;;;;;-1:-1:-1;;;;;23211:59:0;;;;;;;;;;;;;;;;;;;;23240:29;;23211:59;;;;;;;-1:-1:-1;23211:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23312:24:0;;;-1:-1:-1;;;23312:24:0;;23330:4;23312:24;;;;;;23282:12;;;;-1:-1:-1;;;;;23312:9:0;;;;;:24;;;;;;;;;;;;;23282:12;23312:9;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23312:24:0;;;;;;;;;-1:-1:-1;23312:24:0;-1:-1:-1;23347:18:0;23395:24;23403:6;23312:24;23395:7;:24::i;:::-;23368;23376:6;23384:7;23368;:24::i;:::-;:51;23347:72;;23430:20;23439:10;23430:8;:20::i;:::-;22915:543;;;;;;:::o;22561:105::-;22623:42;22561:105;:::o;22673:72::-;22703:42;22673:72;:::o;23466:1143::-;23531:7;-1:-1:-1;;;;;23555:14:0;;22784:42;23555:14;23551:105;;;23586:35;23600:5;22703:42;23612:8;23586:13;:35::i;:::-;-1:-1:-1;23643:1:0;23636:8;;23551:105;-1:-1:-1;;;;;23670:13:0;;22864:42;23670:13;23666:136;;;23721:28;;;-1:-1:-1;;;23721:28:0;;22864:42;23721:28;;;;22784:42;23721:28;;;;;;23700:60;;23714:5;;22623:42;;23721:15;;:28;;;;;;;;;;;;;;22623:42;23721:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23721:28:0;23751:8;23700:13;:60::i;:::-;-1:-1:-1;23782:8:0;23775:15;;23666:136;23849:28;;;-1:-1:-1;;;23849:28:0;;-1:-1:-1;;;;;23849:28:0;;;;;;22864:42;23849:28;;;;;;23812:19;;22623:42;;23849:15;;:28;;;;;;;;;;;;;;;22623:42;23849:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23849:28:0;;-1:-1:-1;;;;;;23893:27:0;;23889:68;;23944:1;23937:8;;;;;23889:68;23968:13;23983;24001:4;-1:-1:-1;;;;;24001:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24001:18:0;;;;;;;;24047:13;;-1:-1:-1;;;24047:13:0;;;;-1:-1:-1;;;;;23967:52:0;;;;-1:-1:-1;23967:52:0;;;;;-1:-1:-1;24030:14:0;;-1:-1:-1;;;;;24047:11:0;;;;;:13;;;;;24001:18;24047:13;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24047:13:0;;-1:-1:-1;24072:14:0;;-1:-1:-1;;;;;24107:15:0;;;;;;;:61;;24149:8;24159;24107:61;;;24126:8;24136;24107:61;24071:97;;-1:-1:-1;24071:97:0;-1:-1:-1;24179:20:0;24202:17;:8;24215:3;24202:12;:17::i;:::-;24179:40;-1:-1:-1;24230:14:0;24281:40;24179;24281:19;:9;24295:4;24281:13;:19::i;:::-;:23;;:40::i;:::-;24247:31;:15;24267:10;24247:19;:31::i;:::-;:74;;;;;;24230:91;;24333:15;24350;24379:5;-1:-1:-1;;;;;24369:15:0;:6;-1:-1:-1;;;;;24369:15:0;;:61;;24411:9;24427:1;24369:61;;;24393:1;24397:9;24369:61;24332:98;;;;24441:45;24455:5;24470:4;24477:8;24441:13;:45::i;:::-;24531:28;;;-1:-1:-1;;;24531:28:0;;22864:42;24531:28;;;;22784:42;24531:28;;;;;;-1:-1:-1;;;;;24497:9:0;;;;;24507:10;;24519;;22623:42;;24531:15;;:28;;;;;;;;;;;;;;22623:42;24531:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24531:28:0;24561:12;;;24571:1;24561:12;;;;;;;;;;;24497:77;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24497:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24592:9:0;;-1:-1:-1;;;;;;;;;;;;;23466:1143:0;;;;;:::o;24617:743::-;24710:28;;;-1:-1:-1;;;24710:28:0;;22864:42;24710:28;;;;22784:42;24710:28;;;;;;24673:19;;22623:42;;24710:15;;:28;;;;;;;;;;;;;;;22623:42;24710:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24710:28:0;24784:18;;;-1:-1:-1;;;24784:18:0;;;;24710:28;;-1:-1:-1;24751:13:0;;;;-1:-1:-1;;;;;24784:16:0;;;;;:18;;;;;;;;;;;;;;;:16;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24784:18:0;;;;;;;;24830:13;;-1:-1:-1;;;24830:13:0;;;;-1:-1:-1;;;;;24750:52:0;;;;-1:-1:-1;24750:52:0;;;;;-1:-1:-1;24813:14:0;;-1:-1:-1;;;;;24830:11:0;;;;;:13;;;;;24784:18;24830:13;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24830:13:0;;-1:-1:-1;24855:14:0;;-1:-1:-1;;;;;24890:14:0;;22864:42;24890:14;:60;;24931:8;24941;24890:60;;;24908:8;24918;24890:60;24854:96;;-1:-1:-1;24854:96:0;-1:-1:-1;24961:20:0;24984:17;:8;24997:3;24984:12;:17::i;:::-;24961:40;-1:-1:-1;25012:14:0;25029:31;24961:40;25049:10;25029:19;:31::i;:::-;25012:48;-1:-1:-1;25071:16:0;25090:40;25114:15;25090:19;:9;25104:4;25090:13;:19::i;:40::-;25071:59;;25141:14;25170:11;25158:9;:23;;;;;;;-1:-1:-1;25193:15:0;;-1:-1:-1;;;;;25229:14:0;;22864:42;25229:14;:60;;25270:9;25286:1;25229:60;;;25252:1;25256:9;25229:60;25339:12;;;25349:1;25339:12;;;;;;;;;25192:97;;-1:-1:-1;25192:97:0;;-1:-1:-1;;;;;;25300:9:0;;;;;25192:97;;;;22703:42;;25339:12;;25300:52;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25300:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24617:743;;;;;;;;;;;;;:::o;25368:132::-;25454:38;-1:-1:-1;;;;;25454:26:0;;25481:2;25485:6;25454:26;:38::i;:::-;25368:132;;;:::o;4986:471::-;5044:7;5289:6;5285:47;;-1:-1:-1;5319:1:0;5312:8;;5285:47;5356:5;;;5360:1;5356;:5;:1;5380:5;;;;;:10;5372:56;;;;-1:-1:-1;;;5372:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5448:1;4986:471;-1:-1:-1;;;4986:471:0:o;3632:181::-;3690:7;3722:5;;;3746:6;;;;3738:46;;;;;-1:-1:-1;;;3738:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14922:177;15032:58;;;-1:-1:-1;;;;;15032:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15032:58:0;-1:-1:-1;;;15032:58:0;;;15005:86;;15025:5;;17651:23;17677:69;17705:4;17677:69;;;;;;;;;;;;;;;;;17685:5;-1:-1:-1;;;;;17677:27:0;;;:69;;;;;:::i;:::-;17761:17;;17651:95;;-1:-1:-1;17761:21:0;17757:224;;17903:10;17892:30;;;;;;;;;;;;;;;-1:-1:-1;17892:30:0;17884:85;;;;-1:-1:-1;;;17884:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11940:196;12043:12;12075:53;12098:6;12106:4;12112:1;12115:12;12075:22;:53::i;:::-;12068:60;11940:196;-1:-1:-1;;;;11940:196:0:o;13317:979::-;13447:12;13480:18;13491:6;13480:10;:18::i;:::-;13472:60;;;;;-1:-1:-1;;;13472:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13606:12;13620:23;13647:6;-1:-1:-1;;;;;13647:11:0;13667:8;13678:4;13647:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13647:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13605:78;;;;13698:7;13694:595;;;13729:10;-1:-1:-1;13722:17:0;;-1:-1:-1;13722:17:0;13694:595;13843:17;;:21;13839:439;;14106:10;14100:17;14167:15;14154:10;14150:2;14146:19;14139:44;14054:148;14249:12;14242:20;;-1:-1:-1;;;14242:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8825:619;8885:4;9353:20;;9196:66;9393:23;;;;;;:42;;-1:-1:-1;;9420:15:0;;;9385:51;-1:-1:-1;;8825:619:0:o

Swarm Source

ipfs://5e0d9da6e6b85604a3d85593d665aad24bf052cfc20d85e125881e81251f97fc

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
Chain Token Portfolio % Price Amount Value
ETH13.67%$299.870.4118$123.49
ETH10.54%$121.410.7844$95.24
ETH10.50%$13.097.2468$94.89
ETH9.21%$13.955.966$83.25
ETH8.82%$794.370.1003$79.67
ETH6.20%$121.240.4623$56.05
ETH5.74%$110.760.4679$51.82
ETH5.12%$59.30.7793$46.22
ETH4.89%$83.150.5313$44.17
ETH3.23%$121.890.2393$29.17
ETH3.08%$128,566,781.420.000000216412$27.82
ETH2.65%$460,814,199,811.260.0000000000518654$23.9
ETH1.98%$24.690.7239$17.87
ETH1.95%$110.140.1601$17.64
ETH1.70%$8.621.7798$15.34
ETH1.67%$56.790.265$15.05
ETH1.33%$3,109.830.00387142$12.04
ETH1.32%$2,014,528.850.00000593$11.95
ETH0.83%$76.960.0975$7.5
ETH0.54%$116.210.0416$4.84
ETH0.48%$4,323,235,733.140.000000001$4.32
ETH0.47%$70,200.390.0000607$4.26
ETH0.47%$18.340.2309$4.24
ETH0.41%$2,321,338.440.00000161$3.73
ETH0.35%$4,338,352.420.000000736566$3.2
ETH0.31%$19.440.1434$2.79
ETH0.31%$13,277.910.00020853$2.77
ETH0.29%$531,185,709,892,3630.000000000000004853$2.58
ETH0.24%$62,307,000.190.000000034463$2.15
ETH0.23%$3,238,398.710.000000640812$2.08
ETH0.22%$129.450.0152$1.97
ETH0.22%$1.671.1771$1.96
ETH0.16%$89.560.0165$1.48
ETH0.14%$5,611,821.640.00000022321$1.25
ETH0.12%$4.690.2229$1.05
ETH0.08%$275.50.00260088$0.7165
ETH0.06%$0.002225226.62$0.5042
ETH0.05%$4.890.0979$0.4789
ETH0.05%$0.04343710.8386$0.4707
ETH0.05%$0.00509688.358$0.4503
ETH0.04%$0.0931164.3346$0.4036
ETH0.04%$3,216,710.640.000000112496$0.3618
ETH0.03%$0.00514154.7415$0.2814
ETH0.03%$814,571.90.000000325389$0.265
ETH0.03%$2,527,432.840.000000096351$0.2435
ETH0.02%$2,318,285.70.000000081903$0.1898
ETH0.02%$1,189.690.0001563$0.1859
ETH0.02%$1,078,942.50.000000154504$0.1667
ETH0.02%$5.560.0285$0.1583
ETH0.02%$657.890.00022717$0.1494
ETH0.01%$38.980.00341952$0.1333
ETH0.01%$64,400,620.480.000000001965$0.1265
ETH0.01%$266,059,736.870.000000000468$0.1245
ETH0.01%$893,808.40.000000135149$0.1207
ETH0.01%$4,254,077.320.000000025234$0.1073
ETH0.01%$181,828.890.000000566407$0.1029
Loading...
Loading
[ 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.