ETH Price: $3,382.01 (-0.75%)
Gas: 4 Gwei

Contract

0x10235f2d820bdaC032fDeEA25f9A57EB0890c3E0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw134487952021-10-19 14:37:12984 days ago1634654232IN
0x10235f2d...B0890c3E0
0 ETH0.0025202281.08579229
Withdraw134477402021-10-19 10:43:36984 days ago1634640216IN
0x10235f2d...B0890c3E0
0 ETH0.0015779450.76890524
Withdraw134461392021-10-19 4:45:05984 days ago1634618705IN
0x10235f2d...B0890c3E0
0 ETH0.0029196693.93745116
Withdraw134444912021-10-18 22:41:14984 days ago1634596874IN
0x10235f2d...B0890c3E0
0 ETH0.0022416872.12403236
Withdraw134443962021-10-18 22:17:11984 days ago1634595431IN
0x10235f2d...B0890c3E0
0 ETH0.0027102387.19911994
Withdraw134295872021-10-16 14:34:35987 days ago1634394875IN
0x10235f2d...B0890c3E0
0 ETH0.00384535123.72033888
Withdraw134276732021-10-16 7:24:01987 days ago1634369041IN
0x10235f2d...B0890c3E0
0 ETH0.0020689466.566268
Withdraw134270562021-10-16 5:09:24987 days ago1634360964IN
0x10235f2d...B0890c3E0
0 ETH0.0027440188.28588365
Withdraw134250572021-10-15 21:33:50987 days ago1634333630IN
0x10235f2d...B0890c3E0
0 ETH0.0026828986.31940459
Withdraw134248222021-10-15 20:42:35987 days ago1634330555IN
0x10235f2d...B0890c3E0
0 ETH0.00481427154.8943088
0x60806040133794102021-10-08 17:03:02994 days ago1633712582IN
 Create: MarsGenesisMartiansWallet
0 ETH0.3668555110

Latest 12 internal transactions

Advanced mode:
Parent Transaction Hash Block From To Value
134487952021-10-19 14:37:12984 days ago1634654232
0x10235f2d...B0890c3E0
0.664 ETH
134477402021-10-19 10:43:36984 days ago1634640216
0x10235f2d...B0890c3E0
0.664 ETH
134461392021-10-19 4:45:05984 days ago1634618705
0x10235f2d...B0890c3E0
3.984 ETH
134444912021-10-18 22:41:14984 days ago1634596874
0x10235f2d...B0890c3E0
3.984 ETH
134443962021-10-18 22:17:11984 days ago1634595431
0x10235f2d...B0890c3E0
3.984 ETH
134443812021-10-18 22:13:42984 days ago1634595222
0x10235f2d...B0890c3E0
13.28 ETH
134295872021-10-16 14:34:35987 days ago1634394875
0x10235f2d...B0890c3E0
0.8 ETH
134276732021-10-16 7:24:01987 days ago1634369041
0x10235f2d...B0890c3E0
4.8 ETH
134270562021-10-16 5:09:24987 days ago1634360964
0x10235f2d...B0890c3E0
0.8 ETH
134250572021-10-15 21:33:50987 days ago1634333630
0x10235f2d...B0890c3E0
4.8 ETH
134248222021-10-15 20:42:35987 days ago1634330555
0x10235f2d...B0890c3E0
4.8 ETH
134248012021-10-15 20:37:27987 days ago1634330247
0x10235f2d...B0890c3E0
16 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MarsGenesisMartiansWallet

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : MarsGenesisMartiansWallet.sol
///// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";

