Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
FPIS
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-02 */ // SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; // Sources flattened with hardhat v2.9.0 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.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, _allowances[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 = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * 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 {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/Pausable.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()); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) /** * @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; } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.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 virtual 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 virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File contracts/Staking/Owned.sol // https://docs.synthetix.io/contracts/Owned contract Owned { address public owner; address public nominatedOwner; constructor (address _owner) public { require(_owner != address(0), "Owner address cannot be 0"); owner = _owner; emit OwnerChanged(address(0), _owner); } function nominateNewOwner(address _owner) external onlyOwner { nominatedOwner = _owner; emit OwnerNominated(_owner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } modifier onlyOwner { require(msg.sender == owner, "Only the contract owner may perform this action"); _; } event OwnerNominated(address newOwner); event OwnerChanged(address oldOwner, address newOwner); } // File contracts/ERC20/ERC20PermissionedMint.sol contract ERC20PermissionedMint is ERC20, ERC20Burnable, Owned { // Core address public timelock_address; // Minters address[] public minters_array; // Allowed to mint mapping(address => bool) public minters; // Mapping is also used for faster verification /* ========== CONSTRUCTOR ========== */ constructor( address _creator_address, address _timelock_address, string memory _name, string memory _symbol ) ERC20(_name, _symbol) Owned(_creator_address) { timelock_address = _timelock_address; } /* ========== MODIFIERS ========== */ modifier onlyByOwnGov() { require(msg.sender == timelock_address || msg.sender == owner, "Not owner or timelock"); _; } modifier onlyMinters() { require(minters[msg.sender] == true, "Only minters"); _; } /* ========== RESTRICTED FUNCTIONS ========== */ // Used by minters when user redeems function minter_burn_from(address b_address, uint256 b_amount) public onlyMinters { super.burnFrom(b_address, b_amount); emit TokenMinterBurned(b_address, msg.sender, b_amount); } // This function is what other minters will call to mint new tokens function minter_mint(address m_address, uint256 m_amount) public onlyMinters { super._mint(m_address, m_amount); emit TokenMinterMinted(msg.sender, m_address, m_amount); } // Adds whitelisted minters function addMinter(address minter_address) public onlyByOwnGov { require(minter_address != address(0), "Zero address detected"); require(minters[minter_address] == false, "Address already exists"); minters[minter_address] = true; minters_array.push(minter_address); emit MinterAdded(minter_address); } // Remove a minter function removeMinter(address minter_address) public onlyByOwnGov { require(minter_address != address(0), "Zero address detected"); require(minters[minter_address] == true, "Address nonexistant"); // Delete from the mapping delete minters[minter_address]; // 'Delete' from the array by setting the address to 0x0 for (uint i = 0; i < minters_array.length; i++){ if (minters_array[i] == minter_address) { minters_array[i] = address(0); // This will leave a null in the array and keep the indices the same break; } } emit MinterRemoved(minter_address); } /* ========== EVENTS ========== */ event TokenMinterBurned(address indexed from, address indexed to, uint256 amount); event TokenMinterMinted(address indexed from, address indexed to, uint256 amount); event MinterAdded(address minter_address); event MinterRemoved(address minter_address); } // File contracts/FPI/FPIS.sol // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ / ___/ __ `| |/_/ / /_ / / __ \/ __ `/ __ \/ ___/ _ \ | // | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ | // | /_/ /_/ \__,_/_/|_| /_/ /_/_/ /_/\__,_/_/ /_/\___/\___/ | // | | // ==================================================================== // =============================== FPIS =============================== // ==================================================================== // Frax Price Index Share // FPI Utility Token // Frax Finance: https://github.com/FraxFinance // Primary Author(s) // Travis Moore: https://github.com/FortisFortuna // Jack Corddry: https://github.com/corddry // Reviewer(s) / Contributor(s) // Sam Kazemian: https://github.com/samkazemian // Rich Gee: https://github.com/zer0blockchain // Dennis: https://github.com/denett contract FPIS is ERC20PermissionedMint { // Core ERC20PermissionedMint public FPI_TKN; /* ========== CONSTRUCTOR ========== */ constructor( address _creator_address, address _timelock_address, address _fpi_address ) ERC20PermissionedMint(_creator_address, _timelock_address, "Frax Price Index Share", "FPIS") { FPI_TKN = ERC20PermissionedMint(_fpi_address); _mint(_creator_address, 100000000e18); // Genesis mint } /* ========== RESTRICTED FUNCTIONS ========== */ function setFPIAddress(address fpi_contract_address) external onlyByOwnGov { require(fpi_contract_address != address(0), "Zero address detected"); FPI_TKN = ERC20PermissionedMint(fpi_contract_address); emit FPIAddressSet(fpi_contract_address); } /* ========== EVENTS ========== */ event FPIAddressSet(address addr); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_creator_address","type":"address"},{"internalType":"address","name":"_timelock_address","type":"address"},{"internalType":"address","name":"_fpi_address","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":"addr","type":"address"}],"name":"FPIAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter_address","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter_address","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","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":"amount","type":"uint256"}],"name":"TokenMinterBurned","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":"amount","type":"uint256"}],"name":"TokenMinterMinted","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":"FPI_TKN","outputs":[{"internalType":"contract ERC20PermissionedMint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"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":"b_address","type":"address"},{"internalType":"uint256","name":"b_amount","type":"uint256"}],"name":"minter_burn_from","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"m_address","type":"address"},{"internalType":"uint256","name":"m_amount","type":"uint256"}],"name":"minter_mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters_array","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fpi_contract_address","type":"address"}],"name":"setFPIAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock_address","outputs":[{"internalType":"address","name":"","type":"address"}],"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
60806040523480156200001157600080fd5b50604051620021473803806200214783398101604081905262000034916200036f565b82826040518060400160405280601681526020017f4672617820507269636520496e64657820536861726500000000000000000000815250604051806040016040528060048152602001634650495360e01b8152508382828160039080519060200190620000a4929190620002ac565b508051620000ba906004906020840190620002ac565b5050506001600160a01b038116620001195760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600580546001600160a01b0319166001600160a01b038316908117909155604080516000815260208101929092527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a15050600780546001600160a01b03199081166001600160a01b0394851617909155600a80549091169285169290921790915550620001be9050836a52b7d2dcc80cd2e4000000620001c7565b5050506200041d565b6001600160a01b0382166200021f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000110565b8060026000828254620002339190620003b9565b90915550506001600160a01b0382166000908152602081905260408120805483929062000262908490620003b9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002ba90620003e0565b90600052602060002090601f016020900481019282620002de576000855562000329565b82601f10620002f957805160ff191683800117855562000329565b8280016001018555821562000329579182015b82811115620003295782518255916020019190600101906200030c565b50620003379291506200033b565b5090565b5b808211156200033757600081556001016200033c565b80516001600160a01b03811681146200036a57600080fd5b919050565b6000806000606084860312156200038557600080fd5b620003908462000352565b9250620003a06020850162000352565b9150620003b06040850162000352565b90509250925092565b60008219821115620003db57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003f557607f821691505b602082108114156200041757634e487b7160e01b600052602260045260246000fd5b50919050565b611d1a806200042d6000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c80637941bc89116100ee578063983b2d5611610097578063d73ced0411610071578063d73ced04146103c6578063dc6663c7146103d9578063dd62ed3e146103f9578063f46eccc41461043f57600080fd5b8063983b2d561461038d578063a457c2d7146103a0578063a9059cbb146103b357600080fd5b8063882c95c1116100c8578063882c95c1146103455780638da5cb5b1461036557806395d89b411461038557600080fd5b80637941bc891461031757806379ba50971461032a57806379cc67901461033257600080fd5b8063313ce5671161015b57806353a47bb71161013557806353a47bb71461027657806355e31680146102bb5780636a257ebc146102ce57806370a08231146102e157600080fd5b8063313ce56714610241578063395093511461025057806342966c681461026357600080fd5b806318160ddd1161018c57806318160ddd1461020957806323b872dd1461021b5780633092afd51461022e57600080fd5b806306fdde03146101b3578063095ea7b3146101d15780631627540c146101f4575b600080fd5b6101bb610462565b6040516101c89190611a5a565b60405180910390f35b6101e46101df366004611af6565b6104f4565b60405190151581526020016101c8565b610207610202366004611b20565b61050c565b005b6002545b6040519081526020016101c8565b6101e4610229366004611b42565b610632565b61020761023c366004611b20565b610656565b604051601281526020016101c8565b6101e461025e366004611af6565b61096d565b610207610271366004611b7e565b6109b9565b6006546102969073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102076102c9366004611b20565b6109c6565b6102076102dc366004611af6565b610b59565b61020d6102ef366004611b20565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610207610325366004611af6565b610c33565b610207610d05565b610207610340366004611af6565b610e50565b600a546102969073ffffffffffffffffffffffffffffffffffffffff1681565b6005546102969073ffffffffffffffffffffffffffffffffffffffff1681565b6101bb610e69565b61020761039b366004611b20565b610e78565b6101e46103ae366004611af6565b611101565b6101e46103c1366004611af6565b6111d2565b6102966103d4366004611b7e565b6111e0565b6007546102969073ffffffffffffffffffffffffffffffffffffffff1681565b61020d610407366004611b97565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101e461044d366004611b20565b60096020526000908152604090205460ff1681565b60606003805461047190611bca565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611bca565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b600033610502818585611217565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146105b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084015b60405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b6000336106408582856113cb565b61064b8585856114a2565b506001949350505050565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610693575060055473ffffffffffffffffffffffffffffffffffffffff1633145b6106f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff16151560011461080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f41646472657373206e6f6e6578697374616e740000000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b600854811015610926578173ffffffffffffffffffffffffffffffffffffffff166008828154811061088a5761088a611c1e565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff161415610914576000600882815481106108c7576108c7611c1e565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610926565b8061091e81611c7c565b915050610856565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290602001610627565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061050290829086906109b4908790611cb5565b611217565b6109c33382611755565b50565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610a03575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f761d36008def6c326b24fe559881b0c984f85eaaab7f62f5e4545956b66e0cce90602001610627565b3360009081526009602052604090205460ff161515600114610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e74657273000000000000000000000000000000000000000060448201526064016105af565b610be1828261193a565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907fe0dcb47e0eb67e20e87f3e34aab31c669ecec7466e8b7fb329d586dadebac6b6906020015b60405180910390a35050565b3360009081526009602052604090205460ff161515600114610cb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e74657273000000000000000000000000000000000000000060448201526064016105af565b610cbb8282610e50565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907fdc7fd22bc401e7c6b9be2c2736286a2a42ea0c6307bc97ff0fb12bd0abd2c74790602001610c27565b60065473ffffffffffffffffffffffffffffffffffffffff163314610dac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e657273686970000000000000000000000060648201526084016105af565b6005546006546040805173ffffffffffffffffffffffffffffffffffffffff93841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160068054600580547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b610e5b8233836113cb565b610e658282611755565b5050565b60606004805461047190611bca565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610eb5575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610f1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c7265616479206578697374730000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260096020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559093527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee390920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69101610627565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156111c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016105af565b61064b8286868403611217565b6000336105028185856114a2565b600881815481106111f057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff83166112b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff821661135c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461149c578181101561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105af565b61149c8484848403611217565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff82166115e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561169e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082208585039055918516815290812080548492906116e2908490611cb5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161174891815260200190565b60405180910390a361149c565b73ffffffffffffffffffffffffffffffffffffffff82166117f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156118ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604081208383039055600280548492906118ea908490611ccd565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016113be565b73ffffffffffffffffffffffffffffffffffffffff82166119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105af565b80600260008282546119c99190611cb5565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290611a03908490611cb5565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611a8757858101830151858201604001528201611a6b565b81811115611a99576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611af157600080fd5b919050565b60008060408385031215611b0957600080fd5b611b1283611acd565b946020939093013593505050565b600060208284031215611b3257600080fd5b611b3b82611acd565b9392505050565b600080600060608486031215611b5757600080fd5b611b6084611acd565b9250611b6e60208501611acd565b9150604084013590509250925092565b600060208284031215611b9057600080fd5b5035919050565b60008060408385031215611baa57600080fd5b611bb383611acd565b9150611bc160208401611acd565b90509250929050565b600181811c90821680611bde57607f821691505b60208210811415611c18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611cae57611cae611c4d565b5060010190565b60008219821115611cc857611cc8611c4d565b500190565b600082821015611cdf57611cdf611c4d565b50039056fea264697066735822122003b78d1d83766f8d8c61ceccc789a72c926960c38ac0354561bf1347a8cc7b6a64736f6c634300080a0033000000000000000000000000234d953a9404bf9dbc3b526271d440cd2870bcd20000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca00000000000000000000000076c8cef5b18994a85bc2be1991e5b9c716626767
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c80637941bc89116100ee578063983b2d5611610097578063d73ced0411610071578063d73ced04146103c6578063dc6663c7146103d9578063dd62ed3e146103f9578063f46eccc41461043f57600080fd5b8063983b2d561461038d578063a457c2d7146103a0578063a9059cbb146103b357600080fd5b8063882c95c1116100c8578063882c95c1146103455780638da5cb5b1461036557806395d89b411461038557600080fd5b80637941bc891461031757806379ba50971461032a57806379cc67901461033257600080fd5b8063313ce5671161015b57806353a47bb71161013557806353a47bb71461027657806355e31680146102bb5780636a257ebc146102ce57806370a08231146102e157600080fd5b8063313ce56714610241578063395093511461025057806342966c681461026357600080fd5b806318160ddd1161018c57806318160ddd1461020957806323b872dd1461021b5780633092afd51461022e57600080fd5b806306fdde03146101b3578063095ea7b3146101d15780631627540c146101f4575b600080fd5b6101bb610462565b6040516101c89190611a5a565b60405180910390f35b6101e46101df366004611af6565b6104f4565b60405190151581526020016101c8565b610207610202366004611b20565b61050c565b005b6002545b6040519081526020016101c8565b6101e4610229366004611b42565b610632565b61020761023c366004611b20565b610656565b604051601281526020016101c8565b6101e461025e366004611af6565b61096d565b610207610271366004611b7e565b6109b9565b6006546102969073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102076102c9366004611b20565b6109c6565b6102076102dc366004611af6565b610b59565b61020d6102ef366004611b20565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610207610325366004611af6565b610c33565b610207610d05565b610207610340366004611af6565b610e50565b600a546102969073ffffffffffffffffffffffffffffffffffffffff1681565b6005546102969073ffffffffffffffffffffffffffffffffffffffff1681565b6101bb610e69565b61020761039b366004611b20565b610e78565b6101e46103ae366004611af6565b611101565b6101e46103c1366004611af6565b6111d2565b6102966103d4366004611b7e565b6111e0565b6007546102969073ffffffffffffffffffffffffffffffffffffffff1681565b61020d610407366004611b97565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101e461044d366004611b20565b60096020526000908152604090205460ff1681565b60606003805461047190611bca565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611bca565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b600033610502818585611217565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146105b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084015b60405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b6000336106408582856113cb565b61064b8585856114a2565b506001949350505050565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610693575060055473ffffffffffffffffffffffffffffffffffffffff1633145b6106f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff16151560011461080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f41646472657373206e6f6e6578697374616e740000000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b600854811015610926578173ffffffffffffffffffffffffffffffffffffffff166008828154811061088a5761088a611c1e565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff161415610914576000600882815481106108c7576108c7611c1e565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610926565b8061091e81611c7c565b915050610856565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290602001610627565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061050290829086906109b4908790611cb5565b611217565b6109c33382611755565b50565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610a03575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f761d36008def6c326b24fe559881b0c984f85eaaab7f62f5e4545956b66e0cce90602001610627565b3360009081526009602052604090205460ff161515600114610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e74657273000000000000000000000000000000000000000060448201526064016105af565b610be1828261193a565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907fe0dcb47e0eb67e20e87f3e34aab31c669ecec7466e8b7fb329d586dadebac6b6906020015b60405180910390a35050565b3360009081526009602052604090205460ff161515600114610cb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e74657273000000000000000000000000000000000000000060448201526064016105af565b610cbb8282610e50565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907fdc7fd22bc401e7c6b9be2c2736286a2a42ea0c6307bc97ff0fb12bd0abd2c74790602001610c27565b60065473ffffffffffffffffffffffffffffffffffffffff163314610dac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e657273686970000000000000000000000060648201526084016105af565b6005546006546040805173ffffffffffffffffffffffffffffffffffffffff93841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160068054600580547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b610e5b8233836113cb565b610e658282611755565b5050565b60606004805461047190611bca565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610eb5575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610f1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f2061646472657373206465746563746564000000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c7265616479206578697374730000000000000000000060448201526064016105af565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260096020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559093527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee390920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69101610627565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156111c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016105af565b61064b8286868403611217565b6000336105028185856114a2565b600881815481106111f057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff83166112b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff821661135c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461149c578181101561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105af565b61149c8484848403611217565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff82166115e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561169e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082208585039055918516815290812080548492906116e2908490611cb5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161174891815260200190565b60405180910390a361149c565b73ffffffffffffffffffffffffffffffffffffffff82166117f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156118ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016105af565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604081208383039055600280548492906118ea908490611ccd565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016113be565b73ffffffffffffffffffffffffffffffffffffffff82166119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105af565b80600260008282546119c99190611cb5565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290611a03908490611cb5565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611a8757858101830151858201604001528201611a6b565b81811115611a99576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611af157600080fd5b919050565b60008060408385031215611b0957600080fd5b611b1283611acd565b946020939093013593505050565b600060208284031215611b3257600080fd5b611b3b82611acd565b9392505050565b600080600060608486031215611b5757600080fd5b611b6084611acd565b9250611b6e60208501611acd565b9150604084013590509250925092565b600060208284031215611b9057600080fd5b5035919050565b60008060408385031215611baa57600080fd5b611bb383611acd565b9150611bc160208401611acd565b90509250929050565b600181811c90821680611bde57607f821691505b60208210811415611c18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611cae57611cae611c4d565b5060010190565b60008219821115611cc857611cc8611c4d565b500190565b600082821015611cdf57611cdf611c4d565b50039056fea264697066735822122003b78d1d83766f8d8c61ceccc789a72c926960c38ac0354561bf1347a8cc7b6a64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000234d953a9404bf9dbc3b526271d440cd2870bcd20000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca00000000000000000000000076c8cef5b18994a85bc2be1991e5b9c716626767
-----Decoded View---------------
Arg [0] : _creator_address (address): 0x234D953a9404Bf9DbC3b526271d440cD2870bCd2
Arg [1] : _timelock_address (address): 0x8412ebf45bAC1B340BbE8F318b928C466c4E39CA
Arg [2] : _fpi_address (address): 0x76c8ceF5B18994a85bC2bE1991E5B9C716626767
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000234d953a9404bf9dbc3b526271d440cd2870bcd2
Arg [1] : 0000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca
Arg [2] : 00000000000000000000000076c8cef5b18994a85bc2be1991e5b9c716626767
Deployed Bytecode Sourcemap
40765:937:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6709:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9060:201;;;;;;:::i;:::-;;:::i;:::-;;;1300:14:1;;1293:22;1275:41;;1263:2;1248:18;9060:201:0;1135:187:1;35902:141:0;;;;;;:::i;:::-;;:::i;:::-;;7829:108;7917:12;;7829:108;;;1664:25:1;;;1652:2;1637:18;7829:108:0;1518:177:1;9841:295:0;;;;;;:::i;:::-;;:::i;38574:704::-;;;;;;:::i;:::-;;:::i;7671:93::-;;;7754:2;2175:36:1;;2163:2;2148:18;7671:93:0;2033:184:1;10545:240:0;;;;;;:::i;:::-;;:::i;18066:91::-;;;;;;:::i;:::-;;:::i;35670:29::-;;;;;;;;;;;;2583:42:1;2571:55;;;2553:74;;2541:2;2526:18;35670:29:0;2407:226:1;41336:281:0;;;;;;:::i;:::-;;:::i;37949:194::-;;;;;;:::i;:::-;;:::i;8000:127::-;;;;;;:::i;:::-;8101:18;;8074:7;8101:18;;;;;;;;;;;;8000:127;37665:202;;;;;;:::i;:::-;;:::i;36051:271::-;;;:::i;18476:164::-;;;;;;:::i;:::-;;:::i;40826:36::-;;;;;;;;;35643:20;;;;;;;;;6928:104;;;:::i;38185:356::-;;;;;;:::i;:::-;;:::i;11288:438::-;;;;;;:::i;:::-;;:::i;8333:193::-;;;;;;:::i;:::-;;:::i;36781:30::-;;;;;;:::i;:::-;;:::i;36725:31::-;;;;;;;;;8589:151;;;;;;:::i;:::-;8705:18;;;;8678:7;8705:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8589:151;36837:39;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6709:100;6763:13;6796:5;6789:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6709:100;:::o;9060:201::-;9143:4;4450:10;9199:32;4450:10;9215:7;9224:6;9199:8;:32::i;:::-;-1:-1:-1;9249:4:0;;9060:201;-1:-1:-1;;;9060:201:0:o;35902:141::-;36382:5;;;;36368:10;:19;36360:79;;;;;;;3808:2:1;36360:79:0;;;3790:21:1;3847:2;3827:18;;;3820:30;3886:34;3866:18;;;3859:62;3957:17;3937:18;;;3930:45;3992:19;;36360:79:0;;;;;;;;;35974:14:::1;:23:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;36013:22:::1;::::0;2553:74:1;;;36013:22:0::1;::::0;2541:2:1;2526:18;36013:22:0::1;;;;;;;;35902:141:::0;:::o;9841:295::-;9972:4;4450:10;10030:38;10046:4;4450:10;10061:6;10030:15;:38::i;:::-;10079:27;10089:4;10095:2;10099:6;10079:9;:27::i;:::-;-1:-1:-1;10124:4:0;;9841:295;-1:-1:-1;;;;9841:295:0:o;38574:704::-;37360:16;;;;37346:10;:30;;:53;;-1:-1:-1;37394:5:0;;;;37380:10;:19;37346:53;37338:87;;;;;;;4224:2:1;37338:87:0;;;4206:21:1;4263:2;4243:18;;;4236:30;4302:23;4282:18;;;4275:51;4343:18;;37338:87:0;4022:345:1;37338:87:0;38659:28:::1;::::0;::::1;38651:62;;;::::0;::::1;::::0;;4574:2:1;38651:62:0::1;::::0;::::1;4556:21:1::0;4613:2;4593:18;;;4586:30;4652:23;4632:18;;;4625:51;4693:18;;38651:62:0::1;4372:345:1::0;38651:62:0::1;38732:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:31;;:23:::0;:31:::1;38724:63;;;::::0;::::1;::::0;;4924:2:1;38724:63:0::1;::::0;::::1;4906:21:1::0;4963:2;4943:18;;;4936:30;5002:21;4982:18;;;4975:49;5041:18;;38724:63:0::1;4722:343:1::0;38724:63:0::1;38851:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;38844:30;;;::::1;::::0;;38953:271:::1;38974:13;:20:::0;38970:24;::::1;38953:271;;;39040:14;39020:34;;:13;39034:1;39020:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;::::1;;:34;39016:197;;;39102:1;39075:13;39089:1;39075:16;;;;;;;;:::i;:::-;;;;;;;;;:29;;;;;;;;;;;;;;;;;;39192:5;;39016:197;38996:3:::0;::::1;::::0;::::1;:::i;:::-;;;;38953:271;;;-1:-1:-1::0;39241:29:0::1;::::0;2583:42:1;2571:55;;2553:74;;39241:29:0::1;::::0;2541:2:1;2526:18;39241:29:0::1;2407:226:1::0;10545:240:0;4450:10;10633:4;10714:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;10633:4;;4450:10;10689:66;;4450:10;;10714:27;;:40;;10744:10;;10714:40;:::i;:::-;10689:8;:66::i;18066:91::-;18122:27;4450:10;18142:6;18122:5;:27::i;:::-;18066:91;:::o;41336:281::-;37360:16;;;;37346:10;:30;;:53;;-1:-1:-1;37394:5:0;;;;37380:10;:19;37346:53;37338:87;;;;;;;4224:2:1;37338:87:0;;;4206:21:1;4263:2;4243:18;;;4236:30;4302:23;4282:18;;;4275:51;4343:18;;37338:87:0;4022:345:1;37338:87:0;41430:34:::1;::::0;::::1;41422:68;;;::::0;::::1;::::0;;4574:2:1;41422:68:0::1;::::0;::::1;4556:21:1::0;4613:2;4593:18;;;4586:30;4652:23;4632:18;;;4625:51;4693:18;;41422:68:0::1;4372:345:1::0;41422:68:0::1;41503:7;:53:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;41574:35:::1;::::0;2553:74:1;;;41574:35:0::1;::::0;2541:2:1;2526:18;41574:35:0::1;2407:226:1::0;37949:194:0;37502:10;37494:19;;;;:7;:19;;;;;;;;:27;;:19;:27;37486:52;;;;;;;5983:2:1;37486:52:0;;;5965:21:1;6022:2;6002:18;;;5995:30;6061:14;6041:18;;;6034:42;6093:18;;37486:52:0;5781:336:1;37486:52:0;38037:32:::1;38049:9;38060:8;38037:11;:32::i;:::-;38085:50;::::0;1664:25:1;;;38085:50:0::1;::::0;::::1;::::0;38103:10:::1;::::0;38085:50:::1;::::0;1652:2:1;1637:18;38085:50:0::1;;;;;;;;37949:194:::0;;:::o;37665:202::-;37502:10;37494:19;;;;:7;:19;;;;;;;;:27;;:19;:27;37486:52;;;;;;;5983:2:1;37486:52:0;;;5965:21:1;6022:2;6002:18;;;5995:30;6061:14;6041:18;;;6034:42;6093:18;;37486:52:0;5781:336:1;37486:52:0;37758:35:::1;37773:9;37784:8;37758:14;:35::i;:::-;37809:50;::::0;1664:25:1;;;37838:10:0::1;::::0;37809:50:::1;::::0;::::1;::::0;::::1;::::0;1652:2:1;1637:18;37809:50:0::1;1518:177:1::0;36051:271:0;36120:14;;;;36106:10;:28;36098:94;;;;;;;6324:2:1;36098:94:0;;;6306:21:1;6363:2;6343:18;;;6336:30;6402:34;6382:18;;;6375:62;6473:23;6453:18;;;6446:51;6514:19;;36098:94:0;6122:417:1;36098:94:0;36221:5;;36228:14;;36208:35;;;36221:5;;;;6779:34:1;;36228:14:0;;;;6844:2:1;6829:18;;6822:43;36208:35:0;;6691:18:1;36208:35:0;;;;;;;36262:14;;;36254:5;:22;;;;;;36262:14;;;36254:22;;;;36287:27;;;36051:271::o;18476:164::-;18553:46;18569:7;4450:10;18592:6;18553:15;:46::i;:::-;18610:22;18616:7;18625:6;18610:5;:22::i;:::-;18476:164;;:::o;6928:104::-;6984:13;7017:7;7010:14;;;;;:::i;38185:356::-;37360:16;;;;37346:10;:30;;:53;;-1:-1:-1;37394:5:0;;;;37380:10;:19;37346:53;37338:87;;;;;;;4224:2:1;37338:87:0;;;4206:21:1;4263:2;4243:18;;;4236:30;4302:23;4282:18;;;4275:51;4343:18;;37338:87:0;4022:345:1;37338:87:0;38267:28:::1;::::0;::::1;38259:62;;;::::0;::::1;::::0;;4574:2:1;38259:62:0::1;::::0;::::1;4556:21:1::0;4613:2;4593:18;;;4586:30;4652:23;4632:18;;;4625:51;4693:18;;38259:62:0::1;4372:345:1::0;38259:62:0::1;38342:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:32;38334:67;;;::::0;::::1;::::0;;7078:2:1;38334:67:0::1;::::0;::::1;7060:21:1::0;7117:2;7097:18;;;7090:30;7156:24;7136:18;;;7129:52;7198:18;;38334:67:0::1;6876:346:1::0;38334:67:0::1;38412:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;;;:30;;;::::1;38438:4;38412:30:::0;;::::1;::::0;;;38454:13:::1;:34:::0;;;;::::1;::::0;;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;38506:27;;2553:74:1;;;38506:27:0::1;::::0;2526:18:1;38506:27:0::1;2407:226:1::0;11288:438:0;4450:10;11381:4;11464:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;11381:4;;4450:10;11510:35;;;;11502:85;;;;;;;7429:2:1;11502:85:0;;;7411:21:1;7468:2;7448:18;;;7441:30;7507:34;7487:18;;;7480:62;7578:7;7558:18;;;7551:35;7603:19;;11502:85:0;7227:401:1;11502:85:0;11623:60;11632:5;11639:7;11667:15;11648:16;:34;11623:8;:60::i;8333:193::-;8412:4;4450:10;8468:28;4450:10;8485:2;8489:6;8468:9;:28::i;36781:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36781:30:0;:::o;14924:380::-;15060:19;;;15052:68;;;;;;;7835:2:1;15052:68:0;;;7817:21:1;7874:2;7854:18;;;7847:30;7913:34;7893:18;;;7886:62;7984:6;7964:18;;;7957:34;8008:19;;15052:68:0;7633:400:1;15052:68:0;15139:21;;;15131:68;;;;;;;8240:2:1;15131:68:0;;;8222:21:1;8279:2;8259:18;;;8252:30;8318:34;8298:18;;;8291:62;8389:4;8369:18;;;8362:32;8411:19;;15131:68:0;8038:398:1;15131:68:0;15212:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15264:32;;1664:25:1;;;15264:32:0;;1637:18:1;15264:32:0;;;;;;;;14924:380;;;:::o;15591:453::-;8705:18;;;;15726:24;8705:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;15813:17;15793:37;;15789:248;;15875:6;15855:16;:26;;15847:68;;;;;;;8643:2:1;15847:68:0;;;8625:21:1;8682:2;8662:18;;;8655:30;8721:31;8701:18;;;8694:59;8770:18;;15847:68:0;8441:353:1;15847:68:0;15959:51;15968:5;15975:7;16003:6;15984:16;:25;15959:8;:51::i;:::-;15715:329;15591:453;;;:::o;12205:671::-;12336:18;;;12328:68;;;;;;;9001:2:1;12328:68:0;;;8983:21:1;9040:2;9020:18;;;9013:30;9079:34;9059:18;;;9052:62;9150:7;9130:18;;;9123:35;9175:19;;12328:68:0;8799:401:1;12328:68:0;12415:16;;;12407:64;;;;;;;9407:2:1;12407:64:0;;;9389:21:1;9446:2;9426:18;;;9419:30;9485:34;9465:18;;;9458:62;9556:5;9536:18;;;9529:33;9579:19;;12407:64:0;9205:399:1;12407:64:0;12557:15;;;12535:19;12557:15;;;;;;;;;;;12591:21;;;;12583:72;;;;;;;9811:2:1;12583:72:0;;;9793:21:1;9850:2;9830:18;;;9823:30;9889:34;9869:18;;;9862:62;9960:8;9940:18;;;9933:36;9986:19;;12583:72:0;9609:402:1;12583:72:0;12691:15;;;;:9;:15;;;;;;;;;;;12709:20;;;12691:38;;12751:13;;;;;;;;:23;;12723:6;;12691:9;12751:23;;12723:6;;12751:23;:::i;:::-;;;;;;;;12807:2;12792:26;;12801:4;12792:26;;;12811:6;12792:26;;;;1664:25:1;;1652:2;1637:18;;1518:177;12792:26:0;;;;;;;;12831:37;13895:591;;13979:21;;;13971:67;;;;;;;10218:2:1;13971:67:0;;;10200:21:1;10257:2;10237:18;;;10230:30;10296:34;10276:18;;;10269:62;10367:3;10347:18;;;10340:31;10388:19;;13971:67:0;10016:397:1;13971:67:0;14138:18;;;14113:22;14138:18;;;;;;;;;;;14175:24;;;;14167:71;;;;;;;10620:2:1;14167:71:0;;;10602:21:1;10659:2;10639:18;;;10632:30;10698:34;10678:18;;;10671:62;10769:4;10749:18;;;10742:32;10791:19;;14167:71:0;10418:398:1;14167:71:0;14274:18;;;:9;:18;;;;;;;;;;14295:23;;;14274:44;;14340:12;:22;;14312:6;;14274:9;14340:22;;14312:6;;14340:22;:::i;:::-;;;;-1:-1:-1;;14380:37:0;;1664:25:1;;;14406:1:0;;14380:37;;;;;;1652:2:1;1637:18;14380:37:0;1518:177:1;13163:399:0;13247:21;;;13239:65;;;;;;;11153:2:1;13239:65:0;;;11135:21:1;11192:2;11172:18;;;11165:30;11231:33;11211:18;;;11204:61;11282:18;;13239:65:0;10951:355:1;13239:65:0;13395:6;13379:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;13412:18:0;;;:9;:18;;;;;;;;;;:28;;13434:6;;13412:9;:28;;13434:6;;13412:28;:::i;:::-;;;;-1:-1:-1;;13456:37:0;;1664:25:1;;;13456:37:0;;;;13473:1;;13456:37;;1652:2:1;1637:18;13456:37:0;;;;;;;18476:164;;:::o;14:656:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;586:2:1;574:15;591:66;570:88;555:104;;;;661:2;551:113;;14:656;-1:-1:-1;;;14:656:1:o;675:196::-;743:20;;803:42;792:54;;782:65;;772:93;;861:1;858;851:12;772:93;675:196;;;:::o;876:254::-;944:6;952;1005:2;993:9;984:7;980:23;976:32;973:52;;;1021:1;1018;1011:12;973:52;1044:29;1063:9;1044:29;:::i;:::-;1034:39;1120:2;1105:18;;;;1092:32;;-1:-1:-1;;;876:254:1:o;1327:186::-;1386:6;1439:2;1427:9;1418:7;1414:23;1410:32;1407:52;;;1455:1;1452;1445:12;1407:52;1478:29;1497:9;1478:29;:::i;:::-;1468:39;1327:186;-1:-1:-1;;;1327:186:1:o;1700:328::-;1777:6;1785;1793;1846:2;1834:9;1825:7;1821:23;1817:32;1814:52;;;1862:1;1859;1852:12;1814:52;1885:29;1904:9;1885:29;:::i;:::-;1875:39;;1933:38;1967:2;1956:9;1952:18;1933:38;:::i;:::-;1923:48;;2018:2;2007:9;2003:18;1990:32;1980:42;;1700:328;;;;;:::o;2222:180::-;2281:6;2334:2;2322:9;2313:7;2309:23;2305:32;2302:52;;;2350:1;2347;2340:12;2302:52;-1:-1:-1;2373:23:1;;2222:180;-1:-1:-1;2222:180:1:o;2899:260::-;2967:6;2975;3028:2;3016:9;3007:7;3003:23;2999:32;2996:52;;;3044:1;3041;3034:12;2996:52;3067:29;3086:9;3067:29;:::i;:::-;3057:39;;3115:38;3149:2;3138:9;3134:18;3115:38;:::i;:::-;3105:48;;2899:260;;;;;:::o;3164:437::-;3243:1;3239:12;;;;3286;;;3307:61;;3361:4;3353:6;3349:17;3339:27;;3307:61;3414:2;3406:6;3403:14;3383:18;3380:38;3377:218;;;3451:77;3448:1;3441:88;3552:4;3549:1;3542:15;3580:4;3577:1;3570:15;3377:218;;3164:437;;;:::o;5070:184::-;5122:77;5119:1;5112:88;5219:4;5216:1;5209:15;5243:4;5240:1;5233:15;5259:184;5311:77;5308:1;5301:88;5408:4;5405:1;5398:15;5432:4;5429:1;5422:15;5448:195;5487:3;5518:66;5511:5;5508:77;5505:103;;;5588:18;;:::i;:::-;-1:-1:-1;5635:1:1;5624:13;;5448:195::o;5648:128::-;5688:3;5719:1;5715:6;5712:1;5709:13;5706:39;;;5725:18;;:::i;:::-;-1:-1:-1;5761:9:1;;5648:128::o;10821:125::-;10861:4;10889:1;10886;10883:8;10880:34;;;10894:18;;:::i;:::-;-1:-1:-1;10931:9:1;;10821:125::o
Swarm Source
ipfs://03b78d1d83766f8d8c61ceccc789a72c926960c38ac0354561bf1347a8cc7b6a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.