Overview
BERA Balance
BERA Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,188 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 4088226 | 4 mins ago | IN | 0 BERA | 0.0000069 | ||||
Approve | 4088191 | 5 mins ago | IN | 0 BERA | 0.00000695 | ||||
Approve | 4088141 | 7 mins ago | IN | 0 BERA | 0.00000002 | ||||
Approve | 4088090 | 8 mins ago | IN | 0 BERA | 0.00002316 | ||||
Approve | 4088031 | 10 mins ago | IN | 0 BERA | 0.00002316 | ||||
Transfer | 4087850 | 16 mins ago | IN | 0 BERA | 0.00000842 | ||||
Transfer | 4087831 | 17 mins ago | IN | 0 BERA | 0.00000842 | ||||
Approve | 4087604 | 24 mins ago | IN | 0 BERA | 0.00000463 | ||||
Approve | 4087476 | 29 mins ago | IN | 0 BERA | 0 | ||||
Approve | 4087279 | 35 mins ago | IN | 0 BERA | 0 | ||||
Approve | 4087021 | 44 mins ago | IN | 0 BERA | 0.00002316 | ||||
Approve | 4086887 | 48 mins ago | IN | 0 BERA | 0 | ||||
Approve | 4086263 | 1 hr ago | IN | 0 BERA | 0 | ||||
Approve | 4086112 | 1 hr ago | IN | 0 BERA | 0.00002316 | ||||
Approve | 4085486 | 1 hr ago | IN | 0 BERA | 0.00000695 | ||||
Approve | 4085452 | 1 hr ago | IN | 0 BERA | 0.00000695 | ||||
Approve | 4085206 | 1 hr ago | IN | 0 BERA | 0.00002301 | ||||
Approve | 4085195 | 1 hr ago | IN | 0 BERA | 0 | ||||
Approve | 4085119 | 1 hr ago | IN | 0 BERA | 0.00002316 | ||||
Approve | 4084530 | 2 hrs ago | IN | 0 BERA | 0 | ||||
Approve | 4084474 | 2 hrs ago | IN | 0 BERA | 0.00000365 | ||||
Approve | 4084177 | 2 hrs ago | IN | 0 BERA | 0.0000069 | ||||
Approve | 4083870 | 2 hrs ago | IN | 0 BERA | 0 | ||||
Set Tax Fee | 4083620 | 2 hrs ago | IN | 0 BERA | 0.00001465 | ||||
Approve | 4083603 | 2 hrs ago | IN | 0 BERA | 0.0000069 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
3774975 | 7 days ago | Contract Creation | 0 BERA |
Loading...
Loading
Contract Name:
OwnableToken
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 50 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "../library/OwnableAccess.sol"; contract OwnableToken is ERC20, OwnableAccess { uint256 private PRECISION = 1e6; uint256 public totalBurned = 0; uint256 public totalFeeBurned = 0; uint256 public totalMinted = 0; uint256 public taxFee = 0; mapping(address => bool) public taxWhitelistFrom; mapping(address => bool) public taxWhitelistTo; address[] private taxWhitelistFromList; address[] private taxWhitelistToList; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) OwnableAccess() {} function mint(address recipient, uint256 amount) external onlyAdmin { require(amount != 0, "amount == 0"); _mint(recipient, amount); totalMinted += amount; } function burn(address account, uint256 amount) external onlyAdmin { require(amount != 0, "amount == 0"); _burn(account, amount); totalBurned += amount; } function setTaxFee(uint256 _taxFee) external onlyAdmin { taxFee = _taxFee; } function addTaxWhiteListFrom(address account) external onlyOperator { if (!taxWhitelistFrom[account]) { taxWhitelistFrom[account] = true; taxWhitelistFromList.push(account); } } function addTaxWhiteListTo(address account) external onlyOperator { if (!taxWhitelistTo[account]) { taxWhitelistTo[account] = true; taxWhitelistToList.push(account); } } function removeTaxWhiteListFrom(address account) external onlyOperator { if (taxWhitelistFrom[account]) { taxWhitelistFrom[account] = false; _removeFromList(taxWhitelistFromList, account); } } function removeTaxWhiteListTo(address account) external onlyOperator { if (taxWhitelistTo[account]) { taxWhitelistTo[account] = false; _removeFromList(taxWhitelistToList, account); } } function getTaxWhitelistFrom() external view returns (address[] memory) { return taxWhitelistFromList; } function getTaxWhitelistTo() external view returns (address[] memory) { return taxWhitelistToList; } function _removeFromList(address[] storage list, address account) internal { for (uint256 i = 0; i < list.length; i++) { if (list[i] == account) { list[i] = list[list.length - 1]; list.pop(); break; } } } function _burnIfNeeded(address from, address to, uint256 amount) internal returns (uint256) { if (taxFee == 0) return amount; uint256 fee = 0; if (taxWhitelistFrom[from] != true && taxWhitelistTo[to] != true) { fee = (amount * taxFee) / PRECISION; _burn(from, fee); totalBurned += fee; totalFeeBurned += fee; } return amount - fee; } function transfer(address to, uint256 amount) public override returns (bool) { address sender = msg.sender; uint256 netAmount = _burnIfNeeded(sender, to, amount); _transfer(sender, to, netAmount); return true; } function transferFrom(address from, address to, uint256 amount) public override returns (bool) { address sender = _msgSender(); _spendAllowance(from, sender, amount); uint256 netAmount = _burnIfNeeded(from, to, amount); _transfer(from, to, netAmount); return true; } }
// 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) (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.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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) (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.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.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.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) (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); }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; abstract contract OwnableAccess is AccessControl { address ownableAccessOrigin; address ownableAccessSender; bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); constructor() { ownableAccessOrigin = tx.origin; ownableAccessSender = msg.sender; _grantRole(ADMIN_ROLE, msg.sender); if (tx.origin != msg.sender) { _grantRole(ADMIN_ROLE, tx.origin); } } function _checkAdmin() internal view { require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not an admin"); } function _checkOperator() internal view { bool valid = hasRole(OPERATOR_ROLE, msg.sender) || hasRole(ADMIN_ROLE, msg.sender); require(valid, "Caller is not an operator"); } modifier onlyAdmin() { _checkAdmin(); _; } modifier onlyOperator() { _checkOperator(); _; } function grantAdminRole(address account) external onlyAdmin { _grantRole(ADMIN_ROLE, account); } function revokeAdminRole(address account) external onlyAdmin { _revokeRole(ADMIN_ROLE, account); } function grantOperatorRole(address account) external onlyAdmin { _grantRole(OPERATOR_ROLE, account); } function revokeOperatorRole(address account) external onlyAdmin { _revokeRole(OPERATOR_ROLE, account); } }
{ "metadata": { "bytecodeHash": "none", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 50 }, "viaIR": true, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":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"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addTaxWhiteListFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addTaxWhiteListTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[],"name":"getTaxWhitelistFrom","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxWhitelistTo","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantOperatorRole","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeTaxWhiteListFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeTaxWhiteListTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeOperatorRole","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":"uint256","name":"_taxFee","type":"uint256"}],"name":"setTaxFee","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":"taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxWhitelistFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxWhitelistTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052346200037b5762001c47803803806200001d8162000380565b9283398101906040818303126200037b5780516001600160401b03908181116200037b57836200004f918401620003a6565b91602093848201518381116200037b576200006b9201620003a6565b82518281116200027b576003918254916001958684811c9416801562000370575b888510146200035a578190601f9485811162000304575b5088908583116001146200029d5760009262000291575b505060001982861b1c191690861b1783555b80519384116200027b5760049586548681811c9116801562000270575b828210146200025b5783811162000210575b5080928511600114620001a2575093839491849260009562000196575b50501b92600019911b1c19161790555b60018060a01b031932816006541617600655339060075416176007556200014f3362000418565b5033320362000184575b620f424060085560006009556000600a556000600b556000600c5560405161177a9081620004cd8239f35b6200018f3262000418565b5062000159565b01519350388062000118565b92919084601f1981168860005285600020956000905b89838310620001f55750505010620001da575b50505050811b01905562000128565b01519060f884600019921b161c1916905538808080620001cb565b858701518955909701969485019488935090810190620001b8565b87600052816000208480880160051c82019284891062000251575b0160051c019087905b82811062000244575050620000fb565b6000815501879062000234565b925081926200022b565b602288634e487b7160e01b6000525260246000fd5b90607f1690620000e9565b634e487b7160e01b600052604160045260246000fd5b015190503880620000ba565b90889350601f19831691876000528a6000209260005b8c828210620002ed5750508411620002d4575b505050811b018355620000cc565b015160001983881b60f8161c19169055388080620002c6565b8385015186558c97909501949384019301620002b3565b90915085600052886000208580850160051c8201928b861062000350575b918a91869594930160051c01915b82811062000340575050620000a3565b600081558594508a910162000330565b9250819262000322565b634e487b7160e01b600052602260045260246000fd5b93607f16936200008c565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200027b57604052565b919080601f840112156200037b5782516001600160401b0381116200027b57602090620003dc601f8201601f1916830162000380565b928184528282870101116200037b5760005b8181106200040457508260009394955001015290565b8581018301518482018401528201620003ee565b6001600160a01b031660008181527fd8ef4509105c3edb0b04658b4528edc5ddd30ea5a81e623a2623c88db1eb54b660205260408120549091907fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217759060ff16620004c75780835260056020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b50509056fe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610e735750816306fdde0314610d9a57816307172b2e14610cce578163095ea7b314610c245781630e3fc65d14610be657816318160ddd14610bc75781631ba1a29714610b5357816323b872dd14610a5a578163248a9ca314610a2f57816327ac0c5814610a055781632f2ff15d146109db578163313ce567146109bf578163363c45bd1461093d57816336568abe146108f757816340c10f1914610854578163447fe20e146107c5578163481f489c1461073957816370a0823114610702578163737709e3146106c457816375b238fc1461069b578163843998b91461056057816391d148541461051957816395d89b41146104315781639a19c7b0146104075781639dc29fac146103bd578163a071dcf41461039e578163a217fddf14610383578163a2309ff814610364578163a9059cbb14610329578163af6ee1a21461030a578163b219f7d7146102e0578163c4081a4c146102be578163c634b78e14610291578163d547741f1461024d57508063d89135cd1461022f578063dd62ed3e146101e75763f5b541a6146101bc57600080fd5b346101e357816003193601126101e357602090516000805160206116ee8339815191528152f35b5080fd5b50346101e357806003193601126101e35780602092610204610f0f565b61020c610f2a565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b50346101e357816003193601126101e3576020906009549051908152f35b9190503461028d578060031936011261028d5761028991356102846001610272610f2a565b93838752600560205286200154611480565b6115b0565b5080f35b8280fd5b83346102bb5760203660031901126102bb576102896102ae610f0f565b6102b66112bd565b61139f565b80fd5b8390346101e35760203660031901126101e3576102d96112bd565b35600c5580f35b83346102bb5760203660031901126102bb576102896102fd610f0f565b6103056112bd565b61153a565b5050346101e357816003193601126101e357602090600a549051908152f35b5050346101e357806003193601126101e35760209061035d610349610f0f565b6103566024358233611124565b9033611206565b5160018152f35b5050346101e357816003193601126101e357602090600b549051908152f35b5050346101e357816003193601126101e35751908152602090f35b5050346101e357816003193601126101e357602090600c549051908152f35b5050346101e3573660031901126102bb576104016103d9610f0f565b6103f960243580926103e96112bd565b6103f4821515611009565b611615565b600954611043565b60095580f35b83346102bb5760203660031901126102bb57610289610424610f0f565b61042c6112bd565b6114c4565b8383346101e357816003193601126101e35780519180938054916001908360011c926001851694851561050f575b60209586861081146104fc578589529081156104d8575060011461049d575b610499878761048f828c0383610f85565b5191829182610ec6565b0390f35b9080949750528583205b8284106104c557505050826104999461048f9282010194868061047e565b80548685018801529286019281016104a7565b60ff19168887015250505050151560051b830101925061048f82610499868061047e565b634e487b7160e01b845260228352602484fd5b93607f169361045f565b90503461028d578160031936011261028d578160209360ff9261053a610f2a565b90358252600586528282206001600160a01b039091168252855220549151911615158152f35b9190503461028d57602036600319011261028d5761057c610f0f565b90610585611066565b6001600160a01b03918216808552600e602052908420805460ff81166105a9578580f35b60ff19169055835b60108054808310156106905784846105c885610fee565b929054600393841b1c16146105e2575050506001016105b1565b9094919593506000199485810190811161067d5791610614916106086106329594610fee565b9054911b1c1691610fee565b90919060018060a01b038084549260031b9316831b921b1916179055565b825490811561066a5750019061065f61064a83610fee565b81549060018060a01b039060031b1b19169055565b555b38808080808580f35b634e487b7160e01b855260319052602484fd5b634e487b7160e01b885260118552602488fd5b505050505050610661565b5050346101e357816003193601126101e3576020905160008051602061174e8339815191528152f35b5050346101e35760203660031901126101e35760209160ff9082906001600160a01b036106ef610f0f565b168152600d855220541690519015158152f35b5050346101e35760203660031901126101e35760209181906001600160a01b0361072a610f0f565b16815280845220549051908152f35b8284346102bb57806003193601126102bb578151600f805480835290835260208083019492937f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80292915b8282106107a557610499868661079b828b0383610f85565b5191829182610f40565b83546001600160a01b031687529586019560019384019390910190610783565b8383346101e35760203660031901126101e3576107e0610f0f565b906107e9611066565b6001600160a01b0382168352600e6020528220805460ff81161561080b578380f35b60ff1916600117905560105492600160401b8410156108415750610614836001610839949501601055610fee565b808280808380f35b634e487b7160e01b835260419052602482fd5b839150346101e357826003193601126101e35761086f610f0f565b906024359161087c6112bd565b610887831515611009565b6001600160a01b03169081156108e057508260008051602061170e83398151915260206108da95966108bb86600254611043565b60025584845283825280842086815401905551858152a3600b54611043565b600b5580f35b845163ec442f0560e01b8152908101849052602490fd5b8383346101e357806003193601126101e357610911610f2a565b90336001600160a01b0383160361092e57506102899192356115b0565b5163334bd91960e11b81528390fd5b8284346102bb57806003193601126102bb5781516010805480835290835260208083019492937f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67292915b82821061099f57610499868661079b828b0383610f85565b83546001600160a01b031687529586019560019384019390910190610987565b5050346101e357816003193601126101e3576020905160128152f35b9190503461028d578060031936011261028d576102899135610a006001610272610f2a565b611417565b83346102bb5760203660031901126102bb57610289610a22610f0f565b610a2a6112bd565b611322565b90503461028d57602036600319011261028d5781602093600192358152600585522001549051908152f35b905082346102bb5760603660031901126102bb57610a76610f0f565b91610a7f610f2a565b916044359160018060a01b038516808352600160205286832033845260205286832054916000198303610ac6575b60208861035d8989610ac08a8284611124565b91611206565b848310610b31578115610b1a573315610b0357508252600160209081528683203384528152918690209083900390558290610ac09061035d610aad565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b9050610b4f848851938493637dc7a0d960e11b855233908501611106565b0390fd5b8383346101e35760203660031901126101e357610b6e610f0f565b90610b77611066565b6001600160a01b0382168352600d6020528220805460ff811615610b99578380f35b60ff19166001179055600f5492600160401b8410156108415750610614836001610839949501600f55610fbd565b5050346101e357816003193601126101e3576020906002549051908152f35b5050346101e35760203660031901126101e35760209160ff9082906001600160a01b03610c11610f0f565b168152600e855220541690519015158152f35b90503461028d578160031936011261028d57610c3e610f0f565b602435903315610cb7576001600160a01b0316918215610ca057508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b9190503461028d57602036600319011261028d57610cea610f0f565b90610cf3611066565b6001600160a01b03918216808552600d602052908420805460ff8116610d17578580f35b60ff19169055835b600f805480831015610690578484610d3685610fbd565b929054600393841b1c1614610d5057505050600101610d1f565b9094919593506000199485810190811161067d579161061491610d76610d829594610fbd565b9054911b1c1691610fbd565b825490811561066a5750019061065f61064a83610fbd565b9190503461028d578260031936011261028d5780519183600354906001908260011c92600181168015610e69575b6020958686108214610e565750848852908115610e345750600114610df9575b610499868661048f828b0383610f85565b929550600383528583205b828410610e2157505050826104999461048f928201019438610de8565b8054868501880152928601928101610e04565b60ff191687860152505050151560051b830101925061048f8261049938610de8565b634e487b7160e01b845260229052602483fd5b93607f1693610dc8565b84913461028d57602036600319011261028d573563ffffffff60e01b811680910361028d5760209250637965db0b60e01b8114908115610eb5575b5015158152f35b6301ffc9a760e01b14905083610eae565b6020808252825181830181905290939260005b828110610efb57505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ed9565b600435906001600160a01b0382168203610f2557565b600080fd5b602435906001600160a01b0382168203610f2557565b602090602060408183019282815285518094520193019160005b828110610f68575050505090565b83516001600160a01b031685529381019392810192600101610f5a565b90601f8019910116810190811067ffffffffffffffff821117610fa757604052565b634e487b7160e01b600052604160045260246000fd5b600f54811015610fd857600f60005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b601054811015610fd857601060005260206000200190600090565b1561101057565b60405162461bcd60e51b815260206004820152600b60248201526a0616d6f756e74203d3d20360ac1b6044820152606490fd5b9190820180921161105057565b634e487b7160e01b600052601160045260246000fd5b3360009081526000805160206116ce833981519152602052604081205460ff169081156110d7575b501561109657565b60405162461bcd60e51b815260206004820152601960248201527821b0b63632b91034b9903737ba1030b71037b832b930ba37b960391b6044820152606490fd5b60ff91508060008051602061174e8339815191526040925260056020528181203382526020522054163861108e565b604091949392606082019560018060a01b0316825260208201520152565b90600c5480156112005760009160018060a01b038085168452600d602052600160ff6040862054161515141591826111e2575b505061116d575b50905081039081116110505790565b8084029084820414841517156111ce576008549182156111ba57509061119591048092611615565b6111a181600954611043565b6009556111b081600a54611043565b600a55803861115e565b634e487b7160e01b81526012600452602490fd5b634e487b7160e01b82526011600452602482fd5b16835250600e602052604082205460ff161515600114153880611157565b50505090565b916001600160a01b038084169283156112a4571692831561128b576000908382528160205260408220549083821061126e5750916040828260008051602061170e833981519152958760209652828652038282205586815220818154019055604051908152a3565b610b4f8460405193849363391434e360e21b855260048501611106565b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b3360009081526000805160206116ae833981519152602052604090205460ff16156112e457565b60405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b6044820152606490fd5b6001600160a01b031660008181526000805160206116ce83398151915260205260408120549091906000805160206116ee8339815191529060ff1661139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b505090565b6001600160a01b031660008181526000805160206116ae833981519152602052604081205490919060008051602061174e8339815191529060ff1661139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff6040842054161560001461139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b80600052600560205260406000203360005260205260ff60406000205416156114a65750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b6001600160a01b031660008181526000805160206116ae833981519152602052604081205490919060008051602061174e8339815191529060ff161561139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b6001600160a01b031660008181526000805160206116ce83398151915260205260408120549091906000805160206116ee8339815191529060ff161561139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff60408420541660001461139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b906001600160a01b0382169081156112a4576000928284528360205260408420549082821061167057508160008051602061170e833981519152926020928587528684520360408620558060025403600255604051908152a3565b610b4f8360405193849363391434e360e21b85526004850161110656fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dd8ef4509105c3edb0b04658b4528edc5ddd30ea5a81e623a2623c88db1eb54b6e790de7705c8ebaa80068cd4fc0a095afd63ddb3e1cbffe9ca6f4baedbd7b73997667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3eff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171ba49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a164736f6c6343000816000a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006615375676172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066153554741520000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610e735750816306fdde0314610d9a57816307172b2e14610cce578163095ea7b314610c245781630e3fc65d14610be657816318160ddd14610bc75781631ba1a29714610b5357816323b872dd14610a5a578163248a9ca314610a2f57816327ac0c5814610a055781632f2ff15d146109db578163313ce567146109bf578163363c45bd1461093d57816336568abe146108f757816340c10f1914610854578163447fe20e146107c5578163481f489c1461073957816370a0823114610702578163737709e3146106c457816375b238fc1461069b578163843998b91461056057816391d148541461051957816395d89b41146104315781639a19c7b0146104075781639dc29fac146103bd578163a071dcf41461039e578163a217fddf14610383578163a2309ff814610364578163a9059cbb14610329578163af6ee1a21461030a578163b219f7d7146102e0578163c4081a4c146102be578163c634b78e14610291578163d547741f1461024d57508063d89135cd1461022f578063dd62ed3e146101e75763f5b541a6146101bc57600080fd5b346101e357816003193601126101e357602090516000805160206116ee8339815191528152f35b5080fd5b50346101e357806003193601126101e35780602092610204610f0f565b61020c610f2a565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b50346101e357816003193601126101e3576020906009549051908152f35b9190503461028d578060031936011261028d5761028991356102846001610272610f2a565b93838752600560205286200154611480565b6115b0565b5080f35b8280fd5b83346102bb5760203660031901126102bb576102896102ae610f0f565b6102b66112bd565b61139f565b80fd5b8390346101e35760203660031901126101e3576102d96112bd565b35600c5580f35b83346102bb5760203660031901126102bb576102896102fd610f0f565b6103056112bd565b61153a565b5050346101e357816003193601126101e357602090600a549051908152f35b5050346101e357806003193601126101e35760209061035d610349610f0f565b6103566024358233611124565b9033611206565b5160018152f35b5050346101e357816003193601126101e357602090600b549051908152f35b5050346101e357816003193601126101e35751908152602090f35b5050346101e357816003193601126101e357602090600c549051908152f35b5050346101e3573660031901126102bb576104016103d9610f0f565b6103f960243580926103e96112bd565b6103f4821515611009565b611615565b600954611043565b60095580f35b83346102bb5760203660031901126102bb57610289610424610f0f565b61042c6112bd565b6114c4565b8383346101e357816003193601126101e35780519180938054916001908360011c926001851694851561050f575b60209586861081146104fc578589529081156104d8575060011461049d575b610499878761048f828c0383610f85565b5191829182610ec6565b0390f35b9080949750528583205b8284106104c557505050826104999461048f9282010194868061047e565b80548685018801529286019281016104a7565b60ff19168887015250505050151560051b830101925061048f82610499868061047e565b634e487b7160e01b845260228352602484fd5b93607f169361045f565b90503461028d578160031936011261028d578160209360ff9261053a610f2a565b90358252600586528282206001600160a01b039091168252855220549151911615158152f35b9190503461028d57602036600319011261028d5761057c610f0f565b90610585611066565b6001600160a01b03918216808552600e602052908420805460ff81166105a9578580f35b60ff19169055835b60108054808310156106905784846105c885610fee565b929054600393841b1c16146105e2575050506001016105b1565b9094919593506000199485810190811161067d5791610614916106086106329594610fee565b9054911b1c1691610fee565b90919060018060a01b038084549260031b9316831b921b1916179055565b825490811561066a5750019061065f61064a83610fee565b81549060018060a01b039060031b1b19169055565b555b38808080808580f35b634e487b7160e01b855260319052602484fd5b634e487b7160e01b885260118552602488fd5b505050505050610661565b5050346101e357816003193601126101e3576020905160008051602061174e8339815191528152f35b5050346101e35760203660031901126101e35760209160ff9082906001600160a01b036106ef610f0f565b168152600d855220541690519015158152f35b5050346101e35760203660031901126101e35760209181906001600160a01b0361072a610f0f565b16815280845220549051908152f35b8284346102bb57806003193601126102bb578151600f805480835290835260208083019492937f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80292915b8282106107a557610499868661079b828b0383610f85565b5191829182610f40565b83546001600160a01b031687529586019560019384019390910190610783565b8383346101e35760203660031901126101e3576107e0610f0f565b906107e9611066565b6001600160a01b0382168352600e6020528220805460ff81161561080b578380f35b60ff1916600117905560105492600160401b8410156108415750610614836001610839949501601055610fee565b808280808380f35b634e487b7160e01b835260419052602482fd5b839150346101e357826003193601126101e35761086f610f0f565b906024359161087c6112bd565b610887831515611009565b6001600160a01b03169081156108e057508260008051602061170e83398151915260206108da95966108bb86600254611043565b60025584845283825280842086815401905551858152a3600b54611043565b600b5580f35b845163ec442f0560e01b8152908101849052602490fd5b8383346101e357806003193601126101e357610911610f2a565b90336001600160a01b0383160361092e57506102899192356115b0565b5163334bd91960e11b81528390fd5b8284346102bb57806003193601126102bb5781516010805480835290835260208083019492937f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67292915b82821061099f57610499868661079b828b0383610f85565b83546001600160a01b031687529586019560019384019390910190610987565b5050346101e357816003193601126101e3576020905160128152f35b9190503461028d578060031936011261028d576102899135610a006001610272610f2a565b611417565b83346102bb5760203660031901126102bb57610289610a22610f0f565b610a2a6112bd565b611322565b90503461028d57602036600319011261028d5781602093600192358152600585522001549051908152f35b905082346102bb5760603660031901126102bb57610a76610f0f565b91610a7f610f2a565b916044359160018060a01b038516808352600160205286832033845260205286832054916000198303610ac6575b60208861035d8989610ac08a8284611124565b91611206565b848310610b31578115610b1a573315610b0357508252600160209081528683203384528152918690209083900390558290610ac09061035d610aad565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b9050610b4f848851938493637dc7a0d960e11b855233908501611106565b0390fd5b8383346101e35760203660031901126101e357610b6e610f0f565b90610b77611066565b6001600160a01b0382168352600d6020528220805460ff811615610b99578380f35b60ff19166001179055600f5492600160401b8410156108415750610614836001610839949501600f55610fbd565b5050346101e357816003193601126101e3576020906002549051908152f35b5050346101e35760203660031901126101e35760209160ff9082906001600160a01b03610c11610f0f565b168152600e855220541690519015158152f35b90503461028d578160031936011261028d57610c3e610f0f565b602435903315610cb7576001600160a01b0316918215610ca057508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b9190503461028d57602036600319011261028d57610cea610f0f565b90610cf3611066565b6001600160a01b03918216808552600d602052908420805460ff8116610d17578580f35b60ff19169055835b600f805480831015610690578484610d3685610fbd565b929054600393841b1c1614610d5057505050600101610d1f565b9094919593506000199485810190811161067d579161061491610d76610d829594610fbd565b9054911b1c1691610fbd565b825490811561066a5750019061065f61064a83610fbd565b9190503461028d578260031936011261028d5780519183600354906001908260011c92600181168015610e69575b6020958686108214610e565750848852908115610e345750600114610df9575b610499868661048f828b0383610f85565b929550600383528583205b828410610e2157505050826104999461048f928201019438610de8565b8054868501880152928601928101610e04565b60ff191687860152505050151560051b830101925061048f8261049938610de8565b634e487b7160e01b845260229052602483fd5b93607f1693610dc8565b84913461028d57602036600319011261028d573563ffffffff60e01b811680910361028d5760209250637965db0b60e01b8114908115610eb5575b5015158152f35b6301ffc9a760e01b14905083610eae565b6020808252825181830181905290939260005b828110610efb57505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ed9565b600435906001600160a01b0382168203610f2557565b600080fd5b602435906001600160a01b0382168203610f2557565b602090602060408183019282815285518094520193019160005b828110610f68575050505090565b83516001600160a01b031685529381019392810192600101610f5a565b90601f8019910116810190811067ffffffffffffffff821117610fa757604052565b634e487b7160e01b600052604160045260246000fd5b600f54811015610fd857600f60005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b601054811015610fd857601060005260206000200190600090565b1561101057565b60405162461bcd60e51b815260206004820152600b60248201526a0616d6f756e74203d3d20360ac1b6044820152606490fd5b9190820180921161105057565b634e487b7160e01b600052601160045260246000fd5b3360009081526000805160206116ce833981519152602052604081205460ff169081156110d7575b501561109657565b60405162461bcd60e51b815260206004820152601960248201527821b0b63632b91034b9903737ba1030b71037b832b930ba37b960391b6044820152606490fd5b60ff91508060008051602061174e8339815191526040925260056020528181203382526020522054163861108e565b604091949392606082019560018060a01b0316825260208201520152565b90600c5480156112005760009160018060a01b038085168452600d602052600160ff6040862054161515141591826111e2575b505061116d575b50905081039081116110505790565b8084029084820414841517156111ce576008549182156111ba57509061119591048092611615565b6111a181600954611043565b6009556111b081600a54611043565b600a55803861115e565b634e487b7160e01b81526012600452602490fd5b634e487b7160e01b82526011600452602482fd5b16835250600e602052604082205460ff161515600114153880611157565b50505090565b916001600160a01b038084169283156112a4571692831561128b576000908382528160205260408220549083821061126e5750916040828260008051602061170e833981519152958760209652828652038282205586815220818154019055604051908152a3565b610b4f8460405193849363391434e360e21b855260048501611106565b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b3360009081526000805160206116ae833981519152602052604090205460ff16156112e457565b60405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b6044820152606490fd5b6001600160a01b031660008181526000805160206116ce83398151915260205260408120549091906000805160206116ee8339815191529060ff1661139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b505090565b6001600160a01b031660008181526000805160206116ae833981519152602052604081205490919060008051602061174e8339815191529060ff1661139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff6040842054161560001461139a5780835260056020526040832082845260205260408320600160ff1982541617905560008051602061168e833981519152339380a4600190565b80600052600560205260406000203360005260205260ff60406000205416156114a65750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b6001600160a01b031660008181526000805160206116ae833981519152602052604081205490919060008051602061174e8339815191529060ff161561139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b6001600160a01b031660008181526000805160206116ce83398151915260205260408120549091906000805160206116ee8339815191529060ff161561139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b906000918083526005602052604083209160018060a01b03169182845260205260ff60408420541660001461139a578083526005602052604083208284526020526040832060ff19815416905560008051602061172e833981519152339380a4600190565b906001600160a01b0382169081156112a4576000928284528360205260408420549082821061167057508160008051602061170e833981519152926020928587528684520360408620558060025403600255604051908152a3565b610b4f8360405193849363391434e360e21b85526004850161110656fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dd8ef4509105c3edb0b04658b4528edc5ddd30ea5a81e623a2623c88db1eb54b6e790de7705c8ebaa80068cd4fc0a095afd63ddb3e1cbffe9ca6f4baedbd7b73997667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3eff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171ba49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a164736f6c6343000816000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006615375676172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066153554741520000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): aSugar
Arg [1] : _symbol (string): aSUGAR
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 6153756761720000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 6153554741520000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.