- Contract name:
- FullFeatureToken
- Optimization enabled
- false
- Compiler version
- v0.8.7+commit.e28d00a7
- EVM Version
- default
- Verified at
- 2023-09-13T14:06:13.398999Z
Constructor Arguments
0x00000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000008f2a371b9a6ec7f7676c4e3fbc9f0705d763752e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000016466f6f7462616c6c20617420416c70686156657273650000000000000000000000000000000000000000000000000000000000000000000000000000000000034641560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001668747470733a2f2f616c70686176657273652e636f6d00000000000000000000
Contract source code
// File: Contracts/lib/Helpers.sol pragma solidity 0.8.7; library Helpers { /// @notice raised when an address is zero error NonZeroAddress(address addr); /// @notice raised when payment fails error PaymentFailed(address to, uint256 amount); /** * @notice Helper function to check if an address is a zero address * @param addr - address to check */ function validateAddress(address addr) internal pure { if (addr == address(0x0)) { revert NonZeroAddress(addr); } } /** * @notice method to pay a specific address with a specific amount * @dev inspired from https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol * @param to - the address to pay * @param amount - the amount to pay */ function safeTransferETH(address to, uint256 amount) internal { bool success; // solhint-disable-next-line no-inline-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } if (!success) { revert PaymentFailed(to, amount); } } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @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 Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { 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/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's 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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.0; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * IMPORTANT: This contract does not include public pause and unpause functions. In * addition to inheriting this contract, you must define both functions, invoking the * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will * make the contract unpausable. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @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: Contracts/AlphaverseFAV.sol pragma solidity 0.8.7; contract FullFeatureToken is ERC20, ERC20Burnable, ERC20Pausable, Ownable { /// @notice mapping of blacklisted addresses to a boolean mapping(address => bool) private _isBlacklisted; /// @notice mapping of whitelisted addresses to a boolean mapping(address => bool) public whitelist; /// @notice array holding all whitelisted addresses address[] public whitelistedAddresses; /// @notice support for attaching of documentation for security tokens string public initialDocumentUri; /// @notice the security token documentation string public documentUri; /// @notice initial number of tokens which will be minted during initialization uint256 public immutable initialSupply; /// @notice initial max amount of tokens allowed per wallet uint256 public immutable initialMaxTokenAmountPerAddress; /// @notice max amount of tokens allowed per wallet uint256 public maxTokenAmountPerAddress; /// @notice set of features supported by the token struct ERC20ConfigProps { bool _isMintable; bool _isBurnable; bool _isPausable; bool _isBlacklistEnabled; bool _isDocumentAllowed; bool _isWhitelistEnabled; bool _isMaxAmountOfTokensSet; bool _isForceTransferAllowed; } /// @notice features of the token ERC20ConfigProps private configProps; /// @notice owner of the contract address public immutable initialTokenOwner; /// @notice number of decimals of the token uint8 private immutable _decimals; /// @notice emitted when an address is blacklisted event UserBlacklisted(address indexed addr); /// @notice emitted when an address is unblacklisted event UserUnBlacklisted(address indexed addr); /// @notice emitted when a new document is set for the security token event DocumentUriSet(string newDocUri); /// @notice emitted when a new max amount of tokens per wallet is set event MaxTokenAmountPerSet(uint256 newMaxTokenAmount); /// @notice emitted when a new whitelist is set event UsersWhitelisted(address[] updatedAddresses); /// @notice raised when the amount sent is zero error InvalidMaxTokenAmount(uint256 maxTokenAmount); /// @notice raised when the decimals are not in the range 0 - 18 error InvalidDecimals(uint8 decimals); /// @notice raised when setting maxTokenAmount less than current error MaxTokenAmountPerAddrLtPrevious(); /// @notice raised when blacklisting is not enabled error BlacklistNotEnabled(); /// @notice raised when the address is already blacklisted error AddrAlreadyBlacklisted(address addr); /// @notice raised when the address is already unblacklisted error AddrAlreadyUnblacklisted(address addr); /// @notice raised when attempting to blacklist a whitelisted address error CannotBlacklistWhitelistedAddr(address addr); /// @notice raised when a recipient address is blacklisted error RecipientBlacklisted(address addr); /// @notice raised when a sender address is blacklisted error SenderBlacklisted(address addr); /// @notice raised when a recipient address is not whitelisted error RecipientNotWhitelisted(address addr); /// @notice raised when a sender address is not whitelisted error SenderNotWhitelisted(address addr); /// @notice raised when recipient balance exceeds maxTokenAmountPerAddress error DestBalanceExceedsMaxAllowed(address addr); /// @notice raised minting is not enabled error MintingNotEnabled(); /// @notice raised when burning is not enabled error BurningNotEnabled(); /// @notice raised when pause is not enabled error PausingNotEnabled(); /// @notice raised when whitelist is not enabled error WhitelistNotEnabled(); /// @notice raised when attempting to whitelist a blacklisted address error CannotWhitelistBlacklistedAddr(address addr); /// @notice raised when trying to set a document URI when not allowed error DocumentUriNotAllowed(); /** * @notice modifier for validating if transfer is possible and valid * @param sender the sender of the transaction * @param recipient the recipient of the transaction */ modifier validateTransfer(address sender, address recipient) { if (isWhitelistEnabled()) { if (!whitelist[sender]) { revert SenderNotWhitelisted(sender); } if (!whitelist[recipient]) { revert RecipientNotWhitelisted(recipient); } } if (isBlacklistEnabled()) { if (_isBlacklisted[sender]) { revert SenderBlacklisted(sender); } if (_isBlacklisted[recipient]) { revert RecipientBlacklisted(recipient); } } _; } constructor( string memory name_, string memory symbol_, uint256 initialSupplyToSet, uint8 decimalsToSet, address tokenOwner, ERC20ConfigProps memory customConfigProps, uint256 maxTokenAmount, string memory newDocumentUri ) ERC20(name_, symbol_) { if (customConfigProps._isMaxAmountOfTokensSet) { if (maxTokenAmount == 0) { revert InvalidMaxTokenAmount(maxTokenAmount); } } if (decimalsToSet > 18) { revert InvalidDecimals(decimalsToSet); } Helpers.validateAddress(tokenOwner); initialSupply = initialSupplyToSet; initialMaxTokenAmountPerAddress = maxTokenAmount; initialDocumentUri = newDocumentUri; initialTokenOwner = tokenOwner; _decimals = decimalsToSet; configProps = customConfigProps; documentUri = newDocumentUri; maxTokenAmountPerAddress = maxTokenAmount; if (initialSupplyToSet != 0) { _mint(tokenOwner, initialSupplyToSet * 10**decimalsToSet); } if (tokenOwner != msg.sender) { transferOwnership(tokenOwner); } } /** * @notice hook called before any transfer of tokens. This includes minting and burning * imposed by the ERC20 standard * @param from - address of the sender * @param to - address of the recipient * @param amount - amount of tokens to transfer */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override(ERC20, ERC20Pausable) { super._beforeTokenTransfer(from, to, amount); } /// @notice method which checks if the token is pausable function isPausable() public view returns (bool) { return configProps._isPausable; } /// @notice method which checks if the token is mintable function isMintable() public view returns (bool) { return configProps._isMintable; } /// @notice method which checks if the token is burnable function isBurnable() public view returns (bool) { return configProps._isBurnable; } /// @notice method which checks if the token supports blacklisting function isBlacklistEnabled() public view returns (bool) { return configProps._isBlacklistEnabled; } /// @notice method which checks if the token supports whitelisting function isWhitelistEnabled() public view returns (bool) { return configProps._isWhitelistEnabled; } /// @notice method which checks if the token supports max amount of tokens per wallet function isMaxAmountOfTokensSet() public view returns (bool) { return configProps._isMaxAmountOfTokensSet; } /// @notice method which checks if the token supports documentUris function isDocumentUriAllowed() public view returns (bool) { return configProps._isDocumentAllowed; } /// @notice method which checks if the token supports force transfers function isForceTransferAllowed() public view returns (bool) { return configProps._isForceTransferAllowed; } /// @notice method which returns the number of decimals for the token function decimals() public view virtual override returns (uint8) { return _decimals; } /** * @notice which returns an array of all the whitelisted addresses * @return whitelistedAddresses array of all the whitelisted addresses */ function getWhitelistedAddresses() external view returns (address[] memory) { return whitelistedAddresses; } /** * @notice method which allows the owner to set a documentUri * @param newDocumentUri - the new documentUri * @dev only callable by the owner */ function setDocumentUri(string memory newDocumentUri) external onlyOwner { if (!isDocumentUriAllowed()) { revert DocumentUriNotAllowed(); } documentUri = newDocumentUri; emit DocumentUriSet(newDocumentUri); } /** * @notice method which allows the owner to set a max amount of tokens per wallet * @param newMaxTokenAmount - the new max amount of tokens per wallet * @dev only callable by the owner */ function setMaxTokenAmountPerAddress(uint256 newMaxTokenAmount) external onlyOwner { if (newMaxTokenAmount <= maxTokenAmountPerAddress) { revert MaxTokenAmountPerAddrLtPrevious(); } maxTokenAmountPerAddress = newMaxTokenAmount; emit MaxTokenAmountPerSet(newMaxTokenAmount); } /** * @notice method which allows the owner to blacklist an address * @param addr - the address to blacklist * @dev only callable by the owner * @dev only callable if the token is not paused * @dev only callable if the token supports blacklisting * @dev only callable if the address is not already blacklisted * @dev only callable if the address is not whitelisted */ function blackList(address addr) external onlyOwner whenNotPaused { Helpers.validateAddress(addr); if (!isBlacklistEnabled()) { revert BlacklistNotEnabled(); } if (_isBlacklisted[addr]) { revert AddrAlreadyBlacklisted(addr); } if (isWhitelistEnabled() && whitelist[addr]) { revert CannotBlacklistWhitelistedAddr(addr); } _isBlacklisted[addr] = true; emit UserBlacklisted(addr); } /** * @notice method which allows the owner to unblacklist an address * @param addr - the address to unblacklist * @dev only callable by the owner * @dev only callable if the token is not paused * @dev only callable if the token supports blacklisting * @dev only callable if the address is blacklisted */ function removeFromBlacklist(address addr) external onlyOwner whenNotPaused { Helpers.validateAddress(addr); if (!isBlacklistEnabled()) { revert BlacklistNotEnabled(); } if (!_isBlacklisted[addr]) { revert AddrAlreadyUnblacklisted(addr); } _isBlacklisted[addr] = false; emit UserUnBlacklisted(addr); } /** * @notice method which allows to transfer a predefined amount of tokens to a predefined address * @param to - the address to transfer the tokens to * @param amount - the amount of tokens to transfer * @return true if the transfer was successful * @dev only callable if the token is not paused * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet * @dev checks if blacklisting is enabled and if the sender and receiver are not blacklisted * @dev checks if whitelisting is enabled and if the sender and receiver are whitelisted */ function transfer(address to, uint256 amount) public virtual override whenNotPaused validateTransfer(msg.sender, to) returns (bool) { if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amount > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } return super.transfer(to, amount); } /** * @notice method which allows to transfer a predefined amount of tokens from a predefined address to a predefined address * @param from - the address to transfer the tokens from * @param to - the address to transfer the tokens to * @param amount - the amount of tokens to transfer * @return true if the transfer was successful * @dev only callable if the token is not paused * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet * @dev checks if blacklisting is enabled and if the sender and receiver are not blacklisted * @dev checks if whitelisting is enabled and if the sender and receiver are whitelisted */ function transferFrom( address from, address to, uint256 amount ) public virtual override whenNotPaused validateTransfer(from, to) returns (bool) { if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amount > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } if (isForceTransferAllowed() && owner() == msg.sender) { _transfer(from, to, amount); return true; } else { return super.transferFrom(from, to, amount); } } /** * @notice method which allows to mint a predefined amount of tokens to a predefined address * @param to - the address to mint the tokens to * @param amount - the amount of tokens to mint * @dev only callable by the owner * @dev only callable if the token is not paused * @dev only callable if the token supports additional minting * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet * @dev checks if blacklisting is enabled and if the receiver is not blacklisted * @dev checks if whitelisting is enabled and if the receiver is whitelisted */ function mint(address to, uint256 amount) external onlyOwner whenNotPaused { if (!isMintable()) { revert MintingNotEnabled(); } if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amount > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } if (isBlacklistEnabled()) { if (_isBlacklisted[to]) { revert RecipientBlacklisted(to); } } if (isWhitelistEnabled()) { if (!whitelist[to]) { revert RecipientNotWhitelisted(to); } } super._mint(to, amount); } /** * @notice method which allows to burn a predefined amount of tokens * @param amount - the amount of tokens to burn * @dev only callable by the owner * @dev only callable if the token is not paused * @dev only callable if the token supports burning */ function burn(uint256 amount) public override onlyOwner whenNotPaused { if (!isBurnable()) { revert BurningNotEnabled(); } super.burn(amount); } /** * @notice method which allows to burn a predefined amount of tokens from a predefined address * @param from - the address to burn the tokens from * @param amount - the amount of tokens to burn * @dev only callable by the owner * @dev only callable if the token is not paused * @dev only callable if the token supports burning */ function burnFrom(address from, uint256 amount) public override onlyOwner whenNotPaused { if (!isBurnable()) { revert BurningNotEnabled(); } super.burnFrom(from, amount); } /** * @notice method which allows to pause the token * @dev only callable by the owner */ function pause() external onlyOwner { if (!isPausable()) { revert PausingNotEnabled(); } _pause(); } /** * @notice method which allows to unpause the token * @dev only callable by the owner */ function unpause() external onlyOwner { if (!isPausable()) { revert PausingNotEnabled(); } _unpause(); } /** * @notice method which allows to removing the owner of the token * @dev methods which are only callable by the owner will not be callable anymore * @dev only callable by the owner * @dev only callable if the token is not paused */ function renounceOwnership() public override onlyOwner whenNotPaused { super.renounceOwnership(); } /** * @notice method which allows to transfer the ownership of the token * @param newOwner - the address of the new owner * @dev only callable by the owner * @dev only callable if the token is not paused */ function transferOwnership(address newOwner) public override onlyOwner whenNotPaused { super.transferOwnership(newOwner); } /** * @notice method which allows to update the whitelist of the token * @param updatedAddresses - the new set of addresses * @dev only callable by the owner * @dev only callable if the token supports whitelisting */ function updateWhitelist(address[] calldata updatedAddresses) external onlyOwner { if (!isWhitelistEnabled()) { revert WhitelistNotEnabled(); } _clearWhitelist(); _addManyToWhitelist(updatedAddresses); whitelistedAddresses = updatedAddresses; emit UsersWhitelisted(updatedAddresses); } /** * @notice method which allows for adding a new set of addresses to the whitelist * @param addresses - the addresses to add to the whitelist * @dev called internally by the contract * @dev only callable if any of the addresses are not already whitelisted */ function _addManyToWhitelist(address[] calldata addresses) private { for (uint256 i; i < addresses.length; ) { Helpers.validateAddress(addresses[i]); if (configProps._isBlacklistEnabled && _isBlacklisted[addresses[i]]) { revert CannotWhitelistBlacklistedAddr(addresses[i]); } whitelist[addresses[i]] = true; unchecked { ++i; } } } /** * @notice method which allows for removing a set of addresses from the whitelist */ function _clearWhitelist() private { unchecked { address[] memory addresses = whitelistedAddresses; for (uint256 i; i < addresses.length; i++) { whitelist[addresses[i]] = false; } } } }
Contract ABI
[{"type":"constructor","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"},{"type":"uint256","name":"initialSupplyToSet","internalType":"uint256"},{"type":"uint8","name":"decimalsToSet","internalType":"uint8"},{"type":"address","name":"tokenOwner","internalType":"address"},{"type":"tuple","name":"customConfigProps","internalType":"struct FullFeatureToken.ERC20ConfigProps","components":[{"type":"bool"},{"type":"bool"},{"type":"bool"},{"type":"bool"},{"type":"bool"},{"type":"bool"},{"type":"bool"},{"type":"bool"}]},{"type":"uint256","name":"maxTokenAmount","internalType":"uint256"},{"type":"string","name":"newDocumentUri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"blackList","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"documentUri","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"getWhitelistedAddresses","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"initialDocumentUri","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"initialMaxTokenAmountPerAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"initialSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"initialTokenOwner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isBlacklistEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isBurnable","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isDocumentUriAllowed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isForceTransferAllowed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMaxAmountOfTokensSet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMintable","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isPausable","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isWhitelistEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxTokenAmountPerAddress","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeFromBlacklist","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDocumentUri","inputs":[{"type":"string","name":"newDocumentUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTokenAmountPerAddress","inputs":[{"type":"uint256","name":"newMaxTokenAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateWhitelist","inputs":[{"type":"address[]","name":"updatedAddresses","internalType":"address[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelist","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"whitelistedAddresses","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"DocumentUriSet","inputs":[{"type":"string","name":"newDocUri","indexed":false}],"anonymous":false},{"type":"event","name":"MaxTokenAmountPerSet","inputs":[{"type":"uint256","name":"newMaxTokenAmount","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","indexed":true},{"type":"address","name":"newOwner","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","indexed":false}],"anonymous":false},{"type":"event","name":"UserBlacklisted","inputs":[{"type":"address","name":"addr","indexed":true}],"anonymous":false},{"type":"event","name":"UserUnBlacklisted","inputs":[{"type":"address","name":"addr","indexed":true}],"anonymous":false},{"type":"event","name":"UsersWhitelisted","inputs":[{"type":"address[]","name":"updatedAddresses","indexed":false}],"anonymous":false},{"type":"error","name":"AddrAlreadyBlacklisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"AddrAlreadyUnblacklisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"BlacklistNotEnabled","inputs":[]},{"type":"error","name":"BurningNotEnabled","inputs":[]},{"type":"error","name":"CannotBlacklistWhitelistedAddr","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"CannotWhitelistBlacklistedAddr","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"DestBalanceExceedsMaxAllowed","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"DocumentUriNotAllowed","inputs":[]},{"type":"error","name":"InvalidDecimals","inputs":[{"type":"uint8","name":"decimals","internalType":"uint8"}]},{"type":"error","name":"InvalidMaxTokenAmount","inputs":[{"type":"uint256","name":"maxTokenAmount","internalType":"uint256"}]},{"type":"error","name":"MaxTokenAmountPerAddrLtPrevious","inputs":[]},{"type":"error","name":"MintingNotEnabled","inputs":[]},{"type":"error","name":"NonZeroAddress","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"PausingNotEnabled","inputs":[]},{"type":"error","name":"RecipientBlacklisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"RecipientNotWhitelisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"SenderBlacklisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"SenderNotWhitelisted","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"error","name":"WhitelistNotEnabled","inputs":[]}]
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c806370a0823111610146578063a09a1601116100c3578063a9d8668511610087578063a9d86685146106cd578063ba4e5c49146106eb578063d48e41271461071b578063dd62ed3e14610739578063f2fde38b14610769578063f820f567146107855761025e565b8063a09a160114610615578063a32f697614610633578063a457c2d714610651578063a476df6114610681578063a9059cbb1461069d5761025e565b8063883356d91161010a578063883356d91461056d5780638da5cb5b1461058b5780638dac7191146105a957806395d89b41146105c75780639b19251a146105e55761025e565b806370a08231146104ef578063715018a61461051f57806379cc6790146105295780638456cb5914610545578063878dd3321461054f5761025e565b806339509351116101df5780634838d165116101a35780634838d1651461043f578063537df3b61461045b5780635a3990ce146104775780635c975abb146104955780636c5adaae146104b35780636d028027146104d15761025e565b806339509351146103af5780633f4ba83a146103df57806340c10f19146103e957806342966c681461040557806346b45af7146104215761025e565b8063184d69ab11610226578063184d69ab1461030957806323b872dd14610327578063313ce567146103575780633537721414610375578063378dc3dc146103915761025e565b806302252c4d14610263578063044ab74e1461027f57806306fdde031461029d578063095ea7b3146102bb57806318160ddd146102eb575b600080fd5b61027d6004803603810190610278919061307a565b6107a3565b005b610287610827565b6040516102949190613487565b60405180910390f35b6102a56108b5565b6040516102b29190613487565b60405180910390f35b6102d560048036038101906102d09190612fa4565b610947565b6040516102e2919061346c565b60405180910390f35b6102f361096a565b6040516103009190613689565b60405180910390f35b610311610974565b60405161031e919061346c565b60405180910390f35b610341600480360381019061033c9190612f51565b61098e565b60405161034e919061346c565b60405180910390f35b61035f610cce565b60405161036c91906136a4565b60405180910390f35b61038f600480360381019061038a9190612fe4565b610cf6565b005b610399610d9d565b6040516103a69190613689565b60405180910390f35b6103c960048036038101906103c49190612fa4565b610dc1565b6040516103d6919061346c565b60405180910390f35b6103e7610df8565b005b61040360048036038101906103fe9190612fa4565b610e48565b005b61041f600480360381019061041a919061307a565b611045565b005b61042961109f565b604051610436919061346c565b60405180910390f35b61045960048036038101906104549190612ee4565b6110b9565b005b61047560048036038101906104709190612ee4565b6112dc565b005b61047f61145f565b60405161048c919061346c565b60405180910390f35b61049d611479565b6040516104aa919061346c565b60405180910390f35b6104bb611490565b6040516104c8919061346c565b60405180910390f35b6104d96114aa565b6040516104e6919061344a565b60405180910390f35b61050960048036038101906105049190612ee4565b611538565b6040516105169190613689565b60405180910390f35b610527611580565b005b610543600480360381019061053e9190612fa4565b61159a565b005b61054d6115f6565b005b610557611646565b604051610564919061346c565b60405180910390f35b610575611660565b604051610582919061346c565b60405180910390f35b61059361167a565b6040516105a0919061340b565b60405180910390f35b6105b16116a4565b6040516105be919061340b565b60405180910390f35b6105cf6116c8565b6040516105dc9190613487565b60405180910390f35b6105ff60048036038101906105fa9190612ee4565b61175a565b60405161060c919061346c565b60405180910390f35b61061d61177a565b60405161062a919061346c565b60405180910390f35b61063b611794565b6040516106489190613689565b60405180910390f35b61066b60048036038101906106669190612fa4565b6117b8565b604051610678919061346c565b60405180910390f35b61069b60048036038101906106969190613031565b61182f565b005b6106b760048036038101906106b29190612fa4565b6118c6565b6040516106c4919061346c565b60405180910390f35b6106d5611ba4565b6040516106e29190613487565b60405180910390f35b6107056004803603810190610700919061307a565b611c32565b604051610712919061340b565b60405180910390f35b610723611c71565b6040516107309190613689565b60405180910390f35b610753600480360381019061074e9190612f11565b611c77565b6040516107609190613689565b60405180910390f35b610783600480360381019061077e9190612ee4565b611cfe565b005b61078d611d1a565b60405161079a919061346c565b60405180910390f35b6107ab611e8a565b600b5481116107e6576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b819055507f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d598160405161081c9190613689565b60405180910390a150565b600a805461083490613885565b80601f016020809104026020016040519081016040528092919081815260200182805461086090613885565b80156108ad5780601f10610882576101008083540402835291602001916108ad565b820191906000526020600020905b81548152906001019060200180831161089057829003601f168201915b505050505081565b6060600380546108c490613885565b80601f01602080910402602001604051908101604052809291908181526020018280546108f090613885565b801561093d5780601f106109125761010080835404028352916020019161093d565b820191906000526020600020905b81548152906001019060200180831161092057829003601f168201915b5050505050905090565b600080610952611f08565b905061095f818585611f10565b600191505092915050565b6000600254905090565b6000600c60000160059054906101000a900460ff16905090565b60006109986120db565b83836109a2610974565b15610ac457600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a3557816040517fbf3f9389000000000000000000000000000000000000000000000000000000008152600401610a2c919061340b565b60405180910390fd5b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ac357806040517fab0b880c000000000000000000000000000000000000000000000000000000008152600401610aba919061340b565b60405180910390fd5b5b610acc611646565b15610bf057600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610b6057816040517f578f3e13000000000000000000000000000000000000000000000000000000008152600401610b57919061340b565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610bef57806040517fcb8e2bcc000000000000000000000000000000000000000000000000000000008152600401610be6919061340b565b60405180910390fd5b5b610bf861145f565b15610c5857600b5484610c0a87611538565b610c149190613798565b1115610c5757846040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610c4e919061340b565b60405180910390fd5b5b610c60611490565b8015610c9e57503373ffffffffffffffffffffffffffffffffffffffff16610c8661167a565b73ffffffffffffffffffffffffffffffffffffffff16145b15610cb757610cae868686612125565b60019250610cc5565b610cc286868661239d565b92505b50509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000012905090565b610cfe611e8a565b610d06610974565b610d3c576040517f0b1b4e5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d446123cc565b610d4e82826124e6565b818160089190610d5f929190612cb1565b507f6141feff42f24e29d1af3d91bffa3d40521e53485e9c92e358c4d946c0adbd388282604051610d91929190613426565b60405180910390a15050565b7f000000000000000000000000000000000000000000000000000000000000000a81565b600080610dcc611f08565b9050610ded818585610dde8589611c77565b610de89190613798565b611f10565b600191505092915050565b610e00611e8a565b610e0861177a565b610e3e576040517ff00085b900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e466126ab565b565b610e50611e8a565b610e586120db565b610e6061109f565b610e96576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e9e61145f565b15610efe57600b5481610eb084611538565b610eba9190613798565b1115610efd57816040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610ef4919061340b565b60405180910390fd5b5b610f06611646565b15610f9b57600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f9a57816040517fcb8e2bcc000000000000000000000000000000000000000000000000000000008152600401610f91919061340b565b60405180910390fd5b5b610fa3610974565b1561103757600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661103657816040517fab0b880c00000000000000000000000000000000000000000000000000000000815260040161102d919061340b565b60405180910390fd5b5b611041828261270e565b5050565b61104d611e8a565b6110556120db565b61105d611660565b611093576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61109c81612865565b50565b6000600c60000160009054906101000a900460ff16905090565b6110c1611e8a565b6110c96120db565b6110d281611d34565b6110da611646565b611110576040517feafab70c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561119f57806040517f70b8fc84000000000000000000000000000000000000000000000000000000008152600401611196919061340b565b60405180910390fd5b6111a7610974565b80156111fc5750600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561123e57806040517febdacb5f000000000000000000000000000000000000000000000000000000008152600401611235919061340b565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f7f8b7dc89dae85811a7a85800b892b5816ad5d381c856f1b56490f8fc470c9cb60405160405180910390a250565b6112e4611e8a565b6112ec6120db565b6112f581611d34565b6112fd611646565b611333576040517feafab70c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166113c157806040517f3d7c1f4a0000000000000000000000000000000000000000000000000000000081526004016113b8919061340b565b60405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f4ca5b343d678ca6f1f96e8c8a2115c41c2d40641fd872b928ba6f95d3648b9d160405160405180910390a250565b6000600c60000160069054906101000a900460ff16905090565b6000600560009054906101000a900460ff16905090565b6000600c60000160079054906101000a900460ff16905090565b6060600880548060200260200160405190810160405280929190818152602001828054801561152e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116114e4575b5050505050905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611588611e8a565b6115906120db565b611598612879565b565b6115a2611e8a565b6115aa6120db565b6115b2611660565b6115e8576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115f2828261288d565b5050565b6115fe611e8a565b61160661177a565b61163c576040517ff00085b900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116446128ad565b565b6000600c60000160039054906101000a900460ff16905090565b6000600c60000160019054906101000a900460ff16905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f0000000000000000000000008f2a371b9a6ec7f7676c4e3fbc9f0705d763752e81565b6060600480546116d790613885565b80601f016020809104026020016040519081016040528092919081815260200182805461170390613885565b80156117505780601f1061172557610100808354040283529160200191611750565b820191906000526020600020905b81548152906001019060200180831161173357829003601f168201915b5050505050905090565b60076020528060005260406000206000915054906101000a900460ff1681565b6000600c60000160029054906101000a900460ff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806117c3611f08565b905060006117d18286611c77565b905083811015611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90613629565b60405180910390fd5b6118238286868403611f10565b60019250505092915050565b611837611e8a565b61183f611d1a565b611875576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a908051906020019061188b929190612d51565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade816040516118bb9190613487565b60405180910390a150565b60006118d06120db565b33836118da610974565b156119fc57600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661196d57816040517fbf3f9389000000000000000000000000000000000000000000000000000000008152600401611964919061340b565b60405180910390fd5b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119fb57806040517fab0b880c0000000000000000000000000000000000000000000000000000000081526004016119f2919061340b565b60405180910390fd5b5b611a04611646565b15611b2857600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611a9857816040517f578f3e13000000000000000000000000000000000000000000000000000000008152600401611a8f919061340b565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611b2757806040517fcb8e2bcc000000000000000000000000000000000000000000000000000000008152600401611b1e919061340b565b60405180910390fd5b5b611b3061145f565b15611b9057600b5484611b4287611538565b611b4c9190613798565b1115611b8f57846040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401611b86919061340b565b60405180910390fd5b5b611b9a8585612910565b9250505092915050565b60098054611bb190613885565b80601f0160208091040260200160405190810160405280929190818152602001828054611bdd90613885565b8015611c2a5780601f10611bff57610100808354040283529160200191611c2a565b820191906000526020600020905b815481529060010190602001808311611c0d57829003601f168201915b505050505081565b60088181548110611c4257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611d06611e8a565b611d0e6120db565b611d1781611da9565b50565b6000600c60000160049054906101000a900460ff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611da657806040517f4ef79e5a000000000000000000000000000000000000000000000000000000008152600401611d9d919061340b565b60405180910390fd5b50565b611db1611e8a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890613509565b60405180910390fd5b611e2a81612933565b50565b611e38838383611e85565b611e40611479565b15611e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7790613669565b60405180910390fd5b505050565b505050565b611e92611f08565b73ffffffffffffffffffffffffffffffffffffffff16611eb061167a565b73ffffffffffffffffffffffffffffffffffffffff1614611f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efd906135a9565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7790613609565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe790613529565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516120ce9190613689565b60405180910390a3505050565b6120e3611479565b15612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a90613589565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c906135e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc906134a9565b60405180910390fd5b6122108383836129f9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228d90613569565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516123849190613689565b60405180910390a3612397848484612a09565b50505050565b6000806123a8611f08565b90506123b5858285612a0e565b6123c0858585612125565b60019150509392505050565b6000600880548060200260200160405190810160405280929190818152602001828054801561245057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612406575b5050505050905060005b81518110156124e25760006007600084848151811061247c5761247b613946565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808060010191505061245a565b5050565b60005b828290508110156126a65761252483838381811061250a57612509613946565b5b905060200201602081019061251f9190612ee4565b611d34565b600c60000160039054906101000a900460ff1680156125b357506006600084848481811061255557612554613946565b5b905060200201602081019061256a9190612ee4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561261c578282828181106125cb576125ca613946565b5b90506020020160208101906125e09190612ee4565b6040517f2cf5f7dd000000000000000000000000000000000000000000000000000000008152600401612613919061340b565b60405180910390fd5b60016007600085858581811061263557612634613946565b5b905060200201602081019061264a9190612ee4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508060010190506124e9565b505050565b6126b3612a9a565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126f7611f08565b604051612704919061340b565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277590613649565b60405180910390fd5b61278a600083836129f9565b806002600082825461279c9190613798565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161284d9190613689565b60405180910390a361286160008383612a09565b5050565b612876612870611f08565b82612ae3565b50565b612881611e8a565b61288b6000612933565b565b61289f82612899611f08565b83612a0e565b6128a98282612ae3565b5050565b6128b56120db565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128f9611f08565b604051612906919061340b565b60405180910390a1565b60008061291b611f08565b9050612928818585612125565b600191505092915050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a04838383611e2d565b505050565b505050565b6000612a1a8484611c77565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612a945781811015612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90613549565b60405180910390fd5b612a938484848403611f10565b5b50505050565b612aa2611479565b612ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad8906134c9565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4a906135c9565b60405180910390fd5b612b5f826000836129f9565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdc906134e9565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c989190613689565b60405180910390a3612cac83600084612a09565b505050565b828054828255906000526020600020908101928215612d40579160200282015b82811115612d3f57823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612cd1565b5b509050612d4d9190612dd7565b5090565b828054612d5d90613885565b90600052602060002090601f016020900481019282612d7f5760008555612dc6565b82601f10612d9857805160ff1916838001178555612dc6565b82800160010185558215612dc6579182015b82811115612dc5578251825591602001919060010190612daa565b5b509050612dd39190612dd7565b5090565b5b80821115612df0576000816000905550600101612dd8565b5090565b6000612e07612e02846136e4565b6136bf565b905082815260208101848484011115612e2357612e226139b3565b5b612e2e848285613843565b509392505050565b600081359050612e4581613db6565b92915050565b60008083601f840112612e6157612e606139a9565b5b8235905067ffffffffffffffff811115612e7e57612e7d6139a4565b5b602083019150836020820283011115612e9a57612e996139ae565b5b9250929050565b600082601f830112612eb657612eb56139a9565b5b8135612ec6848260208601612df4565b91505092915050565b600081359050612ede81613dcd565b92915050565b600060208284031215612efa57612ef96139bd565b5b6000612f0884828501612e36565b91505092915050565b60008060408385031215612f2857612f276139bd565b5b6000612f3685828601612e36565b9250506020612f4785828601612e36565b9150509250929050565b600080600060608486031215612f6a57612f696139bd565b5b6000612f7886828701612e36565b9350506020612f8986828701612e36565b9250506040612f9a86828701612ecf565b9150509250925092565b60008060408385031215612fbb57612fba6139bd565b5b6000612fc985828601612e36565b9250506020612fda85828601612ecf565b9150509250929050565b60008060208385031215612ffb57612ffa6139bd565b5b600083013567ffffffffffffffff811115613019576130186139b8565b5b61302585828601612e4b565b92509250509250929050565b600060208284031215613047576130466139bd565b5b600082013567ffffffffffffffff811115613065576130646139b8565b5b61307184828501612ea1565b91505092915050565b6000602082840312156130905761308f6139bd565b5b600061309e84828501612ecf565b91505092915050565b60006130b383836130bf565b60208301905092915050565b6130c8816137ee565b82525050565b6130d7816137ee565b82525050565b60006130e9838561375f565b93506130f482613715565b8060005b8581101561312d5761310a8284613781565b61311488826130a7565b975061311f83613745565b9250506001810190506130f8565b5085925050509392505050565b60006131458261372f565b61314f818561375f565b935061315a8361371f565b8060005b8381101561318b57815161317288826130a7565b975061317d83613752565b92505060018101905061315e565b5085935050505092915050565b6131a181613800565b82525050565b60006131b28261373a565b6131bc8185613770565b93506131cc818560208601613852565b6131d5816139c2565b840191505092915050565b60006131ed602383613770565b91506131f8826139d3565b604082019050919050565b6000613210601483613770565b915061321b82613a22565b602082019050919050565b6000613233602283613770565b915061323e82613a4b565b604082019050919050565b6000613256602683613770565b915061326182613a9a565b604082019050919050565b6000613279602283613770565b915061328482613ae9565b604082019050919050565b600061329c601d83613770565b91506132a782613b38565b602082019050919050565b60006132bf602683613770565b91506132ca82613b61565b604082019050919050565b60006132e2601083613770565b91506132ed82613bb0565b602082019050919050565b6000613305602083613770565b915061331082613bd9565b602082019050919050565b6000613328602183613770565b915061333382613c02565b604082019050919050565b600061334b602583613770565b915061335682613c51565b604082019050919050565b600061336e602483613770565b915061337982613ca0565b604082019050919050565b6000613391602583613770565b915061339c82613cef565b604082019050919050565b60006133b4601f83613770565b91506133bf82613d3e565b602082019050919050565b60006133d7602a83613770565b91506133e282613d67565b604082019050919050565b6133f68161382c565b82525050565b61340581613836565b82525050565b600060208201905061342060008301846130ce565b92915050565b600060208201905081810360008301526134418184866130dd565b90509392505050565b60006020820190508181036000830152613464818461313a565b905092915050565b60006020820190506134816000830184613198565b92915050565b600060208201905081810360008301526134a181846131a7565b905092915050565b600060208201905081810360008301526134c2816131e0565b9050919050565b600060208201905081810360008301526134e281613203565b9050919050565b6000602082019050818103600083015261350281613226565b9050919050565b6000602082019050818103600083015261352281613249565b9050919050565b600060208201905081810360008301526135428161326c565b9050919050565b600060208201905081810360008301526135628161328f565b9050919050565b60006020820190508181036000830152613582816132b2565b9050919050565b600060208201905081810360008301526135a2816132d5565b9050919050565b600060208201905081810360008301526135c2816132f8565b9050919050565b600060208201905081810360008301526135e28161331b565b9050919050565b600060208201905081810360008301526136028161333e565b9050919050565b6000602082019050818103600083015261362281613361565b9050919050565b6000602082019050818103600083015261364281613384565b9050919050565b60006020820190508181036000830152613662816133a7565b9050919050565b60006020820190508181036000830152613682816133ca565b9050919050565b600060208201905061369e60008301846133ed565b92915050565b60006020820190506136b960008301846133fc565b92915050565b60006136c96136da565b90506136d582826138b7565b919050565b6000604051905090565b600067ffffffffffffffff8211156136ff576136fe613975565b5b613708826139c2565b9050602081019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006137906020840184612e36565b905092915050565b60006137a38261382c565b91506137ae8361382c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137e3576137e26138e8565b5b828201905092915050565b60006137f98261380c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613870578082015181840152602081019050613855565b8381111561387f576000848401525b50505050565b6000600282049050600182168061389d57607f821691505b602082108114156138b1576138b0613917565b5b50919050565b6138c0826139c2565b810181811067ffffffffffffffff821117156138df576138de613975565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b613dbf816137ee565b8114613dca57600080fd5b50565b613dd68161382c565b8114613de157600080fd5b5056fea264697066735822122017a6f171b0e92579f68922301f89da983182baff097f183fbca4b12f6fc46f7a64736f6c63430008070033