ETH Price: $1,982.77 (-4.69%)
Gas: 0.04 Gwei

Contract

0xd7Cf87A7dfC347E142bb689F94e069936efCa3DB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Register Identit...103163662020-06-22 15:24:582083 days ago1592839498IN
0xd7Cf87A7...36efCa3DB
0 ETH0.003719155
Register Identit...103163632020-06-22 15:24:362083 days ago1592839476IN
0xd7Cf87A7...36efCa3DB
0 ETH0.003719155
Register Identit...103163602020-06-22 15:24:032083 days ago1592839443IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037197655
Register Identit...103163582020-06-22 15:23:382083 days ago1592839418IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037197655
Register Identit...103163552020-06-22 15:22:592083 days ago1592839379IN
0xd7Cf87A7...36efCa3DB
0 ETH0.003719155
Register Identit...103163542020-06-22 15:22:422083 days ago1592839362IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037197655
Register Identit...103163522020-06-22 15:21:542083 days ago1592839314IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037184455
Register Identit...103163512020-06-22 15:21:372083 days ago1592839297IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037197655
Register Identit...103163482020-06-22 15:20:332083 days ago1592839233IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0037197655
Register Identit...102511252020-06-12 13:23:542093 days ago1591968234IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0023671235
Register Identit...102511222020-06-12 13:22:122093 days ago1591968132IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0023671235
Register Identit...102511212020-06-12 13:21:492093 days ago1591968109IN
0xd7Cf87A7...36efCa3DB
0 ETH0.002366735
Register Identit...102511202020-06-12 13:21:482093 days ago1591968108IN
0xd7Cf87A7...36efCa3DB
0 ETH0.002366735
Register Identit...102511182020-06-12 13:21:402093 days ago1591968100IN
0xd7Cf87A7...36efCa3DB
0 ETH0.002366735
Register Identit...102319942020-06-09 14:17:452096 days ago1591712265IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0023671235
Register Identit...102319912020-06-09 14:17:152096 days ago1591712235IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0023671235
Register Identit...102319852020-06-09 14:15:342096 days ago1591712134IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0023671235
Register Identit...102068792020-06-05 16:45:502100 days ago1591375550IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0018933628
Register Identit...101940232020-06-03 16:54:202102 days ago1591203260IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0040579260
Register Identit...101875992020-06-02 16:57:312103 days ago1591117051IN
0xd7Cf87A7...36efCa3DB
0 ETH0.004057260
Register Identit...101875962020-06-02 16:56:422103 days ago1591117002IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0040579260
Register Identit...101875932020-06-02 16:56:102103 days ago1591116970IN
0xd7Cf87A7...36efCa3DB
0 ETH0.004057260
Register Identit...101875892020-06-02 16:55:382103 days ago1591116938IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0040579260
Register Identit...101875862020-06-02 16:54:482103 days ago1591116888IN
0xd7Cf87A7...36efCa3DB
0 ETH0.004057260
Register Identit...101343872020-05-25 10:25:092111 days ago1590402309IN
0xd7Cf87A7...36efCa3DB
0 ETH0.0024343236
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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

Contract Name:
IdentityRegistry

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-02-13
*/

// File: @onchain-id/solidity/contracts/IERC734.sol

pragma solidity ^0.5.10;

/**
 * @dev Interface of the ERC734 (Key Holder) standard as defined in the EIP.
 */
interface IERC734 {
    /**
     * @dev Definition of the structure of a Key.
     *
     * Specification: Keys are cryptographic public keys, or contract addresses associated with this identity.
     * The structure should be as follows:
     *   - key: A public key owned by this identity
     *      - purposes: uint256[] Array of the key purposes, like 1 = MANAGEMENT, 2 = EXECUTION
     *      - keyType: The type of key used, which would be a uint256 for different key types. e.g. 1 = ECDSA, 2 = RSA, etc.
     *      - key: bytes32 The public key. // Its the Keccak256 hash of the key
     */
    struct Key {
        uint256[] purposes;
        uint256 keyType;
        bytes32 key;
    }

    /**
     * @dev Emitted when an execution request was approved.
     *
     * Specification: MUST be triggered when approve was successfully called.
     */
    event Approved(uint256 indexed executionId, bool approved);

    /**
     * @dev Emitted when an execute operation was approved and successfully performed.
     *
     * Specification: MUST be triggered when approve was called and the execution was successfully approved.
     */
    event Executed(uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);

    /**
     * @dev Emitted when an execution request was performed via `execute`.
     *
     * Specification: MUST be triggered when execute was successfully called.
     */
    event ExecutionRequested(uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);

    /**
     * @dev Emitted when a key was added to the Identity.
     *
     * Specification: MUST be triggered when addKey was successfully called.
     */
    event KeyAdded(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType);

    /**
     * @dev Emitted when a key was removed from the Identity.
     *
     * Specification: MUST be triggered when removeKey was successfully called.
     */
    event KeyRemoved(bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType);

    /**
     * @dev Emitted when the list of required keys to perform an action was updated.
     *
     * Specification: MUST be triggered when changeKeysRequired was successfully called.
     */
    event KeysRequiredChanged(uint256 purpose, uint256 number);


    /**
     * @dev Adds a _key to the identity. The _purpose specifies the purpose of the key.
     *
     * Triggers Event: `KeyAdded`
     *
     * Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.
     */
    function addKey(bytes32 _key, uint256 _purpose, uint256 _keyType) external returns (bool success);

    /**
    * @dev Approves an execution or claim addition.
    *
    * Triggers Event: `Approved`, `Executed`
    *
    * Specification:
    * This SHOULD require n of m approvals of keys purpose 1, if the _to of the execution is the identity contract itself, to successfully approve an execution.
    * And COULD require n of m approvals of keys purpose 2, if the _to of the execution is another contract, to successfully approve an execution.
    */
    function approve(uint256 _id, bool _approve) external returns (bool success);

    /**
     * @dev Changes the keys required to perform an action for a specific purpose. (This is the n in an n of m multisig approval process.)
     *
     * Triggers Event: `KeysRequiredChanged`
     *
     * Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.
     */
    function changeKeysRequired(uint256 purpose, uint256 number) external;

    /**
     * @dev Passes an execution instruction to an ERC725 identity.
     *
     * Triggers Event: `ExecutionRequested`, `Executed`
     *
     * Specification:
     * SHOULD require approve to be called with one or more keys of purpose 1 or 2 to approve this execution.
     * Execute COULD be used as the only accessor for `addKey` and `removeKey`.
     */
    function execute(address _to, uint256 _value, bytes calldata _data) external payable returns (uint256 executionId);

    /**
     * @dev Returns the full key data, if present in the identity.
     */
    function getKey(bytes32 _key) external view returns (uint256[] memory purposes, uint256 keyType, bytes32 key);

    /**
     * @dev Returns the list of purposes associated with a key.
     */
    function getKeyPurposes(bytes32 _key) external view returns(uint256[] memory _purposes);

    /**
     * @dev Returns an array of public key bytes32 held by this identity.
     */
    function getKeysByPurpose(uint256 _purpose) external view returns (bytes32[] memory keys);

    /**
     * @dev Returns number of keys required for purpose.
     */
    function getKeysRequired(uint256 purpose) external view returns (uint256);

    /**
     * @dev Returns TRUE if a key is present and has the given purpose. If the key is not present it returns FALSE.
     */
    function keyHasPurpose(bytes32 _key, uint256 _purpose) external view returns (bool exists);

    /**
     * @dev Removes _purpose for _key from the identity.
     *
     * Triggers Event: `KeyRemoved`
     *
     * Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.
     */
    function removeKey(bytes32 _key, uint256 _purpose) external returns (bool success);
}

// File: @onchain-id/solidity/contracts/ERC734.sol

pragma solidity ^0.5.10;


/**
 * @dev Implementation of the `IERC734` "KeyHolder" interface.
 */