/// @title MarsGenesis Martians wallet contract
/// @author MarsGenesis
/// @dev Equity values are 0 to 10000 (representing 0 to 100 with decimals). So an equity of 3000 means 30%
/// @notice Encapsulates the wallet and cap table management
contract MarsGenesisMartiansWallet is AccessControlEnumerable {

    /// @dev Address of the deployer account
    address private _deployerAddress;

    
    /*** CAP TABLE ***/

    address[] private _founders;
    mapping(address => uint) public founderToEquity;
    mapping(address => FounderAuthorization[]) private _addressToFounderAuthorization;

    /// @dev A mapping of cxo address to their pending withdrawal
    mapping (address => uint) public addressToPendingWithdrawal;
    
    /// @dev The max shares being 100 represented by 10000 (to accept decimal positions)
    uint private constant TOTAL_CAP = 10000;

    struct FounderAuthorization {      
        address founder;
        uint equity;
        bool approved;
        bool isRemoval;
    }

    /*** INIT ***/
    /// @notice Inits the wallet
    /// @dev defines a initial cap table with specific equity per founder. Equity values 0 - 10000 representing 0-100% equity
    /// @param cxo1 founder 1     
    /// @param cxo2 founder 2
    /// @param cxo3 founder 3
    /// @param cdo1 founder 4
    /// @param cdo2 founder 5
    constructor (address cxo1, address cxo2, address cxo3, address cdo1, address cdo2) {
        _deployerAddress = msg.sender;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);

        // Initial cap table
        createInitialFounder(cxo1, 3000);
        createInitialFounder(cxo2, 3000);
        createInitialFounder(cxo3, 3000);
        createInitialFounder(cdo1, 500);
        createInitialFounder(cdo2, 500);
    }

    /// @notice Inits the a initial founder.
    /// @dev Only callable once on contract construction
    /// @param founderAddress The address of a initial founder 
    /// @param equity The equity of the initial founder. Equity values 0 - 10000 representing 0-100% equity
    function createInitialFounder(address founderAddress, uint equity) private {
        require(msg.sender == _deployerAddress, "ONLY_DEPLOYER");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");

        _founders.push(founderAddress);
        _setupRole(DEFAULT_ADMIN_ROLE, founderAddress);
        founderToEquity[founderAddress] = equity;
    }


    /*** PUBLIC ***/

    /// @notice Wallet should receive ether from MarsGenesisMartiansCore and MarsGenesisMartiansAuction
    /// @dev Ether received is splitted by equity among wallet founders
    receive() external payable {
        require(msg.value > 0, "INVALID_AMOUNT");
        _updatePendingWithdrawals(msg.value);
    }

    function authorize(bool approved, uint equity, address who) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");
        require(equity >= 0, "INVALID EQUITY (0-10000)");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        bool exists = false;
        for (uint i = 0; i < auths.length; i++) {
            if (auths[i].founder == msg.sender) {
                exists = true;
                auths[i].equity = equity;
                auths[i].approved = approved;
                auths[i].isRemoval = false;
            }
        }

        if (!exists) {
            auths.push(FounderAuthorization({founder: msg.sender, equity: equity, approved: approved, isRemoval: false}));
        }
    }

    function revoke(bool approved, address who) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        bool exists = false;
        for (uint i = 0; i < auths.length; i++) {
            if (auths[i].founder == msg.sender) {
                exists = true;
                auths[i].equity = 0;
                auths[i].approved = approved;
                auths[i].isRemoval = true;
            }
        }

        if (!exists) {
            auths.push(FounderAuthorization({founder: msg.sender, equity: 0, approved: approved, isRemoval: true}));
        }
    }

    function updateCapTable(address who, uint equity, bool isRemoval) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");
        require(equity >= 0, "INVALID EQUITY (0-10000)");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        uint equityYes = 0;

        for (uint i = 0; i < auths.length; i++) {
            if (equity == auths[i].equity && auths[i].approved == true && isRemoval == auths[i].isRemoval) {
                equityYes += founderToEquity[auths[i].founder];
            } 
        }

        if (equityYes >= 7000) {
            if (isRemoval) {
                _removeFounder(who);
            } else {
                _addFounder(who, equity);
            }  
            delete _addressToFounderAuthorization[who];
        } 
    }

    function withdraw() external {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        
        uint amount = addressToPendingWithdrawal[_msgSender()];
        addressToPendingWithdrawal[_msgSender()] = 0;
        
        payable(_msgSender()).transfer(amount);
    }

    /*** PRIVATE ***/

    function _addFounder(address who, uint equity) private {
        require(!_founderExists(who), "FOUNDER ALREADY EXISTS");

        for (uint i = 0; i < _founders.length; i++) {
            founderToEquity[_founders[i]] = founderToEquity[_founders[i]] * (TOTAL_CAP - equity) / TOTAL_CAP;
        }

        _founders.push(who);
        grantRole(DEFAULT_ADMIN_ROLE, who);
        founderToEquity[who] = equity;
    }

    function _removeFounder(address who) private {
        require(_founderExists(who), "FOUNDER DOESNT EXIST");

        uint equityToSplit = founderToEquity[who];
        uint indexToRemove;
        for (uint i = 0; i < _founders.length; i++) {
            if (_founders[i] == who) {
                indexToRemove = i;
                founderToEquity[who] = 0;
            } else {
               founderToEquity[_founders[i]] =  TOTAL_CAP * founderToEquity[_founders[i]] / (TOTAL_CAP - equityToSplit);
            }
        }

        delete _founders[indexToRemove];
        revokeRole(DEFAULT_ADMIN_ROLE, who);
    }

    function _founderExists(address who) private view returns(bool) {
        bool exists = false;
        for (uint i = 0; i < _founders.length; i++) {
            if (_founders[i] == who) {
                exists = true;
            }
        }
        return exists;
    }

    function _updatePendingWithdrawals(uint amount) private {
        for (uint i = 0; i < _founders.length; i++) {
            addressToPendingWithdrawal[_founders[i]] = addressToPendingWithdrawal[_founders[i]] + (amount * founderToEquity[_founders[i]] / TOTAL_CAP);
        }
    }
}

