Feature Tip: Add private address tag to any address under My Name Tag !
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:
BABYTOKENDividendTracker
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-18 */ // Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT // pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // Dependency file: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC20/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); } // Dependency file: @openzeppelin/contracts/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; } } // Dependency file: @openzeppelin/contracts/token/ERC20/ERC20.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 {} } // Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol // pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts-upgradeable/token/ERC20/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); } // Dependency file: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol // pragma solidity ^0.8.0; /** * @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 a proxied contract can't have 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. * * 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. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } } // Dependency file: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts-upgradeable/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 initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; } // Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; // import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol"; // import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; // import "@openzeppelin/contracts-upgradeable/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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract 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 initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 {} uint256[45] private __gap; } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // Dependency file: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; // import "@openzeppelin/contracts-upgradeable/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 initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; } // Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol // pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // Dependency file: contracts/interfaces/IUniswapV2Factory.sol // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // Dependency file: contracts/interfaces/IUniswapV2Router02.sol // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // Dependency file: contracts/interfaces/IUniswapV2Pair.sol // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // Dependency file: contracts/libs/SafeMathInt.sol // pragma solidity =0.8.4; /** * @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); } } // Dependency file: contracts/libs/SafeMathUint.sol // pragma solidity =0.8.4; /** * @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; } } // Dependency file: contracts/libs/SafeERC20NoRevert.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title SafeERC20NoRevert * @dev Taken from OpenZeppelin's SafeERC20 implementation, just return a bool value without reverting * Clients using this function need to check for the return value themselves. */ library SafeERC20NoRevert { function safeTransfer( IERC20 token, address to, uint256 value ) internal returns (bool) { (bool success, bytes memory returndata) = address(token).call( abi.encodeWithSelector(token.transfer.selector, to, value) ); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } } // Dependency file: contracts/baby/IterableMapping.sol // pragma solidity =0.8.4; library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint256) values; mapping(address => uint256) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint256) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int256) { if (!map.inserted[key]) { return -1; } return int256(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint256 index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint256) { return map.keys.length; } function set( Map storage map, address key, uint256 val ) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint256 index = map.indexOf[key]; uint256 lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } // Root file: contracts/baby/BabyTokenDividendTracker.sol pragma solidity =0.8.4; // import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; // import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; // import "@openzeppelin/contracts/utils/math/SafeMath.sol"; // import "contracts/interfaces/IUniswapV2Factory.sol"; // import "contracts/interfaces/IUniswapV2Router02.sol"; // import "contracts/interfaces/IUniswapV2Pair.sol"; // import "contracts/libs/SafeMathInt.sol"; // import "contracts/libs/SafeMathUint.sol"; // import "contracts/libs/SafeERC20NoRevert.sol"; // import "contracts/baby/IterableMapping.sol"; /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @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) external view returns (uint256); /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed(address indexed from, uint256 weiAmount); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn(address indexed to, uint256 weiAmount); } /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @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) external view returns (uint256); /// @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) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @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) external view returns (uint256); } /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20Upgradeable, OwnableUpgradeable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; address public rewardToken; // 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; function __DividendPayingToken_init( address _rewardToken, string memory _name, string memory _symbol ) internal initializer { __Ownable_init(); __ERC20_init(_name, _symbol); rewardToken = _rewardToken; } function distributeCAKEDividends(uint256 amount) public onlyOwner { require(totalSupply() > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } /// @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 override { _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 = SafeERC20NoRevert.safeTransfer( IERC20(rewardToken), user, _withdrawableDividend ); 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 override 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 override 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 override 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 override 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 BABYTOKENDividendTracker is OwnableUpgradeable, DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping(address => bool) public excludedFromDividends; mapping(address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim( address indexed account, uint256 amount, bool indexed automatic ); function initialize( address rewardToken_, uint256 minimumTokenBalanceForDividends_ ) external initializer { DividendPayingToken.__DividendPayingToken_init( rewardToken_, "DIVIDEND_TRACKER", "DIVIDEND_TRACKER" ); claimWait = 3600; minimumTokenBalanceForDividends = minimumTokenBalanceForDividends_; } function _transfer( address, address, uint256 ) internal pure override { require(false, "Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public pure override { require( false, "Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main BABYTOKEN contract." ); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function isExcludedFromDividends(address account) public view returns (bool) { return excludedFromDividends[account]; } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require( newClaimWait >= 3600 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours" ); require( newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value" ); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function updateMinimumTokenBalanceForDividends(uint256 amount) external onlyOwner { minimumTokenBalanceForDividends = amount; } function getLastProcessedIndex() external view returns (uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns (uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable ) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if (index >= 0) { if (uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub( int256(lastProcessedIndex) ); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add( int256(processesUntilEndOfArray) ); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ) { if (index >= tokenHoldersMap.size()) { return (address(0), -1, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if (lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if (excludedFromDividends[account]) { return; } if (newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } processAccount(account, true); } function process(uint256 gas) public returns ( uint256, uint256, uint256 ) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if (numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while (gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if (_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if (canAutoClaim(lastClaimTimes[account])) { if (processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if (gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","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":[],"name":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"amount","type":"uint256"}],"name":"distributeCAKEDividends","outputs":[],"stateMutability":"nonpayable","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":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","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":[{"internalType":"address","name":"rewardToken_","type":"address"},{"internalType":"uint256","name":"minimumTokenBalanceForDividends_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"pure","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"}]
Contract Creation Code
608060405234801561001057600080fd5b50612412806100206000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80638da5cb5b1161013b578063c705c569116100b8578063e98030c71161007c578063e98030c714610560578063f2fde38b14610573578063f7c618c114610586578063fbcbc0f114610599578063ffb2c479146105ac57600080fd5b8063c705c569146104cd578063cd6dc687146104f9578063dd62ed3e1461050c578063e30443bc14610545578063e7841ec01461055857600080fd5b8063a9059cbb116100ff578063a9059cbb14610462578063aafd847a14610475578063ba72a9551461049e578063bc4c4b37146104b1578063be10b614146104c457600080fd5b80638da5cb5b146103fc57806391b89fba1461042157806395d89b4114610434578063a457c2d71461043c578063a8b9d2401461044f57600080fd5b8063313ce567116101c95780636a4740021161018d5780636a474002146103b15780636f2789ec146103b957806370a08231146103c2578063715018a6146103eb57806385a6b3ae146103f357600080fd5b8063313ce5671461030157806331e79db01461031057806339509351146103235780634e7b827f146103365780635183d6fd1461035957600080fd5b806318160ddd1161021057806318160ddd146102aa578063226cfa3d146102b257806323b872dd146102d257806327ce0147146102e55780633009a609146102f857600080fd5b806306fdde0314610242578063095ea7b31461026057806309bbedde146102835780630dcb2e8914610295575b600080fd5b61024a6105da565b604051610257919061217d565b60405180910390f35b61027361026e36600461207d565b61066c565b6040519015158152602001610257565b609c545b604051908152602001610257565b6102a86102a3366004612149565b610683565b005b603554610287565b6102876102c036600461200d565b60a26020526000908152604090205481565b6102736102e03660046120d5565b6106bb565b6102876102f336600461200d565b610765565b61028760a05481565b60405160128152602001610257565b6102a861031e36600461200d565b6107c2565b61027361033136600461207d565b6108e9565b61027361034436600461200d565b60a16020526000908152604090205460ff1681565b61036c610367366004612149565b610925565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610257565b6102a8610a97565b61028760a35481565b6102876103d036600461200d565b6001600160a01b031660009081526033602052604090205490565b6102a8610b3b565b610287609b5481565b6065546001600160a01b03165b6040516001600160a01b039091168152602001610257565b61028761042f36600461200d565b610b6f565b61024a610b7a565b61027361044a36600461207d565b610b89565b61028761045d36600461200d565b610c22565b61027361047036600461207d565b610c4e565b61028761048336600461200d565b6001600160a01b03166000908152609a602052604090205490565b6102a86104ac366004612149565b610c5b565b6102736104bf366004612045565b610d19565b61028760a45481565b6102736104db36600461200d565b6001600160a01b0316600090815260a1602052604090205460ff1690565b6102a861050736600461207d565b610dc7565b61028761051a3660046120a8565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6102a861055336600461207d565b610e9b565b60a054610287565b6102a861056e366004612149565b611004565b6102a861058136600461200d565b61116e565b609754610409906001600160a01b031681565b61036c6105a736600461200d565b611206565b6105bf6105ba366004612149565b61137e565b60408051938452602084019290925290820152606001610257565b6060603680546105e99061234d565b80601f01602080910402602001604051908101604052809291908181526020018280546106159061234d565b80156106625780601f1061063757610100808354040283529160200191610662565b820191906000526020600020905b81548152906001019060200180831161064557829003601f168201915b5050505050905090565b60006106793384846114a7565b5060015b92915050565b6065546001600160a01b031633146106b65760405162461bcd60e51b81526004016106ad906121fe565b60405180910390fd5b60a455565b60006106c88484846115cb565b6001600160a01b03841660009081526034602090815260408083203384529091529020548281101561074d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106ad565b61075a85338584036114a7565b506001949350505050565b6001600160a01b0381166000908152609960209081526040808320546033909252822054609854600160801b926107b8926107b3926107ad916107a89190611622565b611635565b90611645565b611683565b61067d919061228c565b6065546001600160a01b031633146107ec5760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b038116600090815260a1602052604090205460ff161561081257600080fd5b6001600160a01b038116600090815260a160205260408120805460ff19166001179055610840908290611696565b60405163131836e760e21b8152609c60048201526001600160a01b0382166024820152731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc90634c60db9c9060440160006040518083038186803b15801561089a57600080fd5b505af41580156108ae573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610679918590610920908690612274565b6114a7565b600080600080600080600080609c731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc63deb3d89690916040518263ffffffff1660e01b815260040161096d91815260200190565b60206040518083038186803b15801561098557600080fd5b505af4158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd9190612131565b89106109e2575060009650600019955085945086935083925082915081905080610a8c565b6040516368d54f3f60e11b8152609c6004820152602481018a9052600090731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc9063d1aa9e7e9060440160206040518083038186803b158015610a3757600080fd5b505af4158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190612029565b9050610a7a81611206565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606560248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e2042414259544f4b454e20636f6e746084820152643930b1ba1760d91b60a482015260c4016106ad565b565b6065546001600160a01b03163314610b655760405162461bcd60e51b81526004016106ad906121fe565b610b3960006116f5565b600061067d82610c22565b6060603780546105e99061234d565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610c0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ad565b610c1833858584036114a7565b5060019392505050565b6001600160a01b0381166000908152609a602052604081205461067d90610c4884610765565b90611747565b60006106793384846115cb565b6065546001600160a01b03163314610c855760405162461bcd60e51b81526004016106ad906121fe565b6000610c9060355490565b11610c9a57600080fd5b8015610d1657610ccd610cac60355490565b610cba83600160801b611622565b610cc4919061228c565b60985490611753565b60985560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2609b54610d129082611753565b609b555b50565b6065546000906001600160a01b03163314610d465760405162461bcd60e51b81526004016106ad906121fe565b6000610d518461175f565b90508015610dbd576001600160a01b038416600081815260a26020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610dab9085815260200190565b60405180910390a3600191505061067d565b5060009392505050565b600054610100900460ff1680610de0575060005460ff16155b610dfc5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015610e1e576000805461ffff19166101011790555b610e79836040518060400160405280601081526020016f2224ab24a222a7222faa2920a1a5a2a960811b8152506040518060400160405280601081526020016f2224ab24a222a7222faa2920a1a5a2a960811b815250611866565b610e1060a35560a48290558015610e96576000805461ff00191690555b505050565b6065546001600160a01b03163314610ec55760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b038216600090815260a1602052604090205460ff1615610eea575050565b60a4548110610f7b57610efd8282611696565b604051632f0ad01760e21b8152609c60048201526001600160a01b038316602482015260448101829052731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc9063bc2b405c9060640160006040518083038186803b158015610f5e57600080fd5b505af4158015610f72573d6000803e3d6000fd5b50505050610ff9565b610f86826000611696565b60405163131836e760e21b8152609c60048201526001600160a01b0383166024820152731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc90634c60db9c9060440160006040518083038186803b158015610fe057600080fd5b505af4158015610ff4573d6000803e3d6000fd5b505050505b610e96826001610d19565b6065546001600160a01b0316331461102e5760405162461bcd60e51b81526004016106ad906121fe565b610e1081101580156110435750620151808111155b6110c35760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a4016106ad565b60a35481141561113b5760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c756500000000000000000060648201526084016106ad565b60a35460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a360a355565b6065546001600160a01b031633146111985760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b0381166111fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b610d16816116f5565b6040516317e142d160e01b8152609c60048201526001600160a01b03821660248201528190600090819081908190819081908190731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc906317e142d19060440160206040518083038186803b15801561127157600080fd5b505af4158015611285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a99190612131565b965060001995506000871261130b5760a0548711156112d75760a0546112d0908890611901565b955061130b565b60a054609c54600091106112ec5760006112fb565b60a054609c546112fb91611747565b90506113078882611645565b9650505b61131488610c22565b945061131f88610765565b6001600160a01b038916600090815260a26020526040902054909450925082611349576000611357565b60a354611357908490611753565b9150428211611367576000611371565b6113718242611747565b9050919395975091939597565b609c54600090819081908061139e57505060a054600092508291506114a0565b60a0546000805a90506000805b89841080156113b957508582105b1561148f57846113c881612388565b609c54909650861090506113db57600094505b6000609c600001868154811061140157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260a29091526040909120549091506114329061193e565b1561145557611442816001610d19565b15611455578161145181612388565b9250505b8261145f81612388565b93505060005a9050808511156114865761148361147c8683611747565b8790611753565b95505b93506113ab9050565b60a085905590975095509193505050505b9193909250565b6001600160a01b0383166115095760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b6001600160a01b03821661156a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ad565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a204e6f207472616e736665727320616044820152651b1b1bddd95960d21b60648201526084016106ad565b600061162e82846122ac565b9392505050565b6000818181121561067d57600080fd5b6000806116528385612233565b9050600083121580156116655750838112155b8061167a575060008312801561167a57508381125b61162e57600080fd5b60008082121561169257600080fd5b5090565b6001600160a01b038216600090815260336020526040902054808211156116d55760006116c38383611747565b90506116cf8482611965565b50505050565b80821015610e965760006116e98284611747565b90506116cf84826119c9565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061162e828461230a565b600061162e8284612274565b60008061176b83610c22565b9050801561185d576001600160a01b0383166000908152609a60205260409020546117969082611753565b6001600160a01b0384166000818152609a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906117e59084815260200190565b60405180910390a2609754600090611807906001600160a01b03168584611a0d565b905080611856576001600160a01b0384166000908152609a60205260409020546118319083611747565b6001600160a01b039094166000908152609a6020526040812094909455509192915050565b5092915050565b50600092915050565b600054610100900460ff168061187f575060005460ff16155b61189b5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff161580156118bd576000805461ffff19166101011790555b6118c5611af7565b6118cf8383611b72565b609780546001600160a01b0319166001600160a01b03861617905580156116cf576000805461ff001916905550505050565b60008061190e83856122cb565b9050600083121580156119215750838113155b8061167a575060008312801561167a575083811361162e57600080fd5b60004282111561195057506000919050565b60a35461195d4284611747565b101592915050565b61196f8282611bf1565b6119a961198a6107a88360985461162290919063ffffffff16565b6001600160a01b03841660009081526099602052604090205490611901565b6001600160a01b0390921660009081526099602052604090209190915550565b6119d38282611cd0565b6119a96119ee6107a88360985461162290919063ffffffff16565b6001600160a01b03841660009081526099602052604090205490611645565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291516000928392839291881691611a6b9190612161565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b5091509150818015611ad7575080511580611ad7575080806020019051810190611ad79190612115565b8015611aed57506000866001600160a01b03163b115b9695505050505050565b600054610100900460ff1680611b10575060005460ff16155b611b2c5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611b4e576000805461ffff19166101011790555b611b56611e1e565b611b5e611e88565b8015610d16576000805461ff001916905550565b600054610100900460ff1680611b8b575060005460ff16155b611ba75760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611bc9576000805461ffff19166101011790555b611bd1611e1e565b611bdb8383611ee8565b8015610e96576000805461ff0019169055505050565b6001600160a01b038216611c475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ad565b8060356000828254611c599190612274565b90915550506001600160a01b03821660009081526033602052604081208054839290611c86908490612274565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216611d305760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ad565b6001600160a01b03821660009081526033602052604090205481811015611da45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ad565b6001600160a01b0383166000908152603360205260408120838303905560358054849290611dd390849061230a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680611e37575060005460ff16155b611e535760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611b5e576000805461ffff19166101011790558015610d16576000805461ff001916905550565b600054610100900460ff1680611ea1575060005460ff16155b611ebd5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611edf576000805461ffff19166101011790555b611b5e336116f5565b600054610100900460ff1680611f01575060005460ff16155b611f1d5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611f3f576000805461ffff19166101011790555b8251611f52906036906020860190611f7d565b508151611f66906037906020850190611f7d565b508015610e96576000805461ff0019169055505050565b828054611f899061234d565b90600052602060002090601f016020900481019282611fab5760008555611ff1565b82601f10611fc457805160ff1916838001178555611ff1565b82800160010185558215611ff1579182015b82811115611ff1578251825591602001919060010190611fd6565b506116929291505b808211156116925760008155600101611ff9565b60006020828403121561201e578081fd5b813561162e816123b9565b60006020828403121561203a578081fd5b815161162e816123b9565b60008060408385031215612057578081fd5b8235612062816123b9565b91506020830135612072816123ce565b809150509250929050565b6000806040838503121561208f578182fd5b823561209a816123b9565b946020939093013593505050565b600080604083850312156120ba578182fd5b82356120c5816123b9565b91506020830135612072816123b9565b6000806000606084860312156120e9578081fd5b83356120f4816123b9565b92506020840135612104816123b9565b929592945050506040919091013590565b600060208284031215612126578081fd5b815161162e816123ce565b600060208284031215612142578081fd5b5051919050565b60006020828403121561215a578081fd5b5035919050565b60008251612173818460208701612321565b9190910192915050565b602081526000825180602084015261219c816040850160208701612321565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615612255576122556123a3565b600160ff1b839003841281161561226e5761226e6123a3565b50500190565b60008219821115612287576122876123a3565b500190565b6000826122a757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156122c6576122c66123a3565b500290565b60008083128015600160ff1b8501841216156122e9576122e96123a3565b6001600160ff1b0384018313811615612304576123046123a3565b50500390565b60008282101561231c5761231c6123a3565b500390565b60005b8381101561233c578181015183820152602001612324565b838111156116cf5750506000910152565b600181811c9082168061236157607f821691505b6020821081141561238257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561239c5761239c6123a3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610d1657600080fd5b8015158114610d1657600080fdfea26469706673582212206581b32d7bcb3198d7e3c7e32da9d6d077aaac3982a6d91b588d17feaa5b10f664736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80638da5cb5b1161013b578063c705c569116100b8578063e98030c71161007c578063e98030c714610560578063f2fde38b14610573578063f7c618c114610586578063fbcbc0f114610599578063ffb2c479146105ac57600080fd5b8063c705c569146104cd578063cd6dc687146104f9578063dd62ed3e1461050c578063e30443bc14610545578063e7841ec01461055857600080fd5b8063a9059cbb116100ff578063a9059cbb14610462578063aafd847a14610475578063ba72a9551461049e578063bc4c4b37146104b1578063be10b614146104c457600080fd5b80638da5cb5b146103fc57806391b89fba1461042157806395d89b4114610434578063a457c2d71461043c578063a8b9d2401461044f57600080fd5b8063313ce567116101c95780636a4740021161018d5780636a474002146103b15780636f2789ec146103b957806370a08231146103c2578063715018a6146103eb57806385a6b3ae146103f357600080fd5b8063313ce5671461030157806331e79db01461031057806339509351146103235780634e7b827f146103365780635183d6fd1461035957600080fd5b806318160ddd1161021057806318160ddd146102aa578063226cfa3d146102b257806323b872dd146102d257806327ce0147146102e55780633009a609146102f857600080fd5b806306fdde0314610242578063095ea7b31461026057806309bbedde146102835780630dcb2e8914610295575b600080fd5b61024a6105da565b604051610257919061217d565b60405180910390f35b61027361026e36600461207d565b61066c565b6040519015158152602001610257565b609c545b604051908152602001610257565b6102a86102a3366004612149565b610683565b005b603554610287565b6102876102c036600461200d565b60a26020526000908152604090205481565b6102736102e03660046120d5565b6106bb565b6102876102f336600461200d565b610765565b61028760a05481565b60405160128152602001610257565b6102a861031e36600461200d565b6107c2565b61027361033136600461207d565b6108e9565b61027361034436600461200d565b60a16020526000908152604090205460ff1681565b61036c610367366004612149565b610925565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610257565b6102a8610a97565b61028760a35481565b6102876103d036600461200d565b6001600160a01b031660009081526033602052604090205490565b6102a8610b3b565b610287609b5481565b6065546001600160a01b03165b6040516001600160a01b039091168152602001610257565b61028761042f36600461200d565b610b6f565b61024a610b7a565b61027361044a36600461207d565b610b89565b61028761045d36600461200d565b610c22565b61027361047036600461207d565b610c4e565b61028761048336600461200d565b6001600160a01b03166000908152609a602052604090205490565b6102a86104ac366004612149565b610c5b565b6102736104bf366004612045565b610d19565b61028760a45481565b6102736104db36600461200d565b6001600160a01b0316600090815260a1602052604090205460ff1690565b6102a861050736600461207d565b610dc7565b61028761051a3660046120a8565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6102a861055336600461207d565b610e9b565b60a054610287565b6102a861056e366004612149565b611004565b6102a861058136600461200d565b61116e565b609754610409906001600160a01b031681565b61036c6105a736600461200d565b611206565b6105bf6105ba366004612149565b61137e565b60408051938452602084019290925290820152606001610257565b6060603680546105e99061234d565b80601f01602080910402602001604051908101604052809291908181526020018280546106159061234d565b80156106625780601f1061063757610100808354040283529160200191610662565b820191906000526020600020905b81548152906001019060200180831161064557829003601f168201915b5050505050905090565b60006106793384846114a7565b5060015b92915050565b6065546001600160a01b031633146106b65760405162461bcd60e51b81526004016106ad906121fe565b60405180910390fd5b60a455565b60006106c88484846115cb565b6001600160a01b03841660009081526034602090815260408083203384529091529020548281101561074d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106ad565b61075a85338584036114a7565b506001949350505050565b6001600160a01b0381166000908152609960209081526040808320546033909252822054609854600160801b926107b8926107b3926107ad916107a89190611622565b611635565b90611645565b611683565b61067d919061228c565b6065546001600160a01b031633146107ec5760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b038116600090815260a1602052604090205460ff161561081257600080fd5b6001600160a01b038116600090815260a160205260408120805460ff19166001179055610840908290611696565b60405163131836e760e21b8152609c60048201526001600160a01b0382166024820152731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc90634c60db9c9060440160006040518083038186803b15801561089a57600080fd5b505af41580156108ae573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610679918590610920908690612274565b6114a7565b600080600080600080600080609c731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc63deb3d89690916040518263ffffffff1660e01b815260040161096d91815260200190565b60206040518083038186803b15801561098557600080fd5b505af4158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd9190612131565b89106109e2575060009650600019955085945086935083925082915081905080610a8c565b6040516368d54f3f60e11b8152609c6004820152602481018a9052600090731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc9063d1aa9e7e9060440160206040518083038186803b158015610a3757600080fd5b505af4158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190612029565b9050610a7a81611206565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606560248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e2042414259544f4b454e20636f6e746084820152643930b1ba1760d91b60a482015260c4016106ad565b565b6065546001600160a01b03163314610b655760405162461bcd60e51b81526004016106ad906121fe565b610b3960006116f5565b600061067d82610c22565b6060603780546105e99061234d565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610c0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ad565b610c1833858584036114a7565b5060019392505050565b6001600160a01b0381166000908152609a602052604081205461067d90610c4884610765565b90611747565b60006106793384846115cb565b6065546001600160a01b03163314610c855760405162461bcd60e51b81526004016106ad906121fe565b6000610c9060355490565b11610c9a57600080fd5b8015610d1657610ccd610cac60355490565b610cba83600160801b611622565b610cc4919061228c565b60985490611753565b60985560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2609b54610d129082611753565b609b555b50565b6065546000906001600160a01b03163314610d465760405162461bcd60e51b81526004016106ad906121fe565b6000610d518461175f565b90508015610dbd576001600160a01b038416600081815260a26020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610dab9085815260200190565b60405180910390a3600191505061067d565b5060009392505050565b600054610100900460ff1680610de0575060005460ff16155b610dfc5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015610e1e576000805461ffff19166101011790555b610e79836040518060400160405280601081526020016f2224ab24a222a7222faa2920a1a5a2a960811b8152506040518060400160405280601081526020016f2224ab24a222a7222faa2920a1a5a2a960811b815250611866565b610e1060a35560a48290558015610e96576000805461ff00191690555b505050565b6065546001600160a01b03163314610ec55760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b038216600090815260a1602052604090205460ff1615610eea575050565b60a4548110610f7b57610efd8282611696565b604051632f0ad01760e21b8152609c60048201526001600160a01b038316602482015260448101829052731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc9063bc2b405c9060640160006040518083038186803b158015610f5e57600080fd5b505af4158015610f72573d6000803e3d6000fd5b50505050610ff9565b610f86826000611696565b60405163131836e760e21b8152609c60048201526001600160a01b0383166024820152731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc90634c60db9c9060440160006040518083038186803b158015610fe057600080fd5b505af4158015610ff4573d6000803e3d6000fd5b505050505b610e96826001610d19565b6065546001600160a01b0316331461102e5760405162461bcd60e51b81526004016106ad906121fe565b610e1081101580156110435750620151808111155b6110c35760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a4016106ad565b60a35481141561113b5760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c756500000000000000000060648201526084016106ad565b60a35460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a360a355565b6065546001600160a01b031633146111985760405162461bcd60e51b81526004016106ad906121fe565b6001600160a01b0381166111fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b610d16816116f5565b6040516317e142d160e01b8152609c60048201526001600160a01b03821660248201528190600090819081908190819081908190731ae6cda26c9b1dc22f529b1f1baa963e8eb9d8bc906317e142d19060440160206040518083038186803b15801561127157600080fd5b505af4158015611285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a99190612131565b965060001995506000871261130b5760a0548711156112d75760a0546112d0908890611901565b955061130b565b60a054609c54600091106112ec5760006112fb565b60a054609c546112fb91611747565b90506113078882611645565b9650505b61131488610c22565b945061131f88610765565b6001600160a01b038916600090815260a26020526040902054909450925082611349576000611357565b60a354611357908490611753565b9150428211611367576000611371565b6113718242611747565b9050919395975091939597565b609c54600090819081908061139e57505060a054600092508291506114a0565b60a0546000805a90506000805b89841080156113b957508582105b1561148f57846113c881612388565b609c54909650861090506113db57600094505b6000609c600001868154811061140157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260a29091526040909120549091506114329061193e565b1561145557611442816001610d19565b15611455578161145181612388565b9250505b8261145f81612388565b93505060005a9050808511156114865761148361147c8683611747565b8790611753565b95505b93506113ab9050565b60a085905590975095509193505050505b9193909250565b6001600160a01b0383166115095760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b6001600160a01b03821661156a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ad565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a204e6f207472616e736665727320616044820152651b1b1bddd95960d21b60648201526084016106ad565b600061162e82846122ac565b9392505050565b6000818181121561067d57600080fd5b6000806116528385612233565b9050600083121580156116655750838112155b8061167a575060008312801561167a57508381125b61162e57600080fd5b60008082121561169257600080fd5b5090565b6001600160a01b038216600090815260336020526040902054808211156116d55760006116c38383611747565b90506116cf8482611965565b50505050565b80821015610e965760006116e98284611747565b90506116cf84826119c9565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061162e828461230a565b600061162e8284612274565b60008061176b83610c22565b9050801561185d576001600160a01b0383166000908152609a60205260409020546117969082611753565b6001600160a01b0384166000818152609a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906117e59084815260200190565b60405180910390a2609754600090611807906001600160a01b03168584611a0d565b905080611856576001600160a01b0384166000908152609a60205260409020546118319083611747565b6001600160a01b039094166000908152609a6020526040812094909455509192915050565b5092915050565b50600092915050565b600054610100900460ff168061187f575060005460ff16155b61189b5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff161580156118bd576000805461ffff19166101011790555b6118c5611af7565b6118cf8383611b72565b609780546001600160a01b0319166001600160a01b03861617905580156116cf576000805461ff001916905550505050565b60008061190e83856122cb565b9050600083121580156119215750838113155b8061167a575060008312801561167a575083811361162e57600080fd5b60004282111561195057506000919050565b60a35461195d4284611747565b101592915050565b61196f8282611bf1565b6119a961198a6107a88360985461162290919063ffffffff16565b6001600160a01b03841660009081526099602052604090205490611901565b6001600160a01b0390921660009081526099602052604090209190915550565b6119d38282611cd0565b6119a96119ee6107a88360985461162290919063ffffffff16565b6001600160a01b03841660009081526099602052604090205490611645565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291516000928392839291881691611a6b9190612161565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b5091509150818015611ad7575080511580611ad7575080806020019051810190611ad79190612115565b8015611aed57506000866001600160a01b03163b115b9695505050505050565b600054610100900460ff1680611b10575060005460ff16155b611b2c5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611b4e576000805461ffff19166101011790555b611b56611e1e565b611b5e611e88565b8015610d16576000805461ff001916905550565b600054610100900460ff1680611b8b575060005460ff16155b611ba75760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611bc9576000805461ffff19166101011790555b611bd1611e1e565b611bdb8383611ee8565b8015610e96576000805461ff0019169055505050565b6001600160a01b038216611c475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ad565b8060356000828254611c599190612274565b90915550506001600160a01b03821660009081526033602052604081208054839290611c86908490612274565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216611d305760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ad565b6001600160a01b03821660009081526033602052604090205481811015611da45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ad565b6001600160a01b0383166000908152603360205260408120838303905560358054849290611dd390849061230a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680611e37575060005460ff16155b611e535760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611b5e576000805461ffff19166101011790558015610d16576000805461ff001916905550565b600054610100900460ff1680611ea1575060005460ff16155b611ebd5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611edf576000805461ffff19166101011790555b611b5e336116f5565b600054610100900460ff1680611f01575060005460ff16155b611f1d5760405162461bcd60e51b81526004016106ad906121b0565b600054610100900460ff16158015611f3f576000805461ffff19166101011790555b8251611f52906036906020860190611f7d565b508151611f66906037906020850190611f7d565b508015610e96576000805461ff0019169055505050565b828054611f899061234d565b90600052602060002090601f016020900481019282611fab5760008555611ff1565b82601f10611fc457805160ff1916838001178555611ff1565b82800160010185558215611ff1579182015b82811115611ff1578251825591602001919060010190611fd6565b506116929291505b808211156116925760008155600101611ff9565b60006020828403121561201e578081fd5b813561162e816123b9565b60006020828403121561203a578081fd5b815161162e816123b9565b60008060408385031215612057578081fd5b8235612062816123b9565b91506020830135612072816123ce565b809150509250929050565b6000806040838503121561208f578182fd5b823561209a816123b9565b946020939093013593505050565b600080604083850312156120ba578182fd5b82356120c5816123b9565b91506020830135612072816123b9565b6000806000606084860312156120e9578081fd5b83356120f4816123b9565b92506020840135612104816123b9565b929592945050506040919091013590565b600060208284031215612126578081fd5b815161162e816123ce565b600060208284031215612142578081fd5b5051919050565b60006020828403121561215a578081fd5b5035919050565b60008251612173818460208701612321565b9190910192915050565b602081526000825180602084015261219c816040850160208701612321565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615612255576122556123a3565b600160ff1b839003841281161561226e5761226e6123a3565b50500190565b60008219821115612287576122876123a3565b500190565b6000826122a757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156122c6576122c66123a3565b500290565b60008083128015600160ff1b8501841216156122e9576122e96123a3565b6001600160ff1b0384018313811615612304576123046123a3565b50500390565b60008282101561231c5761231c6123a3565b500390565b60005b8381101561233c578181015183820152602001612324565b838111156116cf5750506000910152565b600181811c9082168061236157607f821691505b6020821081141561238257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561239c5761239c6123a3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610d1657600080fd5b8015158114610d1657600080fdfea26469706673582212206581b32d7bcb3198d7e3c7e32da9d6d077aaac3982a6d91b588d17feaa5b10f664736f6c63430008040033
Deployed Bytecode Sourcemap
74656:7622:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26172:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28339:169;;;;;;:::i;:::-;;:::i;:::-;;;4978:14:1;;4971:22;4953:41;;4941:2;4926:18;28339:169:0;4908:92:1;77507:120:0;77592:15;:27;77507:120;;;11400:25:1;;;11388:2;11373:18;77507:120:0;11355:76:1;77218:164:0;;;;;;:::i;:::-;;:::i;:::-;;27292:108;27380:12;;27292:108;;75016:49;;;;;;:::i;:::-;;;;;;;;;;;;;;28990:492;;;;;;:::i;:::-;;:::i;71868:372::-;;;;;;:::i;:::-;;:::i;74912:33::-;;;;;;27134:93;;;27217:2;13381:36:1;;13369:2;13354:18;27134:93:0;13336:87:1;76249:298:0;;;;;;:::i;:::-;;:::i;29891:215::-;;;;;;:::i;:::-;;:::i;74954:53::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;79206:510;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4185:32:1;;;4167:51;;4249:2;4234:18;;4227:34;;;;4277:18;;;4270:34;;;;4335:2;4320:18;;4313:34;;;;4378:3;4363:19;;4356:35;4205:3;4407:19;;4400:35;4466:3;4451:19;;4444:35;4510:3;4495:19;;4488:35;4154:3;4139:19;79206:510:0;4121:408:1;76017:224:0;;;:::i;75074:24::-;;;;;;27463:127;;;;;;:::i;:::-;-1:-1:-1;;;;;27564:18:0;27537:7;27564:18;;;:9;:18;;;;;;;27463:127;40575:94;;;:::i;68126:40::-;;;;;;39924:87;39997:6;;-1:-1:-1;;;;;39997:6:0;39924:87;;;-1:-1:-1;;;;;3784:32:1;;;3766:51;;3754:2;3739:18;39924:87:0;3721:102:1;70453:131:0;;;;;;:::i;:::-;;:::i;26391:104::-;;;:::i;30609:413::-;;;;;;:::i;:::-;;:::i;70803:216::-;;;;;;:::i;:::-;;:::i;27803:175::-;;;;;;:::i;:::-;;:::i;71240:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;71383:26:0;71351:7;71383:26;;;:18;:26;;;;;;;71240:177;68451:438;;;;;;:::i;:::-;;:::i;81878:397::-;;;;;;:::i;:::-;;:::i;75105:46::-;;;;;;76555:165;;;;;;:::i;:::-;-1:-1:-1;;;;;76682:30:0;76653:4;76682:30;;;:21;:30;;;;;;;;;76555:165;75420:403;;;;;;:::i;:::-;;:::i;28041:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;28157:18:0;;;28130:7;28157:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;28041:151;79966:511;;;;;;:::i;:::-;;:::i;77390:109::-;77473:18;;77390:109;;76728:482;;;;;;:::i;:::-;;:::i;40824:192::-;;;;;;:::i;:::-;;:::i;66669:26::-;;;;;-1:-1:-1;;;;;66669:26:0;;;77635:1563;;;;;;:::i;:::-;;:::i;80485:1385::-;;;;;;:::i;:::-;;:::i;:::-;;;;13117:25:1;;;13173:2;13158:18;;13151:34;;;;13201:18;;;13194:34;13105:2;13090:18;80485:1385:0;13072:162:1;26172:100:0;26226:13;26259:5;26252:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26172:100;:::o;28339:169::-;28422:4;28439:39;23265:10;28462:7;28471:6;28439:8;:39::i;:::-;-1:-1:-1;28496:4:0;28339:169;;;;;:::o;77218:164::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;;;;;;;;;77334:31:::1;:40:::0;77218:164::o;28990:492::-;29130:4;29147:36;29157:6;29165:9;29176:6;29147:9;:36::i;:::-;-1:-1:-1;;;;;29223:19:0;;29196:24;29223:19;;;:11;:19;;;;;;;;23265:10;29223:33;;;;;;;;29275:26;;;;29267:79;;;;-1:-1:-1;;;29267:79:0;;8252:2:1;29267:79:0;;;8234:21:1;8291:2;8271:18;;;8264:30;8330:34;8310:18;;;8303:62;-1:-1:-1;;;8381:18:1;;;8374:38;8429:19;;29267:79:0;8224:230:1;29267:79:0;29382:57;29391:6;23265:10;29432:6;29413:16;:25;29382:8;:57::i;:::-;-1:-1:-1;29470:4:0;;28990:492;-1:-1:-1;;;;28990:492:0:o;71868:372::-;-1:-1:-1;;;;;72149:36:0;;71982:7;72149:36;;;:28;:36;;;;;;;;;27564:9;:18;;;;;;72027:25;;-1:-1:-1;;;67002:6:0;72027:193;;:159;;:99;;:66;;:25;:47;:66::i;:::-;:97;:99::i;:::-;:121;;:159::i;:::-;:191;:193::i;:::-;:205;;;;:::i;76249:298::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;76335:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;76334:31;76326:40;;;::::0;::::1;;-1:-1:-1::0;;;;;76377:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;76377:37:0::1;76410:4;76377:37;::::0;;76427:23:::1;::::0;76399:7;;76427:11:::1;:23::i;:::-;76461:31;::::0;-1:-1:-1;;;76461:31:0;;:15:::1;:31;::::0;::::1;11640:25:1::0;-1:-1:-1;;;;;11701:32:1;;11681:18;;;11674:60;76461:22:0::1;::::0;::::1;::::0;11613:18:1;;76461:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;76510:29:0::1;::::0;-1:-1:-1;;;;;76510:29:0;::::1;::::0;-1:-1:-1;76510:29:0::1;::::0;-1:-1:-1;76510:29:0;;::::1;76249:298:::0;:::o;29891:215::-;23265:10;29979:4;30028:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;30028:34:0;;;;;;;;;;29979:4;;29996:80;;30019:7;;30028:47;;30065:10;;30028:47;:::i;:::-;29996:8;:80::i;79206:510::-;79310:7;79332:6;79353;79374:7;79396;79418;79440;79462;79510:15;:20;;;;:22;;;;;;;;;;;;;11400:25:1;;11388:2;11373:18;;11355:76;79510:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79501:5;:31;79497:106;;-1:-1:-1;79565:1:0;;-1:-1:-1;;;79569:2:0;-1:-1:-1;79569:2:0;;-1:-1:-1;79565:1:0;;-1:-1:-1;79565:1:0;;-1:-1:-1;79565:1:0;;-1:-1:-1;79565:1:0;;-1:-1:-1;79565:1:0;79549:42;;79497:106;79633:36;;-1:-1:-1;;;79633:36:0;;:15;:36;;;12654:25:1;12695:18;;;12688:34;;;79615:15:0;;79633:29;;;;12627:18:1;;79633:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79615:54;;79689:19;79700:7;79689:10;:19::i;:::-;79682:26;;;;;;;;;;;;;;;;;79206:510;;;;;;;;;;:::o;76017:224::-;76077:156;;-1:-1:-1;;;76077:156:0;;6808:2:1;76077:156:0;;;6790:21:1;6847:3;6827:18;;;6820:31;6887:34;6867:18;;;6860:62;6958:34;6938:18;;;6931:62;7030:34;7009:19;;;7002:63;-1:-1:-1;;;7081:19:1;;;7074:36;7127:19;;76077:156:0;6780:372:1;76077:156:0;76017:224::o;40575:94::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;40640:21:::1;40658:1;40640:9;:21::i;70453:131::-:0;70519:7;70546:30;70569:6;70546:22;:30::i;26391:104::-;26447:13;26480:7;26473:14;;;;;:::i;30609:413::-;23265:10;30702:4;30746:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;30746:34:0;;;;;;;;;;30799:35;;;;30791:85;;;;-1:-1:-1;;;30791:85:0;;10660:2:1;30791:85:0;;;10642:21:1;10699:2;10679:18;;;10672:30;10738:34;10718:18;;;10711:62;-1:-1:-1;;;10789:18:1;;;10782:35;10834:19;;30791:85:0;10632:227:1;30791:85:0;30912:67;23265:10;30935:7;30963:15;30944:16;:34;30912:8;:67::i;:::-;-1:-1:-1;31010:4:0;;30609:413;-1:-1:-1;;;30609:413:0:o;70803:216::-;-1:-1:-1;;;;;70984:26:0;;70917:7;70984:26;;;:18;:26;;;;;;70949:62;;:30;71003:6;70949:22;:30::i;:::-;:34;;:62::i;27803:175::-;27889:4;27906:42;23265:10;27930:9;27941:6;27906:9;:42::i;68451:438::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;68552:1:::1;68536:13;27380:12:::0;;;27292:108;68536:13:::1;:17;68528:26;;;::::0;::::1;;68571:10:::0;;68567:315:::1;;68626:102;68700:13;27380:12:::0;;;27292:108;68700:13:::1;68674:23;68675:6:::0;-1:-1:-1;;;68674:12:0::1;:23::i;:::-;:39;;;;:::i;:::-;68626:25;::::0;;:29:::1;:102::i;:::-;68598:25;:130:::0;68748:40:::1;::::0;11400:25:1;;;68769:10:0::1;::::0;68748:40:::1;::::0;11388:2:1;11373:18;68748:40:0::1;;;;;;;68833:25;::::0;:37:::1;::::0;68863:6;68833:29:::1;:37::i;:::-;68805:25;:65:::0;68567:315:::1;68451:438:::0;:::o;81878:397::-;39997:6;;81996:4;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;82018:14:::1;82035:32;82059:7;82035:23;:32::i;:::-;82018:49:::0;-1:-1:-1;82084:10:0;;82080:163:::1;;-1:-1:-1::0;;;;;82111:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;82137:15:::1;82111:41:::0;;82172:33;;::::1;;::::0;82111:23;82172:33:::1;::::0;::::1;::::0;82187:6;11400:25:1;;11388:2;11373:18;;11355:76;82172:33:0::1;;;;;;;;82227:4;82220:11;;;;;82080:163;-1:-1:-1::0;82262:5:0::1;::::0;81878:397;-1:-1:-1;;;81878:397:0:o;75420:403::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;75561:150:::1;75622:12;75561:150;;;;;;;;;;;;;-1:-1:-1::0;;;75561:150:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;75561:150:0::1;;::::0;:46:::1;:150::i;:::-;75734:4;75722:9;:16:::0;75749:31:::1;:66:::0;;;22162:68;;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;22162:68;75420:403;;;:::o;79966:511::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;80088:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;80084:69;;;79966:511:::0;;:::o;80084:69::-:1;80181:31;;80167:10;:45;80163:267;;80229:32;80241:7;80250:10;80229:11;:32::i;:::-;80276:40;::::0;-1:-1:-1;;;80276:40:0;;:15:::1;:40;::::0;::::1;12302:25:1::0;-1:-1:-1;;;;;12363:32:1;;12343:18;;;12336:60;12412:18;;;12405:34;;;80276:19:0::1;::::0;::::1;::::0;12275:18:1;;80276:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;80163:267;;;80349:23;80361:7;80370:1;80349:11;:23::i;:::-;80387:31;::::0;-1:-1:-1;;;80387:31:0;;:15:::1;:31;::::0;::::1;11640:25:1::0;-1:-1:-1;;;;;11701:32:1;;11681:18;;;11674:60;80387:22:0::1;::::0;::::1;::::0;11613:18:1;;80387:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;80163:267;80440:29;80455:7;80464:4;80440:14;:29::i;76728:482::-:0;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;76843:4:::1;76827:12;:20;;:45;;;;;76867:5;76851:12;:21;;76827:45;76805:164;;;::::0;-1:-1:-1;;;76805:164:0;;7774:2:1;76805:164:0::1;::::0;::::1;7756:21:1::0;7813:2;7793:18;;;7786:30;7852:34;7832:18;;;7825:62;7923:34;7903:18;;;7896:62;-1:-1:-1;;;7974:19:1;;;7967:36;8020:19;;76805:164:0::1;7746:299:1::0;76805:164:0::1;77018:9;;77002:12;:25;;76980:130;;;::::0;-1:-1:-1;;;76980:130:0;;10236:2:1;76980:130:0::1;::::0;::::1;10218:21:1::0;10275:2;10255:18;;;10248:30;10314:34;10294:18;;;10287:62;10385:25;10365:18;;;10358:53;10428:19;;76980:130:0::1;10208:245:1::0;76980:130:0::1;77157:9;::::0;77126:41:::1;::::0;77143:12;;77126:41:::1;::::0;;;::::1;77178:9;:24:::0;76728:482::o;40824:192::-;39997:6;;-1:-1:-1;;;;;39997:6:0;23265:10;40144:23;40136:68;;;;-1:-1:-1;;;40136:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;40913:22:0;::::1;40905:73;;;::::0;-1:-1:-1;;;40905:73:0;;5998:2:1;40905:73:0::1;::::0;::::1;5980:21:1::0;6037:2;6017:18;;;6010:30;6076:34;6056:18;;;6049:62;-1:-1:-1;;;6127:18:1;;;6120:36;6173:19;;40905:73:0::1;5970:228:1::0;40905:73:0::1;40989:19;40999:8;40989:9;:19::i;77635:1563::-:0;78096:38;;-1:-1:-1;;;78096:38:0;;:15;:38;;;11640:25:1;-1:-1:-1;;;;;11701:32:1;;11681:18;;;11674:60;78067:8:0;;77735:15;;;;;;;;;;;;;;78096:29;;;;11613:18:1;;78096:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78088:46;;-1:-1:-1;;78147:29:0;;78202:1;78193:5;:10;78189:598;;78241:18;;78232:5;78224:35;78220:556;;;78346:18;;78307:77;;:5;;:9;:77::i;:::-;78280:104;;78220:556;;;78511:18;;78460:15;:27;78425:32;;-1:-1:-1;78460:169:0;;78628:1;78460:169;;;78585:18;;78553:15;:27;:51;;:31;:51::i;:::-;78425:204;-1:-1:-1;78677:83:0;:5;78425:204;78677:9;:83::i;:::-;78650:110;;78220:556;;78823:31;78846:7;78823:22;:31::i;:::-;78799:55;;78882:31;78905:7;78882:22;:31::i;:::-;-1:-1:-1;;;;;78942:23:0;;;;;;:14;:23;;;;;;78865:48;;-1:-1:-1;78942:23:0;-1:-1:-1;78994:17:0;:52;;79045:1;78994:52;;;79032:9;;79014:28;;:13;;:17;:28::i;:::-;78978:68;;79108:15;79092:13;:31;:98;;79189:1;79092:98;;;79139:34;:13;79157:15;79139:17;:34::i;:::-;79059:131;;77635:1563;;;;;;;;;:::o;80485:1385::-;80673:15;:27;80563:7;;;;;;80717:25;80713:91;;-1:-1:-1;;80773:18:0;;80767:1;;-1:-1:-1;80767:1:0;;-1:-1:-1;80759:33:0;;80713:91;80846:18;;80816:27;;80927:9;80909:27;;80949:18;80982:14;81013:737;81030:3;81020:7;:13;:50;;;;;81050:20;81037:10;:33;81020:50;81013:737;;;81087:21;;;;:::i;:::-;81152:15;:27;81087:21;;-1:-1:-1;81129:50:0;;;-1:-1:-1;81125:114:0;;81222:1;81200:23;;81125:114;81255:15;81273;:20;;81294:19;81273:41;;;;;;-1:-1:-1;;;81273:41:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;81273:41:0;81348:23;;;:14;:23;;;;;;;;81273:41;;-1:-1:-1;81335:37:0;;:12;:37::i;:::-;81331:172;;;81397:38;81420:7;81430:4;81397:14;:38::i;:::-;81393:95;;;81460:8;;;;:::i;:::-;;;;81393:95;81519:12;;;;:::i;:::-;;;;81548:18;81569:9;81548:30;;81609:10;81599:7;:20;81595:107;;;81650:36;81662:23;:7;81674:10;81662:11;:23::i;:::-;81650:7;;:11;:36::i;:::-;81640:46;;81595:107;81728:10;-1:-1:-1;81013:737:0;;-1:-1:-1;81013:737:0;;81762:18;:40;;;81823:10;;-1:-1:-1;81835:6:0;-1:-1:-1;81783:19:0;;-1:-1:-1;;;;80485:1385:0;;;;;;:::o;34293:380::-;-1:-1:-1;;;;;34429:19:0;;34421:68;;;;-1:-1:-1;;;34421:68:0;;9831:2:1;34421:68:0;;;9813:21:1;9870:2;9850:18;;;9843:30;9909:34;9889:18;;;9882:62;-1:-1:-1;;;9960:18:1;;;9953:34;10004:19;;34421:68:0;9803:226:1;34421:68:0;-1:-1:-1;;;;;34508:21:0;;34500:68;;;;-1:-1:-1;;;34500:68:0;;6405:2:1;34500:68:0;;;6387:21:1;6444:2;6424:18;;;6417:30;6483:34;6463:18;;;6456:62;-1:-1:-1;;;6534:18:1;;;6527:32;6576:19;;34500:68:0;6377:224:1;34500:68:0;-1:-1:-1;;;;;34581:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;34633:32;;11400:25:1;;;34633:32:0;;11373:18:1;34633:32:0;;;;;;;34293:380;;;:::o;75831:178::-;75945:56;;-1:-1:-1;;;75945:56:0;;9022:2:1;75945:56:0;;;9004:21:1;9061:2;9041:18;;;9034:30;9100:34;9080:18;;;9073:62;-1:-1:-1;;;9151:18:1;;;9144:36;9197:19;;75945:56:0;8994:228:1;44780:98:0;44838:7;44865:5;44869:1;44865;:5;:::i;:::-;44858:12;44780:98;-1:-1:-1;;;44780:98:0:o;59560:148::-;59616:6;59653:1;59674:6;;;;59666:15;;;;;58809:176;58865:6;;58895:5;58899:1;58895;:5;:::i;:::-;58884:16;;58925:1;58920;:6;;:16;;;;;58935:1;58930;:6;;58920:16;58919:38;;;;58946:1;58942;:5;:14;;;;;58955:1;58951;:5;58942:14;58911:47;;;;;59212:127;59268:7;59301:1;59296;:6;;59288:15;;;;;;-1:-1:-1;59329:1:0;59212:127::o;74198:451::-;-1:-1:-1;;;;;27564:18:0;;74276:22;27564:18;;;:9;:18;;;;;;74336:27;;;74332:310;;;74380:18;74401:30;:10;74416:14;74401;:30::i;:::-;74380:51;;74446:26;74452:7;74461:10;74446:5;:26::i;:::-;74332:310;75420:403;;;:::o;74332:310::-;74507:14;74494:10;:27;74490:152;;;74538:18;74559:30;:14;74578:10;74559:18;:30::i;:::-;74538:51;;74604:26;74610:7;74619:10;74604:5;:26::i;41024:173::-;41099:6;;;-1:-1:-1;;;;;41116:17:0;;;-1:-1:-1;;;;;;41116:17:0;;;;;;;41149:40;;41099:6;;;41116:17;41099:6;;41149:40;;41080:16;;41149:40;41024:173;;:::o;44423:98::-;44481:7;44508:5;44512:1;44508;:5;:::i;44042:98::-;44100:7;44127:5;44131:1;44127;:5;:::i;69354:880::-;69445:7;69470:29;69502:28;69525:4;69502:22;:28::i;:::-;69470:60;-1:-1:-1;69545:25:0;;69541:665;;-1:-1:-1;;;;;69614:24:0;;;;;;:18;:24;;;;;;:83;;69661:21;69614:28;:83::i;:::-;-1:-1:-1;;;;;69587:24:0;;;;;;:18;:24;;;;;;;:110;;;;69717:46;;;;;;69741:21;11400:25:1;;11388:2;11373:18;;11355:76;69717:46:0;;;;;;;;69851:11;;69780:12;;69795:146;;-1:-1:-1;;;;;69851:11:0;69882:4;69905:21;69795:30;:146::i;:::-;69780:161;;69963:7;69958:194;;-1:-1:-1;;;;;70018:24:0;;;;;;:18;:24;;;;;;:91;;70069:21;70018:28;:91::i;:::-;-1:-1:-1;;;;;69991:24:0;;;;;;;:18;:24;;;;;:118;;;;-1:-1:-1;69991:24:0;;69354:880;-1:-1:-1;;69354:880:0:o;69958:194::-;-1:-1:-1;70173:21:0;69354:880;-1:-1:-1;;69354:880:0:o;69541:665::-;-1:-1:-1;70225:1:0;;69354:880;-1:-1:-1;;69354:880:0:o;68175:268::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;68343:16:::1;:14;:16::i;:::-;68370:28;68383:5;68390:7;68370:12;:28::i;:::-;68409:11;:26:::0;;-1:-1:-1;;;;;;68409:26:0::1;-1:-1:-1::0;;;;;68409:26:0;::::1;;::::0;;22162:68;;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;68175:268;;;;:::o;58545:176::-;58601:6;;58631:5;58635:1;58631;:5;:::i;:::-;58620:16;;58661:1;58656;:6;;:16;;;;;58671:1;58666;:6;;58656:16;58655:38;;;;58682:1;58678;:5;:14;;;;;58691:1;58687;:5;58647:47;;;;;79724:234;79791:4;79828:15;79812:13;:31;79808:76;;;-1:-1:-1;79867:5:0;;79724:234;-1:-1:-1;79724:234:0:o;79808:76::-;79941:9;;79903:34;:15;79923:13;79903:19;:34::i;:::-;:47;;;79724:234;-1:-1:-1;;79724:234:0:o;73337:284::-;73413:27;73425:7;73434:5;73413:11;:27::i;:::-;73493:120;73559:53;73560:36;73590:5;73560:25;;:29;;:36;;;;:::i;73559:53::-;-1:-1:-1;;;;;73493:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;:::-;-1:-1:-1;;;;;73453:37:0;;;;;;;:28;:37;;;;;:160;;;;-1:-1:-1;73337:284:0:o;73906:::-;73982:27;73994:7;74003:5;73982:11;:27::i;:::-;74062:120;74128:53;74129:36;74159:5;74129:25;;:29;;:36;;;;:::i;74128:53::-;-1:-1:-1;;;;;74062:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;60127:445::-;60335:58;;;-1:-1:-1;;;;;4726:32:1;;;60335:58:0;;;4708:51:1;4775:18;;;;4768:34;;;60335:58:0;;;;;;;;;;4681:18:1;;;;60335:58:0;;;;;;;-1:-1:-1;;;;;60335:58:0;-1:-1:-1;;;60335:58:0;;;60301:103;;-1:-1:-1;;;;;;60301:19:0;;;;:103;;60335:58;60301:103;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60259:145;;;;60435:7;:82;;;;-1:-1:-1;60460:17:0;;:22;;:56;;;60497:10;60486:30;;;;;;;;;;;;:::i;:::-;60435:129;;;;;60563:1;60542:5;-1:-1:-1;;;;;60534:26:0;;:30;60435:129;60415:149;60127:445;-1:-1:-1;;;;;;60127:445:0:o;39607:129::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;39665:26:::1;:24;:26::i;:::-;39702;:24;:26::i;:::-;22166:14:::0;22162:68;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;39607:129;:::o;25756:181::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;25854:26:::1;:24;:26::i;:::-;25891:38;25914:5;25921:7;25891:22;:38::i;:::-;22166:14:::0;22162:68;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;25756:181;;;:::o;32532:399::-;-1:-1:-1;;;;;32616:21:0;;32608:65;;;;-1:-1:-1;;;32608:65:0;;11066:2:1;32608:65:0;;;11048:21:1;11105:2;11085:18;;;11078:30;11144:33;11124:18;;;11117:61;11195:18;;32608:65:0;11038:181:1;32608:65:0;32764:6;32748:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;32781:18:0;;;;;;:9;:18;;;;;:28;;32803:6;;32781:18;:28;;32803:6;;32781:28;:::i;:::-;;;;-1:-1:-1;;32825:37:0;;11400:25:1;;;-1:-1:-1;;;;;32825:37:0;;;32842:1;;32825:37;;11388:2:1;11373:18;32825:37:0;;;;;;;79966:511;;:::o;33264:591::-;-1:-1:-1;;;;;33348:21:0;;33340:67;;;;-1:-1:-1;;;33340:67:0;;9429:2:1;33340:67:0;;;9411:21:1;9468:2;9448:18;;;9441:30;9507:34;9487:18;;;9480:62;-1:-1:-1;;;9558:18:1;;;9551:31;9599:19;;33340:67:0;9401:223:1;33340:67:0;-1:-1:-1;;;;;33507:18:0;;33482:22;33507:18;;;:9;:18;;;;;;33544:24;;;;33536:71;;;;-1:-1:-1;;;33536:71:0;;5595:2:1;33536:71:0;;;5577:21:1;5634:2;5614:18;;;5607:30;5673:34;5653:18;;;5646:62;-1:-1:-1;;;5724:18:1;;;5717:32;5766:19;;33536:71:0;5567:224:1;33536:71:0;-1:-1:-1;;;;;33643:18:0;;;;;;:9;:18;;;;;33664:23;;;33643:44;;33709:12;:22;;33681:6;;33643:18;33709:22;;33681:6;;33709:22;:::i;:::-;;;;-1:-1:-1;;33749:37:0;;11400:25:1;;;33775:1:0;;-1:-1:-1;;;;;33749:37:0;;;;;11388:2:1;11373:18;33749:37:0;;;;;;;75420:403;;;:::o;23114:65::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22162:68;;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;23114:65;:::o;39744:99::-;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;39812:23:::1;23265:10:::0;39812:9:::1;:23::i;25945:157::-:0;21894:13;;;;;;;;:30;;-1:-1:-1;21912:12:0;;;;21911:13;21894:30;21886:89;;;;-1:-1:-1;;;21886:89:0;;;;;;;:::i;:::-;21988:19;22011:13;;;;;;22010:14;22035:101;;;;22070:13;:20;;-1:-1:-1;;22105:19:0;;;;;22035:101;26053:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;26077:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;22166:14:::0;22162:68;;;22213:5;22197:21;;-1:-1:-1;;22197:21:0;;;25945:157;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:257:1;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;542:400::-;615:6;623;676:2;664:9;655:7;651:23;647:32;644:2;;;697:6;689;682:22;644:2;741:9;728:23;760:31;785:5;760:31;:::i;:::-;810:5;-1:-1:-1;867:2:1;852:18;;839:32;880:30;839:32;880:30;:::i;:::-;929:7;919:17;;;634:308;;;;;:::o;947:333::-;1023:6;1031;1084:2;1072:9;1063:7;1059:23;1055:32;1052:2;;;1105:6;1097;1090:22;1052:2;1149:9;1136:23;1168:31;1193:5;1168:31;:::i;:::-;1218:5;1270:2;1255:18;;;;1242:32;;-1:-1:-1;;;1042:238:1:o;1285:398::-;1353:6;1361;1414:2;1402:9;1393:7;1389:23;1385:32;1382:2;;;1435:6;1427;1420:22;1382:2;1479:9;1466:23;1498:31;1523:5;1498:31;:::i;:::-;1548:5;-1:-1:-1;1605:2:1;1590:18;;1577:32;1618:33;1577:32;1618:33;:::i;1688:466::-;1765:6;1773;1781;1834:2;1822:9;1813:7;1809:23;1805:32;1802:2;;;1855:6;1847;1840:22;1802:2;1899:9;1886:23;1918:31;1943:5;1918:31;:::i;:::-;1968:5;-1:-1:-1;2025:2:1;2010:18;;1997:32;2038:33;1997:32;2038:33;:::i;:::-;1792:362;;2090:7;;-1:-1:-1;;;2144:2:1;2129:18;;;;2116:32;;1792:362::o;2489:255::-;2556:6;2609:2;2597:9;2588:7;2584:23;2580:32;2577:2;;;2630:6;2622;2615:22;2577:2;2667:9;2661:16;2686:28;2708:5;2686:28;:::i;2749:193::-;2818:6;2871:2;2859:9;2850:7;2846:23;2842:32;2839:2;;;2892:6;2884;2877:22;2839:2;-1:-1:-1;2920:16:1;;2829:113;-1:-1:-1;2829:113:1:o;2947:190::-;3006:6;3059:2;3047:9;3038:7;3034:23;3030:32;3027:2;;;3080:6;3072;3065:22;3027:2;-1:-1:-1;3108:23:1;;3017:120;-1:-1:-1;3017:120:1:o;3341:274::-;3470:3;3508:6;3502:13;3524:53;3570:6;3565:3;3558:4;3550:6;3546:17;3524:53;:::i;:::-;3593:16;;;;;3478:137;-1:-1:-1;;3478:137:1:o;5005:383::-;5154:2;5143:9;5136:21;5117:4;5186:6;5180:13;5229:6;5224:2;5213:9;5209:18;5202:34;5245:66;5304:6;5299:2;5288:9;5284:18;5279:2;5271:6;5267:15;5245:66;:::i;:::-;5372:2;5351:15;-1:-1:-1;;5347:29:1;5332:45;;;;5379:2;5328:54;;5126:262;-1:-1:-1;;5126:262:1:o;7157:410::-;7359:2;7341:21;;;7398:2;7378:18;;;7371:30;7437:34;7432:2;7417:18;;7410:62;-1:-1:-1;;;7503:2:1;7488:18;;7481:44;7557:3;7542:19;;7331:236::o;8459:356::-;8661:2;8643:21;;;8680:18;;;8673:30;8739:34;8734:2;8719:18;;8712:62;8806:2;8791:18;;8633:182::o;13428:267::-;13467:3;13495:11;;;13522:10;;-1:-1:-1;;;;;13541:27:1;;;13534:35;;13518:52;13515:2;;;13573:18;;:::i;:::-;-1:-1:-1;;;13620:19:1;;;13613:27;;13605:36;;13602:2;;;13644:18;;:::i;:::-;-1:-1:-1;;13680:9:1;;13475:220::o;13700:128::-;13740:3;13771:1;13767:6;13764:1;13761:13;13758:2;;;13777:18;;:::i;:::-;-1:-1:-1;13813:9:1;;13748:80::o;13833:217::-;13873:1;13899;13889:2;;-1:-1:-1;;;13924:31:1;;13978:4;13975:1;13968:15;14006:4;13931:1;13996:15;13889:2;-1:-1:-1;14035:9:1;;13879:171::o;14055:168::-;14095:7;14161:1;14157;14153:6;14149:14;14146:1;14143:21;14138:1;14131:9;14124:17;14120:45;14117:2;;;14168:18;;:::i;:::-;-1:-1:-1;14208:9:1;;14107:116::o;14228:270::-;14267:4;14296:12;;;14324:10;;-1:-1:-1;;;14343:19:1;;14336:27;;14320:44;14317:2;;;14367:18;;:::i;:::-;-1:-1:-1;;;;;14414:27:1;;14407:35;;14399:44;;14396:2;;;14446:18;;:::i;:::-;-1:-1:-1;;14483:9:1;;14276:222::o;14503:125::-;14543:4;14571:1;14568;14565:8;14562:2;;;14576:18;;:::i;:::-;-1:-1:-1;14613:9:1;;14552:76::o;14633:258::-;14705:1;14715:113;14729:6;14726:1;14723:13;14715:113;;;14805:11;;;14799:18;14786:11;;;14779:39;14751:2;14744:10;14715:113;;;14846:6;14843:1;14840:13;14837:2;;;-1:-1:-1;;14881:1:1;14863:16;;14856:27;14686:205::o;14896:380::-;14975:1;14971:12;;;;15018;;;15039:2;;15093:4;15085:6;15081:17;15071:27;;15039:2;15146;15138:6;15135:14;15115:18;15112:38;15109:2;;;15192:10;15187:3;15183:20;15180:1;15173:31;15227:4;15224:1;15217:15;15255:4;15252:1;15245:15;15109:2;;14951:325;;;:::o;15281:135::-;15320:3;-1:-1:-1;;15341:17:1;;15338:2;;;15361:18;;:::i;:::-;-1:-1:-1;15408:1:1;15397:13;;15328:88::o;15421:127::-;15482:10;15477:3;15473:20;15470:1;15463:31;15513:4;15510:1;15503:15;15537:4;15534:1;15527:15;15553:131;-1:-1:-1;;;;;15628:31:1;;15618:42;;15608:2;;15674:1;15671;15664:12;15689:118;15775:5;15768:13;15761:21;15754:5;15751:32;15741:2;;15797:1;15794;15787:12
Swarm Source
ipfs://6581b32d7bcb3198d7e3c7e32da9d6d077aaac3982a6d91b588d17feaa5b10f6
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.