Source Code
Overview
ETH Balance
ETH Value
$0.00| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 28233521 | 31 hrs ago | 0 ETH | ||||
| 28229015 | 34 hrs ago | 0 ETH | ||||
| 28220026 | 40 hrs ago | 0 ETH | ||||
| 28198635 | 2 days ago | 0 ETH | ||||
| 28192788 | 2 days ago | 0 ETH | ||||
| 28190905 | 2 days ago | 0 ETH | ||||
| 28178809 | 2 days ago | 0 ETH | ||||
| 28171407 | 2 days ago | 0 ETH | ||||
| 28156862 | 3 days ago | 0 ETH | ||||
| 28115891 | 4 days ago | 0 ETH | ||||
| 28106297 | 4 days ago | 0 ETH | ||||
| 28098182 | 4 days ago | 0 ETH | ||||
| 28096429 | 4 days ago | 0 ETH | ||||
| 28047898 | 5 days ago | 0 ETH | ||||
| 28015323 | 6 days ago | 0 ETH | ||||
| 28014124 | 6 days ago | 0 ETH | ||||
| 28013885 | 6 days ago | 0 ETH | ||||
| 28011945 | 6 days ago | 0 ETH | ||||
| 27997813 | 6 days ago | 0 ETH | ||||
| 27996879 | 6 days ago | 0 ETH | ||||
| 27985834 | 7 days ago | 0 ETH | ||||
| 27985754 | 7 days ago | 0 ETH | ||||
| 27955575 | 7 days ago | 0 ETH | ||||
| 27951732 | 7 days ago | 0 ETH | ||||
| 27935046 | 8 days ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
GitcoinAttester
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL
pragma solidity ^0.8.9;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import { AttestationRequest, AttestationRequestData, IEAS, Attestation, MultiAttestationRequest, MultiRevocationRequest } from "@ethereum-attestation-service/eas-contracts/contracts/IEAS.sol";
/**
* @title GitcoinAttester
* @dev A contract that allows a Verifier contract to add passport information for users using Ethereum Attestation Service.
*/
contract GitcoinAttester is UUPSUpgradeable, OwnableUpgradeable, PausableUpgradeable {
// An allow-list of Verifiers that are authorized and trusted to call the submitAttestations function.
mapping(address => bool) public verifiers;
// The instance of the EAS contract.
IEAS public eas;
// Emitted when a verifier is added to the allow-list.
event VerifierAdded(address verifier);
// Emitted when a verifier is removed from the allow-list.
event VerifierRemoved(address verifier);
// Emitted when the EAS contract is set.
event EASSet(address eas);
function initialize() public initializer {
__Ownable_init();
__Pausable_init();
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function _authorizeUpgrade(address) internal override onlyOwner {}
/**
* @dev Adds a verifier to the allow-list.
* @param _verifier The address of the verifier to add.
*/
function addVerifier(address _verifier) public onlyOwner {
require(!verifiers[_verifier], "Verifier already added");
verifiers[_verifier] = true;
emit VerifierAdded(_verifier);
}
/**
* @dev Removes a verifier from the allow-list.
* @param _verifier The address of the verifier to remove.
*/
function removeVerifier(address _verifier) public onlyOwner {
require(verifiers[_verifier], "Verifier does not exist");
verifiers[_verifier] = false;
emit VerifierRemoved(_verifier);
}
/**
* @dev Sets the address of the EAS contract.
* @param _easContractAddress The address of the EAS contract.
*/
function setEASAddress(address _easContractAddress) public onlyOwner {
eas = IEAS(_easContractAddress);
emit EASSet(_easContractAddress);
}
/**
* @dev Adds passport information for a user using EAS
* @param multiAttestationRequest An array of `MultiAttestationRequest` structures containing the user's passport information.
*/
function submitAttestations(
MultiAttestationRequest[] calldata multiAttestationRequest
) public payable whenNotPaused returns (bytes32[] memory) {
require(
verifiers[msg.sender],
"Only authorized verifiers can call this function"
);
return eas.multiAttest(multiAttestationRequest);
}
/**
* @dev Revoke attestations by schema and uid
* @param multiRevocationRequest An array of `MultiRevocationRequest` structures containing the attestations to revoke.
*/
function revokeAttestations(
MultiRevocationRequest[] calldata multiRevocationRequest
) public payable whenNotPaused {
require(verifiers[msg.sender] || msg.sender == owner(), "Only authorized verifiers or owner can call this function");
eas.multiRevoke(multiRevocationRequest);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// A representation of an empty/uninitialized UID.
bytes32 constant EMPTY_UID = 0;
// A zero expiration represents an non-expiring attestation.
uint64 constant NO_EXPIRATION_TIME = 0;
error AccessDenied();
error DeadlineExpired();
error InvalidEAS();
error InvalidLength();
error InvalidSignature();
error NotFound();
/// @notice A struct representing ECDSA signature data.
struct Signature {
uint8 v; // The recovery ID.
bytes32 r; // The x-coordinate of the nonce R.
bytes32 s; // The signature data.
}
/// @notice A struct representing a single attestation.
struct Attestation {
bytes32 uid; // A unique identifier of the attestation.
bytes32 schema; // The unique identifier of the schema.
uint64 time; // The time when the attestation was created (Unix timestamp).
uint64 expirationTime; // The time when the attestation expires (Unix timestamp).
uint64 revocationTime; // The time when the attestation was revoked (Unix timestamp).
bytes32 refUID; // The UID of the related attestation.
address recipient; // The recipient of the attestation.
address attester; // The attester/sender of the attestation.
bool revocable; // Whether the attestation is revocable.
bytes data; // Custom attestation data.
}
/// @notice A helper function to work with unchecked iterators in loops.
function uncheckedInc(uint256 i) pure returns (uint256 j) {
unchecked {
j = i + 1;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { ISchemaRegistry } from "./ISchemaRegistry.sol";
import { Attestation, Signature } from "./Common.sol";
/// @notice A struct representing the arguments of the attestation request.
struct AttestationRequestData {
address recipient; // The recipient of the attestation.
uint64 expirationTime; // The time when the attestation expires (Unix timestamp).
bool revocable; // Whether the attestation is revocable.
bytes32 refUID; // The UID of the related attestation.
bytes data; // Custom attestation data.
uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.
}
/// @notice A struct representing the full arguments of the attestation request.
struct AttestationRequest {
bytes32 schema; // The unique identifier of the schema.
AttestationRequestData data; // The arguments of the attestation request.
}
/// @notice A struct representing the full arguments of the full delegated attestation request.
struct DelegatedAttestationRequest {
bytes32 schema; // The unique identifier of the schema.
AttestationRequestData data; // The arguments of the attestation request.
Signature signature; // The ECDSA signature data.
address attester; // The attesting account.
uint64 deadline; // The deadline of the signature/request.
}
/// @notice A struct representing the full arguments of the multi attestation request.
struct MultiAttestationRequest {
bytes32 schema; // The unique identifier of the schema.
AttestationRequestData[] data; // The arguments of the attestation request.
}
/// @notice A struct representing the full arguments of the delegated multi attestation request.
struct MultiDelegatedAttestationRequest {
bytes32 schema; // The unique identifier of the schema.
AttestationRequestData[] data; // The arguments of the attestation requests.
Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.
address attester; // The attesting account.
uint64 deadline; // The deadline of the signature/request.
}
/// @notice A struct representing the arguments of the revocation request.
struct RevocationRequestData {
bytes32 uid; // The UID of the attestation to revoke.
uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.
}
/// @notice A struct representing the full arguments of the revocation request.
struct RevocationRequest {
bytes32 schema; // The unique identifier of the schema.
RevocationRequestData data; // The arguments of the revocation request.
}
/// @notice A struct representing the arguments of the full delegated revocation request.
struct DelegatedRevocationRequest {
bytes32 schema; // The unique identifier of the schema.
RevocationRequestData data; // The arguments of the revocation request.
Signature signature; // The ECDSA signature data.
address revoker; // The revoking account.
uint64 deadline; // The deadline of the signature/request.
}
/// @notice A struct representing the full arguments of the multi revocation request.
struct MultiRevocationRequest {
bytes32 schema; // The unique identifier of the schema.
RevocationRequestData[] data; // The arguments of the revocation request.
}
/// @notice A struct representing the full arguments of the delegated multi revocation request.
struct MultiDelegatedRevocationRequest {
bytes32 schema; // The unique identifier of the schema.
RevocationRequestData[] data; // The arguments of the revocation requests.
Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.
address revoker; // The revoking account.
uint64 deadline; // The deadline of the signature/request.
}
/// @title IEAS
/// @notice EAS - Ethereum Attestation Service interface.
interface IEAS {
/// @notice Emitted when an attestation has been made.
/// @param recipient The recipient of the attestation.
/// @param attester The attesting account.
/// @param uid The UID the revoked attestation.
/// @param schemaUID The UID of the schema.
event Attested(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);
/// @notice Emitted when an attestation has been revoked.
/// @param recipient The recipient of the attestation.
/// @param attester The attesting account.
/// @param schemaUID The UID of the schema.
/// @param uid The UID the revoked attestation.
event Revoked(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);
/// @notice Emitted when a data has been timestamped.
/// @param data The data.
/// @param timestamp The timestamp.
event Timestamped(bytes32 indexed data, uint64 indexed timestamp);
/// @notice Emitted when a data has been revoked.
/// @param revoker The address of the revoker.
/// @param data The data.
/// @param timestamp The timestamp.
event RevokedOffchain(address indexed revoker, bytes32 indexed data, uint64 indexed timestamp);
/// @notice Returns the address of the global schema registry.
/// @return The address of the global schema registry.
function getSchemaRegistry() external view returns (ISchemaRegistry);
/// @notice Attests to a specific schema.
/// @param request The arguments of the attestation request.
/// @return The UID of the new attestation.
///
/// Example:
/// attest({
/// schema: "0facc36681cbe2456019c1b0d1e7bedd6d1d40f6f324bf3dd3a4cef2999200a0",
/// data: {
/// recipient: "0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf",
/// expirationTime: 0,
/// revocable: true,
/// refUID: "0x0000000000000000000000000000000000000000000000000000000000000000",
/// data: "0xF00D",
/// value: 0
/// }
/// })
function attest(AttestationRequest calldata request) external payable returns (bytes32);
/// @notice Attests to a specific schema via the provided ECDSA signature.
/// @param delegatedRequest The arguments of the delegated attestation request.
/// @return The UID of the new attestation.
///
/// Example:
/// attestByDelegation({
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: {
/// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
/// expirationTime: 1673891048,
/// revocable: true,
/// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',
/// data: '0x1234',
/// value: 0
/// },
/// signature: {
/// v: 28,
/// r: '0x148c...b25b',
/// s: '0x5a72...be22'
/// },
/// attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e',
/// deadline: 1673891048
/// })
function attestByDelegation(
DelegatedAttestationRequest calldata delegatedRequest
) external payable returns (bytes32);
/// @notice Attests to multiple schemas.
/// @param multiRequests The arguments of the multi attestation requests. The requests should be grouped by distinct
/// schema ids to benefit from the best batching optimization.
/// @return The UIDs of the new attestations.
///
/// Example:
/// multiAttest([{
/// schema: '0x33e9094830a5cba5554d1954310e4fbed2ef5f859ec1404619adea4207f391fd',
/// data: [{
/// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',
/// expirationTime: 1673891048,
/// revocable: true,
/// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',
/// data: '0x1234',
/// value: 1000
/// },
/// {
/// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
/// expirationTime: 0,
/// revocable: false,
/// refUID: '0x480df4a039efc31b11bfdf491b383ca138b6bde160988222a2a3509c02cee174',
/// data: '0x00',
/// value: 0
/// }],
/// },
/// {
/// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',
/// data: [{
/// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',
/// expirationTime: 0,
/// revocable: true,
/// refUID: '0x75bf2ed8dca25a8190c50c52db136664de25b2449535839008ccfdab469b214f',
/// data: '0x12345678',
/// value: 0
/// },
/// }])
function multiAttest(MultiAttestationRequest[] calldata multiRequests) external payable returns (bytes32[] memory);
/// @notice Attests to multiple schemas using via provided ECDSA signatures.
/// @param multiDelegatedRequests The arguments of the delegated multi attestation requests. The requests should be
/// grouped by distinct schema ids to benefit from the best batching optimization.
/// @return The UIDs of the new attestations.
///
/// Example:
/// multiAttestByDelegation([{
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: [{
/// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
/// expirationTime: 1673891048,
/// revocable: true,
/// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',
/// data: '0x1234',
/// value: 0
/// },
/// {
/// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',
/// expirationTime: 0,
/// revocable: false,
/// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',
/// data: '0x00',
/// value: 0
/// }],
/// signatures: [{
/// v: 28,
/// r: '0x148c...b25b',
/// s: '0x5a72...be22'
/// },
/// {
/// v: 28,
/// r: '0x487s...67bb',
/// s: '0x12ad...2366'
/// }],
/// attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4',
/// deadline: 1673891048
/// }])
function multiAttestByDelegation(
MultiDelegatedAttestationRequest[] calldata multiDelegatedRequests
) external payable returns (bytes32[] memory);
/// @notice Revokes an existing attestation to a specific schema.
/// @param request The arguments of the revocation request.
///
/// Example:
/// revoke({
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: {
/// uid: '0x101032e487642ee04ee17049f99a70590c735b8614079fc9275f9dd57c00966d',
/// value: 0
/// }
/// })
function revoke(RevocationRequest calldata request) external payable;
/// @notice Revokes an existing attestation to a specific schema via the provided ECDSA signature.
/// @param delegatedRequest The arguments of the delegated revocation request.
///
/// Example:
/// revokeByDelegation({
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: {
/// uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba',
/// value: 0
/// },
/// signature: {
/// v: 27,
/// r: '0xb593...7142',
/// s: '0x0f5b...2cce'
/// },
/// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',
/// deadline: 1673891048
/// })
function revokeByDelegation(DelegatedRevocationRequest calldata delegatedRequest) external payable;
/// @notice Revokes existing attestations to multiple schemas.
/// @param multiRequests The arguments of the multi revocation requests. The requests should be grouped by distinct
/// schema ids to benefit from the best batching optimization.
///
/// Example:
/// multiRevoke([{
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: [{
/// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',
/// value: 1000
/// },
/// {
/// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',
/// value: 0
/// }],
/// },
/// {
/// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',
/// data: [{
/// uid: '0x053d42abce1fd7c8fcddfae21845ad34dae287b2c326220b03ba241bc5a8f019',
/// value: 0
/// },
/// }])
function multiRevoke(MultiRevocationRequest[] calldata multiRequests) external payable;
/// @notice Revokes existing attestations to multiple schemas via provided ECDSA signatures.
/// @param multiDelegatedRequests The arguments of the delegated multi revocation attestation requests. The requests
/// should be grouped by distinct schema ids to benefit from the best batching optimization.
///
/// Example:
/// multiRevokeByDelegation([{
/// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',
/// data: [{
/// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',
/// value: 1000
/// },
/// {
/// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',
/// value: 0
/// }],
/// signatures: [{
/// v: 28,
/// r: '0x148c...b25b',
/// s: '0x5a72...be22'
/// },
/// {
/// v: 28,
/// r: '0x487s...67bb',
/// s: '0x12ad...2366'
/// }],
/// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',
/// deadline: 1673891048
/// }])
function multiRevokeByDelegation(
MultiDelegatedRevocationRequest[] calldata multiDelegatedRequests
) external payable;
/// @notice Timestamps the specified bytes32 data.
/// @param data The data to timestamp.
/// @return The timestamp the data was timestamped with.
function timestamp(bytes32 data) external returns (uint64);
/// @notice Timestamps the specified multiple bytes32 data.
/// @param data The data to timestamp.
/// @return The timestamp the data was timestamped with.
function multiTimestamp(bytes32[] calldata data) external returns (uint64);
/// @notice Revokes the specified bytes32 data.
/// @param data The data to timestamp.
/// @return The timestamp the data was revoked with.
function revokeOffchain(bytes32 data) external returns (uint64);
/// @notice Revokes the specified multiple bytes32 data.
/// @param data The data to timestamp.
/// @return The timestamp the data was revoked with.
function multiRevokeOffchain(bytes32[] calldata data) external returns (uint64);
/// @notice Returns an existing attestation by UID.
/// @param uid The UID of the attestation to retrieve.
/// @return The attestation data members.
function getAttestation(bytes32 uid) external view returns (Attestation memory);
/// @notice Checks whether an attestation exists.
/// @param uid The UID of the attestation to retrieve.
/// @return Whether an attestation exists.
function isAttestationValid(bytes32 uid) external view returns (bool);
/// @notice Returns the timestamp that the specified data was timestamped with.
/// @param data The data to query.
/// @return The timestamp the data was timestamped with.
function getTimestamp(bytes32 data) external view returns (uint64);
/// @notice Returns the timestamp that the specified data was timestamped with.
/// @param data The data to query.
/// @return The timestamp the data was timestamped with.
function getRevokeOffchain(address revoker, bytes32 data) external view returns (uint64);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { ISchemaResolver } from "./resolver/ISchemaResolver.sol";
/// @notice A struct representing a record for a submitted schema.
struct SchemaRecord {
bytes32 uid; // The unique identifier of the schema.
ISchemaResolver resolver; // Optional schema resolver.
bool revocable; // Whether the schema allows revocations explicitly.
string schema; // Custom specification of the schema (e.g., an ABI).
}
/// @title ISchemaRegistry
/// @notice The interface of global attestation schemas for the Ethereum Attestation Service protocol.
interface ISchemaRegistry {
/// @notice Emitted when a new schema has been registered
/// @param uid The schema UID.
/// @param registerer The address of the account used to register the schema.
/// @param schema The schema data.
event Registered(bytes32 indexed uid, address indexed registerer, SchemaRecord schema);
/// @notice Submits and reserves a new schema
/// @param schema The schema data schema.
/// @param resolver An optional schema resolver.
/// @param revocable Whether the schema allows revocations explicitly.
/// @return The UID of the new schema.
function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32);
/// @notice Returns an existing schema by UID
/// @param uid The UID of the schema to retrieve.
/// @return The schema data members.
function getSchema(bytes32 uid) external view returns (SchemaRecord memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { Attestation } from "../Common.sol";
/// @title ISchemaResolver
/// @notice The interface of an optional schema resolver.
interface ISchemaResolver {
/// @notice Checks if the resolver can be sent ETH.
/// @return Whether the resolver supports ETH transfers.
function isPayable() external pure returns (bool);
/// @notice Processes an attestation and verifies whether it's valid.
/// @param attestation The new attestation.
/// @return Whether the attestation is valid.
function attest(Attestation calldata attestation) external payable returns (bool);
/// @notice Processes multiple attestations and verifies whether they are valid.
/// @param attestations The new attestations.
/// @param values Explicit ETH amounts which were sent with each attestation.
/// @return Whether all the attestations are valid.
function multiAttest(
Attestation[] calldata attestations,
uint256[] calldata values
) external payable returns (bool);
/// @notice Processes an attestation revocation and verifies if it can be revoked.
/// @param attestation The existing attestation to be revoked.
/// @return Whether the attestation can be revoked.
function revoke(Attestation calldata attestation) external payable returns (bool);
/// @notice Processes revocation of multiple attestation and verifies they can be revoked.
/// @param attestations The existing attestations to be revoked.
/// @param values Explicit ETH amounts which were sent with each revocation.
/// @return Whether the attestations can be revoked.
function multiRevoke(
Attestation[] calldata attestations,
uint256[] calldata values
) external payable returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @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.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* 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.
*/
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
function __Ownable_init() internal onlyInitializing {
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal onlyInitializing {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(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 {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/AddressUpgradeable.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```solidity
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
*
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
* @custom:oz-retyped-from bool
*/
uint8 private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint8 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
* constructor.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
bool isTopLevelCall = !_initializing;
require(
(isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
"Initializable: contract is already initialized"
);
_initialized = 1;
if (isTopLevelCall) {
_initializing = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: setting the version to 255 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint8 version) {
require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
_initialized = version;
_initializing = true;
_;
_initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
require(_initializing, "Initializable: contract is not initializing");
_;
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
require(!_initializing, "Initializable: contract is initializing");
if (_initialized != type(uint8).max) {
_initialized = type(uint8).max;
emit Initialized(type(uint8).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint8) {
return _initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _initializing;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract PausableUpgradeable is Initializable, ContextUpgradeable {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
function __Pausable_init() internal onlyInitializing {
__Pausable_init_unchained();
}
function __Pausable_init_unchained() internal onlyInitializing {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract ContextUpgradeable is Initializable {
function __Context_init() internal onlyInitializing {
}
function __Context_init_unchained() internal onlyInitializing {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)
pragma solidity ^0.8.0;
/**
* @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
* proxy whose upgrades are fully controlled by the current implementation.
*/
interface IERC1822Proxiable {
/**
* @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
* address.
*
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
* function revert if invoked through a proxy.
*/
function proxiableUUID() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)
pragma solidity ^0.8.0;
/**
* @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
*
* _Available since v4.8.3._
*/
interface IERC1967 {
/**
* @dev Emitted when the implementation is upgraded.
*/
event Upgraded(address indexed implementation);
/**
* @dev Emitted when the admin account has changed.
*/
event AdminChanged(address previousAdmin, address newAdmin);
/**
* @dev Emitted when the beacon is changed.
*/
event BeaconUpgraded(address indexed beacon);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)
pragma solidity ^0.8.0;
/**
* @dev This is the interface that {BeaconProxy} expects of its beacon.
*/
interface IBeacon {
/**
* @dev Must return an address that can be used as a delegate call target.
*
* {BeaconProxy} will check that this address is a contract.
*/
function implementation() external view returns (address);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)
pragma solidity ^0.8.2;
import "../beacon/IBeacon.sol";
import "../../interfaces/IERC1967.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";
/**
* @dev This abstract contract provides getters and event emitting update functions for
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
*
* _Available since v4.1._
*/
abstract contract ERC1967Upgrade is IERC1967 {
// This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;
/**
* @dev Storage slot with the address of the current implementation.
* This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
* validated in the constructor.
*/
bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
/**
* @dev Returns the current implementation address.
*/
function _getImplementation() internal view returns (address) {
return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 implementation slot.
*/
function _setImplementation(address newImplementation) private {
require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
}
/**
* @dev Perform implementation upgrade
*
* Emits an {Upgraded} event.
*/
function _upgradeTo(address newImplementation) internal {
_setImplementation(newImplementation);
emit Upgraded(newImplementation);
}
/**
* @dev Perform implementation upgrade with additional setup call.
*
* Emits an {Upgraded} event.
*/
function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
_upgradeTo(newImplementation);
if (data.length > 0 || forceCall) {
Address.functionDelegateCall(newImplementation, data);
}
}
/**
* @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
*
* Emits an {Upgraded} event.
*/
function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {
// Upgrades from old implementations will perform a rollback test. This test requires the new
// implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
// this special case will break upgrade paths from old UUPS implementation to new ones.
if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
_setImplementation(newImplementation);
} else {
try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
} catch {
revert("ERC1967Upgrade: new implementation is not UUPS");
}
_upgradeToAndCall(newImplementation, data, forceCall);
}
}
/**
* @dev Storage slot with the admin of the contract.
* This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
* validated in the constructor.
*/
bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
/**
* @dev Returns the current admin.
*/
function _getAdmin() internal view returns (address) {
return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 admin slot.
*/
function _setAdmin(address newAdmin) private {
require(newAdmin != address(0), "ERC1967: new admin is the zero address");
StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
}
/**
* @dev Changes the admin of the proxy.
*
* Emits an {AdminChanged} event.
*/
function _changeAdmin(address newAdmin) internal {
emit AdminChanged(_getAdmin(), newAdmin);
_setAdmin(newAdmin);
}
/**
* @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
* This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
*/
bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;
/**
* @dev Returns the current beacon.
*/
function _getBeacon() internal view returns (address) {
return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
}
/**
* @dev Stores a new beacon in the EIP1967 beacon slot.
*/
function _setBeacon(address newBeacon) private {
require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
require(
Address.isContract(IBeacon(newBeacon).implementation()),
"ERC1967: beacon implementation is not a contract"
);
StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
}
/**
* @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
* not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
*
* Emits a {BeaconUpgraded} event.
*/
function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
_setBeacon(newBeacon);
emit BeaconUpgraded(newBeacon);
if (data.length > 0 || forceCall) {
Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)
pragma solidity ^0.8.0;
import "../../interfaces/draft-IERC1822.sol";
import "../ERC1967/ERC1967Upgrade.sol";
/**
* @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
* {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
*
* A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
* reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
* `UUPSUpgradeable` with a custom implementation of upgrades.
*
* The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
*
* _Available since v4.1._
*/
abstract contract UUPSUpgradeable is IERC1822Proxiable, ERC1967Upgrade {
/// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
address private immutable __self = address(this);
/**
* @dev Check that the execution is being performed through a delegatecall call and that the execution context is
* a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
* for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
* function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
* fail.
*/
modifier onlyProxy() {
require(address(this) != __self, "Function must be called through delegatecall");
require(_getImplementation() == __self, "Function must be called through active proxy");
_;
}
/**
* @dev Check that the execution is not being performed through a delegate call. This allows a function to be
* callable on the implementing contract but not through proxies.
*/
modifier notDelegated() {
require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
_;
}
/**
* @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
* implementation. It is used to validate the implementation's compatibility when performing an upgrade.
*
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
* function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
*/
function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
return _IMPLEMENTATION_SLOT;
}
/**
* @dev Upgrade the implementation of the proxy to `newImplementation`.
*
* Calls {_authorizeUpgrade}.
*
* Emits an {Upgraded} event.
*
* @custom:oz-upgrades-unsafe-allow-reachable delegatecall
*/
function upgradeTo(address newImplementation) public virtual onlyProxy {
_authorizeUpgrade(newImplementation);
_upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
}
/**
* @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
* encoded in `data`.
*
* Calls {_authorizeUpgrade}.
*
* Emits an {Upgraded} event.
*
* @custom:oz-upgrades-unsafe-allow-reachable delegatecall
*/
function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
_authorizeUpgrade(newImplementation);
_upgradeToAndCallUUPS(newImplementation, data, true);
}
/**
* @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
* {upgradeTo} and {upgradeToAndCall}.
*
* Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
*
* ```solidity
* function _authorizeUpgrade(address) internal override onlyOwner {}
* ```
*/
function _authorizeUpgrade(address newImplementation) internal virtual;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.0;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*
* _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
* _Available since v4.9 for `string`, `bytes`._
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
/**
* @dev Returns an `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"eas","type":"address"}],"name":"EASSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"verifier","type":"address"}],"name":"VerifierAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"verifier","type":"address"}],"name":"VerifierRemoved","type":"event"},{"inputs":[{"internalType":"address","name":"_verifier","type":"address"}],"name":"addVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eas","outputs":[{"internalType":"contract IEAS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_verifier","type":"address"}],"name":"removeVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"schema","type":"bytes32"},{"components":[{"internalType":"bytes32","name":"uid","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct RevocationRequestData[]","name":"data","type":"tuple[]"}],"internalType":"struct MultiRevocationRequest[]","name":"multiRevocationRequest","type":"tuple[]"}],"name":"revokeAttestations","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_easContractAddress","type":"address"}],"name":"setEASAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"schema","type":"bytes32"},{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint64","name":"expirationTime","type":"uint64"},{"internalType":"bool","name":"revocable","type":"bool"},{"internalType":"bytes32","name":"refUID","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct AttestationRequestData[]","name":"data","type":"tuple[]"}],"internalType":"struct MultiAttestationRequest[]","name":"multiAttestationRequest","type":"tuple[]"}],"name":"submitAttestations","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"verifiers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004357600080fd5b5060805161315061007b6000396000818161037f0152818161040d015281816107c00152818161084e01526108fe01526131506000f3fe6080604052600436106100fe5760003560e01c8063715018a6116100955780638da5cb5b116100645780638da5cb5b146102ae5780639000b3d6146102d9578063ca2dfd0a14610302578063d2ae372c1461032b578063f2fde38b14610354576100fe565b8063715018a61461023e5780638129fc1c146102555780638150864d1461026c5780638456cb5914610297576100fe565b80634f1ef286116100d15780634f1ef2861461018f57806352d1902d146101ab5780635c975abb146101d65780636c82448714610201576100fe565b80633659cfe6146101035780633702dfd91461012c5780633addb5b1146101485780633f4ba83a14610178575b600080fd5b34801561010f57600080fd5b5061012a60048036038101906101259190611865565b61037d565b005b610146600480360381019061014191906118f7565b610505565b005b610162600480360381019061015d919061199a565b610669565b60405161016f9190611aaf565b60405180910390f35b34801561018457600080fd5b5061018d6107ac565b005b6101a960048036038101906101a49190611c12565b6107be565b005b3480156101b757600080fd5b506101c06108fa565b6040516101cd9190611c7d565b60405180910390f35b3480156101e257600080fd5b506101eb6109b3565b6040516101f89190611cb3565b60405180910390f35b34801561020d57600080fd5b5061022860048036038101906102239190611865565b6109ca565b6040516102359190611cb3565b60405180910390f35b34801561024a57600080fd5b506102536109ea565b005b34801561026157600080fd5b5061026a6109fe565b005b34801561027857600080fd5b50610281610b44565b60405161028e9190611d2d565b60405180910390f35b3480156102a357600080fd5b506102ac610b6a565b005b3480156102ba57600080fd5b506102c3610b7c565b6040516102d09190611d57565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190611865565b610ba6565b005b34801561030e57600080fd5b5061032960048036038101906103249190611865565b610ccd565b005b34801561033757600080fd5b50610352600480360381019061034d9190611865565b610df3565b005b34801561036057600080fd5b5061037b60048036038101906103769190611865565b610e76565b005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361040b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040290611df5565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661044a610ef9565b73ffffffffffffffffffffffffffffffffffffffff16146104a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049790611e87565b60405180910390fd5b6104a981610f50565b61050281600067ffffffffffffffff8111156104c8576104c7611ae7565b5b6040519080825280601f01601f1916602001820160405280156104fa5781602001600182028036833780820191505090505b506000610f5b565b50565b61050d6110c9565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806105975750610568610b7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cd90611f19565b60405180910390fd5b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634cb7e9e583836040518363ffffffff1660e01b8152600401610633929190612258565b600060405180830381600087803b15801561064d57600080fd5b505af1158015610661573d6000803e3d6000fd5b505050505050565b60606106736110c9565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f6906122ee565b60405180910390fd5b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344adc90e84846040518363ffffffff1660e01b815260040161075c9291906127aa565b6000604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906107a491906128a6565b905092915050565b6107b4611113565b6107bc611191565b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390611df5565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661088b610ef9565b73ffffffffffffffffffffffffffffffffffffffff16146108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d890611e87565b60405180910390fd5b6108ea82610f50565b6108f682826001610f5b565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161461098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190612961565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6000606560009054906101000a900460ff16905090565b60976020528060005260406000206000915054906101000a900460ff1681565b6109f2611113565b6109fc60006111f4565b565b60008060019054906101000a900460ff16159050808015610a2f5750600160008054906101000a900460ff1660ff16105b80610a5c5750610a3e306112ba565b158015610a5b5750600160008054906101000a900460ff1660ff16145b5b610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a92906129f3565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610ad8576001600060016101000a81548160ff0219169083151502179055505b610ae06112dd565b610ae8611336565b8015610b415760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610b389190612a5b565b60405180910390a15b50565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b72611113565b610b7a61138f565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610bae611113565b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3290612ac2565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f6d05492139c5ea989514a5d2150c028041e5c087e2a39967f67dc7d2655adb8181604051610cc29190611d57565b60405180910390a150565b610cd5611113565b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890612b2e565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f44a3cd4eb5cc5748f6169df057b1cb2ae4c383e87cd94663c430e095d4cba42481604051610de89190611d57565b60405180910390a150565b610dfb611113565b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f663afa59423b5a718ce16629b25a640a45cf2f149146e62347cfc12b5a49b39f81604051610e6b9190611d57565b60405180910390a150565b610e7e611113565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490612bc0565b60405180910390fd5b610ef6816111f4565b50565b6000610f277f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6113f2565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f58611113565b50565b610f877f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6113fc565b60000160009054906101000a900460ff1615610fab57610fa683611406565b6110c4565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561101357506040513d601f19601f820116820180604052508101906110109190612be0565b60015b611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990612c7f565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b81146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90612d11565b60405180910390fd5b506110c38383836114bf565b5b505050565b6110d16109b3565b15611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890612d7d565b60405180910390fd5b565b61111b6114eb565b73ffffffffffffffffffffffffffffffffffffffff16611139610b7c565b73ffffffffffffffffffffffffffffffffffffffff161461118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612de9565b60405180910390fd5b565b6111996114f3565b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6111dd6114eb565b6040516111ea9190611d57565b60405180910390a1565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff1661132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390612e7b565b60405180910390fd5b61133461153c565b565b600060019054906101000a900460ff16611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90612e7b565b60405180910390fd5b61138d61159d565b565b6113976110c9565b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113db6114eb565b6040516113e89190611d57565b60405180910390a1565b6000819050919050565b6000819050919050565b61140f81611609565b61144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590612f0d565b60405180910390fd5b8061147b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6113f2565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114c88361162c565b6000825111806114d55750805b156114e6576114e4838361167b565b505b505050565b600033905090565b6114fb6109b3565b61153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190612f79565b60405180910390fd5b565b600060019054906101000a900460ff1661158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290612e7b565b60405180910390fd5b61159b6115966114eb565b6111f4565b565b600060019054906101000a900460ff166115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390612e7b565b60405180910390fd5b6000606560006101000a81548160ff021916908315150217905550565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61163581611406565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606116a083836040518060600160405280602781526020016130f4602791396116a8565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516116d2919061300a565b600060405180830381855af49150503d806000811461170d576040519150601f19603f3d011682016040523d82523d6000602084013e611712565b606091505b50915091506117238683838761172e565b925050509392505050565b606083156117905760008351036117885761174885611609565b611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e9061306d565b60405180910390fd5b5b82905061179b565b61179a83836117a3565b5b949350505050565b6000825111156117b65781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea91906130d1565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061183282611807565b9050919050565b61184281611827565b811461184d57600080fd5b50565b60008135905061185f81611839565b92915050565b60006020828403121561187b5761187a6117fd565b5b600061188984828501611850565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126118b7576118b6611892565b5b8235905067ffffffffffffffff8111156118d4576118d3611897565b5b6020830191508360208202830111156118f0576118ef61189c565b5b9250929050565b6000806020838503121561190e5761190d6117fd565b5b600083013567ffffffffffffffff81111561192c5761192b611802565b5b611938858286016118a1565b92509250509250929050565b60008083601f84011261195a57611959611892565b5b8235905067ffffffffffffffff81111561197757611976611897565b5b6020830191508360208202830111156119935761199261189c565b5b9250929050565b600080602083850312156119b1576119b06117fd565b5b600083013567ffffffffffffffff8111156119cf576119ce611802565b5b6119db85828601611944565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b611a2681611a13565b82525050565b6000611a388383611a1d565b60208301905092915050565b6000602082019050919050565b6000611a5c826119e7565b611a6681856119f2565b9350611a7183611a03565b8060005b83811015611aa2578151611a898882611a2c565b9750611a9483611a44565b925050600181019050611a75565b5085935050505092915050565b60006020820190508181036000830152611ac98184611a51565b905092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b1f82611ad6565b810181811067ffffffffffffffff82111715611b3e57611b3d611ae7565b5b80604052505050565b6000611b516117f3565b9050611b5d8282611b16565b919050565b600067ffffffffffffffff821115611b7d57611b7c611ae7565b5b611b8682611ad6565b9050602081019050919050565b82818337600083830152505050565b6000611bb5611bb084611b62565b611b47565b905082815260208101848484011115611bd157611bd0611ad1565b5b611bdc848285611b93565b509392505050565b600082601f830112611bf957611bf8611892565b5b8135611c09848260208601611ba2565b91505092915050565b60008060408385031215611c2957611c286117fd565b5b6000611c3785828601611850565b925050602083013567ffffffffffffffff811115611c5857611c57611802565b5b611c6485828601611be4565b9150509250929050565b611c7781611a13565b82525050565b6000602082019050611c926000830184611c6e565b92915050565b60008115159050919050565b611cad81611c98565b82525050565b6000602082019050611cc86000830184611ca4565b92915050565b6000819050919050565b6000611cf3611cee611ce984611807565b611cce565b611807565b9050919050565b6000611d0582611cd8565b9050919050565b6000611d1782611cfa565b9050919050565b611d2781611d0c565b82525050565b6000602082019050611d426000830184611d1e565b92915050565b611d5181611827565b82525050565b6000602082019050611d6c6000830184611d48565b92915050565b600082825260208201905092915050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b6000611ddf602c83611d72565b9150611dea82611d83565b604082019050919050565b60006020820190508181036000830152611e0e81611dd2565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b6000611e71602c83611d72565b9150611e7c82611e15565b604082019050919050565b60006020820190508181036000830152611ea081611e64565b9050919050565b7f4f6e6c7920617574686f72697a656420766572696669657273206f72206f776e60008201527f65722063616e2063616c6c20746869732066756e6374696f6e00000000000000602082015250565b6000611f03603983611d72565b9150611f0e82611ea7565b604082019050919050565b60006020820190508181036000830152611f3281611ef6565b9050919050565b600082825260208201905092915050565b6000819050919050565b611f5d81611a13565b8114611f6857600080fd5b50565b600081359050611f7a81611f54565b92915050565b6000611f8f6020840184611f6b565b905092915050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112611fc357611fc2611fa1565b5b83810192508235915060208301925067ffffffffffffffff821115611feb57611fea611f97565b5b60408202360383131561200157612000611f9c565b5b509250929050565b600082825260208201905092915050565b6000819050919050565b6000819050919050565b61203781612024565b811461204257600080fd5b50565b6000813590506120548161202e565b92915050565b60006120696020840184612045565b905092915050565b61207a81612024565b82525050565b604082016120916000830183611f80565b61209e6000850182611a1d565b506120ac602083018361205a565b6120b96020850182612071565b50505050565b60006120cb8383612080565b60408301905092915050565b600082905092915050565b6000604082019050919050565b60006120fb8385612009565b93506121068261201a565b8060005b8581101561213f5761211c82846120d7565b61212688826120bf565b9750612131836120e2565b92505060018101905061210a565b5085925050509392505050565b60006040830161215f6000840184611f80565b61216c6000860182611a1d565b5061217a6020840184611fa6565b858303602087015261218d8382846120ef565b925050508091505092915050565b60006121a7838361214c565b905092915050565b6000823560016040038336030381126121cb576121ca611fa1565b5b82810191505092915050565b6000602082019050919050565b60006121f08385611f39565b93508360208402850161220284611f4a565b8060005b8781101561224657848403895261221d82846121af565b612227858261219b565b9450612232836121d7565b925060208a01995050600181019050612206565b50829750879450505050509392505050565b600060208201905081810360008301526122738184866121e4565b90509392505050565b7f4f6e6c7920617574686f72697a6564207665726966696572732063616e20636160008201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b60006122d8603083611d72565b91506122e38261227c565b604082019050919050565b60006020820190508181036000830152612307816122cb565b9050919050565b600082825260208201905092915050565b6000819050919050565b6000808335600160200384360303811261234657612345611fa1565b5b83810192508235915060208301925067ffffffffffffffff82111561236e5761236d611f97565b5b60208202360383131561238457612383611f9c565b5b509250929050565b600082825260208201905092915050565b6000819050919050565b60006123b66020840184611850565b905092915050565b6123c781611827565b82525050565b600067ffffffffffffffff82169050919050565b6123ea816123cd565b81146123f557600080fd5b50565b600081359050612407816123e1565b92915050565b600061241c60208401846123f8565b905092915050565b61242d816123cd565b82525050565b61243c81611c98565b811461244757600080fd5b50565b60008135905061245981612433565b92915050565b600061246e602084018461244a565b905092915050565b61247f81611c98565b82525050565b600080833560016020038436030381126124a2576124a1611fa1565b5b83810192508235915060208301925067ffffffffffffffff8211156124ca576124c9611f97565b5b6001820236038313156124e0576124df611f9c565b5b509250929050565b600082825260208201905092915050565b600061250583856124e8565b9350612512838584611b93565b61251b83611ad6565b840190509392505050565b600060c0830161253960008401846123a7565b61254660008601826123be565b50612554602084018461240d565b6125616020860182612424565b5061256f604084018461245f565b61257c6040860182612476565b5061258a6060840184611f80565b6125976060860182611a1d565b506125a56080840184612485565b85830360808701526125b88382846124f9565b925050506125c960a084018461205a565b6125d660a0860182612071565b508091505092915050565b60006125ed8383612526565b905092915050565b60008235600160c00383360303811261261157612610611fa1565b5b82810191505092915050565b6000602082019050919050565b6000612636838561238c565b9350836020840285016126488461239d565b8060005b8781101561268c57848403895261266382846125f5565b61266d85826125e1565b94506126788361261d565b925060208a0199505060018101905061264c565b50829750879450505050509392505050565b6000604083016126b16000840184611f80565b6126be6000860182611a1d565b506126cc6020840184612329565b85830360208701526126df83828461262a565b925050508091505092915050565b60006126f9838361269e565b905092915050565b60008235600160400383360303811261271d5761271c611fa1565b5b82810191505092915050565b6000602082019050919050565b6000612742838561230e565b9350836020840285016127548461231f565b8060005b8781101561279857848403895261276f8284612701565b61277985826126ed565b945061278483612729565b925060208a01995050600181019050612758565b50829750879450505050509392505050565b600060208201905081810360008301526127c5818486612736565b90509392505050565b600067ffffffffffffffff8211156127e9576127e8611ae7565b5b602082029050602081019050919050565b60008151905061280981611f54565b92915050565b600061282261281d846127ce565b611b47565b905080838252602082019050602084028301858111156128455761284461189c565b5b835b8181101561286e578061285a88826127fa565b845260208401935050602081019050612847565b5050509392505050565b600082601f83011261288d5761288c611892565b5b815161289d84826020860161280f565b91505092915050565b6000602082840312156128bc576128bb6117fd565b5b600082015167ffffffffffffffff8111156128da576128d9611802565b5b6128e684828501612878565b91505092915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061294b603883611d72565b9150612956826128ef565b604082019050919050565b6000602082019050818103600083015261297a8161293e565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006129dd602e83611d72565b91506129e882612981565b604082019050919050565b60006020820190508181036000830152612a0c816129d0565b9050919050565b6000819050919050565b600060ff82169050919050565b6000612a45612a40612a3b84612a13565b611cce565b612a1d565b9050919050565b612a5581612a2a565b82525050565b6000602082019050612a706000830184612a4c565b92915050565b7f566572696669657220616c726561647920616464656400000000000000000000600082015250565b6000612aac601683611d72565b9150612ab782612a76565b602082019050919050565b60006020820190508181036000830152612adb81612a9f565b9050919050565b7f566572696669657220646f6573206e6f74206578697374000000000000000000600082015250565b6000612b18601783611d72565b9150612b2382612ae2565b602082019050919050565b60006020820190508181036000830152612b4781612b0b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612baa602683611d72565b9150612bb582612b4e565b604082019050919050565b60006020820190508181036000830152612bd981612b9d565b9050919050565b600060208284031215612bf657612bf56117fd565b5b6000612c04848285016127fa565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000612c69602e83611d72565b9150612c7482612c0d565b604082019050919050565b60006020820190508181036000830152612c9881612c5c565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000612cfb602983611d72565b9150612d0682612c9f565b604082019050919050565b60006020820190508181036000830152612d2a81612cee565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612d67601083611d72565b9150612d7282612d31565b602082019050919050565b60006020820190508181036000830152612d9681612d5a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612dd3602083611d72565b9150612dde82612d9d565b602082019050919050565b60006020820190508181036000830152612e0281612dc6565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000612e65602b83611d72565b9150612e7082612e09565b604082019050919050565b60006020820190508181036000830152612e9481612e58565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000612ef7602d83611d72565b9150612f0282612e9b565b604082019050919050565b60006020820190508181036000830152612f2681612eea565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612f63601483611d72565b9150612f6e82612f2d565b602082019050919050565b60006020820190508181036000830152612f9281612f56565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612fcd578082015181840152602081019050612fb2565b60008484015250505050565b6000612fe482612f99565b612fee8185612fa4565b9350612ffe818560208601612faf565b80840191505092915050565b60006130168284612fd9565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613057601d83611d72565b915061306282613021565b602082019050919050565b600060208201905081810360008301526130868161304a565b9050919050565b600081519050919050565b60006130a38261308d565b6130ad8185611d72565b93506130bd818560208601612faf565b6130c681611ad6565b840191505092915050565b600060208201905081810360008301526130eb8184613098565b90509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220005d01a006c47980e74acfe3165fcfac945d7cd46ed306fb0d351b9b64da9c7064736f6c63430008130033
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c8063715018a6116100955780638da5cb5b116100645780638da5cb5b146102ae5780639000b3d6146102d9578063ca2dfd0a14610302578063d2ae372c1461032b578063f2fde38b14610354576100fe565b8063715018a61461023e5780638129fc1c146102555780638150864d1461026c5780638456cb5914610297576100fe565b80634f1ef286116100d15780634f1ef2861461018f57806352d1902d146101ab5780635c975abb146101d65780636c82448714610201576100fe565b80633659cfe6146101035780633702dfd91461012c5780633addb5b1146101485780633f4ba83a14610178575b600080fd5b34801561010f57600080fd5b5061012a60048036038101906101259190611865565b61037d565b005b610146600480360381019061014191906118f7565b610505565b005b610162600480360381019061015d919061199a565b610669565b60405161016f9190611aaf565b60405180910390f35b34801561018457600080fd5b5061018d6107ac565b005b6101a960048036038101906101a49190611c12565b6107be565b005b3480156101b757600080fd5b506101c06108fa565b6040516101cd9190611c7d565b60405180910390f35b3480156101e257600080fd5b506101eb6109b3565b6040516101f89190611cb3565b60405180910390f35b34801561020d57600080fd5b5061022860048036038101906102239190611865565b6109ca565b6040516102359190611cb3565b60405180910390f35b34801561024a57600080fd5b506102536109ea565b005b34801561026157600080fd5b5061026a6109fe565b005b34801561027857600080fd5b50610281610b44565b60405161028e9190611d2d565b60405180910390f35b3480156102a357600080fd5b506102ac610b6a565b005b3480156102ba57600080fd5b506102c3610b7c565b6040516102d09190611d57565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190611865565b610ba6565b005b34801561030e57600080fd5b5061032960048036038101906103249190611865565b610ccd565b005b34801561033757600080fd5b50610352600480360381019061034d9190611865565b610df3565b005b34801561036057600080fd5b5061037b60048036038101906103769190611865565b610e76565b005b7f0000000000000000000000008a0d8fb8c26e972090382ae6965cc839fee6c1a573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361040b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040290611df5565b60405180910390fd5b7f0000000000000000000000008a0d8fb8c26e972090382ae6965cc839fee6c1a573ffffffffffffffffffffffffffffffffffffffff1661044a610ef9565b73ffffffffffffffffffffffffffffffffffffffff16146104a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049790611e87565b60405180910390fd5b6104a981610f50565b61050281600067ffffffffffffffff8111156104c8576104c7611ae7565b5b6040519080825280601f01601f1916602001820160405280156104fa5781602001600182028036833780820191505090505b506000610f5b565b50565b61050d6110c9565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806105975750610568610b7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cd90611f19565b60405180910390fd5b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634cb7e9e583836040518363ffffffff1660e01b8152600401610633929190612258565b600060405180830381600087803b15801561064d57600080fd5b505af1158015610661573d6000803e3d6000fd5b505050505050565b60606106736110c9565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f6906122ee565b60405180910390fd5b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344adc90e84846040518363ffffffff1660e01b815260040161075c9291906127aa565b6000604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906107a491906128a6565b905092915050565b6107b4611113565b6107bc611191565b565b7f0000000000000000000000008a0d8fb8c26e972090382ae6965cc839fee6c1a573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390611df5565b60405180910390fd5b7f0000000000000000000000008a0d8fb8c26e972090382ae6965cc839fee6c1a573ffffffffffffffffffffffffffffffffffffffff1661088b610ef9565b73ffffffffffffffffffffffffffffffffffffffff16146108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d890611e87565b60405180910390fd5b6108ea82610f50565b6108f682826001610f5b565b5050565b60007f0000000000000000000000008a0d8fb8c26e972090382ae6965cc839fee6c1a573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161461098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190612961565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6000606560009054906101000a900460ff16905090565b60976020528060005260406000206000915054906101000a900460ff1681565b6109f2611113565b6109fc60006111f4565b565b60008060019054906101000a900460ff16159050808015610a2f5750600160008054906101000a900460ff1660ff16105b80610a5c5750610a3e306112ba565b158015610a5b5750600160008054906101000a900460ff1660ff16145b5b610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a92906129f3565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610ad8576001600060016101000a81548160ff0219169083151502179055505b610ae06112dd565b610ae8611336565b8015610b415760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610b389190612a5b565b60405180910390a15b50565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b72611113565b610b7a61138f565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610bae611113565b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3290612ac2565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f6d05492139c5ea989514a5d2150c028041e5c087e2a39967f67dc7d2655adb8181604051610cc29190611d57565b60405180910390a150565b610cd5611113565b609760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890612b2e565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f44a3cd4eb5cc5748f6169df057b1cb2ae4c383e87cd94663c430e095d4cba42481604051610de89190611d57565b60405180910390a150565b610dfb611113565b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f663afa59423b5a718ce16629b25a640a45cf2f149146e62347cfc12b5a49b39f81604051610e6b9190611d57565b60405180910390a150565b610e7e611113565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490612bc0565b60405180910390fd5b610ef6816111f4565b50565b6000610f277f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6113f2565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f58611113565b50565b610f877f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6113fc565b60000160009054906101000a900460ff1615610fab57610fa683611406565b6110c4565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561101357506040513d601f19601f820116820180604052508101906110109190612be0565b60015b611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990612c7f565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b81146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90612d11565b60405180910390fd5b506110c38383836114bf565b5b505050565b6110d16109b3565b15611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890612d7d565b60405180910390fd5b565b61111b6114eb565b73ffffffffffffffffffffffffffffffffffffffff16611139610b7c565b73ffffffffffffffffffffffffffffffffffffffff161461118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612de9565b60405180910390fd5b565b6111996114f3565b6000606560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6111dd6114eb565b6040516111ea9190611d57565b60405180910390a1565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff1661132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390612e7b565b60405180910390fd5b61133461153c565b565b600060019054906101000a900460ff16611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90612e7b565b60405180910390fd5b61138d61159d565b565b6113976110c9565b6001606560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113db6114eb565b6040516113e89190611d57565b60405180910390a1565b6000819050919050565b6000819050919050565b61140f81611609565b61144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590612f0d565b60405180910390fd5b8061147b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6113f2565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114c88361162c565b6000825111806114d55750805b156114e6576114e4838361167b565b505b505050565b600033905090565b6114fb6109b3565b61153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190612f79565b60405180910390fd5b565b600060019054906101000a900460ff1661158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290612e7b565b60405180910390fd5b61159b6115966114eb565b6111f4565b565b600060019054906101000a900460ff166115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390612e7b565b60405180910390fd5b6000606560006101000a81548160ff021916908315150217905550565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61163581611406565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606116a083836040518060600160405280602781526020016130f4602791396116a8565b905092915050565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516116d2919061300a565b600060405180830381855af49150503d806000811461170d576040519150601f19603f3d011682016040523d82523d6000602084013e611712565b606091505b50915091506117238683838761172e565b925050509392505050565b606083156117905760008351036117885761174885611609565b611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e9061306d565b60405180910390fd5b5b82905061179b565b61179a83836117a3565b5b949350505050565b6000825111156117b65781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea91906130d1565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061183282611807565b9050919050565b61184281611827565b811461184d57600080fd5b50565b60008135905061185f81611839565b92915050565b60006020828403121561187b5761187a6117fd565b5b600061188984828501611850565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126118b7576118b6611892565b5b8235905067ffffffffffffffff8111156118d4576118d3611897565b5b6020830191508360208202830111156118f0576118ef61189c565b5b9250929050565b6000806020838503121561190e5761190d6117fd565b5b600083013567ffffffffffffffff81111561192c5761192b611802565b5b611938858286016118a1565b92509250509250929050565b60008083601f84011261195a57611959611892565b5b8235905067ffffffffffffffff81111561197757611976611897565b5b6020830191508360208202830111156119935761199261189c565b5b9250929050565b600080602083850312156119b1576119b06117fd565b5b600083013567ffffffffffffffff8111156119cf576119ce611802565b5b6119db85828601611944565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b611a2681611a13565b82525050565b6000611a388383611a1d565b60208301905092915050565b6000602082019050919050565b6000611a5c826119e7565b611a6681856119f2565b9350611a7183611a03565b8060005b83811015611aa2578151611a898882611a2c565b9750611a9483611a44565b925050600181019050611a75565b5085935050505092915050565b60006020820190508181036000830152611ac98184611a51565b905092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b1f82611ad6565b810181811067ffffffffffffffff82111715611b3e57611b3d611ae7565b5b80604052505050565b6000611b516117f3565b9050611b5d8282611b16565b919050565b600067ffffffffffffffff821115611b7d57611b7c611ae7565b5b611b8682611ad6565b9050602081019050919050565b82818337600083830152505050565b6000611bb5611bb084611b62565b611b47565b905082815260208101848484011115611bd157611bd0611ad1565b5b611bdc848285611b93565b509392505050565b600082601f830112611bf957611bf8611892565b5b8135611c09848260208601611ba2565b91505092915050565b60008060408385031215611c2957611c286117fd565b5b6000611c3785828601611850565b925050602083013567ffffffffffffffff811115611c5857611c57611802565b5b611c6485828601611be4565b9150509250929050565b611c7781611a13565b82525050565b6000602082019050611c926000830184611c6e565b92915050565b60008115159050919050565b611cad81611c98565b82525050565b6000602082019050611cc86000830184611ca4565b92915050565b6000819050919050565b6000611cf3611cee611ce984611807565b611cce565b611807565b9050919050565b6000611d0582611cd8565b9050919050565b6000611d1782611cfa565b9050919050565b611d2781611d0c565b82525050565b6000602082019050611d426000830184611d1e565b92915050565b611d5181611827565b82525050565b6000602082019050611d6c6000830184611d48565b92915050565b600082825260208201905092915050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b6000611ddf602c83611d72565b9150611dea82611d83565b604082019050919050565b60006020820190508181036000830152611e0e81611dd2565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b6000611e71602c83611d72565b9150611e7c82611e15565b604082019050919050565b60006020820190508181036000830152611ea081611e64565b9050919050565b7f4f6e6c7920617574686f72697a656420766572696669657273206f72206f776e60008201527f65722063616e2063616c6c20746869732066756e6374696f6e00000000000000602082015250565b6000611f03603983611d72565b9150611f0e82611ea7565b604082019050919050565b60006020820190508181036000830152611f3281611ef6565b9050919050565b600082825260208201905092915050565b6000819050919050565b611f5d81611a13565b8114611f6857600080fd5b50565b600081359050611f7a81611f54565b92915050565b6000611f8f6020840184611f6b565b905092915050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112611fc357611fc2611fa1565b5b83810192508235915060208301925067ffffffffffffffff821115611feb57611fea611f97565b5b60408202360383131561200157612000611f9c565b5b509250929050565b600082825260208201905092915050565b6000819050919050565b6000819050919050565b61203781612024565b811461204257600080fd5b50565b6000813590506120548161202e565b92915050565b60006120696020840184612045565b905092915050565b61207a81612024565b82525050565b604082016120916000830183611f80565b61209e6000850182611a1d565b506120ac602083018361205a565b6120b96020850182612071565b50505050565b60006120cb8383612080565b60408301905092915050565b600082905092915050565b6000604082019050919050565b60006120fb8385612009565b93506121068261201a565b8060005b8581101561213f5761211c82846120d7565b61212688826120bf565b9750612131836120e2565b92505060018101905061210a565b5085925050509392505050565b60006040830161215f6000840184611f80565b61216c6000860182611a1d565b5061217a6020840184611fa6565b858303602087015261218d8382846120ef565b925050508091505092915050565b60006121a7838361214c565b905092915050565b6000823560016040038336030381126121cb576121ca611fa1565b5b82810191505092915050565b6000602082019050919050565b60006121f08385611f39565b93508360208402850161220284611f4a565b8060005b8781101561224657848403895261221d82846121af565b612227858261219b565b9450612232836121d7565b925060208a01995050600181019050612206565b50829750879450505050509392505050565b600060208201905081810360008301526122738184866121e4565b90509392505050565b7f4f6e6c7920617574686f72697a6564207665726966696572732063616e20636160008201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b60006122d8603083611d72565b91506122e38261227c565b604082019050919050565b60006020820190508181036000830152612307816122cb565b9050919050565b600082825260208201905092915050565b6000819050919050565b6000808335600160200384360303811261234657612345611fa1565b5b83810192508235915060208301925067ffffffffffffffff82111561236e5761236d611f97565b5b60208202360383131561238457612383611f9c565b5b509250929050565b600082825260208201905092915050565b6000819050919050565b60006123b66020840184611850565b905092915050565b6123c781611827565b82525050565b600067ffffffffffffffff82169050919050565b6123ea816123cd565b81146123f557600080fd5b50565b600081359050612407816123e1565b92915050565b600061241c60208401846123f8565b905092915050565b61242d816123cd565b82525050565b61243c81611c98565b811461244757600080fd5b50565b60008135905061245981612433565b92915050565b600061246e602084018461244a565b905092915050565b61247f81611c98565b82525050565b600080833560016020038436030381126124a2576124a1611fa1565b5b83810192508235915060208301925067ffffffffffffffff8211156124ca576124c9611f97565b5b6001820236038313156124e0576124df611f9c565b5b509250929050565b600082825260208201905092915050565b600061250583856124e8565b9350612512838584611b93565b61251b83611ad6565b840190509392505050565b600060c0830161253960008401846123a7565b61254660008601826123be565b50612554602084018461240d565b6125616020860182612424565b5061256f604084018461245f565b61257c6040860182612476565b5061258a6060840184611f80565b6125976060860182611a1d565b506125a56080840184612485565b85830360808701526125b88382846124f9565b925050506125c960a084018461205a565b6125d660a0860182612071565b508091505092915050565b60006125ed8383612526565b905092915050565b60008235600160c00383360303811261261157612610611fa1565b5b82810191505092915050565b6000602082019050919050565b6000612636838561238c565b9350836020840285016126488461239d565b8060005b8781101561268c57848403895261266382846125f5565b61266d85826125e1565b94506126788361261d565b925060208a0199505060018101905061264c565b50829750879450505050509392505050565b6000604083016126b16000840184611f80565b6126be6000860182611a1d565b506126cc6020840184612329565b85830360208701526126df83828461262a565b925050508091505092915050565b60006126f9838361269e565b905092915050565b60008235600160400383360303811261271d5761271c611fa1565b5b82810191505092915050565b6000602082019050919050565b6000612742838561230e565b9350836020840285016127548461231f565b8060005b8781101561279857848403895261276f8284612701565b61277985826126ed565b945061278483612729565b925060208a01995050600181019050612758565b50829750879450505050509392505050565b600060208201905081810360008301526127c5818486612736565b90509392505050565b600067ffffffffffffffff8211156127e9576127e8611ae7565b5b602082029050602081019050919050565b60008151905061280981611f54565b92915050565b600061282261281d846127ce565b611b47565b905080838252602082019050602084028301858111156128455761284461189c565b5b835b8181101561286e578061285a88826127fa565b845260208401935050602081019050612847565b5050509392505050565b600082601f83011261288d5761288c611892565b5b815161289d84826020860161280f565b91505092915050565b6000602082840312156128bc576128bb6117fd565b5b600082015167ffffffffffffffff8111156128da576128d9611802565b5b6128e684828501612878565b91505092915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061294b603883611d72565b9150612956826128ef565b604082019050919050565b6000602082019050818103600083015261297a8161293e565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006129dd602e83611d72565b91506129e882612981565b604082019050919050565b60006020820190508181036000830152612a0c816129d0565b9050919050565b6000819050919050565b600060ff82169050919050565b6000612a45612a40612a3b84612a13565b611cce565b612a1d565b9050919050565b612a5581612a2a565b82525050565b6000602082019050612a706000830184612a4c565b92915050565b7f566572696669657220616c726561647920616464656400000000000000000000600082015250565b6000612aac601683611d72565b9150612ab782612a76565b602082019050919050565b60006020820190508181036000830152612adb81612a9f565b9050919050565b7f566572696669657220646f6573206e6f74206578697374000000000000000000600082015250565b6000612b18601783611d72565b9150612b2382612ae2565b602082019050919050565b60006020820190508181036000830152612b4781612b0b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612baa602683611d72565b9150612bb582612b4e565b604082019050919050565b60006020820190508181036000830152612bd981612b9d565b9050919050565b600060208284031215612bf657612bf56117fd565b5b6000612c04848285016127fa565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000612c69602e83611d72565b9150612c7482612c0d565b604082019050919050565b60006020820190508181036000830152612c9881612c5c565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b6000612cfb602983611d72565b9150612d0682612c9f565b604082019050919050565b60006020820190508181036000830152612d2a81612cee565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612d67601083611d72565b9150612d7282612d31565b602082019050919050565b60006020820190508181036000830152612d9681612d5a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612dd3602083611d72565b9150612dde82612d9d565b602082019050919050565b60006020820190508181036000830152612e0281612dc6565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000612e65602b83611d72565b9150612e7082612e09565b604082019050919050565b60006020820190508181036000830152612e9481612e58565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000612ef7602d83611d72565b9150612f0282612e9b565b604082019050919050565b60006020820190508181036000830152612f2681612eea565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612f63601483611d72565b9150612f6e82612f2d565b602082019050919050565b60006020820190508181036000830152612f9281612f56565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612fcd578082015181840152602081019050612fb2565b60008484015250505050565b6000612fe482612f99565b612fee8185612fa4565b9350612ffe818560208601612faf565b80840191505092915050565b60006130168284612fd9565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613057601d83611d72565b915061306282613021565b602082019050919050565b600060208201905081810360008301526130868161304a565b9050919050565b600081519050919050565b60006130a38261308d565b6130ad8185611d72565b93506130bd818560208601612faf565b6130c681611ad6565b840191505092915050565b600060208201905081810360008301526130eb8184613098565b90509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220005d01a006c47980e74acfe3165fcfac945d7cd46ed306fb0d351b9b64da9c7064736f6c63430008130033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.