File 2 of 8 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.toHexString(uint256(role), 32)
            )));
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 8 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 4 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 5 of 8 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 6 of 8 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 7 of 8 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 8 of 8 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"cxo1","type":"address"},{"internalType":"address","name":"cxo2","type":"address"},{"internalType":"address","name":"cxo3","type":"address"},{"internalType":"address","name":"cdo1","type":"address"},{"internalType":"address","name":"cdo2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToPendingWithdrawal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"equity","type":"uint256"},{"internalType":"address","name":"who","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"founderToEquity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"address","name":"who","type":"address"}],"name":"revoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"uint256","name":"equity","type":"uint256"},{"internalType":"bool","name":"isRemoval","type":"bool"}],"name":"updateCapTable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200355a3803806200355a833981810160405281019062000037919062000597565b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200008d6000801b33620000fc60201b60201c565b620000a185610bb86200014460201b60201c565b620000b584610bb86200014460201b60201c565b620000c983610bb86200014460201b60201c565b620000dd826101f46200014460201b60201c565b620000f1816101f46200014460201b60201c565b505050505062000714565b620001138282620002df60201b620012961760201c565b6200013f8160016000858152602001908152602001600020620002f560201b620012a41790919060201c565b505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620001d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ce9062000680565b60405180910390fd5b6127108111156200021f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021690620006f2565b60405180910390fd5b6003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002976000801b83620000fc60201b60201c565b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b620002f182826200032d60201b60201c565b5050565b600062000325836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200041e60201b60201c565b905092915050565b6200033f82826200049860201b60201c565b6200041a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003bf6200050260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200043283836200050a60201b60201c565b6200048d57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000492565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080836001016000848152602001908152602001600020541415905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200055f8262000532565b9050919050565b620005718162000552565b81146200057d57600080fd5b50565b600081519050620005918162000566565b92915050565b600080600080600060a08688031215620005b657620005b56200052d565b5b6000620005c68882890162000580565b9550506020620005d98882890162000580565b9450506040620005ec8882890162000580565b9350506060620005ff8882890162000580565b9250506080620006128882890162000580565b9150509295509295909350565b600082825260208201905092915050565b7f4f4e4c595f4445504c4f59455200000000000000000000000000000000000000600082015250565b600062000668600d836200061f565b9150620006758262000630565b602082019050919050565b600060208201905081810360008301526200069b8162000659565b9050919050565b7f494e56414c4944204551554954592028302d3130303030290000000000000000600082015250565b6000620006da6018836200061f565b9150620006e782620006a2565b602082019050919050565b600060208201905081810360008301526200070d81620006cb565b9050919050565b612e3680620007246000396000f3fe6080604052600436106100ec5760003560e01c80639010d07c1161008a578063afcc4aca11610059578063afcc4aca1461035b578063be48116614610384578063ca15c873146103c1578063d547741f146103fe5761013f565b80639010d07c1461028d57806391d14854146102ca578063946a828314610307578063a217fddf146103305761013f565b806336568abe116100c657806336568abe146101e75780633ccfd60b146102105780634c5e5f8f1461022757806372db17b0146102645761013f565b806301ffc9a714610144578063248a9ca3146101815780632f2ff15d146101be5761013f565b3661013f5760003411610134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012b90612281565b60405180910390fd5b61013d34610427565b005b600080fd5b34801561015057600080fd5b5061016b600480360381019061016691906122fe565b6105ed565b6040516101789190612346565b60405180910390f35b34801561018d57600080fd5b506101a860048036038101906101a39190612397565b610667565b6040516101b591906123d3565b60405180910390f35b3480156101ca57600080fd5b506101e560048036038101906101e0919061244c565b610686565b005b3480156101f357600080fd5b5061020e6004803603810190610209919061244c565b6106ba565b005b34801561021c57600080fd5b506102256106ee565b005b34801561023357600080fd5b5061024e6004803603810190610249919061248c565b610829565b60405161025b91906124d2565b60405180910390f35b34801561027057600080fd5b5061028b60048036038101906102869190612545565b610841565b005b34801561029957600080fd5b506102b460048036038101906102af9190612598565b610ba9565b6040516102c191906125e7565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061244c565b610bd8565b6040516102fe9190612346565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190612602565b610c42565b005b34801561033c57600080fd5b50610345610f3f565b60405161035291906123d3565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190612655565b610f46565b005b34801561039057600080fd5b506103ab60048036038101906103a6919061248c565b611226565b6040516103b891906124d2565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190612397565b61123e565b6040516103f591906124d2565b60405180910390f35b34801561040a57600080fd5b506104256004803603810190610420919061244c565b611262565b005b60005b6003805490508110156105e957612710600460006003848154811061045257610451612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836104c391906126f3565b6104cd919061277c565b60066000600384815481106104e5576104e4612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461055591906127ad565b600660006003848154811061056d5761056c612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806105e190612803565b91505061042a565b5050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610660575061065f826112d4565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b610690828261134e565b6106b581600160008581526020019081526020016000206112a490919063ffffffff16565b505050565b6106c48282611377565b6106e981600160008581526020019081526020016000206113fa90919063ffffffff16565b505050565b6107026000801b6106fd61142a565b610bd8565b610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890612898565b60405180910390fd5b60006006600061074f61142a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006006600061079a61142a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506107e061142a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610825573d6000803e3d6000fd5b5050565b60066020528060005260406000206000915090505481565b6108556000801b61085061142a565b610bd8565b610894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088b90612898565b60405180910390fd5b6127108211156108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d090612904565b60405180910390fd5b600082101561091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490612904565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b8280549050811015610aa2573373ffffffffffffffffffffffffffffffffffffffff1683828154811061099a57610999612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a8f576001915084838281548110610a00576109ff612695565b5b90600052602060002090600302016001018190555085838281548110610a2957610a28612695565b5b906000526020600020906003020160020160006101000a81548160ff0219169083151502179055506000838281548110610a6657610a65612695565b5b906000526020600020906003020160020160016101000a81548160ff0219169083151502179055505b8080610a9a90612803565b915050610964565b5080610ba2578160405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001868152602001871515815260200160001515815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050505b5050505050565b6000610bd0826001600086815260200190815260200160002061143290919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610c566000801b610c5161142a565b610bd8565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90612898565b60405180910390fd5b612710821115610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd190612904565b60405180910390fd5b6000821015610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1590612904565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b8280549050811015610ec357828181548110610d8457610d83612695565b5b90600052602060002090600302016001015485148015610dd9575060011515838281548110610db657610db5612695565b5b906000526020600020906003020160020160009054906101000a900460ff161515145b8015610e195750828181548110610df357610df2612695565b5b906000526020600020906003020160020160019054906101000a900460ff161515841515145b15610eb05760046000848381548110610e3557610e34612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610ead91906127ad565b91505b8080610ebb90612803565b915050610d65565b50611b588110610f38578215610ee157610edc8561144c565b610eec565b610eeb8585611738565b5b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610f379190612192565b5b5050505050565b6000801b81565b610f5a6000801b610f5561142a565b610bd8565b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090612898565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b828054905081101561111f573373ffffffffffffffffffffffffffffffffffffffff1683828154811061101657611015612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561110c5760019150600083828154811061107d5761107c612695565b5b906000526020600020906003020160010181905550848382815481106110a6576110a5612695565b5b906000526020600020906003020160020160006101000a81548160ff02191690831515021790555060018382815481106110e3576110e2612695565b5b906000526020600020906003020160020160016101000a81548160ff0219169083151502179055505b808061111790612803565b915050610fe0565b5080611220578160405180608001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001861515815260200160011515815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050505b50505050565b60046020528060005260406000206000915090505481565b600061125b60016000848152602001908152602001600020611981565b9050919050565b61126c8282611996565b61129181600160008581526020019081526020016000206113fa90919063ffffffff16565b505050565b6112a082826119bf565b5050565b60006112cc836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a9f565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611347575061134682611b0f565b5b9050919050565b61135782610667565b6113688161136361142a565b611b79565b61137283836119bf565b505050565b61137f61142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390612996565b60405180910390fd5b6113f68282611c16565b5050565b6000611422836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611cf7565b905092915050565b600033905090565b60006114418360000183611e03565b60001c905092915050565b61145581611e77565b611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612a02565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600080600090505b6003805490508110156116e4578373ffffffffffffffffffffffffffffffffffffffff166003828154811061151857611517612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115ac578091506000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116d1565b826127106115ba9190612a22565b60046000600384815481106115d2576115d1612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461271061164591906126f3565b61164f919061277c565b600460006003848154811061166757611666612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b80806116dc90612803565b9150506114e0565b50600381815481106116f9576116f8612695565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556117336000801b84611262565b505050565b61174182611e77565b15611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890612aa2565b60405180910390fd5b60005b6003805490508110156118c857612710826127106117a29190612a22565b60046000600385815481106117ba576117b9612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182a91906126f3565b611834919061277c565b600460006003848154811061184c5761184b612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806118c090612803565b915050611784565b506003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119396000801b83610686565b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600061198f82600001611f22565b9050919050565b61199f82610667565b6119b0816119ab61142a565b611b79565b6119ba8383611c16565b505050565b6119c98282610bd8565b611a9b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a4061142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611aab8383611f33565b611b04578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611b09565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b838282610bd8565b611c1257611ba88173ffffffffffffffffffffffffffffffffffffffff166014611f56565b611bb68360001c6020611f56565b604051602001611bc7929190612bd4565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c099190612c58565b60405180910390fd5b5050565b611c208282610bd8565b15611cf357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c9861142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114611df7576000600182611d299190612a22565b9050600060018660000180549050611d419190612a22565b90506000866000018281548110611d5b57611d5a612695565b5b9060005260206000200154905080876000018481548110611d7f57611d7e612695565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480611dbb57611dba612c7a565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611dfd565b60009150505b92915050565b600081836000018054905011611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590612d1b565b60405180910390fd5b826000018281548110611e6457611e63612695565b5b9060005260206000200154905092915050565b6000806000905060005b600380549050811015611f18578373ffffffffffffffffffffffffffffffffffffffff1660038281548110611eb957611eb8612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f0557600191505b8080611f1090612803565b915050611e81565b5080915050919050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606060006002836002611f6991906126f3565b611f7391906127ad565b67ffffffffffffffff811115611f8c57611f8b612d3b565b5b6040519080825280601f01601f191660200182016040528015611fbe5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611ff657611ff5612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061205a57612059612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261209a91906126f3565b6120a491906127ad565b90505b6001811115612144577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106120e6576120e5612695565b5b1a60f81b8282815181106120fd576120fc612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061213d90612d6a565b90506120a7565b5060008414612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90612de0565b60405180910390fd5b8091505092915050565b50805460008255600302906000526020600020908101906121b391906121b6565b50565b5b8082111561222057600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff0219169055506003016121b7565b5090565b600082825260208201905092915050565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b600061226b600e83612224565b915061227682612235565b602082019050919050565b6000602082019050818103600083015261229a8161225e565b9050919050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122db816122a6565b81146122e657600080fd5b50565b6000813590506122f8816122d2565b92915050565b600060208284031215612314576123136122a1565b5b6000612322848285016122e9565b91505092915050565b60008115159050919050565b6123408161232b565b82525050565b600060208201905061235b6000830184612337565b92915050565b6000819050919050565b61237481612361565b811461237f57600080fd5b50565b6000813590506123918161236b565b92915050565b6000602082840312156123ad576123ac6122a1565b5b60006123bb84828501612382565b91505092915050565b6123cd81612361565b82525050565b60006020820190506123e860008301846123c4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612419826123ee565b9050919050565b6124298161240e565b811461243457600080fd5b50565b60008135905061244681612420565b92915050565b60008060408385031215612463576124626122a1565b5b600061247185828601612382565b925050602061248285828601612437565b9150509250929050565b6000602082840312156124a2576124a16122a1565b5b60006124b084828501612437565b91505092915050565b6000819050919050565b6124cc816124b9565b82525050565b60006020820190506124e760008301846124c3565b92915050565b6124f68161232b565b811461250157600080fd5b50565b600081359050612513816124ed565b92915050565b612522816124b9565b811461252d57600080fd5b50565b60008135905061253f81612519565b92915050565b60008060006060848603121561255e5761255d6122a1565b5b600061256c86828701612504565b935050602061257d86828701612530565b925050604061258e86828701612437565b9150509250925092565b600080604083850312156125af576125ae6122a1565b5b60006125bd85828601612382565b92505060206125ce85828601612530565b9150509250929050565b6125e18161240e565b82525050565b60006020820190506125fc60008301846125d8565b92915050565b60008060006060848603121561261b5761261a6122a1565b5b600061262986828701612437565b935050602061263a86828701612530565b925050604061264b86828701612504565b9150509250925092565b6000806040838503121561266c5761266b6122a1565b5b600061267a85828601612504565b925050602061268b85828601612437565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006126fe826124b9565b9150612709836124b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612742576127416126c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612787826124b9565b9150612792836124b9565b9250826127a2576127a161274d565b5b828204905092915050565b60006127b8826124b9565b91506127c3836124b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156127f8576127f76126c4565b5b828201905092915050565b600061280e826124b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612841576128406126c4565b5b600182019050919050565b7f494e56414c49445f524f4c450000000000000000000000000000000000000000600082015250565b6000612882600c83612224565b915061288d8261284c565b602082019050919050565b600060208201905081810360008301526128b181612875565b9050919050565b7f494e56414c4944204551554954592028302d3130303030290000000000000000600082015250565b60006128ee601883612224565b91506128f9826128b8565b602082019050919050565b6000602082019050818103600083015261291d816128e1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612980602f83612224565b915061298b82612924565b604082019050919050565b600060208201905081810360008301526129af81612973565b9050919050565b7f464f554e44455220444f45534e54204558495354000000000000000000000000600082015250565b60006129ec601483612224565b91506129f7826129b6565b602082019050919050565b60006020820190508181036000830152612a1b816129df565b9050919050565b6000612a2d826124b9565b9150612a38836124b9565b925082821015612a4b57612a4a6126c4565b5b828203905092915050565b7f464f554e44455220414c52454144592045584953545300000000000000000000600082015250565b6000612a8c601683612224565b9150612a9782612a56565b602082019050919050565b60006020820190508181036000830152612abb81612a7f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000612b03601783612ac2565b9150612b0e82612acd565b601782019050919050565b600081519050919050565b60005b83811015612b42578082015181840152602081019050612b27565b83811115612b51576000848401525b50505050565b6000612b6282612b19565b612b6c8185612ac2565b9350612b7c818560208601612b24565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612bbe601183612ac2565b9150612bc982612b88565b601182019050919050565b6000612bdf82612af6565b9150612beb8285612b57565b9150612bf682612bb1565b9150612c028284612b57565b91508190509392505050565b6000601f19601f8301169050919050565b6000612c2a82612b19565b612c348185612224565b9350612c44818560208601612b24565b612c4d81612c0e565b840191505092915050565b60006020820190508181036000830152612c728184612c1f565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d05602283612224565b9150612d1082612ca9565b604082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000612d75826124b9565b91506000821415612d8957612d886126c4565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612dca602083612224565b9150612dd582612d94565b602082019050919050565b60006020820190508181036000830152612df981612dbd565b905091905056fea2646970667358221220fbcc7246cc7ff9775cef0fb2eb85719d63477cd25c7a3f7737d984b08e15f3d764736f6c63430008090033000000000000000000000000d2daaf457afa4adaeb449f42c7e97b05151fb5f0000000000000000000000000df939a5e8c3a173ff9c4e95474675993d9acc62400000000000000000000000026ccb1b045c8dd04a1c91892b52d0de25c5e8bb2000000000000000000000000fadddbfa1247e90899b21d13fca8f11700f61d970000000000000000000000008e05a4c50dcdd85a95b780eea7ef73eb6d81ecec

