Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
149,948,762 DIVI
Holders
559 (0.00%)
Market
Price
$0.00 @ 0.000001 ETH (+0.69%)
Onchain Market Cap
$252,581.77
Circulating Supply Market Cap
$6,755,110.41
Other Info
Token Contract (WITH 8 Decimals)
Balance
0.00000001 DIVIValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
eDIVI
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 2000 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // DIVI license TBD pragma solidity ^0.8.7; import "./security/Pausable.sol"; import "./security/AccessControl.sol"; import "./token/ERC20.sol"; import "./interfaces/IDivi.sol"; /** * @dev Implementation of the {IERC20}, {IDivi}, {IAccessControl} interface. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract eDIVI is Context, ERC20, Pausable, AccessControl, IDivi { bytes32 public constant DIVINITY_ROLE = keccak256("DIVINITY_ROLE"); /** * @dev Sets the values for {name}, {symbol}, {decimals}. * * {initailAmount} will be minted into {initialAddress}. * * {initialAddress} will get {DEFAULT_ADMIN_ROLE} and {DIVINITY_ROLE} by default. * * {name} and {symbol} are immutable: they can only be set once during * construction. */ constructor( string memory name_, string memory symbol_, uint8 decimals_, uint256 initialAmount_, address initialAddress_ ) ERC20(name_, symbol_, decimals_) { _mint(initialAddress_, initialAmount_); _setupRole(DEFAULT_ADMIN_ROLE, initialAddress_); _grantRole(DIVINITY_ROLE, initialAddress_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return interfaceId == type(IDivi).interfaceId || interfaceId == type(IAccessControl).interfaceId || interfaceId == type(IERC20).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) external override onlyRole(DIVINITY_ROLE) { _burn(_msgSender(), amount); } /** * @dev Creates `amount` tokens to address. * * See {ERC20-_burn}. */ function mint(address who, uint256 amount) external override onlyRole(DIVINITY_ROLE) { _mint(who, amount); } /** * @dev Triggers stopped state. * * - The contract must be not paused. * * See {IDivi-unpause}. */ function pause() external override onlyRole(DIVINITY_ROLE) { _pause(); } /** * @dev Returns to normal state. * * See {IDivi-unpause}. */ function unpause() external override onlyRole(DIVINITY_ROLE) { _unpause(); } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.7; /** * @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 // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.7; 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 // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.7; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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 // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.7; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.7; 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 // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.7; /** * @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 // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.7; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "../utils/Context.sol"; import "../security/Pausable.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 Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @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_, uint8 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @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`). * * 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 _decimals; } /** * @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 // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.7; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol) pragma solidity ^0.8.7; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol) pragma solidity ^0.8.7; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external 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) external virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // DIVI TBD pragma solidity ^0.8.7; import "../token/IERC20.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy their own * tokens, mint token amount for arbitrary address, pause and unpause token * trnasfers, in a way that can be recognized off-chain (via event analysis). */ abstract contract IDivi is IERC20 { /** * @dev Triggers stopped state. * * - The contract must not be paused. */ function pause() external virtual; /** * @dev Returns to normal state. * * - The contract must be paused. */ function unpause() external virtual; /** * @dev Destroys `amount` tokens from the caller. * * - See {ERC20-_burn}. */ function burn(uint256 amount) external virtual; /** * @dev Creates `amount` tokens for `account`. * * - See {ERC20-_mint}. */ function mint(address account, uint256 amount) external virtual; }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 2000 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"initialAmount_","type":"uint256"},{"internalType":"address","name":"initialAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DIVINITY_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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"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":[{"internalType":"address","name":"who","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620037a2380380620037a283398181016040528101906200003791906200065c565b848484826003908051906020019062000052929190620004e9565b5081600490805190602001906200006b929190620004e9565b5080600560006101000a81548160ff021916908360ff1602179055505050506000600560016101000a81548160ff021916908315150217905550620000c0818362000125640100000000026401000000009004565b620000df600060010282620002b0640100000000026401000000009004565b6200011a7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea82620002cf640100000000026401000000009004565b505050505062000b14565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000198576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200018f9062000781565b60405180910390fd5b620001b560008383620003d3640100000000026401000000009004565b8060026000828254620001c9919062000852565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000220919062000852565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002879190620007c5565b60405180910390a3620002ac6000838362000455640100000000026401000000009004565b5050565b620002cb8282620002cf640100000000026401000000009004565b5050565b620002ea82826200045a640100000000026401000000009004565b620003cf5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000374620004c5640100000000026401000000009004565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620003f4838383620004cd6401000000000262000dda176401000000009004565b6200040d620004d2640100000000026401000000009004565b1562000450576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044790620007a3565b60405180910390fd5b505050565b505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b505050565b6000600560019054906101000a900460ff16905090565b828054620004f79062000930565b90600052602060002090601f0160209004810192826200051b576000855562000567565b82601f106200053657805160ff191683800117855562000567565b8280016001018555821562000567579182015b828111156200056657825182559160200191906001019062000549565b5b5090506200057691906200057a565b5090565b5b80821115620005955760008160009055506001016200057b565b5090565b6000620005b0620005aa846200080b565b620007e2565b905082815260208101848484011115620005cf57620005ce62000a2e565b5b620005dc848285620008fa565b509392505050565b600081519050620005f58162000ac6565b92915050565b600082601f83011262000613576200061262000a29565b5b81516200062584826020860162000599565b91505092915050565b6000815190506200063f8162000ae0565b92915050565b600081519050620006568162000afa565b92915050565b600080600080600060a086880312156200067b576200067a62000a38565b5b600086015167ffffffffffffffff8111156200069c576200069b62000a33565b5b620006aa88828901620005fb565b955050602086015167ffffffffffffffff811115620006ce57620006cd62000a33565b5b620006dc88828901620005fb565b9450506040620006ef8882890162000645565b935050606062000702888289016200062e565b92505060806200071588828901620005e4565b9150509295509295909350565b600062000731601f8362000841565b91506200073e8262000a4e565b602082019050919050565b600062000758602a8362000841565b9150620007658262000a77565b604082019050919050565b6200077b81620008e3565b82525050565b600060208201905081810360008301526200079c8162000722565b9050919050565b60006020820190508181036000830152620007be8162000749565b9050919050565b6000602082019050620007dc600083018462000770565b92915050565b6000620007ee62000801565b9050620007fc828262000966565b919050565b6000604051905090565b600067ffffffffffffffff821115620008295762000828620009fa565b5b620008348262000a3d565b9050602081019050919050565b600082825260208201905092915050565b60006200085f82620008e3565b91506200086c83620008e3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620008a457620008a36200099c565b5b828201905092915050565b6000620008bc82620008c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156200091a578082015181840152602081019050620008fd565b838111156200092a576000848401525b50505050565b600060028204905060018216806200094957607f821691505b6020821081141562000960576200095f620009cb565b5b50919050565b620009718262000a3d565b810181811067ffffffffffffffff82111715620009935762000992620009fa565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b62000ad181620008af565b811462000add57600080fd5b50565b62000aeb81620008e3565b811462000af757600080fd5b50565b62000b0581620008ed565b811462000b1157600080fd5b50565b612c7e8062000b246000396000f3fe608060405234801561001057600080fd5b50600436106101b5576000357c01000000000000000000000000000000000000000000000000000000009004806342966c6811610100578063a217fddf116100a9578063af3aa31411610083578063af3aa314146104a2578063d547741f146104c0578063dd62ed3e146104dc576101b5565b8063a217fddf14610424578063a457c2d714610442578063a9059cbb14610472576101b5565b80638456cb59116100da5780638456cb59146103cc57806391d14854146103d657806395d89b4114610406576101b5565b806342966c68146103625780635c975abb1461037e57806370a082311461039c576101b5565b80632f2ff15d11610162578063395093511161013c578063395093511461030c5780633f4ba83a1461033c57806340c10f1914610346576101b5565b80632f2ff15d146102b6578063313ce567146102d257806336568abe146102f0576101b5565b806318160ddd1161019357806318160ddd1461023857806323b872dd14610256578063248a9ca314610286576101b5565b806301ffc9a7146101ba57806306fdde03146101ea578063095ea7b314610208575b600080fd5b6101d460048036038101906101cf9190611e75565b61050c565b6040516101e1919061222c565b60405180910390f35b6101f2610656565b6040516101ff9190612262565b60405180910390f35b610222600480360381019061021d9190611dc8565b6106e8565b60405161022f919061222c565b60405180910390f35b610240610706565b60405161024d9190612464565b60405180910390f35b610270600480360381019061026b9190611d75565b610710565b60405161027d919061222c565b60405180910390f35b6102a0600480360381019061029b9190611e08565b610808565b6040516102ad9190612247565b60405180910390f35b6102d060048036038101906102cb9190611e35565b610828565b005b6102da610851565b6040516102e7919061247f565b60405180910390f35b61030a60048036038101906103059190611e35565b610868565b005b61032660048036038101906103219190611dc8565b6108eb565b604051610333919061222c565b60405180910390f35b610344610997565b005b610360600480360381019061035b9190611dc8565b6109d4565b005b61037c60048036038101906103779190611ea2565b610a15565b005b610386610a5c565b604051610393919061222c565b60405180910390f35b6103b660048036038101906103b19190611d08565b610a73565b6040516103c39190612464565b60405180910390f35b6103d4610abb565b005b6103f060048036038101906103eb9190611e35565b610af8565b6040516103fd919061222c565b60405180910390f35b61040e610b63565b60405161041b9190612262565b60405180910390f35b61042c610bf5565b6040516104399190612247565b60405180910390f35b61045c60048036038101906104579190611dc8565b610bfd565b604051610469919061222c565b60405180910390f35b61048c60048036038101906104879190611dc8565b610ce8565b604051610499919061222c565b60405180910390f35b6104aa610d06565b6040516104b79190612247565b60405180910390f35b6104da60048036038101906104d59190611e35565b610d2a565b005b6104f660048036038101906104f19190611d35565b610d53565b6040516105039190612464565b60405180910390f35b60007fb94a0012000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d757507f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063f57507f36372b07000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064f575061064e82610ddf565b5b9050919050565b6060600380546106659061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546106919061268d565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b5050505050905090565b60006106fc6106f5610e59565b8484610e61565b6001905092915050565b6000600254905090565b600061071d84848461102c565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610768610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107df90612364565b60405180910390fd5b6107fc856107f4610e59565b858403610e61565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b61083182610808565b6108428161083d610e59565b6112ad565b61084c838361134b565b505050565b6000600560009054906101000a900460ff16905090565b610870610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490612404565b60405180910390fd5b6108e7828261142c565b5050565b600061098d6108f8610e59565b848460016000610906610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461098891906124c1565b610e61565b6001905092915050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea6109c9816109c4610e59565b6112ad565b6109d161150e565b50565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610a0681610a01610e59565b6112ad565b610a1083836115b0565b505050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610a4781610a42610e59565b6112ad565b610a58610a52610e59565b83611710565b5050565b6000600560019054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610aed81610ae8610e59565b6112ad565b610af56118e7565b50565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b729061268d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9e9061268d565b8015610beb5780601f10610bc057610100808354040283529160200191610beb565b820191906000526020600020905b815481529060010190602001808311610bce57829003601f168201915b5050505050905090565b600060010281565b60008060016000610c0c610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc0906123e4565b60405180910390fd5b610cdd610cd4610e59565b85858403610e61565b600191505092915050565b6000610cfc610cf5610e59565b848461102c565b6001905092915050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea81565b610d3382610808565b610d4481610d3f610e59565b6112ad565b610d4e838361142c565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e525750610e518261198a565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906123c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3890612304565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161101f9190612464565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561109c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611093906123a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561110c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611103906122a4565b60405180910390fd5b6111178383836119f4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490612324565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461123091906124c1565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112949190612464565b60405180910390a36112a7848484611a4c565b50505050565b6112b78282610af8565b611347576112dc8173ffffffffffffffffffffffffffffffffffffffff166014611a51565b6112eb83600190046020611a51565b6040516020016112fc9291906121d7565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133e9190612262565b60405180910390fd5b5050565b6113558282610af8565b6114285760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113cd610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6114368282610af8565b1561150a5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114af610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611516610a5c565b611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c906122c4565b60405180910390fd5b6000600560016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611599610e59565b6040516115a69190612211565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790612424565b60405180910390fd5b61162c600083836119f4565b806002600082825461163e91906124c1565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461169391906124c1565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f89190612464565b60405180910390a361170c60008383611a4c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790612384565b60405180910390fd5b61178c826000836119f4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906122e4565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546118699190612571565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ce9190612464565b60405180910390a36118e283600084611a4c565b505050565b6118ef610a5c565b1561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192690612344565b60405180910390fd5b6001600560016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611973610e59565b6040516119809190612211565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119ff838383610dda565b611a07610a5c565b15611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e90612444565b60405180910390fd5b505050565b505050565b606060006002836002611a649190612517565b611a6e91906124c1565b67ffffffffffffffff811115611a8757611a8661274c565b5b6040519080825280601f01601f191660200182016040528015611ab95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611af157611af061271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611b5557611b5461271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611b959190612517565b611b9f91906124c1565b90505b6001811115611c66577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611be157611be061271d565b5b1a7f010000000000000000000000000000000000000000000000000000000000000002828281518110611c1757611c1661271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485908060020a8204915050945080611c5f90612663565b9050611ba2565b5060008414611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190612284565b60405180910390fd5b8091505092915050565b600081359050611cc381612bec565b92915050565b600081359050611cd881612c03565b92915050565b600081359050611ced81612c1a565b92915050565b600081359050611d0281612c31565b92915050565b600060208284031215611d1e57611d1d61277b565b5b6000611d2c84828501611cb4565b91505092915050565b60008060408385031215611d4c57611d4b61277b565b5b6000611d5a85828601611cb4565b9250506020611d6b85828601611cb4565b9150509250929050565b600080600060608486031215611d8e57611d8d61277b565b5b6000611d9c86828701611cb4565b9350506020611dad86828701611cb4565b9250506040611dbe86828701611cf3565b9150509250925092565b60008060408385031215611ddf57611dde61277b565b5b6000611ded85828601611cb4565b9250506020611dfe85828601611cf3565b9150509250929050565b600060208284031215611e1e57611e1d61277b565b5b6000611e2c84828501611cc9565b91505092915050565b60008060408385031215611e4c57611e4b61277b565b5b6000611e5a85828601611cc9565b9250506020611e6b85828601611cb4565b9150509250929050565b600060208284031215611e8b57611e8a61277b565b5b6000611e9984828501611cde565b91505092915050565b600060208284031215611eb857611eb761277b565b5b6000611ec684828501611cf3565b91505092915050565b611ed8816125a5565b82525050565b611ee7816125b7565b82525050565b611ef6816125c3565b82525050565b6000611f078261249a565b611f1181856124a5565b9350611f21818560208601612630565b611f2a81612780565b840191505092915050565b6000611f408261249a565b611f4a81856124b6565b9350611f5a818560208601612630565b80840191505092915050565b6000611f736020836124a5565b9150611f7e82612791565b602082019050919050565b6000611f966023836124a5565b9150611fa1826127ba565b604082019050919050565b6000611fb96014836124a5565b9150611fc482612809565b602082019050919050565b6000611fdc6022836124a5565b9150611fe782612832565b604082019050919050565b6000611fff6022836124a5565b915061200a82612881565b604082019050919050565b60006120226026836124a5565b915061202d826128d0565b604082019050919050565b60006120456010836124a5565b91506120508261291f565b602082019050919050565b60006120686028836124a5565b915061207382612948565b604082019050919050565b600061208b6021836124a5565b915061209682612997565b604082019050919050565b60006120ae6025836124a5565b91506120b9826129e6565b604082019050919050565b60006120d16024836124a5565b91506120dc82612a35565b604082019050919050565b60006120f46017836124b6565b91506120ff82612a84565b601782019050919050565b60006121176025836124a5565b915061212282612aad565b604082019050919050565b600061213a6011836124b6565b915061214582612afc565b601182019050919050565b600061215d602f836124a5565b915061216882612b25565b604082019050919050565b6000612180601f836124a5565b915061218b82612b74565b602082019050919050565b60006121a3602a836124a5565b91506121ae82612b9d565b604082019050919050565b6121c281612619565b82525050565b6121d181612623565b82525050565b60006121e2826120e7565b91506121ee8285611f35565b91506121f98261212d565b91506122058284611f35565b91508190509392505050565b60006020820190506122266000830184611ecf565b92915050565b60006020820190506122416000830184611ede565b92915050565b600060208201905061225c6000830184611eed565b92915050565b6000602082019050818103600083015261227c8184611efc565b905092915050565b6000602082019050818103600083015261229d81611f66565b9050919050565b600060208201905081810360008301526122bd81611f89565b9050919050565b600060208201905081810360008301526122dd81611fac565b9050919050565b600060208201905081810360008301526122fd81611fcf565b9050919050565b6000602082019050818103600083015261231d81611ff2565b9050919050565b6000602082019050818103600083015261233d81612015565b9050919050565b6000602082019050818103600083015261235d81612038565b9050919050565b6000602082019050818103600083015261237d8161205b565b9050919050565b6000602082019050818103600083015261239d8161207e565b9050919050565b600060208201905081810360008301526123bd816120a1565b9050919050565b600060208201905081810360008301526123dd816120c4565b9050919050565b600060208201905081810360008301526123fd8161210a565b9050919050565b6000602082019050818103600083015261241d81612150565b9050919050565b6000602082019050818103600083015261243d81612173565b9050919050565b6000602082019050818103600083015261245d81612196565b9050919050565b600060208201905061247960008301846121b9565b92915050565b600060208201905061249460008301846121c8565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006124cc82612619565b91506124d783612619565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561250c5761250b6126bf565b5b828201905092915050565b600061252282612619565b915061252d83612619565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612566576125656126bf565b5b828202905092915050565b600061257c82612619565b915061258783612619565b92508282101561259a576125996126bf565b5b828203905092915050565b60006125b0826125f9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561264e578082015181840152602081019050612633565b8381111561265d576000848401525b50505050565b600061266e82612619565b91506000821415612682576126816126bf565b5b600182039050919050565b600060028204905060018216806126a557607f821691505b602082108114156126b9576126b86126ee565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b612bf5816125a5565b8114612c0057600080fd5b50565b612c0c816125c3565b8114612c1757600080fd5b50565b612c23816125cd565b8114612c2e57600080fd5b50565b612c3a81612619565b8114612c4557600080fd5b5056fea2646970667358221220bbc57f09bb7739373e004ef694a267faf066150ae69e2577118dee85c951cd2364736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000009f295cd5f000000000000000000000000000043b1d92f1159d39bb6f964ce1ce46d2b641124d10000000000000000000000000000000000000000000000000000000000000004446976690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044449564900000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101b5576000357c01000000000000000000000000000000000000000000000000000000009004806342966c6811610100578063a217fddf116100a9578063af3aa31411610083578063af3aa314146104a2578063d547741f146104c0578063dd62ed3e146104dc576101b5565b8063a217fddf14610424578063a457c2d714610442578063a9059cbb14610472576101b5565b80638456cb59116100da5780638456cb59146103cc57806391d14854146103d657806395d89b4114610406576101b5565b806342966c68146103625780635c975abb1461037e57806370a082311461039c576101b5565b80632f2ff15d11610162578063395093511161013c578063395093511461030c5780633f4ba83a1461033c57806340c10f1914610346576101b5565b80632f2ff15d146102b6578063313ce567146102d257806336568abe146102f0576101b5565b806318160ddd1161019357806318160ddd1461023857806323b872dd14610256578063248a9ca314610286576101b5565b806301ffc9a7146101ba57806306fdde03146101ea578063095ea7b314610208575b600080fd5b6101d460048036038101906101cf9190611e75565b61050c565b6040516101e1919061222c565b60405180910390f35b6101f2610656565b6040516101ff9190612262565b60405180910390f35b610222600480360381019061021d9190611dc8565b6106e8565b60405161022f919061222c565b60405180910390f35b610240610706565b60405161024d9190612464565b60405180910390f35b610270600480360381019061026b9190611d75565b610710565b60405161027d919061222c565b60405180910390f35b6102a0600480360381019061029b9190611e08565b610808565b6040516102ad9190612247565b60405180910390f35b6102d060048036038101906102cb9190611e35565b610828565b005b6102da610851565b6040516102e7919061247f565b60405180910390f35b61030a60048036038101906103059190611e35565b610868565b005b61032660048036038101906103219190611dc8565b6108eb565b604051610333919061222c565b60405180910390f35b610344610997565b005b610360600480360381019061035b9190611dc8565b6109d4565b005b61037c60048036038101906103779190611ea2565b610a15565b005b610386610a5c565b604051610393919061222c565b60405180910390f35b6103b660048036038101906103b19190611d08565b610a73565b6040516103c39190612464565b60405180910390f35b6103d4610abb565b005b6103f060048036038101906103eb9190611e35565b610af8565b6040516103fd919061222c565b60405180910390f35b61040e610b63565b60405161041b9190612262565b60405180910390f35b61042c610bf5565b6040516104399190612247565b60405180910390f35b61045c60048036038101906104579190611dc8565b610bfd565b604051610469919061222c565b60405180910390f35b61048c60048036038101906104879190611dc8565b610ce8565b604051610499919061222c565b60405180910390f35b6104aa610d06565b6040516104b79190612247565b60405180910390f35b6104da60048036038101906104d59190611e35565b610d2a565b005b6104f660048036038101906104f19190611d35565b610d53565b6040516105039190612464565b60405180910390f35b60007fb94a0012000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d757507f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063f57507f36372b07000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064f575061064e82610ddf565b5b9050919050565b6060600380546106659061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546106919061268d565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b5050505050905090565b60006106fc6106f5610e59565b8484610e61565b6001905092915050565b6000600254905090565b600061071d84848461102c565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610768610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107df90612364565b60405180910390fd5b6107fc856107f4610e59565b858403610e61565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b61083182610808565b6108428161083d610e59565b6112ad565b61084c838361134b565b505050565b6000600560009054906101000a900460ff16905090565b610870610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d490612404565b60405180910390fd5b6108e7828261142c565b5050565b600061098d6108f8610e59565b848460016000610906610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461098891906124c1565b610e61565b6001905092915050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea6109c9816109c4610e59565b6112ad565b6109d161150e565b50565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610a0681610a01610e59565b6112ad565b610a1083836115b0565b505050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610a4781610a42610e59565b6112ad565b610a58610a52610e59565b83611710565b5050565b6000600560019054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea610aed81610ae8610e59565b6112ad565b610af56118e7565b50565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b729061268d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9e9061268d565b8015610beb5780601f10610bc057610100808354040283529160200191610beb565b820191906000526020600020905b815481529060010190602001808311610bce57829003601f168201915b5050505050905090565b600060010281565b60008060016000610c0c610e59565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc0906123e4565b60405180910390fd5b610cdd610cd4610e59565b85858403610e61565b600191505092915050565b6000610cfc610cf5610e59565b848461102c565b6001905092915050565b7f8910633170d1b9cc32468c41363fa2ccab22b04c230178365b8f304322a335ea81565b610d3382610808565b610d4481610d3f610e59565b6112ad565b610d4e838361142c565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e525750610e518261198a565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906123c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3890612304565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161101f9190612464565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561109c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611093906123a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561110c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611103906122a4565b60405180910390fd5b6111178383836119f4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490612324565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461123091906124c1565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112949190612464565b60405180910390a36112a7848484611a4c565b50505050565b6112b78282610af8565b611347576112dc8173ffffffffffffffffffffffffffffffffffffffff166014611a51565b6112eb83600190046020611a51565b6040516020016112fc9291906121d7565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133e9190612262565b60405180910390fd5b5050565b6113558282610af8565b6114285760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113cd610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6114368282610af8565b1561150a5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114af610e59565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611516610a5c565b611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c906122c4565b60405180910390fd5b6000600560016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611599610e59565b6040516115a69190612211565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790612424565b60405180910390fd5b61162c600083836119f4565b806002600082825461163e91906124c1565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461169391906124c1565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f89190612464565b60405180910390a361170c60008383611a4c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790612384565b60405180910390fd5b61178c826000836119f4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906122e4565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546118699190612571565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118ce9190612464565b60405180910390a36118e283600084611a4c565b505050565b6118ef610a5c565b1561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192690612344565b60405180910390fd5b6001600560016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611973610e59565b6040516119809190612211565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119ff838383610dda565b611a07610a5c565b15611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e90612444565b60405180910390fd5b505050565b505050565b606060006002836002611a649190612517565b611a6e91906124c1565b67ffffffffffffffff811115611a8757611a8661274c565b5b6040519080825280601f01601f191660200182016040528015611ab95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611af157611af061271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611b5557611b5461271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611b959190612517565b611b9f91906124c1565b90505b6001811115611c66577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611be157611be061271d565b5b1a7f010000000000000000000000000000000000000000000000000000000000000002828281518110611c1757611c1661271d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485908060020a8204915050945080611c5f90612663565b9050611ba2565b5060008414611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190612284565b60405180910390fd5b8091505092915050565b600081359050611cc381612bec565b92915050565b600081359050611cd881612c03565b92915050565b600081359050611ced81612c1a565b92915050565b600081359050611d0281612c31565b92915050565b600060208284031215611d1e57611d1d61277b565b5b6000611d2c84828501611cb4565b91505092915050565b60008060408385031215611d4c57611d4b61277b565b5b6000611d5a85828601611cb4565b9250506020611d6b85828601611cb4565b9150509250929050565b600080600060608486031215611d8e57611d8d61277b565b5b6000611d9c86828701611cb4565b9350506020611dad86828701611cb4565b9250506040611dbe86828701611cf3565b9150509250925092565b60008060408385031215611ddf57611dde61277b565b5b6000611ded85828601611cb4565b9250506020611dfe85828601611cf3565b9150509250929050565b600060208284031215611e1e57611e1d61277b565b5b6000611e2c84828501611cc9565b91505092915050565b60008060408385031215611e4c57611e4b61277b565b5b6000611e5a85828601611cc9565b9250506020611e6b85828601611cb4565b9150509250929050565b600060208284031215611e8b57611e8a61277b565b5b6000611e9984828501611cde565b91505092915050565b600060208284031215611eb857611eb761277b565b5b6000611ec684828501611cf3565b91505092915050565b611ed8816125a5565b82525050565b611ee7816125b7565b82525050565b611ef6816125c3565b82525050565b6000611f078261249a565b611f1181856124a5565b9350611f21818560208601612630565b611f2a81612780565b840191505092915050565b6000611f408261249a565b611f4a81856124b6565b9350611f5a818560208601612630565b80840191505092915050565b6000611f736020836124a5565b9150611f7e82612791565b602082019050919050565b6000611f966023836124a5565b9150611fa1826127ba565b604082019050919050565b6000611fb96014836124a5565b9150611fc482612809565b602082019050919050565b6000611fdc6022836124a5565b9150611fe782612832565b604082019050919050565b6000611fff6022836124a5565b915061200a82612881565b604082019050919050565b60006120226026836124a5565b915061202d826128d0565b604082019050919050565b60006120456010836124a5565b91506120508261291f565b602082019050919050565b60006120686028836124a5565b915061207382612948565b604082019050919050565b600061208b6021836124a5565b915061209682612997565b604082019050919050565b60006120ae6025836124a5565b91506120b9826129e6565b604082019050919050565b60006120d16024836124a5565b91506120dc82612a35565b604082019050919050565b60006120f46017836124b6565b91506120ff82612a84565b601782019050919050565b60006121176025836124a5565b915061212282612aad565b604082019050919050565b600061213a6011836124b6565b915061214582612afc565b601182019050919050565b600061215d602f836124a5565b915061216882612b25565b604082019050919050565b6000612180601f836124a5565b915061218b82612b74565b602082019050919050565b60006121a3602a836124a5565b91506121ae82612b9d565b604082019050919050565b6121c281612619565b82525050565b6121d181612623565b82525050565b60006121e2826120e7565b91506121ee8285611f35565b91506121f98261212d565b91506122058284611f35565b91508190509392505050565b60006020820190506122266000830184611ecf565b92915050565b60006020820190506122416000830184611ede565b92915050565b600060208201905061225c6000830184611eed565b92915050565b6000602082019050818103600083015261227c8184611efc565b905092915050565b6000602082019050818103600083015261229d81611f66565b9050919050565b600060208201905081810360008301526122bd81611f89565b9050919050565b600060208201905081810360008301526122dd81611fac565b9050919050565b600060208201905081810360008301526122fd81611fcf565b9050919050565b6000602082019050818103600083015261231d81611ff2565b9050919050565b6000602082019050818103600083015261233d81612015565b9050919050565b6000602082019050818103600083015261235d81612038565b9050919050565b6000602082019050818103600083015261237d8161205b565b9050919050565b6000602082019050818103600083015261239d8161207e565b9050919050565b600060208201905081810360008301526123bd816120a1565b9050919050565b600060208201905081810360008301526123dd816120c4565b9050919050565b600060208201905081810360008301526123fd8161210a565b9050919050565b6000602082019050818103600083015261241d81612150565b9050919050565b6000602082019050818103600083015261243d81612173565b9050919050565b6000602082019050818103600083015261245d81612196565b9050919050565b600060208201905061247960008301846121b9565b92915050565b600060208201905061249460008301846121c8565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006124cc82612619565b91506124d783612619565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561250c5761250b6126bf565b5b828201905092915050565b600061252282612619565b915061252d83612619565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612566576125656126bf565b5b828202905092915050565b600061257c82612619565b915061258783612619565b92508282101561259a576125996126bf565b5b828203905092915050565b60006125b0826125f9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561264e578082015181840152602081019050612633565b8381111561265d576000848401525b50505050565b600061266e82612619565b91506000821415612682576126816126bf565b5b600182039050919050565b600060028204905060018216806126a557607f821691505b602082108114156126b9576126b86126ee565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b612bf5816125a5565b8114612c0057600080fd5b50565b612c0c816125c3565b8114612c1757600080fd5b50565b612c23816125cd565b8114612c2e57600080fd5b50565b612c3a81612619565b8114612c4557600080fd5b5056fea2646970667358221220bbc57f09bb7739373e004ef694a267faf066150ae69e2577118dee85c951cd2364736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000009f295cd5f000000000000000000000000000043b1d92f1159d39bb6f964ce1ce46d2b641124d10000000000000000000000000000000000000000000000000000000000000004446976690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044449564900000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Divi
Arg [1] : symbol_ (string): DIVI
Arg [2] : decimals_ (uint8): 8
Arg [3] : initialAmount_ (uint256): 2800000000000000
Arg [4] : initialAddress_ (address): 0x43B1d92f1159d39Bb6f964ce1cE46d2b641124d1
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 0000000000000000000000000000000000000000000000000009f295cd5f0000
Arg [4] : 00000000000000000000000043b1d92f1159d39bb6f964ce1ce46d2b641124d1
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4469766900000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4449564900000000000000000000000000000000000000000000000000000000
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.