ETH Price: $3,126.85 (+5.36%)

Contract

0x84dE7B0528bdc7edBDf5ccc1Fb62dF4288A4373E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040112415952020-11-12 7:55:481458 days ago1605167748IN
 Create: MintProposal
0 ETH0.0283517535

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
126981082021-06-24 17:18:091234 days ago1624555089
0x84dE7B05...288A4373E
0 ETH
126981082021-06-24 17:18:091234 days ago1624555089
0x84dE7B05...288A4373E
0 ETH
126981082021-06-24 17:18:091234 days ago1624555089
0x84dE7B05...288A4373E
0 ETH
126980292021-06-24 17:04:171234 days ago1624554257
0x84dE7B05...288A4373E
0 ETH
126980292021-06-24 17:04:171234 days ago1624554257
0x84dE7B05...288A4373E
0 ETH
126980292021-06-24 17:04:171234 days ago1624554257
0x84dE7B05...288A4373E
0 ETH
126978612021-06-24 16:19:071234 days ago1624551547
0x84dE7B05...288A4373E
0 ETH
126978612021-06-24 16:19:071234 days ago1624551547
0x84dE7B05...288A4373E
0 ETH
126978612021-06-24 16:19:071234 days ago1624551547
0x84dE7B05...288A4373E
0 ETH
126978602021-06-24 16:19:051234 days ago1624551545
0x84dE7B05...288A4373E
0 ETH
126978602021-06-24 16:19:051234 days ago1624551545
0x84dE7B05...288A4373E
0 ETH
126978602021-06-24 16:19:051234 days ago1624551545
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126974802021-06-24 14:57:071234 days ago1624546627
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126971842021-06-24 13:47:211234 days ago1624542441
0x84dE7B05...288A4373E
0 ETH
126492292021-06-17 2:20:211242 days ago1623896421
0x84dE7B05...288A4373E
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MintProposal

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-12
*/

// File: contracts\interface\IAddressResolver.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

interface IAddressResolver {
    
    function key2address(bytes32 key) external view returns(address);
    function address2key(address addr) external view returns(bytes32);
    function requireAndKey2Address(bytes32 name, string calldata reason) external view returns(address);

    function setAddress(bytes32 key, address addr) external;
    function setMultiAddress(bytes32[] memory keys, address[] memory addrs) external;
}

// File: @openzeppelin\contracts\math\SafeMath.sol


pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts\interface\IMintProposal.sol


pragma solidity ^0.6.12;

interface IMintProposal {
    function approve(
        bytes32 _tunnelKey,
        string memory _txid,
        uint256 _amount,
        address  to,
        address trustee,
        uint256 trusteeCount
    ) external returns (bool);
}

// File: contracts\MintProposal.sol


pragma solidity ^0.6.12;