Deployed Bytecode

0x6080604052600436106100ec5760003560e01c80639010d07c1161008a578063afcc4aca11610059578063afcc4aca1461035b578063be48116614610384578063ca15c873146103c1578063d547741f146103fe5761013f565b80639010d07c1461028d57806391d14854146102ca578063946a828314610307578063a217fddf146103305761013f565b806336568abe116100c657806336568abe146101e75780633ccfd60b146102105780634c5e5f8f1461022757806372db17b0146102645761013f565b806301ffc9a714610144578063248a9ca3146101815780632f2ff15d146101be5761013f565b3661013f5760003411610134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012b90612281565b60405180910390fd5b61013d34610427565b005b600080fd5b34801561015057600080fd5b5061016b600480360381019061016691906122fe565b6105ed565b6040516101789190612346565b60405180910390f35b34801561018d57600080fd5b506101a860048036038101906101a39190612397565b610667565b6040516101b591906123d3565b60405180910390f35b3480156101ca57600080fd5b506101e560048036038101906101e0919061244c565b610686565b005b3480156101f357600080fd5b5061020e6004803603810190610209919061244c565b6106ba565b005b34801561021c57600080fd5b506102256106ee565b005b34801561023357600080fd5b5061024e6004803603810190610249919061248c565b610829565b60405161025b91906124d2565b60405180910390f35b34801561027057600080fd5b5061028b60048036038101906102869190612545565b610841565b005b34801561029957600080fd5b506102b460048036038101906102af9190612598565b610ba9565b6040516102c191906125e7565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061244c565b610bd8565b6040516102fe9190612346565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190612602565b610c42565b005b34801561033c57600080fd5b50610345610f3f565b60405161035291906123d3565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190612655565b610f46565b005b34801561039057600080fd5b506103ab60048036038101906103a6919061248c565b611226565b6040516103b891906124d2565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190612397565b61123e565b6040516103f591906124d2565b60405180910390f35b34801561040a57600080fd5b506104256004803603810190610420919061244c565b611262565b005b60005b6003805490508110156105e957612710600460006003848154811061045257610451612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836104c391906126f3565b6104cd919061277c565b60066000600384815481106104e5576104e4612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461055591906127ad565b600660006003848154811061056d5761056c612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806105e190612803565b91505061042a565b5050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610660575061065f826112d4565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b610690828261134e565b6106b581600160008581526020019081526020016000206112a490919063ffffffff16565b505050565b6106c48282611377565b6106e981600160008581526020019081526020016000206113fa90919063ffffffff16565b505050565b6107026000801b6106fd61142a565b610bd8565b610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890612898565b60405180910390fd5b60006006600061074f61142a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006006600061079a61142a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506107e061142a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610825573d6000803e3d6000fd5b5050565b60066020528060005260406000206000915090505481565b6108556000801b61085061142a565b610bd8565b610894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088b90612898565b60405180910390fd5b6127108211156108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d090612904565b60405180910390fd5b600082101561091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490612904565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b8280549050811015610aa2573373ffffffffffffffffffffffffffffffffffffffff1683828154811061099a57610999612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a8f576001915084838281548110610a00576109ff612695565b5b90600052602060002090600302016001018190555085838281548110610a2957610a28612695565b5b906000526020600020906003020160020160006101000a81548160ff0219169083151502179055506000838281548110610a6657610a65612695565b5b906000526020600020906003020160020160016101000a81548160ff0219169083151502179055505b8080610a9a90612803565b915050610964565b5080610ba2578160405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001868152602001871515815260200160001515815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050505b5050505050565b6000610bd0826001600086815260200190815260200160002061143290919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610c566000801b610c5161142a565b610bd8565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90612898565b60405180910390fd5b612710821115610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd190612904565b60405180910390fd5b6000821015610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1590612904565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b8280549050811015610ec357828181548110610d8457610d83612695565b5b90600052602060002090600302016001015485148015610dd9575060011515838281548110610db657610db5612695565b5b906000526020600020906003020160020160009054906101000a900460ff161515145b8015610e195750828181548110610df357610df2612695565b5b906000526020600020906003020160020160019054906101000a900460ff161515841515145b15610eb05760046000848381548110610e3557610e34612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610ead91906127ad565b91505b8080610ebb90612803565b915050610d65565b50611b588110610f38578215610ee157610edc8561144c565b610eec565b610eeb8585611738565b5b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610f379190612192565b5b5050505050565b6000801b81565b610f5a6000801b610f5561142a565b610bd8565b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090612898565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000805b828054905081101561111f573373ffffffffffffffffffffffffffffffffffffffff1683828154811061101657611015612695565b5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561110c5760019150600083828154811061107d5761107c612695565b5b906000526020600020906003020160010181905550848382815481106110a6576110a5612695565b5b906000526020600020906003020160020160006101000a81548160ff02191690831515021790555060018382815481106110e3576110e2612695565b5b906000526020600020906003020160020160016101000a81548160ff0219169083151502179055505b808061111790612803565b915050610fe0565b5080611220578160405180608001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001861515815260200160011515815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050505b50505050565b60046020528060005260406000206000915090505481565b600061125b60016000848152602001908152602001600020611981565b9050919050565b61126c8282611996565b61129181600160008581526020019081526020016000206113fa90919063ffffffff16565b505050565b6112a082826119bf565b5050565b60006112cc836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a9f565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611347575061134682611b0f565b5b9050919050565b61135782610667565b6113688161136361142a565b611b79565b61137283836119bf565b505050565b61137f61142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390612996565b60405180910390fd5b6113f68282611c16565b5050565b6000611422836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611cf7565b905092915050565b600033905090565b60006114418360000183611e03565b60001c905092915050565b61145581611e77565b611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612a02565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600080600090505b6003805490508110156116e4578373ffffffffffffffffffffffffffffffffffffffff166003828154811061151857611517612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115ac578091506000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116d1565b826127106115ba9190612a22565b60046000600384815481106115d2576115d1612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461271061164591906126f3565b61164f919061277c565b600460006003848154811061166757611666612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b80806116dc90612803565b9150506114e0565b50600381815481106116f9576116f8612695565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556117336000801b84611262565b505050565b61174182611e77565b15611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890612aa2565b60405180910390fd5b60005b6003805490508110156118c857612710826127106117a29190612a22565b60046000600385815481106117ba576117b9612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182a91906126f3565b611834919061277c565b600460006003848154811061184c5761184b612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806118c090612803565b915050611784565b506003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119396000801b83610686565b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600061198f82600001611f22565b9050919050565b61199f82610667565b6119b0816119ab61142a565b611b79565b6119ba8383611c16565b505050565b6119c98282610bd8565b611a9b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a4061142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611aab8383611f33565b611b04578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611b09565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611b838282610bd8565b611c1257611ba88173ffffffffffffffffffffffffffffffffffffffff166014611f56565b611bb68360001c6020611f56565b604051602001611bc7929190612bd4565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c099190612c58565b60405180910390fd5b5050565b611c208282610bd8565b15611cf357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c9861142a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114611df7576000600182611d299190612a22565b9050600060018660000180549050611d419190612a22565b90506000866000018281548110611d5b57611d5a612695565b5b9060005260206000200154905080876000018481548110611d7f57611d7e612695565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480611dbb57611dba612c7a565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611dfd565b60009150505b92915050565b600081836000018054905011611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590612d1b565b60405180910390fd5b826000018281548110611e6457611e63612695565b5b9060005260206000200154905092915050565b6000806000905060005b600380549050811015611f18578373ffffffffffffffffffffffffffffffffffffffff1660038281548110611eb957611eb8612695565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f0557600191505b8080611f1090612803565b915050611e81565b5080915050919050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606060006002836002611f6991906126f3565b611f7391906127ad565b67ffffffffffffffff811115611f8c57611f8b612d3b565b5b6040519080825280601f01601f191660200182016040528015611fbe5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611ff657611ff5612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061205a57612059612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261209a91906126f3565b6120a491906127ad565b90505b6001811115612144577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106120e6576120e5612695565b5b1a60f81b8282815181106120fd576120fc612695565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061213d90612d6a565b90506120a7565b5060008414612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90612de0565b60405180910390fd5b8091505092915050565b50805460008255600302906000526020600020908101906121b391906121b6565b50565b5b8082111561222057600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff0219169055506003016121b7565b5090565b600082825260208201905092915050565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b600061226b600e83612224565b915061227682612235565b602082019050919050565b6000602082019050818103600083015261229a8161225e565b9050919050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122db816122a6565b81146122e657600080fd5b50565b6000813590506122f8816122d2565b92915050565b600060208284031215612314576123136122a1565b5b6000612322848285016122e9565b91505092915050565b60008115159050919050565b6123408161232b565b82525050565b600060208201905061235b6000830184612337565b92915050565b6000819050919050565b61237481612361565b811461237f57600080fd5b50565b6000813590506123918161236b565b92915050565b6000602082840312156123ad576123ac6122a1565b5b60006123bb84828501612382565b91505092915050565b6123cd81612361565b82525050565b60006020820190506123e860008301846123c4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612419826123ee565b9050919050565b6124298161240e565b811461243457600080fd5b50565b60008135905061244681612420565b92915050565b60008060408385031215612463576124626122a1565b5b600061247185828601612382565b925050602061248285828601612437565b9150509250929050565b6000602082840312156124a2576124a16122a1565b5b60006124b084828501612437565b91505092915050565b6000819050919050565b6124cc816124b9565b82525050565b60006020820190506124e760008301846124c3565b92915050565b6124f68161232b565b811461250157600080fd5b50565b600081359050612513816124ed565b92915050565b612522816124b9565b811461252d57600080fd5b50565b60008135905061253f81612519565b92915050565b60008060006060848603121561255e5761255d6122a1565b5b600061256c86828701612504565b935050602061257d86828701612530565b925050604061258e86828701612437565b9150509250925092565b600080604083850312156125af576125ae6122a1565b5b60006125bd85828601612382565b92505060206125ce85828601612530565b9150509250929050565b6125e18161240e565b82525050565b60006020820190506125fc60008301846125d8565b92915050565b60008060006060848603121561261b5761261a6122a1565b5b600061262986828701612437565b935050602061263a86828701612530565b925050604061264b86828701612504565b9150509250925092565b6000806040838503121561266c5761266b6122a1565b5b600061267a85828601612504565b925050602061268b85828601612437565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006126fe826124b9565b9150612709836124b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612742576127416126c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612787826124b9565b9150612792836124b9565b9250826127a2576127a161274d565b5b828204905092915050565b60006127b8826124b9565b91506127c3836124b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156127f8576127f76126c4565b5b828201905092915050565b600061280e826124b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612841576128406126c4565b5b600182019050919050565b7f494e56414c49445f524f4c450000000000000000000000000000000000000000600082015250565b6000612882600c83612224565b915061288d8261284c565b602082019050919050565b600060208201905081810360008301526128b181612875565b9050919050565b7f494e56414c4944204551554954592028302d3130303030290000000000000000600082015250565b60006128ee601883612224565b91506128f9826128b8565b602082019050919050565b6000602082019050818103600083015261291d816128e1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612980602f83612224565b915061298b82612924565b604082019050919050565b600060208201905081810360008301526129af81612973565b9050919050565b7f464f554e44455220444f45534e54204558495354000000000000000000000000600082015250565b60006129ec601483612224565b91506129f7826129b6565b602082019050919050565b60006020820190508181036000830152612a1b816129df565b9050919050565b6000612a2d826124b9565b9150612a38836124b9565b925082821015612a4b57612a4a6126c4565b5b828203905092915050565b7f464f554e44455220414c52454144592045584953545300000000000000000000600082015250565b6000612a8c601683612224565b9150612a9782612a56565b602082019050919050565b60006020820190508181036000830152612abb81612a7f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000612b03601783612ac2565b9150612b0e82612acd565b601782019050919050565b600081519050919050565b60005b83811015612b42578082015181840152602081019050612b27565b83811115612b51576000848401525b50505050565b6000612b6282612b19565b612b6c8185612ac2565b9350612b7c818560208601612b24565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612bbe601183612ac2565b9150612bc982612b88565b601182019050919050565b6000612bdf82612af6565b9150612beb8285612b57565b9150612bf682612bb1565b9150612c028284612b57565b91508190509392505050565b6000601f19601f8301169050919050565b6000612c2a82612b19565b612c348185612224565b9350612c44818560208601612b24565b612c4d81612c0e565b840191505092915050565b60006020820190508181036000830152612c728184612c1f565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d05602283612224565b9150612d1082612ca9565b604082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000612d75826124b9565b91506000821415612d8957612d886126c4565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612dca602083612224565b9150612dd582612d94565b602082019050919050565b60006020820190508181036000830152612df981612dbd565b905091905056fea2646970667358221220fbcc7246cc7ff9775cef0fb2eb85719d63477cd25c7a3f7737d984b08e15f3d764736f6c63430008090033

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

