ETH Price: $3,271.18 (+1.14%)

Contract

0x9D054b448a0Ca73cd5c42e9B0a184945e60ac49d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw115908332021-01-04 22:53:411468 days ago1609800821IN
0x9D054b44...5e60ac49d
0 ETH0.0053191890
Withdraw114535382020-12-14 21:21:261489 days ago1607980886IN
0x9D054b44...5e60ac49d
0 ETH0.0031921554
Deposit114395912020-12-12 17:51:591491 days ago1607795519IN
0x9D054b44...5e60ac49d
0 ETH0.001537920
Withdraw114171202020-12-09 6:42:071495 days ago1607496127IN
0x9D054b44...5e60ac49d
0 ETH0.0035106559.40000023
Deposit114097182020-12-08 3:30:371496 days ago1607398237IN
0x9D054b44...5e60ac49d
0 ETH0.0039514843
Deposit114094372020-12-08 2:27:001496 days ago1607394420IN
0x9D054b44...5e60ac49d
0 ETH0.0011397224.31000023
Deposit113967862020-12-06 3:46:391498 days ago1607226399IN
0x9D054b44...5e60ac49d
0 ETH0.0013364317.38000023
Deposit113806452020-12-03 16:07:271500 days ago1607011647IN
0x9D054b44...5e60ac49d
0 ETH0.0046144260
Deposit113787352020-12-03 9:05:121500 days ago1606986312IN
0x9D054b44...5e60ac49d
0 ETH0.002789727.3

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xA32884e4...525F33c05
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Farm

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-18
*/

pragma solidity 0.5.17;

library SafeMath {

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) 
            return 0;
        uint256 c = a * b;
        require(c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0);
        uint256 c = a / b;
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;
        return c;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);
        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

contract Ownable {
    address public owner;

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

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "permission denied");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "invalid address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
}

contract ERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) internal _balances;
    mapping (address => mapping (address => uint256)) internal _allowed;
    
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    uint256 internal _totalSupply;

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

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

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

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

    /**
    * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
    * Beware that changing an allowance with this method brings the risk that someone may use both the old
    * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
    * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
    * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    * @param spender The address which will spend the funds.
    * @param value The amount of tokens to be spent.
    */
    function approve(address spender, uint256 value) public returns (bool) {
        _allowed[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

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

    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));
        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

}

contract ERC20Mintable is ERC20 {
    string public name;
    string public symbol;
    uint8 public decimals;

    function _mint(address to, uint256 amount) internal {
        _balances[to] = _balances[to].add(amount);
        _totalSupply = _totalSupply.add(amount);
        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal {
        _balances[from] = _balances[from].sub(amount);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(from, address(0), amount);
    }
}

contract Seal is ERC20Mintable, Ownable {
    using SafeMath for uint256;
    
    mapping (address => bool) public isMinter;

    constructor() public {
        name = "Seal Finance";
        symbol = "Seal";
        decimals = 18;
    }

    function setMinter(address minter, bool flag) external onlyOwner {
        isMinter[minter] = flag;
    }

    function mint(address to, uint256 amount) external {
        require(isMinter[msg.sender], "Not Minter");
        _mint(to, amount);
    }

    function burn(address from, uint256 amount) external {
        if (from != msg.sender && _allowed[from][msg.sender] != uint256(-1))
            _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(amount);
        require(_balances[from] >= amount, "insufficient-balance");
        _burn(from, amount);
    }
    
}

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;
}