contract MintProposal is IMintProposal {
    using SafeMath for uint256;

    bytes32 public constant BORINGDAO = "BoringDAO";
    IAddressResolver addrReso;

    constructor(IAddressResolver _addrResovler) public {
        addrReso = _addrResovler;
    }

    struct Proposal {
        bytes32 tunnelKey;
        uint256 amount;
        uint256 voteCount;
        address creater;
        bool finished;
        bool isExist;
        mapping(address => bool) voteState;
        address to;
        string txid;
    }
    // mapping(address => bool) voteState;

    mapping(bytes32 => Proposal) public proposals;

    function approve(
        bytes32 _tunnelKey,
        string memory _txid,
        uint256 _amount,
        address to,
        address trustee,
        uint256 trusteeCount
    ) public override onlyBoringDAO returns (bool) {
        require(msg.sender == addrReso.key2address(BORINGDAO));
        bytes32 pid = keccak256(
            abi.encodePacked(_tunnelKey, _txid, _amount, to)
        );
        if (proposals[pid].isExist == false) {
            // new proposal
            Proposal memory p = Proposal({
                tunnelKey: _tunnelKey,
                to: to,
                txid: _txid,
                amount: _amount,
                creater: trustee,
                voteCount: 1,
                finished: false,
                isExist: true
            });
            proposals[pid] = p;
            proposals[pid].voteState[trustee] = true;
            emit VoteMintProposal(_tunnelKey, _txid, _amount, to, trustee, p.voteCount, trusteeCount);
        } else {
            // exist proposal
            Proposal storage p = proposals[pid];
            // had voted nothing to do more
            if(p.voteState[trustee] == true) {
                return false;
            }
            // proposal finished noting to do more
            if (p.finished) {
                return false;
            }
            p.voteCount = p.voteCount.add(1);
            p.voteState[trustee] = true;
            emit VoteMintProposal(_tunnelKey, _txid, _amount, to, trustee, p.voteCount, trusteeCount);
        }
        Proposal storage p = proposals[pid];
        uint threshold = trusteeCount.mod(3) == 0 ? trusteeCount.mul(2).div(3) : trusteeCount.mul(2).div(3).add(1);
        if (p.voteCount >= threshold) {
            p.finished = true;
            return true;
        } else {
            return false;
        }
    }

    modifier onlyBoringDAO {
        require(msg.sender == addrReso.key2address(BORINGDAO), "MintProposal::caller is not boringDAO");
        _;
    }

    event VoteMintProposal(
        bytes32 _tunnelKey,
        string _txid,
        uint256 _amount,
        address to,
        address trustee,
        uint votedCount,
        uint256 trusteeCount
    );

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IAddressResolver","name":"_addrResovler","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_tunnelKey","type":"bytes32"},{"indexed":false,"internalType":"string","name":"_txid","type":"string"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"trustee","type":"address"},{"indexed":false,"internalType":"uint256","name":"votedCount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"trusteeCount","type":"uint256"}],"name":"VoteMintProposal","type":"event"},{"inputs":[],"name":"BORINGDAO","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_tunnelKey","type":"bytes32"},{"internalType":"string","name":"_txid","type":"string"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"trustee","type":"address"},{"internalType":"uint256","name":"trusteeCount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"proposals","outputs":[{"internalType":"bytes32","name":"tunnelKey","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"voteCount","type":"uint256"},{"internalType":"address","name":"creater","type":"address"},{"internalType":"bool","name":"finished","type":"bool"},{"internalType":"bool","name":"isExist","type":"bool"},{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"txid","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610daf380380610daf8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610d4a806100656000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806332ed5b1214610046578063e4886e0514610122578063f99021a21461013c575b600080fd5b6100636004803603602081101561005c57600080fd5b503561021b565b60405180898152602001888152602001878152602001866001600160a01b0316815260200185151581526020018415158152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156100e05781810151838201526020016100c8565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390f35b61012a6102ff565b60408051918252519081900360200190f35b610207600480360360c081101561015257600080fd5b8135919081019060408101602082013564010000000081111561017457600080fd5b82018360208201111561018657600080fd5b803590602001918460018302840111640100000000831117156101a857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350506001600160a01b036020830135811692604081013590911691506060013561030f565b604080519115158252519081900360200190f35b600160208181526000928352604092839020805481840154600280840154600385015460058601546006870180548b516101009b8216159b909b02600019011694909404601f810189900489028a018901909a528989529498939791966001600160a01b0380831697600160a01b840460ff90811698600160a81b90950416969190931694929392918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b820191906000526020600020905b8154815290600101906020018083116102d857829003601f168201915b5050505050905088565b68426f72696e6744414f60b81b81565b600080546040805163130852b360e11b815268426f72696e6744414f60b81b600482015290516001600160a01b0390921691632610a56691602480820192602092909190829003018186803b15801561036757600080fd5b505afa15801561037b573d6000803e3d6000fd5b505050506040513d602081101561039157600080fd5b50516001600160a01b031633146103d95760405162461bcd60e51b8152600401808060200182810382526025815260200180610ccf6025913960400191505060405180910390fd5b6000546040805163130852b360e11b815268426f72696e6744414f60b81b600482015290516001600160a01b0390921691632610a56691602480820192602092909190829003018186803b15801561043057600080fd5b505afa158015610444573d6000803e3d6000fd5b505050506040513d602081101561045a57600080fd5b50516001600160a01b0316331461047057600080fd5b6000878787876040516020018085815260200184805190602001908083835b602083106104ae5780518252601f19909201916020918201910161048f565b51815160209384036101000a600019018019909216911617905292019485525060609290921b6bffffffffffffffffffffffff19168383015250604080516014818503018152603490930181528251928201929092206000818152600190925291902060030154909350600160a81b900460ff1615159150610788905057610534610bf5565b6040518061010001604052808a815260200188815260200160018152602001866001600160a01b03168152602001600015158152602001600115158152602001876001600160a01b03168152602001898152509050806001600084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160030160146101000a81548160ff02191690831515021790555060a08201518160030160156101000a81548160ff02191690831515021790555060c08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060e0820151816006019080519060200190610671929190610c3b565b50505060008281526001602081815260408084206001600160a01b03808b1680875260049092018452828620805460ff19169095179094558582015182518f81529283018d9052938b166060830152608082015260a0810183905260c0810188905260e08183018181528d51918301919091528c517ff9965df8085b297cc8d3b2470b8e4cc308baa6509a610b4a4ca862292d6b5edc958f958f958f958f958f9593948f94929391926101008501928b01918190849084905b8381101561074257818101518382015260200161072a565b50505050905090810190601f16801561076f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a15061091e565b60008181526001602081815260408084206001600160a01b0389168552600481019092529092205460ff16151514156107c6576000925050506109a7565b6003810154600160a01b900460ff16156107e5576000925050506109a7565b60028101546107f59060016109b1565b81600201819055506001816004016000876001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff9965df8085b297cc8d3b2470b8e4cc308baa6509a610b4a4ca862292d6b5edc898989898986600201548a6040518088815260200180602001878152602001866001600160a01b03168152602001856001600160a01b03168152602001848152602001838152602001828103825288818151815260200191508051906020019080838360005b838110156108dc5781810151838201526020016108c4565b50505050905090810190601f1680156109095780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a1505b600081815260016020526040812090610938856003610a14565b156109635761095e60016109586003610952896002610a56565b90610aaf565b906109b1565b610973565b6109736003610952876002610a56565b90508082600201541061099f5750600301805460ff60a01b1916600160a01b17905550600190506109a7565b600093505050505b9695505050505050565b600082820183811015610a0b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610a0b83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250610af1565b600082610a6557506000610a0e565b82820282848281610a7257fe5b0414610a0b5760405162461bcd60e51b8152600401808060200182810382526021815260200180610cf46021913960400191505060405180910390fd5b6000610a0b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b90565b60008183610b7d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b42578181015183820152602001610b2a565b50505050905090810190601f168015610b6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50828481610b8757fe5b06949350505050565b60008183610bdf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610b42578181015183820152602001610b2a565b506000838581610beb57fe5b0495945050505050565b604080516101008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c7c57805160ff1916838001178555610ca9565b82800160010185558215610ca9579182015b82811115610ca9578251825591602001919060010190610c8e565b50610cb5929150610cb9565b5090565b5b80821115610cb55760008155600101610cba56fe4d696e7450726f706f73616c3a3a63616c6c6572206973206e6f7420626f72696e6744414f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212203458b6543c7720ee84c6f3b0632163c531cc1247c8858d8c94bec820edb0c0b164736f6c634300060c003300000000000000000000000065dfd6117bcd70a0fe37a715de75aae38eb50e48

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c806332ed5b1214610046578063e4886e0514610122578063f99021a21461013c575b600080fd5b6100636004803603602081101561005c57600080fd5b503561021b565b60405180898152602001888152602001878152602001866001600160a01b0316815260200185151581526020018415158152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156100e05781810151838201526020016100c8565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390f35b61012a6102ff565b60408051918252519081900360200190f35b610207600480360360c081101561015257600080fd5b8135919081019060408101602082013564010000000081111561017457600080fd5b82018360208201111561018657600080fd5b803590602001918460018302840111640100000000831117156101a857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350506001600160a01b036020830135811692604081013590911691506060013561030f565b604080519115158252519081900360200190f35b600160208181526000928352604092839020805481840154600280840154600385015460058601546006870180548b516101009b8216159b909b02600019011694909404601f810189900489028a018901909a528989529498939791966001600160a01b0380831697600160a01b840460ff90811698600160a81b90950416969190931694929392918301828280156102f55780601f106102ca576101008083540402835291602001916102f5565b820191906000526020600020905b8154815290600101906020018083116102d857829003601f168201915b5050505050905088565b68426f72696e6744414f60b81b81565b600080546040805163130852b360e11b815268426f72696e6744414f60b81b600482015290516001600160a01b0390921691632610a56691602480820192602092909190829003018186803b15801561036757600080fd5b505afa15801561037b573d6000803e3d6000fd5b505050506040513d602081101561039157600080fd5b50516001600160a01b031633146103d95760405162461bcd60e51b8152600401808060200182810382526025815260200180610ccf6025913960400191505060405180910390fd5b6000546040805163130852b360e11b815268426f72696e6744414f60b81b600482015290516001600160a01b0390921691632610a56691602480820192602092909190829003018186803b15801561043057600080fd5b505afa158015610444573d6000803e3d6000fd5b505050506040513d602081101561045a57600080fd5b50516001600160a01b0316331461047057600080fd5b6000878787876040516020018085815260200184805190602001908083835b602083106104ae5780518252601f19909201916020918201910161048f565b51815160209384036101000a600019018019909216911617905292019485525060609290921b6bffffffffffffffffffffffff19168383015250604080516014818503018152603490930181528251928201929092206000818152600190925291902060030154909350600160a81b900460ff1615159150610788905057610534610bf5565b6040518061010001604052808a815260200188815260200160018152602001866001600160a01b03168152602001600015158152602001600115158152602001876001600160a01b03168152602001898152509050806001600084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160030160146101000a81548160ff02191690831515021790555060a08201518160030160156101000a81548160ff02191690831515021790555060c08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060e0820151816006019080519060200190610671929190610c3b565b50505060008281526001602081815260408084206001600160a01b03808b1680875260049092018452828620805460ff19169095179094558582015182518f81529283018d9052938b166060830152608082015260a0810183905260c0810188905260e08183018181528d51918301919091528c517ff9965df8085b297cc8d3b2470b8e4cc308baa6509a610b4a4ca862292d6b5edc958f958f958f958f958f9593948f94929391926101008501928b01918190849084905b8381101561074257818101518382015260200161072a565b50505050905090810190601f16801561076f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a15061091e565b60008181526001602081815260408084206001600160a01b0389168552600481019092529092205460ff16151514156107c6576000925050506109a7565b6003810154600160a01b900460ff16156107e5576000925050506109a7565b60028101546107f59060016109b1565b81600201819055506001816004016000876001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff9965df8085b297cc8d3b2470b8e4cc308baa6509a610b4a4ca862292d6b5edc898989898986600201548a6040518088815260200180602001878152602001866001600160a01b03168152602001856001600160a01b03168152602001848152602001838152602001828103825288818151815260200191508051906020019080838360005b838110156108dc5781810151838201526020016108c4565b50505050905090810190601f1680156109095780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a1505b600081815260016020526040812090610938856003610a14565b156109635761095e60016109586003610952896002610a56565b90610aaf565b906109b1565b610973565b6109736003610952876002610a56565b90508082600201541061099f5750600301805460ff60a01b1916600160a01b17905550600190506109a7565b600093505050505b9695505050505050565b600082820183811015610a0b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610a0b83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250610af1565b600082610a6557506000610a0e565b82820282848281610a7257fe5b0414610a0b5760405162461bcd60e51b8152600401808060200182810382526021815260200180610cf46021913960400191505060405180910390fd5b6000610a0b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b90565b60008183610b7d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b42578181015183820152602001610b2a565b50505050905090810190601f168015610b6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50828481610b8757fe5b06949350505050565b60008183610bdf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610b42578181015183820152602001610b2a565b506000838581610beb57fe5b0495945050505050565b604080516101008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082019290925260e081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c7c57805160ff1916838001178555610ca9565b82800160010185558215610ca9579182015b82811115610ca9578251825591602001919060010190610c8e565b50610cb5929150610cb9565b5090565b5b80821115610cb55760008155600101610cba56fe4d696e7450726f706f73616c3a3a63616c6c6572206973206e6f7420626f72696e6744414f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212203458b6543c7720ee84c6f3b0632163c531cc1247c8858d8c94bec820edb0c0b164736f6c634300060c0033

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

00000000000000000000000065dfd6117bcd70a0fe37a715de75aae38eb50e48

-----Decoded View---------------
Arg [0] : _addrResovler (address): 0x65Dfd6117BcD70A0FE37A715dE75Aae38eb50E48

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000065dfd6117bcd70a0fe37a715de75aae38eb50e48


Deployed Bytecode Sourcemap

6345:2917:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6934:45;;;;;;;;;;;;;;;;-1:-1:-1;6934:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6934:45:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6934:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6426:47;;;:::i;:::-;;;;;;;;;;;;;;;;6988:1892;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6988:1892:0;;-1:-1:-1;;6988:1892:0;;;-1:-1:-1;;;;;;;6988:1892:0;;;;;;;;;;;;;;;-1:-1:-1;6988:1892:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6934:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6934:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6934:45:0;;;;-1:-1:-1;;;6934:45:0;;;;;;;-1:-1:-1;;;6934:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6426:47::-;-1:-1:-1;;;6426:47:0;:::o;6988:1892::-;7214:4;8944:8;;:31;;;-1:-1:-1;;;8944:31:0;;-1:-1:-1;;;8944:31:0;;;;;;-1:-1:-1;;;;;8944:8:0;;;;:20;;:31;;;;;;;;;;;;;;;:8;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8944:31:0;-1:-1:-1;;;;;8930:45:0;:10;:45;8922:95;;;;-1:-1:-1;;;8922:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7253:8:::1;::::0;:31:::1;::::0;;-1:-1:-1;;;7253:31:0;;-1:-1:-1;;;7253:31:0::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;7253:8:0;;::::1;::::0;:20:::1;::::0;:31;;;;;::::1;::::0;;;;;;;;;:8;:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7253:31:0;-1:-1:-1;;;;;7239:45:0::1;:10;:45;7231:54;;;::::0;::::1;;7296:11;7351:10;7363:5;7370:7;7379:2;7334:48;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;7334:48:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;::::0;;;::::1;::::0;;::::1;;;-1:-1:-1::0;;7334:48:0;;::::1;::::0;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;;-1:-1:-1;7334:48:0::1;::::0;;;;-1:-1:-1;;7334:48:0;;;::::1;::::0;-1:-1:-1;7334:48:0::1;::::0;;::::1;::::0;;;;;;;;;;;;7310:83;;;;::::1;::::0;;;;-1:-1:-1;7408:14:0;;;7334:48:::1;7408:14:::0;;;;;;:22:::1;;::::0;7310:83;;-1:-1:-1;;;;7408:22:0;::::1;;;:31;;::::0;-1:-1:-1;7404:1151:0::1;::::0;-1:-1:-1;7404:1151:0::1;7485:17;;:::i;:::-;7505:286;;;;;;;;7544:10;7505:286;;;;7636:7;7505:286;;;;7708:1;7505:286;;;;7671:7;-1:-1:-1::0;;;;;7505:286:0::1;;;;;7738:5;7505:286;;;;;;7771:4;7505:286;;;;;;7577:2;-1:-1:-1::0;;;;;7505:286:0::1;;;;;7604:5;7505:286;;::::0;7485:306:::1;;7823:1;7806:9;:14;7816:3;7806:14;;;;;;;;;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;7806:18:0::1;;;;;-1:-1:-1::0;;;;;7806:18:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;7806:18:0::1;;;;;-1:-1:-1::0;;;;;7806:18:0::1;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;7839:14:0::1;::::0;;;7875:4:::1;7839:14;::::0;;;;;;;-1:-1:-1;;;;;7839:33:0;;::::1;::::0;;;:24:::1;::::0;;::::1;:33:::0;;;;;:40;;-1:-1:-1;;7839:40:0::1;::::0;;::::1;::::0;;;7957:11;;::::1;::::0;7899:84;;;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;7916:10;;7928:5;;7935:7;;7944:2;;7864:7;;7957:11;;7970:12;;7899:84;;;;7839:40:::1;7899:84:::0;;;;::::1;::::0;;;;;;;::::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7404:1151;;;;8047:18;8068:14:::0;;;:9:::1;:14;::::0;;;;;;;-1:-1:-1;;;;;8145:20:0;::::1;::::0;;:11:::1;::::0;::::1;:20:::0;;;;;;;::::1;;:28;;;8142:80;;;8201:5;8194:12;;;;;;8142:80;8292:10;::::0;::::1;::::0;-1:-1:-1;;;8292:10:0;::::1;;;8288:63;;;8330:5;8323:12;;;;;;8288:63;8379:11;::::0;::::1;::::0;:18:::1;::::0;8395:1:::1;8379:15;:18::i;:::-;8365:1;:11;;:32;;;;8435:4;8412:1;:11;;:20;8424:7;-1:-1:-1::0;;;;;8412:20:0::1;-1:-1:-1::0;;;;;8412:20:0::1;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;8459:84;8476:10;8488:5;8495:7;8504:2;8508:7;8517:1;:11;;;8530:12;8459:84;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;8459:84:0::1;;;;;;-1:-1:-1::0;;;;;8459:84:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7404:1151;;8565:18;8586:14:::0;;;:9:::1;:14;::::0;;;;;8628:19:::1;:12:::0;8645:1:::1;8628:16;:19::i;:::-;:24:::0;:89:::1;;8684:33;8715:1;8684:26;8708:1;8684:19;:12:::0;8701:1:::1;8684:16;:19::i;:::-;:23:::0;::::1;:26::i;:::-;:30:::0;::::1;:33::i;:::-;8628:89;;;8655:26;8679:1;8655:19;:12:::0;8672:1:::1;8655:16;:19::i;:26::-;8611:106;;8747:9;8732:1;:11;;;:24;8728:145;;-1:-1:-1::0;8773:10:0::1;;:17:::0;;-1:-1:-1;;;;8773:17:0::1;-1:-1:-1::0;;;8773:17:0::1;::::0;;-1:-1:-1;8786:4:0::1;::::0;-1:-1:-1;8805:11:0::1;;8728:145;8856:5;8849:12;;;;;9028:1;6988:1892:::0;;;;;;;;:::o;1480:181::-;1538:7;1570:5;;;1594:6;;;;1586:46;;;;;-1:-1:-1;;;1586:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1652:1;-1:-1:-1;1480:181:0;;;;;:::o;5152:130::-;5210:7;5237:37;5241:1;5244;5237:37;;;;;;;;;;;;;;;;;:3;:37::i;2834:471::-;2892:7;3137:6;3133:47;;-1:-1:-1;3167:1:0;3160:8;;3133:47;3204:5;;;3208:1;3204;:5;:1;3228:5;;;;;:10;3220:56;;;;-1:-1:-1;;;3220:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3781:132;3839:7;3866:39;3870:1;3873;3866:39;;;;;;;;;;;;;;;;;:3;:39::i;5767:166::-;5853:7;5889:12;5881:6;5873:29;;;;-1:-1:-1;;;5873:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5924:1;5920;:5;;;;;;;5767:166;-1:-1:-1;;;;5767:166:0:o;4409:278::-;4495:7;4530:12;4523:5;4515:28;;;;-1:-1:-1;;;4515:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4554:9;4570:1;4566;:5;;;;;;;4409:278;-1:-1:-1;;;;;4409:278:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://3458b6543c7720ee84c6f3b0632163c531cc1247c8858d8c94bec820edb0c0b1

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.