contract ERC734 is IERC734 {
    uint256 public constant MANAGEMENT_KEY = 1;
    uint256 public constant ACTION_KEY = 2;
    uint256 public constant CLAIM_SIGNER_KEY = 3;
    uint256 public constant ENCRYPTION_KEY = 4;

    uint256 private executionNonce;

    struct Execution {
        address to;
        uint256 value;
        bytes data;
        bool approved;
        bool executed;
    }

    mapping (bytes32 => Key) private keys;
    mapping (uint256 => bytes32[]) private keysByPurpose;
    mapping (uint256 => Execution) private executions;

    event ExecutionFailed(uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);

    constructor() public {
        bytes32 _key = keccak256(abi.encode(msg.sender));

        keys[_key].key = _key;
        keys[_key].purposes = [1];
        keys[_key].keyType = 1;

        keysByPurpose[1].push(_key);

        emit KeyAdded(_key, 1, 1);
    }

    /**
       * @notice Implementation of the getKey function from the ERC-734 standard
       *
       * @param _key The public key.  for non-hex and long keys, its the Keccak256 hash of the key
       *
       * @return Returns the full key data, if present in the identity.
       */
    function getKey(bytes32 _key)
    public
    view
    returns(uint256[] memory purposes, uint256 keyType, bytes32 key)
    {
        return (keys[_key].purposes, keys[_key].keyType, keys[_key].key);
    }

    /**
    * @notice gets the purposes of a key
    *
    * @param _key The public key.  for non-hex and long keys, its the Keccak256 hash of the key
    *
    * @return Returns the purposes of the specified key
    */
    function getKeyPurposes(bytes32 _key)
    public
    view
    returns(uint256[] memory _purposes)
    {
        return (keys[_key].purposes);
    }

    /**
        * @notice gets all the keys with a specific purpose from an identity
        *
        * @param _purpose a uint256[] Array of the key types, like 1 = MANAGEMENT, 2 = ACTION, 3 = CLAIM, 4 = ENCRYPTION
        *
        * @return Returns an array of public key bytes32 hold by this identity and having the specified purpose
        */
    function getKeysByPurpose(uint256 _purpose)
    public
    view
    returns(bytes32[] memory _keys)
    {
        return keysByPurpose[_purpose];
    }

    /**
        * @notice implementation of the addKey function of the ERC-734 standard
        * Adds a _key to the identity. The _purpose specifies the purpose of key. Initially we propose four purposes:
        * 1: MANAGEMENT keys, which can manage the identity
        * 2: ACTION keys, which perform actions in this identities name (signing, logins, transactions, etc.)
        * 3: CLAIM signer keys, used to sign claims on other identities which need to be revokable.
        * 4: ENCRYPTION keys, used to encrypt data e.g. hold in claims.
        * MUST only be done by keys of purpose 1, or the identity itself.
        * If its the identity itself, the approval process will determine its approval.
        *
        * @param _key keccak256 representation of an ethereum address
        * @param _type type of key used, which would be a uint256 for different key types. e.g. 1 = ECDSA, 2 = RSA, etc.
        * @param _purpose a uint256[] Array of the key types, like 1 = MANAGEMENT, 2 = ACTION, 3 = CLAIM, 4 = ENCRYPTION
        *
        * @return Returns TRUE if the addition was successful and FALSE if not
        */

    function addKey(bytes32 _key, uint256 _purpose, uint256 _type)
    public
    returns (bool success)
    {
        if (msg.sender != address(this)) {
            require(keyHasPurpose(keccak256(abi.encode(msg.sender)), 1), "Permissions: Sender does not have management key");
        }

        if (keys[_key].key == _key) {
            for (uint keyPurposeIndex = 0; keyPurposeIndex < keys[_key].purposes.length; keyPurposeIndex++) {
                uint256 purpose = keys[_key].purposes[keyPurposeIndex];

                if (purpose == _purpose) {
                    revert("Conflict: Key already has purpose");
                }
            }

            keys[_key].purposes.push(_purpose);
        } else {
            keys[_key].key = _key;
            keys[_key].purposes = [_purpose];
            keys[_key].keyType = _type;
        }

        keysByPurpose[_purpose].push(_key);

        emit KeyAdded(_key, _purpose, _type);

        return true;
    }

    function approve(uint256 _id, bool _approve)
    public
    returns (bool success)
    {
        require(keyHasPurpose(keccak256(abi.encode(msg.sender)), 2), "Sender does not have action key");

        emit Approved(_id, _approve);

        if (_approve == true) {
            executions[_id].approved = true;

            (success,) = executions[_id].to.call.value(executions[_id].value)(abi.encode(executions[_id].data, 0));

            if (success) {
                executions[_id].executed = true;

                emit Executed(
                    _id,
                    executions[_id].to,
                    executions[_id].value,
                    executions[_id].data
                );

                return true;
            } else {
                emit ExecutionFailed(
                    _id,
                    executions[_id].to,
                    executions[_id].value,
                    executions[_id].data
                );

                return false;
            }
        } else {
            executions[_id].approved = false;
        }
        return true;
    }

    function execute(address _to, uint256 _value, bytes memory _data)
    public
    payable
    returns (uint256 executionId)
    {
        require(!executions[executionNonce].executed, "Already executed");
        executions[executionNonce].to = _to;
        executions[executionNonce].value = _value;
        executions[executionNonce].data = _data;

        emit ExecutionRequested(executionNonce, _to, _value, _data);

        if (keyHasPurpose(keccak256(abi.encode(msg.sender)), 2)) {
            approve(executionNonce, true);
        }

        executionNonce++;
        return executionNonce-1;
    }

    function removeKey(bytes32 _key, uint256 _purpose)
    public
    returns (bool success)
    {
        require(keys[_key].key == _key, "NonExisting: Key isn't registered");

        if (msg.sender != address(this)) {
            require(keyHasPurpose(keccak256(abi.encode(msg.sender)), 1), "Permissions: Sender does not have management key"); // Sender has MANAGEMENT_KEY
        }

        require(keys[_key].purposes.length > 0, "NonExisting: Key doesn't have such purpose");

        uint purposeIndex = 0;
        while (keys[_key].purposes[purposeIndex] != _purpose) {
            purposeIndex++;

            if (purposeIndex >= keys[_key].purposes.length) {
                break;
            }
        }

        require(purposeIndex < keys[_key].purposes.length, "NonExisting: Key doesn't have such purpose");

        keys[_key].purposes[purposeIndex] = keys[_key].purposes[keys[_key].purposes.length - 1];
        keys[_key].purposes.pop();

        uint keyIndex = 0;

        while (keysByPurpose[_purpose][keyIndex] != _key) {
            keyIndex++;
        }

        keysByPurpose[_purpose][keyIndex] = keysByPurpose[_purpose][keysByPurpose[_purpose].length - 1];
        keysByPurpose[_purpose].pop();

        uint keyType = keys[_key].keyType;

        if (keys[_key].purposes.length == 0) {
            delete keys[_key];
        }

        emit KeyRemoved(_key, _purpose, keyType);

        return true;
    }

    /**
    * @notice implementation of the changeKeysRequired from ERC-734 standard
    */
    function changeKeysRequired(uint256 purpose, uint256 number) external
    {
        revert();
    }

    /**
    * @notice implementation of the getKeysRequired from ERC-734 standard
    */
    function getKeysRequired(uint256 purpose) external view returns(uint256 number)
    {
        revert();
    }

    /**
    * @notice Returns true if the key has MANAGEMENT purpose or the specified purpose.
    */
    function keyHasPurpose(bytes32 _key, uint256 _purpose)
    public
    view
    returns(bool result)
    {
        Key memory key = keys[_key];
        if (key.key == 0) return false;

        for (uint keyPurposeIndex = 0; keyPurposeIndex < key.purposes.length; keyPurposeIndex++) {
            uint256 purpose = key.purposes[keyPurposeIndex];

            if (purpose == MANAGEMENT_KEY || purpose == _purpose) return true;
        }

        return false;
    }
}

// File: @onchain-id/solidity/contracts/IERC735.sol

pragma solidity ^0.5.10;

/**
 * @dev Interface of the ERC735 (Claim Holder) standard as defined in the EIP.
 */
interface IERC735 {

    /**
     * @dev Emitted when a claim request was performed.
     *
     * Specification: Is not clear
     */
    event ClaimRequested(uint256 indexed claimRequestId, uint256 indexed topic, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri);

    /**
     * @dev Emitted when a claim was added.
     *
     * Specification: MUST be triggered when a claim was successfully added.
     */
    event ClaimAdded(bytes32 indexed claimId, uint256 indexed topic, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri);

    /**
     * @dev Emitted when a claim was removed.
     *
     * Specification: MUST be triggered when removeClaim was successfully called.
     */
    event ClaimRemoved(bytes32 indexed claimId, uint256 indexed topic, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri);

    /**
     * @dev Emitted when a claim was changed.
     *
     * Specification: MUST be triggered when changeClaim was successfully called.
     */
    event ClaimChanged(bytes32 indexed claimId, uint256 indexed topic, uint256 scheme, address indexed issuer, bytes signature, bytes data, string uri);

    /**
     * @dev Definition of the structure of a Claim.
     *
     * Specification: Claims are information an issuer has about the identity holder.
     * The structure should be as follows:
     *   - claim: A claim published for the Identity.
     *      - topic: A uint256 number which represents the topic of the claim. (e.g. 1 biometric, 2 residence (ToBeDefined: number schemes, sub topics based on number ranges??))
     *      - scheme : The scheme with which this claim SHOULD be verified or how it should be processed. Its a uint256 for different schemes. E.g. could 3 mean contract verification, where the data will be call data, and the issuer a contract address to call (ToBeDefined). Those can also mean different key types e.g. 1 = ECDSA, 2 = RSA, etc. (ToBeDefined)
     *      - issuer: The issuers identity contract address, or the address used to sign the above signature. If an identity contract, it should hold the key with which the above message was signed, if the key is not present anymore, the claim SHOULD be treated as invalid. The issuer can also be a contract address itself, at which the claim can be verified using the call data.
     *      - signature: Signature which is the proof that the claim issuer issued a claim of topic for this identity. it MUST be a signed message of the following structure: `keccak256(abi.encode(identityHolder_address, topic, data))`
     *      - data: The hash of the claim data, sitting in another location, a bit-mask, call data, or actual data based on the claim scheme.
     *      - uri: The location of the claim, this can be HTTP links, swarm hashes, IPFS hashes, and such.
     */
    struct Claim {
        uint256 topic;
        uint256 scheme;
        address issuer;
        bytes signature;
        bytes data;
        string uri;
    }

