Contract 0x90da882144d063773a4586a83b277ce7a0ce68e0

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0cf203c819ea30c0be136095a24c8bd1fd16179ad29bc72c9459f8f6a53cf9b00x60a06040203749412022-08-16 5:23:4645 days 10 hrs ago0x20de070f1887f82fce2bdcf5d6d9874091e6fae9 IN  Create: VaultSushiLP0 ETH0.004495364373 ETH
[ Download CSV Export 
Latest 15 internal transactions
Parent Txn Hash Block From To Value
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e00x905dfcd5649217c42684f23958568e533c711aa30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e00x905dfcd5649217c42684f23958568e533c711aa30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e00xd4d42f0b6def4ce0383636770ef773390d85c61a0 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x1d181a60b325f0e921e1f3d140b201a4e7630d55e301d82830372888cdab4758204175592022-08-16 15:13:1345 days 49 mins ago 0xd02221952441a7cbadbfd19e4c0a47fc74629055 0x90da882144d063773a4586a83b277ce7a0ce68e00 ETH
0x0cf203c819ea30c0be136095a24c8bd1fd16179ad29bc72c9459f8f6a53cf9b0203749412022-08-16 5:23:4645 days 10 hrs ago 0x90da882144d063773a4586a83b277ce7a0ce68e0 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c30 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VaultSushiLP

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : VaultSushiLP.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

import {ERC20} from "./ERC20.sol";
import {IERC20} from "./interfaces/IERC20.sol";
import {IOracle} from "./interfaces/IOracle.sol";
import {IPairUniV2} from "./interfaces/IPairUniV2.sol";
import {IRouterUniV2} from "./interfaces/IRouterUniV2.sol";
import {IRewarderMiniChefV2} from "./interfaces/IRewarderMiniChefV2.sol";

contract VaultSushiLP is ERC20 {
    error TransferFailed();

    IRewarderMiniChefV2 public rewarder; // MiniChefV2
    IRouterUniV2 public router; // UniswapV2Router02
    IPairUniV2 public asset; // UniswapV2Pair
    uint256 poolId;
    address[] public path0;
    address[] public path1;

    constructor(
        address _rewarder,
        address _router,
        uint256 _poolId,
        address[] memory _path0,
        address[] memory _path1
    )
        ERC20("SushiLP Vault", "vSLP", 18)
    {
        rewarder = IRewarderMiniChefV2(_rewarder);
        router = IRouterUniV2(_router);
        asset = IPairUniV2(rewarder.lpToken(poolId));
        poolId = _poolId;
        path0 = _path0;
        path1 = _path1;
    }

    function mint(uint256 amt, address usr) external returns (uint256) {
        earn();
        _pull(address(asset), msg.sender, amt);
        uint256 tma = totalManagedAssets();
        uint256 sha = tma == 0 ? amt : amt * totalSupply / tma;
        IERC20(address(asset)).approve(address(rewarder), amt);
        rewarder.deposit(poolId, amt, address(this));
        _mint(sha, usr);
        return sha;
    }

    function burn(uint256 sha, address usr) external returns (uint256) {
        earn();
        if (balanceOf[msg.sender] < sha) revert InsufficientBalance();
        uint256 tma = totalManagedAssets();
        uint256 amt = sha * tma / totalSupply;
        _burn(sha, msg.sender);
        rewarder.withdraw(poolId, amt, address(this));
        _push(address(asset), usr, amt);
        return amt;
    }

    function earn() public {
        rewarder.harvest(poolId, address(this));
        uint256 amt = IERC20(rewarder.SUSHI()).balanceOf(address(this));
        uint256 haf = amt / 2;
        if (amt == 0) return;
        if (path0.length > 0) {
          router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
              haf,
              0, // TODO fix using oracle
              path0,
              address(asset),
              type(uint256).max
          );
        }
        if (path1.length > 0) {
          router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
              amt - haf,
              0, // TODO fix using oracle
              path1,
              address(asset),
              type(uint256).max
          );
        }
        asset.mint(address(this));
        asset.skim(address(this));
        uint256 liq = IERC20(address(asset)).balanceOf(address(this));
        rewarder.deposit(poolId, liq, address(this));
    }

    function totalManagedAssets() public view returns (uint256) {
        (uint256 amt,) = rewarder.userInfo(poolId, address(this));
        return amt;
    }

    function _pull(address tkn, address usr, uint256 amt) internal {
        if (!IERC20(tkn).transferFrom(usr, address(this), amt)) revert
            TransferFailed();
    }

    function _push(address tkn, address usr, uint256 amt) internal {
        if (!IERC20(tkn).transfer(usr, amt)) revert TransferFailed();
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

contract ERC20 {
    error InsufficientBalance();
    error InsufficientAllowance();

    string public name;
    string public symbol;
    uint8 public immutable decimals;
    uint256 public totalSupply;
    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    event Approval(address indexed src, address indexed guy, uint256 amt);
    event Transfer(address indexed src, address indexed dst, uint256 amt);

    constructor(string memory _name, string memory _symbol, uint8 _decimals) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
    }

    function transfer(address dst, uint256 amt) external returns (bool) {
        return transferFrom(msg.sender, dst, amt);
    }

    function transferFrom(address src, address dst, uint256 amt)
        public
        returns (bool)
    {
        if (balanceOf[src] < amt) revert InsufficientBalance();
        if (
            src != msg.sender && allowance[src][msg.sender] != type(uint256).max
        ) {
            if (allowance[src][msg.sender] < amt) revert InsufficientAllowance();
            allowance[src][msg.sender] = allowance[src][msg.sender] - amt;
        }
        balanceOf[src] = balanceOf[src] - amt;
        balanceOf[dst] = balanceOf[dst] + amt;
        emit Transfer(src, dst, amt);
        return true;
    }

    function approve(address usr, uint256 amt) external returns (bool) {
        allowance[msg.sender][usr] = amt;
        emit Approval(msg.sender, usr, amt);
        return true;
    }

    function _mint(uint256 amt, address usr) internal {
        balanceOf[usr] = balanceOf[usr] + amt;
        totalSupply = totalSupply + amt;
        emit Transfer(address(0), usr, amt);
    }

    function _burn(uint256 amt, address usr) internal {
        if (balanceOf[usr] < amt) revert InsufficientBalance();
        balanceOf[usr] = balanceOf[usr] - amt;
        totalSupply = totalSupply - amt;
        emit Transfer(usr, address(0), amt);
    }
}

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

