ERC-20
Overview
Max Total Supply
2,800,000 MSGLD
Holders
159
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xba226ab8...5D1fB6305 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Token
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-23 */ // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // 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/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/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/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/compliance/ICompliance.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 ICompliance { /** * this event is emitted when the Agent has been added on the allowedList of this Compliance. * the event is emitted by the Compliance constructor and by the addTokenAgent function * `_agentAddress` is the address of the Agent to add */ event TokenAgentAdded(address _agentAddress); /** * this event is emitted when the Agent has been removed from the agent list of this Compliance. * the event is emitted by the Compliance constructor and by the removeTokenAgent function * `_agentAddress` is the address of the Agent to remove */ event TokenAgentRemoved(address _agentAddress); /** * this event is emitted when a token has been bound to the compliance contract * the event is emitted by the bindToken function * `_token` is the address of the token to bind */ event TokenBound(address _token); /** * this event is emitted when a token has been unbound from the compliance contract * the event is emitted by the unbindToken function * `_token` is the address of the token to unbind */ event TokenUnbound(address _token); /** * @dev Returns true if the Address is in the list of token agents * @param _agentAddress address of this agent */ function isTokenAgent(address _agentAddress) external view returns (bool); /** * @dev Returns true if the address given corresponds to a token that is bound with the Compliance contract * @param _token address of the token */ function isTokenBound(address _token) external view returns (bool); /** * @dev adds an agent to the list of token agents * @param _agentAddress address of the agent to be added * Emits a TokenAgentAdded event */ function addTokenAgent(address _agentAddress) external; /** * @dev remove Agent from the list of token agents * @param _agentAddress address of the agent to be removed (must be added first) * Emits a TokenAgentRemoved event */ function removeTokenAgent(address _agentAddress) external; /** * @dev binds a token to the compliance contract * @param _token address of the token to bind * Emits a TokenBound event */ function bindToken(address _token) external; /** * @dev unbinds a token from the compliance contract * @param _token address of the token to unbind * Emits a TokenUnbound event */ function unbindToken(address _token) external; /** * @dev checks that the transfer is compliant. * default compliance always returns true * READ ONLY FUNCTION, this function cannot be used to increment * counters, emit events, ... * @param _from The address of the sender * @param _to The address of the receiver * @param _amount The amount of tokens involved in the transfer */ function canTransfer(address _from, address _to, uint256 _amount) external view returns (bool); /** * @dev function called whenever tokens are transferred * from one wallet to another * this function can update state variables in the compliance contract * these state variables being used by `canTransfer` to decide if a transfer * is compliant or not depending on the values stored in these state variables and on * the parameters of the compliance smart contract * @param _from The address of the sender * @param _to The address of the receiver * @param _amount The amount of tokens involved in the transfer */ function transferred(address _from, address _to, uint256 _amount) external; /** * @dev function called whenever tokens are created * on a wallet * this function can update state variables in the compliance contract * these state variables being used by `canTransfer` to decide if a transfer * is compliant or not depending on the values stored in these state variables and on * the parameters of the compliance smart contract * @param _to The address of the receiver * @param _amount The amount of tokens involved in the transfer */ function created(address _to, uint256 _amount) external; /** * @dev function called whenever tokens are destroyed * this function can update state variables in the compliance contract * these state variables being used by `canTransfer` to decide if a transfer * is compliant or not depending on the values stored in these state variables and on * the parameters of the compliance smart contract * @param _from The address of the receiver * @param _amount The amount of tokens involved in the transfer */ function destroyed(address _from, uint256 _amount) external; /** * @dev function used to transfer the ownership of the compliance contract * to a new owner, giving him access to the `OnlyOwner` functions implemented on the contract * @param newOwner The address of the new owner of the compliance contract * This function can only be called by the owner of the compliance contract * emits an `OwnershipTransferred` event */ function transferOwnershipOnComplianceContract(address newOwner) external; } // File: contracts/token/IToken.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 interface IToken is IERC20 { /** * this event is emitted when the token information is updated. * the event is emitted by the token constructor and by the setTokenInformation function * `_newName` is the name of the token * `_newSymbol` is the symbol of the token * `_newDecimals` is the decimals of the token * `_newVersion` is the version of the token, current version is 3.0 * `_newOnchainID` is the address of the onchainID of the token */ event UpdatedTokenInformation(string _newName, string _newSymbol, uint8 _newDecimals, string _newVersion, address _newOnchainID); /** * this event is emitted when the IdentityRegistry has been set for the token * the event is emitted by the token constructor and by the setIdentityRegistry function * `_identityRegistry` is the address of the Identity Registry of the token */ event IdentityRegistryAdded(address indexed _identityRegistry); /** * this event is emitted when the Compliance has been set for the token * the event is emitted by the token constructor and by the setCompliance function * `_compliance` is the address of the Compliance contract of the token */ event ComplianceAdded(address indexed _compliance); /** * this event is emitted when an investor successfully recovers his tokens * the event is emitted by the recoveryAddress function * `_lostWallet` is the address of the wallet that the investor lost access to * `_newWallet` is the address of the wallet that the investor provided for the recovery * `_investorOnchainID` is the address of the onchainID of the investor who asked for a recovery */ event RecoverySuccess(address _lostWallet, address _newWallet, address _investorOnchainID); /** * this event is emitted when the wallet of an investor is frozen or unfrozen * the event is emitted by setAddressFrozen and batchSetAddressFrozen functions * `_userAddress` is the wallet of the investor that is concerned by the freezing status * `_isFrozen` is the freezing status of the wallet * if `_isFrozen` equals `true` the wallet is frozen after emission of the event * if `_isFrozen` equals `false` the wallet is unfrozen after emission of the event * `_owner` is the address of the agent who called the function to freeze the wallet */ event AddressFrozen(address indexed _userAddress, bool indexed _isFrozen, address indexed _owner); /** * this event is emitted when a certain amount of tokens is frozen on a wallet * the event is emitted by freezePartialTokens and batchFreezePartialTokens functions * `_userAddress` is the wallet of the investor that is concerned by the freezing status * `_amount` is the amount of tokens that are frozen */ event TokensFrozen(address indexed _userAddress, uint256 _amount); /** * this event is emitted when a certain amount of tokens is unfrozen on a wallet * the event is emitted by unfreezePartialTokens and batchUnfreezePartialTokens functions * `_userAddress` is the wallet of the investor that is concerned by the freezing status * `_amount` is the amount of tokens that are unfrozen */ event TokensUnfrozen(address indexed _userAddress, uint256 _amount); /** * this event is emitted when the token is paused * the event is emitted by the pause function * `_userAddress` is the address of the wallet that called the pause function */ event Paused(address _userAddress); /** * this event is emitted when the token is unpaused * the event is emitted by the unpause function * `_userAddress` is the address of the wallet that called the unpause function */ event Unpaused(address _userAddress); /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 1 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * balanceOf() and transfer(). */ function decimals() external view returns (uint8); /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the address of the onchainID of the token. * the onchainID of the token gives all the information available * about the token and is managed by the token issuer or his agent. */ function onchainID() external view returns (address); /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view returns (string memory); /** * @dev Returns the TREX version of the token. * current version is 3.0.0 */ function version() external view returns (string memory); /** * @dev Returns the Identity Registry linked to the token */ function identityRegistry() external view returns (IIdentityRegistry); /** * @dev Returns the Compliance contract linked to the token */ function compliance() external view returns (ICompliance); /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() external view returns (bool); /** * @dev Returns the freezing status of a wallet * if isFrozen returns `true` the wallet is frozen * if isFrozen returns `false` the wallet is not frozen * isFrozen returning `true` doesn't mean that the balance is free, tokens could be blocked by * a partial freeze or the whole token could be blocked by pause * @param _userAddress the address of the wallet on which isFrozen is called */ function isFrozen(address _userAddress) external view returns (bool); /** * @dev Returns the amount of tokens that are partially frozen on a wallet * the amount of frozen tokens is always <= to the total balance of the wallet * @param _userAddress the address of the wallet on which getFrozenTokens is called */ function getFrozenTokens(address _userAddress) external view returns (uint256); /** * @dev sets the token name * @param _name the name of token to set * Only the owner of the token smart contract can call this function * emits a `UpdatedTokenInformation` event */ function setName(string calldata _name) external; /** * @dev sets the token symbol * @param _symbol the token symbol to set * Only the owner of the token smart contract can call this function * emits a `UpdatedTokenInformation` event */ function setSymbol(string calldata _symbol) external; /** * @dev sets the onchain ID of the token * @param _onchainID the address of the onchain ID to set * Only the owner of the token smart contract can call this function * emits a `UpdatedTokenInformation` event */ function setOnchainID(address _onchainID) external; /** * @dev pauses the token contract, when contract is paused investors cannot transfer tokens anymore * This function can only be called by a wallet set as agent of the token * emits a `Paused` event */ function pause() external; /** * @dev unpauses the token contract, when contract is unpaused investors can transfer tokens * if their wallet is not blocked & if the amount to transfer is <= to the amount of free tokens * This function can only be called by a wallet set as agent of the token * emits an `Unpaused` event */ function unpause() external; /** * @dev sets an address frozen status for this token. * @param _userAddress The address for which to update frozen status * @param _freeze Frozen status of the address * This function can only be called by a wallet set as agent of the token * emits an `AddressFrozen` event */ function setAddressFrozen(address _userAddress, bool _freeze) external; /** * @dev freezes token amount specified for given address. * @param _userAddress The address for which to update frozen tokens * @param _amount Amount of Tokens to be frozen * This function can only be called by a wallet set as agent of the token * emits a `TokensFrozen` event */ function freezePartialTokens(address _userAddress, uint256 _amount) external; /** * @dev unfreezes token amount specified for given address * @param _userAddress The address for which to update frozen tokens * @param _amount Amount of Tokens to be unfrozen * This function can only be called by a wallet set as agent of the token * emits a `TokensUnfrozen` event */ function unfreezePartialTokens(address _userAddress, uint256 _amount) external; /** * @dev sets the Identity Registry for the token * @param _identityRegistry the address of the Identity Registry to set * Only the owner of the token smart contract can call this function * emits an `IdentityRegistryAdded` event */ function setIdentityRegistry(address _identityRegistry) external; /** * @dev sets the compliance contract of the token * @param _compliance the address of the compliance contract to set * Only the owner of the token smart contract can call this function * emits a `ComplianceAdded` event */ function setCompliance(address _compliance) external; /** * @dev force a transfer of tokens between 2 whitelisted wallets * In case the `from` address has not enough free tokens (unfrozen tokens) * but has a total balance higher or equal to the `amount` * the amount of frozen tokens is reduced in order to have enough free tokens * to proceed the transfer, in such a case, the remaining balance on the `from` * account is 100% composed of frozen tokens post-transfer. * Require that the `to` address is a verified address, * @param _from The address of the sender * @param _to The address of the receiver * @param _amount The number of tokens to transfer * @return `true` if successful and revert if unsuccessful * This function can only be called by a wallet set as agent of the token * emits a `TokensUnfrozen` event if `_amount` is higher than the free balance of `_from` * emits a `Transfer` event */ function forcedTransfer(address _from, address _to, uint256 _amount) external returns (bool); /** * @dev mint tokens on a wallet * Improved version of default mint method. Tokens can be minted * to an address if only it is a verified address as per the security token. * @param _to Address to mint the tokens to. * @param _amount Amount of tokens to mint. * This function can only be called by a wallet set as agent of the token * emits a `Transfer` event */ function mint(address _to, uint256 _amount) external; /** * @dev burn tokens on a wallet * In case the `account` address has not enough free tokens (unfrozen tokens) * but has a total balance higher or equal to the `value` amount * the amount of frozen tokens is reduced in order to have enough free tokens * to proceed the burn, in such a case, the remaining balance on the `account` * is 100% composed of frozen tokens post-transaction. * @param _userAddress Address to burn the tokens from. * @param _amount Amount of tokens to burn. * This function can only be called by a wallet set as agent of the token * emits a `TokensUnfrozen` event if `_amount` is higher than the free balance of `_userAddress` * emits a `Transfer` event */ function burn(address _userAddress, uint256 _amount) external; /** * @dev recovery function used to force transfer tokens from a * lost wallet to a new wallet for an investor. * @param _lostWallet the wallet that the investor lost * @param _newWallet the newly provided wallet on which tokens have to be transferred * @param _investorOnchainID the onchainID of the investor asking for a recovery * This function can only be called by a wallet set as agent of the token * emits a `TokensUnfrozen` event if there is some frozen tokens on the lost wallet if the recovery process is successful * emits a `Transfer` event if the recovery process is successful * emits a `RecoverySuccess` event if the recovery process is successful * emits a `RecoveryFails` event if the recovery process fails */ function recoveryAddress(address _lostWallet, address _newWallet, address _investorOnchainID) external returns (bool); /** * @dev function allowing to issue transfers in batch * Require that the msg.sender and `to` addresses are not frozen. * Require that the total value should not exceed available balance. * Require that the `to` addresses are all verified addresses, * IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH, * USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN "OUT OF GAS" TRANSACTION * @param _toList The addresses of the receivers * @param _amounts The number of tokens to transfer to the corresponding receiver * emits _toList.length `Transfer` events */ function batchTransfer(address[] calldata _toList, uint256[] calldata _amounts) external; /** * @dev function allowing to issue forced transfers in batch * Require that `_amounts[i]` should not exceed available balance of `_fromList[i]`. * Require that the `_toList` addresses are all verified addresses * IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_fromList.length` IS TOO HIGH, * USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN "OUT OF GAS" TRANSACTION * @param _fromList The addresses of the senders * @param _toList The addresses of the receivers * @param _amounts The number of tokens to transfer to the corresponding receiver * This function can only be called by a wallet set as agent of the token * emits `TokensUnfrozen` events if `_amounts[i]` is higher than the free balance of `_fromList[i]` * emits _fromList.length `Transfer` events */ function batchForcedTransfer(address[] calldata _fromList, address[] calldata _toList, uint256[] calldata _amounts) external; /** * @dev function allowing to mint tokens in batch * Require that the `_toList` addresses are all verified addresses * IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH, * USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN "OUT OF GAS" TRANSACTION * @param _toList The addresses of the receivers * @param _amounts The number of tokens to mint to the corresponding receiver * This function can only be called by a wallet set as agent of the token * emits _toList.length `Transfer` events */ function batchMint(address[] calldata _toList, uint256[] calldata _amounts) external; /** * @dev function allowing to burn tokens in batch * Require that the `_userAddresses` addresses are all verified addresses * 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 wallets concerned by the burn * @param _amounts The number of tokens to burn from the corresponding wallets * This function can only be called by a wallet set as agent of the token * emits _userAddresses.length `Transfer` events */ function batchBurn(address[] calldata _userAddresses, uint256[] calldata _amounts) external; /** * @dev function allowing to set frozen addresses in batch * 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 for which to update frozen status * @param _freeze Frozen status of the corresponding address * This function can only be called by a wallet set as agent of the token * emits _userAddresses.length `AddressFrozen` events */ function batchSetAddressFrozen(address[] calldata _userAddresses, bool[] calldata _freeze) external; /** * @dev function allowing to freeze tokens partially in batch * 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 on which tokens need to be frozen * @param _amounts the amount of tokens to freeze on the corresponding address * This function can only be called by a wallet set as agent of the token * emits _userAddresses.length `TokensFrozen` events */ function batchFreezePartialTokens(address[] calldata _userAddresses, uint256[] calldata _amounts) external; /** * @dev function allowing to unfreeze tokens partially in batch * 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 on which tokens need to be unfrozen * @param _amounts the amount of tokens to unfreeze on the corresponding address * This function can only be called by a wallet set as agent of the token * emits _userAddresses.length `TokensUnfrozen` events */ function batchUnfreezePartialTokens(address[] calldata _userAddresses, uint256[] calldata _amounts) external; /** * @dev transfers the ownership of the token smart contract * @param _newOwner the address of the new token smart contract owner * This function can only be called by the owner of the token * emits an `OwnershipTransferred` event */ function transferOwnershipOnTokenContract(address _newOwner) external; /** * @dev adds an agent to the token smart contract * @param _agent the address of the new agent of the token smart contract * This function can only be called by the owner of the token * emits an `AgentAdded` event */ function addAgentOnTokenContract(address _agent) external; /** * @dev remove an agent from the token smart contract * @param _agent the address of the agent to remove * This function can only be called by the owner of the token * emits an `AgentRemoved` event */ function removeAgentOnTokenContract(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: openzeppelin-solidity/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts/token/Token.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 Token is IToken, AgentRole { using SafeMath for uint256; /// ERC20 basic variables mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; /// Token information string private tokenName; string private tokenSymbol; uint8 private tokenDecimals; address private tokenOnchainID; string constant private TOKEN_VERSION = "3.2.0"; /// Variables of freeze and pause functions mapping(address => bool) private frozen; mapping(address => uint256) private frozenTokens; bool private tokenPaused = false; /// Identity Registry contract used by the onchain validator system IIdentityRegistry private tokenIdentityRegistry; /// Compliance contract linked to the onchain validator system ICompliance private tokenCompliance; /** * @dev the constructor initiates the token contract * msg.sender is set automatically as the owner of the smart contract * @param _identityRegistry the address of the Identity registry linked to the token * @param _compliance the address of the compliance contract linked to the token * @param _name the name of the token * @param _symbol the symbol of the token * @param _decimals the decimals of the token * @param _onchainID the address of the onchainID of the token * emits an `UpdatedTokenInformation` event * emits an `IdentityRegistryAdded` event * emits a `ComplianceAdded` event */ constructor( address _identityRegistry, address _compliance, string memory _name, string memory _symbol, uint8 _decimals, address _onchainID ) public { tokenName = _name; tokenSymbol = _symbol; tokenDecimals = _decimals; tokenOnchainID = _onchainID; tokenIdentityRegistry = IIdentityRegistry(_identityRegistry); emit IdentityRegistryAdded(_identityRegistry); tokenCompliance = ICompliance(_compliance); emit ComplianceAdded(_compliance); emit UpdatedTokenInformation(tokenName, tokenSymbol, tokenDecimals, TOKEN_VERSION, tokenOnchainID); } /// Modifier to make a function callable only when the contract is not paused. modifier whenNotPaused() { require(!tokenPaused, "Pausable: paused"); _; } /// Modifier to make a function callable only when the contract is paused. modifier whenPaused() { require(tokenPaused, "Pausable: not paused"); _; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() external override view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address _userAddress) public override view returns (uint256) { return _balances[_userAddress]; } /** * @dev See {IERC20-allowance}. */ function allowance(address _owner, address _spender) external override view virtual returns (uint256) { return _allowances[_owner][_spender]; } /** * @dev See {IERC20-approve}. */ function approve(address _spender, uint256 _amount) external override virtual returns (bool) { _approve(msg.sender, _spender, _amount); return true; } /** * @dev See {ERC20-increaseAllowance}. */ function increaseAllowance(address _spender, uint256 _addedValue) external virtual returns (bool) { _approve(msg.sender, _spender, _allowances[msg.sender][_spender].add(_addedValue)); return true; } /** * @dev See {ERC20-decreaseAllowance}. */ function decreaseAllowance(address _spender, uint256 _subtractedValue) external virtual returns (bool) { _approve(msg.sender, _spender, _allowances[msg.sender][_spender].sub(_subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev See {ERC20-_mint}. */ function _transfer(address _from, address _to, uint256 _amount) internal virtual { require(_from != address(0), "ERC20: transfer from the zero address"); require(_to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(_from, _to, _amount); _balances[_from] = _balances[_from].sub(_amount, "ERC20: transfer amount exceeds balance"); _balances[_to] = _balances[_to].add(_amount); emit Transfer(_from, _to, _amount); } /** * @dev See {ERC20-_mint}. */ function _mint(address _userAddress, uint256 _amount) internal virtual { require(_userAddress != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), _userAddress, _amount); _totalSupply = _totalSupply.add(_amount); _balances[_userAddress] = _balances[_userAddress].add(_amount); emit Transfer(address(0), _userAddress, _amount); } /** * @dev See {ERC20-_burn}. */ function _burn(address _userAddress, uint256 _amount) internal virtual { require(_userAddress != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(_userAddress, address(0), _amount); _balances[_userAddress] = _balances[_userAddress].sub(_amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(_amount); emit Transfer(_userAddress, address(0), _amount); } /** * @dev See {ERC20-_approve}. */ function _approve(address _owner, address _spender, uint256 _amount) internal virtual { require(_owner != address(0), "ERC20: approve from the zero address"); require(_spender != address(0), "ERC20: approve to the zero address"); _allowances[_owner][_spender] = _amount; emit Approval(_owner, _spender, _amount); } /** * @dev See {ERC20-_beforeTokenTransfer}. */ function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal virtual { } /** * @dev See {IToken-decimals}. */ function decimals() external override view returns (uint8){ return tokenDecimals; } /** * @dev See {IToken-name}. */ function name() external override view returns (string memory){ return tokenName; } /** * @dev See {IToken-onchainID}. */ function onchainID() external override view returns (address){ return tokenOnchainID; } /** * @dev See {IToken-symbol}. */ function symbol() external override view returns (string memory){ return tokenSymbol; } /** * @dev See {IToken-version}. */ function version() external override view returns (string memory){ return TOKEN_VERSION; } /** * @dev See {IToken-setName}. */ function setName(string calldata _name) external override onlyOwner { tokenName = _name; emit UpdatedTokenInformation(tokenName, tokenSymbol, tokenDecimals, TOKEN_VERSION, tokenOnchainID); } /** * @dev See {IToken-setSymbol}. */ function setSymbol(string calldata _symbol) external override onlyOwner { tokenSymbol = _symbol; emit UpdatedTokenInformation(tokenName, tokenSymbol, tokenDecimals, TOKEN_VERSION, tokenOnchainID); } /** * @dev See {IToken-setOnchainID}. */ function setOnchainID(address _onchainID) external override onlyOwner { tokenOnchainID = _onchainID; emit UpdatedTokenInformation(tokenName, tokenSymbol, tokenDecimals, TOKEN_VERSION, tokenOnchainID); } /** * @dev See {IToken-paused}. */ function paused() external override view returns (bool) { return tokenPaused; } /** * @dev See {IToken-isFrozen}. */ function isFrozen(address _userAddress) external override view returns (bool) { return frozen[_userAddress]; } /** * @dev See {IToken-getFrozenTokens}. */ function getFrozenTokens(address _userAddress) external override view returns (uint256) { return frozenTokens[_userAddress]; } /** * @notice ERC-20 overridden function that include logic to check for trade validity. * Require that the msg.sender and to addresses are not frozen. * Require that the value should not exceed available balance . * Require that the to address is a verified address * @param _to The address of the receiver * @param _amount The number of tokens to transfer * @return `true` if successful and revert if unsuccessful */ function transfer(address _to, uint256 _amount) public override whenNotPaused returns (bool) { require(!frozen[_to] && !frozen[msg.sender], "wallet is frozen"); require(_amount <= balanceOf(msg.sender).sub(frozenTokens[msg.sender]), "Insufficient Balance"); if (tokenIdentityRegistry.isVerified(_to) && tokenCompliance.canTransfer(msg.sender, _to, _amount)) { tokenCompliance.transferred(msg.sender, _to, _amount); _transfer(msg.sender, _to, _amount); return true; } revert("Transfer not possible"); } /** * @dev See {IToken-pause}. */ function pause() external override onlyAgent whenNotPaused { tokenPaused = true; emit Paused(msg.sender); } /** * @dev See {IToken-unpause}. */ function unpause() external override onlyAgent whenPaused { tokenPaused = false; emit Unpaused(msg.sender); } /** * @dev See {IToken-identityRegistry}. */ function identityRegistry() external override view returns (IIdentityRegistry) { return tokenIdentityRegistry; } /** * @dev See {IToken-compliance}. */ function compliance() external override view returns (ICompliance) { return tokenCompliance; } /** * @dev See {IToken-batchTransfer}. */ function batchTransfer(address[] calldata _toList, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _toList.length; i++) { transfer(_toList[i], _amounts[i]); } } /** * @notice ERC-20 overridden function that include logic to check for trade validity. * Require that the from and to addresses are not frozen. * Require that the value should not exceed available balance . * Require that the to address is a verified address * @param _from The address of the sender * @param _to The address of the receiver * @param _amount The number of tokens to transfer * @return `true` if successful and revert if unsuccessful */ function transferFrom(address _from, address _to, uint256 _amount) external override whenNotPaused returns (bool) { require(!frozen[_to] && !frozen[_from], "wallet is frozen"); require(_amount <= balanceOf(_from).sub(frozenTokens[_from]), "Insufficient Balance"); if (tokenIdentityRegistry.isVerified(_to) && tokenCompliance.canTransfer(_from, _to, _amount)) { tokenCompliance.transferred(_from, _to, _amount); _transfer(_from, _to, _amount); _approve(_from, msg.sender, _allowances[_from][msg.sender].sub(_amount, "TREX: transfer amount exceeds allowance")); return true; } revert("Transfer not possible"); } /** * @dev See {IToken-forcedTransfer}. */ function forcedTransfer(address _from, address _to, uint256 _amount) public override onlyAgent returns (bool) { uint256 freeBalance = balanceOf(_from).sub(frozenTokens[_from]); if (_amount > freeBalance) { uint256 tokensToUnfreeze = _amount.sub(freeBalance); frozenTokens[_from] = frozenTokens[_from].sub(tokensToUnfreeze); emit TokensUnfrozen(_from, tokensToUnfreeze); } if (tokenIdentityRegistry.isVerified(_to)) { tokenCompliance.transferred(_from, _to, _amount); _transfer(_from, _to, _amount); return true; } revert("Transfer not possible"); } /** * @dev See {IToken-batchForcedTransfer}. */ function batchForcedTransfer(address[] calldata _fromList, address[] calldata _toList, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _fromList.length; i++) { forcedTransfer(_fromList[i], _toList[i], _amounts[i]); } } /** * @dev See {IToken-mint}. */ function mint(address _to, uint256 _amount) public override onlyAgent { require(tokenIdentityRegistry.isVerified(_to), "Identity is not verified."); require(tokenCompliance.canTransfer(msg.sender, _to, _amount), "Compliance not followed"); _mint(_to, _amount); tokenCompliance.created(_to, _amount); } /** * @dev See {IToken-batchMint}. */ function batchMint(address[] calldata _toList, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _toList.length; i++) { mint(_toList[i], _amounts[i]); } } /** * @dev See {IToken-burn}. */ function burn(address _userAddress, uint256 _amount) public override onlyAgent { uint256 freeBalance = balanceOf(_userAddress) - frozenTokens[_userAddress]; if (_amount > freeBalance) { uint256 tokensToUnfreeze = _amount.sub(freeBalance); frozenTokens[_userAddress] = frozenTokens[_userAddress].sub(tokensToUnfreeze); emit TokensUnfrozen(_userAddress, tokensToUnfreeze); } _burn(_userAddress, _amount); tokenCompliance.destroyed(_userAddress, _amount); } /** * @dev See {IToken-batchBurn}. */ function batchBurn(address[] calldata _userAddresses, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _userAddresses.length; i++) { burn(_userAddresses[i], _amounts[i]); } } /** * @dev See {IToken-setAddressFrozen}. */ function setAddressFrozen(address _userAddress, bool _freeze) public override onlyAgent { frozen[_userAddress] = _freeze; emit AddressFrozen(_userAddress, _freeze, msg.sender); } /** * @dev See {IToken-batchSetAddressFrozen}. */ function batchSetAddressFrozen(address[] calldata _userAddresses, bool[] calldata _freeze) external override { for (uint256 i = 0; i < _userAddresses.length; i++) { setAddressFrozen(_userAddresses[i], _freeze[i]); } } /** * @dev See {IToken-freezePartialTokens}. */ function freezePartialTokens(address _userAddress, uint256 _amount) public override onlyAgent { uint256 balance = balanceOf(_userAddress); require(balance >= frozenTokens[_userAddress] + _amount, "Amount exceeds available balance"); frozenTokens[_userAddress] = frozenTokens[_userAddress].add(_amount); emit TokensFrozen(_userAddress, _amount); } /** * @dev See {IToken-batchFreezePartialTokens}. */ function batchFreezePartialTokens(address[] calldata _userAddresses, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _userAddresses.length; i++) { freezePartialTokens(_userAddresses[i], _amounts[i]); } } /** * @dev See {IToken-unfreezePartialTokens}. */ function unfreezePartialTokens(address _userAddress, uint256 _amount) public override onlyAgent { require(frozenTokens[_userAddress] >= _amount, "Amount should be less than or equal to frozen tokens"); frozenTokens[_userAddress] = frozenTokens[_userAddress].sub(_amount); emit TokensUnfrozen(_userAddress, _amount); } /** * @dev See {IToken-batchUnfreezePartialTokens}. */ function batchUnfreezePartialTokens(address[] calldata _userAddresses, uint256[] calldata _amounts) external override { for (uint256 i = 0; i < _userAddresses.length; i++) { unfreezePartialTokens(_userAddresses[i], _amounts[i]); } } /** * @dev See {IToken-setIdentityRegistry}. */ function setIdentityRegistry(address _identityRegistry) external override onlyOwner { tokenIdentityRegistry = IIdentityRegistry(_identityRegistry); emit IdentityRegistryAdded(_identityRegistry); } /** * @dev See {IToken-setCompliance}. */ function setCompliance(address _compliance) external override onlyOwner { tokenCompliance = ICompliance(_compliance); emit ComplianceAdded(_compliance); } /** * @dev See {IToken-recoveryAddress}. */ function recoveryAddress(address _lostWallet, address _newWallet, address _investorOnchainID) external override onlyAgent returns (bool){ require(balanceOf(_lostWallet) != 0, "no tokens to recover"); IIdentity _onchainID = IIdentity(_investorOnchainID); bytes32 _key = keccak256(abi.encode(_newWallet)); if (_onchainID.keyHasPurpose(_key, 1)) { uint investorTokens = balanceOf(_lostWallet); uint _frozenTokens = frozenTokens[_lostWallet]; tokenIdentityRegistry.registerIdentity(_newWallet, _onchainID, tokenIdentityRegistry.investorCountry(_lostWallet)); tokenIdentityRegistry.deleteIdentity(_lostWallet); forcedTransfer(_lostWallet, _newWallet, investorTokens); if (_frozenTokens > 0) { freezePartialTokens(_newWallet, _frozenTokens); } if (frozen[_lostWallet] == true) { setAddressFrozen(_newWallet, true); } emit RecoverySuccess(_lostWallet, _newWallet, _investorOnchainID); return true; } revert("Recovery not possible"); } /** * @dev See {IToken-transferOwnershipOnTokenContract}. */ function transferOwnershipOnTokenContract(address _newOwner) external onlyOwner override { transferOwnership(_newOwner); } /** * @dev See {IToken-addAgentOnTokenContract}. */ function addAgentOnTokenContract(address _agent) external override { addAgent(_agent); } /** * @dev See {IToken-removeAgentOnTokenContract}. */ function removeAgentOnTokenContract(address _agent) external override { removeAgent(_agent); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_identityRegistry","type":"address"},{"internalType":"address","name":"_compliance","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"address","name":"_onchainID","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":true,"internalType":"bool","name":"_isFrozen","type":"bool"},{"indexed":true,"internalType":"address","name":"_owner","type":"address"}],"name":"AddressFrozen","type":"event"},{"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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_compliance","type":"address"}],"name":"ComplianceAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_identityRegistry","type":"address"}],"name":"IdentityRegistryAdded","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":false,"internalType":"address","name":"_userAddress","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_lostWallet","type":"address"},{"indexed":false,"internalType":"address","name":"_newWallet","type":"address"},{"indexed":false,"internalType":"address","name":"_investorOnchainID","type":"address"}],"name":"RecoverySuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"TokensFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"TokensUnfrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_userAddress","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_newName","type":"string"},{"indexed":false,"internalType":"string","name":"_newSymbol","type":"string"},{"indexed":false,"internalType":"uint8","name":"_newDecimals","type":"uint8"},{"indexed":false,"internalType":"string","name":"_newVersion","type":"string"},{"indexed":false,"internalType":"address","name":"_newOnchainID","type":"address"}],"name":"UpdatedTokenInformation","type":"event"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"addAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"addAgentOnTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_fromList","type":"address[]"},{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchForcedTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchFreezePartialTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"bool[]","name":"_freeze","type":"bool[]"}],"name":"batchSetAddressFrozen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchUnfreezePartialTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"compliance","outputs":[{"internalType":"contract ICompliance","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"forcedTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"freezePartialTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"getFrozenTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"identityRegistry","outputs":[{"internalType":"contract IIdentityRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_agent","type":"address"}],"name":"isAgent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"isFrozen","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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onchainID","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_lostWallet","type":"address"},{"internalType":"address","name":"_newWallet","type":"address"},{"internalType":"address","name":"_investorOnchainID","type":"address"}],"name":"recoveryAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"removeAgentOnTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"bool","name":"_freeze","type":"bool"}],"name":"setAddressFrozen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_compliance","type":"address"}],"name":"setCompliance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_identityRegistry","type":"address"}],"name":"setIdentityRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_onchainID","type":"address"}],"name":"setOnchainID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnershipOnTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unfreezePartialTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600a805460ff191690553480156200001b57600080fd5b50604051620040ba380380620040ba833981810160405260c08110156200004157600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006d57600080fd5b9083019060208201858111156200008357600080fd5b82516401000000008111828201881017156200009e57600080fd5b82525081516020918201929091019080838360005b83811015620000cd578181015183820152602001620000b3565b50505050905090810190601f168015620000fb5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011f57600080fd5b9083019060208201858111156200013557600080fd5b82516401000000008111828201881017156200015057600080fd5b82525081516020918201929091019080838360005b838110156200017f57818101518382015260200162000165565b50505050905090810190601f168015620001ad5780820380516001836020036101000a031916815260200191505b506040908152602082015191015190925090506000620001d56001600160e01b03620004ee16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350835162000234906005906020870190620004f3565b5082516200024a906006906020860190620004f3565b506007805460ff191660ff841617610100600160a81b03199081166101006001600160a01b03858116820292909217909355600a80549092169089169283021790556040517fd2be862d755bca7e0d39772b2cab3a5578da9c285f69199f4c063c2294a7f36c90600090a2600b80546001600160a01b0319166001600160a01b0387169081179091556040517f7f3a888862559648ec01d97deb7b5012bff86dc91e654a1de397170db40e35b690600090a26007546040805180820182526005808252640332e322e360dc1b602080840191909152835160ff8616948101859052610100958690046001600160a01b03166080820181905260a08083528454600260018216159099026000190116979097049682018790527f6a1105ac8148a3c319adbc369f9072573e8a11d3a3d195e067e7c40767ec54d196939560069590949093919291829190820190606083019060c08401908a908015620003f35780601f10620003c757610100808354040283529160200191620003f3565b820191906000526020600020905b815481529060010190602001808311620003d557829003601f168201915b50508481038352885460026000196101006001841615020190911604808252602090910190899080156200046b5780601f106200043f576101008083540402835291602001916200046b565b820191906000526020600020905b8154815290600101906020018083116200044d57829003601f168201915b5050848103825286518152865160209182019188019080838360005b83811015620004a157818101518382015260200162000487565b50505050905090810190601f168015620004cf5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150505050505062000595565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200053657805160ff191683800117855562000566565b8280016001018555821562000566579182015b828111156200056657825182559160200191906001019062000549565b506200057492915062000578565b5090565b620004f091905b808211156200057457600081556001016200057f565b613b1580620005a56000396000f3fe608060405234801561001057600080fd5b50600436106102bb5760003560e01c806370a0823111610182578063a457c2d7116100e9578063c69c09cf116100a2578063e58398361161007c578063e583983614610d7b578063f2fde38b14610da1578063f898178914610dc7578063fc7e5fa814610ded576102bb565b8063c69c09cf14610cf9578063cbf3f86114610d27578063dd62ed3e14610d4d576102bb565b8063a457c2d714610b97578063a9059cbb14610bc3578063aba6370514610bef578063b422d83014610bf7578063b84c824614610c1d578063c47f002714610c8b576102bb565b80638f32d59b1161013b5780638f32d59b14610ac75780639285948a14610acf57806395d89b4114610b0757806397a6278e14610b0f5780639dc29fac14610b355780639fc1d0e714610b61576102bb565b806370a08231146109a5578063715018a6146109cb5780638456cb59146109d357806384e79842146109db57806388d695b214610a015780638da5cb5b14610abf576102bb565b80633d1ddc5b1161022657806351411b33116101df57806351411b331461088357806354fd4d50146108a95780635c975abb146108b15780635dc7a3cb146108b95780636290865d146108df57806368573107146108e7576102bb565b80633d1ddc5b1461059f5780633f4ba83a146105c557806340c10f19146105cd57806342a47abc146105f95780634710362d146107075780634a6cc677146107c5576102bb565b80631a7af379116102785780631a7af3791461040f5780631fe56f7d146104cd5780631ffbb064146104f957806323b872dd1461051f578063313ce567146105555780633950935114610573576102bb565b806306fdde03146102c0578063095ea7b31461033d578063125c4a331461037d578063134e18f4146103ab578063158b1a57146103cf57806318160ddd14610407575b600080fd5b6102c8610eab565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103025781810151838201526020016102ea565b50505050905090810190601f16801561032f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103696004803603604081101561035357600080fd5b506001600160a01b038135169060200135610f42565b604080519115158252519081900360200190f35b6103a96004803603604081101561039357600080fd5b506001600160a01b038135169060200135610f59565b005b6103b361109a565b604080516001600160a01b039092168252519081900360200190f35b6103f5600480360360208110156103e557600080fd5b50356001600160a01b03166110ae565b60408051918252519081900360200190f35b6103f56110c9565b6103a96004803603604081101561042557600080fd5b810190602081018135600160201b81111561043f57600080fd5b82018360208201111561045157600080fd5b803590602001918460208302840111600160201b8311171561047257600080fd5b919390929091602081019035600160201b81111561048f57600080fd5b8201836020820111156104a157600080fd5b803590602001918460208302840111600160201b831117156104c257600080fd5b5090925090506110cf565b6103a9600480360360408110156104e357600080fd5b506001600160a01b038135169060200135611122565b6103696004803603602081101561050f57600080fd5b50356001600160a01b031661123c565b6103696004803603606081101561053557600080fd5b506001600160a01b0381358116916020810135909116906040013561124f565b61055d6115e0565b6040805160ff9092168252519081900360200190f35b6103696004803603604081101561058957600080fd5b506001600160a01b0381351690602001356115e9565b6103a9600480360360208110156105b557600080fd5b50356001600160a01b0316611625565b6103a9611860565b6103a9600480360360408110156105e357600080fd5b506001600160a01b038135169060200135611931565b6103a96004803603606081101561060f57600080fd5b810190602081018135600160201b81111561062957600080fd5b82018360208201111561063b57600080fd5b803590602001918460208302840111600160201b8311171561065c57600080fd5b919390929091602081019035600160201b81111561067957600080fd5b82018360208201111561068b57600080fd5b803590602001918460208302840111600160201b831117156106ac57600080fd5b919390929091602081019035600160201b8111156106c957600080fd5b8201836020820111156106db57600080fd5b803590602001918460208302840111600160201b831117156106fc57600080fd5b509092509050611b97565b6103a96004803603604081101561071d57600080fd5b810190602081018135600160201b81111561073757600080fd5b82018360208201111561074957600080fd5b803590602001918460208302840111600160201b8311171561076a57600080fd5b919390929091602081019035600160201b81111561078757600080fd5b82018360208201111561079957600080fd5b803590602001918460208302840111600160201b831117156107ba57600080fd5b509092509050611c07565b6103a9600480360360408110156107db57600080fd5b810190602081018135600160201b8111156107f557600080fd5b82018360208201111561080757600080fd5b803590602001918460208302840111600160201b8311171561082857600080fd5b919390929091602081019035600160201b81111561084557600080fd5b82018360208201111561085757600080fd5b803590602001918460208302840111600160201b8311171561087857600080fd5b509092509050611c51565b6103a96004803603602081101561089957600080fd5b50356001600160a01b0316611c9b565b6102c8611cee565b610369611d0d565b6103a9600480360360208110156108cf57600080fd5b50356001600160a01b0316611d16565b6103b3611d1f565b6103a9600480360360408110156108fd57600080fd5b810190602081018135600160201b81111561091757600080fd5b82018360208201111561092957600080fd5b803590602001918460208302840111600160201b8311171561094a57600080fd5b919390929091602081019035600160201b81111561096757600080fd5b82018360208201111561097957600080fd5b803590602001918460208302840111600160201b8311171561099a57600080fd5b509092509050611d2e565b6103f5600480360360208110156109bb57600080fd5b50356001600160a01b0316611d78565b6103a9611d93565b6103a9611e24565b6103a9600480360360208110156109f157600080fd5b50356001600160a01b0316611ef5565b6103a960048036036040811015610a1757600080fd5b810190602081018135600160201b811115610a3157600080fd5b820183602082011115610a4357600080fd5b803590602001918460208302840111600160201b83111715610a6457600080fd5b919390929091602081019035600160201b811115610a8157600080fd5b820183602082011115610a9357600080fd5b803590602001918460208302840111600160201b83111715610ab457600080fd5b509092509050611f84565b6103b3611fcf565b610369611fde565b61036960048036036060811015610ae557600080fd5b506001600160a01b038135811691602081013582169160409091013516612002565b6102c86123ae565b6103a960048036036020811015610b2557600080fd5b50356001600160a01b031661240f565b6103a960048036036040811015610b4b57600080fd5b506001600160a01b03813516906020013561249e565b61036960048036036060811015610b7757600080fd5b506001600160a01b03813581169160208101359091169060400135612614565b61036960048036036040811015610bad57600080fd5b506001600160a01b03813516906020013561282a565b61036960048036036040811015610bd957600080fd5b506001600160a01b03813516906020013561287f565b6103b3612b4a565b6103a960048036036020811015610c0d57600080fd5b50356001600160a01b0316612b5e565b6103a960048036036020811015610c3357600080fd5b810190602081018135600160201b811115610c4d57600080fd5b820183602082011115610c5f57600080fd5b803590602001918460018302840111600160201b83111715610c8057600080fd5b509092509050612b67565b6103a960048036036020811015610ca157600080fd5b810190602081018135600160201b811115610cbb57600080fd5b820183602082011115610ccd57600080fd5b803590602001918460018302840111600160201b83111715610cee57600080fd5b509092509050612d9a565b6103a960048036036040811015610d0f57600080fd5b506001600160a01b0381351690602001351515612ded565b6103a960048036036020811015610d3d57600080fd5b50356001600160a01b0316612e86565b6103f560048036036040811015610d6357600080fd5b506001600160a01b0381358116916020013516612f1f565b61036960048036036020811015610d9157600080fd5b50356001600160a01b0316612f4a565b6103a960048036036020811015610db757600080fd5b50356001600160a01b0316612f68565b6103a960048036036020811015610ddd57600080fd5b50356001600160a01b0316612fb8565b6103a960048036036040811015610e0357600080fd5b810190602081018135600160201b811115610e1d57600080fd5b820183602082011115610e2f57600080fd5b803590602001918460208302840111600160201b83111715610e5057600080fd5b919390929091602081019035600160201b811115610e6d57600080fd5b820183602082011115610e7f57600080fd5b803590602001918460208302840111600160201b83111715610ea057600080fd5b509092509050613049565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f375780601f10610f0c57610100808354040283529160200191610f37565b820191906000526020600020905b815481529060010190602001808311610f1a57829003601f168201915b505050505090505b90565b6000610f4f338484613093565b5060015b92915050565b610f623361123c565b610f9d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6000610fa883611d78565b6001600160a01b038416600090815260096020526040902054909150820181101561101a576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e74206578636565647320617661696c61626c652062616c616e6365604482015290519081900360640190fd5b6001600160a01b038316600090815260096020526040902054611043908363ffffffff61317f16565b6001600160a01b038416600081815260096020908152604091829020939093558051858152905191927fa065e63c631c86f1b9f66a4a2f63f2093bf1c2168d23290259dbd969e0222a4592918290030190a2505050565b600a5461010090046001600160a01b031690565b6001600160a01b031660009081526009602052604090205490565b60045490565b60005b8381101561111b576111138585838181106110e957fe5b905060200201356001600160a01b031684848481811061110557fe5b905060200201351515612ded565b6001016110d2565b5050505050565b61112b3361123c565b6111665760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b0382166000908152600960205260409020548111156111bd5760405162461bcd60e51b81526004018080602001828103825260348152602001806139656034913960400191505060405180910390fd5b6001600160a01b0382166000908152600960205260409020546111e6908263ffffffff6131d916565b6001600160a01b038316600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a25050565b6000610f5360018363ffffffff61321b16565b600a5460009060ff161561129d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff161580156112df57506001600160a01b03841660009081526008602052604090205460ff16155b611323576040805162461bcd60e51b815260206004820152601060248201526f3bb0b63632ba1034b990333937bd32b760811b604482015290519081900360640190fd5b6001600160a01b0384166000908152600960205260409020546113559061134986611d78565b9063ffffffff6131d916565b8211156113a0576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b604482015290519081900360640190fd5b600a546040805163b9209e3360e01b81526001600160a01b03868116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b1580156113f357600080fd5b505afa158015611407573d6000803e3d6000fd5b505050506040513d602081101561141d57600080fd5b505180156114af5750600b54604080516372331c7360e11b81526001600160a01b0387811660048301528681166024830152604482018690529151919092169163e46638e6916064808301926020929190829003018186803b15801561148257600080fd5b505afa158015611496573d6000803e3d6000fd5b505050506040513d60208110156114ac57600080fd5b50515b1561159457600b54604080516322ebca6d60e21b81526001600160a01b03878116600483015286811660248301526044820186905291519190921691638baf29b491606480830192600092919082900301818387803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b50505050611534848484613282565b61158c843361158785604051806060016040528060278152602001613a70602791396001600160a01b038a166000908152600360209081526040808320338452909152902054919063ffffffff6133eb16565b613093565b5060016115d9565b6040805162461bcd60e51b81526020600482015260156024820152745472616e73666572206e6f7420706f737369626c6560581b604482015290519081900360640190fd5b9392505050565b60075460ff1690565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610f4f918590611587908663ffffffff61317f16565b61162d611fde565b61166c576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b60078054610100600160a81b0319166101006001600160a01b03848116820292909217928390556040805180820182526005808252640332e322e360dc1b602080840191909152835160ff8816948101859052968590049095166080870181905260a08088528254600260018216159097026000190116959095049487018590527f6a1105ac8148a3c319adbc369f9072573e8a11d3a3d195e067e7c40767ec54d19691956006959192918291820190606083019060c08401908a9080156117755780601f1061174a57610100808354040283529160200191611775565b820191906000526020600020905b81548152906001019060200180831161175857829003601f168201915b50508481038352885460026000196101006001841615020190911604808252602090910190899080156117e95780601f106117be576101008083540402835291602001916117e9565b820191906000526020600020905b8154815290600101906020018083116117cc57829003601f168201915b5050848103825286518152865160209182019188019080838360005b8381101561181d578181015183820152602001611805565b50505050905090810190601f16801561184a5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150565b6118693361123c565b6118a45760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a5460ff166118f2576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b61193a3361123c565b6119755760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a546040805163b9209e3360e01b81526001600160a01b03858116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b1580156119c857600080fd5b505afa1580156119dc573d6000803e3d6000fd5b505050506040513d60208110156119f257600080fd5b5051611a45576040805162461bcd60e51b815260206004820152601960248201527f4964656e74697479206973206e6f742076657269666965642e00000000000000604482015290519081900360640190fd5b600b54604080516372331c7360e11b81523360048201526001600160a01b038581166024830152604482018590529151919092169163e46638e6916064808301926020929190829003018186803b158015611a9f57600080fd5b505afa158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b5051611b1c576040805162461bcd60e51b815260206004820152601760248201527f436f6d706c69616e6365206e6f7420666f6c6c6f776564000000000000000000604482015290519081900360640190fd5b611b268282613482565b600b5460408051635f8dead360e01b81526001600160a01b0385811660048301526024820185905291519190921691635f8dead391604480830192600092919082900301818387803b158015611b7b57600080fd5b505af1158015611b8f573d6000803e3d6000fd5b505050505050565b60005b85811015611bfe57611bf5878783818110611bb157fe5b905060200201356001600160a01b0316868684818110611bcd57fe5b905060200201356001600160a01b0316858585818110611be957fe5b90506020020135612614565b50600101611b9a565b50505050505050565b60005b8381101561111b57611c49858583818110611c2157fe5b905060200201356001600160a01b0316848484818110611c3d57fe5b90506020020135611122565b600101611c0a565b60005b8381101561111b57611c93858583818110611c6b57fe5b905060200201356001600160a01b0316848484818110611c8757fe5b9050602002013561249e565b600101611c54565b611ca3611fde565b611ce2576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611ceb81612f68565b50565b6040805180820190915260058152640332e322e360dc1b602082015290565b600a5460ff1690565b611ceb8161240f565b600b546001600160a01b031690565b60005b8381101561111b57611d70858583818110611d4857fe5b905060200201356001600160a01b0316848484818110611d6457fe5b90506020020135611931565b600101611d31565b6001600160a01b031660009081526002602052604090205490565b611d9b611fde565b611dda576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b611e2d3361123c565b611e685760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a5460ff1615611eb3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b611efd611fde565b611f3c576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611f4d60018263ffffffff61358016565b6040516001600160a01b038216907ff68e73cec97f2d70aa641fb26e87a4383686e2efacb648f2165aeb02ac562ec590600090a250565b60005b8381101561111b57611fc6858583818110611f9e57fe5b905060200201356001600160a01b0316848484818110611fba57fe5b9050602002013561287f565b50600101611f87565b6000546001600160a01b031690565b600080546001600160a01b0316611ff3613601565b6001600160a01b031614905090565b600061200d3361123c565b6120485760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b61205184611d78565b612099576040805162461bcd60e51b81526020600482015260146024820152733737903a37b5b2b739903a37903932b1b7bb32b960611b604482015290519081900360640190fd5b604080516001600160a01b0380861660208084019190915283518084038201815283850180865281519183019190912063d202158d60e01b909152604484018190526001606485015293518694939285169263d202158d926084808301939192829003018186803b15801561210d57600080fd5b505afa158015612121573d6000803e3d6000fd5b505050506040513d602081101561213757600080fd5b50511561236957600061214987611d78565b6001600160a01b0380891660008181526009602090815260409182902054600a548351637e42683b60e01b815260048101959095529251959650946101009092049093169263454a03e0928b9289928692637e42683b9260248083019392829003018186803b1580156121bb57600080fd5b505afa1580156121cf573d6000803e3d6000fd5b505050506040513d60208110156121e557600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b03948516600482015292909316602483015261ffff1660448201529051606480830192600092919082900301818387803b15801561224057600080fd5b505af1158015612254573d6000803e3d6000fd5b5050600a546040805163a8d29d1d60e01b81526001600160a01b038d811660048301529151610100909304909116935063a8d29d1d925060248082019260009290919082900301818387803b1580156122ac57600080fd5b505af11580156122c0573d6000803e3d6000fd5b505050506122cf888884612614565b5080156122e0576122e08782610f59565b6001600160a01b03881660009081526008602052604090205460ff1615156001141561231157612311876001612ded565b604080516001600160a01b03808b168252808a16602083015288168183015290517ff0c9129a94f30f1caaceb63e44b9811d0a3edf1d6c23757f346093af5553fed09181900360600190a160019450505050506115d9565b6040805162461bcd60e51b81526020600482015260156024820152745265636f76657279206e6f7420706f737369626c6560581b604482015290519081900360640190fd5b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f375780601f10610f0c57610100808354040283529160200191610f37565b612417611fde565b612456576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b61246760018263ffffffff61360516565b6040516001600160a01b038216907fed9c8ad8d5a0a66898ea49d2956929c93ae2e8bd50281b2ed897c5d1a6737e0b90600090a250565b6124a73361123c565b6124e25760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b03821660009081526009602052604081205461250484611d78565b039050808211156125a1576000612521838363ffffffff6131d916565b6001600160a01b03851660009081526009602052604090205490915061254d908263ffffffff6131d916565b6001600160a01b038516600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a2505b6125ab838361366c565b600b546040805163469753b960e11b81526001600160a01b0386811660048301526024820186905291519190921691638d2ea77291604480830192600092919082900301818387803b15801561260057600080fd5b505af1158015611bfe573d6000803e3d6000fd5b600061261f3361123c565b61265a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b0384166000908152600960205260408120546126809061134987611d78565b90508083111561271c57600061269c848363ffffffff6131d916565b6001600160a01b0387166000908152600960205260409020549091506126c8908263ffffffff6131d916565b6001600160a01b038716600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a2505b600a546040805163b9209e3360e01b81526001600160a01b03878116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b15801561276f57600080fd5b505afa158015612783573d6000803e3d6000fd5b505050506040513d602081101561279957600080fd5b50511561159457600b54604080516322ebca6d60e21b81526001600160a01b03888116600483015287811660248301526044820187905291519190921691638baf29b491606480830192600092919082900301818387803b1580156127fd57600080fd5b505af1158015612811573d6000803e3d6000fd5b50505050612820858585613282565b60019150506115d9565b6000610f4f338461158785604051806060016040528060258152602001613abb602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919063ffffffff6133eb16565b600a5460009060ff16156128cd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff1615801561290657503360009081526008602052604090205460ff16155b61294a576040805162461bcd60e51b815260206004820152601060248201526f3bb0b63632ba1034b990333937bd32b760811b604482015290519081900360640190fd5b336000818152600960205260409020546129679161134990611d78565b8211156129b2576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b604482015290519081900360640190fd5b600a546040805163b9209e3360e01b81526001600160a01b03868116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b158015612a0557600080fd5b505afa158015612a19573d6000803e3d6000fd5b505050506040513d6020811015612a2f57600080fd5b50518015612abf5750600b54604080516372331c7360e11b81523360048201526001600160a01b038681166024830152604482018690529151919092169163e46638e6916064808301926020929190829003018186803b158015612a9257600080fd5b505afa158015612aa6573d6000803e3d6000fd5b505050506040513d6020811015612abc57600080fd5b50515b1561159457600b54604080516322ebca6d60e21b81523360048201526001600160a01b0386811660248301526044820186905291519190921691638baf29b491606480830192600092919082900301818387803b158015612b1f57600080fd5b505af1158015612b33573d6000803e3d6000fd5b50505050612b42338484613282565b506001610f53565b60075461010090046001600160a01b031690565b611ceb81611ef5565b612b6f611fde565b612bae576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b612bba60068383613819565b506007546040805180820182526005808252640332e322e360dc1b602080840191909152835160ff8616948101859052610100958690046001600160a01b03166080820181905260a08083528454600260018216159099026000190116979097049682018790527f6a1105ac8148a3c319adbc369f9072573e8a11d3a3d195e067e7c40767ec54d196939560069590949093919291829190820190606083019060c08401908a908015612cae5780601f10612c8357610100808354040283529160200191612cae565b820191906000526020600020905b815481529060010190602001808311612c9157829003601f168201915b5050848103835288546002600019610100600184161502019091160480825260209091019089908015612d225780601f10612cf757610100808354040283529160200191612d22565b820191906000526020600020905b815481529060010190602001808311612d0557829003601f168201915b5050848103825286518152865160209182019188019080838360005b83811015612d56578181015183820152602001612d3e565b50505050905090810190601f168015612d835780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a15050565b612da2611fde565b612de1576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b612bba60058383613819565b612df63361123c565b612e315760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b038216600081815260086020526040808220805460ff19168515159081179091559051339391927f7fa523c84ab8d7fc5b72f08b9e46dbbf10c39e119a075b3e317002d14bc9f43691a45050565b612e8e611fde565b612ecd576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600a8054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517fd2be862d755bca7e0d39772b2cab3a5578da9c285f69199f4c063c2294a7f36c90600090a250565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6001600160a01b031660009081526008602052604090205460ff1690565b612f70611fde565b612faf576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611ceb81613774565b612fc0611fde565b612fff576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f7f3a888862559648ec01d97deb7b5012bff86dc91e654a1de397170db40e35b690600090a250565b60005b8381101561111b5761308b85858381811061306357fe5b905060200201356001600160a01b031684848481811061307f57fe5b90506020020135610f59565b60010161304c565b6001600160a01b0383166130d85760405162461bcd60e51b8152600401808060200182810382526024815260200180613a976024913960400191505060405180910390fd5b6001600160a01b03821661311d5760405162461bcd60e51b815260040180806020018281038252602281526020018061391d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000828201838110156115d9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006115d983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133eb565b60006001600160a01b0382166132625760405162461bcd60e51b8152600401808060200182810382526022815260200180613a086022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166132c75760405162461bcd60e51b8152600401808060200182810382526025815260200180613a4b6025913960400191505060405180910390fd5b6001600160a01b03821661330c5760405162461bcd60e51b81526004018080602001828103825260238152602001806138b26023913960400191505060405180910390fd5b613317838383613814565b61335a8160405180606001604052806026815260200161393f602691396001600160a01b038616600090815260026020526040902054919063ffffffff6133eb16565b6001600160a01b03808516600090815260026020526040808220939093559084168152205461338f908263ffffffff61317f16565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561347a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561343f578181015183820152602001613427565b50505050905090810190601f16801561346c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166134dd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6134e960008383613814565b6004546134fc908263ffffffff61317f16565b6004556001600160a01b038216600090815260026020526040902054613528908263ffffffff61317f16565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61358a828261321b565b156135dc576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b3390565b61360f828261321b565b61364a5760405162461bcd60e51b81526004018080602001828103825260218152602001806139c76021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b0382166136b15760405162461bcd60e51b8152600401808060200182810382526021815260200180613a2a6021913960400191505060405180910390fd5b6136bd82600083613814565b613700816040518060600160405280602281526020016138d5602291396001600160a01b038516600090815260026020526040902054919063ffffffff6133eb16565b6001600160a01b03831660009081526002602052604090205560045461372c908263ffffffff6131d916565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0381166137b95760405162461bcd60e51b81526004018080602001828103825260268152602001806138f76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061385a5782800160ff19823516178555613887565b82800160010185558215613887579182015b8281111561388757823582559160200191906001019061386c565b50613893929150613897565b5090565b610f3f91905b80821115613893576000815560010161389d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416d6f756e742073686f756c64206265206c657373207468616e206f7220657175616c20746f2066726f7a656e20746f6b656e734167656e74526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204167656e7420726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373545245583a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207e7b5a97eb73750499b4df6281cb690d53527af91066669fcb56c035578c6beb64736f6c63430006020033000000000000000000000000b0e8a59334c3654ddcf32d1a3597001bc24c8ede00000000000000000000000059623c037355029642f2b3db7799e5be7a8cfa5300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000fe1bd11cd131c02f31a8b213651a8358fa1ab7a8000000000000000000000000000000000000000000000000000000000000000a5465737420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025454000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102bb5760003560e01c806370a0823111610182578063a457c2d7116100e9578063c69c09cf116100a2578063e58398361161007c578063e583983614610d7b578063f2fde38b14610da1578063f898178914610dc7578063fc7e5fa814610ded576102bb565b8063c69c09cf14610cf9578063cbf3f86114610d27578063dd62ed3e14610d4d576102bb565b8063a457c2d714610b97578063a9059cbb14610bc3578063aba6370514610bef578063b422d83014610bf7578063b84c824614610c1d578063c47f002714610c8b576102bb565b80638f32d59b1161013b5780638f32d59b14610ac75780639285948a14610acf57806395d89b4114610b0757806397a6278e14610b0f5780639dc29fac14610b355780639fc1d0e714610b61576102bb565b806370a08231146109a5578063715018a6146109cb5780638456cb59146109d357806384e79842146109db57806388d695b214610a015780638da5cb5b14610abf576102bb565b80633d1ddc5b1161022657806351411b33116101df57806351411b331461088357806354fd4d50146108a95780635c975abb146108b15780635dc7a3cb146108b95780636290865d146108df57806368573107146108e7576102bb565b80633d1ddc5b1461059f5780633f4ba83a146105c557806340c10f19146105cd57806342a47abc146105f95780634710362d146107075780634a6cc677146107c5576102bb565b80631a7af379116102785780631a7af3791461040f5780631fe56f7d146104cd5780631ffbb064146104f957806323b872dd1461051f578063313ce567146105555780633950935114610573576102bb565b806306fdde03146102c0578063095ea7b31461033d578063125c4a331461037d578063134e18f4146103ab578063158b1a57146103cf57806318160ddd14610407575b600080fd5b6102c8610eab565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103025781810151838201526020016102ea565b50505050905090810190601f16801561032f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103696004803603604081101561035357600080fd5b506001600160a01b038135169060200135610f42565b604080519115158252519081900360200190f35b6103a96004803603604081101561039357600080fd5b506001600160a01b038135169060200135610f59565b005b6103b361109a565b604080516001600160a01b039092168252519081900360200190f35b6103f5600480360360208110156103e557600080fd5b50356001600160a01b03166110ae565b60408051918252519081900360200190f35b6103f56110c9565b6103a96004803603604081101561042557600080fd5b810190602081018135600160201b81111561043f57600080fd5b82018360208201111561045157600080fd5b803590602001918460208302840111600160201b8311171561047257600080fd5b919390929091602081019035600160201b81111561048f57600080fd5b8201836020820111156104a157600080fd5b803590602001918460208302840111600160201b831117156104c257600080fd5b5090925090506110cf565b6103a9600480360360408110156104e357600080fd5b506001600160a01b038135169060200135611122565b6103696004803603602081101561050f57600080fd5b50356001600160a01b031661123c565b6103696004803603606081101561053557600080fd5b506001600160a01b0381358116916020810135909116906040013561124f565b61055d6115e0565b6040805160ff9092168252519081900360200190f35b6103696004803603604081101561058957600080fd5b506001600160a01b0381351690602001356115e9565b6103a9600480360360208110156105b557600080fd5b50356001600160a01b0316611625565b6103a9611860565b6103a9600480360360408110156105e357600080fd5b506001600160a01b038135169060200135611931565b6103a96004803603606081101561060f57600080fd5b810190602081018135600160201b81111561062957600080fd5b82018360208201111561063b57600080fd5b803590602001918460208302840111600160201b8311171561065c57600080fd5b919390929091602081019035600160201b81111561067957600080fd5b82018360208201111561068b57600080fd5b803590602001918460208302840111600160201b831117156106ac57600080fd5b919390929091602081019035600160201b8111156106c957600080fd5b8201836020820111156106db57600080fd5b803590602001918460208302840111600160201b831117156106fc57600080fd5b509092509050611b97565b6103a96004803603604081101561071d57600080fd5b810190602081018135600160201b81111561073757600080fd5b82018360208201111561074957600080fd5b803590602001918460208302840111600160201b8311171561076a57600080fd5b919390929091602081019035600160201b81111561078757600080fd5b82018360208201111561079957600080fd5b803590602001918460208302840111600160201b831117156107ba57600080fd5b509092509050611c07565b6103a9600480360360408110156107db57600080fd5b810190602081018135600160201b8111156107f557600080fd5b82018360208201111561080757600080fd5b803590602001918460208302840111600160201b8311171561082857600080fd5b919390929091602081019035600160201b81111561084557600080fd5b82018360208201111561085757600080fd5b803590602001918460208302840111600160201b8311171561087857600080fd5b509092509050611c51565b6103a96004803603602081101561089957600080fd5b50356001600160a01b0316611c9b565b6102c8611cee565b610369611d0d565b6103a9600480360360208110156108cf57600080fd5b50356001600160a01b0316611d16565b6103b3611d1f565b6103a9600480360360408110156108fd57600080fd5b810190602081018135600160201b81111561091757600080fd5b82018360208201111561092957600080fd5b803590602001918460208302840111600160201b8311171561094a57600080fd5b919390929091602081019035600160201b81111561096757600080fd5b82018360208201111561097957600080fd5b803590602001918460208302840111600160201b8311171561099a57600080fd5b509092509050611d2e565b6103f5600480360360208110156109bb57600080fd5b50356001600160a01b0316611d78565b6103a9611d93565b6103a9611e24565b6103a9600480360360208110156109f157600080fd5b50356001600160a01b0316611ef5565b6103a960048036036040811015610a1757600080fd5b810190602081018135600160201b811115610a3157600080fd5b820183602082011115610a4357600080fd5b803590602001918460208302840111600160201b83111715610a6457600080fd5b919390929091602081019035600160201b811115610a8157600080fd5b820183602082011115610a9357600080fd5b803590602001918460208302840111600160201b83111715610ab457600080fd5b509092509050611f84565b6103b3611fcf565b610369611fde565b61036960048036036060811015610ae557600080fd5b506001600160a01b038135811691602081013582169160409091013516612002565b6102c86123ae565b6103a960048036036020811015610b2557600080fd5b50356001600160a01b031661240f565b6103a960048036036040811015610b4b57600080fd5b506001600160a01b03813516906020013561249e565b61036960048036036060811015610b7757600080fd5b506001600160a01b03813581169160208101359091169060400135612614565b61036960048036036040811015610bad57600080fd5b506001600160a01b03813516906020013561282a565b61036960048036036040811015610bd957600080fd5b506001600160a01b03813516906020013561287f565b6103b3612b4a565b6103a960048036036020811015610c0d57600080fd5b50356001600160a01b0316612b5e565b6103a960048036036020811015610c3357600080fd5b810190602081018135600160201b811115610c4d57600080fd5b820183602082011115610c5f57600080fd5b803590602001918460018302840111600160201b83111715610c8057600080fd5b509092509050612b67565b6103a960048036036020811015610ca157600080fd5b810190602081018135600160201b811115610cbb57600080fd5b820183602082011115610ccd57600080fd5b803590602001918460018302840111600160201b83111715610cee57600080fd5b509092509050612d9a565b6103a960048036036040811015610d0f57600080fd5b506001600160a01b0381351690602001351515612ded565b6103a960048036036020811015610d3d57600080fd5b50356001600160a01b0316612e86565b6103f560048036036040811015610d6357600080fd5b506001600160a01b0381358116916020013516612f1f565b61036960048036036020811015610d9157600080fd5b50356001600160a01b0316612f4a565b6103a960048036036020811015610db757600080fd5b50356001600160a01b0316612f68565b6103a960048036036020811015610ddd57600080fd5b50356001600160a01b0316612fb8565b6103a960048036036040811015610e0357600080fd5b810190602081018135600160201b811115610e1d57600080fd5b820183602082011115610e2f57600080fd5b803590602001918460208302840111600160201b83111715610e5057600080fd5b919390929091602081019035600160201b811115610e6d57600080fd5b820183602082011115610e7f57600080fd5b803590602001918460208302840111600160201b83111715610ea057600080fd5b509092509050613049565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f375780601f10610f0c57610100808354040283529160200191610f37565b820191906000526020600020905b815481529060010190602001808311610f1a57829003601f168201915b505050505090505b90565b6000610f4f338484613093565b5060015b92915050565b610f623361123c565b610f9d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6000610fa883611d78565b6001600160a01b038416600090815260096020526040902054909150820181101561101a576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e74206578636565647320617661696c61626c652062616c616e6365604482015290519081900360640190fd5b6001600160a01b038316600090815260096020526040902054611043908363ffffffff61317f16565b6001600160a01b038416600081815260096020908152604091829020939093558051858152905191927fa065e63c631c86f1b9f66a4a2f63f2093bf1c2168d23290259dbd969e0222a4592918290030190a2505050565b600a5461010090046001600160a01b031690565b6001600160a01b031660009081526009602052604090205490565b60045490565b60005b8381101561111b576111138585838181106110e957fe5b905060200201356001600160a01b031684848481811061110557fe5b905060200201351515612ded565b6001016110d2565b5050505050565b61112b3361123c565b6111665760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b0382166000908152600960205260409020548111156111bd5760405162461bcd60e51b81526004018080602001828103825260348152602001806139656034913960400191505060405180910390fd5b6001600160a01b0382166000908152600960205260409020546111e6908263ffffffff6131d916565b6001600160a01b038316600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a25050565b6000610f5360018363ffffffff61321b16565b600a5460009060ff161561129d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff161580156112df57506001600160a01b03841660009081526008602052604090205460ff16155b611323576040805162461bcd60e51b815260206004820152601060248201526f3bb0b63632ba1034b990333937bd32b760811b604482015290519081900360640190fd5b6001600160a01b0384166000908152600960205260409020546113559061134986611d78565b9063ffffffff6131d916565b8211156113a0576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b604482015290519081900360640190fd5b600a546040805163b9209e3360e01b81526001600160a01b03868116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b1580156113f357600080fd5b505afa158015611407573d6000803e3d6000fd5b505050506040513d602081101561141d57600080fd5b505180156114af5750600b54604080516372331c7360e11b81526001600160a01b0387811660048301528681166024830152604482018690529151919092169163e46638e6916064808301926020929190829003018186803b15801561148257600080fd5b505afa158015611496573d6000803e3d6000fd5b505050506040513d60208110156114ac57600080fd5b50515b1561159457600b54604080516322ebca6d60e21b81526001600160a01b03878116600483015286811660248301526044820186905291519190921691638baf29b491606480830192600092919082900301818387803b15801561151157600080fd5b505af1158015611525573d6000803e3d6000fd5b50505050611534848484613282565b61158c843361158785604051806060016040528060278152602001613a70602791396001600160a01b038a166000908152600360209081526040808320338452909152902054919063ffffffff6133eb16565b613093565b5060016115d9565b6040805162461bcd60e51b81526020600482015260156024820152745472616e73666572206e6f7420706f737369626c6560581b604482015290519081900360640190fd5b9392505050565b60075460ff1690565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610f4f918590611587908663ffffffff61317f16565b61162d611fde565b61166c576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b60078054610100600160a81b0319166101006001600160a01b03848116820292909217928390556040805180820182526005808252640332e322e360dc1b602080840191909152835160ff8816948101859052968590049095166080870181905260a08088528254600260018216159097026000190116959095049487018590527f6a1105ac8148a3c319adbc369f9072573e8a11d3a3d195e067e7c40767ec54d19691956006959192918291820190606083019060c08401908a9080156117755780601f1061174a57610100808354040283529160200191611775565b820191906000526020600020905b81548152906001019060200180831161175857829003601f168201915b50508481038352885460026000196101006001841615020190911604808252602090910190899080156117e95780601f106117be576101008083540402835291602001916117e9565b820191906000526020600020905b8154815290600101906020018083116117cc57829003601f168201915b5050848103825286518152865160209182019188019080838360005b8381101561181d578181015183820152602001611805565b50505050905090810190601f16801561184a5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150565b6118693361123c565b6118a45760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a5460ff166118f2576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b61193a3361123c565b6119755760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a546040805163b9209e3360e01b81526001600160a01b03858116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b1580156119c857600080fd5b505afa1580156119dc573d6000803e3d6000fd5b505050506040513d60208110156119f257600080fd5b5051611a45576040805162461bcd60e51b815260206004820152601960248201527f4964656e74697479206973206e6f742076657269666965642e00000000000000604482015290519081900360640190fd5b600b54604080516372331c7360e11b81523360048201526001600160a01b038581166024830152604482018590529151919092169163e46638e6916064808301926020929190829003018186803b158015611a9f57600080fd5b505afa158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b5051611b1c576040805162461bcd60e51b815260206004820152601760248201527f436f6d706c69616e6365206e6f7420666f6c6c6f776564000000000000000000604482015290519081900360640190fd5b611b268282613482565b600b5460408051635f8dead360e01b81526001600160a01b0385811660048301526024820185905291519190921691635f8dead391604480830192600092919082900301818387803b158015611b7b57600080fd5b505af1158015611b8f573d6000803e3d6000fd5b505050505050565b60005b85811015611bfe57611bf5878783818110611bb157fe5b905060200201356001600160a01b0316868684818110611bcd57fe5b905060200201356001600160a01b0316858585818110611be957fe5b90506020020135612614565b50600101611b9a565b50505050505050565b60005b8381101561111b57611c49858583818110611c2157fe5b905060200201356001600160a01b0316848484818110611c3d57fe5b90506020020135611122565b600101611c0a565b60005b8381101561111b57611c93858583818110611c6b57fe5b905060200201356001600160a01b0316848484818110611c8757fe5b9050602002013561249e565b600101611c54565b611ca3611fde565b611ce2576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611ceb81612f68565b50565b6040805180820190915260058152640332e322e360dc1b602082015290565b600a5460ff1690565b611ceb8161240f565b600b546001600160a01b031690565b60005b8381101561111b57611d70858583818110611d4857fe5b905060200201356001600160a01b0316848484818110611d6457fe5b90506020020135611931565b600101611d31565b6001600160a01b031660009081526002602052604090205490565b611d9b611fde565b611dda576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b611e2d3361123c565b611e685760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b600a5460ff1615611eb3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b611efd611fde565b611f3c576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611f4d60018263ffffffff61358016565b6040516001600160a01b038216907ff68e73cec97f2d70aa641fb26e87a4383686e2efacb648f2165aeb02ac562ec590600090a250565b60005b8381101561111b57611fc6858583818110611f9e57fe5b905060200201356001600160a01b0316848484818110611fba57fe5b9050602002013561287f565b50600101611f87565b6000546001600160a01b031690565b600080546001600160a01b0316611ff3613601565b6001600160a01b031614905090565b600061200d3361123c565b6120485760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b61205184611d78565b612099576040805162461bcd60e51b81526020600482015260146024820152733737903a37b5b2b739903a37903932b1b7bb32b960611b604482015290519081900360640190fd5b604080516001600160a01b0380861660208084019190915283518084038201815283850180865281519183019190912063d202158d60e01b909152604484018190526001606485015293518694939285169263d202158d926084808301939192829003018186803b15801561210d57600080fd5b505afa158015612121573d6000803e3d6000fd5b505050506040513d602081101561213757600080fd5b50511561236957600061214987611d78565b6001600160a01b0380891660008181526009602090815260409182902054600a548351637e42683b60e01b815260048101959095529251959650946101009092049093169263454a03e0928b9289928692637e42683b9260248083019392829003018186803b1580156121bb57600080fd5b505afa1580156121cf573d6000803e3d6000fd5b505050506040513d60208110156121e557600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b03948516600482015292909316602483015261ffff1660448201529051606480830192600092919082900301818387803b15801561224057600080fd5b505af1158015612254573d6000803e3d6000fd5b5050600a546040805163a8d29d1d60e01b81526001600160a01b038d811660048301529151610100909304909116935063a8d29d1d925060248082019260009290919082900301818387803b1580156122ac57600080fd5b505af11580156122c0573d6000803e3d6000fd5b505050506122cf888884612614565b5080156122e0576122e08782610f59565b6001600160a01b03881660009081526008602052604090205460ff1615156001141561231157612311876001612ded565b604080516001600160a01b03808b168252808a16602083015288168183015290517ff0c9129a94f30f1caaceb63e44b9811d0a3edf1d6c23757f346093af5553fed09181900360600190a160019450505050506115d9565b6040805162461bcd60e51b81526020600482015260156024820152745265636f76657279206e6f7420706f737369626c6560581b604482015290519081900360640190fd5b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f375780601f10610f0c57610100808354040283529160200191610f37565b612417611fde565b612456576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b61246760018263ffffffff61360516565b6040516001600160a01b038216907fed9c8ad8d5a0a66898ea49d2956929c93ae2e8bd50281b2ed897c5d1a6737e0b90600090a250565b6124a73361123c565b6124e25760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b03821660009081526009602052604081205461250484611d78565b039050808211156125a1576000612521838363ffffffff6131d916565b6001600160a01b03851660009081526009602052604090205490915061254d908263ffffffff6131d916565b6001600160a01b038516600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a2505b6125ab838361366c565b600b546040805163469753b960e11b81526001600160a01b0386811660048301526024820186905291519190921691638d2ea77291604480830192600092919082900301818387803b15801561260057600080fd5b505af1158015611bfe573d6000803e3d6000fd5b600061261f3361123c565b61265a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b0384166000908152600960205260408120546126809061134987611d78565b90508083111561271c57600061269c848363ffffffff6131d916565b6001600160a01b0387166000908152600960205260409020549091506126c8908263ffffffff6131d916565b6001600160a01b038716600081815260096020908152604091829020939093558051848152905191927f9bed35cb62ad0dba04f9d5bfee4b5bc91443e77da8a65c4c84834c51bb08b0d692918290030190a2505b600a546040805163b9209e3360e01b81526001600160a01b03878116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b15801561276f57600080fd5b505afa158015612783573d6000803e3d6000fd5b505050506040513d602081101561279957600080fd5b50511561159457600b54604080516322ebca6d60e21b81526001600160a01b03888116600483015287811660248301526044820187905291519190921691638baf29b491606480830192600092919082900301818387803b1580156127fd57600080fd5b505af1158015612811573d6000803e3d6000fd5b50505050612820858585613282565b60019150506115d9565b6000610f4f338461158785604051806060016040528060258152602001613abb602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919063ffffffff6133eb16565b600a5460009060ff16156128cd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b03831660009081526008602052604090205460ff1615801561290657503360009081526008602052604090205460ff16155b61294a576040805162461bcd60e51b815260206004820152601060248201526f3bb0b63632ba1034b990333937bd32b760811b604482015290519081900360640190fd5b336000818152600960205260409020546129679161134990611d78565b8211156129b2576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b604482015290519081900360640190fd5b600a546040805163b9209e3360e01b81526001600160a01b03868116600483015291516101009093049091169163b9209e3391602480820192602092909190829003018186803b158015612a0557600080fd5b505afa158015612a19573d6000803e3d6000fd5b505050506040513d6020811015612a2f57600080fd5b50518015612abf5750600b54604080516372331c7360e11b81523360048201526001600160a01b038681166024830152604482018690529151919092169163e46638e6916064808301926020929190829003018186803b158015612a9257600080fd5b505afa158015612aa6573d6000803e3d6000fd5b505050506040513d6020811015612abc57600080fd5b50515b1561159457600b54604080516322ebca6d60e21b81523360048201526001600160a01b0386811660248301526044820186905291519190921691638baf29b491606480830192600092919082900301818387803b158015612b1f57600080fd5b505af1158015612b33573d6000803e3d6000fd5b50505050612b42338484613282565b506001610f53565b60075461010090046001600160a01b031690565b611ceb81611ef5565b612b6f611fde565b612bae576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b612bba60068383613819565b506007546040805180820182526005808252640332e322e360dc1b602080840191909152835160ff8616948101859052610100958690046001600160a01b03166080820181905260a08083528454600260018216159099026000190116979097049682018790527f6a1105ac8148a3c319adbc369f9072573e8a11d3a3d195e067e7c40767ec54d196939560069590949093919291829190820190606083019060c08401908a908015612cae5780601f10612c8357610100808354040283529160200191612cae565b820191906000526020600020905b815481529060010190602001808311612c9157829003601f168201915b5050848103835288546002600019610100600184161502019091160480825260209091019089908015612d225780601f10612cf757610100808354040283529160200191612d22565b820191906000526020600020905b815481529060010190602001808311612d0557829003601f168201915b5050848103825286518152865160209182019188019080838360005b83811015612d56578181015183820152602001612d3e565b50505050905090810190601f168015612d835780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a15050565b612da2611fde565b612de1576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b612bba60058383613819565b612df63361123c565b612e315760405162461bcd60e51b815260040180806020018281038252602e815260200180613999602e913960400191505060405180910390fd5b6001600160a01b038216600081815260086020526040808220805460ff19168515159081179091559051339391927f7fa523c84ab8d7fc5b72f08b9e46dbbf10c39e119a075b3e317002d14bc9f43691a45050565b612e8e611fde565b612ecd576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600a8054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517fd2be862d755bca7e0d39772b2cab3a5578da9c285f69199f4c063c2294a7f36c90600090a250565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6001600160a01b031660009081526008602052604090205460ff1690565b612f70611fde565b612faf576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b611ceb81613774565b612fc0611fde565b612fff576040805162461bcd60e51b815260206004820181905260248201526000805160206139e8833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f7f3a888862559648ec01d97deb7b5012bff86dc91e654a1de397170db40e35b690600090a250565b60005b8381101561111b5761308b85858381811061306357fe5b905060200201356001600160a01b031684848481811061307f57fe5b90506020020135610f59565b60010161304c565b6001600160a01b0383166130d85760405162461bcd60e51b8152600401808060200182810382526024815260200180613a976024913960400191505060405180910390fd5b6001600160a01b03821661311d5760405162461bcd60e51b815260040180806020018281038252602281526020018061391d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000828201838110156115d9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006115d983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133eb565b60006001600160a01b0382166132625760405162461bcd60e51b8152600401808060200182810382526022815260200180613a086022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166132c75760405162461bcd60e51b8152600401808060200182810382526025815260200180613a4b6025913960400191505060405180910390fd5b6001600160a01b03821661330c5760405162461bcd60e51b81526004018080602001828103825260238152602001806138b26023913960400191505060405180910390fd5b613317838383613814565b61335a8160405180606001604052806026815260200161393f602691396001600160a01b038616600090815260026020526040902054919063ffffffff6133eb16565b6001600160a01b03808516600090815260026020526040808220939093559084168152205461338f908263ffffffff61317f16565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561347a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561343f578181015183820152602001613427565b50505050905090810190601f16801561346c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166134dd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6134e960008383613814565b6004546134fc908263ffffffff61317f16565b6004556001600160a01b038216600090815260026020526040902054613528908263ffffffff61317f16565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b61358a828261321b565b156135dc576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b3390565b61360f828261321b565b61364a5760405162461bcd60e51b81526004018080602001828103825260218152602001806139c76021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b0382166136b15760405162461bcd60e51b8152600401808060200182810382526021815260200180613a2a6021913960400191505060405180910390fd5b6136bd82600083613814565b613700816040518060600160405280602281526020016138d5602291396001600160a01b038516600090815260026020526040902054919063ffffffff6133eb16565b6001600160a01b03831660009081526002602052604090205560045461372c908263ffffffff6131d916565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0381166137b95760405162461bcd60e51b81526004018080602001828103825260268152602001806138f76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061385a5782800160ff19823516178555613887565b82800160010185558215613887579182015b8281111561388757823582559160200191906001019061386c565b50613893929150613897565b5090565b610f3f91905b80821115613893576000815560010161389d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416d6f756e742073686f756c64206265206c657373207468616e206f7220657175616c20746f2066726f7a656e20746f6b656e734167656e74526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204167656e7420726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373545245583a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207e7b5a97eb73750499b4df6281cb690d53527af91066669fcb56c035578c6beb64736f6c63430006020033
Deployed Bytecode Sourcemap
80891:18900:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;80891:18900:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87319:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;87319:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84184:173;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;84184:173:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;95948:387;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;95948:387:0;;;;;;;;:::i;:::-;;90799:126;;;:::i;:::-;;;;-1:-1:-1;;;;;90799:126:0;;;;;;;;;;;;;;89145:140;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89145:140:0;-1:-1:-1;;;;;89145:140:0;;:::i;:::-;;;;;;;;;;;;;;;;83615:102;;;:::i;95624:253::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95624:253:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;95624:253:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;95624:253: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;95624:253:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;95624:253:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;95624:253: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;95624:253:0;;-1:-1:-1;95624:253:0;-1:-1:-1;95624:253:0;:::i;96748:349::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;96748:349:0;;;;;;;;:::i;73918:105::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73918:105:0;-1:-1:-1;;;;;73918:105:0;;:::i;91900:713::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;91900:713:0;;;;;;;;;;;;;;;;;:::i;87166:97::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;84425:221;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;84425:221:0;;;;;;;;:::i;88518:225::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88518:225:0;-1:-1:-1;;;;;88518:225:0;;:::i;90599:132::-;;;:::i;93770:342::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;93770:342:0;;;;;;;;:::i;93435:279::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;93435:279:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;93435:279:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;93435:279: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;93435:279:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;93435:279:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;93435:279: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;93435:279:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;93435:279:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;93435:279: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;93435:279:0;;-1:-1:-1;93435:279:0;-1:-1:-1;93435:279:0;:::i;97175:268::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;97175:268:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;97175:268:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;97175:268: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;97175:268:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;97175:268:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;97175:268: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;97175:268:0;;-1:-1:-1;97175:268:0;-1:-1:-1;97175:268:0;:::i;95046:234::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95046:234:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;95046:234:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;95046:234: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;95046:234:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;95046:234:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;95046:234: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;95046:234:0;;-1:-1:-1;95046:234:0;-1:-1:-1;95046:234:0;:::i;99289:136::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;99289:136:0;-1:-1:-1;;;;;99289:136:0;;:::i;87796:104::-;;;:::i;88801:93::-;;;:::i;99680:108::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;99680:108:0;-1:-1:-1;;;;;99680:108:0;;:::i;90987:::-;;;:::i;94173:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;94173:213:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;94173:213:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;94173:213: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;94173:213:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;94173:213:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;94173:213: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;94173:213:0;;-1:-1:-1;94173:213:0;-1:-1:-1;94173:213:0;:::i;83778:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;83778:129:0;-1:-1:-1;;;;;83778:129:0;;:::i;71651:150::-;;;:::i;90410:130::-;;;:::i;74031:123::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;74031:123:0;-1:-1:-1;;;;;74031:123:0;;:::i;91160:221::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;91160:221:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;91160:221:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;91160:221: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;91160:221:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;91160:221:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;91160:221: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;91160:221:0;;-1:-1:-1;91160:221:0;-1:-1:-1;91160:221:0;:::i;70838:81::-;;;:::i;71206:94::-;;;:::i;98042:1163::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;98042:1163:0;;;;;;;;;;;;;;;;;;;:::i;87636:101::-;;;:::i;74162:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;74162:131:0;-1:-1:-1;;;;;74162:131:0;;:::i;94442:543::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;94442:543:0;;;;;;;;:::i;92679:685::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;92679:685:0;;;;;;;;;;;;;;;;;:::i;84714:272::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;84714:272:0;;;;;;;;:::i;89763:590::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;89763:590:0;;;;;;;;:::i;87477:101::-;;;:::i;99500:102::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;99500:102:0;-1:-1:-1;;;;;99500:102:0;;:::i;88233:221::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;88233:221:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;88233:221:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;88233:221:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;88233:221:0;;-1:-1:-1;88233:221:0;-1:-1:-1;88233:221:0;:::i;87959:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;87959:213:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;87959:213:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;87959:213:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;87959:213:0;;-1:-1:-1;87959:213:0;-1:-1:-1;87959:213:0;:::i;95348:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;95348:203:0;;;;;;;;;;:::i;97514:219::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;97514:219:0;-1:-1:-1;;;;;97514:219:0;;:::i;83968:157::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;83968:157:0;;;;;;;;;;:::i;88954:124::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88954:124:0;-1:-1:-1;;;;;88954:124:0;;:::i;71956:117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;71956:117:0;-1:-1:-1;;;;;71956:117:0;;:::i;97798:177::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;97798:177:0;-1:-1:-1;;;;;97798:177:0;;:::i;96411:264::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;96411:264:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;96411:264:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;96411:264: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;96411:264:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;96411:264:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;96411:264: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;96411:264:0;;-1:-1:-1;96411:264:0;-1:-1:-1;96411:264:0;:::i;87319:97::-;87399:9;87392:16;;;;;;;;-1:-1:-1;;87392:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87367:13;;87392:16;;87399:9;;87392:16;;87399:9;87392:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87319:97;;:::o;84184:173::-;84271:4;84288:39;84297:10;84309:8;84319:7;84288:8;:39::i;:::-;-1:-1:-1;84345:4:0;84184:173;;;;;:::o;95948:387::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96053:15:::1;96071:23;96081:12;96071:9;:23::i;:::-;-1:-1:-1::0;;;;;96124:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;96053:41;;-1:-1:-1;96124:36:0;::::1;96113:47:::0;::::1;;96105:92;;;::::0;;-1:-1:-1;;;96105:92:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;96237:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;:39:::1;::::0;96268:7;96237:39:::1;:30;:39;:::i;:::-;-1:-1:-1::0;;;;;96208:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;;;;:68;;;;96292:35;;;;;;;96208:26;;96292:35:::1;::::0;;;;;;;::::1;73901:1;95948:387:::0;;:::o;90799:126::-;90896:21;;;;;-1:-1:-1;;;;;90896:21:0;;90799:126::o;89145:140::-;-1:-1:-1;;;;;89251:26:0;89224:7;89251:26;;;:12;:26;;;;;;;89145:140::o;83615:102::-;83697:12;;83615:102;:::o;95624:253::-;95749:9;95744:126;95764:25;;;95744:126;;;95811:47;95828:14;;95843:1;95828:17;;;;;;;;;;;;;-1:-1:-1;;;;;95828:17:0;95847:7;;95855:1;95847:10;;;;;;;;;;;;;;;95811:16;:47::i;:::-;95791:3;;95744:126;;;;95624:253;;;;:::o;96748:349::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;96863:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;:37;-1:-1:-1;96863:37:0::1;96855:102;;;;-1:-1:-1::0;;;96855:102:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;96997:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;:39:::1;::::0;97028:7;96997:39:::1;:30;:39;:::i;:::-;-1:-1:-1::0;;;;;96968:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;;;;:68;;;;97052:37;;;;;;;96968:26;;97052:37:::1;::::0;;;;;;;::::1;96748:349:::0;;:::o;73918:105::-;73972:4;73996:19;:7;74008:6;73996:19;:11;:19;:::i;91900:713::-;83315:11;;92008:4;;83315:11;;83314:12;83306:41;;;;;-1:-1:-1;;;83306:41:0;;;;;;;;;;;;-1:-1:-1;;;83306:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;92034:11:0;::::1;;::::0;;;:6:::1;:11;::::0;;;;;::::1;;92033:12;:30:::0;::::1;;;-1:-1:-1::0;;;;;;92050:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;::::1;;92049:14;92033:30;92025:59;;;::::0;;-1:-1:-1;;;92025:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;92025:59:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;92135:19:0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;92114:41:::1;::::0;:16:::1;92148:5:::0;92114:9:::1;:16::i;:::-;:20:::0;:41:::1;:20;:41;:::i;:::-;92103:7;:52;;92095:85;;;::::0;;-1:-1:-1;;;92095:85:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;92095:85:0;;;;;;;;;;;;;::::1;;92195:21;::::0;:37:::1;::::0;;-1:-1:-1;;;92195:37:0;;-1:-1:-1;;;;;92195:37:0;;::::1;;::::0;::::1;::::0;;;:21:::1;::::0;;::::1;::::0;;::::1;::::0;:32:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:21;:37;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;92195:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;92195:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;92195:37:0;:89;::::1;;;-1:-1:-1::0;92236:15:0::1;::::0;:48:::1;::::0;;-1:-1:-1;;;92236:48:0;;-1:-1:-1;;;;;92236:48:0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:48;;;;;::::1;::::0;;;;;;;;:15;:48;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;92236:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;92236:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;92236:48:0;92195:89:::1;92191:371;;;92301:15;::::0;:48:::1;::::0;;-1:-1:-1;;;92301:48:0;;-1:-1:-1;;;;;92301:48:0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:48;;;;;:15:::1;::::0;:48;;;;;;;:15;;:48;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;92301:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;92301:48:0;;;;92364:30;92374:5;92381:3;92386:7;92364:9;:30::i;:::-;92409:115;92418:5;92425:10;92437:86;92472:7;92437:86;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;92437:18:0;::::1;;::::0;;;:11:::1;:18;::::0;;;;;;;92456:10:::1;92437:30:::0;;;;;;;;;:86;::::1;:34;:86;:::i;:::-;92409:8;:115::i;:::-;-1:-1:-1::0;92546:4:0::1;92539:11;;92191:371;92574:31;::::0;;-1:-1:-1;;;92574:31:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;92574:31:0;;;;;;;;;;;;;::::1;83358:1;91900:713:::0;;;;;:::o;87166:97::-;87242:13;;;;87166:97;:::o;84425:221::-;84543:10;84517:4;84565:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;84565:33:0;;;;;;;;;;84517:4;;84534:82;;84555:8;;84565:50;;84603:11;84565:50;:37;:50;:::i;88518:225::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;88599:14:::1;:27:::0;;-1:-1:-1;;;;;;88599:27:0::1;;-1:-1:-1::0;;;;;88599:27:0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;88705:13:::1;::::0;;;;::::1;::::0;;88666:9:::1;88705:13:::0;;;-1:-1:-1;;;88705:13:0::1;::::0;;::::1;::::0;;;;88642:93;;88690:13:::1;::::0;::::1;88642:93:::0;;;;;;88720:14;;;::::1;::::0;;::::1;88642:93:::0;;;;;;;;;;;;::::1;-1:-1:-1::0;88642:93:0;::::1;;::::0;;::::1;-1:-1:-1::0;;88642:93:0;::::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;88666:9;;88677:11:::1;::::0;88720:14;;88642:93;;;;::::1;::::0;;;;;;;;;88666:9;;88642:93;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;88642:93:0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;88642:93:0::1;;::::0;::::1;;;::::0;;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;88642:93:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;23:1:-1::1;8:100;33:3;30:1;27:10;8:100;;;90:11:::0;;::::1;84:18:::0;71:11;;::::1;64:39:::0;52:2:::1;45:10;8:100;;;12:14;88642:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88518:225:::0;:::o;90599:132::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83496:11:::1;::::0;::::1;;83488:44;;;::::0;;-1:-1:-1;;;83488:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;83488:44:0;;;;;;;;;;;;;::::1;;90668:11:::2;:19:::0;;-1:-1:-1;;90668:19:0::2;::::0;;90703:20:::2;::::0;;90712:10:::2;90703:20:::0;;;;::::2;::::0;;;;::::2;::::0;;::::2;90599:132::o:0;93770:342::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93859:21:::1;::::0;:37:::1;::::0;;-1:-1:-1;;;93859:37:0;;-1:-1:-1;;;;;93859:37:0;;::::1;;::::0;::::1;::::0;;;:21:::1;::::0;;::::1;::::0;;::::1;::::0;:32:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:21;:37;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;93859:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;93859:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;93859:37:0;93851:75:::1;;;::::0;;-1:-1:-1;;;93851:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;93945:15;::::0;:53:::1;::::0;;-1:-1:-1;;;93945:53:0;;93973:10:::1;93945:53;::::0;::::1;::::0;-1:-1:-1;;;;;93945:53:0;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:53;;;;;::::1;::::0;;;;;;;;:15;:53;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;93945:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;93945:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;93945:53:0;93937:89:::1;;;::::0;;-1:-1:-1;;;93937:89:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;94037:19;94043:3;94048:7;94037:5;:19::i;:::-;94067:15;::::0;:37:::1;::::0;;-1:-1:-1;;;94067:37:0;;-1:-1:-1;;;;;94067:37:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:15;;;::::1;::::0;:23:::1;::::0;:37;;;;;:15:::1;::::0;:37;;;;;;;:15;;:37;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;94067:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;94067:37:0;;;;93770:342:::0;;:::o;93435:279::-;93585:9;93580:127;93600:20;;;93580:127;;;93642:53;93657:9;;93667:1;93657:12;;;;;;;;;;;;;-1:-1:-1;;;;;93657:12:0;93671:7;;93679:1;93671:10;;;;;;;;;;;;;-1:-1:-1;;;;;93671:10:0;93683:8;;93692:1;93683:11;;;;;;;;;;;;;93642:14;:53::i;:::-;-1:-1:-1;93622:3:0;;93580:127;;;;93435:279;;;;;;:::o;97175:268::-;97309:9;97304:132;97324:25;;;97304:132;;;97371:53;97393:14;;97408:1;97393:17;;;;;;;;;;;;;-1:-1:-1;;;;;97393:17:0;97412:8;;97421:1;97412:11;;;;;;;;;;;;;97371:21;:53::i;:::-;97351:3;;97304:132;;95046:234;95163:9;95158:115;95178:25;;;95158:115;;;95225:36;95230:14;;95245:1;95230:17;;;;;;;;;;;;;-1:-1:-1;;;;;95230:17:0;95249:8;;95258:1;95249:11;;;;;;;;;;;;;95225:4;:36::i;:::-;95205:3;;95158:115;;99289:136;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;99389:28:::1;99407:9;99389:17;:28::i;:::-;99289:136:::0;:::o;87796:104::-;87879:13;;;;;;;;;;;;-1:-1:-1;;;87879:13:0;;;;87796:104;:::o;88801:93::-;88875:11;;;;88801:93;:::o;99680:108::-;99761:19;99773:6;99761:11;:19::i;90987:108::-;91072:15;;-1:-1:-1;;;;;91072:15:0;90987:108;:::o;94173:213::-;94283:9;94278:101;94298:18;;;94278:101;;;94338:29;94343:7;;94351:1;94343:10;;;;;;;;;;;;;-1:-1:-1;;;;;94343:10:0;94355:8;;94364:1;94355:11;;;;;;;;;;;;;94338:4;:29::i;:::-;94318:3;;94278:101;;83778:129;-1:-1:-1;;;;;83876:23:0;83849:7;83876:23;;;:9;:23;;;;;;;83778:129::o;71651:150::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;71760:1:::1;71744:6:::0;;71723:40:::1;::::0;-1:-1:-1;;;;;71744:6:0;;::::1;::::0;71723:40:::1;::::0;71760:1;;71723:40:::1;71791:1;71774:19:::0;;-1:-1:-1;;;;;;71774:19:0::1;::::0;;71651:150::o;90410:130::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83315:11:::1;::::0;::::1;;83314:12;83306:41;;;::::0;;-1:-1:-1;;;83306:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;83306:41:0;;;;;;;;;;;;;::::1;;90480:11:::2;:18:::0;;-1:-1:-1;;90480:18:0::2;90494:4;90480:18;::::0;;90514::::2;::::0;;90521:10:::2;90514:18:::0;;;;::::2;::::0;;;;::::2;::::0;;::::2;90410:130::o:0;74031:123::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;74093:19:::1;:7;74105:6:::0;74093:19:::1;:11;:19;:::i;:::-;74128:18;::::0;-1:-1:-1;;;;;74128:18:0;::::1;::::0;::::1;::::0;;;::::1;74031:123:::0;:::o;91160:221::-;91274:9;91269:105;91289:18;;;91269:105;;;91329:33;91338:7;;91346:1;91338:10;;;;;;;;;;;;;-1:-1:-1;;;;;91338:10:0;91350:8;;91359:1;91350:11;;;;;;;;;;;;;91329:8;:33::i;:::-;-1:-1:-1;91309:3:0;;91269:105;;70838:81;70878:7;70905:6;-1:-1:-1;;;;;70905:6:0;70838:81;:::o;71206:94::-;71246:4;71286:6;;-1:-1:-1;;;;;71286:6:0;71270:12;:10;:12::i;:::-;-1:-1:-1;;;;;71270:22:0;;71263:29;;71206:94;:::o;98042:1163::-;98173:4;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98197:22:::1;98207:11;98197:9;:22::i;:::-;98189:60;;;::::0;;-1:-1:-1;;;98189:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;98189:60:0;;;;;;;;;;;;;::::1;;98348:22;::::0;;-1:-1:-1;;;;;98348:22:0;;::::1;;::::0;;::::1;::::0;;;;;;26:21:-1;;;22:32;;6:49;;98348:22:0;;;;;;98338:33;;;;::::1;::::0;;;;-1:-1:-1;;;98386:33:0;;;;;;;;;98417:1:::1;98386:33:::0;;;;;;98293:18;;98338:33;98386:24;;::::1;::::0;::::1;::::0;:33;;;;;98348:22;;98386:33;;;;;:24;:33;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;98386:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;98386:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;98386:33:0;98382:774:::1;;;98436:19;98458:22;98468:11;98458:9;:22::i;:::-;-1:-1:-1::0;;;;;98516:25:0;;::::1;98495:18;98516:25:::0;;;:12:::1;:25;::::0;;;;;;;;;98556:21:::1;::::0;98619:50;;-1:-1:-1;;;98619:50:0;;::::1;::::0;::::1;::::0;;;;;;98436:44;;-1:-1:-1;98516:25:0;98556:21:::1;::::0;;::::1;::::0;;::::1;::::0;:38:::1;::::0;98595:10;;98607;;98556:21;;98619:37:::1;::::0;:50;;;;;98516:25;98619:50;;;;;98556:21;98619:50;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;98619:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;98619:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;98619:50:0;98556:114:::1;::::0;;-1:-1:-1;;;;;;98556:114:0::1;::::0;;;;;;-1:-1:-1;;;;;98556:114:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;::::1;;::::0;;;;;;;;;;;-1:-1:-1;;98556:114:0;;;;;;;-1:-1:-1;98556:114:0;;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;98556:114: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;;98685:21:0::1;::::0;:49:::1;::::0;;-1:-1:-1;;;98685:49:0;;-1:-1:-1;;;;;98685:49:0;;::::1;;::::0;::::1;::::0;;;:21:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;98685:36:0::1;::::0;-1:-1:-1;98685:49:0;;;;;-1:-1:-1;;98685:49:0;;;;;;;;-1:-1:-1;98685:21:0;:49;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;98685:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;98685:49:0;;;;98749:55;98764:11;98777:10;98789:14;98749;:55::i;:::-;-1:-1:-1::0;98823:17:0;;98819:104:::1;;98861:46;98881:10;98893:13;98861:19;:46::i;:::-;-1:-1:-1::0;;;;;98941:19:0;::::1;;::::0;;;:6:::1;:19;::::0;;;;;::::1;;:27;;:19:::0;:27:::1;98937:102;;;98989:34;99006:10;99018:4;98989:16;:34::i;:::-;99058:60;::::0;;-1:-1:-1;;;;;99058:60:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;;::::1;99140:4;99133:11;;;;;;;;98382:774;99166:31;::::0;;-1:-1:-1;;;99166:31:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;99166:31:0;;;;;;;;;;;;;::::1;87636:101:::0;87718:11;87711:18;;;;;;;;-1:-1:-1;;87711:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87686:13;;87711:18;;87718:11;;87711:18;;87718:11;87711:18;;;;;;;;;;;;;;;;;;;;;;;;74162:131;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;74227:22:::1;:7;74242:6:::0;74227:22:::1;:14;:22;:::i;:::-;74265:20;::::0;-1:-1:-1;;;;;74265:20:0;::::1;::::0;::::1;::::0;;;::::1;74162:131:::0;:::o;94442:543::-;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;94580:26:0;::::1;94532:19;94580:26:::0;;;:12:::1;:26;::::0;;;;;94554:23:::1;94593:12:::0;94554:9:::1;:23::i;:::-;:52;94532:74;;94631:11;94621:7;:21;94617:263;;;94659:24;94686;:7:::0;94698:11;94686:24:::1;:11;:24;:::i;:::-;-1:-1:-1::0;;;;;94754:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;94659:51;;-1:-1:-1;94754:48:0::1;::::0;94659:51;94754:48:::1;:30;:48;:::i;:::-;-1:-1:-1::0;;;;;94725:26:0;::::1;;::::0;;;:12:::1;:26;::::0;;;;;;;;:77;;;;94822:46;;;;;;;94725:26;;94822:46:::1;::::0;;;;;;;::::1;94617:263;;94890:28;94896:12;94910:7;94890:5;:28::i;:::-;94929:15;::::0;:48:::1;::::0;;-1:-1:-1;;;94929:48:0;;-1:-1:-1;;;;;94929:48:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:15;;;::::1;::::0;:25:::1;::::0;:48;;;;;:15:::1;::::0;:48;;;;;;;:15;;:48;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;94929:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;92679:685:0::0;92783:4;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;92843:19:0;::::1;92800;92843::::0;;;:12:::1;:19;::::0;;;;;92822:41:::1;::::0;:16:::1;92856:5:::0;92822:9:::1;:16::i;:41::-;92800:63;;92888:11;92878:7;:21;92874:242;;;92916:24;92943;:7:::0;92955:11;92943:24:::1;:11;:24;:::i;:::-;-1:-1:-1::0;;;;;93004:19:0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;92916:51;;-1:-1:-1;93004:41:0::1;::::0;92916:51;93004:41:::1;:23;:41;:::i;:::-;-1:-1:-1::0;;;;;92982:19:0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;;:63;;;;93065:39;;;;;;;92982:19;;93065:39:::1;::::0;;;;;;;::::1;92874:242;;93130:21;::::0;:37:::1;::::0;;-1:-1:-1;;;93130:37:0;;-1:-1:-1;;;;;93130:37:0;;::::1;;::::0;::::1;::::0;;;:21:::1;::::0;;::::1;::::0;;::::1;::::0;:32:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:21;:37;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;93130:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;93130:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;93130:37:0;93126:189:::1;;;93184:15;::::0;:48:::1;::::0;;-1:-1:-1;;;93184:48:0;;-1:-1:-1;;;;;93184:48:0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:48;;;;;:15:::1;::::0;:48;;;;;;;:15;;:48;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;93184:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;93184:48:0;;;;93247:30;93257:5;93264:3;93269:7;93247:9;:30::i;:::-;93299:4;93292:11;;;;;84714:272:::0;84811:4;84828:128;84837:10;84849:8;84859:96;84897:16;84859:96;;;;;;;;;;;;;;;;;84871:10;84859:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;84859:33:0;;;;;;;;;;;:96;;:37;:96;:::i;89763:590::-;83315:11;;89850:4;;83315:11;;83314:12;83306:41;;;;;-1:-1:-1;;;83306:41:0;;;;;;;;;;;;-1:-1:-1;;;83306:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;89876:11:0;::::1;;::::0;;;:6:::1;:11;::::0;;;;;::::1;;89875:12;:35:::0;::::1;;;-1:-1:-1::0;89899:10:0::1;89892:18;::::0;;;:6:::1;:18;::::0;;;;;::::1;;89891:19;89875:35;89867:64;;;::::0;;-1:-1:-1;;;89867:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;89867:64:0;;;;;;;;;;;;;::::1;;90000:10;89987:24;::::0;;;:12:::1;:24;::::0;;;;;89961:51:::1;::::0;:21:::1;::::0;:9:::1;:21::i;:51::-;89950:7;:62;;89942:95;;;::::0;;-1:-1:-1;;;89942:95:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;89942:95:0;;;;;;;;;;;;;::::1;;90052:21;::::0;:37:::1;::::0;;-1:-1:-1;;;90052:37:0;;-1:-1:-1;;;;;90052:37:0;;::::1;;::::0;::::1;::::0;;;:21:::1;::::0;;::::1;::::0;;::::1;::::0;:32:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:21;:37;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;90052:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;90052:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;90052:37:0;:94;::::1;;;-1:-1:-1::0;90093:15:0::1;::::0;:53:::1;::::0;;-1:-1:-1;;;90093:53:0;;90121:10:::1;90093:53;::::0;::::1;::::0;-1:-1:-1;;;;;90093:53:0;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:53;;;;;::::1;::::0;;;;;;;;:15;:53;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;90093:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;90093:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;90093:53:0;90052:94:::1;90048:256;;;90163:15;::::0;:53:::1;::::0;;-1:-1:-1;;;90163:53:0;;90191:10:::1;90163:53;::::0;::::1;::::0;-1:-1:-1;;;;;90163:53:0;;::::1;::::0;;;;;;;;;;;;:15;;;::::1;::::0;:27:::1;::::0;:53;;;;;:15:::1;::::0;:53;;;;;;;:15;;:53;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;90163:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;90163:53:0;;;;90231:35;90241:10;90253:3;90258:7;90231:9;:35::i;:::-;-1:-1:-1::0;90288:4:0::1;90281:11;;87477:101:::0;87556:14;;;;;-1:-1:-1;;;;;87556:14:0;;87477:101::o;99500:102::-;99578:16;99587:6;99578:8;:16::i;88233:221::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;88316:21:::1;:11;88330:7:::0;;88316:21:::1;:::i;:::-;-1:-1:-1::0;88401:13:0::1;::::0;88416::::1;::::0;;;;::::1;::::0;;88377:9:::1;88416:13:::0;;;-1:-1:-1;;;88416:13:0::1;::::0;;::::1;::::0;;;;88353:93;;88401:13:::1;::::0;::::1;88353:93:::0;;;;;;88401:13:::1;88431:14:::0;;;::::1;-1:-1:-1::0;;;;;88431:14:0::1;88353:93:::0;;;;;;;;;;;;::::1;88401:13:::0;88353:93;::::1;;::::0;;::::1;-1:-1:-1::0;;88353:93:0;::::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;88377:9;;88388:11:::1;::::0;88401:13;;88416;;88431:14;;88353:93;;;;;::::1;::::0;;;;;;;;;88377:9;;88353:93;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;88353:93:0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;88353:93:0::1;;::::0;::::1;;;::::0;;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;88353:93:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;23:1:-1::1;8:100;33:3;30:1;27:10;8:100;;;90:11:::0;;::::1;84:18:::0;71:11;;::::1;64:39:::0;52:2:::1;45:10;8:100;;;12:14;88353:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88233:221:::0;;:::o;87959:213::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;88038:17:::1;:9;88050:5:::0;;88038:17:::1;:::i;95348:203::-:0;73820:19;73828:10;73820:7;:19::i;:::-;73812:78;;;;-1:-1:-1;;;73812:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95447:20:0;::::1;;::::0;;;:6:::1;:20;::::0;;;;;:30;;-1:-1:-1;;95447:30:0::1;::::0;::::1;;::::0;;::::1;::::0;;;95495:48;;95532:10:::1;::::0;95447:30;;95495:48:::1;::::0;::::1;95348:203:::0;;:::o;97514:219::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;97609:21:::1;:60:::0;;-1:-1:-1;;;;;;97609:60:0::1;;-1:-1:-1::0;;;;;97609:60:0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;97685:40:::1;::::0;::::1;::::0;-1:-1:-1;;97685:40:0::1;97514:219:::0;:::o;83968:157::-;-1:-1:-1;;;;;84088:19:0;;;84061:7;84088:19;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;83968:157::o;88954:124::-;-1:-1:-1;;;;;89050:20:0;89026:4;89050:20;;;:6;:20;;;;;;;;;88954:124::o;71956:117::-;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;72037:28:::1;72056:8;72037:18;:28::i;97798:177::-:0;71052:9;:7;:9::i;:::-;71044:54;;;;;-1:-1:-1;;;71044:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;71044:54:0;;;;;;;;;;;;;;;97881:15:::1;:42:::0;;-1:-1:-1;;;;;;97881:42:0::1;-1:-1:-1::0;;;;;97881:42:0;::::1;::::0;;::::1;::::0;;;97939:28:::1;::::0;::::1;::::0;-1:-1:-1;;97939:28:0::1;97798:177:::0;:::o;96411:264::-;96543:9;96538:130;96558:25;;;96538:130;;;96605:51;96625:14;;96640:1;96625:17;;;;;;;;;;;;;-1:-1:-1;;;;;96625:17:0;96644:8;;96653:1;96644:11;;;;;;;;;;;;;96605:19;:51::i;:::-;96585:3;;96538:130;;86581:357;-1:-1:-1;;;;;86686:20:0;;86678:69;;;;-1:-1:-1;;;86678:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;86766:22:0;;86758:69;;;;-1:-1:-1;;;86758:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;86840:19:0;;;;;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;:39;;;86895:35;;;;;;;;;;;;;;;;;86581:357;;;:::o;75256:181::-;75314:7;75346:5;;;75370:6;;;;75362:46;;;;;-1:-1:-1;;;75362:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;75712:136;75770:7;75797:43;75801:1;75804;75797:43;;;;;;;;;;;;;;;;;:3;:43::i;68488:203::-;68560:4;-1:-1:-1;;;;;68585:21:0;;68577:68;;;;-1:-1:-1;;;68577:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;68663:20:0;:11;:20;;;;;;;;;;;;;;;68488:203::o;85042:502::-;-1:-1:-1;;;;;85142:19:0;;85134:69;;;;-1:-1:-1;;;85134:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;85222:17:0;;85214:65;;;;-1:-1:-1;;;85214:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85292:41;85313:5;85320:3;85325:7;85292:20;:41::i;:::-;85365:71;85386:7;85365:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;85365:16:0;;;;;;:9;:16;;;;;;;:71;;:20;:71;:::i;:::-;-1:-1:-1;;;;;85346:16:0;;;;;;;:9;:16;;;;;;:90;;;;85464:14;;;;;;;:27;;85483:7;85464:27;:18;:27;:::i;:::-;-1:-1:-1;;;;;85447:14:0;;;;;;;:9;:14;;;;;;;;;:44;;;;85507:29;;;;;;;85447:14;;85507:29;;;;;;;;;;;;;85042:502;;;:::o;76143:192::-;76229:7;76265:12;76257:6;;;;76249:29;;;;-1:-1:-1;;;76249:29: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;76249:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;76301:5:0;;;76143:192::o;85600:413::-;-1:-1:-1;;;;;85690:26:0;;85682:70;;;;;-1:-1:-1;;;85682:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;85765:55;85794:1;85798:12;85812:7;85765:20;:55::i;:::-;85848:12;;:25;;85865:7;85848:25;:16;:25;:::i;:::-;85833:12;:40;-1:-1:-1;;;;;85910:23:0;;;;;;:9;:23;;;;;;:36;;85938:7;85910:36;:27;:36;:::i;:::-;-1:-1:-1;;;;;85884:23:0;;;;;;:9;:23;;;;;;;;:62;;;;85962:43;;;;;;;85884:23;;;;85962:43;;;;;;;;;;85600:413;;:::o;67952:178::-;68030:18;68034:4;68040:7;68030:3;:18::i;:::-;68029:19;68021:63;;;;;-1:-1:-1;;;68021:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;68095:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;68095:27:0;68118:4;68095:27;;;67952:178::o;69545:106::-;69633:10;69545:106;:::o;68210:183::-;68290:18;68294:4;68300:7;68290:3;:18::i;:::-;68282:64;;;;-1:-1:-1;;;68282:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;68357:20:0;68380:5;68357:20;;;;;;;;;;;:28;;-1:-1:-1;;68357:28:0;;;68210:183::o;86069:453::-;-1:-1:-1;;;;;86159:26:0;;86151:72;;;;-1:-1:-1;;;86151:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86236:55;86257:12;86279:1;86283:7;86236:20;:55::i;:::-;86330:74;86358:7;86330:74;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;86330:23:0;;;;;;:9;:23;;;;;;;:74;;:27;:74;:::i;:::-;-1:-1:-1;;;;;86304:23:0;;;;;;:9;:23;;;;;:100;86430:12;;:25;;86447:7;86430:25;:16;:25;:::i;:::-;86415:12;:40;86471:43;;;;;;;;86502:1;;-1:-1:-1;;;;;86471:43:0;;;;;;;;;;;;86069:453;;:::o;72179:237::-;-1:-1:-1;;;;;72261:22:0;;72253:73;;;;-1:-1:-1;;;72253:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72363:6;;;72342:38;;-1:-1:-1;;;;;72342:38:0;;;;72363:6;;;72342:38;;;72391:6;:17;;-1:-1:-1;;;;;;72391:17:0;-1:-1:-1;;;;;72391:17:0;;;;;;;;;;72179:237::o;87009:95::-;;;;:::o;80891:18900::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;80891:18900:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80891:18900:0;;;-1:-1:-1;80891:18900:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://7e7b5a97eb73750499b4df6281cb690d53527af91066669fcb56c035578c6beb
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.