    /**
     * @dev Get a claim by its ID.
     *
     * Claim IDs are generated using `keccak256(abi.encode(address issuer_address + uint256 topic))`.
     */
    function getClaim(bytes32 _claimId) external view returns(uint256 topic, uint256 scheme, address issuer, bytes memory signature, bytes memory data, string memory uri);

    /**
     * @dev Returns an array of claim IDs by topic.
     */
    function getClaimIdsByTopic(uint256 _topic) external view returns(bytes32[] memory claimIds);

    /**
     * @dev Add or update a claim.
     *
     * Triggers Event: `ClaimRequested`, `ClaimAdded`, `ClaimChanged`
     *
     * Specification: Requests the ADDITION or the CHANGE of a claim from an issuer.
     * Claims can requested to be added by anybody, including the claim holder itself (self issued).
     *
     * _signature is a signed message of the following structure: `keccak256(abi.encode(address identityHolder_address, uint256 topic, bytes data))`.
     * Claim IDs are generated using `keccak256(abi.encode(address issuer_address + uint256 topic))`.
     *
     * This COULD implement an approval process for pending claims, or add them right away.
     * MUST return a claimRequestId (use claim ID) that COULD be sent to the approve function.
     */
    function addClaim(uint256 _topic, uint256 _scheme, address issuer, bytes calldata _signature, bytes calldata _data, string calldata _uri) external returns (bytes32 claimRequestId);

    /**
     * @dev Removes a claim.
     *
     * Triggers Event: `ClaimRemoved`
     *
     * Claim IDs are generated using `keccak256(abi.encode(address issuer_address + uint256 topic))`.
     */
    function removeClaim(bytes32 _claimId) external returns (bool success);
}

// File: @onchain-id/solidity/contracts/Identity.sol

pragma solidity ^0.5.10;



/**
 * @dev Implementation of the `IERC734` "KeyHolder" and the `IERC735` "ClaimHolder" interfaces into a common Identity Contract.
 */
contract Identity is ERC734, IERC735 {

    mapping (bytes32 => Claim) private claims;
    mapping (uint256 => bytes32[]) private claimsByTopic;

    /**
       * @notice Implementation of the addClaim function from the ERC-735 standard
       *  Require that the msg.sender has claim signer key.
       *
       * @param _topic The type of claim
       * @param _scheme The scheme with which this claim SHOULD be verified or how it should be processed.
       * @param _issuer The issuers identity contract address, or the address used to sign the above signature.
       * @param _signature Signature which is the proof that the claim issuer issued a claim of topic for this identity.
       * it MUST be a signed message of the following structure: keccak256(address identityHolder_address, uint256 _ topic, bytes data)
       * or keccak256(abi.encode(identityHolder_address, topic, data))
       * @param _data The hash of the claim data, sitting in another location, a bit-mask, call data, or actual data based on the claim scheme.
       * @param _uri The location of the claim, this can be HTTP links, swarm hashes, IPFS hashes, and such.
       *
       * @return Returns claimRequestId: COULD be send to the approve function, to approve or reject this claim.
       * triggers ClaimAdded event.
       */

    function addClaim(
        uint256 _topic,
        uint256 _scheme,
        address _issuer,
        bytes memory _signature,
        bytes memory _data,
        string memory _uri
    )
    public
    returns (bytes32 claimRequestId)
    {
        bytes32 claimId = keccak256(abi.encode(_issuer, _topic));

        if (msg.sender != address(this)) {
            require(keyHasPurpose(keccak256(abi.encode(msg.sender)), 3), "Permissions: Sender does not have claim signer key");
        }

        if (claims[claimId].issuer != _issuer) {
            claimsByTopic[_topic].push(claimId);
            claims[claimId].topic = _topic;
            claims[claimId].scheme = _scheme;
            claims[claimId].issuer = _issuer;
            claims[claimId].signature = _signature;
            claims[claimId].data = _data;
            claims[claimId].uri = _uri;

            emit ClaimAdded(
                claimId,
                _topic,
                _scheme,
                _issuer,
                _signature,
                _data,
                _uri
            );
        } else {
            claims[claimId].topic = _topic;
            claims[claimId].scheme = _scheme;
            claims[claimId].issuer = _issuer;
            claims[claimId].signature = _signature;
            claims[claimId].data = _data;
            claims[claimId].uri = _uri;

            emit ClaimChanged(
                claimId,
                _topic,
                _scheme,
                _issuer,
                _signature,
                _data,
                _uri
            );
        }

        return claimId;
    }

    /**
       * @notice Implementation of the removeClaim function from the ERC-735 standard
       * Require that the msg.sender has management key.
       * Can only be removed by the claim issuer, or the claim holder itself.
       *
       * @param _claimId The identity of the claim i.e. keccak256(address issuer_address + uint256 topic)
       *
       * @return Returns TRUE when the claim was removed.
       * triggers ClaimRemoved event
       */

    function removeClaim(bytes32 _claimId) public returns (bool success) {
        if (msg.sender != address(this)) {
            require(keyHasPurpose(keccak256(abi.encode(msg.sender)), 1), "Permissions: Sender does not have CLAIM key");
        }

        if (claims[_claimId].topic == 0) {
            revert("NonExisting: There is no claim with this ID");
        }

        uint claimIndex = 0;
        while (claimsByTopic[claims[_claimId].topic][claimIndex] != _claimId) {
            claimIndex++;
        }

        claimsByTopic[claims[_claimId].topic][claimIndex] = claimsByTopic[claims[_claimId].topic][claimsByTopic[claims[_claimId].topic].length - 1];
        claimsByTopic[claims[_claimId].topic].pop();

        emit ClaimRemoved(
            _claimId,
            claims[_claimId].topic,
            claims[_claimId].scheme,
            claims[_claimId].issuer,
            claims[_claimId].signature,
            claims[_claimId].data,
            claims[_claimId].uri
        );

        delete claims[_claimId];

        return true;
    }

    /**
        * @notice Implementation of the getClaim function from the ERC-735 standard.
        *
        * @param _claimId The identity of the claim i.e. keccak256(address issuer_address + uint256 topic)
        *
        * @return Returns all the parameters of the claim for the specified _claimId (topic, scheme, signature, issuer, data, uri) .
        */

    function getClaim(bytes32 _claimId)
    public
    view
    returns(
        uint256 topic,
        uint256 scheme,
        address issuer,
        bytes memory signature,
        bytes memory data,
        string memory uri
    )
    {
        return (
            claims[_claimId].topic,
            claims[_claimId].scheme,
            claims[_claimId].issuer,
            claims[_claimId].signature,
            claims[_claimId].data,
            claims[_claimId].uri
        );
    }

    /**
        * @notice Implementation of the getClaimIdsByTopic function from the ERC-735 standard.
        * used to get all the claims from the specified topic
        *
        * @param _topic The identity of the claim i.e. keccak256(address issuer_address + uint256 topic)
        *
        * @return Returns an array of claim IDs by topic.
        */

    function getClaimIdsByTopic(uint256 _topic)
    public
    view
    returns(bytes32[] memory claimIds)
    {
        return claimsByTopic[_topic];
    }
}

// File: @onchain-id/solidity/contracts/IClaimIssuer.sol

pragma solidity ^0.5.10;


//interface
contract IClaimIssuer{
    uint public issuedClaimCount;

    mapping (bytes => bool) revokedClaims;
    mapping (bytes32 => address) identityAddresses;

    event ClaimValid(Identity _identity, uint256 claimTopic);
    event ClaimInvalid(Identity _identity, uint256 claimTopic);

    function revokeClaim(bytes32 _claimId, address _identity) public returns(bool);
    // function revokeClaim(bytes memory _sig, address _identity) public returns(bool);
    // function isClaimRevoked(bytes32 _claimId) public view returns(bool);
    function isClaimRevoked(bytes memory _sig) public view returns(bool result);
    function isClaimValid(Identity _identity, bytes32 _claimId, uint256 claimTopic, bytes memory sig, bytes memory data)
    public
    view
    returns (bool claimValid);

}

// File: @onchain-id/solidity/contracts/ClaimIssuer.sol

pragma solidity ^0.5.10;



