ETH Price: $2,298.37 (-2.93%)

Contract

0xDAF819c2437a82f9e01f6586207ebF961a7f0970
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040108752032020-09-16 20:07:351462 days ago1600286855IN
 Create: FeeTo
0 ETH0.2385885250

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeeTo

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-09-16
*/

pragma solidity ^0.5.16;

// this contract gives owner the ability to allow tokens. for pairs in which both tokens are allowed, fees may be
// collected on that pair and send to feeRecipient, though only after burning all fees up to that point
contract FeeTo {
    address public owner;
    address public feeRecipient;

    struct TokenAllowState {
        bool    allowed;
        uint128 disallowCount;
    }
    mapping(address => TokenAllowState) public tokenAllowStates;

    struct PairAllowState {
        uint128 token0DisallowCount;
        uint128 token1DisallowCount;
    }
    mapping(address => PairAllowState) public pairAllowStates;

    constructor(address owner_) public {
        owner = owner_;
    }

    function setOwner(address owner_) public {
        require(msg.sender == owner, 'FeeTo::setOwner: not allowed');
        owner = owner_;
    }

    function setFeeRecipient(address feeRecipient_) public {
        require(msg.sender == owner, 'FeeTo::setFeeRecipient: not allowed');
        feeRecipient = feeRecipient_;
    }

    function updateTokenAllowState(address token, bool allowed) public {
        require(msg.sender == owner, 'FeeTo::updateTokenAllowState: not allowed');
        TokenAllowState storage tokenAllowState = tokenAllowStates[token];
        // if allowed is not changing, the function is a no-op
        if (allowed != tokenAllowState.allowed) {
            tokenAllowState.allowed = allowed;
            // this condition will only be true on the first call to this function (regardless of the value of allowed)
            // by effectively initializing disallowCount to 1,
            // we force renounce to be called for all pairs including newly allowed token
            if (tokenAllowState.disallowCount == 0) {
                tokenAllowState.disallowCount = 1;
            } else if (allowed == false) {
                tokenAllowState.disallowCount += 1;
            }
        }
    }

    function updateTokenAllowStates(address[] memory tokens, bool allowed) public {
        for (uint i; i < tokens.length; i++) {
            updateTokenAllowState(tokens[i], allowed);
        }
    }

    function renounce(address pair) public returns (uint value) {
        PairAllowState storage pairAllowState = pairAllowStates[pair];
        TokenAllowState storage token0AllowState = tokenAllowStates[IUniswapV2Pair(pair).token0()];
        TokenAllowState storage token1AllowState = tokenAllowStates[IUniswapV2Pair(pair).token1()];

        // we must renounce if any of the following four conditions are true:
        // 1) token0 is currently disallowed
        // 2) token1 is currently disallowed
        // 3) token0 was disallowed at least once since the last time renounce was called
        // 4) token1 was disallowed at least once since the last time renounce was called
        if (
            token0AllowState.allowed == false ||
            token1AllowState.allowed == false ||
            token0AllowState.disallowCount > pairAllowState.token0DisallowCount ||
            token1AllowState.disallowCount > pairAllowState.token1DisallowCount
        ) {
            value = IUniswapV2Pair(pair).balanceOf(address(this));
            if (value > 0) {
                // burn balance into the pair, effectively redistributing underlying tokens pro-rata back to LPs
                // (assert because transfer cannot fail with value as balanceOf)
                assert(IUniswapV2Pair(pair).transfer(pair, value));
                IUniswapV2Pair(pair).burn(pair);
            }

            // if token0 is allowed, we can now update the pair's disallow count to match the token's
            if (token0AllowState.allowed) {
                pairAllowState.token0DisallowCount = token0AllowState.disallowCount;
            }
            // if token1 is allowed, we can now update the pair's disallow count to match the token's
            if (token1AllowState.allowed) {
                pairAllowState.token1DisallowCount = token1AllowState.disallowCount;
            }
        }
    }

    function claim(address pair) public returns (uint value) {
        PairAllowState storage pairAllowState = pairAllowStates[pair];
        TokenAllowState storage token0AllowState = tokenAllowStates[IUniswapV2Pair(pair).token0()];
        TokenAllowState storage token1AllowState = tokenAllowStates[IUniswapV2Pair(pair).token1()];

        // we may claim only if each of the following five conditions are true:
        // 1) token0 is currently allowed
        // 2) token1 is currently allowed
        // 3) renounce was not called since the last time token0 was disallowed
        // 4) renounce was not called since the last time token1 was disallowed
        // 5) feeHandler is not the 0 address
        if (
            token0AllowState.allowed &&
            token1AllowState.allowed &&
            token0AllowState.disallowCount == pairAllowState.token0DisallowCount &&
            token1AllowState.disallowCount == pairAllowState.token1DisallowCount &&
            feeRecipient != address(0)
        ) {
            value = IUniswapV2Pair(pair).balanceOf(address(this));
            if (value > 0) {
                // transfer tokens to the handler (assert because transfer cannot fail with value as balanceOf)
                assert(IUniswapV2Pair(pair).transfer(feeRecipient, value));
            }
        }
    }
}

