More Info
Private Name Tags
ContractCreator
TokenTracker
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x3e932e8109b29a4ac1ea86d6f9681e3d44e0591f6f97eb1e6f79b51fa2f83a90 | Approve | (pending) | 12 days ago | IN | 0 ETH | (Pending) | |||
0x217ae79a3d419adc70c0ea41f4abccf68b6a38bc8d598bcc9da591cc350edfc7 | Transfer | (pending) | 12 days ago | IN | 0 ETH | (Pending) | |||
Approve | 20645784 | 15 mins ago | IN | 0 ETH | 0.00003388 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025053 | ||||
Transfer | 20645244 | 2 hrs ago | IN | 0 ETH | 0.00025061 | ||||
Transfer | 20645241 | 2 hrs ago | IN | 0 ETH | 0.0002504 | ||||
Transfer | 20645241 | 2 hrs ago | IN | 0 ETH | 0.00025048 | ||||
Transfer | 20645241 | 2 hrs ago | IN | 0 ETH | 0.0002504 | ||||
Transfer | 20645241 | 2 hrs ago | IN | 0 ETH | 0.00025048 | ||||
Transfer | 20645241 | 2 hrs ago | IN | 0 ETH | 0.00025048 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
InQubeta
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-08 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; interface IFeeCollector { function recordBuyFee(uint amount) external; function recordSellFee(uint amount) external; function distributeIfNeeded() external; } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev 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 `account`. */ function renounceRole(bytes32 role, address account) external; } /** * @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; } } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); } /** * @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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract InQubeta is ERC20, ERC20Burnable, AccessControl { /// @notice Precision for mathematical calculations with percents. 100% === 10000 uint256 private constant PRECISION = 100_00; /// @notice Access Control fee collector role hash bytes32 public constant FEE_DISTRIBUTION_ROLE = keccak256("FEE_DISTRIBUTION_ROLE"); /// @notice fee collector address address public feeCollector; /// @notice the percentage of the fee charged for the purchase of the token uint256 public buyFee; /// @notice the percentage of the fee charged for the selling of the token uint256 public sellFee; /// @notice bool value, if true, fees is enabled, if false, disabled bool public isEnabledFees; /// @notice pair mapping, if true the pair is added and fees are charged, /// if false, no fees are charged mapping(address => bool) public pairs; /// ================================ Errors ================================ /// /// @dev - address is not a contract; error IsNotContract(string err); ///@dev returned if passed zero address error ZeroAddress(string err); ///@dev returned if passed zero amount error ZeroAmount(string err); ///@dev returned if the set percentage is equal to or greater than PRECISION error HighValue(string err); ///@dev returned if the pair address already exists error ExistsAddress(string err); ///@dev returned if the value already assigned error ExistsValue(string err); ///@dev returned if the pair address has not been added error NotFoundAddress(string err); ///@dev returned if the caller dont have access to function error AccessIsDenied(string err); /// ================================ Events ================================ /// ///@dev emitted when owner add new pair event AddPair( address indexed addressPair, bool enabled, uint256 indexed timestamp ); ///@dev emitted when owner set fee percents event SetFees(uint256 buyFee, uint256 sellFee, uint256 indexed timestamp); ///@dev emitted when owner update fee collector address event UpdateFeeCollector( address indexed feeCollector, uint256 indexed timestamp ); ///@dev emitted when fees enabled event EnableFees(bool indexed enabled, uint256 indexed timestamp); ///@dev emitted when fees disabled event DisableFees(bool indexed enabled, uint256 indexed timestamp); ///@dev emitted when owner disable pair address event RemovePair( address indexed addressPair, bool disable, uint256 indexed timestamp ); ///@dev emitted when buy fee is updated for all pairs event UpdateBuyFee(uint256 buyFee, uint256 indexed timestamp); ///@dev emitted when sell fee is updated for all pairs event UpdateSellFee(uint256 buyFee, uint256 indexed timestamp); constructor( address _admin, /// contract owner uint256 _initialSupply, /// total supply of tokens uint256 _buyFee, /// buy fee percent. 5% * 100 = 500 uint256 _sellFee, /// buy fee percent. 10% * 100 = 1000 address _feeCollector /// fee collector contract addrees ) ERC20("InQubeta", "QUBE") checkMaxFee(_buyFee, _sellFee) { if (_feeCollector == address(0) || _admin == address(0)) { revert ZeroAddress("InQubeta: Zero address"); } if (!Address.isContract(_feeCollector)) { revert IsNotContract("InQubeta: Fee collector is not a contract"); } _mint(_admin, _initialSupply); feeCollector = _feeCollector; _grantRole(DEFAULT_ADMIN_ROLE, _admin); _grantRole(FEE_DISTRIBUTION_ROLE, _admin); _grantRole(FEE_DISTRIBUTION_ROLE, _feeCollector); buyFee = _buyFee; sellFee = _sellFee; isEnabledFees = true; } /** @dev the modifier checks whether the commission percentages are within the allowed range */ modifier checkMaxFee(uint256 _buyFee, uint256 _sellFee) { if (_buyFee >= PRECISION || _sellFee >= PRECISION) { revert HighValue("InQubeta: Fee value is too high"); } _; } /** * @notice The function performs an ERC20 transfer, but with some modifications. In the event * that the token will be sent to the pool that is added to our contract, the sell commission * will be charged from the number of tokens sent. If the token will * be sent from the pool, the buy fee will be charged from the number of tokens sent. * If it is a normal transfer that is not sent to or from the pool, * it will work as a standard ERC20 transfer */ function transfer( address to, uint256 amount ) public virtual override returns (bool) { return _transferFrom(msg.sender, to, amount); } /** * @notice The function performs an ERC20 transferFrom, but with some modifications. In the event * that the token will be sent to the pool that is added to our contract, the sell commission * will be charged from the number of tokens sent. If the token will * be sent from the pool, the buy fee will be charged from the number of tokens sent. * If it is a normal transferFrom that is not sent to or from the pool, * it will work as a standard ERC20 transferFrom. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { _spendAllowance(from, msg.sender, amount); return _transferFrom(from, to, amount); } /** * @notice The function adds a new pair from which commissions will be charged * for the purchase and sale of our token. Only the owner can call. * @param addressPair - pair address */ function addPair( address addressPair ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (addressPair == address(0)) { revert ZeroAddress("InQubeta: Zero address"); } if (pairs[addressPair]) { revert ExistsAddress("InQubeta: Address already exists"); } pairs[addressPair] = true; emit AddPair(addressPair, true, block.timestamp); } /** * @notice The function performs disabling pool. * Only the owner can call. * @param addressPair - pair address */ function removePair( address addressPair ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (addressPair == address(0)) { revert ZeroAddress("InQubeta: Zero address"); } pairs[addressPair] = false; emit RemovePair(addressPair, false, block.timestamp); } /** * @notice The function performs disabling buy and sell fees. * Only the default admin or fee collector can call it. */ function disableFees() external onlyRole(FEE_DISTRIBUTION_ROLE) { isEnabledFees = false; emit DisableFees(false, block.timestamp); } /** * @notice The function performs enabling buy and sell fees. * Only the default admin or fee collector can call it. */ function enableFees() external onlyRole(FEE_DISTRIBUTION_ROLE) { isEnabledFees = true; emit EnableFees(true, block.timestamp); } /** * @notice The function updates the buy fee percentage. * Only the owner can call. * @param _buyFee - sell fee percent */ function updateBuyFee( uint256 _buyFee ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_buyFee >= PRECISION) { revert HighValue("InQubeta: Fee value is too high"); } buyFee = _buyFee; emit UpdateBuyFee(_buyFee, block.timestamp); } /** * @notice The function updates the sell fee percentage. * Only the owner can call. * @param _sellFee - sell fee percent */ function updateSellFee( uint256 _sellFee ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_sellFee >= PRECISION) { revert HighValue("InQubeta: Fee value is too high"); } sellFee = _sellFee; emit UpdateSellFee(_sellFee, block.timestamp); } /** * @notice The function updates the settings of commission percentages * for buying and selling. Only the owner can call. * @param _buyFee - buy fee percent * @param _sellFee - sell fee percent */ function updateFeesPercents( uint256 _buyFee, uint256 _sellFee ) external onlyRole(DEFAULT_ADMIN_ROLE) checkMaxFee(_buyFee, _sellFee) { buyFee = _buyFee; sellFee = _sellFee; emit SetFees(_buyFee, _sellFee, block.timestamp); } /** * @notice The function updates the address that receives all commissions. * Only the owner can call. * @param newFeeCollector - new fee collector address */ function updateFeeCollector( address newFeeCollector ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (newFeeCollector == address(0)) { revert ZeroAddress("InQubeta: Zero address"); } if (newFeeCollector == feeCollector) { revert ExistsAddress("InQubeta: No new address specified"); } if (!Address.isContract(newFeeCollector)) { revert IsNotContract("InQubeta: Fee collector is not a contract"); } revokeRole(FEE_DISTRIBUTION_ROLE, feeCollector); feeCollector = newFeeCollector; grantRole(FEE_DISTRIBUTION_ROLE, newFeeCollector); emit UpdateFeeCollector(newFeeCollector, block.timestamp); } /** * @notice Internal function that implements the logic of token transfer and the logic of fee collection. */ function _transferFrom( address from, address to, uint256 amount ) internal returns (bool) { if (isEnabledFees) { if (pairs[to]) { uint256 fee = (amount * sellFee) / PRECISION; uint256 transferAmount = amount - fee; _transfer(from, feeCollector, fee); _transfer(from, to, transferAmount); IFeeCollector(feeCollector).recordSellFee(fee); } else if (pairs[from]) { uint256 fee = (amount * buyFee) / PRECISION; _transfer(from, to, amount); _transfer(to, feeCollector, fee); IFeeCollector(feeCollector).recordBuyFee(fee); } else { _transfer(from, to, amount); } } else { _transfer(from, to, amount); } return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"},{"internalType":"address","name":"_feeCollector","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"AccessIsDenied","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"ExistsAddress","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"ExistsValue","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"HighValue","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"IsNotContract","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"NotFoundAddress","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"ZeroAddress","type":"error"},{"inputs":[{"internalType":"string","name":"err","type":"string"}],"name":"ZeroAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressPair","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"AddPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DisableFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"EnableFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressPair","type":"address"},{"indexed":false,"internalType":"bool","name":"disable","type":"bool"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"RemovePair","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":false,"internalType":"uint256","name":"buyFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SetFees","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":"uint256","name":"buyFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpdateBuyFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"feeCollector","type":"address"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpdateFeeCollector","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpdateSellFee","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_DISTRIBUTION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addressPair","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFee","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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isEnabledFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addressPair","type":"address"}],"name":"removePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"}],"name":"updateBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFeeCollector","type":"address"}],"name":"updateFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"updateFeesPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"updateSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200206b3803806200206b833981016040819052620000349162000423565b60405180604001604052806008815260200167496e51756265746160c01b815250604051806040016040528060048152602001635155424560e01b81525081600390816200008391906200051c565b5060046200009282826200051c565b505050828261271082101580620000ab57506127108110155b15620000ff5760405163c55530a760e01b815260206004820152601f60248201527f496e5175626574613a204665652076616c756520697320746f6f20686967680060448201526064015b60405180910390fd5b6001600160a01b03831615806200011d57506001600160a01b038716155b156200016d5760405163eac0d38960e01b815260206004820152601660248201527f496e5175626574613a205a65726f2061646472657373000000000000000000006044820152606401620000f6565b6001600160a01b0383163b620001d9576040516357a4a13960e01b815260206004820152602960248201527f496e5175626574613a2046656520636f6c6c6563746f72206973206e6f7420616044820152680818dbdb9d1c9858dd60ba1b6064820152608401620000f6565b620001e5878762000264565b600680546001600160a01b0319166001600160a01b0385161790556200020d6000886200034a565b620002286000805160206200204b833981519152886200034a565b620002436000805160206200204b833981519152846200034a565b50505060079190915560085550506009805460ff191660011790556200060a565b6001600160a01b038216620002bc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000f6565b8060026000828254620002d09190620005e8565b90915550506001600160a01b03821660009081526020819052604081208054839290620002ff908490620005e8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b620003568282620003d9565b620003465760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003903390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b80516001600160a01b03811681146200041e57600080fd5b919050565b600080600080600060a086880312156200043c57600080fd5b620004478662000406565b94506020860151935060408601519250606086015191506200046c6080870162000406565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004a357607f821691505b602082108103620004c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d457600081815260208120601f850160051c81016020861015620004f35750805b601f850160051c820191505b818110156200051457828155600101620004ff565b505050505050565b81516001600160401b0381111562000538576200053862000478565b62000550816200054984546200048e565b84620004ca565b602080601f8311600181146200058857600084156200056f5750858301515b600019600386901b1c1916600185901b17855562000514565b600085815260208120601f198616915b82811015620005b95788860151825594840194600190910190840162000598565b5085821015620005d85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200040057634e487b7160e01b600052601160045260246000fd5b611a31806200061a6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063c2b7bbb6116100ad578063d2c35ce81161007c578063d2c35ce81461043e578063d547741f14610451578063dd62ed3e14610464578063edd508d814610477578063fe33b3021461048c57600080fd5b8063c2b7bbb6146103e5578063c415b95c146103f8578063ce404b2314610423578063d007db8a1461042b57600080fd5b8063a217fddf116100e9578063a217fddf146103a4578063a457c2d7146103ac578063a9059cbb146103bf578063af6c9c1d146103d257600080fd5b806370a082311461034d57806379cc67901461037657806391d148541461038957806395d89b411461039c57600080fd5b80632f2ff15d1161019d578063395093511161016c57806339509351146102fe57806342966c6814610311578063467abe0a146103245780634706240214610337578063552b37881461034057600080fd5b80632f2ff15d146102c1578063313ce567146102d457806336568abe146102e3578063368f5bd5146102f657600080fd5b80631d933a4a116101d95780631d933a4a1461026d57806323b872dd14610282578063248a9ca3146102955780632b14ca56146102b857600080fd5b806301ffc9a71461020b57806306fdde0314610233578063095ea7b31461024857806318160ddd1461025b575b600080fd5b61021e61021936600461165e565b6104af565b60405190151581526020015b60405180910390f35b61023b6104e6565b60405161022a91906116ac565b61021e6102563660046116fb565b610578565b6002545b60405190815260200161022a565b61028061027b366004611725565b610590565b005b61021e61029036600461173e565b610605565b61025f6102a3366004611725565b60009081526005602052604090206001015490565b61025f60085481565b6102806102cf36600461177a565b610625565b6040516012815260200161022a565b6102806102f136600461177a565b61064f565b6102806106cd565b61021e61030c3660046116fb565b610724565b61028061031f366004611725565b610746565b610280610332366004611725565b610753565b61025f60075481565b60095461021e9060ff1681565b61025f61035b3660046117a6565b6001600160a01b031660009081526020819052604090205490565b6102806103843660046116fb565b6107b7565b61021e61039736600461177a565b6107cc565b61023b6107f7565b61025f600081565b61021e6103ba3660046116fb565b610806565b61021e6103cd3660046116fb565b61088c565b6102806103e03660046117a6565b6108a0565b6102806103f33660046117a6565b61092c565b60065461040b906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b610280610a22565b6102806104393660046117c1565b610a74565b61028061044c3660046117a6565b610afe565b61028061045f36600461177a565b610c96565b61025f6104723660046117e3565b610cbb565b61025f6000805160206119dc83398151915281565b61021e61049a3660046117a6565b600a6020526000908152604090205460ff1681565b60006001600160e01b03198216637965db0b60e01b14806104e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104f59061180d565b80601f01602080910402602001604051908101604052809291908181526020018280546105219061180d565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b600033610586818585610ce6565b5060019392505050565b600061059b81610e0a565b61271082106105c65760405163c55530a760e01b81526004016105bd90611847565b60405180910390fd5b600882905560405182815242907fde4022aab72c416fa5c54f5b02a3d8ce50d8a9418a85c790d51cf759ebb4697d906020015b60405180910390a25050565b6000610612843384610e14565b61061d848484610e8e565b949350505050565b60008281526005602052604090206001015461064081610e0a565b61064a8383611055565b505050565b6001600160a01b03811633146106bf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bd565b6106c982826110db565b5050565b6000805160206119dc8339815191526106e581610e0a565b6009805460ff191660019081179091556040514291907f45d3d04798348aacd1da05f8d95eaada62ac3be2dd76963d14a07be993aa92b390600090a350565b6000336105868185856107378383610cbb565b6107419190611894565b610ce6565b6107503382611142565b50565b600061075e81610e0a565b61271082106107805760405163c55530a760e01b81526004016105bd90611847565b600782905560405182815242907fc66f11a4e1af275a2ecb111e96ff29a572358bd3abd0d8851f439ca0f4aa40ac906020016105f9565b6107c2823383610e14565b6106c98282611142565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546104f59061180d565b600033816108148286610cbb565b9050838110156108745760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105bd565b6108818286868403610ce6565b506001949350505050565b6000610899338484610e8e565b9392505050565b60006108ab81610e0a565b6001600160a01b0382166108d25760405163eac0d38960e01b81526004016105bd906118a7565b6001600160a01b0382166000818152600a60209081526040808320805460ff19169055519182524292917fd108346601a5498fb2ea1df88bcbf18b017bdff6996ebd27f3c544832810db7891015b60405180910390a35050565b600061093781610e0a565b6001600160a01b03821661095e5760405163eac0d38960e01b81526004016105bd906118a7565b6001600160a01b0382166000908152600a602052604090205460ff16156109c85760405163dfd4246160e01b815260206004820181905260248201527f496e5175626574613a204164647265737320616c72656164792065786973747360448201526064016105bd565b6001600160a01b0382166000818152600a6020908152604091829020805460ff1916600190811790915591519182524292917f577f9843a7881187d256e1ac26a17ed75a342a460135625e44f9136939cf2a349101610920565b6000805160206119dc833981519152610a3a81610e0a565b6009805460ff1916905560405142906000907fd1095bab2961add9cd6fcc56b95597100f510c20e90abae35cf12ad1aa83b7b0908290a350565b6000610a7f81610e0a565b828261271082101580610a9457506127108110155b15610ab25760405163c55530a760e01b81526004016105bd90611847565b60078590556008849055604080518681526020810186905242917f37322890d66d781059d797be5e2f27dc160a34d8bc0a8e09116cb9a773ce88ef910160405180910390a25050505050565b6000610b0981610e0a565b6001600160a01b038216610b305760405163eac0d38960e01b81526004016105bd906118a7565b6006546001600160a01b0390811690831603610b9a5760405163dfd4246160e01b815260206004820152602260248201527f496e5175626574613a204e6f206e657720616464726573732073706563696669604482015261195960f21b60648201526084016105bd565b6001600160a01b0382163b610c04576040516357a4a13960e01b815260206004820152602960248201527f496e5175626574613a2046656520636f6c6c6563746f72206973206e6f7420616044820152680818dbdb9d1c9858dd60ba1b60648201526084016105bd565b600654610c29906000805160206119dc833981519152906001600160a01b0316610c96565b600680546001600160a01b0319166001600160a01b038416179055610c5c6000805160206119dc83398151915283610625565b60405142906001600160a01b038416907f508c75403cc8fb7a6325dded13c32b3f556a49653f5bbc55ac7ef2937ea53d4890600090a35050565b600082815260056020526040902060010154610cb181610e0a565b61064a83836110db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610d485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105bd565b6001600160a01b038216610da95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6107508133611290565b6000610e208484610cbb565b90506000198114610e885781811015610e7b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105bd565b610e888484848403610ce6565b50505050565b60095460009060ff161561104a576001600160a01b0383166000908152600a602052604090205460ff1615610f7357600061271060085484610ed091906118d7565b610eda91906118ee565b90506000610ee88285611910565b600654909150610f039087906001600160a01b0316846112f4565b610f0e8686836112f4565b60065460405163cde38c9760e01b8152600481018490526001600160a01b039091169063cde38c9790602401600060405180830381600087803b158015610f5457600080fd5b505af1158015610f68573d6000803e3d6000fd5b505050505050610586565b6001600160a01b0384166000908152600a602052604090205460ff161561103a57600061271060075484610fa791906118d7565b610fb191906118ee565b9050610fbe8585856112f4565b600654610fd69085906001600160a01b0316836112f4565b60065460405163151f8b7b60e21b8152600481018390526001600160a01b039091169063547e2dec90602401600060405180830381600087803b15801561101c57600080fd5b505af1158015611030573d6000803e3d6000fd5b5050505050610586565b6110458484846112f4565b610586565b6105868484846112f4565b61105f82826107cc565b6106c95760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110e582826107cc565b156106c95760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166111a25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105bd565b6001600160a01b038216600090815260208190526040902054818110156112165760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105bd565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611245908490611910565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61129a82826107cc565b6106c9576112b2816001600160a01b031660146114c2565b6112bd8360206114c2565b6040516020016112ce929190611923565b60408051601f198184030181529082905262461bcd60e51b82526105bd916004016116ac565b6001600160a01b0383166113585760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105bd565b6001600160a01b0382166113ba5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105bd565b6001600160a01b038316600090815260208190526040902054818110156114325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105bd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611469908490611894565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114b591815260200190565b60405180910390a3610e88565b606060006114d18360026118d7565b6114dc906002611894565b67ffffffffffffffff8111156114f4576114f4611998565b6040519080825280601f01601f19166020018201604052801561151e576020820181803683370190505b509050600360fc1b81600081518110611539576115396119ae565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611568576115686119ae565b60200101906001600160f81b031916908160001a905350600061158c8460026118d7565b611597906001611894565b90505b600181111561160f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106115cb576115cb6119ae565b1a60f81b8282815181106115e1576115e16119ae565b60200101906001600160f81b031916908160001a90535060049490941c93611608816119c4565b905061159a565b5083156108995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bd565b60006020828403121561167057600080fd5b81356001600160e01b03198116811461089957600080fd5b60005b838110156116a357818101518382015260200161168b565b50506000910152565b60208152600082518060208401526116cb816040850160208701611688565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116f657600080fd5b919050565b6000806040838503121561170e57600080fd5b611717836116df565b946020939093013593505050565b60006020828403121561173757600080fd5b5035919050565b60008060006060848603121561175357600080fd5b61175c846116df565b925061176a602085016116df565b9150604084013590509250925092565b6000806040838503121561178d57600080fd5b8235915061179d602084016116df565b90509250929050565b6000602082840312156117b857600080fd5b610899826116df565b600080604083850312156117d457600080fd5b50508035926020909101359150565b600080604083850312156117f657600080fd5b6117ff836116df565b915061179d602084016116df565b600181811c9082168061182157607f821691505b60208210810361184157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f496e5175626574613a204665652076616c756520697320746f6f206869676800604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156104e0576104e061187e565b602080825260169082015275496e5175626574613a205a65726f206164647265737360501b604082015260600190565b80820281158282048414176104e0576104e061187e565b60008261190b57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104e0576104e061187e565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161195b816017850160208801611688565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161198c816028840160208801611688565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816119d3576119d361187e565b50600019019056fea56be0bb4dc7e0954b8ccc78ba1e1a046d82357f58efb06203f0030483436deda2646970667358221220f564af54824ee07c033d4c6750b0aeb718963e15301ca4ead3d510d2271322ab64736f6c63430008130033a56be0bb4dc7e0954b8ccc78ba1e1a046d82357f58efb06203f0030483436ded0000000000000000000000007ae3469486198aed92fb82410e27b82fa6c389cc000000000000000000000000000000000000000004d8c55aefb8c05b5c00000000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000c9e6c3b7b7c256be5eeae0987cba7a9cc57a68da
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063c2b7bbb6116100ad578063d2c35ce81161007c578063d2c35ce81461043e578063d547741f14610451578063dd62ed3e14610464578063edd508d814610477578063fe33b3021461048c57600080fd5b8063c2b7bbb6146103e5578063c415b95c146103f8578063ce404b2314610423578063d007db8a1461042b57600080fd5b8063a217fddf116100e9578063a217fddf146103a4578063a457c2d7146103ac578063a9059cbb146103bf578063af6c9c1d146103d257600080fd5b806370a082311461034d57806379cc67901461037657806391d148541461038957806395d89b411461039c57600080fd5b80632f2ff15d1161019d578063395093511161016c57806339509351146102fe57806342966c6814610311578063467abe0a146103245780634706240214610337578063552b37881461034057600080fd5b80632f2ff15d146102c1578063313ce567146102d457806336568abe146102e3578063368f5bd5146102f657600080fd5b80631d933a4a116101d95780631d933a4a1461026d57806323b872dd14610282578063248a9ca3146102955780632b14ca56146102b857600080fd5b806301ffc9a71461020b57806306fdde0314610233578063095ea7b31461024857806318160ddd1461025b575b600080fd5b61021e61021936600461165e565b6104af565b60405190151581526020015b60405180910390f35b61023b6104e6565b60405161022a91906116ac565b61021e6102563660046116fb565b610578565b6002545b60405190815260200161022a565b61028061027b366004611725565b610590565b005b61021e61029036600461173e565b610605565b61025f6102a3366004611725565b60009081526005602052604090206001015490565b61025f60085481565b6102806102cf36600461177a565b610625565b6040516012815260200161022a565b6102806102f136600461177a565b61064f565b6102806106cd565b61021e61030c3660046116fb565b610724565b61028061031f366004611725565b610746565b610280610332366004611725565b610753565b61025f60075481565b60095461021e9060ff1681565b61025f61035b3660046117a6565b6001600160a01b031660009081526020819052604090205490565b6102806103843660046116fb565b6107b7565b61021e61039736600461177a565b6107cc565b61023b6107f7565b61025f600081565b61021e6103ba3660046116fb565b610806565b61021e6103cd3660046116fb565b61088c565b6102806103e03660046117a6565b6108a0565b6102806103f33660046117a6565b61092c565b60065461040b906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b610280610a22565b6102806104393660046117c1565b610a74565b61028061044c3660046117a6565b610afe565b61028061045f36600461177a565b610c96565b61025f6104723660046117e3565b610cbb565b61025f6000805160206119dc83398151915281565b61021e61049a3660046117a6565b600a6020526000908152604090205460ff1681565b60006001600160e01b03198216637965db0b60e01b14806104e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104f59061180d565b80601f01602080910402602001604051908101604052809291908181526020018280546105219061180d565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b600033610586818585610ce6565b5060019392505050565b600061059b81610e0a565b61271082106105c65760405163c55530a760e01b81526004016105bd90611847565b60405180910390fd5b600882905560405182815242907fde4022aab72c416fa5c54f5b02a3d8ce50d8a9418a85c790d51cf759ebb4697d906020015b60405180910390a25050565b6000610612843384610e14565b61061d848484610e8e565b949350505050565b60008281526005602052604090206001015461064081610e0a565b61064a8383611055565b505050565b6001600160a01b03811633146106bf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bd565b6106c982826110db565b5050565b6000805160206119dc8339815191526106e581610e0a565b6009805460ff191660019081179091556040514291907f45d3d04798348aacd1da05f8d95eaada62ac3be2dd76963d14a07be993aa92b390600090a350565b6000336105868185856107378383610cbb565b6107419190611894565b610ce6565b6107503382611142565b50565b600061075e81610e0a565b61271082106107805760405163c55530a760e01b81526004016105bd90611847565b600782905560405182815242907fc66f11a4e1af275a2ecb111e96ff29a572358bd3abd0d8851f439ca0f4aa40ac906020016105f9565b6107c2823383610e14565b6106c98282611142565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546104f59061180d565b600033816108148286610cbb565b9050838110156108745760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105bd565b6108818286868403610ce6565b506001949350505050565b6000610899338484610e8e565b9392505050565b60006108ab81610e0a565b6001600160a01b0382166108d25760405163eac0d38960e01b81526004016105bd906118a7565b6001600160a01b0382166000818152600a60209081526040808320805460ff19169055519182524292917fd108346601a5498fb2ea1df88bcbf18b017bdff6996ebd27f3c544832810db7891015b60405180910390a35050565b600061093781610e0a565b6001600160a01b03821661095e5760405163eac0d38960e01b81526004016105bd906118a7565b6001600160a01b0382166000908152600a602052604090205460ff16156109c85760405163dfd4246160e01b815260206004820181905260248201527f496e5175626574613a204164647265737320616c72656164792065786973747360448201526064016105bd565b6001600160a01b0382166000818152600a6020908152604091829020805460ff1916600190811790915591519182524292917f577f9843a7881187d256e1ac26a17ed75a342a460135625e44f9136939cf2a349101610920565b6000805160206119dc833981519152610a3a81610e0a565b6009805460ff1916905560405142906000907fd1095bab2961add9cd6fcc56b95597100f510c20e90abae35cf12ad1aa83b7b0908290a350565b6000610a7f81610e0a565b828261271082101580610a9457506127108110155b15610ab25760405163c55530a760e01b81526004016105bd90611847565b60078590556008849055604080518681526020810186905242917f37322890d66d781059d797be5e2f27dc160a34d8bc0a8e09116cb9a773ce88ef910160405180910390a25050505050565b6000610b0981610e0a565b6001600160a01b038216610b305760405163eac0d38960e01b81526004016105bd906118a7565b6006546001600160a01b0390811690831603610b9a5760405163dfd4246160e01b815260206004820152602260248201527f496e5175626574613a204e6f206e657720616464726573732073706563696669604482015261195960f21b60648201526084016105bd565b6001600160a01b0382163b610c04576040516357a4a13960e01b815260206004820152602960248201527f496e5175626574613a2046656520636f6c6c6563746f72206973206e6f7420616044820152680818dbdb9d1c9858dd60ba1b60648201526084016105bd565b600654610c29906000805160206119dc833981519152906001600160a01b0316610c96565b600680546001600160a01b0319166001600160a01b038416179055610c5c6000805160206119dc83398151915283610625565b60405142906001600160a01b038416907f508c75403cc8fb7a6325dded13c32b3f556a49653f5bbc55ac7ef2937ea53d4890600090a35050565b600082815260056020526040902060010154610cb181610e0a565b61064a83836110db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610d485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105bd565b6001600160a01b038216610da95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6107508133611290565b6000610e208484610cbb565b90506000198114610e885781811015610e7b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105bd565b610e888484848403610ce6565b50505050565b60095460009060ff161561104a576001600160a01b0383166000908152600a602052604090205460ff1615610f7357600061271060085484610ed091906118d7565b610eda91906118ee565b90506000610ee88285611910565b600654909150610f039087906001600160a01b0316846112f4565b610f0e8686836112f4565b60065460405163cde38c9760e01b8152600481018490526001600160a01b039091169063cde38c9790602401600060405180830381600087803b158015610f5457600080fd5b505af1158015610f68573d6000803e3d6000fd5b505050505050610586565b6001600160a01b0384166000908152600a602052604090205460ff161561103a57600061271060075484610fa791906118d7565b610fb191906118ee565b9050610fbe8585856112f4565b600654610fd69085906001600160a01b0316836112f4565b60065460405163151f8b7b60e21b8152600481018390526001600160a01b039091169063547e2dec90602401600060405180830381600087803b15801561101c57600080fd5b505af1158015611030573d6000803e3d6000fd5b5050505050610586565b6110458484846112f4565b610586565b6105868484846112f4565b61105f82826107cc565b6106c95760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110973390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110e582826107cc565b156106c95760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166111a25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105bd565b6001600160a01b038216600090815260208190526040902054818110156112165760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105bd565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611245908490611910565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61129a82826107cc565b6106c9576112b2816001600160a01b031660146114c2565b6112bd8360206114c2565b6040516020016112ce929190611923565b60408051601f198184030181529082905262461bcd60e51b82526105bd916004016116ac565b6001600160a01b0383166113585760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105bd565b6001600160a01b0382166113ba5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105bd565b6001600160a01b038316600090815260208190526040902054818110156114325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105bd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611469908490611894565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114b591815260200190565b60405180910390a3610e88565b606060006114d18360026118d7565b6114dc906002611894565b67ffffffffffffffff8111156114f4576114f4611998565b6040519080825280601f01601f19166020018201604052801561151e576020820181803683370190505b509050600360fc1b81600081518110611539576115396119ae565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611568576115686119ae565b60200101906001600160f81b031916908160001a905350600061158c8460026118d7565b611597906001611894565b90505b600181111561160f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106115cb576115cb6119ae565b1a60f81b8282815181106115e1576115e16119ae565b60200101906001600160f81b031916908160001a90535060049490941c93611608816119c4565b905061159a565b5083156108995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bd565b60006020828403121561167057600080fd5b81356001600160e01b03198116811461089957600080fd5b60005b838110156116a357818101518382015260200161168b565b50506000910152565b60208152600082518060208401526116cb816040850160208701611688565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116f657600080fd5b919050565b6000806040838503121561170e57600080fd5b611717836116df565b946020939093013593505050565b60006020828403121561173757600080fd5b5035919050565b60008060006060848603121561175357600080fd5b61175c846116df565b925061176a602085016116df565b9150604084013590509250925092565b6000806040838503121561178d57600080fd5b8235915061179d602084016116df565b90509250929050565b6000602082840312156117b857600080fd5b610899826116df565b600080604083850312156117d457600080fd5b50508035926020909101359150565b600080604083850312156117f657600080fd5b6117ff836116df565b915061179d602084016116df565b600181811c9082168061182157607f821691505b60208210810361184157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f496e5175626574613a204665652076616c756520697320746f6f206869676800604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156104e0576104e061187e565b602080825260169082015275496e5175626574613a205a65726f206164647265737360501b604082015260600190565b80820281158282048414176104e0576104e061187e565b60008261190b57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104e0576104e061187e565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161195b816017850160208801611688565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161198c816028840160208801611688565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816119d3576119d361187e565b50600019019056fea56be0bb4dc7e0954b8ccc78ba1e1a046d82357f58efb06203f0030483436deda2646970667358221220f564af54824ee07c033d4c6750b0aeb718963e15301ca4ead3d510d2271322ab64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007ae3469486198aed92fb82410e27b82fa6c389cc000000000000000000000000000000000000000004d8c55aefb8c05b5c00000000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000c9e6c3b7b7c256be5eeae0987cba7a9cc57a68da
-----Decoded View---------------
Arg [0] : _admin (address): 0x7ae3469486198aeD92fB82410e27b82fa6C389cc
Arg [1] : _initialSupply (uint256): 1500000000000000000000000000
Arg [2] : _buyFee (uint256): 500
Arg [3] : _sellFee (uint256): 1000
Arg [4] : _feeCollector (address): 0xc9E6c3B7B7C256BE5EEae0987CBA7a9cC57A68DA
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ae3469486198aed92fb82410e27b82fa6c389cc
Arg [1] : 000000000000000000000000000000000000000004d8c55aefb8c05b5c000000
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 000000000000000000000000c9e6c3b7b7c256be5eeae0987cba7a9cc57a68da
Deployed Bytecode Sourcemap
40687:10957:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9906:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;9906:204:0;;;;;;;;20559:100;;;:::i;:::-;;;;;;;:::i;22910:201::-;;;;;;:::i;:::-;;:::i;21679:108::-;21767:12;;21679:108;;;1736:25:1;;;1724:2;1709:18;21679:108:0;1590:177:1;48820:305:0;;;;;;:::i;:::-;;:::i;:::-;;46212:246;;;;;;:::i;:::-;;:::i;11742:131::-;;;;;;:::i;:::-;11816:7;11843:12;;;:6;:12;;;;;:22;;;;11742:131;41304:22;;;;;;12135:147;;;;;;:::i;:::-;;:::i;21521:93::-;;;21604:2;3058:36:1;;3046:2;3031:18;21521:93:0;2916:184:1;13183:218:0;;;;;;:::i;:::-;;:::i;48045:151::-;;;:::i;24395:238::-;;;;;;:::i;:::-;;:::i;31741:91::-;;;;;;:::i;:::-;;:::i;48358:298::-;;;;;;:::i;:::-;;:::i;41196:21::-;;;;;;41407:25;;;;;;;;;21850:127;;;;;;:::i;:::-;-1:-1:-1;;;;;21951:18:0;21924:7;21951:18;;;;;;;;;;;;21850:127;32151:164;;;;;;:::i;:::-;;:::i;10202:147::-;;;;;;:::i;:::-;;:::i;20778:104::-;;;:::i;9307:49::-;;9352:4;9307:49;;25136:436;;;;;;:::i;:::-;;:::i;45509:173::-;;;;;;:::i;:::-;;:::i;47266:317::-;;;;;;:::i;:::-;;:::i;46683:428::-;;;;;;:::i;:::-;;:::i;41081:27::-;;;;;-1:-1:-1;;;;;41081:27:0;;;;;;-1:-1:-1;;;;;3460:32:1;;;3442:51;;3430:2;3415:18;41081:27:0;3296:203:1;47737:155:0;;;:::i;49368:282::-;;;;;;:::i;:::-;;:::i;49848:736::-;;;;;;:::i;:::-;;:::i;12527:149::-;;;;;;:::i;:::-;;:::i;22439:151::-;;;;;;:::i;:::-;;:::i;40944:91::-;;-1:-1:-1;;;;;;;;;;;40944:91:0;;41557:37;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9906:204;9991:4;-1:-1:-1;;;;;;10015:47:0;;-1:-1:-1;;;10015:47:0;;:87;;-1:-1:-1;;;;;;;;;;1805:40:0;;;10066:36;10008:94;9906:204;-1:-1:-1;;9906:204:0:o;20559:100::-;20613:13;20646:5;20639:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20559:100;:::o;22910:201::-;22993:4;7359:10;23049:32;7359:10;23065:7;23074:6;23049:8;:32::i;:::-;-1:-1:-1;23099:4:0;;22910:201;-1:-1:-1;;;22910:201:0:o;48820:305::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;40875:6:::1;48930:8;:21;48926:105;;48975:44;;-1:-1:-1::0;;;48975:44:0::1;;;;;;;:::i;:::-;;;;;;;;48926:105;49043:7;:18:::0;;;49077:40:::1;::::0;1736:25:1;;;49101:15:0::1;::::0;49077:40:::1;::::0;1724:2:1;1709:18;49077:40:0::1;;;;;;;;48820:305:::0;;:::o;46212:246::-;46343:4;46360:41;46376:4;46382:10;46394:6;46360:15;:41::i;:::-;46419:31;46433:4;46439:2;46443:6;46419:13;:31::i;:::-;46412:38;46212:246;-1:-1:-1;;;;46212:246:0:o;12135:147::-;11816:7;11843:12;;;:6;:12;;;;;:22;;;9798:16;9809:4;9798:10;:16::i;:::-;12249:25:::1;12260:4;12266:7;12249:10;:25::i;:::-;12135:147:::0;;;:::o;13183:218::-;-1:-1:-1;;;;;13279:23:0;;7359:10;13279:23;13271:83;;;;-1:-1:-1;;;13271:83:0;;4969:2:1;13271:83:0;;;4951:21:1;5008:2;4988:18;;;4981:30;5047:34;5027:18;;;5020:62;-1:-1:-1;;;5098:18:1;;;5091:45;5153:19;;13271:83:0;4767:411:1;13271:83:0;13367:26;13379:4;13385:7;13367:11;:26::i;:::-;13183:218;;:::o;48045:151::-;-1:-1:-1;;;;;;;;;;;9798:16:0;9809:4;9798:10;:16::i;:::-;48119:13:::1;:20:::0;;-1:-1:-1;;48119:20:0::1;48135:4;48119:20:::0;;::::1;::::0;;;48155:33:::1;::::0;48172:15:::1;::::0;48135:4;48155:33:::1;::::0;48119:13:::1;::::0;48155:33:::1;48045:151:::0;:::o;24395:238::-;24483:4;7359:10;24539:64;7359:10;24555:7;24592:10;24564:25;7359:10;24555:7;24564:9;:25::i;:::-;:38;;;;:::i;:::-;24539:8;:64::i;31741:91::-;31797:27;7359:10;31817:6;31797:5;:27::i;:::-;31741:91;:::o;48358:298::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;40875:6:::1;48466:7;:20;48462:104;;48510:44;;-1:-1:-1::0;;;48510:44:0::1;;;;;;;:::i;48462:104::-;48578:6;:16:::0;;;48610:38:::1;::::0;1736:25:1;;;48632:15:0::1;::::0;48610:38:::1;::::0;1724:2:1;1709:18;48610:38:0::1;1590:177:1::0;32151:164:0;32228:46;32244:7;7359:10;32267:6;32228:15;:46::i;:::-;32285:22;32291:7;32300:6;32285:5;:22::i;10202:147::-;10288:4;10312:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;10312:29:0;;;;;;;;;;;;;;;10202:147::o;20778:104::-;20834:13;20867:7;20860:14;;;;;:::i;25136:436::-;25229:4;7359:10;25229:4;25312:25;7359:10;25329:7;25312:9;:25::i;:::-;25285:52;;25376:15;25356:16;:35;;25348:85;;;;-1:-1:-1;;;25348:85:0;;5647:2:1;25348:85:0;;;5629:21:1;5686:2;5666:18;;;5659:30;5725:34;5705:18;;;5698:62;-1:-1:-1;;;5776:18:1;;;5769:35;5821:19;;25348:85:0;5445:401:1;25348:85:0;25469:60;25478:5;25485:7;25513:15;25494:16;:34;25469:8;:60::i;:::-;-1:-1:-1;25560:4:0;;25136:436;-1:-1:-1;;;;25136:436:0:o;45509:173::-;45613:4;45637:37;45651:10;45663:2;45667:6;45637:13;:37::i;:::-;45630:44;45509:173;-1:-1:-1;;;45509:173:0:o;47266:317::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;-1:-1:-1;;;;;47376:25:0;::::1;47372:102;;47425:37;;-1:-1:-1::0;;;47425:37:0::1;;;;;;;:::i;47372:102::-;-1:-1:-1::0;;;;;47486:18:0;::::1;47507:5;47486:18:::0;;;:5:::1;:18;::::0;;;;;;;:26;;-1:-1:-1;;47486:26:0::1;::::0;;47528:47;445:41:1;;;47559:15:0::1;::::0;47486:18;47528:47:::1;::::0;418:18:1;47528:47:0::1;;;;;;;;47266:317:::0;;:::o;46683:428::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;-1:-1:-1;;;;;46790:25:0;::::1;46786:102;;46839:37;;-1:-1:-1::0;;;46839:37:0::1;;;;;;;:::i;46786:102::-;-1:-1:-1::0;;;;;46904:18:0;::::1;;::::0;;;:5:::1;:18;::::0;;;;;::::1;;46900:107;;;46946:49;::::0;-1:-1:-1;;;46946:49:0;;6404:2:1;46946:49:0::1;::::0;::::1;6386:21:1::0;;;6423:18;;;6416:30;6482:34;6462:18;;;6455:62;6534:18;;46946:49:0::1;6202:356:1::0;46900:107:0::1;-1:-1:-1::0;;;;;47019:18:0;::::1;;::::0;;;:5:::1;:18;::::0;;;;;;;;:25;;-1:-1:-1;;47019:25:0::1;47040:4;47019:25:::0;;::::1;::::0;;;47060:43;;445:41:1;;;47087:15:0::1;::::0;47019:18;47060:43:::1;::::0;418:18:1;47060:43:0::1;305:187:1::0;47737:155:0;-1:-1:-1;;;;;;;;;;;9798:16:0;9809:4;9798:10;:16::i;:::-;47812:13:::1;:21:::0;;-1:-1:-1;;47812:21:0::1;::::0;;47849:35:::1;::::0;47868:15:::1;::::0;47828:5:::1;::::0;47849:35:::1;::::0;47828:5;;47849:35:::1;47737:155:::0;:::o;49368:282::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;49506:7:::1;49515:8;40875:6;44850:7;:20;;:45;;;;40875:6;44874:8;:21;;44850:45;44846:129;;;44919:44;;-1:-1:-1::0;;;44919:44:0::1;;;;;;;:::i;44846:129::-;49536:6:::2;:16:::0;;;49563:7:::2;:18:::0;;;49599:43:::2;::::0;;6737:25:1;;;6793:2;6778:18;;6771:34;;;49626:15:0::2;::::0;49599:43:::2;::::0;6710:18:1;49599:43:0::2;;;;;;;9825:1:::1;;49368:282:::0;;;:::o;49848:736::-;9352:4;9798:16;9352:4;9798:10;:16::i;:::-;-1:-1:-1;;;;;49970:29:0;::::1;49966:106;;50023:37;;-1:-1:-1::0;;;50023:37:0::1;;;;;;;:::i;49966:106::-;50105:12;::::0;-1:-1:-1;;;;;50105:12:0;;::::1;50086:31:::0;;::::1;::::0;50082:122:::1;;50141:51;::::0;-1:-1:-1;;;50141:51:0;;7018:2:1;50141:51:0::1;::::0;::::1;7000:21:1::0;7057:2;7037:18;;;7030:30;7096:34;7076:18;;;7069:62;-1:-1:-1;;;7147:18:1;;;7140:32;7189:19;;50141:51:0::1;6816:398:1::0;50082:122:0::1;-1:-1:-1::0;;;;;33700:19:0;;;50214:134:::1;;50278:58;::::0;-1:-1:-1;;;50278:58:0;;7421:2:1;50278:58:0::1;::::0;::::1;7403:21:1::0;7460:2;7440:18;;;7433:30;7499:34;7479:18;;;7472:62;-1:-1:-1;;;7550:18:1;;;7543:39;7599:19;;50278:58:0::1;7219:405:1::0;50214:134:0::1;50392:12;::::0;50358:47:::1;::::0;-1:-1:-1;;;;;;;;;;;41001:34:0;-1:-1:-1;;;;;50392:12:0::1;50358:10;:47::i;:::-;50416:12;:30:::0;;-1:-1:-1;;;;;;50416:30:0::1;-1:-1:-1::0;;;;;50416:30:0;::::1;;::::0;;50457:49:::1;-1:-1:-1::0;;;;;;;;;;;50416:30:0;50457:9:::1;:49::i;:::-;50524:52;::::0;50560:15:::1;::::0;-1:-1:-1;;;;;50524:52:0;::::1;::::0;::::1;::::0;;;::::1;49848:736:::0;;:::o;12527:149::-;11816:7;11843:12;;;:6;:12;;;;;:22;;;9798:16;9809:4;9798:10;:16::i;:::-;12642:26:::1;12654:4;12660:7;12642:11;:26::i;22439:151::-:0;-1:-1:-1;;;;;22555:18:0;;;22528:7;22555:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22439:151::o;28770:380::-;-1:-1:-1;;;;;28906:19:0;;28898:68;;;;-1:-1:-1;;;28898:68:0;;7831:2:1;28898:68:0;;;7813:21:1;7870:2;7850:18;;;7843:30;7909:34;7889:18;;;7882:62;-1:-1:-1;;;7960:18:1;;;7953:34;8004:19;;28898:68:0;7629:400:1;28898:68:0;-1:-1:-1;;;;;28985:21:0;;28977:68;;;;-1:-1:-1;;;28977:68:0;;8236:2:1;28977:68:0;;;8218:21:1;8275:2;8255:18;;;8248:30;8314:34;8294:18;;;8287:62;-1:-1:-1;;;8365:18:1;;;8358:32;8407:19;;28977:68:0;8034:398:1;28977:68:0;-1:-1:-1;;;;;29058:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29110:32;;1736:25:1;;;29110:32:0;;1709:18:1;29110:32:0;;;;;;;28770:380;;;:::o;10653:105::-;10720:30;10731:4;7359:10;10720;:30::i;29441:453::-;29576:24;29603:25;29613:5;29620:7;29603:9;:25::i;:::-;29576:52;;-1:-1:-1;;29643:16:0;:37;29639:248;;29725:6;29705:16;:26;;29697:68;;;;-1:-1:-1;;;29697:68:0;;8639:2:1;29697:68:0;;;8621:21:1;8678:2;8658:18;;;8651:30;8717:31;8697:18;;;8690:59;8766:18;;29697:68:0;8437:353:1;29697:68:0;29809:51;29818:5;29825:7;29853:6;29834:16;:25;29809:8;:51::i;:::-;29565:329;29441:453;;;:::o;50721:920::-;50859:13;;50838:4;;50859:13;;50855:757;;;-1:-1:-1;;;;;50893:9:0;;;;;;:5;:9;;;;;;;;50889:652;;;50923:11;40875:6;50947:7;;50938:6;:16;;;;:::i;:::-;50937:30;;;;:::i;:::-;50923:44;-1:-1:-1;50986:22:0;51011:12;50923:44;51011:6;:12;:::i;:::-;51058;;50986:37;;-1:-1:-1;51042:34:0;;51052:4;;-1:-1:-1;;;;;51058:12:0;51072:3;51042:9;:34::i;:::-;51095:35;51105:4;51111:2;51115:14;51095:9;:35::i;:::-;51163:12;;51149:46;;-1:-1:-1;;;51149:46:0;;;;;1736:25:1;;;-1:-1:-1;;;;;51163:12:0;;;;51149:41;;1709:18:1;;51149:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50904:307;;50855:757;;50889:652;-1:-1:-1;;;;;51221:11:0;;;;;;:5;:11;;;;;;;;51217:324;;;51253:11;40875:6;51277;;51268;:15;;;;:::i;:::-;51267:29;;;;:::i;:::-;51253:43;;51315:27;51325:4;51331:2;51335:6;51315:9;:27::i;:::-;51375:12;;51361:32;;51371:2;;-1:-1:-1;;;;;51375:12:0;51389:3;51361:9;:32::i;:::-;51426:12;;51412:45;;-1:-1:-1;;;51412:45:0;;;;;1736:25:1;;;-1:-1:-1;;;;;51426:12:0;;;;51412:40;;1709:18:1;;51412:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51234:239;50855:757;;51217:324;51498:27;51508:4;51514:2;51518:6;51498:9;:27::i;:::-;50855:757;;;51573:27;51583:4;51589:2;51593:6;51573:9;:27::i;14684:238::-;14768:22;14776:4;14782:7;14768;:22::i;:::-;14763:152;;14807:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;14807:29:0;;;;;;;;;:36;;-1:-1:-1;;14807:36:0;14839:4;14807:36;;;14890:12;7359:10;;7279:98;14890:12;-1:-1:-1;;;;;14863:40:0;14881:7;-1:-1:-1;;;;;14863:40:0;14875:4;14863:40;;;;;;;;;;14684:238;;:::o;15054:239::-;15138:22;15146:4;15152:7;15138;:22::i;:::-;15134:152;;;15209:5;15177:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;15177:29:0;;;;;;;;;;:37;;-1:-1:-1;;15177:37:0;;;15234:40;7359:10;;15177:12;;15234:40;;15209:5;15234:40;15054:239;;:::o;27741:591::-;-1:-1:-1;;;;;27825:21:0;;27817:67;;;;-1:-1:-1;;;27817:67:0;;9525:2:1;27817:67:0;;;9507:21:1;9564:2;9544:18;;;9537:30;9603:34;9583:18;;;9576:62;-1:-1:-1;;;9654:18:1;;;9647:31;9695:19;;27817:67:0;9323:397:1;27817:67:0;-1:-1:-1;;;;;27984:18:0;;27959:22;27984:18;;;;;;;;;;;28021:24;;;;28013:71;;;;-1:-1:-1;;;28013:71:0;;9927:2:1;28013:71:0;;;9909:21:1;9966:2;9946:18;;;9939:30;10005:34;9985:18;;;9978:62;-1:-1:-1;;;10056:18:1;;;10049:32;10098:19;;28013:71:0;9725:398:1;28013:71:0;-1:-1:-1;;;;;28120:18:0;;:9;:18;;;;;;;;;;28141:23;;;28120:44;;28186:12;:22;;28158:6;;28120:9;28186:22;;28158:6;;28186:22;:::i;:::-;;;;-1:-1:-1;;28226:37:0;;1736:25:1;;;28252:1:0;;-1:-1:-1;;;;;28226:37:0;;;;;1724:2:1;1709:18;28226:37:0;;;;;;;12135:147;;;:::o;11048:505::-;11137:22;11145:4;11151:7;11137;:22::i;:::-;11132:414;;11325:41;11353:7;-1:-1:-1;;;;;11325:41:0;11363:2;11325:19;:41::i;:::-;11439:38;11467:4;11474:2;11439:19;:38::i;:::-;11230:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;11230:270:0;;;;;;;;;;-1:-1:-1;;;11176:358:0;;;;;;;:::i;26051:671::-;-1:-1:-1;;;;;26182:18:0;;26174:68;;;;-1:-1:-1;;;26174:68:0;;11147:2:1;26174:68:0;;;11129:21:1;11186:2;11166:18;;;11159:30;11225:34;11205:18;;;11198:62;-1:-1:-1;;;11276:18:1;;;11269:35;11321:19;;26174:68:0;10945:401:1;26174:68:0;-1:-1:-1;;;;;26261:16:0;;26253:64;;;;-1:-1:-1;;;26253:64:0;;11553:2:1;26253:64:0;;;11535:21:1;11592:2;11572:18;;;11565:30;11631:34;11611:18;;;11604:62;-1:-1:-1;;;11682:18:1;;;11675:33;11725:19;;26253:64:0;11351:399:1;26253:64:0;-1:-1:-1;;;;;26403:15:0;;26381:19;26403:15;;;;;;;;;;;26437:21;;;;26429:72;;;;-1:-1:-1;;;26429:72:0;;11957:2:1;26429:72:0;;;11939:21:1;11996:2;11976:18;;;11969:30;12035:34;12015:18;;;12008:62;-1:-1:-1;;;12086:18:1;;;12079:36;12132:19;;26429:72:0;11755:402:1;26429:72:0;-1:-1:-1;;;;;26537:15:0;;;:9;:15;;;;;;;;;;;26555:20;;;26537:38;;26597:13;;;;;;;;:23;;26569:6;;26537:9;26597:23;;26569:6;;26597:23;:::i;:::-;;;;;;;;26653:2;-1:-1:-1;;;;;26638:26:0;26647:4;-1:-1:-1;;;;;26638:26:0;;26657:6;26638:26;;;;1736:25:1;;1724:2;1709:18;;1590:177;26638:26:0;;;;;;;;26677:37;12135:147;3389:451;3464:13;3490:19;3522:10;3526:6;3522:1;:10;:::i;:::-;:14;;3535:1;3522:14;:::i;:::-;3512:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3512:25:0;;3490:47;;-1:-1:-1;;;3548:6:0;3555:1;3548:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3548:15:0;;;;;;;;;-1:-1:-1;;;3574:6:0;3581:1;3574:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3574:15:0;;;;;;;;-1:-1:-1;3605:9:0;3617:10;3621:6;3617:1;:10;:::i;:::-;:14;;3630:1;3617:14;:::i;:::-;3605:26;;3600:135;3637:1;3633;:5;3600:135;;;-1:-1:-1;;;3685:5:0;3693:3;3685:11;3672:25;;;;;;;:::i;:::-;;;;3660:6;3667:1;3660:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;3660:37:0;;;;;;;;-1:-1:-1;3722:1:0;3712:11;;;;;3640:3;;;:::i;:::-;;;3600:135;;;-1:-1:-1;3753:10:0;;3745:55;;;;-1:-1:-1;;;3745:55:0;;12769:2:1;3745:55:0;;;12751:21:1;;;12788:18;;;12781:30;12847:34;12827:18;;;12820:62;12899:18;;3745:55:0;12567:356:1;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:173::-;1221:20;;-1:-1:-1;;;;;1270:31:1;;1260:42;;1250:70;;1316:1;1313;1306:12;1250:70;1153:173;;;:::o;1331:254::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;1575:2;1560:18;;;;1547:32;;-1:-1:-1;;;1331:254:1:o;1772:180::-;1831:6;1884:2;1872:9;1863:7;1859:23;1855:32;1852:52;;;1900:1;1897;1890:12;1852:52;-1:-1:-1;1923:23:1;;1772:180;-1:-1:-1;1772:180:1:o;1957:328::-;2034:6;2042;2050;2103:2;2091:9;2082:7;2078:23;2074:32;2071:52;;;2119:1;2116;2109:12;2071:52;2142:29;2161:9;2142:29;:::i;:::-;2132:39;;2190:38;2224:2;2213:9;2209:18;2190:38;:::i;:::-;2180:48;;2275:2;2264:9;2260:18;2247:32;2237:42;;1957:328;;;;;:::o;2657:254::-;2725:6;2733;2786:2;2774:9;2765:7;2761:23;2757:32;2754:52;;;2802:1;2799;2792:12;2754:52;2838:9;2825:23;2815:33;;2867:38;2901:2;2890:9;2886:18;2867:38;:::i;:::-;2857:48;;2657:254;;;;;:::o;3105:186::-;3164:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:52;;;3233:1;3230;3223:12;3185:52;3256:29;3275:9;3256:29;:::i;3504:248::-;3572:6;3580;3633:2;3621:9;3612:7;3608:23;3604:32;3601:52;;;3649:1;3646;3639:12;3601:52;-1:-1:-1;;3672:23:1;;;3742:2;3727:18;;;3714:32;;-1:-1:-1;3504:248:1:o;3757:260::-;3825:6;3833;3886:2;3874:9;3865:7;3861:23;3857:32;3854:52;;;3902:1;3899;3892:12;3854:52;3925:29;3944:9;3925:29;:::i;:::-;3915:39;;3973:38;4007:2;3996:9;3992:18;3973:38;:::i;4022:380::-;4101:1;4097:12;;;;4144;;;4165:61;;4219:4;4211:6;4207:17;4197:27;;4165:61;4272:2;4264:6;4261:14;4241:18;4238:38;4235:161;;4318:10;4313:3;4309:20;4306:1;4299:31;4353:4;4350:1;4343:15;4381:4;4378:1;4371:15;4235:161;;4022:380;;;:::o;4407:355::-;4609:2;4591:21;;;4648:2;4628:18;;;4621:30;4687:33;4682:2;4667:18;;4660:61;4753:2;4738:18;;4407:355::o;5183:127::-;5244:10;5239:3;5235:20;5232:1;5225:31;5275:4;5272:1;5265:15;5299:4;5296:1;5289:15;5315:125;5380:9;;;5401:10;;;5398:36;;;5414:18;;:::i;5851:346::-;6053:2;6035:21;;;6092:2;6072:18;;;6065:30;-1:-1:-1;;;6126:2:1;6111:18;;6104:52;6188:2;6173:18;;5851:346::o;8795:168::-;8868:9;;;8899;;8916:15;;;8910:22;;8896:37;8886:71;;8937:18;;:::i;8968:217::-;9008:1;9034;9024:132;;9078:10;9073:3;9069:20;9066:1;9059:31;9113:4;9110:1;9103:15;9141:4;9138:1;9131:15;9024:132;-1:-1:-1;9170:9:1;;8968:217::o;9190:128::-;9257:9;;;9278:11;;;9275:37;;;9292:18;;:::i;10128:812::-;10539:25;10534:3;10527:38;10509:3;10594:6;10588:13;10610:75;10678:6;10673:2;10668:3;10664:12;10657:4;10649:6;10645:17;10610:75;:::i;:::-;-1:-1:-1;;;10744:2:1;10704:16;;;10736:11;;;10729:40;10794:13;;10816:76;10794:13;10878:2;10870:11;;10863:4;10851:17;;10816:76;:::i;:::-;10912:17;10931:2;10908:26;;10128:812;-1:-1:-1;;;;10128:812:1:o;12162:127::-;12223:10;12218:3;12214:20;12211:1;12204:31;12254:4;12251:1;12244:15;12278:4;12275:1;12268:15;12294:127;12355:10;12350:3;12346:20;12343:1;12336:31;12386:4;12383:1;12376:15;12410:4;12407:1;12400:15;12426:136;12465:3;12493:5;12483:39;;12502:18;;:::i;:::-;-1:-1:-1;;;12538:18:1;;12426:136::o
Swarm Source
ipfs://f564af54824ee07c033d4c6750b0aeb718963e15301ca4ead3d510d2271322ab
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.