000000000000000000000000d2daaf457afa4adaeb449f42c7e97b05151fb5f0000000000000000000000000df939a5e8c3a173ff9c4e95474675993d9acc62400000000000000000000000026ccb1b045c8dd04a1c91892b52d0de25c5e8bb2000000000000000000000000fadddbfa1247e90899b21d13fca8f11700f61d970000000000000000000000008e05a4c50dcdd85a95b780eea7ef73eb6d81ecec

-----Decoded View---------------
Arg [0] : cxo1 (address): 0xd2dAAF457afA4adAEB449F42c7e97b05151fb5f0
Arg [1] : cxo2 (address): 0xdf939a5e8C3a173fF9c4E95474675993d9ACC624
Arg [2] : cxo3 (address): 0x26CcB1B045c8DD04a1c91892b52d0DE25C5e8Bb2
Arg [3] : cdo1 (address): 0xFADDDbfa1247E90899B21d13FcA8f11700F61D97
Arg [4] : cdo2 (address): 0x8e05a4C50DCDd85a95b780eeA7eF73eb6D81eCEC

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000d2daaf457afa4adaeb449f42c7e97b05151fb5f0
Arg [1] : 000000000000000000000000df939a5e8c3a173ff9c4e95474675993d9acc624
Arg [2] : 00000000000000000000000026ccb1b045c8dd04a1c91892b52d0de25c5e8bb2
Arg [3] : 000000000000000000000000fadddbfa1247e90899b21d13fca8f11700f61d97
Arg [4] : 0000000000000000000000008e05a4c50dcdd85a95b780eea7ef73eb6d81ecec


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  ]
[ 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.