Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
WrappedBoBi
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.16; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol"; contract WrappedBoBi is Initializable, UUPSUpgradeable, ERC20Upgradeable, PausableUpgradeable, OwnableUpgradeable, ERC20BurnableUpgradeable { uint8 private decimal; uint256 public _taxPercentage; uint256 public _coldWalletPercentage; uint256 public _bobiWalletPercentage; uint256 public _distributionWalletPercentage; address public _coldWallet; address public _bobiWallet; address public _distributionWallet; mapping(address => bool) public _whitelist; mapping(address => bool) public _blacklist; bool public enableWhiteList_; bool public enableTaxFee; event BlackListed(address indexed account); event RemovedFromBlackListed(address indexed account); event AddMultipleAccountToBlacklist(address[] indexed accounts); event WhiteListed(address indexed account); event RemovedFromWhiteListed(address indexed account); event AddMultipleAccountToWhitelist(address[] indexed accounts); event EnableOrDisableWhitelist(bool IsWhitelist); event Wallets( address indexed coldWalletAccount, address indexed bobiWalletAccount, address indexed distributionWalletAccount ); event TaxPercentage(uint256 taxPercentage); event SplitingPercentage( uint256 coldWalletPercentage, uint256 bobiWalletPercentage, uint256 distributionWalletPercentage ); event EnableOrDisableTaxFee(bool isIncludeTax); event CalculateTax( uint256 taxAmount, uint256 coldAmount, uint256 bobiAmount, uint256 distributionAmount ); function initialize( string memory _name, string memory _symbol, uint8 _decimal, uint256 _totalSupply ) public initializer { require(bytes(_name).length != 0, "Name is required"); require(bytes(_symbol).length != 0, "Symbol is required"); require( _decimal > 0 && _decimal < 19, "Decimal is required and cannot be more than 18" ); require(_totalSupply > 0, "Total Supply is required"); _taxPercentage = 4200; _coldWalletPercentage = 35; _bobiWalletPercentage = 35; _distributionWalletPercentage = 30; _coldWallet = 0x1C1d537dB858Fe8ffB6146248C1209163a892567; _bobiWallet = 0xaA3295Cb680f54B88cBcB21C741Fc4D006DEB0bE; _distributionWallet = 0x5f048A5F76a0b7dC77B44cdC52D93699884349d0; __ERC20Burnable_init_unchained(); __ERC20_init_unchained(_name, _symbol); __Pausable_init_unchained(); __Ownable_init_unchained(); decimal = _decimal; _mint(msg.sender, _totalSupply); } /** * @dev Returns the number of decimals used to get its user representation. * * 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 override returns (uint8) { return decimal; } /** @dev Pause the contract (stopped state) by owner */ function pause() external onlyOwner { _pause(); } /** @dev Unpause the contract (normal state) by owner */ function unpause() external onlyOwner { _unpause(); } /** * @dev For authorizing the uups upgrade */ function _authorizeUpgrade(address) internal override onlyOwner {} function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override whenNotPaused { super._beforeTokenTransfer(from, to, amount); } /** * @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(); if (enableWhiteList_) { require(_whitelist[msg.sender], "Account is not whitelisted"); } require(!_blacklist[msg.sender], "Account is blacklisted"); uint256 balanceToken; if (enableTaxFee) { ( uint256 taxAmount, uint256 coldAmount, uint256 bobiAmount, uint256 distributionAmount ) = calculateTax(amount); balanceToken = amount - taxAmount; _transfer(from, _coldWallet, coldAmount); _transfer(from, _bobiWallet, bobiAmount); _transfer(from, _distributionWallet, distributionAmount); } _spendAllowance(from, spender, amount); _transfer(from, to, balanceToken); return true; } /** * @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) { if (enableWhiteList_) { require(_whitelist[msg.sender], "Account is not whitelisted"); } require(!_blacklist[msg.sender], "Account is blacklisted"); uint256 balanceToken; address owner = _msgSender(); if (enableTaxFee) { ( uint256 taxAmount, uint256 coldAmount, uint256 bobiAmount, uint256 distributionAmount ) = calculateTax(amount); balanceToken = amount - taxAmount; _transfer(owner, _coldWallet, coldAmount); _transfer(owner, _bobiWallet, bobiAmount); _transfer(owner, _distributionWallet, distributionAmount); } else { balanceToken = amount; } _transfer(owner, to, balanceToken); return true; } /** @dev owner can enable the whitelist */ function enableOrDisableWhitelist(bool _isWhitelist) external onlyOwner { enableWhiteList_ = _isWhitelist; emit EnableOrDisableWhitelist(_isWhitelist); } /** * @dev Adding a account to Whitelisting * @param _beneficiary address of the account. */ function addToBlacklist(address _beneficiary) external onlyOwner { require(_beneficiary != address(0), "Account cant be zero address"); require(!_blacklist[_beneficiary], "Account is blacklisted"); _blacklist[_beneficiary] = true; emit BlackListed(_beneficiary); } /** * @dev Adding multiple account to blacklisting * @param _beneficiers address of the account. */ function addMultipleAccountToBlacklist( address[] calldata _beneficiers ) external onlyOwner { { for (uint256 i = 0; i < _beneficiers.length; i++) { if ( !_blacklist[_beneficiers[i]] && _beneficiers[i] != address(0) ) _blacklist[_beneficiers[i]] = true; } } emit AddMultipleAccountToBlacklist(_beneficiers); } /** * @dev Removing account to blacklisting * @param _beneficiary address of the account. */ function removeFromBlacklist(address _beneficiary) external onlyOwner { _blacklist[_beneficiary] = false; emit RemovedFromBlackListed(_beneficiary); } /** * @dev Adding a account to Whitelisting * @param _beneficiary address of the account. */ function addToWhitelist(address _beneficiary) external onlyOwner { require(_beneficiary != address(0), "Account cant be zero address"); require(!_whitelist[_beneficiary], "Account is already whitelisted"); _whitelist[_beneficiary] = true; emit WhiteListed(_beneficiary); } /** * @dev Adding multiple account to Whitelisting * @param _beneficiers address of the account. */ function addMultipleAccountToWhitelist( address[] calldata _beneficiers ) external onlyOwner { for (uint256 i = 0; i < _beneficiers.length; i++) { if (!_whitelist[_beneficiers[i]] && _beneficiers[i] != address(0)) { _whitelist[_beneficiers[i]] = true; } } emit AddMultipleAccountToWhitelist(_beneficiers); } /** * @dev Removing account to Whitelisting * @param _beneficiary address of the account. */ function removeFromWhitelist(address _beneficiary) external onlyOwner { _whitelist[_beneficiary] = false; emit RemovedFromWhiteListed(_beneficiary); } /** @dev owner can enable the tax fee @ param isIncludeTax - to get boolean value */ function enableOrDisableTaxFee(bool isIncludeTax) external onlyOwner { enableTaxFee = isIncludeTax; emit EnableOrDisableTaxFee(isIncludeTax); } /** * @dev owner can update the wallet address * @param coldWallet, bobiWallet, distributionWallet - wallets we need to update */ function updateWalletAddress( address coldWallet, address bobiWallet, address distributionWallet ) external onlyOwner { _coldWallet = coldWallet; _bobiWallet = bobiWallet; _distributionWallet = distributionWallet; emit Wallets(coldWallet, bobiWallet, distributionWallet); } /** * @dev owner can update the tax percentage * @param taxPercentage - the whole percentage */ function updateTaxPercentage(uint256 taxPercentage) external onlyOwner { _taxPercentage = taxPercentage; emit TaxPercentage(taxPercentage); } /** * @dev owner can update the spliting percentage of wallet * @param coldWalletPercentage, bobiWalletPercentage, distributionWalletPercentage spliting percentage */ function updatingSplitingPercentage( uint256 coldWalletPercentage, uint256 bobiWalletPercentage, uint256 distributionWalletPercentage ) external onlyOwner { uint256 totalPercentage = (coldWalletPercentage + bobiWalletPercentage + distributionWalletPercentage); require(totalPercentage == 100, "Total percentage should be 100"); _coldWalletPercentage = coldWalletPercentage; _bobiWalletPercentage = bobiWalletPercentage; _distributionWalletPercentage = distributionWalletPercentage; emit SplitingPercentage( coldWalletPercentage, bobiWalletPercentage, distributionWalletPercentage ); } /* * * @dev owner can withdraw the token from the contract * */ function withdrawToken() public onlyOwner { uint256 tokens = balanceOf(address(this)); if (tokens > 0) { _transfer(address(this), msg.sender, tokens); } } /** * @dev calculating the tax and split the tax amount * @param amount - that we need to calculate the tax */ function calculateTax( uint256 amount ) private returns (uint256, uint256, uint256, uint256) { uint256 taxAmount = (amount * _taxPercentage) / 100000; uint256 coldAmount = (taxAmount * _coldWalletPercentage) / 100; uint256 bobiAmount = (taxAmount * _bobiWalletPercentage) / 100; uint256 distributionAmount = (taxAmount * _distributionWalletPercentage) / 100; emit CalculateTax( taxAmount, coldAmount, bobiAmount, distributionAmount ); return (taxAmount, coldAmount, bobiAmount, distributionAmount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20Upgradeable.sol"; import "../../../utils/ContextUpgradeable.sol"; import "../../../proxy/utils/Initializable.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 ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable { function __ERC20Burnable_init() internal onlyInitializing { } function __ERC20Burnable_init_unchained() internal onlyInitializing { } /** * @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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20Upgradeable.sol"; import "./extensions/IERC20MetadataUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../proxy/utils/Initializable.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.openzeppelin.com/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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { 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. */ function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // 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 {} /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[45] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 PausableUpgradeable is Initializable, ContextUpgradeable { /** * @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. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _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()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol) pragma solidity ^0.8.0; import "../../interfaces/draft-IERC1822Upgradeable.sol"; import "../ERC1967/ERC1967UpgradeUpgradeable.sol"; import "./Initializable.sol"; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Check that the execution is not being performed through a delegate call. This allows a function to be * callable on the implementing contract but not through proxies. */ modifier notDelegated() { require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall"); _; } /** * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the * implementation. It is used to validate the implementation's compatibility when performing an upgrade. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier. */ function proxiableUUID() external view virtual override notDelegated returns (bytes32) { return _IMPLEMENTATION_SLOT; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeTo(address newImplementation) external virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; import "../beacon/IBeaconUpgradeable.sol"; import "../../interfaces/IERC1967Upgradeable.sol"; import "../../interfaces/draft-IERC1822Upgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/StorageSlotUpgradeable.sol"; import "../utils/Initializable.sol"; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable { function __ERC1967Upgrade_init() internal onlyInitializing { } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822ProxiableUpgradeable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol) pragma solidity ^0.8.0; /** * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. * * _Available since v4.9._ */ interface IERC1967Upgradeable { /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Emitted when the beacon is changed. */ event BeaconUpgraded(address indexed beacon); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"AddMultipleAccountToBlacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"AddMultipleAccountToWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlackListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"taxAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"coldAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bobiAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"distributionAmount","type":"uint256"}],"name":"CalculateTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isIncludeTax","type":"bool"}],"name":"EnableOrDisableTaxFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"IsWhitelist","type":"bool"}],"name":"EnableOrDisableWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RemovedFromBlackListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RemovedFromWhiteListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"coldWalletPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bobiWalletPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"distributionWalletPercentage","type":"uint256"}],"name":"SplitingPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"taxPercentage","type":"uint256"}],"name":"TaxPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"coldWalletAccount","type":"address"},{"indexed":true,"internalType":"address","name":"bobiWalletAccount","type":"address"},{"indexed":true,"internalType":"address","name":"distributionWalletAccount","type":"address"}],"name":"Wallets","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhiteListed","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_bobiWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_bobiWalletPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_coldWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_coldWalletPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_distributionWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_distributionWalletPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_beneficiers","type":"address[]"}],"name":"addMultipleAccountToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_beneficiers","type":"address[]"}],"name":"addMultipleAccountToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"addToWhitelist","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":"bool","name":"isIncludeTax","type":"bool"}],"name":"enableOrDisableTaxFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isWhitelist","type":"bool"}],"name":"enableOrDisableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTaxFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableWhiteList_","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimal","type":"uint8"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxPercentage","type":"uint256"}],"name":"updateTaxPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"coldWallet","type":"address"},{"internalType":"address","name":"bobiWallet","type":"address"},{"internalType":"address","name":"distributionWallet","type":"address"}],"name":"updateWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"coldWalletPercentage","type":"uint256"},{"internalType":"uint256","name":"bobiWalletPercentage","type":"uint256"},{"internalType":"uint256","name":"distributionWalletPercentage","type":"uint256"}],"name":"updatingSplitingPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004357600080fd5b506080516158036200007c6000396000818161135a015281816113e80152818161173b015281816117c9015261187901526158036000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063c1d860a8116100c1578063cfdb63ac1161007a578063cfdb63ac1461093d578063dd62ed3e1461097a578063e43252d7146109b7578063e5c2948d146109e0578063f0ef5e7d14610a0b578063f2fde38b14610a365761027d565b8063c1d860a814610853578063c3d1e8731461087c578063c4981397146108a7578063c9c57d91146108d0578063ca628c78146108fb578063cad359f0146109125761027d565b80638da5cb5b116101135780638da5cb5b1461071d57806395d89b4114610748578063a20623ce14610773578063a457c2d7146107b0578063a66b2277146107ed578063a9059cbb146108165761027d565b8063715018a61461067257806379cc6790146106895780638456cb59146106b257806388f8a18e146106c95780638ab1d681146106f45761027d565b80633f4ba83a116101f357806352d1902d116101ac57806352d1902d14610562578063537df3b61461058d5780635c975abb146105b65780636a2b166b146105e15780636b88027d1461060c57806370a08231146106355761027d565b80633f4ba83a1461048757806342966c681461049e57806344337ea1146104c757806344aab59a146104f05780634abba2801461051b5780634f1ef286146105465761027d565b8063253279ad11610245578063253279ad1461037b578063313ce567146103a45780633231bc90146103cf5780633659cfe6146103f857806339509351146104215780633f131c6a1461045e5761027d565b806306f5329e1461028257806306fdde03146102ab578063095ea7b3146102d657806318160ddd1461031357806323b872dd1461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906138a3565b610a5f565b005b3480156102b757600080fd5b506102c0610c2d565b6040516102cd9190613980565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613a36565b610cbf565b60405161030a9190613a91565b60405180910390f35b34801561031f57600080fd5b50610328610ce2565b6040516103359190613abb565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613ad6565b610cec565b6040516103729190613a91565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613c92565b610f1a565b005b3480156103b057600080fd5b506103b96112e3565b6040516103c69190613d40565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190613d87565b6112fb565b005b34801561040457600080fd5b5061041f600480360381019061041a9190613db4565b611358565b005b34801561042d57600080fd5b5061044860048036038101906104439190613a36565b6114e0565b6040516104559190613a91565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613de1565b611517565b005b34801561049357600080fd5b5061049c611561565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613de1565b611573565b005b3480156104d357600080fd5b506104ee60048036038101906104e99190613db4565b611587565b005b3480156104fc57600080fd5b5061050561172b565b6040516105129190613abb565b60405180910390f35b34801561052757600080fd5b50610530611732565b60405161053d9190613abb565b60405180910390f35b610560600480360381019061055b9190613eaf565b611739565b005b34801561056e57600080fd5b50610577611875565b6040516105849190613f24565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613db4565b61192e565b005b3480156105c257600080fd5b506105cb6119d5565b6040516105d89190613a91565b60405180910390f35b3480156105ed57600080fd5b506105f66119ec565b6040516106039190613a91565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e9190613f3f565b611a00565b005b34801561064157600080fd5b5061065c60048036038101906106579190613db4565b611abf565b6040516106699190613abb565b60405180910390f35b34801561067e57600080fd5b50610687611b08565b005b34801561069557600080fd5b506106b060048036038101906106ab9190613a36565b611b1c565b005b3480156106be57600080fd5b506106c7611b3c565b005b3480156106d557600080fd5b506106de611b4e565b6040516106eb9190613fa1565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613db4565b611b75565b005b34801561072957600080fd5b50610732611c1c565b60405161073f9190613fa1565b60405180910390f35b34801561075457600080fd5b5061075d611c46565b60405161076a9190613980565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613db4565b611cd8565b6040516107a79190613a91565b60405180910390f35b3480156107bc57600080fd5b506107d760048036038101906107d29190613a36565b611cf9565b6040516107e49190613a91565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f91906138a3565b611d70565b005b34801561082257600080fd5b5061083d60048036038101906108389190613a36565b611f3e565b60405161084a9190613a91565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613fbc565b612168565b005b34801561088857600080fd5b506108916122ac565b60405161089e9190613a91565b60405180910390f35b3480156108b357600080fd5b506108ce60048036038101906108c99190613d87565b6122c0565b005b3480156108dc57600080fd5b506108e561231d565b6040516108f29190613abb565b60405180910390f35b34801561090757600080fd5b50610910612324565b005b34801561091e57600080fd5b50610927612351565b6040516109349190613fa1565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613db4565b612378565b6040516109719190613a91565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c919061400f565b612399565b6040516109ae9190613abb565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d99190613db4565b612420565b005b3480156109ec57600080fd5b506109f56125c4565b604051610a029190613abb565b60405180910390f35b348015610a1757600080fd5b50610a206125cb565b604051610a2d9190613fa1565b60405180910390f35b348015610a4257600080fd5b50610a5d6004803603810190610a589190613db4565b6125f2565b005b610a67612675565b60005b82829050811015610be4576101676000848484818110610a8d57610a8c61404f565b5b9050602002016020810190610aa29190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610b4b5750600073ffffffffffffffffffffffffffffffffffffffff16838383818110610b1d57610b1c61404f565b5b9050602002016020810190610b329190613db4565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610bd15760016101676000858585818110610b6a57610b6961404f565b5b9050602002016020810190610b7f9190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080610bdc906140ad565b915050610a6a565b508181604051610bf59291906141b2565b60405180910390207f3821ed6f04dfab717234279d94c6c1450f829d26adbc1b89010e302a3acac5a760405160405180910390a25050565b6060609a8054610c3c906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c68906141fa565b8015610cb55780601f10610c8a57610100808354040283529160200191610cb5565b820191906000526020600020905b815481529060010190602001808311610c9857829003601f168201915b5050505050905090565b600080610cca6126f3565b9050610cd78185856126fb565b600191505092915050565b6000609954905090565b600080610cf76126f3565b905061016960009054906101000a900460ff1615610d9d5761016760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390614277565b60405180910390fd5b5b61016860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e22906142e3565b60405180910390fd5b600061016960019054906101000a900460ff1615610ef757600080600080610e52886128c4565b93509350935093508388610e669190614303565b9450610e968a61016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168561299c565b610ec48a61016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461299c565b610ef28a61016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168361299c565b505050505b610f02868386612c15565b610f0d86868361299c565b6001925050509392505050565b60008060019054906101000a900460ff16159050808015610f4b5750600160008054906101000a900460ff1660ff16105b80610f785750610f5a30612ca1565b158015610f775750600160008054906101000a900460ff1660ff16145b5b610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae906143a9565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610ff4576001600060016101000a81548160ff0219169083151502179055505b6000855103611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90614415565b60405180910390fd5b600084510361107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390614481565b60405180910390fd5b60008360ff16118015611092575060138360ff16105b6110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890614513565b60405180910390fd5b60008211611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b9061457f565b60405180910390fd5b61106861016081905550602361016181905550602361016281905550601e61016381905550731c1d537db858fe8ffb6146248c1209163a89256761016460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aa3295cb680f54b88cbcb21c741fc4d006deb0be61016560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735f048a5f76a0b7dc77b44cdc52d93699884349d061016660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611243612cc4565b61124d8585612d15565b611255612d88565b61125d612df4565b8261015f60006101000a81548160ff021916908360ff1602179055506112833383612e55565b80156112dc5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516112d391906145e4565b60405180910390a15b5050505050565b600061015f60009054906101000a900460ff16905090565b611303612675565b8061016960006101000a81548160ff0219169083151502179055507f6b99ee93a85f70e9a7fd9accff91a74fbc9bc773fb17f4b01b4292c570d1d6c98160405161134d9190613a91565b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90614671565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611425612fac565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147290614703565b60405180910390fd5b61148481613003565b6114dd81600067ffffffffffffffff8111156114a3576114a2613b2e565b5b6040519080825280601f01601f1916602001820160405280156114d55781602001600182028036833780820191505090505b50600061300e565b50565b6000806114eb6126f3565b905061150c8185856114fd8589612399565b6115079190614723565b6126fb565b600191505092915050565b61151f612675565b80610160819055507ff9fa89e518ac8594915a7320fd28241ed7f6cc08cbdfce70f6c66c2db40fb124816040516115569190613abb565b60405180910390a150565b611569612675565b61157161317c565b565b61158461157e6126f3565b826131df565b50565b61158f612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f5906147a3565b60405180910390fd5b61016860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906142e3565b60405180910390fd5b600161016860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f7fd26be6fc92aff63f1f4409b2b2ddeb272a888031d7f55ec830485ec619418660405160405180910390a250565b6101605481565b6101635481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90614671565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611806612fac565b73ffffffffffffffffffffffffffffffffffffffff161461185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390614703565b60405180910390fd5b61186582613003565b6118718282600161300e565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90614835565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b611936612675565b600061016860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe0bdc13f0469acd2e8fc64a0182422a26a64c90229a4347e29f7fddde616b1e260405160405180910390a250565b600060c960009054906101000a900460ff16905090565b61016960009054906101000a900460ff1681565b611a08612675565b6000818385611a179190614723565b611a219190614723565b905060648114611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d906148a1565b60405180910390fd5b8361016181905550826101628190555081610163819055507fc300548cf6a33f676e068b40838a24b93843ddb5b05ebad2f78818a3f105b0d2848484604051611ab1939291906148c1565b60405180910390a150505050565b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b10612675565b611b1a60006133ae565b565b611b2e82611b286126f3565b83612c15565b611b3882826131df565b5050565b611b44612675565b611b4c613474565b565b61016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b7d612675565b600061016760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f4fd8e7b4409049cb60294af8370bea5fe8b3c33891697a4b702d6a250fb5eef960405160405180910390a250565b600060fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609b8054611c55906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611c81906141fa565b8015611cce5780601f10611ca357610100808354040283529160200191611cce565b820191906000526020600020905b815481529060010190602001808311611cb157829003601f168201915b5050505050905090565b6101686020528060005260406000206000915054906101000a900460ff1681565b600080611d046126f3565b90506000611d128286612399565b905083811015611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e9061496a565b60405180910390fd5b611d6482868684036126fb565b60019250505092915050565b611d78612675565b60005b82829050811015611ef5576101686000848484818110611d9e57611d9d61404f565b5b9050602002016020810190611db39190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611e5c5750600073ffffffffffffffffffffffffffffffffffffffff16838383818110611e2e57611e2d61404f565b5b9050602002016020810190611e439190613db4565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611ee25760016101686000858585818110611e7b57611e7a61404f565b5b9050602002016020810190611e909190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080611eed906140ad565b915050611d7b565b508181604051611f069291906141b2565b60405180910390207fbbf63b1321633f669abdecc9cbeed2679c72292dea6e908d9300290d1cf942ce60405160405180910390a25050565b600061016960009054906101000a900460ff1615611fe45761016760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90614277565b60405180910390fd5b5b61016860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612072576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612069906142e3565b60405180910390fd5b60008061207d6126f3565b905061016960019054906101000a900460ff161561214d576000806000806120a4886128c4565b935093509350935083886120b89190614303565b95506120e88561016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168561299c565b6121168561016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461299c565b6121448561016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168361299c565b50505050612151565b8391505b61215c81868461299c565b60019250505092915050565b612170612675565b8261016460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508161016560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508061016660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe277a3205602f91f1fae811585d3f19cefa47b079e8c9c4e6040a001dc83da1560405160405180910390a4505050565b61016960019054906101000a900460ff1681565b6122c8612675565b8061016960016101000a81548160ff0219169083151502179055507f3c566641e546b5772e66cff9fa63f7d07ba1663cfaf7f00f666bc56f9f0d2db6816040516123129190613a91565b60405180910390a150565b6101625481565b61232c612675565b600061233730611abf565b9050600081111561234e5761234d30338361299c565b5b50565b61016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101676020528060005260406000206000915054906101000a900460ff1681565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612428612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e906147a3565b60405180910390fd5b61016760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251c906149d6565b60405180910390fd5b600161016760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f2e00aa132a0165955a7de5481083fd2933e22d472949147a9c3c69eec84c170060405160405180910390a250565b6101615481565b61016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6125fa612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266090614a68565b60405180910390fd5b612672816133ae565b50565b61267d6126f3565b73ffffffffffffffffffffffffffffffffffffffff1661269b611c1c565b73ffffffffffffffffffffffffffffffffffffffff16146126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e890614ad4565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614b66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d090614bf8565b60405180910390fd5b80609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516128b79190613abb565b60405180910390a3505050565b6000806000806000620186a061016054876128df9190614c18565b6128e99190614ca1565b90506000606461016154836128fe9190614c18565b6129089190614ca1565b905060006064610162548461291d9190614c18565b6129279190614ca1565b905060006064610163548561293c9190614c18565b6129469190614ca1565b90507f2acac94644e768c759cd8d1edcc72ef6d5c113c28391a99807b16e36f75e6fdd8484848460405161297d9493929190614cd2565b60405180910390a1838383839750975097509750505050509193509193565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0290614d89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7190614e1b565b60405180910390fd5b612a858383836134d7565b6000609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0390614ead565b60405180910390fd5b818103609760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612bfc9190613abb565b60405180910390a3612c0f8484846134ef565b50505050565b6000612c218484612399565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612c9b5781811015612c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8490614f19565b60405180910390fd5b612c9a84848484036126fb565b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0a90614fab565b60405180910390fd5b565b600060019054906101000a900460ff16612d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5b90614fab565b60405180910390fd5b81609a9081612d73919061516d565b5080609b9081612d83919061516d565b505050565b600060019054906101000a900460ff16612dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dce90614fab565b60405180910390fd5b600060c960006101000a81548160ff021916908315150217905550565b600060019054906101000a900460ff16612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614fab565b60405180910390fd5b612e53612e4e6126f3565b6133ae565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebb9061528b565b60405180910390fd5b612ed0600083836134d7565b8060996000828254612ee29190614723565b9250508190555080609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f949190613abb565b60405180910390a3612fa8600083836134ef565b5050565b6000612fda7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6134f4565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61300b612675565b50565b61303a7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6134fe565b60000160009054906101000a900460ff161561305e5761305983613508565b613177565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156130c657506040513d601f19601f820116820180604052508101906130c391906152d7565b60015b613105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fc90615376565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461316a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316190615408565b60405180910390fd5b506131768383836135c1565b5b505050565b6131846135ed565b600060c960006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6131c86126f3565b6040516131d59190613fa1565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361324e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132459061549a565b60405180910390fd5b61325a826000836134d7565b6000609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156132e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d89061552c565b60405180910390fd5b818103609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081609960008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133959190613abb565b60405180910390a36133a9836000846134ef565b505050565b600060fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160fb60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61347c613636565b600160c960006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586134c06126f3565b6040516134cd9190613fa1565b60405180910390a1565b6134df613636565b6134ea838383613680565b505050565b505050565b6000819050919050565b6000819050919050565b61351181612ca1565b613550576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613547906155be565b60405180910390fd5b8061357d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6134f4565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6135ca83613685565b6000825111806135d75750805b156135e8576135e683836136d4565b505b505050565b6135f56119d5565b613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b9061562a565b60405180910390fd5b565b61363e6119d5565b1561367e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367590615696565b60405180910390fd5b565b505050565b61368e81613508565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606136df83612ca1565b61371e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371590615728565b60405180910390fd5b6000808473ffffffffffffffffffffffffffffffffffffffff1684604051613746919061578f565b600060405180830381855af49150503d8060008114613781576040519150601f19603f3d011682016040523d82523d6000602084013e613786565b606091505b50915091506137ae82826040518060600160405280602781526020016157a7602791396137b8565b9250505092915050565b606083156137c8578290506137d3565b6137d283836137da565b5b9392505050565b6000825111156137ed5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138219190613980565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f8401126138635761386261383e565b5b8235905067ffffffffffffffff8111156138805761387f613843565b5b60208301915083602082028301111561389c5761389b613848565b5b9250929050565b600080602083850312156138ba576138b9613834565b5b600083013567ffffffffffffffff8111156138d8576138d7613839565b5b6138e48582860161384d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561392a57808201518184015260208101905061390f565b60008484015250505050565b6000601f19601f8301169050919050565b6000613952826138f0565b61395c81856138fb565b935061396c81856020860161390c565b61397581613936565b840191505092915050565b6000602082019050818103600083015261399a8184613947565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139cd826139a2565b9050919050565b6139dd816139c2565b81146139e857600080fd5b50565b6000813590506139fa816139d4565b92915050565b6000819050919050565b613a1381613a00565b8114613a1e57600080fd5b50565b600081359050613a3081613a0a565b92915050565b60008060408385031215613a4d57613a4c613834565b5b6000613a5b858286016139eb565b9250506020613a6c85828601613a21565b9150509250929050565b60008115159050919050565b613a8b81613a76565b82525050565b6000602082019050613aa66000830184613a82565b92915050565b613ab581613a00565b82525050565b6000602082019050613ad06000830184613aac565b92915050565b600080600060608486031215613aef57613aee613834565b5b6000613afd868287016139eb565b9350506020613b0e868287016139eb565b9250506040613b1f86828701613a21565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b6682613936565b810181811067ffffffffffffffff82111715613b8557613b84613b2e565b5b80604052505050565b6000613b9861382a565b9050613ba48282613b5d565b919050565b600067ffffffffffffffff821115613bc457613bc3613b2e565b5b613bcd82613936565b9050602081019050919050565b82818337600083830152505050565b6000613bfc613bf784613ba9565b613b8e565b905082815260208101848484011115613c1857613c17613b29565b5b613c23848285613bda565b509392505050565b600082601f830112613c4057613c3f61383e565b5b8135613c50848260208601613be9565b91505092915050565b600060ff82169050919050565b613c6f81613c59565b8114613c7a57600080fd5b50565b600081359050613c8c81613c66565b92915050565b60008060008060808587031215613cac57613cab613834565b5b600085013567ffffffffffffffff811115613cca57613cc9613839565b5b613cd687828801613c2b565b945050602085013567ffffffffffffffff811115613cf757613cf6613839565b5b613d0387828801613c2b565b9350506040613d1487828801613c7d565b9250506060613d2587828801613a21565b91505092959194509250565b613d3a81613c59565b82525050565b6000602082019050613d556000830184613d31565b92915050565b613d6481613a76565b8114613d6f57600080fd5b50565b600081359050613d8181613d5b565b92915050565b600060208284031215613d9d57613d9c613834565b5b6000613dab84828501613d72565b91505092915050565b600060208284031215613dca57613dc9613834565b5b6000613dd8848285016139eb565b91505092915050565b600060208284031215613df757613df6613834565b5b6000613e0584828501613a21565b91505092915050565b600067ffffffffffffffff821115613e2957613e28613b2e565b5b613e3282613936565b9050602081019050919050565b6000613e52613e4d84613e0e565b613b8e565b905082815260208101848484011115613e6e57613e6d613b29565b5b613e79848285613bda565b509392505050565b600082601f830112613e9657613e9561383e565b5b8135613ea6848260208601613e3f565b91505092915050565b60008060408385031215613ec657613ec5613834565b5b6000613ed4858286016139eb565b925050602083013567ffffffffffffffff811115613ef557613ef4613839565b5b613f0185828601613e81565b9150509250929050565b6000819050919050565b613f1e81613f0b565b82525050565b6000602082019050613f396000830184613f15565b92915050565b600080600060608486031215613f5857613f57613834565b5b6000613f6686828701613a21565b9350506020613f7786828701613a21565b9250506040613f8886828701613a21565b9150509250925092565b613f9b816139c2565b82525050565b6000602082019050613fb66000830184613f92565b92915050565b600080600060608486031215613fd557613fd4613834565b5b6000613fe3868287016139eb565b9350506020613ff4868287016139eb565b9250506040614005868287016139eb565b9150509250925092565b6000806040838503121561402657614025613834565b5b6000614034858286016139eb565b9250506020614045858286016139eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140b882613a00565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036140ea576140e961407e565b5b600182019050919050565b600081905092915050565b6000819050919050565b614113816139c2565b82525050565b6000614125838361410a565b60208301905092915050565b600061414060208401846139eb565b905092915050565b6000602082019050919050565b600061416183856140f5565b935061416c82614100565b8060005b858110156141a5576141828284614131565b61418c8882614119565b975061419783614148565b925050600181019050614170565b5085925050509392505050565b60006141bf828486614155565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421257607f821691505b602082108103614225576142246141cb565b5b50919050565b7f4163636f756e74206973206e6f742077686974656c6973746564000000000000600082015250565b6000614261601a836138fb565b915061426c8261422b565b602082019050919050565b6000602082019050818103600083015261429081614254565b9050919050565b7f4163636f756e7420697320626c61636b6c697374656400000000000000000000600082015250565b60006142cd6016836138fb565b91506142d882614297565b602082019050919050565b600060208201905081810360008301526142fc816142c0565b9050919050565b600061430e82613a00565b915061431983613a00565b92508282039050818111156143315761433061407e565b5b92915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000614393602e836138fb565b915061439e82614337565b604082019050919050565b600060208201905081810360008301526143c281614386565b9050919050565b7f4e616d6520697320726571756972656400000000000000000000000000000000600082015250565b60006143ff6010836138fb565b915061440a826143c9565b602082019050919050565b6000602082019050818103600083015261442e816143f2565b9050919050565b7f53796d626f6c2069732072657175697265640000000000000000000000000000600082015250565b600061446b6012836138fb565b915061447682614435565b602082019050919050565b6000602082019050818103600083015261449a8161445e565b9050919050565b7f446563696d616c20697320726571756972656420616e642063616e6e6f74206260008201527f65206d6f7265207468616e203138000000000000000000000000000000000000602082015250565b60006144fd602e836138fb565b9150614508826144a1565b604082019050919050565b6000602082019050818103600083015261452c816144f0565b9050919050565b7f546f74616c20537570706c792069732072657175697265640000000000000000600082015250565b60006145696018836138fb565b915061457482614533565b602082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b6000819050919050565b6000819050919050565b60006145ce6145c96145c48461459f565b6145a9565b613c59565b9050919050565b6145de816145b3565b82525050565b60006020820190506145f960008301846145d5565b92915050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b600061465b602c836138fb565b9150614666826145ff565b604082019050919050565b6000602082019050818103600083015261468a8161464e565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b60006146ed602c836138fb565b91506146f882614691565b604082019050919050565b6000602082019050818103600083015261471c816146e0565b9050919050565b600061472e82613a00565b915061473983613a00565b92508282019050808211156147515761475061407e565b5b92915050565b7f4163636f756e742063616e74206265207a65726f206164647265737300000000600082015250565b600061478d601c836138fb565b915061479882614757565b602082019050919050565b600060208201905081810360008301526147bc81614780565b9050919050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061481f6038836138fb565b915061482a826147c3565b604082019050919050565b6000602082019050818103600083015261484e81614812565b9050919050565b7f546f74616c2070657263656e746167652073686f756c64206265203130300000600082015250565b600061488b601e836138fb565b915061489682614855565b602082019050919050565b600060208201905081810360008301526148ba8161487e565b9050919050565b60006060820190506148d66000830186613aac565b6148e36020830185613aac565b6148f06040830184613aac565b949350505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006149546025836138fb565b915061495f826148f8565b604082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f4163636f756e7420697320616c72656164792077686974656c69737465640000600082015250565b60006149c0601e836138fb565b91506149cb8261498a565b602082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a526026836138fb565b9150614a5d826149f6565b604082019050919050565b60006020820190508181036000830152614a8181614a45565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614abe6020836138fb565b9150614ac982614a88565b602082019050919050565b60006020820190508181036000830152614aed81614ab1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b506024836138fb565b9150614b5b82614af4565b604082019050919050565b60006020820190508181036000830152614b7f81614b43565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614be26022836138fb565b9150614bed82614b86565b604082019050919050565b60006020820190508181036000830152614c1181614bd5565b9050919050565b6000614c2382613a00565b9150614c2e83613a00565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6757614c6661407e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cac82613a00565b9150614cb783613a00565b925082614cc757614cc6614c72565b5b828204905092915050565b6000608082019050614ce76000830187613aac565b614cf46020830186613aac565b614d016040830185613aac565b614d0e6060830184613aac565b95945050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d736025836138fb565b9150614d7e82614d17565b604082019050919050565b60006020820190508181036000830152614da281614d66565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e056023836138fb565b9150614e1082614da9565b604082019050919050565b60006020820190508181036000830152614e3481614df8565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614e976026836138fb565b9150614ea282614e3b565b604082019050919050565b60006020820190508181036000830152614ec681614e8a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614f03601d836138fb565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614f95602b836138fb565b9150614fa082614f39565b604082019050919050565b60006020820190508181036000830152614fc481614f88565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261502d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614ff0565b6150378683614ff0565b95508019841693508086168417925050509392505050565b600061506a61506561506084613a00565b6145a9565b613a00565b9050919050565b6000819050919050565b6150848361504f565b61509861509082615071565b848454614ffd565b825550505050565b600090565b6150ad6150a0565b6150b881848461507b565b505050565b5b818110156150dc576150d16000826150a5565b6001810190506150be565b5050565b601f821115615121576150f281614fcb565b6150fb84614fe0565b8101602085101561510a578190505b61511e61511685614fe0565b8301826150bd565b50505b505050565b600082821c905092915050565b600061514460001984600802615126565b1980831691505092915050565b600061515d8383615133565b9150826002028217905092915050565b615176826138f0565b67ffffffffffffffff81111561518f5761518e613b2e565b5b61519982546141fa565b6151a48282856150e0565b600060209050601f8311600181146151d757600084156151c5578287015190505b6151cf8582615151565b865550615237565b601f1984166151e586614fcb565b60005b8281101561520d578489015182556001820191506020850194506020810190506151e8565b8683101561522a5784890151615226601f891682615133565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000615275601f836138fb565b91506152808261523f565b602082019050919050565b600060208201905081810360008301526152a481615268565b9050919050565b6152b481613f0b565b81146152bf57600080fd5b50565b6000815190506152d1816152ab565b92915050565b6000602082840312156152ed576152ec613834565b5b60006152fb848285016152c2565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000615360602e836138fb565b915061536b82615304565b604082019050919050565b6000602082019050818103600083015261538f81615353565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b60006153f26029836138fb565b91506153fd82615396565b604082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006154846021836138fb565b915061548f82615428565b604082019050919050565b600060208201905081810360008301526154b381615477565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006155166022836138fb565b9150615521826154ba565b604082019050919050565b6000602082019050818103600083015261554581615509565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b60006155a8602d836138fb565b91506155b38261554c565b604082019050919050565b600060208201905081810360008301526155d78161559b565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006156146014836138fb565b915061561f826155de565b602082019050919050565b6000602082019050818103600083015261564381615607565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156806010836138fb565b915061568b8261564a565b602082019050919050565b600060208201905081810360008301526156af81615673565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b60006157126026836138fb565b915061571d826156b6565b604082019050919050565b6000602082019050818103600083015261574181615705565b9050919050565b600081519050919050565b600081905092915050565b600061576982615748565b6157738185615753565b935061578381856020860161390c565b80840191505092915050565b600061579b828461575e565b91508190509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207bd43d7c8c4c6cb9c6e42952a31fdefe795b9a84919d51a9026c79c1202f84a464736f6c63430008100033
Deployed Bytecode
0x60806040526004361061027d5760003560e01c8063715018a61161014f578063c1d860a8116100c1578063cfdb63ac1161007a578063cfdb63ac1461093d578063dd62ed3e1461097a578063e43252d7146109b7578063e5c2948d146109e0578063f0ef5e7d14610a0b578063f2fde38b14610a365761027d565b8063c1d860a814610853578063c3d1e8731461087c578063c4981397146108a7578063c9c57d91146108d0578063ca628c78146108fb578063cad359f0146109125761027d565b80638da5cb5b116101135780638da5cb5b1461071d57806395d89b4114610748578063a20623ce14610773578063a457c2d7146107b0578063a66b2277146107ed578063a9059cbb146108165761027d565b8063715018a61461067257806379cc6790146106895780638456cb59146106b257806388f8a18e146106c95780638ab1d681146106f45761027d565b80633f4ba83a116101f357806352d1902d116101ac57806352d1902d14610562578063537df3b61461058d5780635c975abb146105b65780636a2b166b146105e15780636b88027d1461060c57806370a08231146106355761027d565b80633f4ba83a1461048757806342966c681461049e57806344337ea1146104c757806344aab59a146104f05780634abba2801461051b5780634f1ef286146105465761027d565b8063253279ad11610245578063253279ad1461037b578063313ce567146103a45780633231bc90146103cf5780633659cfe6146103f857806339509351146104215780633f131c6a1461045e5761027d565b806306f5329e1461028257806306fdde03146102ab578063095ea7b3146102d657806318160ddd1461031357806323b872dd1461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906138a3565b610a5f565b005b3480156102b757600080fd5b506102c0610c2d565b6040516102cd9190613980565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613a36565b610cbf565b60405161030a9190613a91565b60405180910390f35b34801561031f57600080fd5b50610328610ce2565b6040516103359190613abb565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613ad6565b610cec565b6040516103729190613a91565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613c92565b610f1a565b005b3480156103b057600080fd5b506103b96112e3565b6040516103c69190613d40565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190613d87565b6112fb565b005b34801561040457600080fd5b5061041f600480360381019061041a9190613db4565b611358565b005b34801561042d57600080fd5b5061044860048036038101906104439190613a36565b6114e0565b6040516104559190613a91565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613de1565b611517565b005b34801561049357600080fd5b5061049c611561565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613de1565b611573565b005b3480156104d357600080fd5b506104ee60048036038101906104e99190613db4565b611587565b005b3480156104fc57600080fd5b5061050561172b565b6040516105129190613abb565b60405180910390f35b34801561052757600080fd5b50610530611732565b60405161053d9190613abb565b60405180910390f35b610560600480360381019061055b9190613eaf565b611739565b005b34801561056e57600080fd5b50610577611875565b6040516105849190613f24565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af9190613db4565b61192e565b005b3480156105c257600080fd5b506105cb6119d5565b6040516105d89190613a91565b60405180910390f35b3480156105ed57600080fd5b506105f66119ec565b6040516106039190613a91565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e9190613f3f565b611a00565b005b34801561064157600080fd5b5061065c60048036038101906106579190613db4565b611abf565b6040516106699190613abb565b60405180910390f35b34801561067e57600080fd5b50610687611b08565b005b34801561069557600080fd5b506106b060048036038101906106ab9190613a36565b611b1c565b005b3480156106be57600080fd5b506106c7611b3c565b005b3480156106d557600080fd5b506106de611b4e565b6040516106eb9190613fa1565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613db4565b611b75565b005b34801561072957600080fd5b50610732611c1c565b60405161073f9190613fa1565b60405180910390f35b34801561075457600080fd5b5061075d611c46565b60405161076a9190613980565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613db4565b611cd8565b6040516107a79190613a91565b60405180910390f35b3480156107bc57600080fd5b506107d760048036038101906107d29190613a36565b611cf9565b6040516107e49190613a91565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f91906138a3565b611d70565b005b34801561082257600080fd5b5061083d60048036038101906108389190613a36565b611f3e565b60405161084a9190613a91565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613fbc565b612168565b005b34801561088857600080fd5b506108916122ac565b60405161089e9190613a91565b60405180910390f35b3480156108b357600080fd5b506108ce60048036038101906108c99190613d87565b6122c0565b005b3480156108dc57600080fd5b506108e561231d565b6040516108f29190613abb565b60405180910390f35b34801561090757600080fd5b50610910612324565b005b34801561091e57600080fd5b50610927612351565b6040516109349190613fa1565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613db4565b612378565b6040516109719190613a91565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c919061400f565b612399565b6040516109ae9190613abb565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d99190613db4565b612420565b005b3480156109ec57600080fd5b506109f56125c4565b604051610a029190613abb565b60405180910390f35b348015610a1757600080fd5b50610a206125cb565b604051610a2d9190613fa1565b60405180910390f35b348015610a4257600080fd5b50610a5d6004803603810190610a589190613db4565b6125f2565b005b610a67612675565b60005b82829050811015610be4576101676000848484818110610a8d57610a8c61404f565b5b9050602002016020810190610aa29190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610b4b5750600073ffffffffffffffffffffffffffffffffffffffff16838383818110610b1d57610b1c61404f565b5b9050602002016020810190610b329190613db4565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610bd15760016101676000858585818110610b6a57610b6961404f565b5b9050602002016020810190610b7f9190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080610bdc906140ad565b915050610a6a565b508181604051610bf59291906141b2565b60405180910390207f3821ed6f04dfab717234279d94c6c1450f829d26adbc1b89010e302a3acac5a760405160405180910390a25050565b6060609a8054610c3c906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c68906141fa565b8015610cb55780601f10610c8a57610100808354040283529160200191610cb5565b820191906000526020600020905b815481529060010190602001808311610c9857829003601f168201915b5050505050905090565b600080610cca6126f3565b9050610cd78185856126fb565b600191505092915050565b6000609954905090565b600080610cf76126f3565b905061016960009054906101000a900460ff1615610d9d5761016760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390614277565b60405180910390fd5b5b61016860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e22906142e3565b60405180910390fd5b600061016960019054906101000a900460ff1615610ef757600080600080610e52886128c4565b93509350935093508388610e669190614303565b9450610e968a61016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168561299c565b610ec48a61016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461299c565b610ef28a61016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168361299c565b505050505b610f02868386612c15565b610f0d86868361299c565b6001925050509392505050565b60008060019054906101000a900460ff16159050808015610f4b5750600160008054906101000a900460ff1660ff16105b80610f785750610f5a30612ca1565b158015610f775750600160008054906101000a900460ff1660ff16145b5b610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae906143a9565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610ff4576001600060016101000a81548160ff0219169083151502179055505b6000855103611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90614415565b60405180910390fd5b600084510361107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390614481565b60405180910390fd5b60008360ff16118015611092575060138360ff16105b6110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890614513565b60405180910390fd5b60008211611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b9061457f565b60405180910390fd5b61106861016081905550602361016181905550602361016281905550601e61016381905550731c1d537db858fe8ffb6146248c1209163a89256761016460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aa3295cb680f54b88cbcb21c741fc4d006deb0be61016560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735f048a5f76a0b7dc77b44cdc52d93699884349d061016660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611243612cc4565b61124d8585612d15565b611255612d88565b61125d612df4565b8261015f60006101000a81548160ff021916908360ff1602179055506112833383612e55565b80156112dc5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516112d391906145e4565b60405180910390a15b5050505050565b600061015f60009054906101000a900460ff16905090565b611303612675565b8061016960006101000a81548160ff0219169083151502179055507f6b99ee93a85f70e9a7fd9accff91a74fbc9bc773fb17f4b01b4292c570d1d6c98160405161134d9190613a91565b60405180910390a150565b7f000000000000000000000000d15ccc7e35cbd7d3a5b0972e6d3734e946f2221c73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90614671565b60405180910390fd5b7f000000000000000000000000d15ccc7e35cbd7d3a5b0972e6d3734e946f2221c73ffffffffffffffffffffffffffffffffffffffff16611425612fac565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147290614703565b60405180910390fd5b61148481613003565b6114dd81600067ffffffffffffffff8111156114a3576114a2613b2e565b5b6040519080825280601f01601f1916602001820160405280156114d55781602001600182028036833780820191505090505b50600061300e565b50565b6000806114eb6126f3565b905061150c8185856114fd8589612399565b6115079190614723565b6126fb565b600191505092915050565b61151f612675565b80610160819055507ff9fa89e518ac8594915a7320fd28241ed7f6cc08cbdfce70f6c66c2db40fb124816040516115569190613abb565b60405180910390a150565b611569612675565b61157161317c565b565b61158461157e6126f3565b826131df565b50565b61158f612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f5906147a3565b60405180910390fd5b61016860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906142e3565b60405180910390fd5b600161016860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f7fd26be6fc92aff63f1f4409b2b2ddeb272a888031d7f55ec830485ec619418660405160405180910390a250565b6101605481565b6101635481565b7f000000000000000000000000d15ccc7e35cbd7d3a5b0972e6d3734e946f2221c73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16036117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90614671565b60405180910390fd5b7f000000000000000000000000d15ccc7e35cbd7d3a5b0972e6d3734e946f2221c73ffffffffffffffffffffffffffffffffffffffff16611806612fac565b73ffffffffffffffffffffffffffffffffffffffff161461185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390614703565b60405180910390fd5b61186582613003565b6118718282600161300e565b5050565b60007f000000000000000000000000d15ccc7e35cbd7d3a5b0972e6d3734e946f2221c73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90614835565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b611936612675565b600061016860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe0bdc13f0469acd2e8fc64a0182422a26a64c90229a4347e29f7fddde616b1e260405160405180910390a250565b600060c960009054906101000a900460ff16905090565b61016960009054906101000a900460ff1681565b611a08612675565b6000818385611a179190614723565b611a219190614723565b905060648114611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d906148a1565b60405180910390fd5b8361016181905550826101628190555081610163819055507fc300548cf6a33f676e068b40838a24b93843ddb5b05ebad2f78818a3f105b0d2848484604051611ab1939291906148c1565b60405180910390a150505050565b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b10612675565b611b1a60006133ae565b565b611b2e82611b286126f3565b83612c15565b611b3882826131df565b5050565b611b44612675565b611b4c613474565b565b61016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b7d612675565b600061016760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f4fd8e7b4409049cb60294af8370bea5fe8b3c33891697a4b702d6a250fb5eef960405160405180910390a250565b600060fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609b8054611c55906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611c81906141fa565b8015611cce5780601f10611ca357610100808354040283529160200191611cce565b820191906000526020600020905b815481529060010190602001808311611cb157829003601f168201915b5050505050905090565b6101686020528060005260406000206000915054906101000a900460ff1681565b600080611d046126f3565b90506000611d128286612399565b905083811015611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e9061496a565b60405180910390fd5b611d6482868684036126fb565b60019250505092915050565b611d78612675565b60005b82829050811015611ef5576101686000848484818110611d9e57611d9d61404f565b5b9050602002016020810190611db39190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611e5c5750600073ffffffffffffffffffffffffffffffffffffffff16838383818110611e2e57611e2d61404f565b5b9050602002016020810190611e439190613db4565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611ee25760016101686000858585818110611e7b57611e7a61404f565b5b9050602002016020810190611e909190613db4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080611eed906140ad565b915050611d7b565b508181604051611f069291906141b2565b60405180910390207fbbf63b1321633f669abdecc9cbeed2679c72292dea6e908d9300290d1cf942ce60405160405180910390a25050565b600061016960009054906101000a900460ff1615611fe45761016760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90614277565b60405180910390fd5b5b61016860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612072576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612069906142e3565b60405180910390fd5b60008061207d6126f3565b905061016960019054906101000a900460ff161561214d576000806000806120a4886128c4565b935093509350935083886120b89190614303565b95506120e88561016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168561299c565b6121168561016560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461299c565b6121448561016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168361299c565b50505050612151565b8391505b61215c81868461299c565b60019250505092915050565b612170612675565b8261016460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508161016560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508061016660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe277a3205602f91f1fae811585d3f19cefa47b079e8c9c4e6040a001dc83da1560405160405180910390a4505050565b61016960019054906101000a900460ff1681565b6122c8612675565b8061016960016101000a81548160ff0219169083151502179055507f3c566641e546b5772e66cff9fa63f7d07ba1663cfaf7f00f666bc56f9f0d2db6816040516123129190613a91565b60405180910390a150565b6101625481565b61232c612675565b600061233730611abf565b9050600081111561234e5761234d30338361299c565b5b50565b61016460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101676020528060005260406000206000915054906101000a900460ff1681565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612428612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e906147a3565b60405180910390fd5b61016760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251c906149d6565b60405180910390fd5b600161016760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f2e00aa132a0165955a7de5481083fd2933e22d472949147a9c3c69eec84c170060405160405180910390a250565b6101615481565b61016660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6125fa612675565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266090614a68565b60405180910390fd5b612672816133ae565b50565b61267d6126f3565b73ffffffffffffffffffffffffffffffffffffffff1661269b611c1c565b73ffffffffffffffffffffffffffffffffffffffff16146126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e890614ad4565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614b66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d090614bf8565b60405180910390fd5b80609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516128b79190613abb565b60405180910390a3505050565b6000806000806000620186a061016054876128df9190614c18565b6128e99190614ca1565b90506000606461016154836128fe9190614c18565b6129089190614ca1565b905060006064610162548461291d9190614c18565b6129279190614ca1565b905060006064610163548561293c9190614c18565b6129469190614ca1565b90507f2acac94644e768c759cd8d1edcc72ef6d5c113c28391a99807b16e36f75e6fdd8484848460405161297d9493929190614cd2565b60405180910390a1838383839750975097509750505050509193509193565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0290614d89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7190614e1b565b60405180910390fd5b612a858383836134d7565b6000609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0390614ead565b60405180910390fd5b818103609760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612bfc9190613abb565b60405180910390a3612c0f8484846134ef565b50505050565b6000612c218484612399565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612c9b5781811015612c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8490614f19565b60405180910390fd5b612c9a84848484036126fb565b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0a90614fab565b60405180910390fd5b565b600060019054906101000a900460ff16612d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5b90614fab565b60405180910390fd5b81609a9081612d73919061516d565b5080609b9081612d83919061516d565b505050565b600060019054906101000a900460ff16612dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dce90614fab565b60405180910390fd5b600060c960006101000a81548160ff021916908315150217905550565b600060019054906101000a900460ff16612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614fab565b60405180910390fd5b612e53612e4e6126f3565b6133ae565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebb9061528b565b60405180910390fd5b612ed0600083836134d7565b8060996000828254612ee29190614723565b9250508190555080609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f949190613abb565b60405180910390a3612fa8600083836134ef565b5050565b6000612fda7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6134f4565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61300b612675565b50565b61303a7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b6134fe565b60000160009054906101000a900460ff161561305e5761305983613508565b613177565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156130c657506040513d601f19601f820116820180604052508101906130c391906152d7565b60015b613105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fc90615376565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461316a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316190615408565b60405180910390fd5b506131768383836135c1565b5b505050565b6131846135ed565b600060c960006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6131c86126f3565b6040516131d59190613fa1565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361324e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132459061549a565b60405180910390fd5b61325a826000836134d7565b6000609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156132e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d89061552c565b60405180910390fd5b818103609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081609960008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133959190613abb565b60405180910390a36133a9836000846134ef565b505050565b600060fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160fb60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61347c613636565b600160c960006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586134c06126f3565b6040516134cd9190613fa1565b60405180910390a1565b6134df613636565b6134ea838383613680565b505050565b505050565b6000819050919050565b6000819050919050565b61351181612ca1565b613550576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613547906155be565b60405180910390fd5b8061357d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6134f4565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6135ca83613685565b6000825111806135d75750805b156135e8576135e683836136d4565b505b505050565b6135f56119d5565b613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b9061562a565b60405180910390fd5b565b61363e6119d5565b1561367e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367590615696565b60405180910390fd5b565b505050565b61368e81613508565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606136df83612ca1565b61371e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371590615728565b60405180910390fd5b6000808473ffffffffffffffffffffffffffffffffffffffff1684604051613746919061578f565b600060405180830381855af49150503d8060008114613781576040519150601f19603f3d011682016040523d82523d6000602084013e613786565b606091505b50915091506137ae82826040518060600160405280602781526020016157a7602791396137b8565b9250505092915050565b606083156137c8578290506137d3565b6137d283836137da565b5b9392505050565b6000825111156137ed5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138219190613980565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f8401126138635761386261383e565b5b8235905067ffffffffffffffff8111156138805761387f613843565b5b60208301915083602082028301111561389c5761389b613848565b5b9250929050565b600080602083850312156138ba576138b9613834565b5b600083013567ffffffffffffffff8111156138d8576138d7613839565b5b6138e48582860161384d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561392a57808201518184015260208101905061390f565b60008484015250505050565b6000601f19601f8301169050919050565b6000613952826138f0565b61395c81856138fb565b935061396c81856020860161390c565b61397581613936565b840191505092915050565b6000602082019050818103600083015261399a8184613947565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139cd826139a2565b9050919050565b6139dd816139c2565b81146139e857600080fd5b50565b6000813590506139fa816139d4565b92915050565b6000819050919050565b613a1381613a00565b8114613a1e57600080fd5b50565b600081359050613a3081613a0a565b92915050565b60008060408385031215613a4d57613a4c613834565b5b6000613a5b858286016139eb565b9250506020613a6c85828601613a21565b9150509250929050565b60008115159050919050565b613a8b81613a76565b82525050565b6000602082019050613aa66000830184613a82565b92915050565b613ab581613a00565b82525050565b6000602082019050613ad06000830184613aac565b92915050565b600080600060608486031215613aef57613aee613834565b5b6000613afd868287016139eb565b9350506020613b0e868287016139eb565b9250506040613b1f86828701613a21565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b6682613936565b810181811067ffffffffffffffff82111715613b8557613b84613b2e565b5b80604052505050565b6000613b9861382a565b9050613ba48282613b5d565b919050565b600067ffffffffffffffff821115613bc457613bc3613b2e565b5b613bcd82613936565b9050602081019050919050565b82818337600083830152505050565b6000613bfc613bf784613ba9565b613b8e565b905082815260208101848484011115613c1857613c17613b29565b5b613c23848285613bda565b509392505050565b600082601f830112613c4057613c3f61383e565b5b8135613c50848260208601613be9565b91505092915050565b600060ff82169050919050565b613c6f81613c59565b8114613c7a57600080fd5b50565b600081359050613c8c81613c66565b92915050565b60008060008060808587031215613cac57613cab613834565b5b600085013567ffffffffffffffff811115613cca57613cc9613839565b5b613cd687828801613c2b565b945050602085013567ffffffffffffffff811115613cf757613cf6613839565b5b613d0387828801613c2b565b9350506040613d1487828801613c7d565b9250506060613d2587828801613a21565b91505092959194509250565b613d3a81613c59565b82525050565b6000602082019050613d556000830184613d31565b92915050565b613d6481613a76565b8114613d6f57600080fd5b50565b600081359050613d8181613d5b565b92915050565b600060208284031215613d9d57613d9c613834565b5b6000613dab84828501613d72565b91505092915050565b600060208284031215613dca57613dc9613834565b5b6000613dd8848285016139eb565b91505092915050565b600060208284031215613df757613df6613834565b5b6000613e0584828501613a21565b91505092915050565b600067ffffffffffffffff821115613e2957613e28613b2e565b5b613e3282613936565b9050602081019050919050565b6000613e52613e4d84613e0e565b613b8e565b905082815260208101848484011115613e6e57613e6d613b29565b5b613e79848285613bda565b509392505050565b600082601f830112613e9657613e9561383e565b5b8135613ea6848260208601613e3f565b91505092915050565b60008060408385031215613ec657613ec5613834565b5b6000613ed4858286016139eb565b925050602083013567ffffffffffffffff811115613ef557613ef4613839565b5b613f0185828601613e81565b9150509250929050565b6000819050919050565b613f1e81613f0b565b82525050565b6000602082019050613f396000830184613f15565b92915050565b600080600060608486031215613f5857613f57613834565b5b6000613f6686828701613a21565b9350506020613f7786828701613a21565b9250506040613f8886828701613a21565b9150509250925092565b613f9b816139c2565b82525050565b6000602082019050613fb66000830184613f92565b92915050565b600080600060608486031215613fd557613fd4613834565b5b6000613fe3868287016139eb565b9350506020613ff4868287016139eb565b9250506040614005868287016139eb565b9150509250925092565b6000806040838503121561402657614025613834565b5b6000614034858286016139eb565b9250506020614045858286016139eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140b882613a00565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036140ea576140e961407e565b5b600182019050919050565b600081905092915050565b6000819050919050565b614113816139c2565b82525050565b6000614125838361410a565b60208301905092915050565b600061414060208401846139eb565b905092915050565b6000602082019050919050565b600061416183856140f5565b935061416c82614100565b8060005b858110156141a5576141828284614131565b61418c8882614119565b975061419783614148565b925050600181019050614170565b5085925050509392505050565b60006141bf828486614155565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421257607f821691505b602082108103614225576142246141cb565b5b50919050565b7f4163636f756e74206973206e6f742077686974656c6973746564000000000000600082015250565b6000614261601a836138fb565b915061426c8261422b565b602082019050919050565b6000602082019050818103600083015261429081614254565b9050919050565b7f4163636f756e7420697320626c61636b6c697374656400000000000000000000600082015250565b60006142cd6016836138fb565b91506142d882614297565b602082019050919050565b600060208201905081810360008301526142fc816142c0565b9050919050565b600061430e82613a00565b915061431983613a00565b92508282039050818111156143315761433061407e565b5b92915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000614393602e836138fb565b915061439e82614337565b604082019050919050565b600060208201905081810360008301526143c281614386565b9050919050565b7f4e616d6520697320726571756972656400000000000000000000000000000000600082015250565b60006143ff6010836138fb565b915061440a826143c9565b602082019050919050565b6000602082019050818103600083015261442e816143f2565b9050919050565b7f53796d626f6c2069732072657175697265640000000000000000000000000000600082015250565b600061446b6012836138fb565b915061447682614435565b602082019050919050565b6000602082019050818103600083015261449a8161445e565b9050919050565b7f446563696d616c20697320726571756972656420616e642063616e6e6f74206260008201527f65206d6f7265207468616e203138000000000000000000000000000000000000602082015250565b60006144fd602e836138fb565b9150614508826144a1565b604082019050919050565b6000602082019050818103600083015261452c816144f0565b9050919050565b7f546f74616c20537570706c792069732072657175697265640000000000000000600082015250565b60006145696018836138fb565b915061457482614533565b602082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b6000819050919050565b6000819050919050565b60006145ce6145c96145c48461459f565b6145a9565b613c59565b9050919050565b6145de816145b3565b82525050565b60006020820190506145f960008301846145d5565b92915050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b600061465b602c836138fb565b9150614666826145ff565b604082019050919050565b6000602082019050818103600083015261468a8161464e565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b60006146ed602c836138fb565b91506146f882614691565b604082019050919050565b6000602082019050818103600083015261471c816146e0565b9050919050565b600061472e82613a00565b915061473983613a00565b92508282019050808211156147515761475061407e565b5b92915050565b7f4163636f756e742063616e74206265207a65726f206164647265737300000000600082015250565b600061478d601c836138fb565b915061479882614757565b602082019050919050565b600060208201905081810360008301526147bc81614780565b9050919050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c60008201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b600061481f6038836138fb565b915061482a826147c3565b604082019050919050565b6000602082019050818103600083015261484e81614812565b9050919050565b7f546f74616c2070657263656e746167652073686f756c64206265203130300000600082015250565b600061488b601e836138fb565b915061489682614855565b602082019050919050565b600060208201905081810360008301526148ba8161487e565b9050919050565b60006060820190506148d66000830186613aac565b6148e36020830185613aac565b6148f06040830184613aac565b949350505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006149546025836138fb565b915061495f826148f8565b604082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f4163636f756e7420697320616c72656164792077686974656c69737465640000600082015250565b60006149c0601e836138fb565b91506149cb8261498a565b602082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a526026836138fb565b9150614a5d826149f6565b604082019050919050565b60006020820190508181036000830152614a8181614a45565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614abe6020836138fb565b9150614ac982614a88565b602082019050919050565b60006020820190508181036000830152614aed81614ab1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b506024836138fb565b9150614b5b82614af4565b604082019050919050565b60006020820190508181036000830152614b7f81614b43565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614be26022836138fb565b9150614bed82614b86565b604082019050919050565b60006020820190508181036000830152614c1181614bd5565b9050919050565b6000614c2382613a00565b9150614c2e83613a00565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6757614c6661407e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cac82613a00565b9150614cb783613a00565b925082614cc757614cc6614c72565b5b828204905092915050565b6000608082019050614ce76000830187613aac565b614cf46020830186613aac565b614d016040830185613aac565b614d0e6060830184613aac565b95945050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d736025836138fb565b9150614d7e82614d17565b604082019050919050565b60006020820190508181036000830152614da281614d66565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e056023836138fb565b9150614e1082614da9565b604082019050919050565b60006020820190508181036000830152614e3481614df8565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614e976026836138fb565b9150614ea282614e3b565b604082019050919050565b60006020820190508181036000830152614ec681614e8a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614f03601d836138fb565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614f95602b836138fb565b9150614fa082614f39565b604082019050919050565b60006020820190508181036000830152614fc481614f88565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261502d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614ff0565b6150378683614ff0565b95508019841693508086168417925050509392505050565b600061506a61506561506084613a00565b6145a9565b613a00565b9050919050565b6000819050919050565b6150848361504f565b61509861509082615071565b848454614ffd565b825550505050565b600090565b6150ad6150a0565b6150b881848461507b565b505050565b5b818110156150dc576150d16000826150a5565b6001810190506150be565b5050565b601f821115615121576150f281614fcb565b6150fb84614fe0565b8101602085101561510a578190505b61511e61511685614fe0565b8301826150bd565b50505b505050565b600082821c905092915050565b600061514460001984600802615126565b1980831691505092915050565b600061515d8383615133565b9150826002028217905092915050565b615176826138f0565b67ffffffffffffffff81111561518f5761518e613b2e565b5b61519982546141fa565b6151a48282856150e0565b600060209050601f8311600181146151d757600084156151c5578287015190505b6151cf8582615151565b865550615237565b601f1984166151e586614fcb565b60005b8281101561520d578489015182556001820191506020850194506020810190506151e8565b8683101561522a5784890151615226601f891682615133565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000615275601f836138fb565b91506152808261523f565b602082019050919050565b600060208201905081810360008301526152a481615268565b9050919050565b6152b481613f0b565b81146152bf57600080fd5b50565b6000815190506152d1816152ab565b92915050565b6000602082840312156152ed576152ec613834565b5b60006152fb848285016152c2565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e7461746960008201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b6000615360602e836138fb565b915061536b82615304565b604082019050919050565b6000602082019050818103600083015261538f81615353565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f7860008201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b60006153f26029836138fb565b91506153fd82615396565b604082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006154846021836138fb565b915061548f82615428565b604082019050919050565b600060208201905081810360008301526154b381615477565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006155166022836138fb565b9150615521826154ba565b604082019050919050565b6000602082019050818103600083015261554581615509565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b60006155a8602d836138fb565b91506155b38261554c565b604082019050919050565b600060208201905081810360008301526155d78161559b565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006156146014836138fb565b915061561f826155de565b602082019050919050565b6000602082019050818103600083015261564381615607565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156806010836138fb565b915061568b8261564a565b602082019050919050565b600060208201905081810360008301526156af81615673565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b60006157126026836138fb565b915061571d826156b6565b604082019050919050565b6000602082019050818103600083015261574181615705565b9050919050565b600081519050919050565b600081905092915050565b600061576982615748565b6157738185615753565b935061578381856020860161390c565b80840191505092915050565b600061579b828461575e565b91508190509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207bd43d7c8c4c6cb9c6e42952a31fdefe795b9a84919d51a9026c79c1202f84a464736f6c63430008100033
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.