Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 11 from a total of 11 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Batch Register I... | 11977966 | 1348 days ago | IN | 0 ETH | 0.00531738 | ||||
Batch Register I... | 11977893 | 1348 days ago | IN | 0 ETH | 0.00494141 | ||||
Batch Register I... | 11926061 | 1356 days ago | IN | 0 ETH | 0.00601294 | ||||
Batch Register I... | 11926061 | 1356 days ago | IN | 0 ETH | 0.00601563 | ||||
Batch Register I... | 11926061 | 1356 days ago | IN | 0 ETH | 0.00590821 | ||||
Batch Register I... | 11926050 | 1356 days ago | IN | 0 ETH | 0.00617538 | ||||
Batch Register I... | 11926050 | 1356 days ago | IN | 0 ETH | 0.00617676 | ||||
Add Agent | 11926039 | 1356 days ago | IN | 0 ETH | 0.0048885 | ||||
Add Agent On Ide... | 11920110 | 1357 days ago | IN | 0 ETH | 0.00792807 | ||||
Add Agent On Ide... | 11920105 | 1357 days ago | IN | 0 ETH | 0.00801972 | ||||
0x60806040 | 11920100 | 1357 days ago | IN | 0 ETH | 0.29568683 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xb0E8a593...Bc24c8EdE The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
IdentityRegistry
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-23 */ // File: @onchain-id/solidity/contracts/IERC734.sol pragma solidity ^0.6.2; /** * @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 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 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/IERC735.sol pragma solidity ^0.6.2; /** * @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/IIdentity.sol pragma solidity ^0.6.2; interface IIdentity is IERC734, IERC735 {} // File: @onchain-id/solidity/contracts/IClaimIssuer.sol pragma solidity ^0.6.2; interface IClaimIssuer is IIdentity { function revokeClaim(bytes32 _claimId, address _identity) external returns(bool); function getRecoveredAddress(bytes calldata sig, bytes32 dataHash) external pure returns (address); function isClaimRevoked(bytes calldata _sig) external view returns (bool); function isClaimValid(IIdentity _identity, uint256 claimTopic, bytes calldata sig, bytes calldata data) external view returns (bool); } // File: contracts/registry/IClaimTopicsRegistry.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; interface IClaimTopicsRegistry { /** * this event is emitted when a claim topic has been added to the ClaimTopicsRegistry * the event is emitted by the 'addClaimTopic' function * `claimTopic` is the required claim added to the Claim Topics Registry */ event ClaimTopicAdded(uint256 indexed claimTopic); /** * this event is emitted when a claim topic has been removed from the ClaimTopicsRegistry * the event is emitted by the 'removeClaimTopic' function * `claimTopic` is the required claim removed from the Claim Topics Registry */ event ClaimTopicRemoved(uint256 indexed claimTopic); /** * @dev Add a trusted claim topic (For example: KYC=1, AML=2). * Only owner can call. * emits `ClaimTopicAdded` event * @param _claimTopic The claim topic index */ function addClaimTopic(uint256 _claimTopic) external; /** * @dev Remove a trusted claim topic (For example: KYC=1, AML=2). * Only owner can call. * emits `ClaimTopicRemoved` event * @param _claimTopic The claim topic index */ function removeClaimTopic(uint256 _claimTopic) external; /** * @dev Get the trusted claim topics for the security token * @return Array of trusted claim topics */ function getClaimTopics() external view returns (uint256[] memory); /** * @dev Transfers the Ownership of ClaimTopics to a new Owner. * Only owner can call. * @param _newOwner The new owner of this contract. */ function transferOwnershipOnClaimTopicsRegistryContract(address _newOwner) external; } // File: contracts/registry/ITrustedIssuersRegistry.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; interface ITrustedIssuersRegistry { /** * this event is emitted when a trusted issuer is added in the registry. * the event is emitted by the addTrustedIssuer function * `trustedIssuer` is the address of the trusted issuer's ClaimIssuer contract * `claimTopics` is the set of claims that the trusted issuer is allowed to emit */ event TrustedIssuerAdded(IClaimIssuer indexed trustedIssuer, uint[] claimTopics); /** * this event is emitted when a trusted issuer is removed from the registry. * the event is emitted by the removeTrustedIssuer function * `trustedIssuer` is the address of the trusted issuer's ClaimIssuer contract */ event TrustedIssuerRemoved(IClaimIssuer indexed trustedIssuer); /** * this event is emitted when the set of claim topics is changed for a given trusted issuer. * the event is emitted by the updateIssuerClaimTopics function * `trustedIssuer` is the address of the trusted issuer's ClaimIssuer contract * `claimTopics` is the set of claims that the trusted issuer is allowed to emit */ event ClaimTopicsUpdated(IClaimIssuer indexed trustedIssuer, uint[] claimTopics); /** * @dev registers a ClaimIssuer contract as trusted claim issuer. * Requires that a ClaimIssuer contract doesn't already exist * Requires that the claimTopics set is not empty * @param _trustedIssuer The ClaimIssuer contract address of the trusted claim issuer. * @param _claimTopics the set of claim topics that the trusted issuer is allowed to emit * This function can only be called by the owner of the Trusted Issuers Registry contract * emits a `TrustedIssuerAdded` event */ function addTrustedIssuer(IClaimIssuer _trustedIssuer, uint[] calldata _claimTopics) external; /** * @dev Removes the ClaimIssuer contract of a trusted claim issuer. * Requires that the claim issuer contract to be registered first * @param _trustedIssuer the claim issuer to remove. * This function can only be called by the owner of the Trusted Issuers Registry contract * emits a `TrustedIssuerRemoved` event */ function removeTrustedIssuer(IClaimIssuer _trustedIssuer) external; /** * @dev Updates the set of claim topics that a trusted issuer is allowed to emit. * Requires that this ClaimIssuer contract already exists in the registry * Requires that the provided claimTopics set is not empty * @param _trustedIssuer the claim issuer to update. * @param _claimTopics the set of claim topics that the trusted issuer is allowed to emit * This function can only be called by the owner of the Trusted Issuers Registry contract * emits a `ClaimTopicsUpdated` event */ function updateIssuerClaimTopics(IClaimIssuer _trustedIssuer, uint[] calldata _claimTopics) external; /** * @dev Function for getting all the trusted claim issuers stored. * @return array of all claim issuers registered. */ function getTrustedIssuers() external view returns (IClaimIssuer[] memory); /** * @dev Checks if the ClaimIssuer contract is trusted * @param _issuer the address of the ClaimIssuer contract * @return true if the issuer is trusted, false otherwise. */ function isTrustedIssuer(address _issuer) external view returns(bool); /** * @dev Function for getting all the claim topic of trusted claim issuer * Requires the provided ClaimIssuer contract to be registered in the trusted issuers registry. * @param _trustedIssuer the trusted issuer concerned. * @return The set of claim topics that the trusted issuer is allowed to emit */ function getTrustedIssuerClaimTopics(IClaimIssuer _trustedIssuer) external view returns(uint[] memory); /** * @dev Function for checking if the trusted claim issuer is allowed * to emit a certain claim topic * @param _issuer the address of the trusted issuer's ClaimIssuer contract * @param _claimTopic the Claim Topic that has to be checked to know if the `issuer` is allowed to emit it * @return true if the issuer is trusted for this claim topic. */ function hasClaimTopic(address _issuer, uint _claimTopic) external view returns(bool); /** * @dev Transfers the Ownership of TrustedIssuersRegistry to a new Owner. * @param _newOwner The new owner of this contract. * This function can only be called by the owner of the Trusted Issuers Registry contract * emits an `OwnershipTransferred` event */ function transferOwnershipOnIssuersRegistryContract(address _newOwner) external; } // File: contracts/registry/IIdentityRegistryStorage.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; interface IIdentityRegistryStorage { /** * this event is emitted when an Identity is registered into the storage contract. * the event is emitted by the 'registerIdentity' function * `investorAddress` is the address of the investor's wallet * `identity` is the address of the Identity smart contract (onchainID) */ event IdentityStored(address indexed investorAddress, IIdentity indexed identity); /** * this event is emitted when an Identity is removed from the storage contract. * the event is emitted by the 'deleteIdentity' function * `investorAddress` is the address of the investor's wallet * `identity` is the address of the Identity smart contract (onchainID) */ event IdentityUnstored(address indexed investorAddress, IIdentity indexed identity); /** * this event is emitted when an Identity has been updated * the event is emitted by the 'updateIdentity' function * `oldIdentity` is the old Identity contract's address to update * `newIdentity` is the new Identity contract's */ event IdentityModified(IIdentity indexed oldIdentity, IIdentity indexed newIdentity); /** * this event is emitted when an Identity's country has been updated * the event is emitted by the 'updateCountry' function * `investorAddress` is the address on which the country has been updated * `country` is the numeric code (ISO 3166-1) of the new country */ event CountryModified(address indexed investorAddress, uint16 indexed country); /** * this event is emitted when an Identity Registry is bound to the storage contract * the event is emitted by the 'addIdentityRegistry' function * `identityRegistry` is the address of the identity registry added */ event IdentityRegistryBound(address indexed identityRegistry); /** * this event is emitted when an Identity Registry is unbound from the storage contract * the event is emitted by the 'removeIdentityRegistry' function * `identityRegistry` is the address of the identity registry removed */ event IdentityRegistryUnbound(address indexed identityRegistry); /** * @dev Returns the identity registries linked to the storage contract */ function linkedIdentityRegistries() external view returns (address[] memory); /** * @dev Returns the onchainID of an investor. * @param _userAddress The wallet of the investor */ function storedIdentity(address _userAddress) external view returns (IIdentity); /** * @dev Returns the country code of an investor. * @param _userAddress The wallet of the investor */ function storedInvestorCountry(address _userAddress) external view returns (uint16); /** * @dev adds an identity contract corresponding to a user address in the storage. * Requires that the user doesn't have an identity contract already registered. * This function can only be called by an address set as agent of the smart contract * @param _userAddress The address of the user * @param _identity The address of the user's identity contract * @param _country The country of the investor * emits `IdentityStored` event */ function addIdentityToStorage(address _userAddress, IIdentity _identity, uint16 _country) external; /** * @dev Removes an user from the storage. * Requires that the user have an identity contract already deployed that will be deleted. * This function can only be called by an address set as agent of the smart contract * @param _userAddress The address of the user to be removed * emits `IdentityUnstored` event */ function removeIdentityFromStorage(address _userAddress) external; /** * @dev Updates the country corresponding to a user address. * Requires that the user should have an identity contract already deployed that will be replaced. * This function can only be called by an address set as agent of the smart contract * @param _userAddress The address of the user * @param _country The new country of the user * emits `CountryModified` event */ function modifyStoredInvestorCountry(address _userAddress, uint16 _country) external; /** * @dev 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. * This function can only be called by an address set as agent of the smart contract * @param _userAddress The address of the user * @param _identity The address of the user's new identity contract * emits `IdentityModified` event */ function modifyStoredIdentity(address _userAddress, IIdentity _identity) external; /** * @notice Transfers the Ownership of the Identity Registry Storage to a new Owner. * This function can only be called by the wallet set as owner of the smart contract * @param _newOwner The new owner of this contract. */ function transferOwnershipOnIdentityRegistryStorage(address _newOwner) external; /** * @notice Adds an identity registry as agent of the Identity Registry Storage Contract. * This function can only be called by the wallet set as owner of the smart contract * This function adds the identity registry to the list of identityRegistries linked to the storage contract * @param _identityRegistry The identity registry address to add. */ function bindIdentityRegistry(address _identityRegistry) external; /** * @notice Removes an identity registry from being agent of the Identity Registry Storage Contract. * This function can only be called by the wallet set as owner of the smart contract * This function removes the identity registry from the list of identityRegistries linked to the storage contract * @param _identityRegistry The identity registry address to remove. */ function unbindIdentityRegistry(address _identityRegistry) external; } // File: contracts/registry/IIdentityRegistry.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; interface IIdentityRegistry { /** * this event is emitted when the ClaimTopicsRegistry has been set for the IdentityRegistry * the event is emitted by the IdentityRegistry constructor * `claimTopicsRegistry` is the address of the Claim Topics Registry contract */ event ClaimTopicsRegistrySet(address indexed claimTopicsRegistry); /** * this event is emitted when the IdentityRegistryStorage has been set for the IdentityRegistry * the event is emitted by the IdentityRegistry constructor * `identityStorage` is the address of the Identity Registry Storage contract */ event IdentityStorageSet(address indexed identityStorage); /** * this event is emitted when the ClaimTopicsRegistry has been set for the IdentityRegistry * the event is emitted by the IdentityRegistry constructor * `trustedIssuersRegistry` is the address of the Trusted Issuers Registry contract */ event TrustedIssuersRegistrySet(address indexed trustedIssuersRegistry); /** * this event is emitted when an Identity is registered into the Identity Registry. * the event is emitted by the 'registerIdentity' function * `investorAddress` is the address of the investor's wallet * `identity` is the address of the Identity smart contract (onchainID) */ event IdentityRegistered(address indexed investorAddress, IIdentity indexed identity); /** * this event is emitted when an Identity is removed from the Identity Registry. * the event is emitted by the 'deleteIdentity' function * `investorAddress` is the address of the investor's wallet * `identity` is the address of the Identity smart contract (onchainID) */ event IdentityRemoved(address indexed investorAddress, IIdentity indexed identity); /** * this event is emitted when an Identity has been updated * the event is emitted by the 'updateIdentity' function * `oldIdentity` is the old Identity contract's address to update * `newIdentity` is the new Identity contract's */ event IdentityUpdated(IIdentity indexed oldIdentity, IIdentity indexed newIdentity); /** * this event is emitted when an Identity's country has been updated * the event is emitted by the 'updateCountry' function * `investorAddress` is the address on which the country has been updated * `country` is the numeric code (ISO 3166-1) of the new country */ event CountryUpdated(address indexed investorAddress, uint16 indexed country); /** * @dev Register an identity contract corresponding to a user address. * Requires that the user doesn't have an identity contract already registered. * This function can only be called by a wallet set as agent of the smart contract * @param _userAddress The address of the user * @param _identity The address of the user's identity contract * @param _country The country of the investor * emits `IdentityRegistered` event */ function registerIdentity(address _userAddress, IIdentity _identity, uint16 _country) external; /** * @dev Removes an user from the identity registry. * Requires that the user have an identity contract already deployed that will be deleted. * This function can only be called by a wallet set as agent of the smart contract * @param _userAddress The address of the user to be removed * emits `IdentityRemoved` event */ function deleteIdentity(address _userAddress) external; /** * @dev Replace the actual identityRegistryStorage contract with a new one. * This function can only be called by the wallet set as owner of the smart contract * @param _identityRegistryStorage The address of the new Identity Registry Storage * emits `IdentityStorageSet` event */ function setIdentityRegistryStorage(address _identityRegistryStorage) external; /** * @dev Replace the actual claimTopicsRegistry contract with a new one. * This function can only be called by the wallet set as owner of the smart contract * @param _claimTopicsRegistry The address of the new claim Topics Registry * emits `ClaimTopicsRegistrySet` event */ function setClaimTopicsRegistry(address _claimTopicsRegistry) external; /** * @dev Replace the actual trustedIssuersRegistry contract with a new one. * This function can only be called by the wallet set as owner of the smart contract * @param _trustedIssuersRegistry The address of the new Trusted Issuers Registry * emits `TrustedIssuersRegistrySet` event */ function setTrustedIssuersRegistry(address _trustedIssuersRegistry) external; /** * @dev Updates the country corresponding to a user address. * Requires that the user should have an identity contract already deployed that will be replaced. * This function can only be called by a wallet set as agent of the smart contract * @param _userAddress The address of the user * @param _country The new country of the user * emits `CountryUpdated` event */ function updateCountry(address _userAddress, uint16 _country) external; /** * @dev 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. * This function can only be called by a wallet set as agent of the smart contract * @param _userAddress The address of the user * @param _identity The address of the user's new identity contract * emits `IdentityUpdated` event */ function updateIdentity(address _userAddress, IIdentity _identity) external; /** * @dev function allowing to register identities in batch * This function can only be called by a wallet set as agent of the smart contract * Requires that none of the users has an identity contract already registered. * IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH, * USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN "OUT OF GAS" TRANSACTION * @param _userAddresses The addresses of the users * @param _identities The addresses of the corresponding identity contracts * @param _countries The countries of the corresponding investors * emits _userAddresses.length `IdentityRegistered` events */ function batchRegisterIdentity(address[] calldata _userAddresses, IIdentity[] calldata _identities, uint16[] calldata _countries) external; /** * @dev This functions checks whether a wallet has its Identity registered or not * in the Identity Registry. * @param _userAddress The address of the user to be checked. * @return 'True' if the address is contained in the Identity Registry, 'false' if not. */ function contains(address _userAddress) external view returns (bool); /** * @dev This functions checks whether an identity contract * corresponding to the provided user address has the required claims or not based * on the data fetched from trusted issuers registry and from the claim topics registry * @param _userAddress The address of the user to be verified. * @return 'True' if the address is verified, 'false' if not. */ function isVerified(address _userAddress) external view returns (bool); /** * @dev Returns the onchainID of an investor. * @param _userAddress The wallet of the investor */ function identity(address _userAddress) external view returns (IIdentity); /** * @dev Returns the country code of an investor. * @param _userAddress The wallet of the investor */ function investorCountry(address _userAddress) external view returns (uint16); /** * @dev Returns the IdentityRegistryStorage linked to the current IdentityRegistry. */ function identityStorage() external view returns (IIdentityRegistryStorage); /** * @dev Returns the TrustedIssuersRegistry linked to the current IdentityRegistry. */ function issuersRegistry() external view returns (ITrustedIssuersRegistry); /** * @dev Returns the ClaimTopicsRegistry linked to the current IdentityRegistry. */ function topicsRegistry() external view returns (IClaimTopicsRegistry); /** * @notice Transfers the Ownership of the Identity Registry to a new Owner. * This function can only be called by the wallet set as owner of the smart contract * @param _newOwner The new owner of this contract. */ function transferOwnershipOnIdentityRegistryContract(address _newOwner) external; /** * @notice Adds an address as _agent of the Identity Registry Contract. * This function can only be called by the wallet set as owner of the smart contract * @param _agent The _agent's address to add. */ function addAgentOnIdentityRegistryContract(address _agent) external; /** * @notice Removes an address from being _agent of the Identity Registry Contract. * This function can only be called by the wallet set as owner of the smart contract * @param _agent The _agent's address to remove. */ function removeAgentOnIdentityRegistryContract(address _agent) external; } // File: contracts/roles/Roles.sol pragma solidity 0.6.2; /** * @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/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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 GSN 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: contracts/roles/Ownable.sol pragma solidity 0.6.2; /** * @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 applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() external 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 _msgSender() == _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() external virtual 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 virtual onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal virtual { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/roles/AgentRole.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; contract AgentRole is Ownable { using Roles for Roles.Role; event AgentAdded(address indexed _agent); event AgentRemoved(address indexed _agent); Roles.Role private _agents; modifier onlyAgent() { require(isAgent(msg.sender), "AgentRole: caller does not have the Agent role"); _; } function isAgent(address _agent) public view returns (bool) { return _agents.has(_agent); } function addAgent(address _agent) public onlyOwner { _agents.add(_agent); emit AgentAdded(_agent); } function removeAgent(address _agent) public onlyOwner { _agents.remove(_agent); emit AgentRemoved(_agent); } } // File: contracts/registry/IdentityRegistry.sol /** * NOTICE * * The T-REX software is licensed under a proprietary license or the GPL v.3. * If you choose to receive it under the GPL v.3 license, the following applies: * T-REX is a suite of smart contracts developed by Tokeny to manage and transfer financial assets on the ethereum blockchain * * Copyright (C) 2019, Tokeny sàrl. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ pragma solidity 0.6.2; contract IdentityRegistry is IIdentityRegistry, AgentRole { /// Address of the ClaimTopicsRegistry Contract IClaimTopicsRegistry private tokenTopicsRegistry; /// Address of the TrustedIssuersRegistry Contract ITrustedIssuersRegistry private tokenIssuersRegistry; /// Address of the IdentityRegistryStorage Contract IIdentityRegistryStorage private tokenIdentityStorage; /** * @dev the constructor initiates the Identity Registry smart contract * @param _trustedIssuersRegistry the trusted issuers registry linked to the Identity Registry * @param _claimTopicsRegistry the claim topics registry linked to the Identity Registry * @param _identityStorage the identity registry storage linked to the Identity Registry * emits a `ClaimTopicsRegistrySet` event * emits a `TrustedIssuersRegistrySet` event * emits an `IdentityStorageSet` event */ constructor ( address _trustedIssuersRegistry, address _claimTopicsRegistry, address _identityStorage ) public { tokenTopicsRegistry = IClaimTopicsRegistry(_claimTopicsRegistry); tokenIssuersRegistry = ITrustedIssuersRegistry(_trustedIssuersRegistry); tokenIdentityStorage = IIdentityRegistryStorage(_identityStorage); emit ClaimTopicsRegistrySet(_claimTopicsRegistry); emit TrustedIssuersRegistrySet(_trustedIssuersRegistry); emit IdentityStorageSet(_identityStorage); } /** * @dev See {IIdentityRegistry-identity}. */ function identity(address _userAddress) public override view returns (IIdentity){ return tokenIdentityStorage.storedIdentity(_userAddress); } /** * @dev See {IIdentityRegistry-investorCountry}. */ function investorCountry(address _userAddress) external override view returns (uint16){ return tokenIdentityStorage.storedInvestorCountry(_userAddress); } /** * @dev See {IIdentityRegistry-issuersRegistry}. */ function issuersRegistry() external override view returns (ITrustedIssuersRegistry){ return tokenIssuersRegistry; } /** * @dev See {IIdentityRegistry-topicsRegistry}. */ function topicsRegistry() external override view returns (IClaimTopicsRegistry){ return tokenTopicsRegistry; } /** * @dev See {IIdentityRegistry-identityStorage}. */ function identityStorage() external override view returns (IIdentityRegistryStorage){ return tokenIdentityStorage; } /** * @dev See {IIdentityRegistry-registerIdentity}. */ function registerIdentity(address _userAddress, IIdentity _identity, uint16 _country) public override onlyAgent { tokenIdentityStorage.addIdentityToStorage(_userAddress, _identity, _country); emit IdentityRegistered(_userAddress, _identity); } /** * @dev See {IIdentityRegistry-batchRegisterIdentity}. */ function batchRegisterIdentity(address[] calldata _userAddresses, IIdentity[] calldata _identities, uint16[] calldata _countries) external override { for (uint256 i = 0; i < _userAddresses.length; i++) { registerIdentity(_userAddresses[i], _identities[i], _countries[i]); } } /** * @dev See {IIdentityRegistry-updateIdentity}. */ function updateIdentity(address _userAddress, IIdentity _identity) external override onlyAgent { IIdentity oldIdentity = identity(_userAddress); tokenIdentityStorage.modifyStoredIdentity(_userAddress, _identity); emit IdentityUpdated(oldIdentity, _identity); } /** * @dev See {IIdentityRegistry-updateCountry}. */ function updateCountry(address _userAddress, uint16 _country) external override onlyAgent { tokenIdentityStorage.modifyStoredInvestorCountry(_userAddress, _country); emit CountryUpdated(_userAddress, _country); } /** * @dev See {IIdentityRegistry-deleteIdentity}. */ function deleteIdentity(address _userAddress) external override onlyAgent { tokenIdentityStorage.removeIdentityFromStorage(_userAddress); emit IdentityRemoved(_userAddress, identity(_userAddress)); } /** * @dev See {IIdentityRegistry-isVerified}. */ function isVerified(address _userAddress) external override view returns (bool) { if (address(identity(_userAddress)) == address(0)) { return false; } uint256[] memory requiredClaimTopics = tokenTopicsRegistry.getClaimTopics(); if (requiredClaimTopics.length == 0) { return true; } uint256 foundClaimTopic; uint256 scheme; address issuer; bytes memory sig; bytes memory data; uint256 claimTopic; for (claimTopic = 0; claimTopic < requiredClaimTopics.length; claimTopic++) { bytes32[] memory claimIds = identity(_userAddress).getClaimIdsByTopic(requiredClaimTopics[claimTopic]); if (claimIds.length == 0) { return false; } for (uint j = 0; j < claimIds.length; j++) { (foundClaimTopic, scheme, issuer, sig, data,) = identity(_userAddress).getClaim(claimIds[j]); if (!tokenIssuersRegistry.isTrustedIssuer(issuer) && j == (claimIds.length - 1)) { return false; } if (!tokenIssuersRegistry.hasClaimTopic(issuer, requiredClaimTopics[claimTopic]) && j == (claimIds.length - 1)) { return false; } if (!IClaimIssuer(issuer).isClaimValid(identity(_userAddress), requiredClaimTopics[claimTopic], sig, data) && j == (claimIds.length - 1)) { return false; } } } return true; } /** * @dev See {IIdentityRegistry-setIdentityRegistryStorage}. */ function setIdentityRegistryStorage(address _identityRegistryStorage) external override onlyOwner { tokenIdentityStorage = IIdentityRegistryStorage(_identityRegistryStorage); emit IdentityStorageSet(_identityRegistryStorage); } /** * @dev See {IIdentityRegistry-setClaimTopicsRegistry}. */ function setClaimTopicsRegistry(address _claimTopicsRegistry) external override onlyOwner { tokenTopicsRegistry = IClaimTopicsRegistry(_claimTopicsRegistry); emit ClaimTopicsRegistrySet(_claimTopicsRegistry); } /** * @dev See {IIdentityRegistry-setTrustedIssuersRegistry}. */ function setTrustedIssuersRegistry(address _trustedIssuersRegistry) external override onlyOwner { tokenIssuersRegistry = ITrustedIssuersRegistry(_trustedIssuersRegistry); emit TrustedIssuersRegistrySet(_trustedIssuersRegistry); } /** * @dev See {IIdentityRegistry-contains}. */ function contains(address _userAddress) external override view returns (bool){ if (address(identity(_userAddress)) == address(0)) { return false; } return true; } /** * @dev See {IIdentityRegistry-transferOwnershipOnIdentityRegistryContract}. */ function transferOwnershipOnIdentityRegistryContract(address _newOwner) external override onlyOwner { transferOwnership(_newOwner); } /** * @dev See {IIdentityRegistry-addAgentOnIdentityRegistryContract}. */ function addAgentOnIdentityRegistryContract(address _agent) external override { addAgent(_agent); } /** * @dev See {IIdentityRegistry-removeAgentOnIdentityRegistryContract}. */ function removeAgentOnIdentityRegistryContract(address _agent) external override { removeAgent(_agent); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_trustedIssuersRegistry","type":"address"},{"internalType":"address","name":"_claimTopicsRegistry","type":"address"},{"internalType":"address","name":"_identityStorage","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_agent","type":"address"}],"name":"AgentAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_agent","type":"address"}],"name":"AgentRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimTopicsRegistry","type":"address"}],"name":"ClaimTopicsRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investorAddress","type":"address"},{"indexed":true,"internalType":"uint16","name":"country","type":"uint16"}],"name":"CountryUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investorAddress","type":"address"},{"indexed":true,"internalType":"contract IIdentity","name":"identity","type":"address"}],"name":"IdentityRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investorAddress","type":"address"},{"indexed":true,"internalType":"contract IIdentity","name":"identity","type":"address"}],"name":"IdentityRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"identityStorage","type":"address"}],"name":"IdentityStorageSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IIdentity","name":"oldIdentity","type":"address"},{"indexed":true,"internalType":"contract IIdentity","name":"newIdentity","type":"address"}],"name":"IdentityUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"trustedIssuersRegistry","type":"address"}],"name":"TrustedIssuersRegistrySet","type":"event"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"addAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"addAgentOnIdentityRegistryContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"contract IIdentity[]","name":"_identities","type":"address[]"},{"internalType":"uint16[]","name":"_countries","type":"uint16[]"}],"name":"batchRegisterIdentity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"contains","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"deleteIdentity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"identity","outputs":[{"internalType":"contract IIdentity","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"identityStorage","outputs":[{"internalType":"contract IIdentityRegistryStorage","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"investorCountry","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"isAgent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"isVerified","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuersRegistry","outputs":[{"internalType":"contract ITrustedIssuersRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"name":"registerIdentity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"removeAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"removeAgentOnIdentityRegistryContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_claimTopicsRegistry","type":"address"}],"name":"setClaimTopicsRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_identityRegistryStorage","type":"address"}],"name":"setIdentityRegistryStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_trustedIssuersRegistry","type":"address"}],"name":"setTrustedIssuersRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"topicsRegistry","outputs":[{"internalType":"contract IClaimTopicsRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnershipOnIdentityRegistryContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"name":"updateCountry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"}],"name":"updateIdentity","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c806384e79842116100de578063b4f3fcb711610097578063e744d78911610071578063e744d78914610558578063f0eb5e541461057e578063f11abfd8146105a4578063f2fde38b146105ac57610173565b8063b4f3fcb714610504578063b9209e331461050c578063ce240d9c1461053257610173565b806384e79842146104545780638da5cb5b1461047a5780638e098ca1146104825780638f32d59b146104b057806397a6278e146104b8578063a8d29d1d146104de57610173565b80635dbe47e8116101305780635dbe47e81461028f5780635e5741f3146102b5578063653dc9f1146102db578063670af6a9146103e9578063715018a61461040f5780637e42683b1461041757610173565b80631ffbb0641461017857806326d941ae146101b25780633b239a7f146101da5780633b3e12f41461020a578063454a03e01461022e57806350bc7bda14610269575b600080fd5b61019e6004803603602081101561018e57600080fd5b50356001600160a01b03166105d2565b604080519115158252519081900360200190f35b6101d8600480360360208110156101c857600080fd5b50356001600160a01b03166105ed565b005b6101d8600480360360408110156101f057600080fd5b5080356001600160a01b0316906020013561ffff1661067e565b610212610774565b604080516001600160a01b039092168252519081900360200190f35b6101d86004803603606081101561024457600080fd5b5080356001600160a01b03908116916020810135909116906040013561ffff16610783565b6101d86004803603602081101561027f57600080fd5b50356001600160a01b0316610880565b61019e600480360360208110156102a557600080fd5b50356001600160a01b031661088c565b6101d8600480360360208110156102cb57600080fd5b50356001600160a01b03166108b7565b6101d8600480360360608110156102f157600080fd5b810190602081018135600160201b81111561030b57600080fd5b82018360208201111561031d57600080fd5b803590602001918460208302840111600160201b8311171561033e57600080fd5b919390929091602081019035600160201b81111561035b57600080fd5b82018360208201111561036d57600080fd5b803590602001918460208302840111600160201b8311171561038e57600080fd5b919390929091602081019035600160201b8111156103ab57600080fd5b8201836020820111156103bd57600080fd5b803590602001918460208302840111600160201b831117156103de57600080fd5b5090925090506108c0565b6101d8600480360360208110156103ff57600080fd5b50356001600160a01b0316610933565b6101d86109c4565b61043d6004803603602081101561042d57600080fd5b50356001600160a01b0316610a55565b6040805161ffff9092168252519081900360200190f35b6101d86004803603602081101561046a57600080fd5b50356001600160a01b0316610ada565b610212610b69565b6101d86004803603604081101561049857600080fd5b506001600160a01b0381358116916020013516610b78565b61019e610c77565b6101d8600480360360208110156104ce57600080fd5b50356001600160a01b0316610c9b565b6101d8600480360360208110156104f457600080fd5b50356001600160a01b0316610d2a565b610212610e23565b61019e6004803603602081101561052257600080fd5b50356001600160a01b0316610e32565b6101d86004803603602081101561054857600080fd5b50356001600160a01b03166116e9565b6101d86004803603602081101561056e57600080fd5b50356001600160a01b0316611739565b6102126004803603602081101561059457600080fd5b50356001600160a01b03166117ca565b61021261181d565b6101d8600480360360208110156105c257600080fd5b50356001600160a01b031661182c565b60006105e560018363ffffffff61187c16565b90505b919050565b6105f5610c77565b610634576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0383169081179091556040517f2fa8b95c1db7afe99e3398f3792f008135cedc1fa26b0bb2ecd2352cd166d53c90600090a250565b610687336105d2565b6106c25760405162461bcd60e51b815260040180806020018281038252602e815260200180611a96602e913960400191505060405180910390fd5b6004805460408051639f3418d560e01b81526001600160a01b038681169482019490945261ffff8516602482015290519290911691639f3418d59160448082019260009290919082900301818387803b15801561071e57600080fd5b505af1158015610732573d6000803e3d6000fd5b505060405161ffff841692506001600160a01b03851691507f04ed3b726495c2dca1ff1215d9ca54e1a4030abb5e82b0f6ce55702416cee85390600090a35050565b6002546001600160a01b031690565b61078c336105d2565b6107c75760405162461bcd60e51b815260040180806020018281038252602e815260200180611a96602e913960400191505060405180910390fd5b600480546040805163a53410dd60e01b81526001600160a01b0387811694820194909452858416602482015261ffff851660448201529051929091169163a53410dd9160648082019260009290919082900301818387803b15801561082b57600080fd5b505af115801561083f573d6000803e3d6000fd5b50506040516001600160a01b038086169350861691507f6ae73635c50d24a45af6fbd5e016ac4bed179addbc8bf24e04ff0fcc6d33af1990600090a3505050565b61088981610ada565b50565b600080610898836117ca565b6001600160a01b031614156108af575060006105e8565b506001919050565b61088981610c9b565b60005b8581101561092a576109228787838181106108da57fe5b905060200201356001600160a01b03168686848181106108f657fe5b905060200201356001600160a01b031685858581811061091257fe5b9050602002013561ffff16610783565b6001016108c3565b50505050505050565b61093b610c77565b61097a576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0383169081179091556040517f7170bf15b246e880b2369cd7c67d057760d8a35149e8c64dde91efa22bcc76d090600090a250565b6109cc610c77565b610a0b576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004805460408051631c9f84ef60e21b81526001600160a01b038581169482019490945290516000939092169163727e13bc91602480820192602092909190829003018186803b158015610aa857600080fd5b505afa158015610abc573d6000803e3d6000fd5b505050506040513d6020811015610ad257600080fd5b505192915050565b610ae2610c77565b610b21576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b610b3260018263ffffffff6118e316565b6040516001600160a01b038216907ff68e73cec97f2d70aa641fb26e87a4383686e2efacb648f2165aeb02ac562ec590600090a250565b6000546001600160a01b031690565b610b81336105d2565b610bbc5760405162461bcd60e51b815260040180806020018281038252602e815260200180611a96602e913960400191505060405180910390fd5b6000610bc7836117ca565b6004805460408051637402e7c360e11b81526001600160a01b03888116948201949094528684166024820152905193945091169163e805cf869160448082019260009290919082900301818387803b158015610c2257600080fd5b505af1158015610c36573d6000803e3d6000fd5b50506040516001600160a01b038086169350841691507fe98082932c8056a0f514da9104e4a66bc2cbaef102ad59d90c4b24220ebf601090600090a3505050565b600080546001600160a01b0316610c8c611964565b6001600160a01b031614905090565b610ca3610c77565b610ce2576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b610cf360018263ffffffff61196816565b6040516001600160a01b038216907fed9c8ad8d5a0a66898ea49d2956929c93ae2e8bd50281b2ed897c5d1a6737e0b90600090a250565b610d33336105d2565b610d6e5760405162461bcd60e51b815260040180806020018281038252602e815260200180611a96602e913960400191505060405180910390fd5b600480546040805163cf191bcd60e01b81526001600160a01b03858116948201949094529051929091169163cf191bcd9160248082019260009290919082900301818387803b158015610dc057600080fd5b505af1158015610dd4573d6000803e3d6000fd5b50505050610de1816117ca565b6001600160a01b0316816001600160a01b03167f59d6590e225b81befe259af056324092801080acbb7feab310eb34678871f32760405160405180910390a350565b6003546001600160a01b031690565b600080610e3e836117ca565b6001600160a01b03161415610e55575060006105e8565b600254604080516337c2758160e21b815290516060926001600160a01b03169163df09d604916004808301926000929190829003018186803b158015610e9a57600080fd5b505afa158015610eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610ed757600080fd5b8101908080516040519392919084600160201b821115610ef657600080fd5b908301906020820185811115610f0b57600080fd5b82518660208202830111600160201b82111715610f2757600080fd5b82525081516020918201928201910280838360005b83811015610f54578181015183820152602001610f3c565b505050509050016040525050509050805160001415610f775760019150506105e8565b60008080606080825b86518110156116da576060610f948a6117ca565b6001600160a01b03166380e9e9e1898481518110610fae57fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561102757600080fd5b8101908080516040519392919084600160201b82111561104657600080fd5b90830190602082018581111561105b57600080fd5b82518660208202830111600160201b8211171561107757600080fd5b82525081516020918201928201910280838360005b838110156110a457818101518382015260200161108c565b5050505090500160405250505090508051600014156110ce576000985050505050505050506105e8565b60005b81518110156116d0576110e38b6117ca565b6001600160a01b031663c9100bcb8383815181106110fd57fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b15801561113957600080fd5b505afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c081101561117657600080fd5b815160208301516040808501516060860180519251949693959194939182019284600160201b8211156111a857600080fd5b9083019060208201858111156111bd57600080fd5b8251600160201b8111828201881017156111d657600080fd5b82525081516020918201929091019080838360005b838110156112035781810151838201526020016111eb565b50505050905090810190601f1680156112305780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084600160201b82111561125257600080fd5b90830190602082018581111561126757600080fd5b8251600160201b81118282018810171561128057600080fd5b82525081516020918201929091019080838360005b838110156112ad578181015183820152602001611295565b50505050905090810190601f1680156112da5780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084600160201b8211156112fc57600080fd5b90830190602082018581111561131157600080fd5b8251600160201b81118282018810171561132a57600080fd5b82525081516020918201929091019080838360005b8381101561135757818101518382015260200161133f565b50505050905090810190601f1680156113845780820380516001836020036101000a031916815260200191505b5060405250505050809850819950829a50839b50849c505050505050600360009054906101000a90046001600160a01b03166001600160a01b031663ef2ed1a4876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561140b57600080fd5b505afa15801561141f573d6000803e3d6000fd5b505050506040513d602081101561143557600080fd5b50511580156114475750600182510381145b1561145e57600099505050505050505050506105e8565b60035489516001600160a01b03909116906334a899879088908c908790811061148357fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b031681526020018281526020019250505060206040518083038186803b1580156114d857600080fd5b505afa1580156114ec573d6000803e3d6000fd5b505050506040513d602081101561150257600080fd5b50511580156115145750600182510381145b1561152b57600099505050505050505050506105e8565b856001600160a01b031663c0969a6e6115438d6117ca565b8b868151811061154f57fe5b602002602001015188886040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156115c75781810151838201526020016115af565b50505050905090810190601f1680156115f45780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561162757818101518382015260200161160f565b50505050905090810190601f1680156116545780820380516001836020036101000a031916815260200191505b50965050505050505060206040518083038186803b15801561167557600080fd5b505afa158015611689573d6000803e3d6000fd5b505050506040513d602081101561169f57600080fd5b50511580156116b15750600182510381145b156116c857600099505050505050505050506105e8565b6001016110d1565b5050600101610f80565b50600198975050505050505050565b6116f1610c77565b611730576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b6108898161182c565b611741610c77565b611780576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0383169081179091556040517f1b98cb79e6f73020175fe87333f1b91ad6a881519c0afe30340c2599b2b4bde090600090a250565b6004805460408051637988d3a560e01b81526001600160a01b0385811694820194909452905160009390921691637988d3a591602480820192602092909190829003018186803b158015610aa857600080fd5b6004546001600160a01b031690565b611834610c77565b611873576040805162461bcd60e51b81526020600482018190526024820152600080516020611ae5833981519152604482015290519081900360640190fd5b610889816119cf565b60006001600160a01b0382166118c35760405162461bcd60e51b8152600401808060200182810382526022815260200180611b056022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6118ed828261187c565b1561193f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b3390565b611972828261187c565b6119ad5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ac46021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b038116611a145760405162461bcd60e51b8152600401808060200182810382526026815260200180611a706026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734167656e74526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204167656e7420726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373a2646970667358221220b1c7af754b749d9d19a1cd2334d059e43862ff3e51e72d33197d9f8b78d2f9da64736f6c63430006020033
Deployed Bytecode Sourcemap
45638:7926:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45638:7926:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44082:105;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44082:105:0;-1:-1:-1;;;;;44082:105:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51693:250;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51693:250:0;-1:-1:-1;;;;;51693:250:0;;:::i;:::-;;49412:235;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49412:235:0;;-1:-1:-1;;;;;49412:235:0;;;;;;;;:::i;47892:124::-;;;:::i;:::-;;;;-1:-1:-1;;;;;47892:124:0;;;;;;;;;;;;;;48304:266;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48304:266:0;;-1:-1:-1;;;;;48304:266:0;;;;;;;;;;;;;;;;;;:::i;53229:113::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53229:113:0;-1:-1:-1;;;;;53229:113:0;;:::i;52672:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52672:207:0;-1:-1:-1;;;;;52672:207:0;;:::i;53442:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53442:119:0;-1:-1:-1;;;;;53442:119:0;;:::i;48654:311::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;48654:311:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;48654:311:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;48654:311: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;48654:311:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;48654:311:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;48654:311: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;48654:311:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;48654:311:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;48654:311: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;48654:311:0;;-1:-1:-1;48654:311:0;-1:-1:-1;48654:311:0;:::i;52028:233::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52028:233:0;-1:-1:-1;;;;;52028:233:0;;:::i;41815:150::-;;;:::i;47440:168::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47440:168:0;-1:-1:-1;;;;;47440:168:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;44195:123;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44195:123:0;-1:-1:-1;;;;;44195:123:0;;:::i;41002:81::-;;;:::i;49042:292::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;49042:292:0;;;;;;;;;;:::i;41370:94::-;;;:::i;44326:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44326:131:0;-1:-1:-1;;;;;44326:131:0;;:::i;49724:222::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49724:222:0;-1:-1:-1;;;;;49724:222:0;;:::i;47686:129::-;;;:::i;50019:1585::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50019:1585:0;-1:-1:-1;;;;;50019:1585:0;;:::i;52985:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52985:147:0;-1:-1:-1;;;;;52985:147:0;;:::i;52349:252::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52349:252:0;-1:-1:-1;;;;;52349:252:0;;:::i;47207:155::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47207:155:0;-1:-1:-1;;;;;47207:155:0;;:::i;48095:130::-;;;:::i;42120:117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42120:117:0;-1:-1:-1;;;;;42120:117:0;;:::i;44082:105::-;44136:4;44160:19;:7;44172:6;44160:19;:11;:19;:::i;:::-;44153:26;;44082:105;;;;:::o;51693:250::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;51802:20:::1;:73:::0;;-1:-1:-1;;;;;;51802:73:0::1;-1:-1:-1::0;;;;;51802:73:0;::::1;::::0;;::::1;::::0;;;51891:44:::1;::::0;::::1;::::0;-1:-1:-1;;51891:44:0::1;51693:250:::0;:::o;49412:235::-;43984:19;43992:10;43984:7;:19::i;:::-;43976:78;;;;-1:-1:-1;;;43976:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49513:20:::1;::::0;;:72:::1;::::0;;-1:-1:-1;;;49513:72:0;;-1:-1:-1;;;;;49513:72:0;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;;:20;;;::::1;::::0;:48:::1;::::0;:72;;;;;:20:::1;::::0;:72;;;;;;;;:20;;:72;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;49513:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;;49601:38:0::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;;49601:38:0;::::1;::::0;-1:-1:-1;49601:38:0::1;::::0;;;::::1;49412:235:::0;;:::o;47892:124::-;47989:19;;-1:-1:-1;;;;;47989:19:0;47892:124;:::o;48304:266::-;43984:19;43992:10;43984:7;:19::i;:::-;43976:78;;;;-1:-1:-1;;;43976:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48427:20:::1;::::0;;:76:::1;::::0;;-1:-1:-1;;;48427:76:0;;-1:-1:-1;;;;;48427:76:0;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;;:20;;;::::1;::::0;:41:::1;::::0;:76;;;;;:20:::1;::::0;:76;;;;;;;;:20;;:76;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;48427:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;;48519:43:0::1;::::0;-1:-1:-1;;;;;48519:43:0;;::::1;::::0;-1:-1:-1;48519:43:0;::::1;::::0;-1:-1:-1;48519:43:0::1;::::0;;;::::1;48304:266:::0;;;:::o;53229:113::-;53318:16;53327:6;53318:8;:16::i;:::-;53229:113;:::o;52672:207::-;52744:4;;52772:22;52781:12;52772:8;:22::i;:::-;-1:-1:-1;;;;;52764:45:0;;52760:90;;;-1:-1:-1;52833:5:0;52826:12;;52760:90;-1:-1:-1;52867:4:0;52672:207;;;:::o;53442:119::-;53534:19;53546:6;53534:11;:19::i;48654:311::-;48818:9;48813:145;48833:25;;;48813:145;;;48880:66;48897:14;;48912:1;48897:17;;;;;;;;;;;;;-1:-1:-1;;;;;48897:17:0;48916:11;;48928:1;48916:14;;;;;;;;;;;;;-1:-1:-1;;;;;48916:14:0;48932:10;;48943:1;48932:13;;;;;;;;;;;;;;;48880:16;:66::i;:::-;48860:3;;48813:145;;;;48654:311;;;;;;:::o;52028:233::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;52129:19:::1;:64:::0;;-1:-1:-1;;;;;;52129:64:0::1;-1:-1:-1::0;;;;;52129:64:0;::::1;::::0;;::::1;::::0;;;52209:44:::1;::::0;::::1;::::0;-1:-1:-1;;52209:44:0::1;52028:233:::0;:::o;41815:150::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;41924:1:::1;41908:6:::0;;41887:40:::1;::::0;-1:-1:-1;;;;;41908:6:0;;::::1;::::0;41887:40:::1;::::0;41924:1;;41887:40:::1;41955:1;41938:19:::0;;-1:-1:-1;;;;;;41938:19:0::1;::::0;;41815:150::o;47440:168::-;47544:20;;;:56;;;-1:-1:-1;;;47544:56:0;;-1:-1:-1;;;;;47544:56:0;;;;;;;;;;;;47519:6;;47544:20;;;;:42;;:56;;;;;;;;;;;;;;;:20;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;47544:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47544:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47544:56:0;;47440:168;-1:-1:-1;;47440:168:0:o;44195:123::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;44257:19:::1;:7;44269:6:::0;44257:19:::1;:11;:19;:::i;:::-;44292:18;::::0;-1:-1:-1;;;;;44292:18:0;::::1;::::0;::::1;::::0;;;::::1;44195:123:::0;:::o;41002:81::-;41042:7;41069:6;-1:-1:-1;;;;;41069:6:0;41002:81;:::o;49042:292::-;43984:19;43992:10;43984:7;:19::i;:::-;43976:78;;;;-1:-1:-1;;;43976:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49148:21:::1;49172:22;49181:12;49172:8;:22::i;:::-;49205:20;::::0;;:66:::1;::::0;;-1:-1:-1;;;49205:66:0;;-1:-1:-1;;;;;49205:66:0;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;49148:46;;-1:-1:-1;49205:20:0;::::1;::::0;:41:::1;::::0;:66;;;;;:20:::1;::::0;:66;;;;;;;;:20;;:66;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;49205:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;;49287:39:0::1;::::0;-1:-1:-1;;;;;49287:39:0;;::::1;::::0;-1:-1:-1;49287:39:0;::::1;::::0;-1:-1:-1;49287:39:0::1;::::0;;;::::1;44065:1;49042:292:::0;;:::o;41370:94::-;41410:4;41450:6;;-1:-1:-1;;;;;41450:6:0;41434:12;:10;:12::i;:::-;-1:-1:-1;;;;;41434:22:0;;41427:29;;41370:94;:::o;44326:131::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;44391:22:::1;:7;44406:6:::0;44391:22:::1;:14;:22;:::i;:::-;44429:20;::::0;-1:-1:-1;;;;;44429:20:0;::::1;::::0;::::1;::::0;;;::::1;44326:131:::0;:::o;49724:222::-;43984:19;43992:10;43984:7;:19::i;:::-;43976:78;;;;-1:-1:-1;;;43976:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49809:20:::1;::::0;;:60:::1;::::0;;-1:-1:-1;;;49809:60:0;;-1:-1:-1;;;;;49809:60:0;;::::1;::::0;;::::1;::::0;;;;;;:20;;;::::1;::::0;:46:::1;::::0;:60;;;;;:20:::1;::::0;:60;;;;;;;;:20;;:60;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;49809:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;49809:60:0;;;;49915:22;49924:12;49915:8;:22::i;:::-;-1:-1:-1::0;;;;;49885:53:0::1;49901:12;-1:-1:-1::0;;;;;49885:53:0::1;;;;;;;;;;;49724:222:::0;:::o;47686:129::-;47787:20;;-1:-1:-1;;;;;47787:20:0;47686:129;:::o;50019:1585::-;50093:4;;50122:22;50131:12;50122:8;:22::i;:::-;-1:-1:-1;;;;;50114:45:0;;50110:90;;;-1:-1:-1;50183:5:0;50176:12;;50110:90;50249:19;;:36;;;-1:-1:-1;;;50249:36:0;;;;50210;;-1:-1:-1;;;;;50249:19:0;;:34;;:36;;;;;:19;;:36;;;;;;;:19;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;50249:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50249:36:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;50249:36: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;50249:36: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;373:25;;-1:-1;50249:36:0;;421:4:-1;412:14;;;;50249:36:0;;;;;412:14:-1;50249:36: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;50249:36:0;;;;;;;;;;;50210:75;;50300:19;:26;50330:1;50300:31;50296:75;;;50355:4;50348:11;;;;;50296:75;50381:23;;;50465:16;;50381:23;50549:1026;50583:19;:26;50570:10;:39;50549:1026;;;50640:25;50668:22;50677:12;50668:8;:22::i;:::-;-1:-1:-1;;;;;50668:41:0;;50710:19;50730:10;50710:31;;;;;;;;;;;;;;50668:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50668:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50668:74:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;50668:74: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;50668:74: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;373:25;;-1:-1;50668:74:0;;421:4:-1;412:14;;;;50668:74:0;;;;;412:14:-1;50668:74: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;50668:74:0;;;;;;;;;;;50640:102;;50761:8;:15;50780:1;50761:20;50757:73;;;50809:5;50802:12;;;;;;;;;;;;50757:73;50849:6;50844:720;50865:8;:15;50861:1;:19;50844:720;;;50954:22;50963:12;50954:8;:22::i;:::-;-1:-1:-1;;;;;50954:31:0;;50986:8;50995:1;50986:11;;;;;;;;;;;;;;50954:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50954:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50954:44:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;50954: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;50954: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;372:25;;-1:-1;50954:44:0;;420:4:-1;411:14;;;;50954:44:0;;;;;411:14:-1;50954:44: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;50954: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;372:25;;-1:-1;50954:44:0;;420:4:-1;411:14;;;;50954:44:0;;;;;411:14:-1;50954:44: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;50954: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;372:25;;-1:-1;50954:44:0;;420:4:-1;411:14;;;;50954:44:0;;;;;411:14:-1;50954:44: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;50954:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50906:92;;;;;;;;;;;;;;;;;;;;;51022:20;;;;;;;;;-1:-1:-1;;;;;51022:20:0;-1:-1:-1;;;;;51022:36:0;;51059:6;51022:44;;;;;;;;;;;;;-1:-1:-1;;;;;51022:44:0;-1:-1:-1;;;;;51022:44:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51022:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51022:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51022:44:0;51021:45;:75;;;;;51094:1;51076:8;:15;:19;51070:1;:26;51021:75;51017:136;;;51128:5;51121:12;;;;;;;;;;;;;51017:136;51176:20;;51219:31;;-1:-1:-1;;;;;51176:20:0;;;;:34;;51211:6;;51219:19;;51239:10;;51219:31;;;;;;;;;;;;51176:75;;;;;;;;;;;;;-1:-1:-1;;;;;51176:75:0;-1:-1:-1;;;;;51176:75:0;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51176:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51176:75:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51176:75:0;51175:76;:106;;;;;51279:1;51261:8;:15;:19;51255:1;:26;51175:106;51171:167;;;51313:5;51306:12;;;;;;;;;;;;;51171:167;51374:6;-1:-1:-1;;;;;51361:33:0;;51395:22;51404:12;51395:8;:22::i;:::-;51419:19;51439:10;51419:31;;;;;;;;;;;;;;51452:3;51457:4;51361:101;;;;;;;;;;;;;-1:-1:-1;;;;;51361:101:0;-1:-1:-1;;;;;51361:101: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;51361:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51361:101: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;51361:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51361:101:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51361:101:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51361:101:0;51360:102;:132;;;;;51490:1;51472:8;:15;:19;51466:1;:26;51360:132;51356:193;;;51524:5;51517:12;;;;;;;;;;;;;51356:193;50882:3;;50844:720;;;-1:-1:-1;;50611:12:0;;50549:1026;;;-1:-1:-1;51592:4:0;;50019:1585;-1:-1:-1;;;;;;;;50019:1585:0:o;52985:147::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;53096:28:::1;53114:9;53096:17;:28::i;52349:252::-:0;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;52456:20:::1;:71:::0;;-1:-1:-1;;;;;;52456:71:0::1;-1:-1:-1::0;;;;;52456:71:0;::::1;::::0;;::::1;::::0;;;52543:50:::1;::::0;::::1;::::0;-1:-1:-1;;52543:50:0::1;52349:252:::0;:::o;47207:155::-;47305:20;;;:49;;;-1:-1:-1;;;47305:49:0;;-1:-1:-1;;;;;47305:49:0;;;;;;;;;;;;47277:9;;47305:20;;;;:35;;:49;;;;;;;;;;;;;;;:20;:49;;;5:2:-1;;;;30:1;27;20:12;48095:130:0;48197:20;;-1:-1:-1;;;;;48197:20:0;48095:130;:::o;42120:117::-;41216:9;:7;:9::i;:::-;41208:54;;;;;-1:-1:-1;;;41208:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41208:54:0;;;;;;;;;;;;;;;42201:28:::1;42220:8;42201:18;:28::i;38652:203::-:0;38724:4;-1:-1:-1;;;;;38749:21:0;;38741:68;;;;-1:-1:-1;;;38741:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38827:20:0;:11;:20;;;;;;;;;;;;;;;38652:203::o;38116:178::-;38194:18;38198:4;38204:7;38194:3;:18::i;:::-;38193:19;38185:63;;;;;-1:-1:-1;;;38185:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38259:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;38259:27:0;38282:4;38259:27;;;38116:178::o;39709:106::-;39797:10;39709:106;:::o;38374:183::-;38454:18;38458:4;38464:7;38454:3;:18::i;:::-;38446:64;;;;-1:-1:-1;;;38446:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38521:20:0;38544:5;38521:20;;;;;;;;;;;:28;;-1:-1:-1;;38521:28:0;;;38374:183::o;42343:237::-;-1:-1:-1;;;;;42425:22:0;;42417:73;;;;-1:-1:-1;;;42417:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42527:6;;;42506:38;;-1:-1:-1;;;;;42506:38:0;;;;42527:6;;;42506:38;;;42555:6;:17;;-1:-1:-1;;;;;;42555:17:0;-1:-1:-1;;;;;42555:17:0;;;;;;;;;;42343:237::o
Swarm Source
ipfs://b1c7af754b749d9d19a1cd2334d059e43862ff3e51e72d33197d9f8b78d2f9da
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.