Contract 0xe1a2CD535C4e7d9C2C187e529f9f491cceA41e07

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfaba1c0a07a25c1e13b4c0ae726e4ca47cc8667ea774b06570605f781571fc54Convert Multiple122869062021-11-01 21:17:2029 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.016596515
0x0a4c7d70698e97dbe546b4142ac2474ccb6e366d2eb1b31fb10c741f0e3efbbfConvert Multiple122868982021-11-01 21:16:5429 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012506395
0x5526e6c52f518e0f524ffc514eb819cbf2847d5babbfb53e1fc4fd3e69cbe3f6Convert Multiple122868902021-11-01 21:16:3029 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01247842
0x82c3941332c6ec2bb14059614d72c4ffea5435326e9c321ebed41cc13dbc7bb4Convert Multiple122868772021-11-01 21:15:5129 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012727525
0x7538bb32483e6e03c8696484f22525251552aeb55fead41bf69b439ec11f9c21Convert Multiple122868652021-11-01 21:15:1529 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01264645
0x6b6050ad3b91b8a0c0b66bbe39779a9e48c2768d8a3b6cfd40a7b8f1c17a2155Convert Multiple122868542021-11-01 21:14:4229 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012975095
0x2883f82e8a62c485794469486c8f9be9ccbc6a3999a001ac4f11c264097b7684Convert Multiple122868442021-11-01 21:14:1229 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01122591
0x7d42a625bbd509acf746696f99c495d8a24e7efa74f26f484ed04b5d11f57617Convert Multiple114869292021-10-04 19:04:2157 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.0166557
0xcd69b2d2d60d680004015bae0bb3775f9f7832a968ccc3a9da56b9d7b73215c3Convert Multiple114869092021-10-04 19:03:2157 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012193845
0x6a7cd1fd59686c05b41670dad6dab99d434f8978eb81354b2f8bf653d3f792daConvert Multiple114868882021-10-04 19:02:1857 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012326545
0xc4e8b425672891ad6eb0e8e5d78aef145103e88cc2df86ba078f26077fb0dafcConvert Multiple114868702021-10-04 19:01:2457 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012610115
0xb8b7d6669735155297216e3902d4de112b3d3e3a80cdf4f121c4ec6129bff717Convert Multiple114868602021-10-04 19:00:5457 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012533225
0xd0c170bdd4da919c7548ca9539ddab851b6a5c4ea76ae9e7e90b2ca455a432a9Convert Multiple114868452021-10-04 19:00:0957 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01323623
0x63f3b15de5442221092e3256d1502abb7f54344fee36f5879e82e765fea11e23Convert Multiple114868342021-10-04 18:59:3657 days 12 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.011236615
0xe73abc6cb7973c8a504930b5ba80821318a3ea297c49eca5358b66cbf5390132Convert Multiple105454152021-09-01 20:42:5390 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01557214
0x16bc96c3d1ca8fc28e73ae5509a744f0bcfcce5026b8f90dd36b95b7e1da3db0Convert Multiple105453302021-09-01 20:38:1290 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01251529
0xd8a181394b5df651dbdaa4fdbba67953e2f1172f54091bac755f74eb34c37a1fConvert Multiple105452432021-09-01 20:33:3090 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01233118
0x7cc5b7532100239d3bc4d1a5eefb926c8b3ccdce9e7598df56e1715a2e4fbb65Convert Multiple105452292021-09-01 20:32:4890 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.013408075
0x2b2e5564f906a5be12daa5f723630ed492065044c481dec9e2e89ccc3dcafb8aConvert Multiple105452172021-09-01 20:32:1290 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01282587
0xcff7f8dd03e22f48bbd8a87e5032e38767433951e70d7613db522d888dc11757Convert Multiple105452002021-09-01 20:31:2190 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.012298715
0x8ac976211e6a50cb60cc7d5a4ad8fbeab5a89511b7214669795406c754a03bfbConvert Multiple105451612021-09-01 20:29:2490 days 10 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.01131331
0xebcef1cdadffdd74388f3b5d4bcfc1c135d699af98026cba18c16ea3d405f295Convert99470182021-08-11 21:07:54111 days 10 hrs ago0x8905c50651e629f89f5fc3d8a58ddf6c7f137771 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.0013373
0x407f3848a9784068c62c77efc97d3c4c0f15d73f473d08a1971564e1fa028a2fConvert99468122021-08-11 20:55:22111 days 10 hrs ago0x8905c50651e629f89f5fc3d8a58ddf6c7f137771 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.00179602
0x0c76aedce5eb9758e975b1d78dc0228b963f8ce573ee9a5b6683b324c4ad0f76Convert Multiple96580242021-08-01 12:09:47121 days 19 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.00336692
0xd86e82e0aff3a0ca2bfd1eedb41ac54d40ab0e9340e4363cf63b9a888018d51cConvert96579662021-08-01 12:06:23121 days 19 hrs ago0x2461901dd38afd1cbe5465f24f24910d0e781714 IN  0xe1a2cd535c4e7d9c2c187e529f9f491ccea41e070 BNB0.00149341
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BambooMaker

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-24
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