contract ClaimIssuer is IClaimIssuer, Identity {
    function revokeClaim(bytes32 _claimId, address _identity) public returns(bool) {
        uint256 foundClaimTopic;
        uint256 scheme;
        address issuer;
        bytes memory  sig;
        bytes  memory data;
        ( foundClaimTopic, scheme, issuer, sig, data, ) = Identity(_identity).getClaim(_claimId);
        // require(sig != 0, "Claim does not exist");

        revokedClaims[sig] = true;
        identityAddresses[_claimId] = _identity;
        return true;
    }

    function isClaimRevoked(bytes memory _sig) public view returns (bool) {
        if(revokedClaims[_sig]) {
            return true;
        }

        return false;
    }

    function isClaimValid(Identity _identity, bytes32 _claimId, uint256 claimTopic, bytes memory sig, bytes memory data)
    public
    view
    returns (bool claimValid)
    {
        bytes32 dataHash = keccak256(abi.encode(_identity, claimTopic, data));
        // Use abi.encodePacked to concatenate the messahe prefix and the message to sign.
        bytes32 prefixedHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", dataHash));

        // Recover address of data signer
        address recovered = getRecoveredAddress(sig, prefixedHash);

        // Take hash of recovered address
        bytes32 hashedAddr = keccak256(abi.encode(recovered));

        // Does the trusted identifier have they key which signed the user's claim?
        //  && (isClaimRevoked(_claimId) == false)
        if (keyHasPurpose(hashedAddr, 3) && (isClaimRevoked(sig) == false)) {
            return true;
        }

        return false;
    }

    function getRecoveredAddress(bytes memory sig, bytes32 dataHash)
        public
        pure
        returns (address addr)
    {
        bytes32 ra;
        bytes32 sa;
        uint8 va;

        // Check the signature length
        if (sig.length != 65) {
            return address(0);
        }

        // Divide the signature in r, s and v variables
        assembly {
          ra := mload(add(sig, 32))
          sa := mload(add(sig, 64))
          va := byte(0, mload(add(sig, 96)))
        }

        if (va < 27) {
            va += 27;
        }

        address recoveredAddress = ecrecover(dataHash, va, ra, sa);

        return (recoveredAddress);
    }
}

// File: contracts/registry/IClaimTopicsRegistry.sol

pragma solidity ^0.5.10;

interface IClaimTopicsRegistry{
    // EVENTS
    event ClaimTopicAdded(uint256 indexed claimTopic);
    event ClaimTopicRemoved(uint256 indexed claimTopic);

    // OPERATIONS
    function addClaimTopic(uint256 claimTopic) external;
    function removeClaimTopic(uint256 claimTopic) external;

    // GETTERS
    function getClaimTopics() external view returns (uint256[] memory);
}

// File: contracts/registry/ITrustedIssuersRegistry.sol

pragma solidity ^0.5.10;


interface ITrustedIssuersRegistry {
    // EVENTS
    event TrustedIssuerAdded(uint indexed index, ClaimIssuer indexed trustedIssuer, uint[] claimTopics);
    event TrustedIssuerRemoved(uint indexed index, ClaimIssuer indexed trustedIssuer);
    event TrustedIssuerUpdated(uint indexed index, ClaimIssuer indexed oldTrustedIssuer, ClaimIssuer indexed newTrustedIssuer, uint[] claimTopics);

    // READ OPERATIONS
    function getTrustedIssuer(uint index) external view returns (ClaimIssuer);
    function getTrustedIssuerClaimTopics(uint index) external view returns(uint[] memory);
    function getTrustedIssuers() external view returns (uint[] memory);
    function hasClaimTopic(address issuer, uint claimTopic) external view returns(bool);
    function isTrustedIssuer(address issuer) external view returns(bool);

    // WRITE OPERATIONS
    function addTrustedIssuer(ClaimIssuer _trustedIssuer, uint index, uint[] calldata claimTopics) external;
    function removeTrustedIssuer(uint index) external;
    function updateIssuerContract(uint index, ClaimIssuer _newTrustedIssuer, uint[] calldata claimTopics) external;
}

// File: contracts/registry/IIdentityRegistry.sol

pragma solidity ^0.5.10;





interface IIdentityRegistry {
    // EVENTS
    event ClaimTopicsRegistrySet(address indexed _claimTopicsRegistry);
    event CountryUpdated(address indexed investorAddress, uint16 indexed country);
    event IdentityRegistered(address indexed investorAddress, Identity indexed identity);
    event IdentityRemoved(address indexed investorAddress, Identity indexed identity);
    event IdentityUpdated(Identity indexed old_identity, Identity indexed new_identity);
    event TrustedIssuersRegistrySet(address indexed _trustedIssuersRegistry);

    // WRITE OPERATIONS
    function deleteIdentity(address _user) external;
    function registerIdentity(address _user, Identity _identity, uint16 _country) external;
    function setClaimTopicsRegistry(address _claimTopicsRegistry) external;
    function setTrustedIssuersRegistry(address _trustedIssuersRegistry) external;
    function updateCountry(address _user, uint16 _country) external;
    function updateIdentity(address _user, Identity _identity) external;

    // READ OPERATIONS
    function contains(address _wallet) external view returns (bool);
    function isVerified(address _userAddress) external view returns (bool);

    // GETTERS
    function identity(address _wallet) external view returns (Identity);
    function investorCountry(address _wallet) external view returns (uint16);
    function issuersRegistry() external view returns (ITrustedIssuersRegistry);
    function topicsRegistry() external view returns (IClaimTopicsRegistry);
}

// File: openzeppelin-solidity/contracts/access/Roles.sol

pragma solidity ^0.5.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be aplied to your functions to restrict their use to
 * the owner.
 */
contract Ownable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * > Note: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/roles/AgentRole.sol

pragma solidity ^0.5.0;



contract AgentRole is Ownable {
    using Roles for Roles.Role;

    event AgentAdded(address indexed account);
    event AgentRemoved(address indexed account);

    Roles.Role private _agents;

    modifier onlyAgent() {
        require(isAgent(msg.sender), "AgentRole: caller does not have the Agent role");
        _;
    }

    function isAgent(address account) public view returns (bool) {
        return _agents.has(account);
    }

    function addAgent(address account) public onlyOwner {
        _addAgent(account);
    }

    function removeAgent(address account) public onlyOwner {
        _removeAgent(account);
    }

    function _addAgent(address account) internal {
        _agents.add(account);
        emit AgentAdded(account);
    }

    function _removeAgent(address account) internal {
        _agents.remove(account);
        emit AgentRemoved(account);
    }
}

// File: contracts/registry/IdentityRegistry.sol

pragma solidity ^0.5.10;