interface IERC20 {
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint256);
    function balanceOf(address) external view returns (uint256);
    function approve(address, uint256) external returns (bool);
    function transfer(address, uint256) external returns (bool);
    function transferFrom(address, address, uint256) external returns (bool);
}

File 4 of 7 : IOracle.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

interface IOracle {
    function latestAnswer() external view returns (int256);
}

File 5 of 7 : IPairUniV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

interface IPairUniV2 {
    function token0() external view returns (address);
    function token1() external view returns (address);
    function totalSupply() external view returns (uint256);
    function getReserves() external view returns (uint112, uint112, uint32);
    function mint(address) external returns (uint256 liquidity);
    function burn(address) external returns (uint256 amount0, uint256 amount1);
    function swap(uint256, uint256, address, bytes calldata) external;
    function skim(address to) external;
}

File 6 of 7 : IRouterUniV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

interface IRouterUniV2 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    )
        external;
}

File 7 of 7 : IRewarderMiniChefV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

interface IRewarderMiniChefV2 {
    function SUSHI() external view returns (address);
    function lpToken(uint256) external view returns (address);
    function pendingSushi(uint256, address) external view returns (uint256);
    function userInfo(uint256, address) external view returns (uint256, int256);
    function deposit(uint256, uint256, address) external;
    function withdraw(uint256, uint256, address) external;
    function harvest(uint256, address) external;
}