/*
 * @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: browser/Ownable.sol

pragma solidity ^0.6.0;

/**
 * @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;
    }
}

pragma solidity ^0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}
// File: browser/IUniswapV2Factory.sol

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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: browser/IUniswapV2ERC20.sol

pragma solidity ^0.6.0;

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: browser/Address.sol

pragma solidity ^0.6.2;

/**
 * @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");
    }
}
// File: browser/IERC20.sol

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);
}
// File: browser/SafeERC20.sol


pragma solidity ^0.6.0;


/**
 * @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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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: browser/SafeMath.sol

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: browser/SushiMaker.sol

// P1 - P3: OK
pragma solidity ^0.6.12;


// BambooMaker is Panda's left hand and kinda a wizard. He gives more Panda's to those who hold Bamboo!
// This contract handles "serving up" rewards for Bamboo holders by trading tokens collected from fees for Panda.

// T1 - T4: OK
contract BambooMaker is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // V1 - V5: OK
    IUniswapV2Factory public factory;
    //0x9Ad32bf5DaFe152Cbe027398219611DB4E8753B3
    // V1 - V5: OK
    address public bar;
    //0x1E7AAB293FC9265f225CA0da9ac80e2A189B3CCb
    // V1 - V5: OK
    address private sushi;
    //0x47DcC83a14aD53Ed1f13d3CaE8AA4115f07557C0
    // V1 - V5: OK
    address private weth;
    //0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c

    // V1 - V5: OK
    mapping(address => address) internal _bridges;

    // E1: OK
    event LogBridgeSet(address indexed token, address indexed bridge);
    // E1: OK
    event LogConvert(
        address indexed server,
        address indexed token0,
        address indexed token1,
        uint256 amount0,
        uint256 amount1,
        uint256 amountSUSHI
    );

    constructor(
        address _factory,
        address _bar,
        address _sushi,
        address _weth
    ) public {
        factory = IUniswapV2Factory(_factory);
        bar = _bar;
        sushi = _sushi;
        weth = _weth;
    }

    // F1 - F10: OK
    // C1 - C24: OK
    function bridgeFor(address token) public view returns (address bridge) {
        bridge = _bridges[token];
        if (bridge == address(0)) {
            bridge = weth;
        }
    }

    // F1 - F10: OK
    // C1 - C24: OK
    function setBridge(address token, address bridge) external onlyOwner {
        // Checks
        require(
            token != sushi && token != weth && token != bridge,
            "BambooMaker: Invalid bridge"
        );

        // Effects
        _bridges[token] = bridge;
        emit LogBridgeSet(token, bridge);
    }

    // M1 - M5: OK
    // C1 - C24: OK
    // C6: It's not a fool proof solution, but it prevents flash loans, so here it's ok to use tx.origin
    modifier onlyEOA() {
        // Try to make flash-loan exploit harder to do by only allowing externally owned addresses.
        require(msg.sender == tx.origin, "BambooMaker: must use EOA");
        _;
    }

    // F1 - F10: OK
    // F3: _convert is separate to save gas by only checking the 'onlyEOA' modifier once in case of convertMultiple
    // F6: There is an exploit to add lots of SUSHI to the bar, run convert, then remove the SUSHI again.
    //     As the size of the SushiBar has grown, this requires large amounts of funds and isn't super profitable anymore
    //     The onlyEOA modifier prevents this being done with a flash loan.
    // C1 - C24: OK
    function convert(address token0, address token1) external onlyEOA() {
        _convert(token0, token1);
    }

    // F1 - F10: OK, see convert
    // C1 - C24: OK
    // C3: Loop is under control of the caller
    function convertMultiple(
        address[] calldata token0,
        address[] calldata token1
    ) external onlyEOA() {
        // TODO: This can be optimized a fair bit, but this is safer and simpler for now
        uint256 len = token0.length;
        for (uint256 i = 0; i < len; i++) {
            _convert(token0[i], token1[i]);
        }
    }

    // F1 - F10: OK
    // C1- C24: OK
    function _convert(address token0, address token1) internal {
        // Interactions
        // S1 - S4: OK
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token0, token1));
        require(address(pair) != address(0), "BambooMaker: Invalid pair");
        // balanceOf: S1 - S4: OK
        // transfer: X1 - X5: OK
        IERC20(address(pair)).safeTransfer(
            address(pair),
            pair.balanceOf(address(this))
        );
        // X1 - X5: OK
        (uint256 amount0, uint256 amount1) = pair.burn(address(this));
        if (token0 != pair.token0()) {
            (amount0, amount1) = (amount1, amount0);
        }
        emit LogConvert(
            msg.sender,
            token0,
            token1,
            amount0,
            amount1,
            _convertStep(token0, token1, amount0, amount1)
        );
    }

    // F1 - F10: OK
    // C1 - C24: OK
    // All safeTransfer, _swap, _toSUSHI, _convertStep: X1 - X5: OK
    function _convertStep(
        address token0,
        address token1,
        uint256 amount0,
        uint256 amount1
    ) internal returns (uint256 sushiOut) {
        // Interactions
        if (token0 == token1) {
            uint256 amount = amount0.add(amount1);
            if (token0 == sushi) {
                IERC20(sushi).safeTransfer(bar, amount);
                sushiOut = amount;
            } else if (token0 == weth) {
                sushiOut = _toSUSHI(weth, amount);
            } else {
                address bridge = bridgeFor(token0);
                amount = _swap(token0, bridge, amount, address(this));
                sushiOut = _convertStep(bridge, bridge, amount, 0);
            }
        } else if (token0 == sushi) {
            // eg. SUSHI - ETH
            IERC20(sushi).safeTransfer(bar, amount0);
            sushiOut = _toSUSHI(token1, amount1).add(amount0);
        } else if (token1 == sushi) {
            // eg. USDT - SUSHI
            IERC20(sushi).safeTransfer(bar, amount1);
            sushiOut = _toSUSHI(token0, amount0).add(amount1);
        } else if (token0 == weth) {
            // eg. ETH - USDC
            sushiOut = _toSUSHI(
                weth,
                _swap(token1, weth, amount1, address(this)).add(amount0)
            );
        } else if (token1 == weth) {
            // eg. USDT - ETH
            sushiOut = _toSUSHI(
                weth,
                _swap(token0, weth, amount0, address(this)).add(amount1)
            );
        } else {
            // eg. MIC - USDT
            address bridge0 = bridgeFor(token0);
            address bridge1 = bridgeFor(token1);
            if (bridge0 == token1) {
                // eg. MIC - USDT - and bridgeFor(MIC) = USDT
                sushiOut = _convertStep(
                    bridge0,
                    token1,
                    _swap(token0, bridge0, amount0, address(this)),
                    amount1
                );
            } else if (bridge1 == token0) {
                // eg. WBTC - DSD - and bridgeFor(DSD) = WBTC
                sushiOut = _convertStep(
                    token0,
                    bridge1,
                    amount0,
                    _swap(token1, bridge1, amount1, address(this))
                );
            } else {
                sushiOut = _convertStep(
                    bridge0,
                    bridge1, // eg. USDT - DSD - and bridgeFor(DSD) = WBTC
                    _swap(token0, bridge0, amount0, address(this)),
                    _swap(token1, bridge1, amount1, address(this))
                );
            }
        }
    }

    // F1 - F10: OK
    // C1 - C24: OK
    // All safeTransfer, swap: X1 - X5: OK
    function _swap(
        address fromToken,
        address toToken,
        uint256 amountIn,
        address to
    ) internal returns (uint256 amountOut) {
        // Checks
        // X1 - X5: OK
        IUniswapV2Pair pair =
            IUniswapV2Pair(factory.getPair(fromToken, toToken));
        require(address(pair) != address(0), "BambooMaker: Cannot convert");

        // Interactions
        // X1 - X5: OK
        (uint256 reserve0, uint256 reserve1, ) = pair.getReserves();
            uint256 amountInWithFee = amountIn.mul(997);
            if (fromToken == pair.token0()) {
                amountOut =
                    amountIn.mul(997).mul(reserve1) /
                    reserve0.mul(1000).add(amountInWithFee);
                IERC20(fromToken).safeTransfer(address(pair), amountIn);
                pair.swap(0, amountOut, to, new bytes(0));
                // TODO: Add maximum slippage?
            } else {
                amountOut =
                    amountIn.mul(997).mul(reserve0) /
                    reserve1.mul(1000).add(amountInWithFee);
                IERC20(fromToken).safeTransfer(address(pair), amountIn);
                pair.swap(amountOut, 0, to, new bytes(0));
                // TODO: Add maximum slippage?
            }
    }

    // F1 - F10: OK
    // C1 - C24: OK
    function _toSUSHI(address token, uint256 amountIn)
        internal
        returns (uint256 amountOut)
        {
        // X1 - X5: OK
        amountOut = _swap(token, sushi, amountIn, bar);
        }
    }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_bar","type":"address"},{"internalType":"address","name":"_sushi","type":"address"},{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"bridge","type":"address"}],"name":"LogBridgeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"server","type":"address"},{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountSUSHI","type":"uint256"}],"name":"LogConvert","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"bar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"bridgeFor","outputs":[{"internalType":"address","name":"bridge","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":[{"internalType":"address[]","name":"token0","type":"address[]"},{"internalType":"address[]","name":"token1","type":"address[]"}],"name":"convertMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"bridge","type":"address"}],"name":"setBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161154c38038061154c8339818101604052608081101561003357600080fd5b508051602082015160408301516060909301519192909160006100546100f1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b03199182161790915560028054948616948216949094179093556003805492851692841692909217909155600480549190931691161790556100f5565b3390565b611448806101046000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a761a93911610066578063a761a939146101b6578063bd1b820c146101dc578063c45a01551461020a578063f2fde38b14610212578063febb0f7e1461023857610093565b8063303e6aa414610098578063715018a61461015c5780638da5cb5b146101645780639d22ae8c14610188575b600080fd5b61015a600480360360408110156100ae57600080fd5b8101906020810181356401000000008111156100c957600080fd5b8201836020820111156100db57600080fd5b803590602001918460208302840111640100000000831117156100fd57600080fd5b91939092909160208101903564010000000081111561011b57600080fd5b82018360208201111561012d57600080fd5b8035906020019184602083028401116401000000008311171561014f57600080fd5b509092509050610240565b005b61015a6102ec565b61016c6103a0565b604080516001600160a01b039092168252519081900360200190f35b61015a6004803603604081101561019e57600080fd5b506001600160a01b03813581169160200135166103af565b61016c600480360360208110156101cc57600080fd5b50356001600160a01b031661050b565b61015a600480360360408110156101f257600080fd5b506001600160a01b038135811691602001351661053e565b61016c61059c565b61015a6004803603602081101561022857600080fd5b50356001600160a01b03166105ab565b61016c6106b5565b333214610290576040805162461bcd60e51b815260206004820152601960248201527842616d626f6f4d616b65723a206d7573742075736520454f4160381b604482015290519081900360640190fd5b8260005b818110156102e4576102dc8686838181106102ab57fe5b905060200201356001600160a01b03168585848181106102c757fe5b905060200201356001600160a01b03166106c4565b600101610294565b505050505050565b6102f461099b565b6000546001600160a01b03908116911614610356576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6103b761099b565b6000546001600160a01b03908116911614610419576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546001600160a01b0383811691161480159061044557506004546001600160a01b03838116911614155b80156104635750806001600160a01b0316826001600160a01b031614155b6104b4576040805162461bcd60e51b815260206004820152601b60248201527f42616d626f6f4d616b65723a20496e76616c6964206272696467650000000000604482015290519081900360640190fd5b6001600160a01b0382811660008181526005602052604080822080546001600160a01b0319169486169485179055517f2e103aa707acc565f9a1547341914802b2bfe977fd79c595209f248ae4b006139190a35050565b6001600160a01b03808216600090815260056020526040902054168061053957506004546001600160a01b03165b919050565b33321461058e576040805162461bcd60e51b815260206004820152601960248201527842616d626f6f4d616b65723a206d7573742075736520454f4160381b604482015290519081900360640190fd5b61059882826106c4565b5050565b6001546001600160a01b031681565b6105b361099b565b6000546001600160a01b03908116911614610615576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661065a5760405162461bcd60e51b81526004018080602001828103825260268152602001806113a26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6001546040805163e6a4390560e01b81526001600160a01b03858116600483015284811660248301529151600093929092169163e6a4390591604480820192602092909190829003018186803b15801561071d57600080fd5b505afa158015610731573d6000803e3d6000fd5b505050506040513d602081101561074757600080fd5b505190506001600160a01b0381166107a6576040805162461bcd60e51b815260206004820152601960248201527f42616d626f6f4d616b65723a20496e76616c6964207061697200000000000000604482015290519081900360640190fd5b61083481826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156107f757600080fd5b505afa15801561080b573d6000803e3d6000fd5b505050506040513d602081101561082157600080fd5b50516001600160a01b038416919061099f565b600080826001600160a01b03166389afcb44306040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b15801561088557600080fd5b505af1158015610899573d6000803e3d6000fd5b505050506040513d60408110156108af57600080fd5b50805160209182015160408051630dfe168160e01b815290519295509093506001600160a01b03861692630dfe168192600480840193829003018186803b1580156108f957600080fd5b505afa15801561090d573d6000803e3d6000fd5b505050506040513d602081101561092357600080fd5b50516001600160a01b0386811691161461093957905b6001600160a01b03808516908616337fd06b1d7ed79b664d17472c6f6997b929f1abe463ccccb4e5b6a0038f2f730c1585856109778b8b84846109f6565b60408051938452602084019290925282820152519081900360600190a45050505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109f1908490610c6f565b505050565b6000836001600160a01b0316856001600160a01b03161415610ac1576000610a1e8484610e2d565b6003549091506001600160a01b0387811691161415610a5c57600254600354610a54916001600160a01b0391821691168361099f565b809150610abb565b6004546001600160a01b0387811691161415610a8f57600454610a88906001600160a01b031682610e90565b9150610abb565b6000610a9a8761050b565b9050610aa887828430610eba565b9150610ab781828460006109f6565b9250505b50610c67565b6003546001600160a01b0386811691161415610b0f57600254600354610af4916001600160a01b0391821691168561099f565b610b0883610b028685610e90565b90610e2d565b9050610c67565b6003546001600160a01b0385811691161415610b5057600254600354610b42916001600160a01b0391821691168461099f565b610b0882610b028786610e90565b6004546001600160a01b0386811691161415610b8b57600454610b08906001600160a01b0316610b8685610b0288848830610eba565b610e90565b6004546001600160a01b0385811691161415610bc157600454610b08906001600160a01b0316610b8684610b0289848930610eba565b6000610bcc8661050b565b90506000610bd98661050b565b9050856001600160a01b0316826001600160a01b03161415610c1357610c0c8287610c068a868a30610eba565b876109f6565b9250610c64565b866001600160a01b0316816001600160a01b03161415610c4457610c0c878287610c3f8a868a30610eba565b6109f6565b610c618282610c558a868a30610eba565b610c3f8a868a30610eba565b92505b50505b949350505050565b610c81826001600160a01b031661130f565b610cd2576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610d105780518252601f199092019160209182019101610cf1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610d72576040519150601f19603f3d011682016040523d82523d6000602084013e610d77565b606091505b509150915081610dce576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610e2757808060200190516020811015610dea57600080fd5b5051610e275760405162461bcd60e51b815260040180806020018281038252602a8152602001806113e9602a913960400191505060405180910390fd5b50505050565b600082820183811015610e87576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b600354600254600091610eb39185916001600160a01b0390811691869116610eba565b9392505050565b6001546040805163e6a4390560e01b81526001600160a01b038781166004830152868116602483015291516000938493169163e6a43905916044808301926020929190829003018186803b158015610f1157600080fd5b505afa158015610f25573d6000803e3d6000fd5b505050506040513d6020811015610f3b57600080fd5b505190506001600160a01b038116610f9a576040805162461bcd60e51b815260206004820152601b60248201527f42616d626f6f4d616b65723a2043616e6e6f7420636f6e766572740000000000604482015290519081900360640190fd5b600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610fd657600080fd5b505afa158015610fea573d6000803e3d6000fd5b505050506040513d606081101561100057600080fd5b5080516020909101516dffffffffffffffffffffffffffff9182169350169050600061102e876103e5611348565b9050836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561106957600080fd5b505afa15801561107d573d6000803e3d6000fd5b505050506040513d602081101561109357600080fd5b50516001600160a01b038a8116911614156111da576110b881610b02856103e8611348565b6110ce836110c88a6103e5611348565b90611348565b816110d557fe5b0494506110ec6001600160a01b038a16858961099f565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018990526001600160a01b038a81166064850152608060848501908152845160a48601819052918a169563022c0d9f958c948e9491939092909160c4850191908083838b5b8381101561116e578181015183820152602001611156565b50505050905090810190601f16801561119b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156111bd57600080fd5b505af11580156111d1573d6000803e3d6000fd5b50505050611303565b6111ea81610b02846103e8611348565b6111fa846110c88a6103e5611348565b8161120157fe5b0494506112186001600160a01b038a16858961099f565b604080516000808252602082019283905263022c0d9f60e01b835260248201888152604483018290526001600160a01b038a81166064850152608060848501908152845160a48601819052918a169563022c0d9f958c95948e9491939092909160c4850191908083838a5b8381101561129b578181015183820152602001611283565b50505050905090810190601f1680156112c85780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156112ea57600080fd5b505af11580156112fe573d6000803e3d6000fd5b505050505b50505050949350505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610c67575050151592915050565b60008261135757506000610e8a565b8282028284828161136457fe5b0414610e875760405162461bcd60e51b81526004018080602001828103825260218152602001806113c86021913960400191505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122002837dc392df134ce0d5ab5829ca5cbb3b4d363d24637bedbd5cab9a71fa0feb64736f6c634300060c00330000000000000000000000009ad32bf5dafe152cbe027398219611db4e8753b3000000000000000000000000ef88e0d265ddc8f5e725a4fda1871f9fe21b11e200000000000000000000000047dcc83a14ad53ed1f13d3cae8aa4115f07557c0000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c

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

0000000000000000000000009ad32bf5dafe152cbe027398219611db4e8753b3000000000000000000000000ef88e0d265ddc8f5e725a4fda1871f9fe21b11e200000000000000000000000047dcc83a14ad53ed1f13d3cae8aa4115f07557c0000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c

-----Decoded View---------------
Arg [0] : _factory (address): 0x9ad32bf5dafe152cbe027398219611db4e8753b3
Arg [1] : _bar (address): 0xef88e0d265ddc8f5e725a4fda1871f9fe21b11e2
Arg [2] : _sushi (address): 0x47dcc83a14ad53ed1f13d3cae8aa4115f07557c0
Arg [3] : _weth (address): 0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009ad32bf5dafe152cbe027398219611db4e8753b3
Arg [1] : 000000000000000000000000ef88e0d265ddc8f5e725a4fda1871f9fe21b11e2
Arg [2] : 00000000000000000000000047dcc83a14ad53ed1f13d3cae8aa4115f07557c0
Arg [3] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c


Deployed ByteCode Sourcemap

24660:8608:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27494:360;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27494:360:0;;-1:-1:-1;27494:360:0;-1:-1:-1;27494:360:0;:::i;:::-;;2665:148;;;:::i;2023:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2023:79:0;;;;;;;;;;;;;;26097:334;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26097:334:0;;;;;;;;;;:::i;25857:190::-;;;;;;;;;;;;;;;;-1:-1:-1;25857:190:0;-1:-1:-1;;;;;25857:190:0;;:::i;27272:111::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27272:111:0;;;;;;;;;;:::i;24787:32::-;;;:::i;2968:244::-;;;;;;;;;;;;;;;;-1:-1:-1;2968:244:0;-1:-1:-1;;;;;2968:244:0;;:::i;24896:18::-;;;:::i;27494:360::-;26725:10;26739:9;26725:23;26717:61;;;;;-1:-1:-1;;;26717:61:0;;;;;;;;;;;;-1:-1:-1;;;26717:61:0;;;;;;;;;;;;;;;27732:6;27718:11:::1;27756:91;27780:3;27776:1;:7;27756:91;;;27805:30;27814:6;;27821:1;27814:9;;;;;;;;;;;;;-1:-1:-1::0;;;;;27814:9:0::1;27825:6;;27832:1;27825:9;;;;;;;;;;;;;-1:-1:-1::0;;;;;27825:9:0::1;27805:8;:30::i;:::-;27785:3;;27756:91;;;;26789:1;27494:360:::0;;;;:::o;2665:148::-;2245:12;:10;:12::i;:::-;2235:6;;-1:-1:-1;;;;;2235:6:0;;;:22;;;2227:67;;;;;-1:-1:-1;;;2227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2772:1:::1;2756:6:::0;;2735:40:::1;::::0;-1:-1:-1;;;;;2756:6:0;;::::1;::::0;2735:40:::1;::::0;2772:1;;2735:40:::1;2803:1;2786:19:::0;;-1:-1:-1;;;;;;2786:19:0::1;::::0;;2665:148::o;2023:79::-;2061:7;2088:6;-1:-1:-1;;;;;2088:6:0;2023:79;:::o;26097:334::-;2245:12;:10;:12::i;:::-;2235:6;;-1:-1:-1;;;;;2235:6:0;;;:22;;;2227:67;;;;;-1:-1:-1;;;2227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26227:5:::1;::::0;-1:-1:-1;;;;;26218:14:0;;::::1;26227:5:::0;::::1;26218:14;::::0;::::1;::::0;:31:::1;;-1:-1:-1::0;26245:4:0::1;::::0;-1:-1:-1;;;;;26236:13:0;;::::1;26245:4:::0;::::1;26236:13;;26218:31;:50;;;;;26262:6;-1:-1:-1::0;;;;;26253:15:0::1;:5;-1:-1:-1::0;;;;;26253:15:0::1;;;26218:50;26196:127;;;::::0;;-1:-1:-1;;;26196:127:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;26356:15:0;;::::1;;::::0;;;:8:::1;:15;::::0;;;;;:24;;-1:-1:-1;;;;;;26356:24:0::1;::::0;;::::1;::::0;;::::1;::::0;;26396:27;::::1;::::0;26356:15;26396:27:::1;26097:334:::0;;:::o;25857:190::-;-1:-1:-1;;;;;25948:15:0;;;25912:14;25948:15;;;:8;:15;;;;;;;25978:20;25974:66;;-1:-1:-1;26024:4:0;;-1:-1:-1;;;;;26024:4:0;25974:66;25857:190;;;:::o;27272:111::-;26725:10;26739:9;26725:23;26717:61;;;;;-1:-1:-1;;;26717:61:0;;;;;;;;;;;;-1:-1:-1;;;26717:61:0;;;;;;;;;;;;;;;27351:24:::1;27360:6;27368;27351:8;:24::i;:::-;27272:111:::0;;:::o;24787:32::-;;;-1:-1:-1;;;;;24787:32:0;;:::o;2968:244::-;2245:12;:10;:12::i;:::-;2235:6;;-1:-1:-1;;;;;2235:6:0;;;:22;;;2227:67;;;;;-1:-1:-1;;;2227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3057:22:0;::::1;3049:73;;;;-1:-1:-1::0;;;3049:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3159:6;::::0;;3138:38:::1;::::0;-1:-1:-1;;;;;3138:38:0;;::::1;::::0;3159:6;::::1;::::0;3138:38:::1;::::0;::::1;3187:6;:17:::0;;-1:-1:-1;;;;;;3187:17:0::1;-1:-1:-1::0;;;;;3187:17:0;;;::::1;::::0;;;::::1;::::0;;2968:244::o;24896:18::-;;;-1:-1:-1;;;;;24896:18:0;;:::o;27903:879::-;28059:7;;:31;;;-1:-1:-1;;;28059:31:0;;-1:-1:-1;;;;;28059:31:0;;;;;;;;;;;;;;;;28022:19;;28059:7;;;;;:15;;:31;;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28059:31:0;;-1:-1:-1;;;;;;28110:27:0;;28102:65;;;;;-1:-1:-1;;;28102:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28247:117;28304:4;28324;-1:-1:-1;;;;;28324:14:0;;28347:4;28324:29;;;;;;;;;;;;;-1:-1:-1;;;;;28324:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28324:29:0;-1:-1:-1;;;;;28247:34:0;;;:117;:34;:117::i;:::-;28400:15;28417;28436:4;-1:-1:-1;;;;;28436:9:0;;28454:4;28436:24;;;;;;;;;;;;;-1:-1:-1;;;;;28436:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28436:24:0;;;;;;;;28485:13;;-1:-1:-1;;;28485:13:0;;;;28436:24;;-1:-1:-1;28436:24:0;;-1:-1:-1;;;;;;28485:11:0;;;;;:13;;;;;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28485:13:0;-1:-1:-1;;;;;28475:23:0;;;;;;28471:95;;28537:7;28471:95;-1:-1:-1;;;;;28581:193:0;;;;;;28606:10;28581:193;28673:7;28695;28717:46;28631:6;28652;28673:7;28695;28717:12;:46::i;:::-;28581:193;;;;;;;;;;;;;;;;;;;;;;;;;;27903:879;;;;;:::o;604:106::-;692:10;604:106;:::o;15558:177::-;15668:58;;;-1:-1:-1;;;;;15668:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15668:58:0;-1:-1:-1;;;15668:58:0;;;15641:86;;15661:5;;15641:19;:86::i;:::-;15558:177;;;:::o;28901:2702::-;29050:16;29118:6;-1:-1:-1;;;;;29108:16:0;:6;-1:-1:-1;;;;;29108:16:0;;29104:2492;;;29141:14;29158:20;:7;29170;29158:11;:20::i;:::-;29207:5;;29141:37;;-1:-1:-1;;;;;;29197:15:0;;;29207:5;;29197:15;29193:441;;;29260:3;;29240:5;;29233:39;;-1:-1:-1;;;;;29240:5:0;;;;29260:3;29265:6;29233:26;:39::i;:::-;29302:6;29291:17;;29193:441;;;29344:4;;-1:-1:-1;;;;;29334:14:0;;;29344:4;;29334:14;29330:304;;;29389:4;;29380:22;;-1:-1:-1;;;;;29389:4:0;29395:6;29380:8;:22::i;:::-;29369:33;;29330:304;;;29443:14;29460:17;29470:6;29460:9;:17::i;:::-;29443:34;;29505:44;29511:6;29519;29527;29543:4;29505:5;:44::i;:::-;29496:53;;29579:39;29592:6;29600;29608;29616:1;29579:12;:39::i;:::-;29568:50;;29330:304;;29104:2492;;;;29665:5;;-1:-1:-1;;;;;29655:15:0;;;29665:5;;29655:15;29651:1945;;;29746:3;;29726:5;;29719:40;;-1:-1:-1;;;;;29726:5:0;;;;29746:3;29751:7;29719:26;:40::i;:::-;29785:38;29815:7;29785:25;29794:6;29802:7;29785:8;:25::i;:::-;:29;;:38::i;:::-;29774:49;;29651:1945;;;29855:5;;-1:-1:-1;;;;;29845:15:0;;;29855:5;;29845:15;29841:1755;;;29937:3;;29917:5;;29910:40;;-1:-1:-1;;;;;29917:5:0;;;;29937:3;29942:7;29910:26;:40::i;:::-;29976:38;30006:7;29976:25;29985:6;29993:7;29976:8;:25::i;29841:1755::-;30046:4;;-1:-1:-1;;;;;30036:14:0;;;30046:4;;30036:14;30032:1564;;;30136:4;;30109:121;;-1:-1:-1;;;;;30136:4:0;30159:56;30207:7;30159:43;30165:6;30136:4;30179:7;30196:4;30159:5;:43::i;:56::-;30109:8;:121::i;30032:1564::-;30262:4;;-1:-1:-1;;;;;30252:14:0;;;30262:4;;30252:14;30248:1348;;;30352:4;;30325:121;;-1:-1:-1;;;;;30352:4:0;30375:56;30423:7;30375:43;30381:6;30352:4;30395:7;30412:4;30375:5;:43::i;30248:1348::-;30510:15;30528:17;30538:6;30528:9;:17::i;:::-;30510:35;;30560:15;30578:17;30588:6;30578:9;:17::i;:::-;30560:35;;30625:6;-1:-1:-1;;;;;30614:17:0;:7;-1:-1:-1;;;;;30614:17:0;;30610:975;;;30726:189;30761:7;30791:6;30820:46;30826:6;30834:7;30843;30860:4;30820:5;:46::i;:::-;30889:7;30726:12;:189::i;:::-;30715:200;;30610:975;;;30952:6;-1:-1:-1;;;;;30941:17:0;:7;-1:-1:-1;;;;;30941:17:0;;30937:648;;;31053:189;31088:6;31117:7;31147;31177:46;31183:6;31191:7;31200;31217:4;31177:5;:46::i;:::-;31053:12;:189::i;30937:648::-;31294:275;31329:7;31359;31435:46;31441:6;31449:7;31458;31475:4;31435:5;:46::i;:::-;31504;31510:6;31518:7;31527;31544:4;31504:5;:46::i;31294:275::-;31283:286;;30937:648;30248:1348;;;28901:2702;;;;;;:::o;17863:1115::-;18468:27;18476:5;-1:-1:-1;;;;;18468:25:0;;:27::i;:::-;18460:71;;;;;-1:-1:-1;;;18460:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18605:12;18619:23;18654:5;-1:-1:-1;;;;;18646:19:0;18666:4;18646:25;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18646:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18604:67;;;;18690:7;18682:52;;;;;-1:-1:-1;;;18682:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18751:17;;:21;18747:224;;18893:10;18882:30;;;;;;;;;;;;;;;-1:-1:-1;18882:30:0;18874:85;;;;-1:-1:-1;;;18874:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17863:1115;;;;:::o;19883:181::-;19941:7;19973:5;;;19997:6;;;;19989:46;;;;;-1:-1:-1;;;19989:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20055:1;-1:-1:-1;19883:181:0;;;;;:::o;33053:208::-;33228:5;;33245:3;;33140:17;;33215:34;;33221:5;;-1:-1:-1;;;;;33228:5:0;;;;33235:8;;33245:3;33215:5;:34::i;:::-;33203:46;33053:208;-1:-1:-1;;;33053:208:0:o;31697:1306::-;31962:7;;:35;;;-1:-1:-1;;;31962:35:0;;-1:-1:-1;;;;;31962:35:0;;;;;;;;;;;;;;;;31839:17;;;;31962:7;;:15;;:35;;;;;;;;;;;;;;:7;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31962:35:0;;-1:-1:-1;;;;;;32017:27:0;;32009:67;;;;;-1:-1:-1;;;32009:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32139:16;32157;32179:4;-1:-1:-1;;;;;32179:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32179:18:0;;;;;;;32138:59;;;;;-1:-1:-1;32138:59:0;;-1:-1:-1;32212:23:0;32238:17;:8;32251:3;32238:12;:17::i;:::-;32212:43;;32287:4;-1:-1:-1;;;;;32287:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32287:13:0;-1:-1:-1;;;;;32274:26:0;;;;;;32270:726;;;32409:39;32432:15;32409:18;:8;32422:4;32409:12;:18::i;:39::-;32354:31;32376:8;32354:17;:8;32367:3;32354:12;:17::i;:::-;:21;;:31::i;:::-;:94;;;;;;;-1:-1:-1;32467:55:0;-1:-1:-1;;;;;32467:30:0;;32506:4;32513:8;32467:30;:55::i;:::-;32569:12;;;32551:1;32569:12;;;;;;;;;;-1:-1:-1;;;32541:41:0;;;;;;;;;;;;;;-1:-1:-1;;;;;32541:41:0;;;;;;;;;;;;;;;;;;;;;;:9;;;;;;32554;;32565:2;;32569:12;;32541:41;;;;;;;;32569:12;32541:41;;32569:12;32551:1;32541:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32270:726;;;32759:39;32782:15;32759:18;:8;32772:4;32759:12;:18::i;:39::-;32704:31;32726:8;32704:17;:8;32717:3;32704:12;:17::i;:31::-;:94;;;;;;;-1:-1:-1;32817:55:0;-1:-1:-1;;;;;32817:30:0;;32856:4;32863:8;32817:30;:55::i;:::-;32919:12;;;32912:1;32919:12;;;;;;;;;;-1:-1:-1;;;32891:41:0;;;;;;;;;;;;;;-1:-1:-1;;;;;32891:41:0;;;;;;;;;;;;;;;;;;;;;;:9;;;;;;32901;;32912:1;32915:2;;32919:12;;32891:41;;;;;;;;32919:12;32891:41;;32919:12;32912:1;32891:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32270:726;31697:1306;;;;;;;;;;:::o;10209:619::-;10269:4;10737:20;;10580:66;10777:23;;;;;;:42;;-1:-1:-1;;10804:15:0;;;10769:51;-1:-1:-1;;10209:619:0:o;21237:471::-;21295:7;21540:6;21536:47;;-1:-1:-1;21570:1:0;21563:8;;21536:47;21607:5;;;21611:1;21607;:5;:1;21631:5;;;;;:10;21623:56;;;;-1:-1:-1;;;21623:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://02837dc392df134ce0d5ab5829ca5cbb3b4d363d24637bedbd5cab9a71fa0feb
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.