contract IdentityRegistry is IIdentityRegistry, AgentRole {
    // mapping between a user address and the corresponding identity contract
    mapping (address => Identity) public identity;

    mapping (address => uint16) public investorCountry;

    IClaimTopicsRegistry public topicsRegistry;
    ITrustedIssuersRegistry public issuersRegistry;

    constructor (
        address _trustedIssuersRegistry,
        address _claimTopicsRegistry
    ) public {
        topicsRegistry = IClaimTopicsRegistry(_claimTopicsRegistry);
        issuersRegistry = ITrustedIssuersRegistry(_trustedIssuersRegistry);

        emit ClaimTopicsRegistrySet(_claimTopicsRegistry);
        emit TrustedIssuersRegistrySet(_trustedIssuersRegistry);
    }

    /**
    * @notice Register an identity contract corresponding to a user address.
    * Requires that the user doesn't have an identity contract already registered.
    * Only agent can call.
    *
    * @param _user The address of the user
    * @param _identity The address of the user's identity contract
    * @param _country The country of the investor
    */
    function registerIdentity(address _user, Identity _identity, uint16 _country) public onlyAgent {
        require(address(_identity) != address(0), "contract address can't be a zero address");
        require(address(identity[_user]) == address(0), "identity contract already exists, please use update");
        identity[_user] = _identity;
        investorCountry[_user] = _country;

        emit IdentityRegistered(_user, _identity);
    }

  /**
   * @notice function allowing to register identities in batch
   *  Only Agent can call this function.
   *  Requires that none of the users has an identity contract already registered.
   *
   *  IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_users.length` IS TOO HIGH,
   *  USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN "OUT OF GAS" TRANSACTION
   *
   * @param _users The addresses of the users
   * @param _identities The addresses of the corresponding identity contracts
   * @param _countries The countries of the corresponding investors
   *
   */

    function batchRegisterIdentity(address[] calldata _users, Identity[] calldata _identities, uint16[] calldata _countries) external {
        for (uint256 i = 0; i < _users.length; i++) {
            registerIdentity(_users[i], _identities[i], _countries[i]);
        }
    }

    /**
    * @notice Updates an identity contract corresponding to a user address.
    * Requires that the user address should be the owner of the identity contract.
    * Requires that the user should have an identity contract already deployed that will be replaced.
    * Only owner can call.
    *
    * @param _user The address of the user
    * @param _identity The address of the user's new identity contract
    */
    function updateIdentity(address _user, Identity _identity) public onlyAgent {
        require(address(identity[_user]) != address(0));
        require(address(_identity) != address(0), "contract address can't be a zero address");
        identity[_user] = _identity;

        emit IdentityUpdated(identity[_user], _identity);
    }


    /**
    * @notice Updates the country corresponding to a user address.
    * Requires that the user should have an identity contract already deployed that will be replaced.
    * Only owner can call.
    *
    * @param _user The address of the user
    * @param _country The new country of the user
    */

    function updateCountry(address _user, uint16 _country) public onlyAgent {
        require(address(identity[_user])!= address(0));
        investorCountry[_user] = _country;

        emit CountryUpdated(_user, _country);
    }

    /**
    * @notice Removes an user from the identity registry.
    * Requires that the user have an identity contract already deployed that will be deleted.
    * Only owner can call.
    *
    * @param _user The address of the user to be removed
    */
    function deleteIdentity(address _user) public onlyAgent {
        require(address(identity[_user]) != address(0), "you haven't registered an identity yet");
        delete identity[_user];

        emit IdentityRemoved(_user, identity[_user]);
    }

    /**
    * @notice This functions checks whether an identity contract
    * corresponding to the provided user address has the required claims or not based
    * on the security token.
    *
    * @param _userAddress The address of the user to be verified.
    *
    * @return 'True' if the address is verified, 'false' if not.
    */

    function isVerified(address _userAddress) public view returns (bool) {
        if (address(identity[_userAddress]) == address(0)){
            return false;
        }

        uint256[] memory claimTopics = topicsRegistry.getClaimTopics();
        uint length = claimTopics.length;
        if (length == 0) {
            return true;
        }

        uint256 foundClaimTopic;
        uint256 scheme;
        address issuer;
        bytes memory sig;
        bytes memory data;
        uint256 claimTopic;
        for (claimTopic = 0; claimTopic < length; claimTopic++) {
            bytes32[] memory claimIds = identity[_userAddress].getClaimIdsByTopic(claimTopics[claimTopic]);
            if (claimIds.length == 0) {
                return false;
            }
            for (uint j = 0; j < claimIds.length; j++) {
                // Fetch claim from user
                ( foundClaimTopic, scheme, issuer, sig, data, ) = identity[_userAddress].getClaim(claimIds[j]);
                if (!issuersRegistry.isTrustedIssuer(issuer)) {
                    return false;
                }
                if (!issuersRegistry.hasClaimTopic(issuer, claimTopics[claimTopic])) {
                    return false;
                }
                if (!ClaimIssuer(issuer).isClaimValid(identity[_userAddress], claimIds[j], claimTopics[claimTopic], sig, data)) {
                    return false;
                }
            }
        }
    
        return true;
    }

    // Registry setters
    function setClaimTopicsRegistry(address _claimTopicsRegistry) public onlyOwner {
        topicsRegistry = IClaimTopicsRegistry(_claimTopicsRegistry);

        emit ClaimTopicsRegistrySet(_claimTopicsRegistry);
    }

    function setTrustedIssuersRegistry(address _trustedIssuersRegistry) public onlyOwner {
        issuersRegistry = ITrustedIssuersRegistry(_trustedIssuersRegistry);

        emit TrustedIssuersRegistrySet(_trustedIssuersRegistry);
    }

    function contains(address _wallet) public view returns (bool){
        if(address(identity[_wallet]) == address(0)){
            return false;
        }

        return true;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isAgent","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_country","type":"uint16"}],"name":"updateCountry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"topicsRegistry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_identity","type":"address"},{"name":"_country","type":"uint16"}],"name":"registerIdentity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_wallet","type":"address"}],"name":"contains","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_users","type":"address[]"},{"name":"_identities","type":"address[]"},{"name":"_countries","type":"uint16[]"}],"name":"batchRegisterIdentity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_claimTopicsRegistry","type":"address"}],"name":"setClaimTopicsRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investorCountry","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_identity","type":"address"}],"name":"updateIdentity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"}],"name":"deleteIdentity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"issuersRegistry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_userAddress","type":"address"}],"name":"isVerified","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_trustedIssuersRegistry","type":"address"}],"name":"setTrustedIssuersRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"identity","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_trustedIssuersRegistry","type":"address"},{"name":"_claimTopicsRegistry","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"AgentAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"AgentRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_claimTopicsRegistry","type":"address"}],"name":"ClaimTopicsRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investorAddress","type":"address"},{"indexed":true,"name":"country","type":"uint16"}],"name":"CountryUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investorAddress","type":"address"},{"indexed":true,"name":"identity","type":"address"}],"name":"IdentityRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investorAddress","type":"address"},{"indexed":true,"name":"identity","type":"address"}],"name":"IdentityRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"old_identity","type":"address"},{"indexed":true,"name":"new_identity","type":"address"}],"name":"IdentityUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_trustedIssuersRegistry","type":"address"}],"name":"TrustedIssuersRegistrySet","type":"event"}]

