Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21105961 | 20 days ago | 0.01161788 ETH | ||||
21020472 | 32 days ago | 0.00627494 ETH | ||||
20692390 | 77 days ago | 0.01978765 ETH | ||||
19753786 | 209 days ago | 0.01214328 ETH | ||||
19753783 | 209 days ago | 0.01189412 ETH | ||||
19673792 | 220 days ago | 0.00177625 ETH | ||||
19601091 | 230 days ago | 0.00705973 ETH | ||||
19388702 | 260 days ago | 0.01928363 ETH | ||||
19332278 | 268 days ago | 0.02222961 ETH | ||||
19311096 | 271 days ago | 0.00094184 ETH | ||||
19305227 | 271 days ago | 0.00052104 ETH | ||||
19301852 | 272 days ago | 0.00733531 ETH | ||||
19266377 | 277 days ago | 0.0375912 ETH | ||||
19265999 | 277 days ago | 0.0250907 ETH | ||||
19262818 | 277 days ago | 0.03902807 ETH | ||||
19259709 | 278 days ago | 0.00655731 ETH | ||||
19259271 | 278 days ago | 0.0130318 ETH | ||||
19252842 | 279 days ago | 0.00549376 ETH | ||||
19240724 | 281 days ago | 0.00511555 ETH | ||||
19240645 | 281 days ago | 0.00607636 ETH | ||||
19238184 | 281 days ago | 0.01008245 ETH | ||||
19232744 | 282 days ago | 0.01724248 ETH | ||||
19229469 | 282 days ago | 0.00532855 ETH | ||||
19229206 | 282 days ago | 0.01684979 ETH | ||||
19222824 | 283 days ago | 0.03240206 ETH |
Loading...
Loading
Contract Name:
OTSeaDividends
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* [.... [... [...... [.. .. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [.. [. [.. [.. [.. [.. [.. [.. [.. [..... [..[.. [.. [.. [.. [.. [.. [..[. [.. [.. [.... [.. [.. .. [.... [.. [... OTSea Dividends Tracker Token. https://otsea.xyz/ https://t.me/OTSeaPortal https://twitter.com/OTSeaERC20 */ // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./SafeMath.sol"; pragma solidity ^0.8.19; contract DividendPayingToken is ERC20 { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 internal constant magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; event DividendsDistributed(address user, uint256 amount); event DividendWithdrawn(address user, uint256 amount); constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {} /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public payable virtual { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); (bool success, ) = user.call{value: _withdrawableDividend, gas: 3000}(""); if (!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view returns (uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view returns (uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view returns (uint256) { return magnifiedDividendPerShare .mul(balanceOf(_owner)) .toInt256Safe() .add(magnifiedDividendCorrections[_owner]) .toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer(address from, address to, uint256 value) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } } contract OTSeaDividends is DividendPayingToken, Ownable { using SafeMath for uint256; using SafeMathInt for int256; IERC20 token; mapping(address => bool) public excludedFromDividends; uint256 public closeTime; uint256 public constant claimGracePeriod = 60 days; event ExcludeFromDividends(address indexed account); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() DividendPayingToken("OTSEA_Dividends", "OTSEA_Dividends") { token = IERC20(msg.sender); } bool noWarning; function _transfer(address, address, uint256) internal override { require(false, "No transfers allowed"); noWarning = noWarning; } function withdrawDividend() public override { require( false, "withdrawDividend disabled. Use the 'claim' function on the main token contract." ); noWarning = noWarning; } function claim(address account) external onlyOwner { require(closeTime == 0 || block.timestamp < closeTime + claimGracePeriod, "closed"); _withdrawDividendOfUser(payable(account)); } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); emit ExcludeFromDividends(account); } function getAccount( address _account ) public view returns (address account, uint256 withdrawableDividends, uint256 totalDividends) { account = _account; withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); } function updateBalance(address payable account) external { if (excludedFromDividends[account]) { return; } _setBalance(account, token.balanceOf(account)); } //If the dividend contract needs to be updated, we can close //this one, and let people claim for a month //After that is over, we can take the remaining funds and //use for the project function close() external onlyOwner { require(closeTime == 0, "Contract was already closed."); closeTime = block.timestamp; } //Only allows funds to be taken if contract has been closed for a month function collect() external onlyOwner { require( closeTime >= 0 && block.timestamp >= closeTime + claimGracePeriod, "Cannot collect yet." ); (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimGracePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"close","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collect","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":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address payable","name":"account","type":"address"}],"name":"updateBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600f81526020017f4f545345415f4469766964656e647300000000000000000000000000000000008152506040518060400160405280600f81526020017f4f545345415f4469766964656e647300000000000000000000000000000000008152508181816003908162000091919062000457565b508060049081620000a3919062000457565b5050505050620000c8620000bc6200010f60201b60201c565b6200011760201b60201c565b33600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200053e565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200025f57607f821691505b60208210810362000275576200027462000217565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002df7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002a0565b620002eb8683620002a0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000338620003326200032c8462000303565b6200030d565b62000303565b9050919050565b6000819050919050565b620003548362000317565b6200036c62000363826200033f565b848454620002ad565b825550505050565b600090565b6200038362000374565b6200039081848462000349565b505050565b5b81811015620003b857620003ac60008262000379565b60018101905062000396565b5050565b601f8211156200040757620003d1816200027b565b620003dc8462000290565b81016020851015620003ec578190505b62000404620003fb8562000290565b83018262000395565b50505b505050565b600082821c905092915050565b60006200042c600019846008026200040c565b1980831691505092915050565b600062000447838362000419565b9150826002028217905092915050565b6200046282620001dd565b67ffffffffffffffff8111156200047e576200047d620001e8565b5b6200048a825462000246565b62000497828285620003bc565b600060209050601f831160018114620004cf5760008415620004ba578287015190505b620004c6858262000439565b86555062000536565b601f198416620004df866200027b565b60005b828110156200050957848901518255600182019150602085019450602081019050620004e2565b8683101562000529578489015162000525601f89168262000419565b8355505b6001600288020188555050505b505050505050565b612e8d806200054e6000396000f3fe6080604052600436106101d15760003560e01c806370a08231116100f7578063a8b9d24011610095578063dd62ed3e11610064578063dd62ed3e146106a6578063e5225381146106e3578063f2fde38b146106fa578063fbcbc0f114610723576101e0565b8063a8b9d240146105c4578063a9059cbb14610601578063aafd847a1461063e578063c9e7cc131461067b576101e0565b80638da5cb5b116100d15780638da5cb5b146104f457806391b89fba1461051f57806395d89b411461055c578063a457c2d714610587576101e0565b806370a0823114610475578063715018a6146104b257806385a6b3ae146104c9576101e0565b8063313ce5671161016f57806343d726d61161013e57806343d726d6146103df5780634e7b827f146103f6578063627749e6146104335780636a4740021461045e576101e0565b8063313ce5671461032557806331e79db014610350578063395093511461037957806340b8405a146103b6576101e0565b806318160ddd116101ab57806318160ddd146102575780631e83409a1461028257806323b872dd146102ab57806327ce0147146102e8576101e0565b806303c83302146101e557806306fdde03146101ef578063095ea7b31461021a576101e0565b366101e0576101de610762565b005b600080fd5b6101ed610762565b005b3480156101fb57600080fd5b50610204610826565b6040516102119190611fa5565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612060565b6108b8565b60405161024e91906120bb565b60405180910390f35b34801561026357600080fd5b5061026c6108db565b60405161027991906120e5565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612100565b6108e5565b005b3480156102b757600080fd5b506102d260048036038101906102cd919061212d565b610959565b6040516102df91906120bb565b60405180910390f35b3480156102f457600080fd5b5061030f600480360381019061030a9190612100565b610988565b60405161031c91906120e5565b60405180910390f35b34801561033157600080fd5b5061033a610a2b565b604051610347919061219c565b60405180910390f35b34801561035c57600080fd5b5061037760048036038101906103729190612100565b610a34565b005b34801561038557600080fd5b506103a0600480360381019061039b9190612060565b610ae5565b6040516103ad91906120bb565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d891906121f5565b610b1c565b005b3480156103eb57600080fd5b506103f4610c16565b005b34801561040257600080fd5b5061041d60048036038101906104189190612100565b610c6c565b60405161042a91906120bb565b60405180910390f35b34801561043f57600080fd5b50610448610c8c565b60405161045591906120e5565b60405180910390f35b34801561046a57600080fd5b50610473610c92565b005b34801561048157600080fd5b5061049c60048036038101906104979190612100565b610cfe565b6040516104a991906120e5565b60405180910390f35b3480156104be57600080fd5b506104c7610d46565b005b3480156104d557600080fd5b506104de610d5a565b6040516104eb91906120e5565b60405180910390f35b34801561050057600080fd5b50610509610d60565b6040516105169190612231565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190612100565b610d8a565b60405161055391906120e5565b60405180910390f35b34801561056857600080fd5b50610571610d9c565b60405161057e9190611fa5565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a99190612060565b610e2e565b6040516105bb91906120bb565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612100565b610ea5565b6040516105f891906120e5565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190612060565b610f08565b60405161063591906120bb565b60405180910390f35b34801561064a57600080fd5b5061066560048036038101906106609190612100565b610f2b565b60405161067291906120e5565b60405180910390f35b34801561068757600080fd5b50610690610f74565b60405161069d91906120e5565b60405180910390f35b3480156106b257600080fd5b506106cd60048036038101906106c8919061224c565b610f7b565b6040516106da91906120e5565b60405180910390f35b3480156106ef57600080fd5b506106f8611002565b005b34801561070657600080fd5b50610721600480360381019061071c9190612100565b6110e5565b005b34801561072f57600080fd5b5061074a60048036038101906107459190612100565b611168565b6040516107599392919061228c565b60405180910390f35b600061076c6108db565b1161077657600080fd5b6000341115610824576107c961078a6108db565b6107ae7001000000000000000000000000000000003461118d90919063ffffffff16565b6107b89190612321565b60055461120790919063ffffffff16565b6005819055507fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165113334604051610800929190612352565b60405180910390a161081d3460085461120790919063ffffffff16565b6008819055505b565b606060038054610835906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610861906123aa565b80156108ae5780601f10610883576101008083540402835291602001916108ae565b820191906000526020600020905b81548152906001019060200180831161089157829003601f168201915b5050505050905090565b6000806108c3611265565b90506108d081858561126d565b600191505092915050565b6000600254905090565b6108ed611436565b6000600c54148061090d5750624f1a00600c5461090a91906123db565b42105b61094c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109439061245b565b60405180910390fd5b610955816114b4565b5050565b600080610964611265565b90506109718582856116c4565b61097c858585611750565b60019150509392505050565b6000700100000000000000000000000000000000610a1a610a15600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a07610a026109f188610cfe565b60055461118d90919063ffffffff16565b6117bf565b6117dc90919063ffffffff16565b611827565b610a249190612321565b9050919050565b60006012905090565b610a3c611436565b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610a9f81600061183e565b8073ffffffffffffffffffffffffffffffffffffffff167fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2560405160405180910390a250565b600080610af0611265565b9050610b11818585610b028589610f7b565b610b0c91906123db565b61126d565b600191505092915050565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c1357610c1281600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610bcc91906124da565b602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061250a565b61183e565b5b50565b610c1e611436565b6000600c5414610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90612583565b60405180910390fd5b42600c81905550565b600b6020528060005260406000206000915054906101000a900460ff1681565b600c5481565b6000610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca9061263b565b60405180910390fd5b600d60009054906101000a900460ff16600d60006101000a81548160ff021916908315150217905550565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d4e611436565b610d5860006118ab565b565b60085481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610d9582610ea5565b9050919050565b606060048054610dab906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd7906123aa565b8015610e245780601f10610df957610100808354040283529160200191610e24565b820191906000526020600020905b815481529060010190602001808311610e0757829003601f168201915b5050505050905090565b600080610e39611265565b90506000610e478286610f7b565b905083811015610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906126cd565b60405180910390fd5b610e99828686840361126d565b60019250505092915050565b6000610f01600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef384610988565b61197190919063ffffffff16565b9050919050565b600080610f13611265565b9050610f20818585611750565b600191505092915050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b624f1a0081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61100a611436565b6000600c541015801561102d5750624f1a00600c5461102991906123db565b4210155b61106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106390612739565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516110929061278a565b60006040518083038185875af1925050503d80600081146110cf576040519150601f19603f3d011682016040523d82523d6000602084013e6110d4565b606091505b50509050806110e257600080fd5b50565b6110ed611436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390612811565b60405180910390fd5b611165816118ab565b50565b600080600083925061117983610ea5565b915061118483610988565b90509193909250565b600080830361119f5760009050611201565b600082846111ad9190612831565b90508284826111bc9190612321565b146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906128e5565b60405180910390fd5b809150505b92915050565b600080828461121691906123db565b90508381101561125b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125290612951565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d3906129e3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290612a75565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161142991906120e5565b60405180910390a3505050565b61143e611265565b73ffffffffffffffffffffffffffffffffffffffff1661145c610d60565b73ffffffffffffffffffffffffffffffffffffffff16146114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990612ae1565b60405180910390fd5b565b6000806114c083610ea5565b905060008111156116b95761151d81600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461120790919063ffffffff16565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d8382604051611591929190612b01565b60405180910390a160008373ffffffffffffffffffffffffffffffffffffffff1682610bb8906040516115c39061278a565b600060405180830381858888f193505050503d8060008114611601576040519150601f19603f3d011682016040523d82523d6000602084013e611606565b606091505b50509050806116af5761166182600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461197190919063ffffffff16565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000925050506116bf565b81925050506116bf565b60009150505b919050565b60006116d08484610f7b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461174a578181101561173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390612b76565b60405180910390fd5b611749848484840361126d565b5b50505050565b6000611791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178890612be2565b60405180910390fd5b600d60009054906101000a900460ff16600d60006101000a81548160ff021916908315150217905550505050565b60008082905060008112156117d357600080fd5b80915050919050565b60008082846117eb9190612c0c565b9050600083121580156117fe5750838112155b80611814575060008312801561181357508381125b5b61181d57600080fd5b8091505092915050565b60008082121561183657600080fd5b819050919050565b600061184983610cfe565b90508082111561187a576000611868828461197190919063ffffffff16565b905061187484826119bb565b506118a6565b808210156118a5576000611897838361197190919063ffffffff16565b90506118a38482611a7a565b505b5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006119b383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b39565b905092915050565b6119c58282611b9d565b611a336119e56119e08360055461118d90919063ffffffff16565b6117bf565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cf390919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611a848282611d3e565b611af2611aa4611a9f8360055461118d90919063ffffffff16565b6117bf565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117dc90919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000838311158290611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b789190611fa5565b60405180910390fd5b5060008385611b909190612c50565b9050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0390612cd0565b60405180910390fd5b611c1860008383611f0b565b8060026000828254611c2a91906123db565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cdb91906120e5565b60405180910390a3611cef60008383611f10565b5050565b6000808284611d029190612cf0565b905060008312158015611d155750838113155b80611d2b5750600083128015611d2a57508381135b5b611d3457600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da490612da5565b60405180910390fd5b611db982600083611f0b565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690612e37565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ef291906120e5565b60405180910390a3611f0683600084611f10565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f4f578082015181840152602081019050611f34565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f7782611f15565b611f818185611f20565b9350611f91818560208601611f31565b611f9a81611f5b565b840191505092915050565b60006020820190508181036000830152611fbf8184611f6c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ff782611fcc565b9050919050565b61200781611fec565b811461201257600080fd5b50565b60008135905061202481611ffe565b92915050565b6000819050919050565b61203d8161202a565b811461204857600080fd5b50565b60008135905061205a81612034565b92915050565b6000806040838503121561207757612076611fc7565b5b600061208585828601612015565b92505060206120968582860161204b565b9150509250929050565b60008115159050919050565b6120b5816120a0565b82525050565b60006020820190506120d060008301846120ac565b92915050565b6120df8161202a565b82525050565b60006020820190506120fa60008301846120d6565b92915050565b60006020828403121561211657612115611fc7565b5b600061212484828501612015565b91505092915050565b60008060006060848603121561214657612145611fc7565b5b600061215486828701612015565b935050602061216586828701612015565b92505060406121768682870161204b565b9150509250925092565b600060ff82169050919050565b61219681612180565b82525050565b60006020820190506121b1600083018461218d565b92915050565b60006121c282611fcc565b9050919050565b6121d2816121b7565b81146121dd57600080fd5b50565b6000813590506121ef816121c9565b92915050565b60006020828403121561220b5761220a611fc7565b5b6000612219848285016121e0565b91505092915050565b61222b81611fec565b82525050565b60006020820190506122466000830184612222565b92915050565b6000806040838503121561226357612262611fc7565b5b600061227185828601612015565b925050602061228285828601612015565b9150509250929050565b60006060820190506122a16000830186612222565b6122ae60208301856120d6565b6122bb60408301846120d6565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061232c8261202a565b91506123378361202a565b925082612347576123466122c3565b5b828204905092915050565b60006040820190506123676000830185612222565b61237460208301846120d6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123c257607f821691505b6020821081036123d5576123d461237b565b5b50919050565b60006123e68261202a565b91506123f18361202a565b9250828201905080821115612409576124086122f2565b5b92915050565b7f636c6f7365640000000000000000000000000000000000000000000000000000600082015250565b6000612445600683611f20565b91506124508261240f565b602082019050919050565b6000602082019050818103600083015261247481612438565b9050919050565b6000819050919050565b60006124a061249b61249684611fcc565b61247b565b611fcc565b9050919050565b60006124b282612485565b9050919050565b60006124c4826124a7565b9050919050565b6124d4816124b9565b82525050565b60006020820190506124ef60008301846124cb565b92915050565b60008151905061250481612034565b92915050565b6000602082840312156125205761251f611fc7565b5b600061252e848285016124f5565b91505092915050565b7f436f6e74726163742077617320616c726561647920636c6f7365642e00000000600082015250565b600061256d601c83611f20565b915061257882612537565b602082019050919050565b6000602082019050818103600083015261259c81612560565b9050919050565b7f77697468647261774469766964656e642064697361626c65642e20557365207460008201527f68652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2060208201527f746f6b656e20636f6e74726163742e0000000000000000000000000000000000604082015250565b6000612625604f83611f20565b9150612630826125a3565b606082019050919050565b6000602082019050818103600083015261265481612618565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006126b7602583611f20565b91506126c28261265b565b604082019050919050565b600060208201905081810360008301526126e6816126aa565b9050919050565b7f43616e6e6f7420636f6c6c656374207965742e00000000000000000000000000600082015250565b6000612723601383611f20565b915061272e826126ed565b602082019050919050565b6000602082019050818103600083015261275281612716565b9050919050565b600081905092915050565b50565b6000612774600083612759565b915061277f82612764565b600082019050919050565b600061279582612767565b9150819050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006127fb602683611f20565b91506128068261279f565b604082019050919050565b6000602082019050818103600083015261282a816127ee565b9050919050565b600061283c8261202a565b91506128478361202a565b92508282026128558161202a565b9150828204841483151761286c5761286b6122f2565b5b5092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b60006128cf602183611f20565b91506128da82612873565b604082019050919050565b600060208201905081810360008301526128fe816128c2565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b600061293b601b83611f20565b915061294682612905565b602082019050919050565b6000602082019050818103600083015261296a8161292e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129cd602483611f20565b91506129d882612971565b604082019050919050565b600060208201905081810360008301526129fc816129c0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a5f602283611f20565b9150612a6a82612a03565b604082019050919050565b60006020820190508181036000830152612a8e81612a52565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612acb602083611f20565b9150612ad682612a95565b602082019050919050565b60006020820190508181036000830152612afa81612abe565b9050919050565b6000604082019050612b1660008301856124cb565b612b2360208301846120d6565b9392505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b60601d83611f20565b9150612b6b82612b2a565b602082019050919050565b60006020820190508181036000830152612b8f81612b53565b9050919050565b7f4e6f207472616e736665727320616c6c6f776564000000000000000000000000600082015250565b6000612bcc601483611f20565b9150612bd782612b96565b602082019050919050565b60006020820190508181036000830152612bfb81612bbf565b9050919050565b6000819050919050565b6000612c1782612c02565b9150612c2283612c02565b925082820190508281121560008312168382126000841215161715612c4a57612c496122f2565b5b92915050565b6000612c5b8261202a565b9150612c668361202a565b9250828203905081811115612c7e57612c7d6122f2565b5b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612cba601f83611f20565b9150612cc582612c84565b602082019050919050565b60006020820190508181036000830152612ce981612cad565b9050919050565b6000612cfb82612c02565b9150612d0683612c02565b9250828203905081811260008412168282136000851215161715612d2d57612d2c6122f2565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d8f602183611f20565b9150612d9a82612d33565b604082019050919050565b60006020820190508181036000830152612dbe81612d82565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e21602283611f20565b9150612e2c82612dc5565b604082019050919050565b60006020820190508181036000830152612e5081612e14565b905091905056fea26469706673582212202e74ad379d4c9950a6d3c40f483adcf6f490fd0669ec19682b9c59589a7d0ca964736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101d15760003560e01c806370a08231116100f7578063a8b9d24011610095578063dd62ed3e11610064578063dd62ed3e146106a6578063e5225381146106e3578063f2fde38b146106fa578063fbcbc0f114610723576101e0565b8063a8b9d240146105c4578063a9059cbb14610601578063aafd847a1461063e578063c9e7cc131461067b576101e0565b80638da5cb5b116100d15780638da5cb5b146104f457806391b89fba1461051f57806395d89b411461055c578063a457c2d714610587576101e0565b806370a0823114610475578063715018a6146104b257806385a6b3ae146104c9576101e0565b8063313ce5671161016f57806343d726d61161013e57806343d726d6146103df5780634e7b827f146103f6578063627749e6146104335780636a4740021461045e576101e0565b8063313ce5671461032557806331e79db014610350578063395093511461037957806340b8405a146103b6576101e0565b806318160ddd116101ab57806318160ddd146102575780631e83409a1461028257806323b872dd146102ab57806327ce0147146102e8576101e0565b806303c83302146101e557806306fdde03146101ef578063095ea7b31461021a576101e0565b366101e0576101de610762565b005b600080fd5b6101ed610762565b005b3480156101fb57600080fd5b50610204610826565b6040516102119190611fa5565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612060565b6108b8565b60405161024e91906120bb565b60405180910390f35b34801561026357600080fd5b5061026c6108db565b60405161027991906120e5565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612100565b6108e5565b005b3480156102b757600080fd5b506102d260048036038101906102cd919061212d565b610959565b6040516102df91906120bb565b60405180910390f35b3480156102f457600080fd5b5061030f600480360381019061030a9190612100565b610988565b60405161031c91906120e5565b60405180910390f35b34801561033157600080fd5b5061033a610a2b565b604051610347919061219c565b60405180910390f35b34801561035c57600080fd5b5061037760048036038101906103729190612100565b610a34565b005b34801561038557600080fd5b506103a0600480360381019061039b9190612060565b610ae5565b6040516103ad91906120bb565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d891906121f5565b610b1c565b005b3480156103eb57600080fd5b506103f4610c16565b005b34801561040257600080fd5b5061041d60048036038101906104189190612100565b610c6c565b60405161042a91906120bb565b60405180910390f35b34801561043f57600080fd5b50610448610c8c565b60405161045591906120e5565b60405180910390f35b34801561046a57600080fd5b50610473610c92565b005b34801561048157600080fd5b5061049c60048036038101906104979190612100565b610cfe565b6040516104a991906120e5565b60405180910390f35b3480156104be57600080fd5b506104c7610d46565b005b3480156104d557600080fd5b506104de610d5a565b6040516104eb91906120e5565b60405180910390f35b34801561050057600080fd5b50610509610d60565b6040516105169190612231565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190612100565b610d8a565b60405161055391906120e5565b60405180910390f35b34801561056857600080fd5b50610571610d9c565b60405161057e9190611fa5565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a99190612060565b610e2e565b6040516105bb91906120bb565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612100565b610ea5565b6040516105f891906120e5565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190612060565b610f08565b60405161063591906120bb565b60405180910390f35b34801561064a57600080fd5b5061066560048036038101906106609190612100565b610f2b565b60405161067291906120e5565b60405180910390f35b34801561068757600080fd5b50610690610f74565b60405161069d91906120e5565b60405180910390f35b3480156106b257600080fd5b506106cd60048036038101906106c8919061224c565b610f7b565b6040516106da91906120e5565b60405180910390f35b3480156106ef57600080fd5b506106f8611002565b005b34801561070657600080fd5b50610721600480360381019061071c9190612100565b6110e5565b005b34801561072f57600080fd5b5061074a60048036038101906107459190612100565b611168565b6040516107599392919061228c565b60405180910390f35b600061076c6108db565b1161077657600080fd5b6000341115610824576107c961078a6108db565b6107ae7001000000000000000000000000000000003461118d90919063ffffffff16565b6107b89190612321565b60055461120790919063ffffffff16565b6005819055507fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165113334604051610800929190612352565b60405180910390a161081d3460085461120790919063ffffffff16565b6008819055505b565b606060038054610835906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610861906123aa565b80156108ae5780601f10610883576101008083540402835291602001916108ae565b820191906000526020600020905b81548152906001019060200180831161089157829003601f168201915b5050505050905090565b6000806108c3611265565b90506108d081858561126d565b600191505092915050565b6000600254905090565b6108ed611436565b6000600c54148061090d5750624f1a00600c5461090a91906123db565b42105b61094c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109439061245b565b60405180910390fd5b610955816114b4565b5050565b600080610964611265565b90506109718582856116c4565b61097c858585611750565b60019150509392505050565b6000700100000000000000000000000000000000610a1a610a15600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a07610a026109f188610cfe565b60055461118d90919063ffffffff16565b6117bf565b6117dc90919063ffffffff16565b611827565b610a249190612321565b9050919050565b60006012905090565b610a3c611436565b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610a9f81600061183e565b8073ffffffffffffffffffffffffffffffffffffffff167fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2560405160405180910390a250565b600080610af0611265565b9050610b11818585610b028589610f7b565b610b0c91906123db565b61126d565b600191505092915050565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c1357610c1281600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610bcc91906124da565b602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061250a565b61183e565b5b50565b610c1e611436565b6000600c5414610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a90612583565b60405180910390fd5b42600c81905550565b600b6020528060005260406000206000915054906101000a900460ff1681565b600c5481565b6000610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca9061263b565b60405180910390fd5b600d60009054906101000a900460ff16600d60006101000a81548160ff021916908315150217905550565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d4e611436565b610d5860006118ab565b565b60085481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610d9582610ea5565b9050919050565b606060048054610dab906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd7906123aa565b8015610e245780601f10610df957610100808354040283529160200191610e24565b820191906000526020600020905b815481529060010190602001808311610e0757829003601f168201915b5050505050905090565b600080610e39611265565b90506000610e478286610f7b565b905083811015610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906126cd565b60405180910390fd5b610e99828686840361126d565b60019250505092915050565b6000610f01600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef384610988565b61197190919063ffffffff16565b9050919050565b600080610f13611265565b9050610f20818585611750565b600191505092915050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b624f1a0081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61100a611436565b6000600c541015801561102d5750624f1a00600c5461102991906123db565b4210155b61106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106390612739565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516110929061278a565b60006040518083038185875af1925050503d80600081146110cf576040519150601f19603f3d011682016040523d82523d6000602084013e6110d4565b606091505b50509050806110e257600080fd5b50565b6110ed611436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390612811565b60405180910390fd5b611165816118ab565b50565b600080600083925061117983610ea5565b915061118483610988565b90509193909250565b600080830361119f5760009050611201565b600082846111ad9190612831565b90508284826111bc9190612321565b146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906128e5565b60405180910390fd5b809150505b92915050565b600080828461121691906123db565b90508381101561125b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125290612951565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d3906129e3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290612a75565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161142991906120e5565b60405180910390a3505050565b61143e611265565b73ffffffffffffffffffffffffffffffffffffffff1661145c610d60565b73ffffffffffffffffffffffffffffffffffffffff16146114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990612ae1565b60405180910390fd5b565b6000806114c083610ea5565b905060008111156116b95761151d81600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461120790919063ffffffff16565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d8382604051611591929190612b01565b60405180910390a160008373ffffffffffffffffffffffffffffffffffffffff1682610bb8906040516115c39061278a565b600060405180830381858888f193505050503d8060008114611601576040519150601f19603f3d011682016040523d82523d6000602084013e611606565b606091505b50509050806116af5761166182600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461197190919063ffffffff16565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000925050506116bf565b81925050506116bf565b60009150505b919050565b60006116d08484610f7b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461174a578181101561173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390612b76565b60405180910390fd5b611749848484840361126d565b5b50505050565b6000611791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178890612be2565b60405180910390fd5b600d60009054906101000a900460ff16600d60006101000a81548160ff021916908315150217905550505050565b60008082905060008112156117d357600080fd5b80915050919050565b60008082846117eb9190612c0c565b9050600083121580156117fe5750838112155b80611814575060008312801561181357508381125b5b61181d57600080fd5b8091505092915050565b60008082121561183657600080fd5b819050919050565b600061184983610cfe565b90508082111561187a576000611868828461197190919063ffffffff16565b905061187484826119bb565b506118a6565b808210156118a5576000611897838361197190919063ffffffff16565b90506118a38482611a7a565b505b5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006119b383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b39565b905092915050565b6119c58282611b9d565b611a336119e56119e08360055461118d90919063ffffffff16565b6117bf565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cf390919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611a848282611d3e565b611af2611aa4611a9f8360055461118d90919063ffffffff16565b6117bf565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117dc90919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000838311158290611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b789190611fa5565b60405180910390fd5b5060008385611b909190612c50565b9050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0390612cd0565b60405180910390fd5b611c1860008383611f0b565b8060026000828254611c2a91906123db565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cdb91906120e5565b60405180910390a3611cef60008383611f10565b5050565b6000808284611d029190612cf0565b905060008312158015611d155750838113155b80611d2b5750600083128015611d2a57508381135b5b611d3457600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da490612da5565b60405180910390fd5b611db982600083611f0b565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690612e37565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ef291906120e5565b60405180910390a3611f0683600084611f10565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f4f578082015181840152602081019050611f34565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f7782611f15565b611f818185611f20565b9350611f91818560208601611f31565b611f9a81611f5b565b840191505092915050565b60006020820190508181036000830152611fbf8184611f6c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ff782611fcc565b9050919050565b61200781611fec565b811461201257600080fd5b50565b60008135905061202481611ffe565b92915050565b6000819050919050565b61203d8161202a565b811461204857600080fd5b50565b60008135905061205a81612034565b92915050565b6000806040838503121561207757612076611fc7565b5b600061208585828601612015565b92505060206120968582860161204b565b9150509250929050565b60008115159050919050565b6120b5816120a0565b82525050565b60006020820190506120d060008301846120ac565b92915050565b6120df8161202a565b82525050565b60006020820190506120fa60008301846120d6565b92915050565b60006020828403121561211657612115611fc7565b5b600061212484828501612015565b91505092915050565b60008060006060848603121561214657612145611fc7565b5b600061215486828701612015565b935050602061216586828701612015565b92505060406121768682870161204b565b9150509250925092565b600060ff82169050919050565b61219681612180565b82525050565b60006020820190506121b1600083018461218d565b92915050565b60006121c282611fcc565b9050919050565b6121d2816121b7565b81146121dd57600080fd5b50565b6000813590506121ef816121c9565b92915050565b60006020828403121561220b5761220a611fc7565b5b6000612219848285016121e0565b91505092915050565b61222b81611fec565b82525050565b60006020820190506122466000830184612222565b92915050565b6000806040838503121561226357612262611fc7565b5b600061227185828601612015565b925050602061228285828601612015565b9150509250929050565b60006060820190506122a16000830186612222565b6122ae60208301856120d6565b6122bb60408301846120d6565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061232c8261202a565b91506123378361202a565b925082612347576123466122c3565b5b828204905092915050565b60006040820190506123676000830185612222565b61237460208301846120d6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123c257607f821691505b6020821081036123d5576123d461237b565b5b50919050565b60006123e68261202a565b91506123f18361202a565b9250828201905080821115612409576124086122f2565b5b92915050565b7f636c6f7365640000000000000000000000000000000000000000000000000000600082015250565b6000612445600683611f20565b91506124508261240f565b602082019050919050565b6000602082019050818103600083015261247481612438565b9050919050565b6000819050919050565b60006124a061249b61249684611fcc565b61247b565b611fcc565b9050919050565b60006124b282612485565b9050919050565b60006124c4826124a7565b9050919050565b6124d4816124b9565b82525050565b60006020820190506124ef60008301846124cb565b92915050565b60008151905061250481612034565b92915050565b6000602082840312156125205761251f611fc7565b5b600061252e848285016124f5565b91505092915050565b7f436f6e74726163742077617320616c726561647920636c6f7365642e00000000600082015250565b600061256d601c83611f20565b915061257882612537565b602082019050919050565b6000602082019050818103600083015261259c81612560565b9050919050565b7f77697468647261774469766964656e642064697361626c65642e20557365207460008201527f68652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2060208201527f746f6b656e20636f6e74726163742e0000000000000000000000000000000000604082015250565b6000612625604f83611f20565b9150612630826125a3565b606082019050919050565b6000602082019050818103600083015261265481612618565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006126b7602583611f20565b91506126c28261265b565b604082019050919050565b600060208201905081810360008301526126e6816126aa565b9050919050565b7f43616e6e6f7420636f6c6c656374207965742e00000000000000000000000000600082015250565b6000612723601383611f20565b915061272e826126ed565b602082019050919050565b6000602082019050818103600083015261275281612716565b9050919050565b600081905092915050565b50565b6000612774600083612759565b915061277f82612764565b600082019050919050565b600061279582612767565b9150819050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006127fb602683611f20565b91506128068261279f565b604082019050919050565b6000602082019050818103600083015261282a816127ee565b9050919050565b600061283c8261202a565b91506128478361202a565b92508282026128558161202a565b9150828204841483151761286c5761286b6122f2565b5b5092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b60006128cf602183611f20565b91506128da82612873565b604082019050919050565b600060208201905081810360008301526128fe816128c2565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b600061293b601b83611f20565b915061294682612905565b602082019050919050565b6000602082019050818103600083015261296a8161292e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129cd602483611f20565b91506129d882612971565b604082019050919050565b600060208201905081810360008301526129fc816129c0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a5f602283611f20565b9150612a6a82612a03565b604082019050919050565b60006020820190508181036000830152612a8e81612a52565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612acb602083611f20565b9150612ad682612a95565b602082019050919050565b60006020820190508181036000830152612afa81612abe565b9050919050565b6000604082019050612b1660008301856124cb565b612b2360208301846120d6565b9392505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b60601d83611f20565b9150612b6b82612b2a565b602082019050919050565b60006020820190508181036000830152612b8f81612b53565b9050919050565b7f4e6f207472616e736665727320616c6c6f776564000000000000000000000000600082015250565b6000612bcc601483611f20565b9150612bd782612b96565b602082019050919050565b60006020820190508181036000830152612bfb81612bbf565b9050919050565b6000819050919050565b6000612c1782612c02565b9150612c2283612c02565b925082820190508281121560008312168382126000841215161715612c4a57612c496122f2565b5b92915050565b6000612c5b8261202a565b9150612c668361202a565b9250828203905081811115612c7e57612c7d6122f2565b5b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612cba601f83611f20565b9150612cc582612c84565b602082019050919050565b60006020820190508181036000830152612ce981612cad565b9050919050565b6000612cfb82612c02565b9150612d0683612c02565b9250828203905081811260008412168282136000851215161715612d2d57612d2c6122f2565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d8f602183611f20565b9150612d9a82612d33565b604082019050919050565b60006020820190508181036000830152612dbe81612d82565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e21602283611f20565b9150612e2c82612dc5565b604082019050919050565b60006020820190508181036000830152612e5081612e14565b905091905056fea26469706673582212202e74ad379d4c9950a6d3c40f483adcf6f490fd0669ec19682b9c59589a7d0ca964736f6c63430008130033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,447.29 | 47.3712 | $163,301.94 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.