Feature Tip: Add private address tag to any address under My Name Tag !
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0xac97b685f45867d75b8fe15ee41a33fb6dc01ae2a27491a8aaa153b65bd335db | Approve | (pending) | 8 days ago | IN | 0 ETH | (Pending) | |||
Transfer | 21463535 | 4 hrs ago | IN | 0 ETH | 0.00021692 | ||||
Approve | 21460224 | 15 hrs ago | IN | 0 ETH | 0.00027674 | ||||
Transfer | 21460221 | 15 hrs ago | IN | 0 ETH | 0.00032975 | ||||
Approve | 21460004 | 16 hrs ago | IN | 0 ETH | 0.00015996 | ||||
Transfer | 21458503 | 21 hrs ago | IN | 0 ETH | 0.00054313 | ||||
Transfer | 21457986 | 22 hrs ago | IN | 0 ETH | 0.00038363 | ||||
Transfer | 21457514 | 24 hrs ago | IN | 0 ETH | 0.0002856 | ||||
Transfer | 21457509 | 24 hrs ago | IN | 0 ETH | 0.00030839 | ||||
Transfer | 21457509 | 24 hrs ago | IN | 0 ETH | 0.00041801 | ||||
Approve | 21457486 | 24 hrs ago | IN | 0 ETH | 0.00030903 | ||||
Transfer | 21457063 | 25 hrs ago | IN | 0 ETH | 0.00019835 | ||||
Transfer | 21457063 | 25 hrs ago | IN | 0 ETH | 0.0002967 | ||||
Transfer | 21457063 | 25 hrs ago | IN | 0 ETH | 0.00019835 | ||||
Approve | 21456884 | 26 hrs ago | IN | 0 ETH | 0.00028024 | ||||
Approve | 21455816 | 30 hrs ago | IN | 0 ETH | 0.00036958 | ||||
Transfer | 21454419 | 34 hrs ago | IN | 0 ETH | 0.00030967 | ||||
Transfer | 21452269 | 41 hrs ago | IN | 0 ETH | 0.00044344 | ||||
Transfer | 21452173 | 42 hrs ago | IN | 0 ETH | 0.00045728 | ||||
Approve | 21452157 | 42 hrs ago | IN | 0 ETH | 0.00041712 | ||||
Transfer | 21444471 | 2 days ago | IN | 0 ETH | 0.00168046 | ||||
Transfer | 21436823 | 3 days ago | IN | 0 ETH | 0.00061893 | ||||
Approve | 21435976 | 4 days ago | IN | 0 ETH | 0.000918 | ||||
Transfer | 21434690 | 4 days ago | IN | 0 ETH | 0.00068978 | ||||
Approve | 21433973 | 4 days ago | IN | 0 ETH | 0.00056574 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EdenToken
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IEdenToken.sol"; import "./lib/AccessControl.sol"; /** * @title EdenToken * @dev ERC-20 with minting + add-ons to allow for offchain signing * See EIP-712, EIP-2612, and EIP-3009 for details */ contract EdenToken is AccessControl, IEdenToken { /// @notice EIP-20 token name for this token string public override name = "Eden"; /// @notice EIP-20 token symbol for this token string public override symbol = "EDEN"; /// @notice EIP-20 token decimals for this token uint8 public override constant decimals = 18; /// @notice Total number of tokens in circulation uint256 public override totalSupply; /// @notice Max total supply uint256 public constant override maxSupply = 250_000_000e18; // 250 million /// @notice Minter role bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); /// @notice Address which may change token metadata address public override metadataManager; /// @dev Allowance amounts on behalf of others mapping (address => mapping (address => uint256)) public override allowance; /// @dev Official record of token balanceOf for each account mapping (address => uint256) public override balanceOf; /// @notice The EIP-712 typehash for the contract's domain /// keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)") bytes32 public constant override DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f; /// @notice The EIP-712 version hash /// keccak256("1"); bytes32 public constant override VERSION_HASH = 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6; /// @notice The EIP-712 typehash for permit (EIP-2612) /// keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant override PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; /// @notice The EIP-712 typehash for transferWithAuthorization (EIP-3009) /// keccak256("TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)"); bytes32 public constant override TRANSFER_WITH_AUTHORIZATION_TYPEHASH = 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267; /// @notice The EIP-712 typehash for receiveWithAuthorization (EIP-3009) /// keccak256("ReceiveWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)") bytes32 public constant override RECEIVE_WITH_AUTHORIZATION_TYPEHASH = 0xd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8; /// @notice A record of states for signing / validating signatures mapping (address => uint) public override nonces; /// @dev authorizer address > nonce > state (true = used / false = unused) mapping (address => mapping (bytes32 => bool)) public authorizationState; /** * @notice Construct a new Eden token * @param _admin Default admin role */ constructor(address _admin) { metadataManager = _admin; emit MetadataManagerChanged(address(0), metadataManager); _setupRole(DEFAULT_ADMIN_ROLE, _admin); } /** * @notice Change the metadataManager address * @param newMetadataManager The address of the new metadata manager * @return true if successful */ function setMetadataManager(address newMetadataManager) external override returns (bool) { require(msg.sender == metadataManager, "Eden::setMetadataManager: only MM can change MM"); emit MetadataManagerChanged(metadataManager, newMetadataManager); metadataManager = newMetadataManager; return true; } /** * @notice Mint new tokens * @param dst The address of the destination account * @param amount The number of tokens to be minted * @return Boolean indicating success of mint */ function mint(address dst, uint256 amount) external override returns (bool) { require(hasRole(MINTER_ROLE, msg.sender), "Eden::mint: only minters can mint"); require(totalSupply + amount <= maxSupply, "Eden::mint: exceeds max supply"); require(dst != address(0), "Eden::mint: cannot transfer to the zero address"); totalSupply = totalSupply + amount; balanceOf[dst] = balanceOf[dst] + amount; emit Transfer(address(0), dst, amount); return true; } /** * @notice Burn tokens * @param amount The number of tokens to burn * @return Boolean indicating success of burn */ function burn(uint256 amount) external override returns (bool) { balanceOf[msg.sender] = balanceOf[msg.sender] - amount; totalSupply = totalSupply - amount; emit Transfer(msg.sender, address(0), amount); return true; } /** * @notice Update the token name and symbol * @param tokenName The new name for the token * @param tokenSymbol The new symbol for the token * @return true if successful */ function updateTokenMetadata(string memory tokenName, string memory tokenSymbol) external override returns (bool) { require(msg.sender == metadataManager, "Eden::updateTokenMeta: only MM can update token metadata"); name = tokenName; symbol = tokenSymbol; emit TokenMetaUpdated(name, symbol); return true; } /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * It is recommended to use increaseAllowance and decreaseAllowance instead * @param spender The address of the account which may transfer tokens * @param amount The number of tokens that are approved (2^256-1 means infinite) * @return Whether or not the approval succeeded */ function approve(address spender, uint256 amount) external override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @notice Increase the allowance by a given amount * @param spender Spender's address * @param addedValue Amount of increase in allowance * @return True if successful */ function increaseAllowance(address spender, uint256 addedValue) external override returns (bool) { _approve( msg.sender, spender, allowance[msg.sender][spender] + addedValue ); return true; } /** * @notice Decrease the allowance by a given amount * @param spender Spender's address * @param subtractedValue Amount of decrease in allowance * @return True if successful */ function decreaseAllowance(address spender, uint256 subtractedValue) external override returns (bool) { _approve( msg.sender, spender, allowance[msg.sender][spender] - subtractedValue ); return true; } /** * @notice Triggers an approval from owner to spender * @param owner The address to approve from * @param spender The address to be approved * @param value The number of tokens that are approved (2^256-1 means infinite) * @param deadline The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external override { require(deadline >= block.timestamp, "Eden::permit: signature expired"); bytes32 encodeData = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline)); _validateSignedData(owner, encodeData, v, r, s); _approve(owner, spender, value); } /** * @notice Transfer `amount` tokens from `msg.sender` to `dst` * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transfer(address dst, uint256 amount) external override returns (bool) { _transferTokens(msg.sender, dst, amount); return true; } /** * @notice Transfer `amount` tokens from `src` to `dst` * @param src The address of the source account * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transferFrom(address src, address dst, uint256 amount) external override returns (bool) { address spender = msg.sender; uint256 spenderAllowance = allowance[src][spender]; if (spender != src && spenderAllowance != type(uint256).max) { uint256 newAllowance = spenderAllowance - amount; allowance[src][spender] = newAllowance; emit Approval(src, spender, newAllowance); } _transferTokens(src, dst, amount); return true; } /** * @notice Transfer tokens with a signed authorization * @param from Payer's address (Authorizer) * @param to Payee's address * @param value Amount to be transferred * @param validAfter The time after which this is valid (unix time) * @param validBefore The time before which this is valid (unix time) * @param nonce Unique nonce * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function transferWithAuthorization( address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) external override { require(block.timestamp > validAfter, "Eden::transferWithAuth: auth not yet valid"); require(block.timestamp < validBefore, "Eden::transferWithAuth: auth expired"); require(!authorizationState[from][nonce], "Eden::transferWithAuth: auth already used"); bytes32 encodeData = keccak256(abi.encode(TRANSFER_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce)); _validateSignedData(from, encodeData, v, r, s); authorizationState[from][nonce] = true; emit AuthorizationUsed(from, nonce); _transferTokens(from, to, value); } /** * @notice Receive a transfer with a signed authorization from the payer * @dev This has an additional check to ensure that the payee's address matches * the caller of this function to prevent front-running attacks. * @param from Payer's address (Authorizer) * @param to Payee's address * @param value Amount to be transferred * @param validAfter The time after which this is valid (unix time) * @param validBefore The time before which this is valid (unix time) * @param nonce Unique nonce * @param v v of the signature * @param r r of the signature * @param s s of the signature */ function receiveWithAuthorization( address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s ) external override { require(to == msg.sender, "Eden::receiveWithAuth: caller must be the payee"); require(block.timestamp > validAfter, "Eden::receiveWithAuth: auth not yet valid"); require(block.timestamp < validBefore, "Eden::receiveWithAuth: auth expired"); require(!authorizationState[from][nonce], "Eden::receiveWithAuth: auth already used"); bytes32 encodeData = keccak256(abi.encode(RECEIVE_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce)); _validateSignedData(from, encodeData, v, r, s); authorizationState[from][nonce] = true; emit AuthorizationUsed(from, nonce); _transferTokens(from, to, value); } /** * @notice EIP-712 Domain separator * @return Separator */ function getDomainSeparator() public view override returns (bytes32) { return keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name)), VERSION_HASH, block.chainid, address(this) ) ); } /** * @notice Recovers address from signed data and validates the signature * @param signer Address that signed the data * @param encodeData Data signed by the address * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function _validateSignedData(address signer, bytes32 encodeData, uint8 v, bytes32 r, bytes32 s) internal view { bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", getDomainSeparator(), encodeData ) ); address recoveredAddress = ecrecover(digest, v, r, s); // Explicitly disallow authorizations for address(0) as ecrecover returns address(0) on malformed messages require(recoveredAddress != address(0) && recoveredAddress == signer, "Eden::validateSig: invalid signature"); } /** * @notice Approval implementation * @param owner The address of the account which owns tokens * @param spender The address of the account which may transfer tokens * @param amount The number of tokens that are approved (2^256-1 means infinite) */ function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "Eden::_approve: approve from the zero address"); require(spender != address(0), "Eden::_approve: approve to the zero address"); allowance[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @notice Transfer implementation * @param from The address of the account which owns tokens * @param to The address of the account which is receiving tokens * @param value The number of tokens that are being transferred */ function _transferTokens(address from, address to, uint256 value) internal { require(to != address(0), "Eden::_transferTokens: cannot transfer to the zero address"); balanceOf[from] = balanceOf[from] - value; balanceOf[to] = balanceOf[to] + value; emit Transfer(from, to, value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Burnable is IERC20 { function burn(uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20Metadata.sol"; import "./IERC20Mintable.sol"; import "./IERC20Burnable.sol"; import "./IERC20Permit.sol"; import "./IERC20TransferWithAuth.sol"; import "./IERC20SafeAllowance.sol"; interface IERC20Extended is IERC20Metadata, IERC20Mintable, IERC20Burnable, IERC20Permit, IERC20TransferWithAuth, IERC20SafeAllowance {}
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Mintable is IERC20 { function mint(address dst, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Permit is IERC20 { function getDomainSeparator() external view returns (bytes32); function DOMAIN_TYPEHASH() external view returns (bytes32); function VERSION_HASH() external view returns (bytes32); function PERMIT_TYPEHASH() external view returns (bytes32); function nonces(address) external view returns (uint); function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20SafeAllowance is IERC20 { function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20TransferWithAuth is IERC20 { function transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) external; function receiveWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) external; function TRANSFER_WITH_AUTHORIZATION_TYPEHASH() external view returns (bytes32); function RECEIVE_WITH_AUTHORIZATION_TYPEHASH() external view returns (bytes32); event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20Extended.sol"; interface IEdenToken is IERC20Extended { function maxSupply() external view returns (uint256); function updateTokenMetadata(string memory tokenName, string memory tokenSymbol) external returns (bool); function metadataManager() external view returns (address); function setMetadataManager(address newMetadataManager) external returns (bool); event MetadataManagerChanged(address indexed oldManager, address indexed newManager); event TokenMetaUpdated(string indexed name, string indexed symbol); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../interfaces/IAccessControl.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../interfaces/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "evmVersion": "berlin", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 999999 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldManager","type":"address"},{"indexed":true,"internalType":"address","name":"newManager","type":"address"}],"name":"MetadataManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"name","type":"string"},{"indexed":true,"internalType":"string","name":"symbol","type":"string"}],"name":"TokenMetaUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECEIVE_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"authorizationState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"receiveWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMetadataManager","type":"address"}],"name":"setMetadataManager","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"}],"name":"updateTokenMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600460808190526322b232b760e11b60a090815262000027916001919062000193565b506040805180820190915260048082526322a222a760e11b6020909201918252620000559160029162000193565b503480156200006357600080fd5b5060405162002b9d38038062002b9d833981016040819052620000869162000239565b600480546001600160a01b0319166001600160a01b0383169081179091556040516000907f65e484da94d3a093b70b54f45dda42146a4e7f7f6507a09e39f67ca388987d3e908290a3620000dc600082620000e3565b50620002a8565b620000ef8282620000f3565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000ef576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200014f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001a1906200026b565b90600052602060002090601f016020900481019282620001c5576000855562000210565b82601f10620001e057805160ff191683800117855562000210565b8280016001018555821562000210579182015b8281111562000210578251825591602001919060010190620001f3565b506200021e92915062000222565b5090565b5b808211156200021e576000815560010162000223565b6000602082840312156200024c57600080fd5b81516001600160a01b03811681146200026457600080fd5b9392505050565b600181811c908216806200028057607f821691505b60208210811415620002a257634e487b7160e01b600052602260045260246000fd5b50919050565b6128e580620002b86000396000f3fe608060405234801561001057600080fd5b506004361061025c5760003560e01c80637f2eecc311610145578063d5391393116100bd578063e3ee160e1161008c578063e94a010211610071578063e94a0102146105fe578063ed24911d1461062c578063ef55bec61461063457600080fd5b8063e3ee160e146105d8578063e5442026146105eb57600080fd5b8063d539139314610561578063d547741f14610588578063d5abeb011461059b578063dd62ed3e146105ad57600080fd5b8063a0cc6a6811610114578063a457c2d7116100f9578063a457c2d714610528578063a9059cbb1461053b578063d505accf1461054e57600080fd5b8063a0cc6a68146104f9578063a217fddf1461052057600080fd5b80637f2eecc31461045f57806391d148541461048657806395d89b41146104ca5780639e4e7318146104d257600080fd5b806330adf81f116101d857806340c10f19116101a75780634c9e91a41161018c5780634c9e91a4146103da57806370a082311461041f5780637ecebe001461043f57600080fd5b806340c10f19146103b457806342966c68146103c757600080fd5b806330adf81f1461034d578063313ce5671461037457806336568abe1461038e57806339509351146103a157600080fd5b806318160ddd1161022f57806323b872dd1161021457806323b872dd14610302578063248a9ca3146103155780632f2ff15d1461033857600080fd5b806318160ddd146102c457806320606b70146102db57600080fd5b806301ffc9a71461026157806306fdde0314610289578063095ea7b31461029e578063124cc077146102b1575b600080fd5b61027461026f3660046124bc565b610647565b60405190151581526020015b60405180910390f35b6102916106e0565b6040516102809190612673565b6102746102ac366004612456565b61076e565b6102746102bf3660046122e4565b610784565b6102cd60035481565b604051908152602001610280565b6102cd7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b610274610310366004612332565b6108c5565b6102cd610323366004612480565b60009081526020819052604090206001015490565b61034b610346366004612499565b6109c4565b005b6102cd7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61037c601281565b60405160ff9091168152602001610280565b61034b61039c366004612499565b6109ef565b6102746103af366004612456565b610aa2565b6102746103c2366004612456565b610aeb565b6102746103d5366004612480565b610d7f565b6004546103fa9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610280565b6102cd61042d3660046122e4565b60066020526000908152604090205481565b6102cd61044d3660046122e4565b60076020526000908152604090205481565b6102cd7fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b610274610494366004612499565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b610291610dfb565b6102cd7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc681565b6102cd7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b6102cd600081565b610274610536366004612456565b610e08565b610274610549366004612456565b610e4c565b61034b61055c3660046123ec565b610e59565b6102cd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61034b610596366004612499565b610fa0565b6102cd6acecb8f27f4200f3a00000081565b6102cd6105bb3660046122ff565b600560209081526000928352604080842090915290825290205481565b61034b6105e636600461236e565b610fc6565b6102746105f93660046124fe565b6112d6565b61027461060c366004612456565b600860209081526000928352604080842090915290825290205460ff1681565b6102cd611407565b61034b61064236600461236e565b6114a4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106da57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600180546106ed90612795565b80601f016020809104026020016040519081016040528092919081815260200182805461071990612795565b80156107665780601f1061073b57610100808354040283529160200191610766565b820191906000526020600020905b81548152906001019060200180831161074957829003601f168201915b505050505081565b600061077b3384846117a1565b50600192915050565b60045460009073ffffffffffffffffffffffffffffffffffffffff163314610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a7365744d657461646174614d616e616765723a206f6e6c79204d60448201527f4d2063616e206368616e6765204d4d000000000000000000000000000000000060648201526084015b60405180910390fd5b60045460405173ffffffffffffffffffffffffffffffffffffffff8085169216907f65e484da94d3a093b70b54f45dda42146a4e7f7f6507a09e39f67ca388987d3e90600090a350600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600190565b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083203380855292528220549192909190821480159061092a57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114155b156109ad57600061093b8583612719565b73ffffffffffffffffffffffffffffffffffffffff8881166000818152600560209081526040808320948916808452948252918290208590559051848152939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b6109b8868686611956565b50600195945050505050565b6000828152602081905260409020600101546109e08133611ac8565b6109ea8383611b98565b505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610a94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161082a565b610a9e8282611c88565b5050565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161077b918590610ae69086906126c4565b6117a1565b3360009081527f0781d7cac9c378efa22a7481e4d4d29704a680ddf504b3bc50b517700ee11e6c602052604081205460ff16610ba9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4564656e3a3a6d696e743a206f6e6c79206d696e746572732063616e206d696e60448201527f7400000000000000000000000000000000000000000000000000000000000000606482015260840161082a565b6acecb8f27f4200f3a00000082600354610bc391906126c4565b1115610c2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4564656e3a3a6d696e743a2065786365656473206d617820737570706c790000604482015260640161082a565b73ffffffffffffffffffffffffffffffffffffffff8316610cce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a6d696e743a2063616e6e6f74207472616e7366657220746f207460448201527f6865207a65726f20616464726573730000000000000000000000000000000000606482015260840161082a565b81600354610cdc91906126c4565b60035573ffffffffffffffffffffffffffffffffffffffff8316600090815260066020526040902054610d109083906126c4565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600660205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d6e9086815260200190565b60405180910390a350600192915050565b33600090815260066020526040812054610d9a908390612719565b33600090815260066020526040902055600354610db8908390612719565b60035560405182815260009033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3506001919050565b600280546106ed90612795565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161077b918590610ae6908690612719565b600061077b338484611956565b42841015610ec3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4564656e3a3a7065726d69743a207369676e6174757265206578706972656400604482015260640161082a565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260076020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a919086610f1d836127e9565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050610f8b8882868686611d3f565b610f968888886117a1565b5050505050505050565b600082815260208190526040902060010154610fbc8133611ac8565b6109ea8383611c88565b854211611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4564656e3a3a7472616e7366657257697468417574683a2061757468206e6f7460448201527f207965742076616c696400000000000000000000000000000000000000000000606482015260840161082a565b8442106110e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4564656e3a3a7472616e7366657257697468417574683a20617574682065787060448201527f6972656400000000000000000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260086020908152604080832087845290915290205460ff16156111a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4564656e3a3a7472616e7366657257697468417574683a206175746820616c7260448201527f6561647920757365640000000000000000000000000000000000000000000000606482015260840161082a565b604080517f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267602082015273ffffffffffffffffffffffffffffffffffffffff808c169282019290925290891660608201526080810188905260a0810187905260c0810186905260e08101859052600090610100015b60405160208183030381529060405280519060200120905061123e8a82868686611d3f565b73ffffffffffffffffffffffffffffffffffffffff8a16600081815260086020908152604080832089845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518792917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a36112ca8a8a8a611956565b50505050505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff163314611380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4564656e3a3a757064617465546f6b656e4d6574613a206f6e6c79204d4d206360448201527f616e2075706461746520746f6b656e206d657461646174610000000000000000606482015260840161082a565b8251611393906001906020860190612166565b5081516113a7906002906020850190612166565b5060026040516113b79190612562565b604051809103902060016040516113ce9190612562565b604051908190038120907febb95b1e6f8658c3f6a1f6f59a9bea23721d47f22a69339010082475f7db6b2c90600090a350600192915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b600160405161143c9190612562565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b73ffffffffffffffffffffffffffffffffffffffff88163314611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a7265636569766557697468417574683a2063616c6c6572206d7560448201527f7374206265207468652070617965650000000000000000000000000000000000606482015260840161082a565b8542116115d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4564656e3a3a7265636569766557697468417574683a2061757468206e6f742060448201527f7965742076616c69640000000000000000000000000000000000000000000000606482015260840161082a565b844210611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4564656e3a3a7265636569766557697468417574683a2061757468206578706960448201527f7265640000000000000000000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260086020908152604080832087845290915290205460ff1615611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4564656e3a3a7265636569766557697468417574683a206175746820616c726560448201527f6164792075736564000000000000000000000000000000000000000000000000606482015260840161082a565b604080517fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8602082015273ffffffffffffffffffffffffffffffffffffffff808c169282019290925290891660608201526080810188905260a0810187905260c0810186905260e0810185905260009061010001611219565b73ffffffffffffffffffffffffffffffffffffffff8316611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4564656e3a3a5f617070726f76653a20617070726f76652066726f6d2074686560448201527f207a65726f206164647265737300000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff82166118e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4564656e3a3a5f617070726f76653a20617070726f766520746f20746865207a60448201527f65726f2061646472657373000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166119f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4564656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e7366657220746f20746865207a65726f2061646472657373000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260066020526040902054611a2a908290612719565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600660205260408082209390935590841681522054611a679082906126c4565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526006602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906119499085815260200190565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a9e57611b1e8173ffffffffffffffffffffffffffffffffffffffff166014611f1c565b611b29836020611f1c565b604051602001611b3a9291906125f2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261082a91600401612673565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a9e5760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055611c2a3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610a9e5760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611d49611407565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101869052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015611e0d573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611e8857508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4564656e3a3a76616c69646174655369673a20696e76616c6964207369676e6160448201527f7475726500000000000000000000000000000000000000000000000000000000606482015260840161082a565b50505050505050565b60606000611f2b8360026126dc565b611f369060026126c4565b67ffffffffffffffff811115611f4e57611f4e612880565b6040519080825280601f01601f191660200182016040528015611f78576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611faf57611faf612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061201257612012612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061204e8460026126dc565b6120599060016126c4565b90505b60018111156120f6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061209a5761209a612851565b1a60f81b8282815181106120b0576120b0612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936120ef81612760565b905061205c565b50831561215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161082a565b9392505050565b82805461217290612795565b90600052602060002090601f01602090048101928261219457600085556121da565b82601f106121ad57805160ff19168380011785556121da565b828001600101855582156121da579182015b828111156121da5782518255916020019190600101906121bf565b506121e69291506121ea565b5090565b5b808211156121e657600081556001016121eb565b803573ffffffffffffffffffffffffffffffffffffffff8116811461222357600080fd5b919050565b600082601f83011261223957600080fd5b813567ffffffffffffffff8082111561225457612254612880565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561229a5761229a612880565b816040528381528660208588010111156122b357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff8116811461222357600080fd5b6000602082840312156122f657600080fd5b61215f826121ff565b6000806040838503121561231257600080fd5b61231b836121ff565b9150612329602084016121ff565b90509250929050565b60008060006060848603121561234757600080fd5b612350846121ff565b925061235e602085016121ff565b9150604084013590509250925092565b60008060008060008060008060006101208a8c03121561238d57600080fd5b6123968a6121ff565b98506123a460208b016121ff565b975060408a0135965060608a0135955060808a0135945060a08a013593506123ce60c08b016122d3565b925060e08a013591506101008a013590509295985092959850929598565b600080600080600080600060e0888a03121561240757600080fd5b612410886121ff565b965061241e602089016121ff565b9550604088013594506060880135935061243a608089016122d3565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561246957600080fd5b612472836121ff565b946020939093013593505050565b60006020828403121561249257600080fd5b5035919050565b600080604083850312156124ac57600080fd5b82359150612329602084016121ff565b6000602082840312156124ce57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461215f57600080fd5b6000806040838503121561251157600080fd5b823567ffffffffffffffff8082111561252957600080fd5b61253586838701612228565b9350602085013591508082111561254b57600080fd5b5061255885828601612228565b9150509250929050565b600080835461257081612795565b6001828116801561258857600181146125b7576125e6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416875282870194506125e6565b8760005260208060002060005b858110156125dd5781548a8201529084019082016125c4565b50505082870194505b50929695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161262a816017850160208801612730565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612667816028840160208801612730565b01602801949350505050565b6020815260008251806020840152612692816040850160208701612730565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600082198211156126d7576126d7612822565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561271457612714612822565b500290565b60008282101561272b5761272b612822565b500390565b60005b8381101561274b578181015183820152602001612733565b8381111561275a576000848401525b50505050565b60008161276f5761276f612822565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c908216806127a957607f821691505b602082108114156127e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561281b5761281b612822565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212206f990e8ed327adc04ddddd2b4be0e02e2db5ee4d0f8f69f7d25ec491d0f587df64736f6c63430008060033000000000000000000000000fdf8be775bb5e2ba1983dc7b26a655321502e104
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025c5760003560e01c80637f2eecc311610145578063d5391393116100bd578063e3ee160e1161008c578063e94a010211610071578063e94a0102146105fe578063ed24911d1461062c578063ef55bec61461063457600080fd5b8063e3ee160e146105d8578063e5442026146105eb57600080fd5b8063d539139314610561578063d547741f14610588578063d5abeb011461059b578063dd62ed3e146105ad57600080fd5b8063a0cc6a6811610114578063a457c2d7116100f9578063a457c2d714610528578063a9059cbb1461053b578063d505accf1461054e57600080fd5b8063a0cc6a68146104f9578063a217fddf1461052057600080fd5b80637f2eecc31461045f57806391d148541461048657806395d89b41146104ca5780639e4e7318146104d257600080fd5b806330adf81f116101d857806340c10f19116101a75780634c9e91a41161018c5780634c9e91a4146103da57806370a082311461041f5780637ecebe001461043f57600080fd5b806340c10f19146103b457806342966c68146103c757600080fd5b806330adf81f1461034d578063313ce5671461037457806336568abe1461038e57806339509351146103a157600080fd5b806318160ddd1161022f57806323b872dd1161021457806323b872dd14610302578063248a9ca3146103155780632f2ff15d1461033857600080fd5b806318160ddd146102c457806320606b70146102db57600080fd5b806301ffc9a71461026157806306fdde0314610289578063095ea7b31461029e578063124cc077146102b1575b600080fd5b61027461026f3660046124bc565b610647565b60405190151581526020015b60405180910390f35b6102916106e0565b6040516102809190612673565b6102746102ac366004612456565b61076e565b6102746102bf3660046122e4565b610784565b6102cd60035481565b604051908152602001610280565b6102cd7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b610274610310366004612332565b6108c5565b6102cd610323366004612480565b60009081526020819052604090206001015490565b61034b610346366004612499565b6109c4565b005b6102cd7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61037c601281565b60405160ff9091168152602001610280565b61034b61039c366004612499565b6109ef565b6102746103af366004612456565b610aa2565b6102746103c2366004612456565b610aeb565b6102746103d5366004612480565b610d7f565b6004546103fa9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610280565b6102cd61042d3660046122e4565b60066020526000908152604090205481565b6102cd61044d3660046122e4565b60076020526000908152604090205481565b6102cd7fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b610274610494366004612499565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b610291610dfb565b6102cd7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc681565b6102cd7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b6102cd600081565b610274610536366004612456565b610e08565b610274610549366004612456565b610e4c565b61034b61055c3660046123ec565b610e59565b6102cd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61034b610596366004612499565b610fa0565b6102cd6acecb8f27f4200f3a00000081565b6102cd6105bb3660046122ff565b600560209081526000928352604080842090915290825290205481565b61034b6105e636600461236e565b610fc6565b6102746105f93660046124fe565b6112d6565b61027461060c366004612456565b600860209081526000928352604080842090915290825290205460ff1681565b6102cd611407565b61034b61064236600461236e565b6114a4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106da57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600180546106ed90612795565b80601f016020809104026020016040519081016040528092919081815260200182805461071990612795565b80156107665780601f1061073b57610100808354040283529160200191610766565b820191906000526020600020905b81548152906001019060200180831161074957829003601f168201915b505050505081565b600061077b3384846117a1565b50600192915050565b60045460009073ffffffffffffffffffffffffffffffffffffffff163314610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a7365744d657461646174614d616e616765723a206f6e6c79204d60448201527f4d2063616e206368616e6765204d4d000000000000000000000000000000000060648201526084015b60405180910390fd5b60045460405173ffffffffffffffffffffffffffffffffffffffff8085169216907f65e484da94d3a093b70b54f45dda42146a4e7f7f6507a09e39f67ca388987d3e90600090a350600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600190565b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083203380855292528220549192909190821480159061092a57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114155b156109ad57600061093b8583612719565b73ffffffffffffffffffffffffffffffffffffffff8881166000818152600560209081526040808320948916808452948252918290208590559051848152939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b6109b8868686611956565b50600195945050505050565b6000828152602081905260409020600101546109e08133611ac8565b6109ea8383611b98565b505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610a94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161082a565b610a9e8282611c88565b5050565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161077b918590610ae69086906126c4565b6117a1565b3360009081527f0781d7cac9c378efa22a7481e4d4d29704a680ddf504b3bc50b517700ee11e6c602052604081205460ff16610ba9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4564656e3a3a6d696e743a206f6e6c79206d696e746572732063616e206d696e60448201527f7400000000000000000000000000000000000000000000000000000000000000606482015260840161082a565b6acecb8f27f4200f3a00000082600354610bc391906126c4565b1115610c2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4564656e3a3a6d696e743a2065786365656473206d617820737570706c790000604482015260640161082a565b73ffffffffffffffffffffffffffffffffffffffff8316610cce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a6d696e743a2063616e6e6f74207472616e7366657220746f207460448201527f6865207a65726f20616464726573730000000000000000000000000000000000606482015260840161082a565b81600354610cdc91906126c4565b60035573ffffffffffffffffffffffffffffffffffffffff8316600090815260066020526040902054610d109083906126c4565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600660205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d6e9086815260200190565b60405180910390a350600192915050565b33600090815260066020526040812054610d9a908390612719565b33600090815260066020526040902055600354610db8908390612719565b60035560405182815260009033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3506001919050565b600280546106ed90612795565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161077b918590610ae6908690612719565b600061077b338484611956565b42841015610ec3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4564656e3a3a7065726d69743a207369676e6174757265206578706972656400604482015260640161082a565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260076020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a919086610f1d836127e9565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050610f8b8882868686611d3f565b610f968888886117a1565b5050505050505050565b600082815260208190526040902060010154610fbc8133611ac8565b6109ea8383611c88565b854211611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4564656e3a3a7472616e7366657257697468417574683a2061757468206e6f7460448201527f207965742076616c696400000000000000000000000000000000000000000000606482015260840161082a565b8442106110e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4564656e3a3a7472616e7366657257697468417574683a20617574682065787060448201527f6972656400000000000000000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260086020908152604080832087845290915290205460ff16156111a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4564656e3a3a7472616e7366657257697468417574683a206175746820616c7260448201527f6561647920757365640000000000000000000000000000000000000000000000606482015260840161082a565b604080517f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267602082015273ffffffffffffffffffffffffffffffffffffffff808c169282019290925290891660608201526080810188905260a0810187905260c0810186905260e08101859052600090610100015b60405160208183030381529060405280519060200120905061123e8a82868686611d3f565b73ffffffffffffffffffffffffffffffffffffffff8a16600081815260086020908152604080832089845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518792917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a36112ca8a8a8a611956565b50505050505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff163314611380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4564656e3a3a757064617465546f6b656e4d6574613a206f6e6c79204d4d206360448201527f616e2075706461746520746f6b656e206d657461646174610000000000000000606482015260840161082a565b8251611393906001906020860190612166565b5081516113a7906002906020850190612166565b5060026040516113b79190612562565b604051809103902060016040516113ce9190612562565b604051908190038120907febb95b1e6f8658c3f6a1f6f59a9bea23721d47f22a69339010082475f7db6b2c90600090a350600192915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b600160405161143c9190612562565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b73ffffffffffffffffffffffffffffffffffffffff88163314611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4564656e3a3a7265636569766557697468417574683a2063616c6c6572206d7560448201527f7374206265207468652070617965650000000000000000000000000000000000606482015260840161082a565b8542116115d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4564656e3a3a7265636569766557697468417574683a2061757468206e6f742060448201527f7965742076616c69640000000000000000000000000000000000000000000000606482015260840161082a565b844210611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4564656e3a3a7265636569766557697468417574683a2061757468206578706960448201527f7265640000000000000000000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260086020908152604080832087845290915290205460ff1615611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4564656e3a3a7265636569766557697468417574683a206175746820616c726560448201527f6164792075736564000000000000000000000000000000000000000000000000606482015260840161082a565b604080517fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8602082015273ffffffffffffffffffffffffffffffffffffffff808c169282019290925290891660608201526080810188905260a0810187905260c0810186905260e0810185905260009061010001611219565b73ffffffffffffffffffffffffffffffffffffffff8316611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4564656e3a3a5f617070726f76653a20617070726f76652066726f6d2074686560448201527f207a65726f206164647265737300000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff82166118e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4564656e3a3a5f617070726f76653a20617070726f766520746f20746865207a60448201527f65726f2061646472657373000000000000000000000000000000000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166119f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4564656e3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e7366657220746f20746865207a65726f2061646472657373000000000000606482015260840161082a565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260066020526040902054611a2a908290612719565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600660205260408082209390935590841681522054611a679082906126c4565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526006602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906119499085815260200190565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a9e57611b1e8173ffffffffffffffffffffffffffffffffffffffff166014611f1c565b611b29836020611f1c565b604051602001611b3a9291906125f2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261082a91600401612673565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a9e5760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055611c2a3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610a9e5760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611d49611407565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101869052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015611e0d573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611e8857508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4564656e3a3a76616c69646174655369673a20696e76616c6964207369676e6160448201527f7475726500000000000000000000000000000000000000000000000000000000606482015260840161082a565b50505050505050565b60606000611f2b8360026126dc565b611f369060026126c4565b67ffffffffffffffff811115611f4e57611f4e612880565b6040519080825280601f01601f191660200182016040528015611f78576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611faf57611faf612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061201257612012612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061204e8460026126dc565b6120599060016126c4565b90505b60018111156120f6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061209a5761209a612851565b1a60f81b8282815181106120b0576120b0612851565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936120ef81612760565b905061205c565b50831561215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161082a565b9392505050565b82805461217290612795565b90600052602060002090601f01602090048101928261219457600085556121da565b82601f106121ad57805160ff19168380011785556121da565b828001600101855582156121da579182015b828111156121da5782518255916020019190600101906121bf565b506121e69291506121ea565b5090565b5b808211156121e657600081556001016121eb565b803573ffffffffffffffffffffffffffffffffffffffff8116811461222357600080fd5b919050565b600082601f83011261223957600080fd5b813567ffffffffffffffff8082111561225457612254612880565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561229a5761229a612880565b816040528381528660208588010111156122b357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff8116811461222357600080fd5b6000602082840312156122f657600080fd5b61215f826121ff565b6000806040838503121561231257600080fd5b61231b836121ff565b9150612329602084016121ff565b90509250929050565b60008060006060848603121561234757600080fd5b612350846121ff565b925061235e602085016121ff565b9150604084013590509250925092565b60008060008060008060008060006101208a8c03121561238d57600080fd5b6123968a6121ff565b98506123a460208b016121ff565b975060408a0135965060608a0135955060808a0135945060a08a013593506123ce60c08b016122d3565b925060e08a013591506101008a013590509295985092959850929598565b600080600080600080600060e0888a03121561240757600080fd5b612410886121ff565b965061241e602089016121ff565b9550604088013594506060880135935061243a608089016122d3565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561246957600080fd5b612472836121ff565b946020939093013593505050565b60006020828403121561249257600080fd5b5035919050565b600080604083850312156124ac57600080fd5b82359150612329602084016121ff565b6000602082840312156124ce57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461215f57600080fd5b6000806040838503121561251157600080fd5b823567ffffffffffffffff8082111561252957600080fd5b61253586838701612228565b9350602085013591508082111561254b57600080fd5b5061255885828601612228565b9150509250929050565b600080835461257081612795565b6001828116801561258857600181146125b7576125e6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416875282870194506125e6565b8760005260208060002060005b858110156125dd5781548a8201529084019082016125c4565b50505082870194505b50929695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161262a816017850160208801612730565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612667816028840160208801612730565b01602801949350505050565b6020815260008251806020840152612692816040850160208701612730565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600082198211156126d7576126d7612822565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561271457612714612822565b500290565b60008282101561272b5761272b612822565b500390565b60005b8381101561274b578181015183820152602001612733565b8381111561275a576000848401525b50505050565b60008161276f5761276f612822565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c908216806127a957607f821691505b602082108114156127e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561281b5761281b612822565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212206f990e8ed327adc04ddddd2b4be0e02e2db5ee4d0f8f69f7d25ec491d0f587df64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fdf8be775bb5e2ba1983dc7b26a655321502e104
-----Decoded View---------------
Arg [0] : _admin (address): 0xFDf8BE775bb5e2Ba1983dC7b26A655321502E104
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fdf8be775bb5e2ba1983dc7b26a655321502e104
Loading...
Loading
Loading...
Loading
OVERVIEW
Eden is a priority transaction network that protects traders from frontrunning, aligns incentives for block producers, and redistributes miner extractable value.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.017788 | 32,124.304 | $571.41 |
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.