0x608060405234801561001057600080fd5b506040516119143803806119148339818101604052604081101561003357600080fd5b508051602090910151600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600480546001600160a01b038084166001600160a01b0319928316811790935560058054918616919092161790556040517f7170bf15b246e880b2369cd7c67d057760d8a35149e8c64dde91efa22bcc76d090600090a26040516001600160a01b038316907f1b98cb79e6f73020175fe87333f1b91ad6a881519c0afe30340c2599b2b4bde090600090a250506117f3806101216000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063b4f3fcb711610071578063b4f3fcb71461044b578063b9209e3314610453578063e744d78914610479578063f0eb5e541461049f578063f2fde38b146104c55761012c565b80638da5cb5b146103c15780638e098ca1146103c95780638f32d59b146103f757806397a6278e146103ff578063a8d29d1d146104255761012c565b8063653dc9f1116100f4578063653dc9f114610222578063670af6a914610330578063715018a6146103565780637e42683b1461035e57806384e798421461039b5761012c565b80631ffbb064146101315780633b239a7f1461016b5780633b3e12f41461019d578063454a03e0146101c15780635dbe47e8146101fc575b600080fd5b6101576004803603602081101561014757600080fd5b50356001600160a01b03166104eb565b604080519115158252519081900360200190f35b61019b6004803603604081101561018157600080fd5b5080356001600160a01b0316906020013561ffff16610506565b005b6101a56105c5565b604080516001600160a01b039092168252519081900360200190f35b61019b600480360360608110156101d757600080fd5b5080356001600160a01b03908116916020810135909116906040013561ffff166105d4565b6101576004803603602081101561021257600080fd5b50356001600160a01b0316610725565b61019b6004803603606081101561023857600080fd5b810190602081018135600160201b81111561025257600080fd5b82018360208201111561026457600080fd5b803590602001918460208302840111600160201b8311171561028557600080fd5b919390929091602081019035600160201b8111156102a257600080fd5b8201836020820111156102b457600080fd5b803590602001918460208302840111600160201b831117156102d557600080fd5b919390929091602081019035600160201b8111156102f257600080fd5b82018360208201111561030457600080fd5b803590602001918460208302840111600160201b8311171561032557600080fd5b509092509050610756565b61019b6004803603602081101561034657600080fd5b50356001600160a01b03166107c9565b61019b61085a565b6103846004803603602081101561037457600080fd5b50356001600160a01b03166108eb565b6040805161ffff9092168252519081900360200190f35b61019b600480360360208110156103b157600080fd5b50356001600160a01b0316610901565b6101a5610954565b61019b600480360360408110156103df57600080fd5b506001600160a01b0381358116916020013516610963565b610157610a6d565b61019b6004803603602081101561041557600080fd5b50356001600160a01b0316610a7e565b61019b6004803603602081101561043b57600080fd5b50356001600160a01b0316610ace565b6101a5610bbb565b6101576004803603602081101561046957600080fd5b50356001600160a01b0316610bca565b61019b6004803603602081101561048f57600080fd5b50356001600160a01b031661130b565b6101a5600480360360208110156104b557600080fd5b50356001600160a01b031661139c565b61019b600480360360208110156104db57600080fd5b50356001600160a01b03166113b7565b60006104fe60018363ffffffff61140716565b90505b919050565b61050f336104eb565b61054a5760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b038281166000908152600260205260409020541661056e57600080fd5b6001600160a01b038216600081815260036020526040808220805461ffff191661ffff861690811790915590519092917f04ed3b726495c2dca1ff1215d9ca54e1a4030abb5e82b0f6ce55702416cee85391a35050565b6004546001600160a01b031681565b6105dd336104eb565b6106185760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b03821661065d5760405162461bcd60e51b81526004018080602001828103825260288152602001806116d36028913960400191505060405180910390fd5b6001600160a01b0383811660009081526002602052604090205416156106b45760405162461bcd60e51b815260040180806020018281038252603381526020018061178c6033913960400191505060405180910390fd5b6001600160a01b03838116600081815260026020908152604080832080546001600160a01b03191695881695861790556003909152808220805461ffff191661ffff8716179055517f6ae73635c50d24a45af6fbd5e016ac4bed179addbc8bf24e04ff0fcc6d33af199190a3505050565b6001600160a01b0381811660009081526002602052604081205490911661074e57506000610501565b506001919050565b60005b858110156107c0576107b887878381811061077057fe5b905060200201356001600160a01b031686868481811061078c57fe5b905060200201356001600160a01b03168585858181106107a857fe5b9050602002013561ffff166105d4565b600101610759565b50505050505050565b6107d1610a6d565b610810576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0383169081179091556040517f7170bf15b246e880b2369cd7c67d057760d8a35149e8c64dde91efa22bcc76d090600090a250565b610862610a6d565b6108a1576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60036020526000908152604090205461ffff1681565b610909610a6d565b610948576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b6109518161146e565b50565b6000546001600160a01b031690565b61096c336104eb565b6109a75760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b03828116600090815260026020526040902054166109cb57600080fd5b6001600160a01b038116610a105760405162461bcd60e51b81526004018080602001828103825260288152602001806116d36028913960400191505060405180910390fd5b6001600160a01b0382811660009081526002602052604080822080546001600160a01b031916858516908117918290559151919316917fe98082932c8056a0f514da9104e4a66bc2cbaef102ad59d90c4b24220ebf601091a35050565b6000546001600160a01b0316331490565b610a86610a6d565b610ac5576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b610951816114b6565b610ad7336104eb565b610b125760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b0381811660009081526002602052604090205416610b685760405162461bcd60e51b81526004018080602001828103825260268152602001806116ad6026913960400191505060405180910390fd5b6001600160a01b03811660008181526002602052604080822080546001600160a01b0319169055519091907f59d6590e225b81befe259af056324092801080acbb7feab310eb34678871f327908390a350565b6005546001600160a01b031681565b6001600160a01b03818116600090815260026020526040812054909116610bf357506000610501565b6060600460009054906101000a90046001600160a01b03166001600160a01b031663df09d6046040518163ffffffff1660e01b815260040160006040518083038186803b158015610c4357600080fd5b505afa158015610c57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610c8057600080fd5b810190808051600160201b811115610c9757600080fd5b82016020810184811115610caa57600080fd5b81518560208202830111600160201b82111715610cc657600080fd5b505080519094509250505080610ce157600192505050610501565b60008080606080825b868110156112fb576001600160a01b03808b16600090815260026020526040902054895160609291909116906380e9e9e1908b9085908110610d2857fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015610d6457600080fd5b505afa158015610d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610da157600080fd5b810190808051600160201b811115610db857600080fd5b82016020810184811115610dcb57600080fd5b81518560208202830111600160201b82111715610de757600080fd5b5050805190945015159250610e0b9150505760009950505050505050505050610501565b60005b81518110156112f1576001600160a01b03808d16600090815260026020526040902054835191169063c9100bcb90849084908110610e4857fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015610e8457600080fd5b505afa158015610e98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c0811015610ec157600080fd5b8151602083015160408401516060850180519395929491939183019291600160201b811115610eef57600080fd5b82016020810184811115610f0257600080fd5b8151600160201b811182820187101715610f1b57600080fd5b50509291906020018051600160201b811115610f3657600080fd5b82016020810184811115610f4957600080fd5b8151600160201b811182820187101715610f6257600080fd5b50509291906020018051600160201b811115610f7d57600080fd5b82016020810184811115610f9057600080fd5b8151600160201b811182820187101715610fa957600080fd5b505092919050505050809850819950829a50839b50849c505050505050600560009054906101000a90046001600160a01b03166001600160a01b031663ef2ed1a4876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d602081101561105b57600080fd5b50516110745760009a5050505050505050505050610501565b6005548a516001600160a01b03909116906334a899879088908d908790811061109957fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b031681526020018281526020019250505060206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d602081101561111857600080fd5b50516111315760009a5050505050505050505050610501565b6001600160a01b038c8116600090815260026020526040902054835182891692632a0ba5af92169085908590811061116557fe5b60200260200101518d878151811061117957fe5b602002602001015189896040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b031681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156111f75781810151838201526020016111df565b50505050905090810190601f1680156112245780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561125757818101518382015260200161123f565b50505050905090810190601f1680156112845780820380516001836020036101000a031916815260200191505b5097505050505050505060206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d60208110156112d057600080fd5b50516112e95760009a5050505050505050505050610501565b600101610e0e565b5050600101610cea565b5060019998505050505050505050565b611313610a6d565b611352576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0383169081179091556040517f1b98cb79e6f73020175fe87333f1b91ad6a881519c0afe30340c2599b2b4bde090600090a250565b6002602052600090815260409020546001600160a01b031681565b6113bf610a6d565b6113fe576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b610951816114fe565b60006001600160a01b03821661144e5760405162461bcd60e51b815260040180806020018281038252602281526020018061176a6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61147f60018263ffffffff61159e16565b6040516001600160a01b038216907ff68e73cec97f2d70aa641fb26e87a4383686e2efacb648f2165aeb02ac562ec590600090a250565b6114c760018263ffffffff61161f16565b6040516001600160a01b038216907fed9c8ad8d5a0a66898ea49d2956929c93ae2e8bd50281b2ed897c5d1a6737e0b90600090a250565b6001600160a01b0381166115435760405162461bcd60e51b81526004018080602001828103825260268152602001806116876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6115a88282611407565b156115fa576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6116298282611407565b6116645760405162461bcd60e51b81526004018080602001828103825260218152602001806117296021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373796f7520686176656e2774207265676973746572656420616e206964656e7469747920796574636f6e747261637420616464726573732063616e27742062652061207a65726f20616464726573734167656e74526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204167656e7420726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f20616464726573736964656e7469747920636f6e747261637420616c7265616479206578697374732c20706c656173652075736520757064617465a265627a7a72305820c17dcebeb8852dd89f661714d9058fdc878012d312285c15fa489257d67d8e5b64736f6c634300050a00320000000000000000000000008b90aef345cf769f95da372647dab2c8c0fa2bb7000000000000000000000000234801b280a588799b818fc5ccea8c13e36038fc

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063b4f3fcb711610071578063b4f3fcb71461044b578063b9209e3314610453578063e744d78914610479578063f0eb5e541461049f578063f2fde38b146104c55761012c565b80638da5cb5b146103c15780638e098ca1146103c95780638f32d59b146103f757806397a6278e146103ff578063a8d29d1d146104255761012c565b8063653dc9f1116100f4578063653dc9f114610222578063670af6a914610330578063715018a6146103565780637e42683b1461035e57806384e798421461039b5761012c565b80631ffbb064146101315780633b239a7f1461016b5780633b3e12f41461019d578063454a03e0146101c15780635dbe47e8146101fc575b600080fd5b6101576004803603602081101561014757600080fd5b50356001600160a01b03166104eb565b604080519115158252519081900360200190f35b61019b6004803603604081101561018157600080fd5b5080356001600160a01b0316906020013561ffff16610506565b005b6101a56105c5565b604080516001600160a01b039092168252519081900360200190f35b61019b600480360360608110156101d757600080fd5b5080356001600160a01b03908116916020810135909116906040013561ffff166105d4565b6101576004803603602081101561021257600080fd5b50356001600160a01b0316610725565b61019b6004803603606081101561023857600080fd5b810190602081018135600160201b81111561025257600080fd5b82018360208201111561026457600080fd5b803590602001918460208302840111600160201b8311171561028557600080fd5b919390929091602081019035600160201b8111156102a257600080fd5b8201836020820111156102b457600080fd5b803590602001918460208302840111600160201b831117156102d557600080fd5b919390929091602081019035600160201b8111156102f257600080fd5b82018360208201111561030457600080fd5b803590602001918460208302840111600160201b8311171561032557600080fd5b509092509050610756565b61019b6004803603602081101561034657600080fd5b50356001600160a01b03166107c9565b61019b61085a565b6103846004803603602081101561037457600080fd5b50356001600160a01b03166108eb565b6040805161ffff9092168252519081900360200190f35b61019b600480360360208110156103b157600080fd5b50356001600160a01b0316610901565b6101a5610954565b61019b600480360360408110156103df57600080fd5b506001600160a01b0381358116916020013516610963565b610157610a6d565b61019b6004803603602081101561041557600080fd5b50356001600160a01b0316610a7e565b61019b6004803603602081101561043b57600080fd5b50356001600160a01b0316610ace565b6101a5610bbb565b6101576004803603602081101561046957600080fd5b50356001600160a01b0316610bca565b61019b6004803603602081101561048f57600080fd5b50356001600160a01b031661130b565b6101a5600480360360208110156104b557600080fd5b50356001600160a01b031661139c565b61019b600480360360208110156104db57600080fd5b50356001600160a01b03166113b7565b60006104fe60018363ffffffff61140716565b90505b919050565b61050f336104eb565b61054a5760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b038281166000908152600260205260409020541661056e57600080fd5b6001600160a01b038216600081815260036020526040808220805461ffff191661ffff861690811790915590519092917f04ed3b726495c2dca1ff1215d9ca54e1a4030abb5e82b0f6ce55702416cee85391a35050565b6004546001600160a01b031681565b6105dd336104eb565b6106185760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b03821661065d5760405162461bcd60e51b81526004018080602001828103825260288152602001806116d36028913960400191505060405180910390fd5b6001600160a01b0383811660009081526002602052604090205416156106b45760405162461bcd60e51b815260040180806020018281038252603381526020018061178c6033913960400191505060405180910390fd5b6001600160a01b03838116600081815260026020908152604080832080546001600160a01b03191695881695861790556003909152808220805461ffff191661ffff8716179055517f6ae73635c50d24a45af6fbd5e016ac4bed179addbc8bf24e04ff0fcc6d33af199190a3505050565b6001600160a01b0381811660009081526002602052604081205490911661074e57506000610501565b506001919050565b60005b858110156107c0576107b887878381811061077057fe5b905060200201356001600160a01b031686868481811061078c57fe5b905060200201356001600160a01b03168585858181106107a857fe5b9050602002013561ffff166105d4565b600101610759565b50505050505050565b6107d1610a6d565b610810576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0383169081179091556040517f7170bf15b246e880b2369cd7c67d057760d8a35149e8c64dde91efa22bcc76d090600090a250565b610862610a6d565b6108a1576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60036020526000908152604090205461ffff1681565b610909610a6d565b610948576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b6109518161146e565b50565b6000546001600160a01b031690565b61096c336104eb565b6109a75760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b03828116600090815260026020526040902054166109cb57600080fd5b6001600160a01b038116610a105760405162461bcd60e51b81526004018080602001828103825260288152602001806116d36028913960400191505060405180910390fd5b6001600160a01b0382811660009081526002602052604080822080546001600160a01b031916858516908117918290559151919316917fe98082932c8056a0f514da9104e4a66bc2cbaef102ad59d90c4b24220ebf601091a35050565b6000546001600160a01b0316331490565b610a86610a6d565b610ac5576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b610951816114b6565b610ad7336104eb565b610b125760405162461bcd60e51b815260040180806020018281038252602e8152602001806116fb602e913960400191505060405180910390fd5b6001600160a01b0381811660009081526002602052604090205416610b685760405162461bcd60e51b81526004018080602001828103825260268152602001806116ad6026913960400191505060405180910390fd5b6001600160a01b03811660008181526002602052604080822080546001600160a01b0319169055519091907f59d6590e225b81befe259af056324092801080acbb7feab310eb34678871f327908390a350565b6005546001600160a01b031681565b6001600160a01b03818116600090815260026020526040812054909116610bf357506000610501565b6060600460009054906101000a90046001600160a01b03166001600160a01b031663df09d6046040518163ffffffff1660e01b815260040160006040518083038186803b158015610c4357600080fd5b505afa158015610c57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610c8057600080fd5b810190808051600160201b811115610c9757600080fd5b82016020810184811115610caa57600080fd5b81518560208202830111600160201b82111715610cc657600080fd5b505080519094509250505080610ce157600192505050610501565b60008080606080825b868110156112fb576001600160a01b03808b16600090815260026020526040902054895160609291909116906380e9e9e1908b9085908110610d2857fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015610d6457600080fd5b505afa158015610d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610da157600080fd5b810190808051600160201b811115610db857600080fd5b82016020810184811115610dcb57600080fd5b81518560208202830111600160201b82111715610de757600080fd5b5050805190945015159250610e0b9150505760009950505050505050505050610501565b60005b81518110156112f1576001600160a01b03808d16600090815260026020526040902054835191169063c9100bcb90849084908110610e4857fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015610e8457600080fd5b505afa158015610e98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c0811015610ec157600080fd5b8151602083015160408401516060850180519395929491939183019291600160201b811115610eef57600080fd5b82016020810184811115610f0257600080fd5b8151600160201b811182820187101715610f1b57600080fd5b50509291906020018051600160201b811115610f3657600080fd5b82016020810184811115610f4957600080fd5b8151600160201b811182820187101715610f6257600080fd5b50509291906020018051600160201b811115610f7d57600080fd5b82016020810184811115610f9057600080fd5b8151600160201b811182820187101715610fa957600080fd5b505092919050505050809850819950829a50839b50849c505050505050600560009054906101000a90046001600160a01b03166001600160a01b031663ef2ed1a4876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d602081101561105b57600080fd5b50516110745760009a5050505050505050505050610501565b6005548a516001600160a01b03909116906334a899879088908d908790811061109957fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b031681526020018281526020019250505060206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d602081101561111857600080fd5b50516111315760009a5050505050505050505050610501565b6001600160a01b038c8116600090815260026020526040902054835182891692632a0ba5af92169085908590811061116557fe5b60200260200101518d878151811061117957fe5b602002602001015189896040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b031681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156111f75781810151838201526020016111df565b50505050905090810190601f1680156112245780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561125757818101518382015260200161123f565b50505050905090810190601f1680156112845780820380516001836020036101000a031916815260200191505b5097505050505050505060206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d60208110156112d057600080fd5b50516112e95760009a5050505050505050505050610501565b600101610e0e565b5050600101610cea565b5060019998505050505050505050565b611313610a6d565b611352576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0383169081179091556040517f1b98cb79e6f73020175fe87333f1b91ad6a881519c0afe30340c2599b2b4bde090600090a250565b6002602052600090815260409020546001600160a01b031681565b6113bf610a6d565b6113fe576040805162461bcd60e51b8152602060048201819052602482015260008051602061174a833981519152604482015290519081900360640190fd5b610951816114fe565b60006001600160a01b03821661144e5760405162461bcd60e51b815260040180806020018281038252602281526020018061176a6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61147f60018263ffffffff61159e16565b6040516001600160a01b038216907ff68e73cec97f2d70aa641fb26e87a4383686e2efacb648f2165aeb02ac562ec590600090a250565b6114c760018263ffffffff61161f16565b6040516001600160a01b038216907fed9c8ad8d5a0a66898ea49d2956929c93ae2e8bd50281b2ed897c5d1a6737e0b90600090a250565b6001600160a01b0381166115435760405162461bcd60e51b81526004018080602001828103825260268152602001806116876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6115a88282611407565b156115fa576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6116298282611407565b6116645760405162461bcd60e51b81526004018080602001828103825260218152602001806117296021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373796f7520686176656e2774207265676973746572656420616e206964656e7469747920796574636f6e747261637420616464726573732063616e27742062652061207a65726f20616464726573734167656e74526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204167656e7420726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f20616464726573736964656e7469747920636f6e747261637420616c7265616479206578697374732c20706c656173652075736520757064617465a265627a7a72305820c17dcebeb8852dd89f661714d9058fdc878012d312285c15fa489257d67d8e5b64736f6c634300050a0032

