More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 32,838 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 41299734 | 1 hr ago | IN | 0 ETH | 0.00001202 | ||||
| Transfer | 41299539 | 1 hr ago | IN | 0 ETH | 0.00001395 | ||||
| Transfer | 41299145 | 1 hr ago | IN | 0 ETH | 0.00000033 | ||||
| Transfer | 41298827 | 1 hr ago | IN | 0 ETH | 0.00000022 | ||||
| Transfer | 41298825 | 1 hr ago | IN | 0 ETH | 0.00000057 | ||||
| Transfer | 41296479 | 3 hrs ago | IN | 0 ETH | 0.00001325 | ||||
| Transfer | 41295742 | 3 hrs ago | IN | 0 ETH | 0.00000219 | ||||
| Transfer | 41295249 | 3 hrs ago | IN | 0 ETH | 0.00000168 | ||||
| Transfer | 41295128 | 3 hrs ago | IN | 0 ETH | 0.00001221 | ||||
| Transfer | 41294413 | 4 hrs ago | IN | 0 ETH | 0.00000089 | ||||
| Approve | 41294244 | 4 hrs ago | IN | 0 ETH | 0.00000042 | ||||
| Approve | 41293245 | 4 hrs ago | IN | 0 ETH | 0.00000052 | ||||
| Approve | 41292888 | 5 hrs ago | IN | 0 ETH | 0.00000035 | ||||
| Transfer | 41292208 | 5 hrs ago | IN | 0 ETH | 0.00001438 | ||||
| Transfer | 41291860 | 5 hrs ago | IN | 0 ETH | 0.00001261 | ||||
| Transfer | 41291289 | 5 hrs ago | IN | 0 ETH | 0.00001237 | ||||
| Transfer | 41291215 | 6 hrs ago | IN | 0 ETH | 0.00000191 | ||||
| Transfer | 41290736 | 6 hrs ago | IN | 0 ETH | 0.00000408 | ||||
| Transfer | 41290736 | 6 hrs ago | IN | 0 ETH | 0.00000408 | ||||
| Transfer | 41290736 | 6 hrs ago | IN | 0 ETH | 0.00000408 | ||||
| Transfer | 41290675 | 6 hrs ago | IN | 0 ETH | 0.00000296 | ||||
| Transfer | 41287868 | 7 hrs ago | IN | 0 ETH | 0.00000035 | ||||
| Approve | 41286330 | 8 hrs ago | IN | 0 ETH | 0.00000115 | ||||
| Transfer | 41286296 | 8 hrs ago | IN | 0 ETH | 0.00001233 | ||||
| Transfer | 41286100 | 8 hrs ago | IN | 0 ETH | 0.00001439 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
CommonToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
/// @title CommonToken - The Common Protocol's ERC20 Token
/// @notice This contract implements a basic ERC20 token with restricted minting capabilities
/// @dev Only allows minting to the vault by authorized minters
contract CommonToken is ERC20, AccessControl {
/// @notice Role identifier for minting privileges
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
bytes32 public constant INITIAL_MINTER_ROLE = keccak256("INITIAL_MINTER_ROLE");
/// @notice Initial token supply
uint256 public initialSupply = 10000000000 * 10**18;
/// @notice Flag to track if initial minting has occurred
bool public initialMintCompleted;
/// @notice Multisignature vault address for token control
address public owner;
address public minter;
address public vault;
address public initialMinter;
/// @notice Emitted when vault address is updated
event VaultUpdated(address oldVault, address newVault);
/// @notice Emitted when minter address is updated
event MinterUpdated(address oldMinter, address newMinter);
/// @notice Emitted when owner address is updated
event OwnerUpdated(address oldOwner, address newOwner);
/// @notice Emitted when tokens are minted
event Minted(address to, uint256 amount);
/// @notice Emitted when initial minting is completed
event InitialMintCompleted(address to, uint256 amount);
/// @notice Initializes the contract with controllers but does not mint initial supply
/// @param _owner Address that will have admin privileges
/// @param _minter Address that will have minting privileges
/// @param _vault Address of the multisig vault
constructor(
address _owner,
address _minter,
address _vault,
address _initialMinter
) ERC20("COMMON", "COMMON") {
require(_vault != address(0), "Invalid vault address");
require(_owner != address(0), "Invalid owner address");
require(_minter != address(0), "Invalid minter address");
require(_initialMinter != address(0), "Invalid initial minter address");
vault = _vault;
initialMintCompleted = false;
_grantRole(DEFAULT_ADMIN_ROLE, _owner);
owner = _owner;
_grantRole(MINTER_ROLE, _minter);
minter = _minter;
_grantRole(INITIAL_MINTER_ROLE, _initialMinter);
initialMinter = _initialMinter;
}
/// @notice Performs the initial minting of tokens to the vault
/// @dev Can only be called once by an address with INITIAL_MINTER_ROLE
function initialMint() external onlyRole(INITIAL_MINTER_ROLE) {
require(!initialMintCompleted, "Initial minting already completed");
initialMintCompleted = true;
_mint(vault, initialSupply);
emit InitialMintCompleted(vault, initialSupply);
}
/// @notice Mints new tokens to the minter
/// @param amount The amount of tokens to mint
/// @dev Only callable by addresses with MINTER_ROLE
function mint(uint256 amount) external onlyRole(MINTER_ROLE) {
require(amount > 0, "Amount must be greater than 0");
_mint(minter, amount);
emit Minted(minter, amount);
}
/// @notice Updates the vault address
/// @param newVault New vault address
/// @dev Only callable by admin
function updateVault(address newVault) external onlyRole(DEFAULT_ADMIN_ROLE) {
require(newVault != address(0), "Invalid vault address");
address oldVault = vault;
vault = newVault;
emit VaultUpdated(oldVault, newVault);
}
/// @notice Updates the minter address
/// @param newMinter New minter address
/// @dev Only callable by admin
function updateMinter(address newMinter) external onlyRole(DEFAULT_ADMIN_ROLE) {
require(newMinter != address(0), "Invalid minter address");
address oldMinter = minter;
_revokeRole(MINTER_ROLE, oldMinter);
_grantRole(MINTER_ROLE, newMinter);
minter = newMinter;
emit MinterUpdated(oldMinter, newMinter);
}
/// @notice Updates the owner address
/// @param newOwner New owner address
/// @dev Only callable by admin
function updateOwner(address newOwner) external onlyRole(DEFAULT_ADMIN_ROLE) {
require(newOwner != address(0), "Invalid owner address");
address oldOwner = owner;
_revokeRole(DEFAULT_ADMIN_ROLE, oldOwner);
_grantRole(DEFAULT_ADMIN_ROLE, newOwner);
owner = newOwner;
emit OwnerUpdated(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/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:
*
* ```solidity
* 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}:
*
* ```solidity
* 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. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address account => bool) hasRole;
bytes32 adminRole;
}
mapping(bytes32 role => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with an {AccessControlUnauthorizedAccount} error including the required role.
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @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 virtual returns (bool) {
return _roles[role].hasRole[account];
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
* is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
* is missing `role`.
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert AccessControlUnauthorizedAccount(account, role);
}
}
/**
* @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 virtual 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.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual 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.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual 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 revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `callerConfirmation`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address callerConfirmation) public virtual {
if (callerConfirmation != _msgSender()) {
revert AccessControlBadConfirmation();
}
_revokeRole(role, callerConfirmation);
}
/**
* @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);
}
/**
* @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
if (!hasRole(role, account)) {
_roles[role].hasRole[account] = true;
emit RoleGranted(role, account, _msgSender());
return true;
} else {
return false;
}
}
/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
if (hasRole(role, account)) {
_roles[role].hasRole[account] = false;
emit RoleRevoked(role, account, _msgSender());
return true;
} else {
return false;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @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);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
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
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)
pragma solidity ^0.8.20;
/**
* @dev External interface of AccessControl declared to support ERC-165 detection.
*/
interface IAccessControl {
/**
* @dev The `account` is missing a role.
*/
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
/**
* @dev The caller of a function is not the expected one.
*
* NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
*/
error AccessControlBadConfirmation();
/**
* @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.
*/
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. This account bears the admin role (for the granted role).
* Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
*/
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 Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @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) external;
/**
* @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) external;
/**
* @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 `callerConfirmation`.
*/
function renounceRole(bytes32 role, address callerConfirmation) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC-165 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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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);
}{
"remappings": [
"@openzeppelin/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/",
"forge-std/=lib/forge-std/src/",
"prb-math/=lib/prb-math/src/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": true
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_initialMinter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InitialMintCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldMinter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldVault","type":"address"},{"indexed":false,"internalType":"address","name":"newVault","type":"address"}],"name":"VaultUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_MINTER_ROLE","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[],"name":"initialMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialMintCompleted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","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":"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"updateOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVault","type":"address"}],"name":"updateVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080346200052157601f1962001af938819003601f818101841685019490926001600160401b0392908287108488111762000414578160809284926040998a528339810103126200052157620000558162000526565b936020946200006686840162000526565b916200008260606200007a8a870162000526565b950162000526565b946200008d6200053b565b96620000986200053b565b97805191838311620004145760039283546001938d8583811c931690811562000516575b83101462000500578d8285859411620004a7575b50508d9084831160011462000436576000926200042a575b505060001982861b1c191690831b1783555b895193841162000414576004998a548381811c9116801562000409575b8d821014620003f45780838e9211620003a7575b50508b9185116001146200033c578495509084929160009562000330575b50501b92600019911b1c19161785555b6b204fce5e3e250261100000006006556001600160a01b03928316948515620002ed5783821615620002aa578383169384156200026757851696871562000225575050600980546001600160a01b031990811690961790556007805460ff191690556200020e939291620001fe91620001d2816200056e565b5060078054610100600160a81b03191660089290921b610100600160a81b0316919091179055620005ef565b5083600854161760085562000692565b50600a541617600a55516113a89081620007318239f35b885162461bcd60e51b815291820152601e60248201527f496e76616c696420696e697469616c206d696e74657220616464726573730000604482015260649150fd5b885162461bcd60e51b8152808301899052601660248201527f496e76616c6964206d696e7465722061646472657373000000000000000000006044820152606490fd5b875162461bcd60e51b8152908101879052601560248201527f496e76616c6964206f776e6572206164647265737300000000000000000000006044820152606490fd5b875162461bcd60e51b8152908101879052601560248201527f496e76616c6964207661756c74206164647265737300000000000000000000006044820152606490fd5b01519350388062000149565b9291948416928a600052848c600020948d6000905b898383106200038e575050501062000373575b50505050811b01855562000159565b01519060f884600019921b161c191690553880808062000364565b8686015189559097019694850194889350018e62000351565b8c60005283826000209181890160051c8301938910620003ea575b0160051c019084905b828110620003dd57508d91506200012b565b60008155018490620003cb565b92508192620003c2565b60228c634e487b7160e01b6000525260246000fd5b90607f169062000117565b634e487b7160e01b600052604160045260246000fd5b015190503880620000e8565b859350908e918760005282600020926000905b8b8616821062000487575050838a8116106200046e575b505050811b018355620000fa565b015160001983881b60f8161c1916905538808062000460565b919294958291948685015181550194019201908f91879594939262000449565b909192508660005284826000209181860160051c8301938610620004f6575b918791869594930160051c01915b828110620004e657508f9150620000d0565b60008155859450879101620004d4565b92508192620004c6565b634e487b7160e01b600052602260045260246000fd5b92607f1692620000bc565b600080fd5b51906001600160a01b03821682036200052157565b60408051919082016001600160401b038111838210176200041457604052600682526521a7a6a6a7a760d11b6020830152565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff16620005eb5781805260056020526040822081835260205260408220600160ff19825416179055339160008051602062001ad98339815191528180a4600190565b5090565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69060ff166200068d5780835260056020526040832082845260205260408320600160ff1982541617905560008051602062001ad9833981519152339380a4600190565b505090565b6001600160a01b031660008181527f0d5699e1675f0c2ffb35bd53f8272dc6b754d1046d7d77eccf574ae9f6c899fd60205260408120549091907f09371e5f6e7bddcdde819bf894155488b5fefc081c32bb7605da1536997bb3429060ff166200068d5780835260056020526040832082845260205260408320600160ff1982541617905560008051602062001ad9833981519152339380a460019056fe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610d695750816306fdde0314610c8f5781630754617214610c66578163095ea7b314610bbc57816318160ddd14610b9d57816323b872dd14610aa6578163248a9ca314610a7b5781632f2ff15d14610a51578163313ce56714610a3557816336568abe146109ef578163378dc3dc146109d05781634eb03f6e146108e8578163694a3765146108c457816370a082311461088d578163880cdc31146107965781638da5cb5b1461076957816391d148541461072257816395d89b41146106035781639fc5ce2a146104cf578163a0712d68146103c5578163a217fddf146103aa578163a9059cbb14610379578163c56d536414610350578163c726e65414610315578163d5391393146102ec578163d547741f146102a8578163dd62ed3e1461025f578163e7563f3f1461018f575063fbfa77cf1461016457600080fd5b3461018b578160031936011261018b5760095490516001600160a01b039091168152602090f35b5080fd5b8391503461018b57602036600319011261018b576101ab610e05565b906101b4610e36565b6001600160a01b03918083169182156102245750600980546001600160a01b03198116909317905593516001600160a01b03929091168216815292166020830152907f483bdedaaf23706a9800ac1af0d852b34927780d79f9d6ba60a80c7cad75ea399080604081015b0390a180f35b606490602087519162461bcd60e51b83528201526015602482015274496e76616c6964207661756c74206164647265737360581b6044820152fd5b50503461018b578060031936011261018b578060209261027d610e05565b610285610e20565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b919050346102e857806003193601126102e8576102e491356102df60016102cd610e20565b93838752600560205286200154610e8e565b611186565b5080f35b8280fd5b50503461018b578160031936011261018b57602090516000805160206113538339815191528152f35b50503461018b578160031936011261018b57602090517f09371e5f6e7bddcdde819bf894155488b5fefc081c32bb7605da1536997bb3428152f35b50503461018b578160031936011261018b57600a5490516001600160a01b039091168152602090f35b50503461018b578060031936011261018b576020906103a3610399610e05565b60243590336111fd565b5160018152f35b50503461018b578160031936011261018b5751908152602090f35b8391503461018b57602036600319011261018b57803590600080516020611353833981519152808452600560205284842033855260205260ff8585205416156104b25750811561046f57507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe919261021e60018060a01b0361044b8482600854166112db565b600854925192166001600160a01b0316825260208201929092529081906040820190565b606490602085519162461bcd60e51b8352820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152fd5b6044925084519163e2517d3f60e01b835233908301526024820152fd5b9050346102e857826003193601126102e8577f09371e5f6e7bddcdde819bf894155488b5fefc081c32bb7605da1536997bb342808452600560205282842033855260205260ff8385205416156105e857506007549060ff821661059b575060ff19166001176007556009546006547fd7ba77d87d9f77d4eed01590f7557e587d19f6a622423649ba865ca14100462292916001600160a01b03916105749183166112db565b600954600654925191166001600160a01b031681526020810191909152806040810161021e565b608490602084519162461bcd60e51b8352820152602160248201527f496e697469616c206d696e74696e6720616c726561647920636f6d706c6574656044820152601960fa1b6064820152fd5b604492519163e2517d3f60e01b835233908301526024820152fd5b83833461018b578160031936011261018b57805190828454600181811c90808316928315610718575b6020938484108114610705578388529081156106e95750600114610694575b505050829003601f01601f191682019267ffffffffffffffff841183851017610681575082918261067d925282610dbc565b0390f35b634e487b7160e01b815260418552602490fd5b8787529192508591837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8385106106d5575050505083010185808061064b565b8054888601830152930192849082016106bf565b60ff1916878501525050151560051b840101905085808061064b565b634e487b7160e01b895260228a52602489fd5b91607f169161062c565b9050346102e857816003193601126102e8578160209360ff92610743610e20565b90358252600586528282206001600160a01b039091168252855220549151911615158152f35b50503461018b578160031936011261018b57600754905160089190911c6001600160a01b03168152602090f35b8391503461018b57602036600319011261018b576107b2610e05565b906107bb610e36565b6001600160a01b03908282161561085257509261021e7f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76939460075460081c1691610805836110fb565b5061080f84610f55565b5060078054610100600160a81b031916600886901b610100600160a81b0316179055516001600160a01b0392831681529190921660208201529081906040820190565b606490602086519162461bcd60e51b83528201526015602482015274496e76616c6964206f776e6572206164647265737360581b6044820152fd5b50503461018b57602036600319011261018b5760209181906001600160a01b036108b5610e05565b16815280845220549051908152f35b50503461018b578160031936011261018b5760209060ff6007541690519015158152f35b8391503461018b57602036600319011261018b57610904610e05565b9061090d610e36565b6001600160a01b0382811691821561099457507f1cf2de25c5bf439ac0287061c3a0fa69b3b02867d0ccfd2ded34e42577050b73939461021e91600854169261095584611061565b5061095f85610eb4565b50600880546001600160a01b031916919091179055516001600160a01b03928316815292909116602083015281906040820190565b606490602087519162461bcd60e51b83528201526016602482015275496e76616c6964206d696e746572206164647265737360501b6044820152fd5b50503461018b578160031936011261018b576020906006549051908152f35b83833461018b578060031936011261018b57610a09610e20565b90336001600160a01b03831603610a2657506102e4919235611186565b5163334bd91960e11b81528390fd5b50503461018b578160031936011261018b576020905160128152f35b919050346102e857806003193601126102e8576102e49135610a7660016102cd610e20565b610fe6565b9050346102e85760203660031901126102e85781602093600192358152600585522001549051908152f35b90508234610b9a576060366003190112610b9a57610ac2610e05565b610aca610e20565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198303610b06575b6020886103a38989896111fd565b868310610b6e578115610b57573315610b40575082526001602090815286832033845281529186902090859003905582906103a387610af8565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b50503461018b578160031936011261018b576020906002549051908152f35b9050346102e857816003193601126102e857610bd6610e05565b602435903315610c4f576001600160a01b0316918215610c3857508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b50503461018b578160031936011261018b5760085490516001600160a01b039091168152602090f35b83833461018b578160031936011261018b5780519082600354600181811c90808316928315610d5f575b6020938484108114610705578388529081156106e95750600114610d0957505050829003601f01601f191682019267ffffffffffffffff841183851017610681575082918261067d925282610dbc565b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838510610d4b575050505083010185808061064b565b805488860183015293019284908201610d35565b91607f1691610cb9565b8491346102e85760203660031901126102e8573563ffffffff60e01b81168091036102e85760209250637965db0b60e01b8114908115610dab575b5015158152f35b6301ffc9a760e01b14905083610da4565b6020808252825181830181905290939260005b828110610df157505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610dcf565b600435906001600160a01b0382168203610e1b57565b600080fd5b602435906001600160a01b0382168203610e1b57565b3360009081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205460ff1615610e705750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b80600052600560205260406000203360005260205260ff6040600020541615610e705750565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091906000805160206113538339815191529060ff16610f505780835260056020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff16610fe25781805260056020526040822081835260205260408220600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b5090565b906000918083526005602052604083209160018060a01b03169182845260205260ff60408420541615600014610f505780835260056020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091906000805160206113538339815191529060ff1615610f50578083526005602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff1615610fe2578180526005602052604082208183526020526040822060ff19815416905533917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff604084205416600014610f50578083526005602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b916001600160a01b038084169283156112c257169283156112a95760009083825281602052604082205490838210611277575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b6001600160a01b03169081156112a9576002549080820180921161133c5760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160009360025584845283825260408420818154019055604051908152a3565b634e487b7160e01b600052601160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a26469706673582212209bc16cd7af167bcb9719cf3365ab85004e8d9b27147d35b52e6af32291578ef664736f6c634300081400332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d0000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f990000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f9900000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda484700000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda4847
Deployed Bytecode
0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610d695750816306fdde0314610c8f5781630754617214610c66578163095ea7b314610bbc57816318160ddd14610b9d57816323b872dd14610aa6578163248a9ca314610a7b5781632f2ff15d14610a51578163313ce56714610a3557816336568abe146109ef578163378dc3dc146109d05781634eb03f6e146108e8578163694a3765146108c457816370a082311461088d578163880cdc31146107965781638da5cb5b1461076957816391d148541461072257816395d89b41146106035781639fc5ce2a146104cf578163a0712d68146103c5578163a217fddf146103aa578163a9059cbb14610379578163c56d536414610350578163c726e65414610315578163d5391393146102ec578163d547741f146102a8578163dd62ed3e1461025f578163e7563f3f1461018f575063fbfa77cf1461016457600080fd5b3461018b578160031936011261018b5760095490516001600160a01b039091168152602090f35b5080fd5b8391503461018b57602036600319011261018b576101ab610e05565b906101b4610e36565b6001600160a01b03918083169182156102245750600980546001600160a01b03198116909317905593516001600160a01b03929091168216815292166020830152907f483bdedaaf23706a9800ac1af0d852b34927780d79f9d6ba60a80c7cad75ea399080604081015b0390a180f35b606490602087519162461bcd60e51b83528201526015602482015274496e76616c6964207661756c74206164647265737360581b6044820152fd5b50503461018b578060031936011261018b578060209261027d610e05565b610285610e20565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b919050346102e857806003193601126102e8576102e491356102df60016102cd610e20565b93838752600560205286200154610e8e565b611186565b5080f35b8280fd5b50503461018b578160031936011261018b57602090516000805160206113538339815191528152f35b50503461018b578160031936011261018b57602090517f09371e5f6e7bddcdde819bf894155488b5fefc081c32bb7605da1536997bb3428152f35b50503461018b578160031936011261018b57600a5490516001600160a01b039091168152602090f35b50503461018b578060031936011261018b576020906103a3610399610e05565b60243590336111fd565b5160018152f35b50503461018b578160031936011261018b5751908152602090f35b8391503461018b57602036600319011261018b57803590600080516020611353833981519152808452600560205284842033855260205260ff8585205416156104b25750811561046f57507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe919261021e60018060a01b0361044b8482600854166112db565b600854925192166001600160a01b0316825260208201929092529081906040820190565b606490602085519162461bcd60e51b8352820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152fd5b6044925084519163e2517d3f60e01b835233908301526024820152fd5b9050346102e857826003193601126102e8577f09371e5f6e7bddcdde819bf894155488b5fefc081c32bb7605da1536997bb342808452600560205282842033855260205260ff8385205416156105e857506007549060ff821661059b575060ff19166001176007556009546006547fd7ba77d87d9f77d4eed01590f7557e587d19f6a622423649ba865ca14100462292916001600160a01b03916105749183166112db565b600954600654925191166001600160a01b031681526020810191909152806040810161021e565b608490602084519162461bcd60e51b8352820152602160248201527f496e697469616c206d696e74696e6720616c726561647920636f6d706c6574656044820152601960fa1b6064820152fd5b604492519163e2517d3f60e01b835233908301526024820152fd5b83833461018b578160031936011261018b57805190828454600181811c90808316928315610718575b6020938484108114610705578388529081156106e95750600114610694575b505050829003601f01601f191682019267ffffffffffffffff841183851017610681575082918261067d925282610dbc565b0390f35b634e487b7160e01b815260418552602490fd5b8787529192508591837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8385106106d5575050505083010185808061064b565b8054888601830152930192849082016106bf565b60ff1916878501525050151560051b840101905085808061064b565b634e487b7160e01b895260228a52602489fd5b91607f169161062c565b9050346102e857816003193601126102e8578160209360ff92610743610e20565b90358252600586528282206001600160a01b039091168252855220549151911615158152f35b50503461018b578160031936011261018b57600754905160089190911c6001600160a01b03168152602090f35b8391503461018b57602036600319011261018b576107b2610e05565b906107bb610e36565b6001600160a01b03908282161561085257509261021e7f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76939460075460081c1691610805836110fb565b5061080f84610f55565b5060078054610100600160a81b031916600886901b610100600160a81b0316179055516001600160a01b0392831681529190921660208201529081906040820190565b606490602086519162461bcd60e51b83528201526015602482015274496e76616c6964206f776e6572206164647265737360581b6044820152fd5b50503461018b57602036600319011261018b5760209181906001600160a01b036108b5610e05565b16815280845220549051908152f35b50503461018b578160031936011261018b5760209060ff6007541690519015158152f35b8391503461018b57602036600319011261018b57610904610e05565b9061090d610e36565b6001600160a01b0382811691821561099457507f1cf2de25c5bf439ac0287061c3a0fa69b3b02867d0ccfd2ded34e42577050b73939461021e91600854169261095584611061565b5061095f85610eb4565b50600880546001600160a01b031916919091179055516001600160a01b03928316815292909116602083015281906040820190565b606490602087519162461bcd60e51b83528201526016602482015275496e76616c6964206d696e746572206164647265737360501b6044820152fd5b50503461018b578160031936011261018b576020906006549051908152f35b83833461018b578060031936011261018b57610a09610e20565b90336001600160a01b03831603610a2657506102e4919235611186565b5163334bd91960e11b81528390fd5b50503461018b578160031936011261018b576020905160128152f35b919050346102e857806003193601126102e8576102e49135610a7660016102cd610e20565b610fe6565b9050346102e85760203660031901126102e85781602093600192358152600585522001549051908152f35b90508234610b9a576060366003190112610b9a57610ac2610e05565b610aca610e20565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198303610b06575b6020886103a38989896111fd565b868310610b6e578115610b57573315610b40575082526001602090815286832033845281529186902090859003905582906103a387610af8565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b50503461018b578160031936011261018b576020906002549051908152f35b9050346102e857816003193601126102e857610bd6610e05565b602435903315610c4f576001600160a01b0316918215610c3857508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b50503461018b578160031936011261018b5760085490516001600160a01b039091168152602090f35b83833461018b578160031936011261018b5780519082600354600181811c90808316928315610d5f575b6020938484108114610705578388529081156106e95750600114610d0957505050829003601f01601f191682019267ffffffffffffffff841183851017610681575082918261067d925282610dbc565b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838510610d4b575050505083010185808061064b565b805488860183015293019284908201610d35565b91607f1691610cb9565b8491346102e85760203660031901126102e8573563ffffffff60e01b81168091036102e85760209250637965db0b60e01b8114908115610dab575b5015158152f35b6301ffc9a760e01b14905083610da4565b6020808252825181830181905290939260005b828110610df157505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610dcf565b600435906001600160a01b0382168203610e1b57565b600080fd5b602435906001600160a01b0382168203610e1b57565b3360009081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205460ff1615610e705750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b80600052600560205260406000203360005260205260ff6040600020541615610e705750565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091906000805160206113538339815191529060ff16610f505780835260056020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff16610fe25781805260056020526040822081835260205260408220600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b5090565b906000918083526005602052604083209160018060a01b03169182845260205260ff60408420541615600014610f505780835260056020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091906000805160206113538339815191529060ff1615610f50578083526005602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff1615610fe2578180526005602052604082208183526020526040822060ff19815416905533917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff604084205416600014610f50578083526005602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b916001600160a01b038084169283156112c257169283156112a95760009083825281602052604082205490838210611277575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b6001600160a01b03169081156112a9576002549080820180921161133c5760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160009360025584845283825260408420818154019055604051908152a3565b634e487b7160e01b600052601160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a26469706673582212209bc16cd7af167bcb9719cf3365ab85004e8d9b27147d35b52e6af32291578ef664736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f990000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f9900000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda484700000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda4847
-----Decoded View---------------
Arg [0] : _owner (address): 0x2D45D8f4B214B5906AAd2561387A07af852B5F99
Arg [1] : _minter (address): 0x2D45D8f4B214B5906AAd2561387A07af852B5F99
Arg [2] : _vault (address): 0x76e80eF35172D0Bb05B9edF70B5890e04cdA4847
Arg [3] : _initialMinter (address): 0x76e80eF35172D0Bb05B9edF70B5890e04cdA4847
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f99
Arg [1] : 0000000000000000000000002d45d8f4b214b5906aad2561387a07af852b5f99
Arg [2] : 00000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda4847
Arg [3] : 00000000000000000000000076e80ef35172d0bb05b9edf70b5890e04cda4847
Loading...
Loading
Loading...
Loading
OVERVIEW
Common is the coordination layer for communities, contributors, and AI agents. It is an all-in-one product and protocol to launch a token, manage a DAO, or coordinate with agents.Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
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.