Settings
{
  "remappings": [
    "src/=src/",
    "src/=src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewarder","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address[]","name":"_path0","type":"address[]"},{"internalType":"address[]","name":"_path1","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"contract IPairUniV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sha","type":"uint256"},{"internalType":"address","name":"usr","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"address","name":"usr","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"path0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"path1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewarder","outputs":[{"internalType":"contract IRewarderMiniChefV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouterUniV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalManagedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162001ca138038062001ca18339810160408190526200003491620002f8565b6040518060400160405280600d81526020016c14dd5cda1a53140815985d5b1d609a1b81525060405180604001604052806004815260200163076534c560e41b815250601282600090816200008a919062000421565b50600162000099838262000421565b5060ff166080525050600580546001600160a01b038088166001600160a01b0319928316811790935560068054918816919092161790556008546040516378ed5d1f60e01b81526378ed5d1f91620000f79160040190815260200190565b602060405180830381865afa15801562000115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013b9190620004ed565b600780546001600160a01b0319166001600160a01b0392909216919091179055600883905581516200017590600990602085019062000197565b5080516200018b90600a90602084019062000197565b50505050505062000512565b828054828255906000526020600020908101928215620001ef579160200282015b82811115620001ef57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001b8565b50620001fd92915062000201565b5090565b5b80821115620001fd576000815560010162000202565b80516001600160a01b03811681146200023057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200025d57600080fd5b815160206001600160401b03808311156200027c576200027c62000235565b8260051b604051601f19603f83011681018181108482111715620002a457620002a462000235565b604052938452858101830193838101925087851115620002c357600080fd5b83870191505b84821015620002ed57620002dd8262000218565b83529183019190830190620002c9565b979650505050505050565b600080600080600060a086880312156200031157600080fd5b6200031c8662000218565b94506200032c6020870162000218565b6040870151606088015191955093506001600160401b03808211156200035157600080fd5b6200035f89838a016200024b565b935060808801519150808211156200037657600080fd5b5062000385888289016200024b565b9150509295509295909350565b600181811c90821680620003a757607f821691505b602082108103620003c857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041c57600081815260208120601f850160051c81016020861015620003f75750805b601f850160051c820191505b81811015620004185782815560010162000403565b5050505b505050565b81516001600160401b038111156200043d576200043d62000235565b62000455816200044e845462000392565b84620003ce565b602080601f8311600181146200048d5760008415620004745750858301515b600019600386901b1c1916600185901b17855562000418565b600085815260208120601f198616915b82811015620004be578886015182559484019460019091019084016200049d565b5085821015620004dd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200050057600080fd5b6200050b8262000218565b9392505050565b6080516117736200052e60003960006101af01526117736000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b2578063d389800f11610081578063dd62ed3e11610066578063dd62ed3e146102c6578063f887ea40146102f1578063fcd3533c1461031157600080fd5b8063d389800f1461029c578063dcc3e06e146102a657600080fd5b806370a082311461024e57806394bf804d1461026e57806395d89b4114610281578063a9059cbb1461028957600080fd5b806323b872dd1161010957806338d52e0f116100ee57806338d52e0f146101e35780633f02def8146102285780636a0341b81461023b57600080fd5b806323b872dd14610197578063313ce567146101aa57600080fd5b806305b2bfb01461013b57806306fdde0314610156578063095ea7b31461016b57806318160ddd1461018e575b600080fd5b610143610324565b6040519081526020015b60405180910390f35b61015e6103cc565b60405161014d919061136f565b61017e610179366004611407565b61045a565b604051901515815260200161014d565b61014360025481565b61017e6101a5366004611433565b6104d3565b6101d17f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161014d565b6007546102039073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161014d565b610203610236366004611474565b610766565b610203610249366004611474565b61079d565b61014361025c36600461148d565b60036020526000908152604090205481565b61014361027c3660046114aa565b6107ad565b61015e610958565b61017e610297366004611407565b610965565b6102a4610979565b005b6005546102039073ffffffffffffffffffffffffffffffffffffffff1681565b6101436102d43660046114da565b600460209081526000928352604080842090915290825290205481565b6006546102039073ffffffffffffffffffffffffffffffffffffffff1681565b61014361031f3660046114aa565b610f2c565b6005546008546040517f93f1a40b0000000000000000000000000000000000000000000000000000000081526004810191909152306024820152600091829173ffffffffffffffffffffffffffffffffffffffff909116906393f1a40b906044016040805180830381865afa1580156103a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c59190611508565b5092915050565b600080546103d99061152c565b80601f01602080910402602001604051908101604052809291908181526020018280546104059061152c565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104c29086815260200190565b60405180910390a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812054821115610532576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841633148015906105a8575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156106855773ffffffffffffffffffffffffffffffffffffffff84166000908152600460209081526040808320338452909152902054821115610617576040517f13be252b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020546106539083906115ae565b73ffffffffffffffffffffffffffffffffffffffff851660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600360205260409020546106b69083906115ae565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526003602052604080822093909355908516815220546106f39083906115c5565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526003602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107549086815260200190565b60405180910390a35060019392505050565b600a818154811061077657600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b6009818154811061077657600080fd5b60006107b7610979565b6007546107db9073ffffffffffffffffffffffffffffffffffffffff16338561106c565b60006107e5610324565b90506000811561080d5781600254866107fe91906115dd565b610808919061161a565b61080f565b845b6007546005546040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101899052929350169063095ea7b3906044016020604051808303816000875af115801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b09190611655565b506005546008546040517f8dbdbe6d00000000000000000000000000000000000000000000000000000000815260048101919091526024810187905230604482015273ffffffffffffffffffffffffffffffffffffffff90911690638dbdbe6d90606401600060405180830381600087803b15801561092e57600080fd5b505af1158015610942573d6000803e3d6000fd5b505050506109508185611147565b949350505050565b600180546103d99061152c565b60006109723384846104d3565b9392505050565b6005546008546040517f18fccc76000000000000000000000000000000000000000000000000000000008152600481019190915230602482015273ffffffffffffffffffffffffffffffffffffffff909116906318fccc7690604401600060405180830381600087803b1580156109ef57600080fd5b505af1158015610a03573d6000803e3d6000fd5b505050506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ab560e106040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9a9190611677565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2a9190611694565b90506000610b3960028361161a565b905081600003610b47575050565b60095415610c06576006546007546040517f5c11d79500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831692635c11d79592610bd39286926000926009929116907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff906004016116ad565b600060405180830381600087803b158015610bed57600080fd5b505af1158015610c01573d6000803e3d6000fd5b505050505b600a5415610ce45760065473ffffffffffffffffffffffffffffffffffffffff16635c11d795610c3683856115ae565b6007546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b168152610cb19291600091600a9173ffffffffffffffffffffffffffffffffffffffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff906004016116ad565b600060405180830381600087803b158015610ccb57600080fd5b505af1158015610cdf573d6000803e3d6000fd5b505050505b6007546040517f6a62784200000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff90911690636a627842906024016020604051808303816000875af1158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190611694565b506007546040517fbc25cf7700000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063bc25cf7790602401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50506007546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff90911691506370a0823190602401602060405180830381865afa158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e919190611694565b6005546008546040517f8dbdbe6d00000000000000000000000000000000000000000000000000000000815260048101919091526024810183905230604482015291925073ffffffffffffffffffffffffffffffffffffffff1690638dbdbe6d90606401600060405180830381600087803b158015610f0f57600080fd5b505af1158015610f23573d6000803e3d6000fd5b50505050505050565b6000610f36610979565b33600090815260036020526040902054831115610f7f576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610f89610324565b905060006002548286610f9c91906115dd565b610fa6919061161a565b9050610fb28533611202565b6005546008546040517f0ad58d2f00000000000000000000000000000000000000000000000000000000815260048101919091526024810183905230604482015273ffffffffffffffffffffffffffffffffffffffff90911690630ad58d2f90606401600060405180830381600087803b15801561102f57600080fd5b505af1158015611043573d6000803e3d6000fd5b5050600754610950925073ffffffffffffffffffffffffffffffffffffffff1690508583611314565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152306024830152604482018390528416906323b872dd906064015b6020604051808303816000875af11580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190611655565b611142576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260409020546111789083906115c5565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260409020556002546111ac9083906115c5565b60025560405182815273ffffffffffffffffffffffffffffffffffffffff8216906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040902054821115611261576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260409020546112929083906115ae565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260409020556002546112c69083906115ae565b60025560405182815260009073ffffffffffffffffffffffffffffffffffffffff8316907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111f6565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063a9059cbb906044016110c9565b600060208083528351808285015260005b8181101561139c57858101830151858201604001528201611380565b818111156113ae576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461140457600080fd5b50565b6000806040838503121561141a57600080fd5b8235611425816113e2565b946020939093013593505050565b60008060006060848603121561144857600080fd5b8335611453816113e2565b92506020840135611463816113e2565b929592945050506040919091013590565b60006020828403121561148657600080fd5b5035919050565b60006020828403121561149f57600080fd5b8135610972816113e2565b600080604083850312156114bd57600080fd5b8235915060208301356114cf816113e2565b809150509250929050565b600080604083850312156114ed57600080fd5b82356114f8816113e2565b915060208301356114cf816113e2565b6000806040838503121561151b57600080fd5b505080516020909101519092909150565b600181811c9082168061154057607f821691505b602082108103611579577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156115c0576115c061157f565b500390565b600082198211156115d8576115d861157f565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116155761161561157f565b500290565b600082611650577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561166757600080fd5b8151801515811461097257600080fd5b60006020828403121561168957600080fd5b8151610972816113e2565b6000602082840312156116a657600080fd5b5051919050565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b8181101561170f57845473ffffffffffffffffffffffffffffffffffffffff16835260019485019492840192016116dd565b505073ffffffffffffffffffffffffffffffffffffffff96909616606085015250505060800152939250505056fea26469706673582212209677210fad83a76fddf35bb7c476288a2dfe1df38328f2d416e95fd8e6d7e22c64736f6c634300080f0033000000000000000000000000f4d73326c13a4fc5fd7a064217e12780e9bd62c30000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000003000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8

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

000000000000000000000000f4d73326c13a4fc5fd7a064217e12780e9bd62c30000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000003000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8

-----Decoded View---------------
Arg [0] : _rewarder (address): 0xf4d73326c13a4fc5fd7a064217e12780e9bd62c3
Arg [1] : _router (address): 0x1b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [2] : _poolId (uint256): 0
Arg [3] : _path0 (address[]): 0xd4d42f0b6def4ce0383636770ef773390d85c61a,0x82af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [4] : _path1 (address[]): 0xd4d42f0b6def4ce0383636770ef773390d85c61a,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000f4d73326c13a4fc5fd7a064217e12780e9bd62c3
Arg [1] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a
Arg [7] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 000000000000000000000000d4d42f0b6def4ce0383636770ef773390d85c61a
Arg [10] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [11] : 000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8


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