ERC-20
Overview
Max Total Supply
150,000,000,000 KOKE
Holders
22
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,455,956.666666666666666667 KOKEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
EKotketToken
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; import "./EGovernanceBase.sol"; contract EKotketToken is EGovernanceBase, ERC20 { /** * @dev Grants `DEFAULT_ADMIN_ROLE` to the * account that deploys the contract. * */ constructor(address _governanceAdress, string memory name, string memory symbol, address initialWallet, uint256 amount) EGovernanceBase(_governanceAdress) ERC20(name, symbol) { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _mint(initialWallet, amount); } function decimals() public view virtual override returns (uint8) { return 18; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; interface EGovernanceInterface { function kotketWallet() external view returns (address); function kotketFundWallet() external view returns (address); function kotketTokenAddress() external view returns (address); function kotketNFTAddress() external view returns (address); function kotketGatewayOracleAddress() external view returns (address); function kotketNFTFactoryAddress() external view returns (address); function kotketNFTMarketPlaceAddress() external view returns (address); function kotketNFTRentalMarketAddress() external view returns (address); function kotketNFTPlatformRentingAddress() external view returns (address); function usdtAddress() external view returns (address); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; import "openzeppelin-solidity/contracts/access/AccessControlEnumerable.sol"; import "openzeppelin-solidity/contracts/utils/Context.sol"; contract EKotketAccessControl is Context, AccessControlEnumerable { bytes32 public constant SC_MINTER_ROLE = keccak256("SC_MINTER_ROLE"); bytes32 public constant SC_GATEWAY_ORACLE_ROLE = keccak256("SC_GATEWAY_ORACLE_ROLE"); modifier onlyGatewayOraclePermission() { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()) || hasRole(SC_GATEWAY_ORACLE_ROLE, _msgSender()), "Dont have Gateway Oracle permission!"); _; } modifier onlyMinterPermission() { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()) || hasRole(SC_MINTER_ROLE, _msgSender()), "Dont have Minter permission!"); _; } modifier onlyAdminPermission() { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Dont have Admin permission!"); _; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; import "./interfaces/EGovernanceInterface.sol"; import "./EKotketAccessControl.sol"; contract EGovernanceBase is EKotketAccessControl{ EGovernanceInterface internal governance; constructor (address _governanceAdress) { require(_governanceAdress != address(0), "Governance is the zero address"); governance = EGovernanceInterface(_governanceAdress); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * 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 guidelines: functions revert instead * of 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable { function getRoleMember(bytes32 role, uint256 index) external view returns (address); function getRoleMemberCount(bytes32 role) external view returns (uint256); } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_governanceAdress","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"initialWallet","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SC_GATEWAY_ORACLE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SC_MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[],"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":[{"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200315b3803806200315b8339818101604052810190620000379190620006da565b838386600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a490620007ff565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508160069080519060200190620001079291906200057e565b508060079080519060200190620001209291906200057e565b505050620001476000801b6200013b6200016460201b60201c565b6200016c60201b60201c565b620001598282620001b460201b60201c565b505050505062000b45565b600033905090565b6200018382826200032e60201b62000bc01760201c565b620001af81600160008581526020019081526020016000206200034460201b62000bce1790919060201c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000227576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021e9062000821565b60405180910390fd5b6200023b600083836200037c60201b60201c565b80600560008282546200024f9190620008d0565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620002a79190620008d0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200030e919062000843565b60405180910390a36200032a600083836200038160201b60201c565b5050565b6200034082826200038660201b60201c565b5050565b600062000374836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200047760201b60201c565b905092915050565b505050565b505050565b620003988282620004f160201b60201c565b6200047357600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004186200016460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200048b83836200055b60201b60201c565b620004e6578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620004eb565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b8280546200058c90620009a1565b90600052602060002090601f016020900481019282620005b05760008555620005fc565b82601f10620005cb57805160ff1916838001178555620005fc565b82800160010185558215620005fc579182015b82811115620005fb578251825591602001919060010190620005de565b5b5090506200060b91906200060f565b5090565b5b808211156200062a57600081600090555060010162000610565b5090565b6000620006456200063f8462000889565b62000860565b90508281526020810184848401111562000664576200066362000a9f565b5b620006718482856200096b565b509392505050565b6000815190506200068a8162000b11565b92915050565b600082601f830112620006a857620006a762000a9a565b5b8151620006ba8482602086016200062e565b91505092915050565b600081519050620006d48162000b2b565b92915050565b600080600080600060a08688031215620006f957620006f862000aa9565b5b6000620007098882890162000679565b955050602086015167ffffffffffffffff8111156200072d576200072c62000aa4565b5b6200073b8882890162000690565b945050604086015167ffffffffffffffff8111156200075f576200075e62000aa4565b5b6200076d8882890162000690565b9350506060620007808882890162000679565b92505060806200079388828901620006c3565b9150509295509295909350565b6000620007af601e83620008bf565b9150620007bc8262000abf565b602082019050919050565b6000620007d6601f83620008bf565b9150620007e38262000ae8565b602082019050919050565b620007f98162000961565b82525050565b600060208201905081810360008301526200081a81620007a0565b9050919050565b600060208201905081810360008301526200083c81620007c7565b9050919050565b60006020820190506200085a6000830184620007ee565b92915050565b60006200086c6200087f565b90506200087a8282620009d7565b919050565b6000604051905090565b600067ffffffffffffffff821115620008a757620008a662000a6b565b5b620008b28262000aae565b9050602081019050919050565b600082825260208201905092915050565b6000620008dd8262000961565b9150620008ea8362000961565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000922576200092162000a0d565b5b828201905092915050565b60006200093a8262000941565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200098b5780820151818401526020810190506200096e565b838111156200099b576000848401525b50505050565b60006002820490506001821680620009ba57607f821691505b60208210811415620009d157620009d062000a3c565b5b50919050565b620009e28262000aae565b810181811067ffffffffffffffff8211171562000a045762000a0362000a6b565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f476f7665726e616e636520697320746865207a65726f20616464726573730000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b62000b1c816200092d565b811462000b2857600080fd5b50565b62000b368162000961565b811462000b4257600080fd5b50565b6126068062000b556000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370f9f457116100b8578063a457c2d71161007c578063a457c2d7146103b3578063a9059cbb146103e3578063ca15c87314610413578063d547741f14610443578063dd62ed3e1461045f578063e22cb7c91461048f57610142565b806370f9f457146102f95780639010d07c1461031757806391d148541461034757806395d89b4114610377578063a217fddf1461039557610142565b8063248a9ca31161010a578063248a9ca3146102135780632f2ff15d14610243578063313ce5671461025f57806336568abe1461027d578063395093511461029957806370a08231146102c957610142565b806301ffc9a71461014757806306fdde0314610177578063095ea7b31461019557806318160ddd146101c557806323b872dd146101e3575b600080fd5b610161600480360381019061015c9190611af5565b6104ad565b60405161016e9190611dad565b60405180910390f35b61017f610527565b60405161018c9190611de3565b60405180910390f35b6101af60048036038101906101aa9190611a08565b6105b9565b6040516101bc9190611dad565b60405180910390f35b6101cd6105d7565b6040516101da9190611f25565b60405180910390f35b6101fd60048036038101906101f891906119b5565b6105e1565b60405161020a9190611dad565b60405180910390f35b61022d60048036038101906102289190611a48565b6106d9565b60405161023a9190611dc8565b60405180910390f35b61025d60048036038101906102589190611a75565b6106f8565b005b61026761072c565b6040516102749190611f40565b60405180910390f35b61029760048036038101906102929190611a75565b610735565b005b6102b360048036038101906102ae9190611a08565b610769565b6040516102c09190611dad565b60405180910390f35b6102e360048036038101906102de9190611948565b610815565b6040516102f09190611f25565b60405180910390f35b61030161085e565b60405161030e9190611dc8565b60405180910390f35b610331600480360381019061032c9190611ab5565b610882565b60405161033e9190611d92565b60405180910390f35b610361600480360381019061035c9190611a75565b6108b1565b60405161036e9190611dad565b60405180910390f35b61037f61091b565b60405161038c9190611de3565b60405180910390f35b61039d6109ad565b6040516103aa9190611dc8565b60405180910390f35b6103cd60048036038101906103c89190611a08565b6109b4565b6040516103da9190611dad565b60405180910390f35b6103fd60048036038101906103f89190611a08565b610a9f565b60405161040a9190611dad565b60405180910390f35b61042d60048036038101906104289190611a48565b610abd565b60405161043a9190611f25565b60405180910390f35b61045d60048036038101906104589190611a75565b610ae1565b005b61047960048036038101906104749190611975565b610b15565b6040516104869190611f25565b60405180910390f35b610497610b9c565b6040516104a49190611dc8565b60405180910390f35b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610520575061051f82610bfe565b5b9050919050565b6060600680546105369061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546105629061214e565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006105cd6105c6610c78565b8484610c80565b6001905092915050565b6000600554905090565b60006105ee848484610e4b565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610639610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156106b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b090611e85565b60405180910390fd5b6106cd856106c5610c78565b858403610c80565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61070282826110cf565b6107278160016000858152602001908152602001600020610bce90919063ffffffff16565b505050565b60006012905090565b61073f82826110f8565b610764816001600085815260200190815260200160002061117b90919063ffffffff16565b505050565b600061080b610776610c78565b848460046000610784610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108069190611f82565b610c80565b6001905092915050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fb49ea64ca9363ee24557fab3bed24140051b27b150a6658dd9436859666b280581565b60006108a982600160008681526020019081526020016000206111ab90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606007805461092a9061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546109569061214e565b80156109a35780601f10610978576101008083540402835291602001916109a3565b820191906000526020600020905b81548152906001019060200180831161098657829003601f168201915b5050505050905090565b6000801b81565b600080600460006109c3610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790611ee5565b60405180910390fd5b610a94610a8b610c78565b85858403610c80565b600191505092915050565b6000610ab3610aac610c78565b8484610e4b565b6001905092915050565b6000610ada600160008481526020019081526020016000206111c5565b9050919050565b610aeb82826111da565b610b10816001600085815260200190815260200160002061117b90919063ffffffff16565b505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f1b29449712117a54a2a96c49e8068b0f884e4ce02b861028ef54f23e90ecdcd281565b610bca8282611203565b5050565b6000610bf6836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6112e3565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c715750610c7082611353565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790611ec5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790611e45565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e3e9190611f25565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290611ea5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2290611e25565b60405180910390fd5b610f368383836113bd565b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490611e65565b60405180910390fd5b818103600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110529190611f82565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110b69190611f25565b60405180910390a36110c98484846113c2565b50505050565b6110d8826106d9565b6110e9816110e4610c78565b6113c7565b6110f38383611203565b505050565b611100610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116490611f05565b60405180910390fd5b6111778282611464565b5050565b60006111a3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611545565b905092915050565b60006111ba8360000183611659565b60001c905092915050565b60006111d382600001611684565b9050919050565b6111e3826106d9565b6111f4816111ef610c78565b6113c7565b6111fe8383611464565b505050565b61120d82826108b1565b6112df57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611284610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006112ef8383611695565b61134857826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061134d565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b6113d182826108b1565b611460576113f68173ffffffffffffffffffffffffffffffffffffffff1660146116b8565b6114048360001c60206116b8565b604051602001611415929190611d58565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579190611de3565b60405180910390fd5b5050565b61146e82826108b1565b1561154157600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114e6610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808360010160008481526020019081526020016000205490506000811461164d5760006001826115779190612032565b905060006001866000018054905061158f9190612032565b90508181146115fe5760008660000182815481106115b0576115af61220d565b5b90600052602060002001549050808760000184815481106115d4576115d361220d565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480611612576116116121de565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611653565b60009150505b92915050565b60008260000182815481106116715761167061220d565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6060600060028360026116cb9190611fd8565b6116d59190611f82565b67ffffffffffffffff8111156116ee576116ed61223c565b5b6040519080825280601f01601f1916602001820160405280156117205781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106117585761175761220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106117bc576117bb61220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026117fc9190611fd8565b6118069190611f82565b90505b60018111156118a6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106118485761184761220d565b5b1a60f81b82828151811061185f5761185e61220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061189f90612124565b9050611809565b50600084146118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190611e05565b60405180910390fd5b8091505092915050565b60008135905061190381612574565b92915050565b6000813590506119188161258b565b92915050565b60008135905061192d816125a2565b92915050565b600081359050611942816125b9565b92915050565b60006020828403121561195e5761195d61226b565b5b600061196c848285016118f4565b91505092915050565b6000806040838503121561198c5761198b61226b565b5b600061199a858286016118f4565b92505060206119ab858286016118f4565b9150509250929050565b6000806000606084860312156119ce576119cd61226b565b5b60006119dc868287016118f4565b93505060206119ed868287016118f4565b92505060406119fe86828701611933565b9150509250925092565b60008060408385031215611a1f57611a1e61226b565b5b6000611a2d858286016118f4565b9250506020611a3e85828601611933565b9150509250929050565b600060208284031215611a5e57611a5d61226b565b5b6000611a6c84828501611909565b91505092915050565b60008060408385031215611a8c57611a8b61226b565b5b6000611a9a85828601611909565b9250506020611aab858286016118f4565b9150509250929050565b60008060408385031215611acc57611acb61226b565b5b6000611ada85828601611909565b9250506020611aeb85828601611933565b9150509250929050565b600060208284031215611b0b57611b0a61226b565b5b6000611b198482850161191e565b91505092915050565b611b2b81612066565b82525050565b611b3a81612078565b82525050565b611b4981612084565b82525050565b6000611b5a82611f5b565b611b648185611f66565b9350611b748185602086016120f1565b611b7d81612270565b840191505092915050565b6000611b9382611f5b565b611b9d8185611f77565b9350611bad8185602086016120f1565b80840191505092915050565b6000611bc6602083611f66565b9150611bd182612281565b602082019050919050565b6000611be9602383611f66565b9150611bf4826122aa565b604082019050919050565b6000611c0c602283611f66565b9150611c17826122f9565b604082019050919050565b6000611c2f602683611f66565b9150611c3a82612348565b604082019050919050565b6000611c52602883611f66565b9150611c5d82612397565b604082019050919050565b6000611c75602583611f66565b9150611c80826123e6565b604082019050919050565b6000611c98602483611f66565b9150611ca382612435565b604082019050919050565b6000611cbb601783611f77565b9150611cc682612484565b601782019050919050565b6000611cde602583611f66565b9150611ce9826124ad565b604082019050919050565b6000611d01601183611f77565b9150611d0c826124fc565b601182019050919050565b6000611d24602f83611f66565b9150611d2f82612525565b604082019050919050565b611d43816120da565b82525050565b611d52816120e4565b82525050565b6000611d6382611cae565b9150611d6f8285611b88565b9150611d7a82611cf4565b9150611d868284611b88565b91508190509392505050565b6000602082019050611da76000830184611b22565b92915050565b6000602082019050611dc26000830184611b31565b92915050565b6000602082019050611ddd6000830184611b40565b92915050565b60006020820190508181036000830152611dfd8184611b4f565b905092915050565b60006020820190508181036000830152611e1e81611bb9565b9050919050565b60006020820190508181036000830152611e3e81611bdc565b9050919050565b60006020820190508181036000830152611e5e81611bff565b9050919050565b60006020820190508181036000830152611e7e81611c22565b9050919050565b60006020820190508181036000830152611e9e81611c45565b9050919050565b60006020820190508181036000830152611ebe81611c68565b9050919050565b60006020820190508181036000830152611ede81611c8b565b9050919050565b60006020820190508181036000830152611efe81611cd1565b9050919050565b60006020820190508181036000830152611f1e81611d17565b9050919050565b6000602082019050611f3a6000830184611d3a565b92915050565b6000602082019050611f556000830184611d49565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000611f8d826120da565b9150611f98836120da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fcd57611fcc612180565b5b828201905092915050565b6000611fe3826120da565b9150611fee836120da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561202757612026612180565b5b828202905092915050565b600061203d826120da565b9150612048836120da565b92508282101561205b5761205a612180565b5b828203905092915050565b6000612071826120ba565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561210f5780820151818401526020810190506120f4565b8381111561211e576000848401525b50505050565b600061212f826120da565b9150600082141561214357612142612180565b5b600182039050919050565b6000600282049050600182168061216657607f821691505b6020821081141561217a576121796121af565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61257d81612066565b811461258857600080fd5b50565b61259481612084565b811461259f57600080fd5b50565b6125ab8161208e565b81146125b657600080fd5b50565b6125c2816120da565b81146125cd57600080fd5b5056fea2646970667358221220acb77fffca99cdb43db7b1e7d79bbd410d446262d78efcb494475f753d17371c64736f6c63430008060033000000000000000000000000f3ad02357fa97a7835c6643269af7f2094b02fed00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000b9200b45af4baf5cbeb37d47c111b0635dc7e4860000000000000000000000000000000000000001e4ad1785a42b23aff000000000000000000000000000000000000000000000000000000000000000000000064b4f544b4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f4b4500000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370f9f457116100b8578063a457c2d71161007c578063a457c2d7146103b3578063a9059cbb146103e3578063ca15c87314610413578063d547741f14610443578063dd62ed3e1461045f578063e22cb7c91461048f57610142565b806370f9f457146102f95780639010d07c1461031757806391d148541461034757806395d89b4114610377578063a217fddf1461039557610142565b8063248a9ca31161010a578063248a9ca3146102135780632f2ff15d14610243578063313ce5671461025f57806336568abe1461027d578063395093511461029957806370a08231146102c957610142565b806301ffc9a71461014757806306fdde0314610177578063095ea7b31461019557806318160ddd146101c557806323b872dd146101e3575b600080fd5b610161600480360381019061015c9190611af5565b6104ad565b60405161016e9190611dad565b60405180910390f35b61017f610527565b60405161018c9190611de3565b60405180910390f35b6101af60048036038101906101aa9190611a08565b6105b9565b6040516101bc9190611dad565b60405180910390f35b6101cd6105d7565b6040516101da9190611f25565b60405180910390f35b6101fd60048036038101906101f891906119b5565b6105e1565b60405161020a9190611dad565b60405180910390f35b61022d60048036038101906102289190611a48565b6106d9565b60405161023a9190611dc8565b60405180910390f35b61025d60048036038101906102589190611a75565b6106f8565b005b61026761072c565b6040516102749190611f40565b60405180910390f35b61029760048036038101906102929190611a75565b610735565b005b6102b360048036038101906102ae9190611a08565b610769565b6040516102c09190611dad565b60405180910390f35b6102e360048036038101906102de9190611948565b610815565b6040516102f09190611f25565b60405180910390f35b61030161085e565b60405161030e9190611dc8565b60405180910390f35b610331600480360381019061032c9190611ab5565b610882565b60405161033e9190611d92565b60405180910390f35b610361600480360381019061035c9190611a75565b6108b1565b60405161036e9190611dad565b60405180910390f35b61037f61091b565b60405161038c9190611de3565b60405180910390f35b61039d6109ad565b6040516103aa9190611dc8565b60405180910390f35b6103cd60048036038101906103c89190611a08565b6109b4565b6040516103da9190611dad565b60405180910390f35b6103fd60048036038101906103f89190611a08565b610a9f565b60405161040a9190611dad565b60405180910390f35b61042d60048036038101906104289190611a48565b610abd565b60405161043a9190611f25565b60405180910390f35b61045d60048036038101906104589190611a75565b610ae1565b005b61047960048036038101906104749190611975565b610b15565b6040516104869190611f25565b60405180910390f35b610497610b9c565b6040516104a49190611dc8565b60405180910390f35b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610520575061051f82610bfe565b5b9050919050565b6060600680546105369061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546105629061214e565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006105cd6105c6610c78565b8484610c80565b6001905092915050565b6000600554905090565b60006105ee848484610e4b565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610639610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156106b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b090611e85565b60405180910390fd5b6106cd856106c5610c78565b858403610c80565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61070282826110cf565b6107278160016000858152602001908152602001600020610bce90919063ffffffff16565b505050565b60006012905090565b61073f82826110f8565b610764816001600085815260200190815260200160002061117b90919063ffffffff16565b505050565b600061080b610776610c78565b848460046000610784610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108069190611f82565b610c80565b6001905092915050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fb49ea64ca9363ee24557fab3bed24140051b27b150a6658dd9436859666b280581565b60006108a982600160008681526020019081526020016000206111ab90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606007805461092a9061214e565b80601f01602080910402602001604051908101604052809291908181526020018280546109569061214e565b80156109a35780601f10610978576101008083540402835291602001916109a3565b820191906000526020600020905b81548152906001019060200180831161098657829003601f168201915b5050505050905090565b6000801b81565b600080600460006109c3610c78565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790611ee5565b60405180910390fd5b610a94610a8b610c78565b85858403610c80565b600191505092915050565b6000610ab3610aac610c78565b8484610e4b565b6001905092915050565b6000610ada600160008481526020019081526020016000206111c5565b9050919050565b610aeb82826111da565b610b10816001600085815260200190815260200160002061117b90919063ffffffff16565b505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f1b29449712117a54a2a96c49e8068b0f884e4ce02b861028ef54f23e90ecdcd281565b610bca8282611203565b5050565b6000610bf6836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6112e3565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c715750610c7082611353565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790611ec5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790611e45565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e3e9190611f25565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290611ea5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2290611e25565b60405180910390fd5b610f368383836113bd565b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490611e65565b60405180910390fd5b818103600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110529190611f82565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110b69190611f25565b60405180910390a36110c98484846113c2565b50505050565b6110d8826106d9565b6110e9816110e4610c78565b6113c7565b6110f38383611203565b505050565b611100610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116490611f05565b60405180910390fd5b6111778282611464565b5050565b60006111a3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611545565b905092915050565b60006111ba8360000183611659565b60001c905092915050565b60006111d382600001611684565b9050919050565b6111e3826106d9565b6111f4816111ef610c78565b6113c7565b6111fe8383611464565b505050565b61120d82826108b1565b6112df57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611284610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006112ef8383611695565b61134857826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061134d565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b6113d182826108b1565b611460576113f68173ffffffffffffffffffffffffffffffffffffffff1660146116b8565b6114048360001c60206116b8565b604051602001611415929190611d58565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579190611de3565b60405180910390fd5b5050565b61146e82826108b1565b1561154157600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114e6610c78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808360010160008481526020019081526020016000205490506000811461164d5760006001826115779190612032565b905060006001866000018054905061158f9190612032565b90508181146115fe5760008660000182815481106115b0576115af61220d565b5b90600052602060002001549050808760000184815481106115d4576115d361220d565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480611612576116116121de565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611653565b60009150505b92915050565b60008260000182815481106116715761167061220d565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6060600060028360026116cb9190611fd8565b6116d59190611f82565b67ffffffffffffffff8111156116ee576116ed61223c565b5b6040519080825280601f01601f1916602001820160405280156117205781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106117585761175761220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106117bc576117bb61220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026117fc9190611fd8565b6118069190611f82565b90505b60018111156118a6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106118485761184761220d565b5b1a60f81b82828151811061185f5761185e61220d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061189f90612124565b9050611809565b50600084146118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190611e05565b60405180910390fd5b8091505092915050565b60008135905061190381612574565b92915050565b6000813590506119188161258b565b92915050565b60008135905061192d816125a2565b92915050565b600081359050611942816125b9565b92915050565b60006020828403121561195e5761195d61226b565b5b600061196c848285016118f4565b91505092915050565b6000806040838503121561198c5761198b61226b565b5b600061199a858286016118f4565b92505060206119ab858286016118f4565b9150509250929050565b6000806000606084860312156119ce576119cd61226b565b5b60006119dc868287016118f4565b93505060206119ed868287016118f4565b92505060406119fe86828701611933565b9150509250925092565b60008060408385031215611a1f57611a1e61226b565b5b6000611a2d858286016118f4565b9250506020611a3e85828601611933565b9150509250929050565b600060208284031215611a5e57611a5d61226b565b5b6000611a6c84828501611909565b91505092915050565b60008060408385031215611a8c57611a8b61226b565b5b6000611a9a85828601611909565b9250506020611aab858286016118f4565b9150509250929050565b60008060408385031215611acc57611acb61226b565b5b6000611ada85828601611909565b9250506020611aeb85828601611933565b9150509250929050565b600060208284031215611b0b57611b0a61226b565b5b6000611b198482850161191e565b91505092915050565b611b2b81612066565b82525050565b611b3a81612078565b82525050565b611b4981612084565b82525050565b6000611b5a82611f5b565b611b648185611f66565b9350611b748185602086016120f1565b611b7d81612270565b840191505092915050565b6000611b9382611f5b565b611b9d8185611f77565b9350611bad8185602086016120f1565b80840191505092915050565b6000611bc6602083611f66565b9150611bd182612281565b602082019050919050565b6000611be9602383611f66565b9150611bf4826122aa565b604082019050919050565b6000611c0c602283611f66565b9150611c17826122f9565b604082019050919050565b6000611c2f602683611f66565b9150611c3a82612348565b604082019050919050565b6000611c52602883611f66565b9150611c5d82612397565b604082019050919050565b6000611c75602583611f66565b9150611c80826123e6565b604082019050919050565b6000611c98602483611f66565b9150611ca382612435565b604082019050919050565b6000611cbb601783611f77565b9150611cc682612484565b601782019050919050565b6000611cde602583611f66565b9150611ce9826124ad565b604082019050919050565b6000611d01601183611f77565b9150611d0c826124fc565b601182019050919050565b6000611d24602f83611f66565b9150611d2f82612525565b604082019050919050565b611d43816120da565b82525050565b611d52816120e4565b82525050565b6000611d6382611cae565b9150611d6f8285611b88565b9150611d7a82611cf4565b9150611d868284611b88565b91508190509392505050565b6000602082019050611da76000830184611b22565b92915050565b6000602082019050611dc26000830184611b31565b92915050565b6000602082019050611ddd6000830184611b40565b92915050565b60006020820190508181036000830152611dfd8184611b4f565b905092915050565b60006020820190508181036000830152611e1e81611bb9565b9050919050565b60006020820190508181036000830152611e3e81611bdc565b9050919050565b60006020820190508181036000830152611e5e81611bff565b9050919050565b60006020820190508181036000830152611e7e81611c22565b9050919050565b60006020820190508181036000830152611e9e81611c45565b9050919050565b60006020820190508181036000830152611ebe81611c68565b9050919050565b60006020820190508181036000830152611ede81611c8b565b9050919050565b60006020820190508181036000830152611efe81611cd1565b9050919050565b60006020820190508181036000830152611f1e81611d17565b9050919050565b6000602082019050611f3a6000830184611d3a565b92915050565b6000602082019050611f556000830184611d49565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000611f8d826120da565b9150611f98836120da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fcd57611fcc612180565b5b828201905092915050565b6000611fe3826120da565b9150611fee836120da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561202757612026612180565b5b828202905092915050565b600061203d826120da565b9150612048836120da565b92508282101561205b5761205a612180565b5b828203905092915050565b6000612071826120ba565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561210f5780820151818401526020810190506120f4565b8381111561211e576000848401525b50505050565b600061212f826120da565b9150600082141561214357612142612180565b5b600182039050919050565b6000600282049050600182168061216657607f821691505b6020821081141561217a576121796121af565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61257d81612066565b811461258857600080fd5b50565b61259481612084565b811461259f57600080fd5b50565b6125ab8161208e565b81146125b657600080fd5b50565b6125c2816120da565b81146125cd57600080fd5b5056fea2646970667358221220acb77fffca99cdb43db7b1e7d79bbd410d446262d78efcb494475f753d17371c64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f3ad02357fa97a7835c6643269af7f2094b02fed00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000b9200b45af4baf5cbeb37d47c111b0635dc7e4860000000000000000000000000000000000000001e4ad1785a42b23aff000000000000000000000000000000000000000000000000000000000000000000000064b4f544b4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f4b4500000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _governanceAdress (address): 0xF3ad02357fa97a7835c6643269af7f2094b02Fed
Arg [1] : name (string): KOTKET
Arg [2] : symbol (string): KOKE
Arg [3] : initialWallet (address): 0xB9200B45aF4BAf5cbEb37D47C111B0635Dc7E486
Arg [4] : amount (uint256): 150000000000000000000000000000
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000f3ad02357fa97a7835c6643269af7f2094b02fed
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000b9200b45af4baf5cbeb37d47c111b0635dc7e486
Arg [4] : 0000000000000000000000000000000000000001e4ad1785a42b23aff0000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 4b4f544b45540000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4b4f4b4500000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.