Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 820 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21455180 | 37 hrs ago | IN | 0 ETH | 0.00023418 | ||||
Approve | 21410690 | 7 days ago | IN | 0 ETH | 0.00055795 | ||||
Approve | 21399328 | 9 days ago | IN | 0 ETH | 0.00024065 | ||||
Approve | 21398694 | 9 days ago | IN | 0 ETH | 0.00021399 | ||||
Approve | 21398267 | 9 days ago | IN | 0 ETH | 0.00030757 | ||||
Approve | 21390889 | 10 days ago | IN | 0 ETH | 0.00055881 | ||||
Transfer | 21364214 | 14 days ago | IN | 0 ETH | 0.0005481 | ||||
Approve | 21363889 | 14 days ago | IN | 0 ETH | 0.00056693 | ||||
Approve | 21285284 | 25 days ago | IN | 0 ETH | 0.00020249 | ||||
Approve | 21285267 | 25 days ago | IN | 0 ETH | 0.00020618 | ||||
Approve | 21275898 | 26 days ago | IN | 0 ETH | 0.00034879 | ||||
Approve | 21275895 | 26 days ago | IN | 0 ETH | 0.00063254 | ||||
Approve | 21273940 | 26 days ago | IN | 0 ETH | 0.00049557 | ||||
Approve | 21199638 | 37 days ago | IN | 0 ETH | 0.00053992 | ||||
Approve | 21102551 | 50 days ago | IN | 0 ETH | 0.00020106 | ||||
Approve | 21025194 | 61 days ago | IN | 0 ETH | 0.00026119 | ||||
Approve | 21005400 | 64 days ago | IN | 0 ETH | 0.00044286 | ||||
Approve | 20965749 | 69 days ago | IN | 0 ETH | 0.00156359 | ||||
Approve | 20953539 | 71 days ago | IN | 0 ETH | 0.00039108 | ||||
Approve | 20925251 | 75 days ago | IN | 0 ETH | 0.00072162 | ||||
Approve | 20925177 | 75 days ago | IN | 0 ETH | 0.00079216 | ||||
Approve | 20918252 | 76 days ago | IN | 0 ETH | 0.00039208 | ||||
Approve | 20908996 | 77 days ago | IN | 0 ETH | 0.00032772 | ||||
Approve | 20908972 | 77 days ago | IN | 0 ETH | 0.00035493 | ||||
Approve | 20897312 | 79 days ago | IN | 0 ETH | 0.00022696 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SwayToken
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./lib/InfluenceRoles.sol"; /** * @dev ERC20 token */ contract SwayToken is Context, AccessControl, ERC20 { uint256 public constant INITIAL_SUPPLY = 97_500_000_000; // Without decimals uint256 public constant LAUNCH_SUPPLY = 32_500_000_000; // Without decimals uint64 public constant RECORDING_PERIOD = 1_000_000; // in seconds uint8 public constant DECIMALS = 6; bool public launched = false; mapping (uint256 => uint256) private _periodVolumes; event Launch(address indexed admin, uint256 indexed launchSupply); /** * @dev Grants `DEFAULT_ADMIN_ROLE` to the account that deploys the contract and mints initial supply */ constructor() ERC20("Standard Weighted Adalian Yield", "SWAY") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(InfluenceRoles.TRANSFERRER_ROLE, _msgSender()); uint256 initialSupply = INITIAL_SUPPLY * (10 ** uint256(DECIMALS)); _mint(_msgSender(), initialSupply); } function currentPeriod() public view returns (uint256) { return block.timestamp / RECORDING_PERIOD; } /** * @dev Overrides the default # of decimals */ function decimals() public pure override returns (uint8) { return DECIMALS; } /** * @dev Allows for unrestricted transfers and switches transfer volume recording */ function launch() external { require(!launched, "SwayToken: token already launched"); require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "SwayToken: must be admin to launch"); uint256 launchSupply = LAUNCH_SUPPLY * (10 ** uint256(DECIMALS)); _mint(_msgSender(), launchSupply); launched = true; emit Launch(_msgSender(), launchSupply); } /** * @dev Creates new tokens and transfers them. The caller must have the `GOVERNOR_ROLE`. * @param to The address to send new tokens to * @param amount The total number of new tokens to send (accounting for decimals) */ function mint(address to, uint256 amount) public { require(hasRole(InfluenceRoles.GOVERNOR_ROLE, _msgSender()), "SwayToken: must have governor role to mint"); _mint(to, amount); } /** * @dev Returns the volume for a given period only after the period has completed */ function periodVolume(uint256 period) public view returns (uint256 volume) { require(period < currentPeriod(), "SwayToken: volume for period not yet final"); return _periodVolumes[period]; } /** * @dev After launch, records the transfer volumes for later use in calculating velocity * @param amount Amount of SWAY */ function _afterTokenTransfer(address, address, uint256 amount) internal override { if (launched) { uint256 period = currentPeriod(); _periodVolumes[period] += amount; } } /** * @dev Allows transfers only after launch OR from a caller with the TRANSFERRER_ROLE * @param from Address sending SWAY * @param to Address receiving SWAY * @param amount Amount of SWAY */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { super._beforeTokenTransfer(from, to, amount); require(launched || hasRole(InfluenceRoles.TRANSFERRER_ROLE, _msgSender()), "SwayToken: token transfer before launch"); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; // Roles used with OZ AccessControl library InfluenceRoles { bytes32 public constant GOVERNOR_ROLE = keccak256("GOVERNOR_ROLE"); bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); bytes32 public constant TRANSFERRER_ROLE = keccak256("TRANSFERRER_ROLE"); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @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 (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; 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); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "paris", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":true,"internalType":"uint256","name":"launchSupply","type":"uint256"}],"name":"Launch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAUNCH_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECORDING_PERIOD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"}],"name":"periodVolume","outputs":[{"internalType":"uint256","name":"volume","type":"uint256"}],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600660006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040518060400160405280601f81526020017f5374616e64617264205765696768746564204164616c69616e205969656c64008152506040518060400160405280600481526020017f53574159000000000000000000000000000000000000000000000000000000008152508160049081620000aa919062000818565b508060059081620000bc919062000818565b505050620000e36000801b620000d76200017560201b60201c565b6200017d60201b60201c565b620001247f9c0b3a9882e11a6bfb8283b46d1e79513afb8024ee864cd3a5b3a9050c42a7d7620001186200017560201b60201c565b6200017d60201b60201c565b6000600660ff16600a62000139919062000a82565b6416b373ef006200014b919062000ad3565b90506200016e620001616200017560201b60201c565b826200019360201b60201c565b5062000d09565b600033905090565b6200018f82826200030c60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000205576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001fc9062000b7f565b60405180910390fd5b6200021960008383620003fd60201b60201c565b80600360008282546200022d919062000ba1565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000285919062000ba1565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002ec919062000bed565b60405180910390a36200030860008383620004b060201b60201c565b5050565b6200031e82826200050d60201b60201c565b620003f957600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200039e6200017560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620004108383836200057760201b60201c565b600660009054906101000a900460ff1680620004695750620004687f9c0b3a9882e11a6bfb8283b46d1e79513afb8024ee864cd3a5b3a9050c42a7d76200045c6200017560201b60201c565b6200050d60201b60201c565b5b620004ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a29062000c80565b60405180910390fd5b505050565b600660009054906101000a900460ff161562000508576000620004d86200057c60201b60201c565b905081600760008381526020019081526020016000206000828254620004ff919062000ba1565b92505081905550505b505050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b6000620f424067ffffffffffffffff164262000599919062000cd1565b905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062057607f821691505b602082108103620006365762000635620005d8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000661565b620006ac868362000661565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006f9620006f3620006ed84620006c4565b620006ce565b620006c4565b9050919050565b6000819050919050565b6200071583620006d8565b6200072d620007248262000700565b8484546200066e565b825550505050565b600090565b6200074462000735565b620007518184846200070a565b505050565b5b8181101562000779576200076d6000826200073a565b60018101905062000757565b5050565b601f821115620007c85762000792816200063c565b6200079d8462000651565b81016020851015620007ad578190505b620007c5620007bc8562000651565b83018262000756565b50505b505050565b600082821c905092915050565b6000620007ed60001984600802620007cd565b1980831691505092915050565b6000620008088383620007da565b9150826002028217905092915050565b62000823826200059e565b67ffffffffffffffff8111156200083f576200083e620005a9565b5b6200084b825462000607565b620008588282856200077d565b600060209050601f8311600181146200089057600084156200087b578287015190505b620008878582620007fa565b865550620008f7565b601f198416620008a0866200063c565b60005b82811015620008ca57848901518255600182019150602085019450602081019050620008a3565b86831015620008ea5784890151620008e6601f891682620007da565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156200098d57808604811115620009655762000964620008ff565b5b6001851615620009755780820291505b808102905062000985856200092e565b945062000945565b94509492505050565b600082620009a8576001905062000a7b565b81620009b8576000905062000a7b565b8160018114620009d15760028114620009dc5762000a12565b600191505062000a7b565b60ff841115620009f157620009f0620008ff565b5b8360020a91508482111562000a0b5762000a0a620008ff565b5b5062000a7b565b5060208310610133831016604e8410600b841016171562000a4c5782820a90508381111562000a465762000a45620008ff565b5b62000a7b565b62000a5b84848460016200093b565b9250905081840481111562000a755762000a74620008ff565b5b81810290505b9392505050565b600062000a8f82620006c4565b915062000a9c83620006c4565b925062000acb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000996565b905092915050565b600062000ae082620006c4565b915062000aed83620006c4565b925082820262000afd81620006c4565b9150828204841483151762000b175762000b16620008ff565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000b67601f8362000b1e565b915062000b748262000b2f565b602082019050919050565b6000602082019050818103600083015262000b9a8162000b58565b9050919050565b600062000bae82620006c4565b915062000bbb83620006c4565b925082820190508082111562000bd65762000bd5620008ff565b5b92915050565b62000be781620006c4565b82525050565b600060208201905062000c04600083018462000bdc565b92915050565b7f53776179546f6b656e3a20746f6b656e207472616e73666572206265666f726560008201527f206c61756e636800000000000000000000000000000000000000000000000000602082015250565b600062000c6860278362000b1e565b915062000c758262000c0a565b604082019050919050565b6000602082019050818103600083015262000c9b8162000c59565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000cde82620006c4565b915062000ceb83620006c4565b92508262000cfe5762000cfd62000ca2565b5b828204905092915050565b612aa08062000d196000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806336568abe116100f957806395d89b4111610097578063a9059cbb11610071578063a9059cbb146104e8578063d547741f14610518578063dd62ed3e14610534578063fb1ace1814610564576101a9565b806395d89b411461047c578063a217fddf1461049a578063a457c2d7146104b8576101a9565b80634d875161116100d35780634d875161146103e057806370a08231146103fe5780638091f3bf1461042e57806391d148541461044c576101a9565b806336568abe14610378578063395093511461039457806340c10f19146103c4576101a9565b806318160ddd116101665780632e0f2625116101405780632e0f2625146103025780632f2ff15d146103205780632ff2e9dc1461033c578063313ce5671461035a576101a9565b806318160ddd1461028457806323b872dd146102a2578063248a9ca3146102d2576101a9565b806301339c21146101ae57806301ffc9a7146101b857806306040618146101e857806306fdde0314610206578063095ea7b3146102245780631458dc7e14610254575b600080fd5b6101b6610582565b005b6101d260048036038101906101cd9190611994565b6106c4565b6040516101df91906119dc565b60405180910390f35b6101f061073e565b6040516101fd9190611a10565b60405180910390f35b61020e61075e565b60405161021b9190611abb565b60405180910390f35b61023e60048036038101906102399190611b67565b6107f0565b60405161024b91906119dc565b60405180910390f35b61026e60048036038101906102699190611ba7565b610813565b60405161027b9190611a10565b60405180910390f35b61028c610879565b6040516102999190611a10565b60405180910390f35b6102bc60048036038101906102b79190611bd4565b610883565b6040516102c991906119dc565b60405180910390f35b6102ec60048036038101906102e79190611c5d565b6108b2565b6040516102f99190611c99565b60405180910390f35b61030a6108d1565b6040516103179190611cd0565b60405180910390f35b61033a60048036038101906103359190611ceb565b6108d6565b005b6103446108f7565b6040516103519190611a10565b60405180910390f35b610362610900565b60405161036f9190611cd0565b60405180910390f35b610392600480360381019061038d9190611ceb565b610909565b005b6103ae60048036038101906103a99190611b67565b61098c565b6040516103bb91906119dc565b60405180910390f35b6103de60048036038101906103d99190611b67565b6109c3565b005b6103e8610a41565b6040516103f59190611d4e565b60405180910390f35b61041860048036038101906104139190611d69565b610a48565b6040516104259190611a10565b60405180910390f35b610436610a91565b60405161044391906119dc565b60405180910390f35b61046660048036038101906104619190611ceb565b610aa4565b60405161047391906119dc565b60405180910390f35b610484610b0e565b6040516104919190611abb565b60405180910390f35b6104a2610ba0565b6040516104af9190611c99565b60405180910390f35b6104d260048036038101906104cd9190611b67565b610ba7565b6040516104df91906119dc565b60405180910390f35b61050260048036038101906104fd9190611b67565b610c1e565b60405161050f91906119dc565b60405180910390f35b610532600480360381019061052d9190611ceb565b610c41565b005b61054e60048036038101906105499190611d96565b610c62565b60405161055b9190611a10565b60405180910390f35b61056c610ce9565b6040516105799190611a10565b60405180910390f35b600660009054906101000a900460ff16156105d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c990611e48565b60405180910390fd5b6105e66000801b6105e1610cf2565b610aa4565b610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c90611eda565b60405180910390fd5b6000600660ff16600a610638919061205c565b64079126a50061064891906120a7565b905061065b610655610cf2565b82610cfa565b6001600660006101000a81548160ff0219169083151502179055508061067f610cf2565b73ffffffffffffffffffffffffffffffffffffffff167fd9bdc0ab3eaf020bc55ecdca20f44eb5f1d3287f55e6cd0027a44eac3dded21360405160405180910390a350565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610737575061073682610e5a565b5b9050919050565b6000620f424067ffffffffffffffff16426107599190612118565b905090565b60606004805461076d90612178565b80601f016020809104026020016040519081016040528092919081815260200182805461079990612178565b80156107e65780601f106107bb576101008083540402835291602001916107e6565b820191906000526020600020905b8154815290600101906020018083116107c957829003601f168201915b5050505050905090565b6000806107fb610cf2565b9050610808818585610ec4565b600191505092915050565b600061081d61073e565b821061085e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108559061221b565b60405180910390fd5b60076000838152602001908152602001600020549050919050565b6000600354905090565b60008061088e610cf2565b905061089b85828561108d565b6108a6858585611119565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b600681565b6108df826108b2565b6108e88161139b565b6108f283836113af565b505050565b6416b373ef0081565b60006006905090565b610911610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461097e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610975906122ad565b60405180910390fd5b610988828261148f565b5050565b600080610997610cf2565b90506109b88185856109a98589610c62565b6109b391906122cd565b610ec4565b600191505092915050565b6109f47f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f556109ef610cf2565b610aa4565b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612373565b60405180910390fd5b610a3d8282610cfa565b5050565b620f424081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900460ff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060058054610b1d90612178565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4990612178565b8015610b965780601f10610b6b57610100808354040283529160200191610b96565b820191906000526020600020905b815481529060010190602001808311610b7957829003601f168201915b5050505050905090565b6000801b81565b600080610bb2610cf2565b90506000610bc08286610c62565b905083811015610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90612405565b60405180910390fd5b610c128286868403610ec4565b60019250505092915050565b600080610c29610cf2565b9050610c36818585611119565b600191505092915050565b610c4a826108b2565b610c538161139b565b610c5d838361148f565b505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b64079126a50081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090612471565b60405180910390fd5b610d7560008383611570565b8060036000828254610d8791906122cd565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ddd91906122cd565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e429190611a10565b60405180910390a3610e5660008383611607565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90612503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990612595565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110809190611a10565b60405180910390a3505050565b60006110998484610c62565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111135781811015611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90612601565b60405180910390fd5b6111128484848403610ec4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f90612693565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90612725565b60405180910390fd5b611202838383611570565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906127b7565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131e91906122cd565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113829190611a10565b60405180910390a3611395848484611607565b50505050565b6113ac816113a7610cf2565b611659565b50565b6113b98282610aa4565b61148b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611430610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6114998282610aa4565b1561156c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611511610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61157b8383836116f6565b600660009054906101000a900460ff16806115c357506115c27f9c0b3a9882e11a6bfb8283b46d1e79513afb8024ee864cd3a5b3a9050c42a7d76115bd610cf2565b610aa4565b5b611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612849565b60405180910390fd5b505050565b600660009054906101000a900460ff161561165457600061162661073e565b90508160076000838152602001908152602001600020600082825461164b91906122cd565b92505081905550505b505050565b6116638282610aa4565b6116f2576116888173ffffffffffffffffffffffffffffffffffffffff1660146116fb565b6116968360001c60206116fb565b6040516020016116a792919061293d565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e99190611abb565b60405180910390fd5b5050565b505050565b60606000600283600261170e91906120a7565b61171891906122cd565b67ffffffffffffffff81111561173157611730612977565b5b6040519080825280601f01601f1916602001820160405280156117635781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061179b5761179a6129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106117ff576117fe6129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261183f91906120a7565b61184991906122cd565b90505b60018111156118e9577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061188b5761188a6129a6565b5b1a60f81b8282815181106118a2576118a16129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806118e2906129d5565b905061184c565b506000841461192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490612a4a565b60405180910390fd5b8091505092915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6119718161193c565b811461197c57600080fd5b50565b60008135905061198e81611968565b92915050565b6000602082840312156119aa576119a9611937565b5b60006119b88482850161197f565b91505092915050565b60008115159050919050565b6119d6816119c1565b82525050565b60006020820190506119f160008301846119cd565b92915050565b6000819050919050565b611a0a816119f7565b82525050565b6000602082019050611a256000830184611a01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611a65578082015181840152602081019050611a4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a8d82611a2b565b611a978185611a36565b9350611aa7818560208601611a47565b611ab081611a71565b840191505092915050565b60006020820190508181036000830152611ad58184611a82565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611b0882611add565b9050919050565b611b1881611afd565b8114611b2357600080fd5b50565b600081359050611b3581611b0f565b92915050565b611b44816119f7565b8114611b4f57600080fd5b50565b600081359050611b6181611b3b565b92915050565b60008060408385031215611b7e57611b7d611937565b5b6000611b8c85828601611b26565b9250506020611b9d85828601611b52565b9150509250929050565b600060208284031215611bbd57611bbc611937565b5b6000611bcb84828501611b52565b91505092915050565b600080600060608486031215611bed57611bec611937565b5b6000611bfb86828701611b26565b9350506020611c0c86828701611b26565b9250506040611c1d86828701611b52565b9150509250925092565b6000819050919050565b611c3a81611c27565b8114611c4557600080fd5b50565b600081359050611c5781611c31565b92915050565b600060208284031215611c7357611c72611937565b5b6000611c8184828501611c48565b91505092915050565b611c9381611c27565b82525050565b6000602082019050611cae6000830184611c8a565b92915050565b600060ff82169050919050565b611cca81611cb4565b82525050565b6000602082019050611ce56000830184611cc1565b92915050565b60008060408385031215611d0257611d01611937565b5b6000611d1085828601611c48565b9250506020611d2185828601611b26565b9150509250929050565b600067ffffffffffffffff82169050919050565b611d4881611d2b565b82525050565b6000602082019050611d636000830184611d3f565b92915050565b600060208284031215611d7f57611d7e611937565b5b6000611d8d84828501611b26565b91505092915050565b60008060408385031215611dad57611dac611937565b5b6000611dbb85828601611b26565b9250506020611dcc85828601611b26565b9150509250929050565b7f53776179546f6b656e3a20746f6b656e20616c7265616479206c61756e63686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e32602183611a36565b9150611e3d82611dd6565b604082019050919050565b60006020820190508181036000830152611e6181611e25565b9050919050565b7f53776179546f6b656e3a206d7573742062652061646d696e20746f206c61756e60008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b6000611ec4602283611a36565b9150611ecf82611e68565b604082019050919050565b60006020820190508181036000830152611ef381611eb7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611f8057808604811115611f5c57611f5b611efa565b5b6001851615611f6b5780820291505b8081029050611f7985611f29565b9450611f40565b94509492505050565b600082611f995760019050612055565b81611fa75760009050612055565b8160018114611fbd5760028114611fc757611ff6565b6001915050612055565b60ff841115611fd957611fd8611efa565b5b8360020a915084821115611ff057611fef611efa565b5b50612055565b5060208310610133831016604e8410600b841016171561202b5782820a90508381111561202657612025611efa565b5b612055565b6120388484846001611f36565b9250905081840481111561204f5761204e611efa565b5b81810290505b9392505050565b6000612067826119f7565b9150612072836119f7565b925061209f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611f89565b905092915050565b60006120b2826119f7565b91506120bd836119f7565b92508282026120cb816119f7565b915082820484148315176120e2576120e1611efa565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612123826119f7565b915061212e836119f7565b92508261213e5761213d6120e9565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061219057607f821691505b6020821081036121a3576121a2612149565b5b50919050565b7f53776179546f6b656e3a20766f6c756d6520666f7220706572696f64206e6f7460008201527f207965742066696e616c00000000000000000000000000000000000000000000602082015250565b6000612205602a83611a36565b9150612210826121a9565b604082019050919050565b60006020820190508181036000830152612234816121f8565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612297602f83611a36565b91506122a28261223b565b604082019050919050565b600060208201905081810360008301526122c68161228a565b9050919050565b60006122d8826119f7565b91506122e3836119f7565b92508282019050808211156122fb576122fa611efa565b5b92915050565b7f53776179546f6b656e3a206d757374206861766520676f7665726e6f7220726f60008201527f6c6520746f206d696e7400000000000000000000000000000000000000000000602082015250565b600061235d602a83611a36565b915061236882612301565b604082019050919050565b6000602082019050818103600083015261238c81612350565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006123ef602583611a36565b91506123fa82612393565b604082019050919050565b6000602082019050818103600083015261241e816123e2565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061245b601f83611a36565b915061246682612425565b602082019050919050565b6000602082019050818103600083015261248a8161244e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006124ed602483611a36565b91506124f882612491565b604082019050919050565b6000602082019050818103600083015261251c816124e0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061257f602283611a36565b915061258a82612523565b604082019050919050565b600060208201905081810360008301526125ae81612572565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006125eb601d83611a36565b91506125f6826125b5565b602082019050919050565b6000602082019050818103600083015261261a816125de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061267d602583611a36565b915061268882612621565b604082019050919050565b600060208201905081810360008301526126ac81612670565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061270f602383611a36565b915061271a826126b3565b604082019050919050565b6000602082019050818103600083015261273e81612702565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006127a1602683611a36565b91506127ac82612745565b604082019050919050565b600060208201905081810360008301526127d081612794565b9050919050565b7f53776179546f6b656e3a20746f6b656e207472616e73666572206265666f726560008201527f206c61756e636800000000000000000000000000000000000000000000000000602082015250565b6000612833602783611a36565b915061283e826127d7565b604082019050919050565b6000602082019050818103600083015261286281612826565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006128aa601783612869565b91506128b582612874565b601782019050919050565b60006128cb82611a2b565b6128d58185612869565b93506128e5818560208601611a47565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612927601183612869565b9150612932826128f1565b601182019050919050565b60006129488261289d565b915061295482856128c0565b915061295f8261291a565b915061296b82846128c0565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006129e0826119f7565b9150600082036129f3576129f2611efa565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612a34602083611a36565b9150612a3f826129fe565b602082019050919050565b60006020820190508181036000830152612a6381612a27565b905091905056fea2646970667358221220af1bb0a764b28ce38d39448cc447f70ede2134be74e739ce68ad9eb06fd7e30f64736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806336568abe116100f957806395d89b4111610097578063a9059cbb11610071578063a9059cbb146104e8578063d547741f14610518578063dd62ed3e14610534578063fb1ace1814610564576101a9565b806395d89b411461047c578063a217fddf1461049a578063a457c2d7146104b8576101a9565b80634d875161116100d35780634d875161146103e057806370a08231146103fe5780638091f3bf1461042e57806391d148541461044c576101a9565b806336568abe14610378578063395093511461039457806340c10f19146103c4576101a9565b806318160ddd116101665780632e0f2625116101405780632e0f2625146103025780632f2ff15d146103205780632ff2e9dc1461033c578063313ce5671461035a576101a9565b806318160ddd1461028457806323b872dd146102a2578063248a9ca3146102d2576101a9565b806301339c21146101ae57806301ffc9a7146101b857806306040618146101e857806306fdde0314610206578063095ea7b3146102245780631458dc7e14610254575b600080fd5b6101b6610582565b005b6101d260048036038101906101cd9190611994565b6106c4565b6040516101df91906119dc565b60405180910390f35b6101f061073e565b6040516101fd9190611a10565b60405180910390f35b61020e61075e565b60405161021b9190611abb565b60405180910390f35b61023e60048036038101906102399190611b67565b6107f0565b60405161024b91906119dc565b60405180910390f35b61026e60048036038101906102699190611ba7565b610813565b60405161027b9190611a10565b60405180910390f35b61028c610879565b6040516102999190611a10565b60405180910390f35b6102bc60048036038101906102b79190611bd4565b610883565b6040516102c991906119dc565b60405180910390f35b6102ec60048036038101906102e79190611c5d565b6108b2565b6040516102f99190611c99565b60405180910390f35b61030a6108d1565b6040516103179190611cd0565b60405180910390f35b61033a60048036038101906103359190611ceb565b6108d6565b005b6103446108f7565b6040516103519190611a10565b60405180910390f35b610362610900565b60405161036f9190611cd0565b60405180910390f35b610392600480360381019061038d9190611ceb565b610909565b005b6103ae60048036038101906103a99190611b67565b61098c565b6040516103bb91906119dc565b60405180910390f35b6103de60048036038101906103d99190611b67565b6109c3565b005b6103e8610a41565b6040516103f59190611d4e565b60405180910390f35b61041860048036038101906104139190611d69565b610a48565b6040516104259190611a10565b60405180910390f35b610436610a91565b60405161044391906119dc565b60405180910390f35b61046660048036038101906104619190611ceb565b610aa4565b60405161047391906119dc565b60405180910390f35b610484610b0e565b6040516104919190611abb565b60405180910390f35b6104a2610ba0565b6040516104af9190611c99565b60405180910390f35b6104d260048036038101906104cd9190611b67565b610ba7565b6040516104df91906119dc565b60405180910390f35b61050260048036038101906104fd9190611b67565b610c1e565b60405161050f91906119dc565b60405180910390f35b610532600480360381019061052d9190611ceb565b610c41565b005b61054e60048036038101906105499190611d96565b610c62565b60405161055b9190611a10565b60405180910390f35b61056c610ce9565b6040516105799190611a10565b60405180910390f35b600660009054906101000a900460ff16156105d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c990611e48565b60405180910390fd5b6105e66000801b6105e1610cf2565b610aa4565b610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c90611eda565b60405180910390fd5b6000600660ff16600a610638919061205c565b64079126a50061064891906120a7565b905061065b610655610cf2565b82610cfa565b6001600660006101000a81548160ff0219169083151502179055508061067f610cf2565b73ffffffffffffffffffffffffffffffffffffffff167fd9bdc0ab3eaf020bc55ecdca20f44eb5f1d3287f55e6cd0027a44eac3dded21360405160405180910390a350565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610737575061073682610e5a565b5b9050919050565b6000620f424067ffffffffffffffff16426107599190612118565b905090565b60606004805461076d90612178565b80601f016020809104026020016040519081016040528092919081815260200182805461079990612178565b80156107e65780601f106107bb576101008083540402835291602001916107e6565b820191906000526020600020905b8154815290600101906020018083116107c957829003601f168201915b5050505050905090565b6000806107fb610cf2565b9050610808818585610ec4565b600191505092915050565b600061081d61073e565b821061085e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108559061221b565b60405180910390fd5b60076000838152602001908152602001600020549050919050565b6000600354905090565b60008061088e610cf2565b905061089b85828561108d565b6108a6858585611119565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b600681565b6108df826108b2565b6108e88161139b565b6108f283836113af565b505050565b6416b373ef0081565b60006006905090565b610911610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461097e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610975906122ad565b60405180910390fd5b610988828261148f565b5050565b600080610997610cf2565b90506109b88185856109a98589610c62565b6109b391906122cd565b610ec4565b600191505092915050565b6109f47f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f556109ef610cf2565b610aa4565b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612373565b60405180910390fd5b610a3d8282610cfa565b5050565b620f424081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900460ff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060058054610b1d90612178565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4990612178565b8015610b965780601f10610b6b57610100808354040283529160200191610b96565b820191906000526020600020905b815481529060010190602001808311610b7957829003601f168201915b5050505050905090565b6000801b81565b600080610bb2610cf2565b90506000610bc08286610c62565b905083811015610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90612405565b60405180910390fd5b610c128286868403610ec4565b60019250505092915050565b600080610c29610cf2565b9050610c36818585611119565b600191505092915050565b610c4a826108b2565b610c538161139b565b610c5d838361148f565b505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b64079126a50081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090612471565b60405180910390fd5b610d7560008383611570565b8060036000828254610d8791906122cd565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ddd91906122cd565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e429190611a10565b60405180910390a3610e5660008383611607565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90612503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990612595565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110809190611a10565b60405180910390a3505050565b60006110998484610c62565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111135781811015611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90612601565b60405180910390fd5b6111128484848403610ec4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f90612693565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90612725565b60405180910390fd5b611202838383611570565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906127b7565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131e91906122cd565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113829190611a10565b60405180910390a3611395848484611607565b50505050565b6113ac816113a7610cf2565b611659565b50565b6113b98282610aa4565b61148b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611430610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6114998282610aa4565b1561156c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611511610cf2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61157b8383836116f6565b600660009054906101000a900460ff16806115c357506115c27f9c0b3a9882e11a6bfb8283b46d1e79513afb8024ee864cd3a5b3a9050c42a7d76115bd610cf2565b610aa4565b5b611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612849565b60405180910390fd5b505050565b600660009054906101000a900460ff161561165457600061162661073e565b90508160076000838152602001908152602001600020600082825461164b91906122cd565b92505081905550505b505050565b6116638282610aa4565b6116f2576116888173ffffffffffffffffffffffffffffffffffffffff1660146116fb565b6116968360001c60206116fb565b6040516020016116a792919061293d565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e99190611abb565b60405180910390fd5b5050565b505050565b60606000600283600261170e91906120a7565b61171891906122cd565b67ffffffffffffffff81111561173157611730612977565b5b6040519080825280601f01601f1916602001820160405280156117635781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061179b5761179a6129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106117ff576117fe6129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261183f91906120a7565b61184991906122cd565b90505b60018111156118e9577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061188b5761188a6129a6565b5b1a60f81b8282815181106118a2576118a16129a6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806118e2906129d5565b905061184c565b506000841461192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490612a4a565b60405180910390fd5b8091505092915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6119718161193c565b811461197c57600080fd5b50565b60008135905061198e81611968565b92915050565b6000602082840312156119aa576119a9611937565b5b60006119b88482850161197f565b91505092915050565b60008115159050919050565b6119d6816119c1565b82525050565b60006020820190506119f160008301846119cd565b92915050565b6000819050919050565b611a0a816119f7565b82525050565b6000602082019050611a256000830184611a01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611a65578082015181840152602081019050611a4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a8d82611a2b565b611a978185611a36565b9350611aa7818560208601611a47565b611ab081611a71565b840191505092915050565b60006020820190508181036000830152611ad58184611a82565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611b0882611add565b9050919050565b611b1881611afd565b8114611b2357600080fd5b50565b600081359050611b3581611b0f565b92915050565b611b44816119f7565b8114611b4f57600080fd5b50565b600081359050611b6181611b3b565b92915050565b60008060408385031215611b7e57611b7d611937565b5b6000611b8c85828601611b26565b9250506020611b9d85828601611b52565b9150509250929050565b600060208284031215611bbd57611bbc611937565b5b6000611bcb84828501611b52565b91505092915050565b600080600060608486031215611bed57611bec611937565b5b6000611bfb86828701611b26565b9350506020611c0c86828701611b26565b9250506040611c1d86828701611b52565b9150509250925092565b6000819050919050565b611c3a81611c27565b8114611c4557600080fd5b50565b600081359050611c5781611c31565b92915050565b600060208284031215611c7357611c72611937565b5b6000611c8184828501611c48565b91505092915050565b611c9381611c27565b82525050565b6000602082019050611cae6000830184611c8a565b92915050565b600060ff82169050919050565b611cca81611cb4565b82525050565b6000602082019050611ce56000830184611cc1565b92915050565b60008060408385031215611d0257611d01611937565b5b6000611d1085828601611c48565b9250506020611d2185828601611b26565b9150509250929050565b600067ffffffffffffffff82169050919050565b611d4881611d2b565b82525050565b6000602082019050611d636000830184611d3f565b92915050565b600060208284031215611d7f57611d7e611937565b5b6000611d8d84828501611b26565b91505092915050565b60008060408385031215611dad57611dac611937565b5b6000611dbb85828601611b26565b9250506020611dcc85828601611b26565b9150509250929050565b7f53776179546f6b656e3a20746f6b656e20616c7265616479206c61756e63686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e32602183611a36565b9150611e3d82611dd6565b604082019050919050565b60006020820190508181036000830152611e6181611e25565b9050919050565b7f53776179546f6b656e3a206d7573742062652061646d696e20746f206c61756e60008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b6000611ec4602283611a36565b9150611ecf82611e68565b604082019050919050565b60006020820190508181036000830152611ef381611eb7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611f8057808604811115611f5c57611f5b611efa565b5b6001851615611f6b5780820291505b8081029050611f7985611f29565b9450611f40565b94509492505050565b600082611f995760019050612055565b81611fa75760009050612055565b8160018114611fbd5760028114611fc757611ff6565b6001915050612055565b60ff841115611fd957611fd8611efa565b5b8360020a915084821115611ff057611fef611efa565b5b50612055565b5060208310610133831016604e8410600b841016171561202b5782820a90508381111561202657612025611efa565b5b612055565b6120388484846001611f36565b9250905081840481111561204f5761204e611efa565b5b81810290505b9392505050565b6000612067826119f7565b9150612072836119f7565b925061209f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611f89565b905092915050565b60006120b2826119f7565b91506120bd836119f7565b92508282026120cb816119f7565b915082820484148315176120e2576120e1611efa565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612123826119f7565b915061212e836119f7565b92508261213e5761213d6120e9565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061219057607f821691505b6020821081036121a3576121a2612149565b5b50919050565b7f53776179546f6b656e3a20766f6c756d6520666f7220706572696f64206e6f7460008201527f207965742066696e616c00000000000000000000000000000000000000000000602082015250565b6000612205602a83611a36565b9150612210826121a9565b604082019050919050565b60006020820190508181036000830152612234816121f8565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612297602f83611a36565b91506122a28261223b565b604082019050919050565b600060208201905081810360008301526122c68161228a565b9050919050565b60006122d8826119f7565b91506122e3836119f7565b92508282019050808211156122fb576122fa611efa565b5b92915050565b7f53776179546f6b656e3a206d757374206861766520676f7665726e6f7220726f60008201527f6c6520746f206d696e7400000000000000000000000000000000000000000000602082015250565b600061235d602a83611a36565b915061236882612301565b604082019050919050565b6000602082019050818103600083015261238c81612350565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006123ef602583611a36565b91506123fa82612393565b604082019050919050565b6000602082019050818103600083015261241e816123e2565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061245b601f83611a36565b915061246682612425565b602082019050919050565b6000602082019050818103600083015261248a8161244e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006124ed602483611a36565b91506124f882612491565b604082019050919050565b6000602082019050818103600083015261251c816124e0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061257f602283611a36565b915061258a82612523565b604082019050919050565b600060208201905081810360008301526125ae81612572565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006125eb601d83611a36565b91506125f6826125b5565b602082019050919050565b6000602082019050818103600083015261261a816125de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061267d602583611a36565b915061268882612621565b604082019050919050565b600060208201905081810360008301526126ac81612670565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061270f602383611a36565b915061271a826126b3565b604082019050919050565b6000602082019050818103600083015261273e81612702565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006127a1602683611a36565b91506127ac82612745565b604082019050919050565b600060208201905081810360008301526127d081612794565b9050919050565b7f53776179546f6b656e3a20746f6b656e207472616e73666572206265666f726560008201527f206c61756e636800000000000000000000000000000000000000000000000000602082015250565b6000612833602783611a36565b915061283e826127d7565b604082019050919050565b6000602082019050818103600083015261286281612826565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006128aa601783612869565b91506128b582612874565b601782019050919050565b60006128cb82611a2b565b6128d58185612869565b93506128e5818560208601611a47565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612927601183612869565b9150612932826128f1565b601182019050919050565b60006129488261289d565b915061295482856128c0565b915061295f8261291a565b915061296b82846128c0565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006129e0826119f7565b9150600082036129f3576129f2611efa565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612a34602083611a36565b9150612a3f826129fe565b602082019050919050565b60006020820190508181036000830152612a6381612a27565b905091905056fea2646970667358221220af1bb0a764b28ce38d39448cc447f70ede2134be74e739ce68ad9eb06fd7e30f64736f6c63430008130033
Loading...
Loading
Loading...
Loading
OVERVIEW
SWAY is an in-game currency that powers the Influence universe, a single-shard, open-economy, space strategy MMO where players colonize asteroids, build infrastructure, discover technologies, and engage in combat.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.