library UniswapV2Library {
    using SafeMath for uint;

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

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

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

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

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

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

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

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

contract ERC20NonStandard {
    function transfer(address to, uint256 value) external;
    function balanceOf(address owner) external returns (uint256);
}

contract Farm is Ownable {
    using SafeMath for uint256;

    Seal public seal; //white seal
    IUniswapV2Pair public cSeal; //colored seal
    ERC20NonStandard public token; //token
    uint256 public today;
    uint256 public spawnRate;
    uint256 public withdrawRate;
    uint256 public timeLock;

    uint256 internal _totalSupply;
    mapping(address => uint256) internal _balances;
    mapping(address => uint256) public depositTimeStamp;

    constructor(uint256 _spawnRate, uint256 _withdrawRate, uint256 _timeLock, address _seal, address _cSeal, address _token) public {
        today = now / 1 days;
        spawnRate = _spawnRate;
        withdrawRate = _withdrawRate;
        timeLock = _timeLock;
        seal = Seal(_seal);
        cSeal = IUniswapV2Pair(_cSeal);
        token = ERC20NonStandard(_token);
    }

    function setParams(uint256 _spawnRate, uint256 _withdrawRate, uint256 _timeLock) external onlyOwner {
        require(_spawnRate <= 0.1e18);
        require(_withdrawRate >= 0.85e18 && _withdrawRate <= 1e18);
        require(_timeLock <= 15 days);
        spawnRate = _spawnRate;
        withdrawRate = _withdrawRate;
        timeLock = _timeLock;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function totalValue() public view returns(uint256) {
        return cSeal.balanceOf(address(this));
    }

    function deposit(uint256 amount) external returns (uint256 share) {
        if(totalSupply() > 0) 
            share = totalSupply().mul(amount).div(totalValue());
        else
            share = amount;
        _balances[msg.sender] = _balances[msg.sender].add(share);
        depositTimeStamp[msg.sender] = now;
        _totalSupply = _totalSupply.add(share);
        require(cSeal.transferFrom(msg.sender, address(this), amount));
    }

    function withdraw(address to, uint256 share) external returns (uint256 amount) {
        require(depositTimeStamp[msg.sender].add(timeLock) <= now, "locked");
        amount = share.mul(totalValue()).div(totalSupply());
        if(share < _totalSupply)
            amount = amount.mul(withdrawRate).div(1e18);
        _balances[msg.sender] = _balances[msg.sender].sub(share);
        _totalSupply = _totalSupply.sub(share);
        require(cSeal.transfer(to, amount));
    }

    function rescueToken(ERC20 _token, uint256 _amount) onlyOwner public {
        require(_token != ERC20(address(cSeal)));
        _token.transfer(msg.sender, _amount);
    }

    function breed() external {
        require(now / 1 days > today);
        today += 1;

        uint256 sealPairAmount = seal.balanceOf(address(cSeal));
        uint256 tokenPairAmount = token.balanceOf(address(cSeal));
        uint256 newSeal = sealPairAmount.mul(spawnRate).div(1e18);
        uint256 amount = UniswapV2Library.getAmountOut(newSeal, sealPairAmount, tokenPairAmount);

        seal.mint(address(cSeal), newSeal);
        if(address(seal) < address(token))
            cSeal.swap(0, amount, address(this), "");
        else
            cSeal.swap(amount, 0, address(this), "");
        token.transfer(address(cSeal), amount);
        seal.mint(address(cSeal), newSeal);
        cSeal.mint(address(this));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_spawnRate","type":"uint256"},{"internalType":"uint256","name":"_withdrawRate","type":"uint256"},{"internalType":"uint256","name":"_timeLock","type":"uint256"},{"internalType":"address","name":"_seal","type":"address"},{"internalType":"address","name":"_cSeal","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"breed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cSeal","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"share","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract ERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"seal","outputs":[{"internalType":"contract Seal","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_spawnRate","type":"uint256"},{"internalType":"uint256","name":"_withdrawRate","type":"uint256"},{"internalType":"uint256","name":"_timeLock","type":"uint256"}],"name":"setParams","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"spawnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"timeLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"today","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20NonStandard","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063af60820c116100a2578063d4c3eea011610071578063d4c3eea01461022b578063dff05f8214610233578063f2fde38b14610259578063f3fef3a31461027f578063fc0c546a146102ab57610116565b8063af60820c146101f6578063b6b55f25146101fe578063b74e452b1461021b578063d085835a1461022357610116565b80633fb27b85116100e95780633fb27b85146101735780635a0ce6761461019757806368b85fb1146101c057806370a08231146101c85780638da5cb5b146101ee57610116565b80630dcf14171461011b57806318160ddd1461013557806333f3d6281461013d5780633db18f4d1461016b575b600080fd5b6101236102b3565b60408051918252519081900360200190f35b6101236102b9565b6101696004803603604081101561015357600080fd5b506001600160a01b0381351690602001356102bf565b005b6101236103ac565b61017b6103b2565b604080516001600160a01b039092168252519081900360200190f35b610169600480360360608110156101ad57600080fd5b50803590602081013590604001356103c1565b610169610470565b610123600480360360208110156101de57600080fd5b50356001600160a01b03166108c3565b61017b6108e2565b61017b6108f1565b6101236004803603602081101561021457600080fd5b5035610900565b610123610a21565b610123610a27565b610123610a2d565b6101236004803603602081101561024957600080fd5b50356001600160a01b0316610aa9565b6101696004803603602081101561026f57600080fd5b50356001600160a01b0316610abb565b6101236004803603604081101561029557600080fd5b506001600160a01b038135169060200135610bb6565b61017b610d42565b60065481565b60085490565b6000546001600160a01b03163314610312576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6002546001600160a01b038381169116141561032d57600080fd5b6040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b0384169163a9059cbb9160448083019260209291908290030181600087803b15801561037c57600080fd5b505af1158015610390573d6000803e3d6000fd5b505050506040513d60208110156103a657600080fd5b50505050565b60055481565b6001546001600160a01b031681565b6000546001600160a01b03163314610414576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b67016345785d8a000083111561042957600080fd5b670bcbce7f1b15000082101580156104495750670de0b6b3a76400008211155b61045257600080fd5b6213c68081111561046257600080fd5b600592909255600655600755565b6004546201518042041161048357600080fd5b600480546001908101825554600254604080516370a0823160e01b81526001600160a01b03928316948101949094525160009391909216916370a0823191602480820192602092909190829003018186803b1580156104e157600080fd5b505afa1580156104f5573d6000803e3d6000fd5b505050506040513d602081101561050b57600080fd5b5051600354600254604080516370a0823160e01b81526001600160a01b039283166004820152905193945060009391909216916370a0823191602480830192602092919082900301818787803b15801561056457600080fd5b505af1158015610578573d6000803e3d6000fd5b505050506040513d602081101561058e57600080fd5b50516005549091506000906105c490670de0b6b3a7640000906105b890869063ffffffff610d5116565b9063ffffffff610d7f16565b905060006105d3828585610da1565b600154600254604080516340c10f1960e01b81526001600160a01b0392831660048201526024810187905290519394509116916340c10f199160448082019260009290919082900301818387803b15801561062d57600080fd5b505af1158015610641573d6000803e3d6000fd5b50506003546001546001600160a01b039182169116101591506106e49050576002546040805163022c0d9f60e01b815260006004820181905260248201859052306044830152608060648301526084820181905291516001600160a01b039093169263022c0d9f9260c48084019391929182900301818387803b1580156106c757600080fd5b505af11580156106db573d6000803e3d6000fd5b50505050610764565b6002546040805163022c0d9f60e01b815260048101849052600060248201819052306044830152608060648301526084820181905291516001600160a01b039093169263022c0d9f9260c48084019391929182900301818387803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b505050505b6003546002546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018590529051919092169163a9059cbb91604480830192600092919082900301818387803b1580156107bc57600080fd5b505af11580156107d0573d6000803e3d6000fd5b5050600154600254604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b5050600254604080516335313c2160e11b815230600482015290516001600160a01b039092169350636a62784292506024808201926020929091908290030181600087803b15801561089157600080fd5b505af11580156108a5573d6000803e3d6000fd5b505050506040513d60208110156108bb57600080fd5b505050505050565b6001600160a01b0381166000908152600960205260409020545b919050565b6000546001600160a01b031681565b6002546001600160a01b031681565b60008061090b6102b9565b111561093b5761093461091c610a2d565b6105b8846109286102b9565b9063ffffffff610d5116565b905061093e565b50805b3360009081526009602052604090205461095e908263ffffffff610e9116565b33600090815260096020908152604080832093909355600a90522042905560085461098f908263ffffffff610e9116565b600855600254604080516323b872dd60e01b81523360048201523060248201526044810185905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156109ec57600080fd5b505af1158015610a00573d6000803e3d6000fd5b505050506040513d6020811015610a1657600080fd5b50516108dd57600080fd5b60045481565b60075481565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a7857600080fd5b505afa158015610a8c573d6000803e3d6000fd5b505050506040513d6020811015610aa257600080fd5b5051905090565b600a6020526000908152604090205481565b6000546001600160a01b03163314610b0e576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6001600160a01b038116610b5b576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600754336000908152600a602052604081205490914291610bdc9163ffffffff610e9116565b1115610c18576040805162461bcd60e51b81526020600482015260066024820152651b1bd8dad95960d21b604482015290519081900360640190fd5b610c3b610c236102b9565b6105b8610c2e610a2d565b859063ffffffff610d5116565b9050600854821015610c6b57610c68670de0b6b3a76400006105b860065484610d5190919063ffffffff16565b90505b33600090815260096020526040902054610c8b908363ffffffff610ea316565b33600090815260096020526040902055600854610cae908363ffffffff610ea316565b6008556002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610d0757600080fd5b505af1158015610d1b573d6000803e3d6000fd5b505050506040513d6020811015610d3157600080fd5b5051610d3c57600080fd5b92915050565b6003546001600160a01b031681565b600082610d6057506000610d3c565b82820282848281610d6d57fe5b0414610d7857600080fd5b9392505050565b6000808211610d8d57600080fd5b6000828481610d9857fe5b04949350505050565b6000808411610de15760405162461bcd60e51b815260040180806020018281038252602b815260200180610ee1602b913960400191505060405180910390fd5b600083118015610df15750600082115b610e2c5760405162461bcd60e51b8152600401808060200182810382526028815260200180610eb96028913960400191505060405180910390fd5b6000610e40856103e563ffffffff610d5116565b90506000610e54828563ffffffff610d5116565b90506000610e7a83610e6e886103e863ffffffff610d5116565b9063ffffffff610e9116565b9050808281610e8557fe5b04979650505050505050565b600082820183811015610d7857600080fd5b600082821115610eb257600080fd5b5090039056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a723158207b6a66311e90ee1b64296d2af7e6aa2e2e56452a02bb01936bd4f6125bfa508364736f6c63430005110032

Deployed Bytecode Sourcemap

13372:3436:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13372:3436:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13626:27;;;:::i;:::-;;;;;;;;;;;;;;;;14600:91;;;:::i;15879:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15879:175:0;;;;;;;;:::i;:::-;;13595:24;;;:::i;13439:16::-;;;:::i;:::-;;;;-1:-1:-1;;;;;13439:16:0;;;;;;;;;;;;;;14232:360;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14232:360:0;;;;;;;;;;;;:::i;16062:743::-;;;:::i;14699:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14699:110:0;-1:-1:-1;;;;;14699:110:0;;:::i;880:20::-;;;:::i;13475:27::-;;;:::i;14932:449::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14932:449:0;;:::i;13568:20::-;;;:::i;13660:23::-;;;:::i;14817:107::-;;;:::i;13781:51::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13781:51:0;-1:-1:-1;;;;;13781:51:0;;:::i;1176:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1176:211:0;-1:-1:-1;;;;;1176:211:0;;:::i;15389:482::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15389:482:0;;;;;;;;:::i;13524:29::-;;;:::i;13626:27::-;;;;:::o;14600:91::-;14671:12;;14600:91;:::o;15879:175::-;1121:5;;-1:-1:-1;;;;;1121:5:0;1107:10;:19;1099:49;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;;;;15991:5;;-1:-1:-1;;;;;15967:31:0;;;15991:5;;15967:31;;15959:40;;;;;;16010:36;;;-1:-1:-1;;;16010:36:0;;16026:10;16010:36;;;;;;;;;;;;-1:-1:-1;;;;;16010:15:0;;;;;:36;;;;;;;;;;;;;;-1:-1:-1;16010:15:0;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;16010:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16010:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;15879:175:0:o;13595:24::-;;;;:::o;13439:16::-;;;-1:-1:-1;;;;;13439:16:0;;:::o;14232:360::-;1121:5;;-1:-1:-1;;;;;1121:5:0;1107:10;:19;1099:49;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;;;;14365:6;14351:10;:20;;14343:29;;;;;;14408:7;14391:13;:24;;:49;;;;;14436:4;14419:13;:21;;14391:49;14383:58;;;;;;14473:7;14460:9;:20;;14452:29;;;;;;14492:9;:22;;;;14525:12;:28;14564:8;:20;14232:360::o;16062:743::-;16122:5;;16113:6;16107:3;:12;:20;16099:29;;;;;;16139:5;:10;;16148:1;16139:10;;;;;16187:4;16210:5;;16187:30;;;-1:-1:-1;;;16187:30:0;;-1:-1:-1;;;;;16210:5:0;;;16187:30;;;;;;;;16139:5;;16187:4;;;;;:14;;:30;;;;;;;;;;;;;;;:4;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;16187:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16187:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16187:30:0;16254:5;;16278;;16254:31;;;-1:-1:-1;;;16254:31:0;;-1:-1:-1;;;;;16278:5:0;;;16254:31;;;;;;16187:30;;-1:-1:-1;16228:23:0;;16254:5;;;;;:15;;:31;;;;;16187:30;;16254:31;;;;;;;16228:23;16254:5;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;16254:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16254:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16254:31:0;16333:9;;16254:31;;-1:-1:-1;16296:15:0;;16314:39;;16348:4;;16314:29;;:14;;:29;:18;:29;:::i;:::-;:33;:39;:33;:39;:::i;:::-;16296:57;;16364:14;16381:71;16411:7;16420:14;16436:15;16381:29;:71::i;:::-;16465:4;;16483:5;;16465:34;;;-1:-1:-1;;;16465:34:0;;-1:-1:-1;;;;;16483:5:0;;;16465:34;;;;;;;;;;;;16364:88;;-1:-1:-1;16465:4:0;;;:9;;:34;;;;;:4;;:34;;;;;;;;:4;;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;16465:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16537:5:0;;;16521:4;-1:-1:-1;;;;;16537:5:0;;;16521:4;;16513:30;16510:157;;-1:-1:-1;16510:157:0;;-1:-1:-1;16510:157:0;16558:5;;:40;;;-1:-1:-1;;;16558:40:0;;:5;:40;;;;;;;;;;;;16588:4;16558:40;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16558:5:0;;;;:10;;:40;;;;;:5;;:40;;;;;;:5;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;16558:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16558:40:0;;;;16510:157;;;16627:5;;:40;;;-1:-1:-1;;;16627:40:0;;;;;;;;:5;:40;;;;;;16657:4;16627:40;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16627:5:0;;;;:10;;:40;;;;;:5;;:40;;;;;;:5;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;16627:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16627:40:0;;;;16510:157;16678:5;;16701;;16678:38;;;-1:-1:-1;;;16678:38:0;;-1:-1:-1;;;;;16701:5:0;;;16678:38;;;;;;;;;;;;:5;;;;;:14;;:38;;;;;:5;;:38;;;;;;;:5;;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;16678:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16727:4:0;;16745:5;;16727:34;;;-1:-1:-1;;;16727:34:0;;-1:-1:-1;;;;;16745:5:0;;;16727:34;;;;;;;;;;;;:4;;;;;-1:-1:-1;16727:9:0;;-1:-1:-1;16727:34:0;;;;;:4;;:34;;;;;;;:4;;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;16727:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16772:5:0;;:25;;;-1:-1:-1;;;16772:25:0;;16791:4;16772:25;;;;;;-1:-1:-1;;;;;16772:5:0;;;;-1:-1:-1;16772:10:0;;-1:-1:-1;16772:25:0;;;;;;;;;;;;;;;:5;;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;16772:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16772:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16062:743:0:o;14699:110::-;-1:-1:-1;;;;;14783:18:0;;14756:7;14783:18;;;:9;:18;;;;;;14699:110;;;;:::o;880:20::-;;;-1:-1:-1;;;;;880:20:0;;:::o;13475:27::-;;;-1:-1:-1;;;;;13475:27:0;;:::o;14932:449::-;14983:13;15028:1;15012:13;:11;:13::i;:::-;:17;15009:130;;;15053:43;15083:12;:10;:12::i;:::-;15053:25;15071:6;15053:13;:11;:13::i;:::-;:17;:25;:17;:25;:::i;:43::-;15045:51;;15009:130;;;-1:-1:-1;15133:6:0;15009:130;15184:10;15174:21;;;;:9;:21;;;;;;:32;;15200:5;15174:32;:25;:32;:::i;:::-;15160:10;15150:21;;;;:9;:21;;;;;;;;:56;;;;15217:16;:28;;;15248:3;15217:34;;15277:12;;:23;;15294:5;15277:23;:16;:23;:::i;:::-;15262:12;:38;15319:5;;:53;;;-1:-1:-1;;;15319:53:0;;15338:10;15319:53;;;;15358:4;15319:53;;;;;;;;;;;;-1:-1:-1;;;;;15319:5:0;;;;:18;;:53;;;;;;;;;;;;;;;:5;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;15319:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15319:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15319:53:0;15311:62;;;;;13568:20;;;;:::o;13660:23::-;;;;:::o;14817:107::-;14886:5;;:30;;;-1:-1:-1;;;14886:30:0;;14910:4;14886:30;;;;;;14859:7;;-1:-1:-1;;;;;14886:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;14886:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14886:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14886:30:0;;-1:-1:-1;14817:107:0;:::o;13781:51::-;;;;;;;;;;;;;:::o;1176:211::-;1121:5;;-1:-1:-1;;;;;1121:5:0;1107:10;:19;1099:49;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;-1:-1:-1;;;1099:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1257:22:0;;1249:50;;;;;-1:-1:-1;;;1249:50:0;;;;;;;;;;;;-1:-1:-1;;;1249:50:0;;;;;;;;;;;;;;;1336:5;;;1315:37;;-1:-1:-1;;;;;1315:37:0;;;;1336:5;;;1315:37;;;1363:5;:16;;-1:-1:-1;;;;;;1363:16:0;-1:-1:-1;;;;;1363:16:0;;;;;;;;;;1176:211::o;15389:482::-;15520:8;;15504:10;15452:14;15487:28;;;:16;:28;;;;;;15452:14;;15533:3;;15487:42;;;:32;:42;:::i;:::-;:49;;15479:68;;;;;-1:-1:-1;;;15479:68:0;;;;;;;;;;;;-1:-1:-1;;;15479:68:0;;;;;;;;;;;;;;;15567:42;15595:13;:11;:13::i;:::-;15567:23;15577:12;:10;:12::i;:::-;15567:5;;:23;:9;:23;:::i;:42::-;15558:51;;15631:12;;15623:5;:20;15620:81;;;15667:34;15696:4;15667:24;15678:12;;15667:6;:10;;:24;;;;:::i;:34::-;15658:43;;15620:81;15746:10;15736:21;;;;:9;:21;;;;;;:32;;15762:5;15736:32;:25;:32;:::i;:::-;15722:10;15712:21;;;;:9;:21;;;;;:56;15794:12;;:23;;15811:5;15794:23;:16;:23;:::i;:::-;15779:12;:38;15836:5;;:26;;;-1:-1:-1;;;15836:26:0;;-1:-1:-1;;;;;15836:26:0;;;;;;;;;;;;;;;:5;;;;;:14;;:26;;;;;;;;;;;;;;:5;;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;15836:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15836:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15836:26:0;15828:35;;;;;;15389:482;;;;:::o;13524:29::-;;;-1:-1:-1;;;;;13524:29:0;;:::o;53:197::-;111:7;135:6;131:34;;-1:-1:-1;164:1:0;157:8;;131:34;188:5;;;192:1;188;:5;:1;212:5;;;;;:10;204:19;;;;;;241:1;53:197;-1:-1:-1;;;53:197:0:o;258:147::-;316:7;348:1;344;:5;336:14;;;;;;361:9;377:1;373;:5;;;;;;;258:147;-1:-1:-1;;;;258:147:0:o;10888:517::-;10981:14;11027:1;11016:8;:12;11008:68;;;;-1:-1:-1;;;11008:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11107:1;11095:9;:13;:31;;;;;11125:1;11112:10;:14;11095:31;11087:84;;;;-1:-1:-1;;;11087:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11182:20;11205:17;:8;11218:3;11205:17;:12;:17;:::i;:::-;11182:40;-1:-1:-1;11233:14:0;11250:31;11182:40;11270:10;11250:31;:19;:31;:::i;:::-;11233:48;-1:-1:-1;11292:16:0;11311:40;11335:15;11311:19;:9;11325:4;11311:19;:13;:19;:::i;:::-;:23;:40;:23;:40;:::i;:::-;11292:59;;11386:11;11374:9;:23;;;;;;;10888:517;-1:-1:-1;;;;;;;10888:517:0:o;569:148::-;627:7;659:5;;;683:6;;;;675:15;;;;;413:148;471:7;504:1;499;:6;;491:15;;;;;;-1:-1:-1;529:5:0;;;413:148::o

Swarm Source

bzzr://7b6a66311e90ee1b64296d2af7e6aa2e2e56452a02bb01936bd4f6125bfa5083

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.