Deployed Bytecode Sourcemap

37459:6880:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37459:6880:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36789:107;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36789:107:0;-1:-1:-1;;;;;36789:107:0;;:::i;:::-;;;;;;;;;;;;;;;;;;41026:230;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41026:230:0;;-1:-1:-1;;;;;41026:230:0;;;;;;;;:::i;:::-;;37716:42;;;:::i;:::-;;;;-1:-1:-1;;;;;37716:42:0;;;;;;;;;;;;;;38596:448;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38596:448:0;;-1:-1:-1;;;;;38596:448:0;;;;;;;;;;;;;;;;;;:::i;44150:186::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44150:186:0;-1:-1:-1;;;;;44150:186:0;;:::i;39642:277::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39642:277:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;39642:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39642:277:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;39642:277:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;39642:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39642:277:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;39642:277:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;39642:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39642:277:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;39642:277:0;;-1:-1:-1;39642:277:0;-1:-1:-1;39642:277:0;:::i;43677:219::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43677:219:0;-1:-1:-1;;;;;43677:219:0;;:::i;35625:140::-;;;:::i;37657:50::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37657:50:0;-1:-1:-1;;;;;37657:50:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;36904:89;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36904:89:0;-1:-1:-1;;;;;36904:89:0;;:::i;34814:79::-;;;:::i;40359:337::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;40359:337:0;;;;;;;;;;:::i;35180:92::-;;;:::i;37001:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37001:95:0;-1:-1:-1;;;;;37001:95:0;;:::i;41528:254::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41528:254:0;-1:-1:-1;;;;;41528:254:0;;:::i;37765:46::-;;;:::i;42139:1505::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42139:1505:0;-1:-1:-1;;;;;42139:1505:0;;:::i;43904:238::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43904:238:0;-1:-1:-1;;;;;43904:238:0;;:::i;37603:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37603:45:0;-1:-1:-1;;;;;37603:45:0;;:::i;35920:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35920:109:0;-1:-1:-1;;;;;35920:109:0;;:::i;36789:107::-;36844:4;36868:20;:7;36880;36868:20;:11;:20;:::i;:::-;36861:27;;36789:107;;;;:::o;41026:230::-;36691:19;36699:10;36691:7;:19::i;:::-;36683:78;;;;-1:-1:-1;;;36683:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41125:15:0;;;41152:1;41125:15;;;:8;:15;;;;;;;41109:46;;;;;;-1:-1:-1;;;;;41166:22:0;;;;;;:15;:22;;;;;;:33;;-1:-1:-1;;41166:33:0;;;;;;;;;;41217:31;;41166:33;;:22;41217:31;;;41026:230;;:::o;37716:42::-;;;-1:-1:-1;;;;;37716:42:0;;:::o;38596:448::-;36691:19;36699:10;36691:7;:19::i;:::-;36683:78;;;;-1:-1:-1;;;36683:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38710:32:0;;38702:85;;;;-1:-1:-1;;;38702:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38814:15:0;;;38842:1;38814:15;;;:8;:15;;;;;;;38806:38;38798:102;;;;-1:-1:-1;;;38798:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38911:15:0;;;;;;;:8;:15;;;;;;;;:27;;-1:-1:-1;;;;;;38911:27:0;;;;;;;;;38949:15;:22;;;;;;:33;;-1:-1:-1;;38949:33:0;;;;;;;39000:36;;;38911:15;39000:36;38596:448;;;:::o;44150:186::-;-1:-1:-1;;;;;44233:17:0;;;44206:4;44233:17;;;:8;:17;;;;;;44206:4;;44233:17;44222:83;;-1:-1:-1;44288:5:0;44281:12;;44222:83;-1:-1:-1;44324:4:0;44150:186;;;:::o;39642:277::-;39788:9;39783:129;39803:17;;;39783:129;;;39842:58;39859:6;;39866:1;39859:9;;;;;;;;;;;;;-1:-1:-1;;;;;39859:9:0;39870:11;;39882:1;39870:14;;;;;;;;;;;;;-1:-1:-1;;;;;39870:14:0;39886:10;;39897:1;39886:13;;;;;;;;;;;;;;;39842:16;:58::i;:::-;39822:3;;39783:129;;;;39642:277;;;;;;:::o;43677:219::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;43767:14;:59;;-1:-1:-1;;;;;;43767:59:0;-1:-1:-1;;;;;43767:59:0;;;;;;;;43844:44;;;;-1:-1:-1;;43844:44:0;43677:219;:::o;35625:140::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;35724:1;35708:6;;35687:40;;-1:-1:-1;;;;;35708:6:0;;;;35687:40;;35724:1;;35687:40;35755:1;35738:19;;-1:-1:-1;;;;;;35738:19:0;;;35625:140::o;37657:50::-;;;;;;;;;;;;;;;:::o;36904:89::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;36967:18;36977:7;36967:9;:18::i;:::-;36904:89;:::o;34814:79::-;34852:7;34879:6;-1:-1:-1;;;;;34879:6:0;34814:79;:::o;40359:337::-;36691:19;36699:10;36691:7;:19::i;:::-;36683:78;;;;-1:-1:-1;;;36683:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40462:15:0;;;40490:1;40462:15;;;:8;:15;;;;;;;40446:47;;;;;;-1:-1:-1;;;;;40512:32:0;;40504:85;;;;-1:-1:-1;;;40504:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40600:15:0;;;;;;;:8;:15;;;;;;:27;;-1:-1:-1;;;;;;40600:27:0;;;;;;;;;;;40645:43;;40600:27;;40661:15;;40645:43;;;40359:337;;:::o;35180:92::-;35220:4;35258:6;-1:-1:-1;;;;;35258:6:0;35244:10;:20;;35180:92::o;37001:95::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;37067:21;37080:7;37067:12;:21::i;41528:254::-;36691:19;36699:10;36691:7;:19::i;:::-;36683:78;;;;-1:-1:-1;;;36683:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41611:15:0;;;41639:1;41611:15;;;:8;:15;;;;;;;41595:89;;;;-1:-1:-1;;;41595:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41702:15:0;;;;;;:8;:15;;;;;;41695:22;;-1:-1:-1;;;;;;41695:22:0;;;41735:39;41702:15;;;41735:39;;41702:15;;41735:39;41528:254;:::o;37765:46::-;;;-1:-1:-1;;;;;37765:46:0;;:::o;42139:1505::-;-1:-1:-1;;;;;42231:22:0;;;42202:4;42231:22;;;:8;:22;;;;;;42202:4;;42231:22;42219:89;;-1:-1:-1;42291:5:0;42284:12;;42219:89;42320:28;42351:14;;;;;;;;;-1:-1:-1;;;;;42351:14:0;-1:-1:-1;;;;;42351:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42351:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42351:31:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;42351:31:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;42351:31:0;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;-1:-1;;;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;42407:18:0;;42351:31;;-1:-1:-1;42407:18:0;-1:-1:-1;;;42440:11:0;42436:55;;42475:4;42468:11;;;;;;42436:55;42503:23;;;42587:16;;42503:23;42671:938;42705:6;42692:10;:19;42671:938;;;-1:-1:-1;;;;;42770:22:0;;;;;;;:8;:22;;;;;;42812:23;;42742:25;;42770:22;;;;;:41;;42812:11;;42824:10;;42812:23;;;;;;;;;;;;42770:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42770:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42770:66:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;42770:66:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;42770:66:0;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;-1:-1;;;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;42855:15:0;;42770:66;;-1:-1:-1;42855:20:0;42851:73;;-1:-1:-1;42851:73:0;;-1:-1:-1;;42851:73:0;42903:5;42896:12;;;;;;;;;;;;;42851:73;42943:6;42938:660;42959:8;:15;42955:1;:19;42938:660;;;-1:-1:-1;;;;;43092:22:0;;;;;;;:8;:22;;;;;;43124:11;;43092:22;;;:31;;43124:8;;43133:1;;43124:11;;;;;;;;;;;;43092:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43092:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43092:44:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;43092:44:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:3;5:12;;2:2;;;30:1;27;20:12;2:2;43092:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;43092:44:0;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;43092:44:0;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;43092:44:0;;;;;;43042:94;;;;;;;;;;;;;;;;;;;;;43160:15;;;;;;;;;-1:-1:-1;;;;;43160:15:0;-1:-1:-1;;;;;43160:31:0;;43192:6;43160:39;;;;;;;;;;;;;-1:-1:-1;;;;;43160:39:0;-1:-1:-1;;;;;43160:39:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43160:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43160:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43160:39:0;43155:101;;43231:5;43224:12;;;;;;;;;;;;;;43155:101;43279:15;;43317:23;;-1:-1:-1;;;;;43279:15:0;;;;:29;;43309:6;;43317:11;;43329:10;;43317:23;;;;;;;;;;;;43279:62;;;;;;;;;;;;;-1:-1:-1;;;;;43279:62:0;-1:-1:-1;;;;;43279:62:0;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43279:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43279:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43279:62:0;43274:124;;43373:5;43366:12;;;;;;;;;;;;;;43274:124;-1:-1:-1;;;;;43454:22:0;;;;;;;:8;:22;;;;;;43478:11;;43421:32;;;;;;43454:22;;43478:8;;43487:1;;43478:11;;;;;;;;;;;;43491;43503:10;43491:23;;;;;;;;;;;;;;43516:3;43521:4;43421:105;;;;;;;;;;;;;-1:-1:-1;;;;;43421:105:0;-1:-1:-1;;;;;43421:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;43421:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43421:105:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;43421:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43421:105:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43421:105:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43421:105:0;43416:167;;43558:5;43551:12;;;;;;;;;;;;;;43416:167;42976:3;;42938:660;;;-1:-1:-1;;42713:12:0;;42671:938;;;-1:-1:-1;43632:4:0;;42139:1505;-1:-1:-1;;;;;;;;;42139:1505:0:o;43904:238::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;44000:15;:66;;-1:-1:-1;;;;;;44000:66:0;-1:-1:-1;;;;;44000:66:0;;;;;;;;44084:50;;;;-1:-1:-1;;44084:50:0;43904:238;:::o;37603:45::-;;;;;;;;;;;;-1:-1:-1;;;;;37603:45:0;;:::o;35920:109::-;35026:9;:7;:9::i;:::-;35018:54;;;;;-1:-1:-1;;;35018:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;35018:54:0;;;;;;;;;;;;;;;35993:28;36012:8;35993:18;:28::i;33697:203::-;33769:4;-1:-1:-1;;;;;33794:21:0;;33786:68;;;;-1:-1:-1;;;33786:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33872:20:0;:11;:20;;;;;;;;;;;;;;;33697:203::o;37104:119::-;37160:20;:7;37172;37160:20;:11;:20;:::i;:::-;37196:19;;-1:-1:-1;;;;;37196:19:0;;;;;;;;37104:119;:::o;37231:127::-;37290:23;:7;37305;37290:23;:14;:23;:::i;:::-;37329:21;;-1:-1:-1;;;;;37329:21:0;;;;;;;;37231:127;:::o;36135:229::-;-1:-1:-1;;;;;36209:22:0;;36201:73;;;;-1:-1:-1;;;36201:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36311:6;;;36290:38;;-1:-1:-1;;;;;36290:38:0;;;;36311:6;;;36290:38;;;36339:6;:17;;-1:-1:-1;;;;;;36339:17:0;-1:-1:-1;;;;;36339:17:0;;;;;;;;;;36135:229::o;33161:178::-;33239:18;33243:4;33249:7;33239:3;:18::i;:::-;33238:19;33230:63;;;;;-1:-1:-1;;;33230:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33304:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;33304:27:0;33327:4;33304:27;;;33161:178::o;33419:183::-;33499:18;33503:4;33509:7;33499:3;:18::i;:::-;33491:64;;;;-1:-1:-1;;;33491:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33566:20:0;33589:5;33566:20;;;;;;;;;;;:28;;-1:-1:-1;;33566:28:0;;;33419:183::o

Swarm Source

bzzr://c17dcebeb8852dd89f661714d9058fdc878012d312285c15fa489257d67d8e5b

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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