interface IUniswapV2Pair {
    function token0() external view returns (address);
    function token1() external view returns (address);
    function balanceOf(address owner) external view returns (uint);
    function transfer(address to, uint value) external returns (bool);
    function burn(address to) external returns (uint amount0, uint amount1);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":false,"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"claim","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pairAllowStates","outputs":[{"internalType":"uint128","name":"token0DisallowCount","type":"uint128"},{"internalType":"uint128","name":"token1DisallowCount","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"renounce","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"feeRecipient_","type":"address"}],"name":"setFeeRecipient","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAllowStates","outputs":[{"internalType":"bool","name":"allowed","type":"bool"},{"internalType":"uint128","name":"disallowCount","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateTokenAllowState","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateTokenAllowStates","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516110603803806110608339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610ffb806100656000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80638d97617211610076578063df8ca76a1161005b578063df8ca76a146102ad578063e359f0ed146102e8578063e74b981b1461034a576100be565b80638d976172146102005780638da5cb5b146102a5576100be565b80631f76a7af116100a75780631f76a7af1461013d5780633e2f3f2b1461017057806346904840146101cf576100be565b806313af4035146100c35780631e83409a146100f8575b600080fd5b6100f6600480360360208110156100d957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661037d565b005b61012b6004803603602081101561010e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661044a565b60408051918252519081900360200190f35b61012b6004803603602081101561015357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107e6565b6101a36004803603602081101561018657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c7f565b6040805192151583526fffffffffffffffffffffffffffffffff90911660208301528051918290030190f35b6101d7610cad565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f66004803603604081101561021657600080fd5b81019060208101813564010000000081111561023157600080fd5b82018360208201111561024357600080fd5b8035906020019184602083028401116401000000008311171561026557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050610cc9565b6101d7610cff565b6100f6600480360360408110156102c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610d1b565b61031b600480360360208110156102fe57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e87565b604080516fffffffffffffffffffffffffffffffff938416815291909216602082015281519081900390910190f35b6100f66004803603602081101561036057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ec3565b60005473ffffffffffffffffffffffffffffffffffffffff16331461040357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f466565546f3a3a7365744f776e65723a206e6f7420616c6c6f77656400000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156104da57600080fd5b505afa1580156104ee573d6000803e3d6000fd5b505050506040513d602081101561050457600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561059d57600080fd5b505afa1580156105b1573d6000803e3d6000fd5b505050506040513d60208110156105c757600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020825490915060ff1680156106045750805460ff165b801561062c57508254825461010090046fffffffffffffffffffffffffffffffff9081169116145b801561066857508254815461010090046fffffffffffffffffffffffffffffffff90811670010000000000000000000000000000000090920416145b801561068b575060015473ffffffffffffffffffffffffffffffffffffffff1615155b156107de57604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b1580156106fc57600080fd5b505afa158015610710573d6000803e3d6000fd5b505050506040513d602081101561072657600080fd5b5051935083156107de57600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201526024810187905290519187169163a9059cbb916044808201926020929091908290030181600087803b1580156107ac57600080fd5b505af11580156107c0573d6000803e3d6000fd5b505050506040513d60208110156107d657600080fd5b50516107de57fe5b505050919050565b600080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561087657600080fd5b505afa15801561088a573d6000803e3d6000fd5b505050506040513d60208110156108a057600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561093957600080fd5b505afa15801561094d573d6000803e3d6000fd5b505050506040513d602081101561096357600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020825490915060ff1615806109a15750805460ff16155b806109ca5750825482546fffffffffffffffffffffffffffffffff918216610100909104909116115b80610a065750825481547001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff90811661010090920416115b156107de57604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d6020811015610aa157600080fd5b505193508315610bec57604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87166004820181905260248201879052915163a9059cbb916044808201926020929091908290030181600087803b158015610b2157600080fd5b505af1158015610b35573d6000803e3d6000fd5b505050506040513d6020811015610b4b57600080fd5b5051610b5357fe5b604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871660048201819052825190926389afcb4492602480820193918290030181600087803b158015610bbf57600080fd5b505af1158015610bd3573d6000803e3d6000fd5b505050506040513d6040811015610be957600080fd5b50505b815460ff1615610c3a57815483546101009091046fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000009091161783555b805460ff16156107de575482546fffffffffffffffffffffffffffffffff90811661010090920416700100000000000000000000000000000000021790915550919050565b60026020526000908152604090205460ff81169061010090046fffffffffffffffffffffffffffffffff1682565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005b8251811015610cfa57610cf2838281518110610ce457fe5b602002602001015183610d1b565b600101610ccc565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180610f9e6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020805460ff16151582151514610cfa5780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215151780825561010090046fffffffffffffffffffffffffffffffff16610e345780547fffffffffffffffffffffffffffffff00000000000000000000000000000000ff16610100178155610cfa565b81610cfa5780546fffffffffffffffffffffffffffffffff6101008083048216600101909116027fffffffffffffffffffffffffffffff00000000000000000000000000000000ff909116178155505050565b6003602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610f7b6023913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe466565546f3a3a736574466565526563697069656e743a206e6f7420616c6c6f776564466565546f3a3a757064617465546f6b656e416c6c6f7753746174653a206e6f7420616c6c6f776564a265627a7a723158208817d1ae30143a8846a0845731b2d88c3b34d3c4fe337e9dc22a10777d8cb23b64736f6c634300051000320000000000000000000000001a9c8182c09f50c8318d769245bea52c32be35bc

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80638d97617211610076578063df8ca76a1161005b578063df8ca76a146102ad578063e359f0ed146102e8578063e74b981b1461034a576100be565b80638d976172146102005780638da5cb5b146102a5576100be565b80631f76a7af116100a75780631f76a7af1461013d5780633e2f3f2b1461017057806346904840146101cf576100be565b806313af4035146100c35780631e83409a146100f8575b600080fd5b6100f6600480360360208110156100d957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661037d565b005b61012b6004803603602081101561010e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661044a565b60408051918252519081900360200190f35b61012b6004803603602081101561015357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107e6565b6101a36004803603602081101561018657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c7f565b6040805192151583526fffffffffffffffffffffffffffffffff90911660208301528051918290030190f35b6101d7610cad565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f66004803603604081101561021657600080fd5b81019060208101813564010000000081111561023157600080fd5b82018360208201111561024357600080fd5b8035906020019184602083028401116401000000008311171561026557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050610cc9565b6101d7610cff565b6100f6600480360360408110156102c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610d1b565b61031b600480360360208110156102fe57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e87565b604080516fffffffffffffffffffffffffffffffff938416815291909216602082015281519081900390910190f35b6100f66004803603602081101561036057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ec3565b60005473ffffffffffffffffffffffffffffffffffffffff16331461040357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f466565546f3a3a7365744f776e65723a206e6f7420616c6c6f77656400000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156104da57600080fd5b505afa1580156104ee573d6000803e3d6000fd5b505050506040513d602081101561050457600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561059d57600080fd5b505afa1580156105b1573d6000803e3d6000fd5b505050506040513d60208110156105c757600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020825490915060ff1680156106045750805460ff165b801561062c57508254825461010090046fffffffffffffffffffffffffffffffff9081169116145b801561066857508254815461010090046fffffffffffffffffffffffffffffffff90811670010000000000000000000000000000000090920416145b801561068b575060015473ffffffffffffffffffffffffffffffffffffffff1615155b156107de57604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b1580156106fc57600080fd5b505afa158015610710573d6000803e3d6000fd5b505050506040513d602081101561072657600080fd5b5051935083156107de57600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201526024810187905290519187169163a9059cbb916044808201926020929091908290030181600087803b1580156107ac57600080fd5b505af11580156107c0573d6000803e3d6000fd5b505050506040513d60208110156107d657600080fd5b50516107de57fe5b505050919050565b600080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561087657600080fd5b505afa15801561088a573d6000803e3d6000fd5b505050506040513d60208110156108a057600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600260008673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561093957600080fd5b505afa15801561094d573d6000803e3d6000fd5b505050506040513d602081101561096357600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020825490915060ff1615806109a15750805460ff16155b806109ca5750825482546fffffffffffffffffffffffffffffffff918216610100909104909116115b80610a065750825481547001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff90811661010090920416115b156107de57604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d6020811015610aa157600080fd5b505193508315610bec57604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87166004820181905260248201879052915163a9059cbb916044808201926020929091908290030181600087803b158015610b2157600080fd5b505af1158015610b35573d6000803e3d6000fd5b505050506040513d6020811015610b4b57600080fd5b5051610b5357fe5b604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871660048201819052825190926389afcb4492602480820193918290030181600087803b158015610bbf57600080fd5b505af1158015610bd3573d6000803e3d6000fd5b505050506040513d6040811015610be957600080fd5b50505b815460ff1615610c3a57815483546101009091046fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000009091161783555b805460ff16156107de575482546fffffffffffffffffffffffffffffffff90811661010090920416700100000000000000000000000000000000021790915550919050565b60026020526000908152604090205460ff81169061010090046fffffffffffffffffffffffffffffffff1682565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005b8251811015610cfa57610cf2838281518110610ce457fe5b602002602001015183610d1b565b600101610ccc565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180610f9e6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020805460ff16151582151514610cfa5780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215151780825561010090046fffffffffffffffffffffffffffffffff16610e345780547fffffffffffffffffffffffffffffff00000000000000000000000000000000ff16610100178155610cfa565b81610cfa5780546fffffffffffffffffffffffffffffffff6101008083048216600101909116027fffffffffffffffffffffffffffffff00000000000000000000000000000000ff909116178155505050565b6003602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610f7b6023913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe466565546f3a3a736574466565526563697069656e743a206e6f7420616c6c6f776564466565546f3a3a757064617465546f6b656e416c6c6f7753746174653a206e6f7420616c6c6f776564a265627a7a723158208817d1ae30143a8846a0845731b2d88c3b34d3c4fe337e9dc22a10777d8cb23b64736f6c63430005100032

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

0000000000000000000000001a9c8182c09f50c8318d769245bea52c32be35bc

-----Decoded View---------------
Arg [0] : owner_ (address): 0x1a9C8182C09F50C8318d769245beA52c32BE35BC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a9c8182c09f50c8318d769245bea52c32be35bc


Deployed Bytecode Sourcemap

248:5253:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;248:5253:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;750:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;750:145:0;;;;:::i;:::-;;4148:1350;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4148:1350:0;;;;:::i;:::-;;;;;;;;;;;;;;;;2212:1928;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2212:1928:0;;;;:::i;428:59::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;428:59:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;297:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2003:201;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2003:201:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;2003:201:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;2003:201:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;2003:201:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;2003:201:0;;-1:-1:-1;;;;2003:201:0;;;;-1:-1:-1;2003:201:0;:::i;270:20::-;;;:::i;1091:904::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1091:904:0;;;;;;;;;;;:::i;608:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;608:57:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:180;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;903:180:0;;;;:::i;750:145::-;824:5;;;;810:10;:19;802:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;873:5;:14;;;;;;;;;;;;;;;750:145::o;4148:1350::-;4193:10;4216:37;4256:15;:21;4272:4;4256:21;;;;;;;;;;;;;;;4216:61;;4288:40;4331:16;:47;4363:4;4348:27;;;:29;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4348:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4348:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4348:29:0;;;;;;;;;;;;;;;;4331:47;;;;;;;;;;;;;;;4288:90;;4389:40;4432:16;:47;4464:4;4449:27;;;:29;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4449:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4449:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4449:29:0;4432:47;;;;4449:29;4432:47;;;;;;;;-1:-1:-1;4432:47:0;4886:24;;4432:47;;-1:-1:-1;4886:24:0;;:65;;;;-1:-1:-1;4927:24:0;;;;4886:65;:150;;;;-1:-1:-1;5002:34:0;;4968:30;;5002:34;4968:30;;5002:34;4968:30;;;5002:34;;4968:68;4886:150;:235;;;;-1:-1:-1;5087:34:0;;5053:30;;5087:34;5053:30;;5087:34;5053:30;;;5087:34;;;;;5053:68;4886:235;:278;;;;-1:-1:-1;5138:12:0;;:26;:12;:26;;4886:278;4868:623;;;5199:45;;;;;;5238:4;5199:45;;;;;;:30;;;;;;:45;;;;;;;;;;;;;;:30;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;5199:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5199:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5199:45:0;;-1:-1:-1;5263:9:0;;5259:221;;5443:12;;5413:50;;;;;;:29;5443:12;;;5413:50;;;;;;;;;;;;:29;;;;;;:50;;;;;;;;;;;;;;;5443:12;5413:29;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;5413:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5413:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5413:50:0;5406:58;;;;4148:1350;;;;;;:::o;2212:1928::-;2260:10;2283:37;2323:15;:21;2339:4;2323:21;;;;;;;;;;;;;;;2283:61;;2355:40;2398:16;:47;2430:4;2415:27;;;:29;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2415:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2415:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2415:29:0;;;;;;;;;;;;;;;;2398:47;;;;;;;;;;;;;;;2355:90;;2456:40;2499:16;:47;2531:4;2516:27;;;:29;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2516:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2516:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2516:29:0;2499:47;;;;2516:29;2499:47;;;;;;;;-1:-1:-1;2499:47:0;2930:24;;2499:47;;-1:-1:-1;2930:24:0;;:33;;:83;;-1:-1:-1;2980:24:0;;;;:33;2930:83;:167;;;-1:-1:-1;3063:34:0;;3030:30;;3063:34;;;;;3030:30;;;;;;:67;2930:167;:251;;;-1:-1:-1;3147:34:0;;3114:30;;3147:34;;;;;;;;;3114:30;;;;:67;2930:251;2912:1221;;;3216:45;;;;;;3255:4;3216:45;;;;;;:30;;;;;;:45;;;;;;;;;;;;;;:30;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;3216:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3216:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3216:45:0;;-1:-1:-1;3280:9:0;;3276:346;;3513:42;;;;;;:29;;;:42;;;;;;;;;;;;;;:29;;:42;;;;;;;;;;;;;;;-1:-1:-1;3513:29:0;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;3513:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3513:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3513:42:0;3506:50;;;;3575:31;;;;;;:25;;;:31;;;;;;;;:25;;;;:31;;;;;;;;;;;-1:-1:-1;3575:25:0;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;3575:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3575:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;3276:346:0;3745:24;;;;3741:132;;;3827:30;;3790:67;;3827:30;;;;;;3790:67;;;;;;;3741:132;3994:24;;;;3990:132;;;4076:30;4039:67;;4076:30;4039:67;;;4076:30;;;;;4039:67;;;;;;-1:-1:-1;2212:1928:0;;-1:-1:-1;2212:1928:0:o;428:59::-;;;;;;;;;;;;;;;;;;;;;;:::o;297:27::-;;;;;;:::o;2003:201::-;2097:6;2092:105;2109:6;:13;2105:1;:17;2092:105;;;2144:41;2166:6;2173:1;2166:9;;;;;;;;;;;;;;2177:7;2144:21;:41::i;:::-;2124:3;;2092:105;;;;2003:201;;:::o;270:20::-;;;;;;:::o;1091:904::-;1191:5;;;;1177:10;:19;1169:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1295:23;;;1253:39;1295:23;;;:16;:23;;;;;1408;;;;1397:34;;;;;;1393:595;;1448:33;;;;;;;;;;;;1776:29;;;;1772:205;;1831:33;;;;;;;;1772:205;;;1890:16;1886:91;;1927:34;;;;;;;;;1960:1;1927:34;;;;;;;;;;;;1091:904;;;:::o;608:57::-;;;;;;;;;;;;;;;;;;;;;;:::o;903:180::-;991:5;;;;977:10;:19;969:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1047:12;:28;;;;;;;;;;;;;;;903:180::o

Swarm Source

bzzr://8817d1ae30143a8846a0845731b2d88c3b34d3c4fe337e9dc22a10777d8cb23b

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.