ERC-20
Overview
Max Total Supply
2,312,403.62765 BIRDSEED
Holders
127
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,258.922 BIRDSEEDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheBirdHouseFarm
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; contract TheBirdHouseFarm is ERC20, Ownable { /* _____ _ ___ _ _ _ _ ___ |_ _| |_ ___ | _ |_)_ _ __| | || |___ _ _ ___ ___ | __|_ _ _ _ _ __ | | | ' \/ -_) | _ \ | '_/ _` | __ / _ \ || (_-</ -_) | _/ _` | '_| ' \ |_| |_||_\___| |___/_|_| \__,_|_||_\___/\_,_/__/\___| |_|\__,_|_| |_|_|_| */ using SafeMath for uint256; uint256 public EMISSIONS_RATE = 1150000000000000; uint256 public startingTimestamp; uint256 public endingTimestamp = 1661832000; IERC721Enumerable private TheBirdHouseContract; //Mapping of OG bird to timestamp mapping(uint256 => uint256) internal tokenIdToTimestamp; constructor(address _theBirdHouseAddress) ERC20("BirdSeed", "BIRDSEED") { _mint(msg.sender, 10000000000000000000000); TheBirdHouseContract = IERC721Enumerable(_theBirdHouseAddress); startingTimestamp = block.timestamp; } /** * @dev Calculates rewards since block. * @param _blockTimestamp The block timestamp to calculate from. */ function calculateBirdseedByTimestamp(uint256 _blockTimestamp) internal view returns (uint256) { //Calculate the time passed since the last claim uint256 secondsPassed = block.timestamp - _blockTimestamp; return secondsPassed * EMISSIONS_RATE; } /** * @dev Returns SEED to be awarded for a token. * @param _tokenId The tokenId to view. */ function viewBirdseedForToken(uint256 _tokenId) public view returns (uint256) { require(_tokenId >= 0 && _tokenId < 6000, "Must use a valid tokenId"); if (tokenIdToTimestamp[_tokenId] == 0) { //If they have yet to claim for this bird, then use the starting timestamp as the from time. return calculateBirdseedByTimestamp(startingTimestamp); } else { //If they have claimed, then use the time of when they last claimed. return calculateBirdseedByTimestamp(tokenIdToTimestamp[_tokenId]); } } /** * @dev Returns SEED to be awarded for an entire wallet. * @param _owner The wallet to view. */ function viewUnclaimedBirdseed(address _owner) public view returns (uint256) { require(TheBirdHouseContract.balanceOf(_owner) > 0, "Wallet must own at least one bird!"); uint256 tokenCount = TheBirdHouseContract.balanceOf(_owner); uint256 rollingBirdseed; for (uint256 i; i < tokenCount; i++) { //Loop through all of their tokens and find the tokenId of each one. uint256 _tokenId = TheBirdHouseContract.tokenOfOwnerByIndex( _owner, i ); //Add total to a rolling sum. rollingBirdseed = rollingBirdseed + viewBirdseedForToken(_tokenId); } return rollingBirdseed; } /** * @dev Mints SEED to sender. * @param _tokenIds The tokenIds to claim. */ function claimBirdseedForTokenIds(uint256[] memory _tokenIds) public returns (uint256) { require(_tokenIds.length > 0, "Must claim at least one bird!"); require(block.timestamp <= endingTimestamp, "Claim period is over!"); uint256 rollingBirdseed; for (uint256 i; i < _tokenIds.length; i++) { uint256 _tokenId = _tokenIds[i]; require(TheBirdHouseContract.ownerOf(_tokenId) == msg.sender, "You can only claim birdseed for birds that you own!"); rollingBirdseed = rollingBirdseed + viewBirdseedForToken(_tokenId); //Set their claim time to now. tokenIdToTimestamp[_tokenId] = block.timestamp; } _mint(msg.sender, rollingBirdseed); return rollingBirdseed; } /** * @dev Mints SEED to sender. */ function claimBirdseed() public returns (uint256) { require(TheBirdHouseContract.balanceOf(msg.sender) > 0, "Must own at least one bird!"); require(block.timestamp <= endingTimestamp, "Claim period is over!"); uint256 tokenCount = TheBirdHouseContract.balanceOf(msg.sender); uint256 rollingBirdseed; for (uint256 i; i < tokenCount; i++) { uint256 _tokenId = TheBirdHouseContract.tokenOfOwnerByIndex( msg.sender, i ); rollingBirdseed = rollingBirdseed + viewBirdseedForToken(_tokenId); //Set their claim time to now. tokenIdToTimestamp[_tokenId] = block.timestamp; } _mint(msg.sender, rollingBirdseed); return rollingBirdseed; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 {} }
// 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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; } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_theBirdHouseAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"EMISSIONS_RATE","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":"claimBirdseed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimBirdseedForTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endingTimestamp","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"_tokenId","type":"uint256"}],"name":"viewBirdseedForToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"viewUnclaimedBirdseed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052660415eb3d7de00060065563630d8b406008553480156200002457600080fd5b5060405162002f4e38038062002f4e83398181016040528101906200004a91906200048d565b6040518060400160405280600881526020017f42697264536565640000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f42495244534545440000000000000000000000000000000000000000000000008152508160039080519060200190620000ce929190620003c6565b508060049080519060200190620000e7929190620003c6565b5050506200010a620000fe6200017560201b60201c565b6200017d60201b60201c565b620001263369021e19e0c9bab24000006200024360201b60201c565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260078190555050620006a5565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ad906200050c565b60405180910390fd5b620002ca60008383620003bc60201b60201c565b8060026000828254620002de91906200055c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200033591906200055c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200039c91906200052e565b60405180910390a3620003b860008383620003c160201b60201c565b5050565b505050565b505050565b828054620003d490620005f7565b90600052602060002090601f016020900481019282620003f8576000855562000444565b82601f106200041357805160ff191683800117855562000444565b8280016001018555821562000444579182015b828111156200044357825182559160200191906001019062000426565b5b50905062000453919062000457565b5090565b5b808211156200047257600081600090555060010162000458565b5090565b60008151905062000487816200068b565b92915050565b600060208284031215620004a057600080fd5b6000620004b08482850162000476565b91505092915050565b6000620004c8601f836200054b565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b6200050681620005ed565b82525050565b600060208201905081810360008301526200052781620004b9565b9050919050565b6000602082019050620005456000830184620004fb565b92915050565b600082825260208201905092915050565b60006200056982620005ed565b91506200057683620005ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620005ae57620005ad6200062d565b5b828201905092915050565b6000620005c682620005cd565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200061057607f821691505b602082108114156200062757620006266200065c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200069681620005b9565b8114620006a257600080fd5b50565b61289980620006b56000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb14610368578063ba7e766214610398578063bfb00956146103b6578063dd62ed3e146103e6578063f2fde38b14610416578063f43146ed1461043257610137565b8063715018a6146102d457806388786272146102de5780638da5cb5b146102fc57806395d89b411461031a578063a457c2d71461033857610137565b806339509351116100ff57806339509351146101f65780634216ffa6146102265780635e5294b714610256578063622b63911461027457806370a08231146102a457610137565b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461018a57806323b872dd146101a8578063313ce567146101d8575b600080fd5b610144610450565b60405161015191906122df565b60405180910390f35b610174600480360381019061016f9190611bc0565b6104e2565b60405161018191906122c4565b60405180910390f35b610192610500565b60405161019f9190612501565b60405180910390f35b6101c260048036038101906101bd9190611b71565b61050a565b6040516101cf91906122c4565b60405180910390f35b6101e0610602565b6040516101ed919061251c565b60405180910390f35b610210600480360381019061020b9190611bc0565b61060b565b60405161021d91906122c4565b60405180910390f35b610240600480360381019061023b9190611bfc565b6106b7565b60405161024d9190612501565b60405180910390f35b61025e610901565b60405161026b9190612501565b60405180910390f35b61028e60048036038101906102899190611c3d565b610907565b60405161029b9190612501565b60405180910390f35b6102be60048036038101906102b99190611ae3565b6109ab565b6040516102cb9190612501565b60405180910390f35b6102dc6109f3565b005b6102e6610a7b565b6040516102f39190612501565b60405180910390f35b610304610a81565b6040516103119190612280565b60405180910390f35b610322610aab565b60405161032f91906122df565b60405180910390f35b610352600480360381019061034d9190611bc0565b610b3d565b60405161035f91906122c4565b60405180910390f35b610382600480360381019061037d9190611bc0565b610c28565b60405161038f91906122c4565b60405180910390f35b6103a0610c46565b6040516103ad9190612501565b60405180910390f35b6103d060048036038101906103cb9190611ae3565b610c4c565b6040516103dd9190612501565b60405180910390f35b61040060048036038101906103fb9190611b35565b610edb565b60405161040d9190612501565b60405180910390f35b610430600480360381019061042b9190611ae3565b610f62565b005b61043a61105a565b6040516104479190612501565b60405180910390f35b60606003805461045f9061271c565b80601f016020809104026020016040519081016040528092919081815260200182805461048b9061271c565b80156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b60006104f66104ef61134e565b8484611356565b6001905092915050565b6000600254905090565b6000610517848484611521565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061056261134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d9906123e1565b60405180910390fd5b6105f6856105ee61134e565b858403611356565b60019150509392505050565b60006012905090565b60006106ad61061861134e565b84846001600061062661134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106a891906125b0565b611356565b6001905092915050565b6000808251116106fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f390612481565b60405180910390fd5b600854421115610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890612321565b60405180910390fd5b6000805b83518110156108ed576000848281518110610789577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016108059190612501565b60206040518083038186803b15801561081d57600080fd5b505afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108559190611b0c565b73ffffffffffffffffffffffffffffffffffffffff16146108ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a2906123c1565b60405180910390fd5b6108b481610907565b836108bf91906125b0565b925042600a6000838152602001908152602001600020819055505080806108e59061274e565b915050610745565b506108f833826117a2565b80915050919050565b60085481565b600080821015801561091a575061177082105b610959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095090612461565b60405180910390fd5b6000600a600084815260200190815260200160002054141561098757610980600754611902565b90506109a6565b6109a3600a600084815260200190815260200160002054611902565b90505b919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109fb61134e565b73ffffffffffffffffffffffffffffffffffffffff16610a19610a81565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690612401565b60405180910390fd5b610a796000611929565b565b60075481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610aba9061271c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae69061271c565b8015610b335780601f10610b0857610100808354040283529160200191610b33565b820191906000526020600020905b815481529060010190602001808311610b1657829003601f168201915b5050505050905090565b60008060016000610b4c61134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c00906124c1565b60405180910390fd5b610c1d610c1461134e565b85858403611356565b600191505092915050565b6000610c3c610c3561134e565b8484611521565b6001905092915050565b60065481565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610caa9190612280565b60206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190611c66565b11610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190612381565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d979190612280565b60206040518083038186803b158015610daf57600080fd5b505afa158015610dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de79190611c66565b90506000805b82811015610ed0576000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610e5492919061229b565b60206040518083038186803b158015610e6c57600080fd5b505afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190611c66565b9050610eaf81610907565b83610eba91906125b0565b9250508080610ec89061274e565b915050610ded565b508092505050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f6a61134e565b73ffffffffffffffffffffffffffffffffffffffff16610f88610a81565b73ffffffffffffffffffffffffffffffffffffffff1614610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590612401565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590612341565b60405180910390fd5b61105781611929565b50565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110b89190612280565b60206040518083038186803b1580156110d057600080fd5b505afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190611c66565b11611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906124a1565b60405180910390fd5b60085442111561118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490612321565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016111ea9190612280565b60206040518083038186803b15801561120257600080fd5b505afa158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190611c66565b90506000805b8281101561133b576000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016112a792919061229b565b60206040518083038186803b1580156112bf57600080fd5b505afa1580156112d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f79190611c66565b905061130281610907565b8361130d91906125b0565b925042600a6000838152602001908152602001600020819055505080806113339061274e565b915050611240565b5061134633826117a2565b809250505090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90612441565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90612361565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115149190612501565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890612421565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890612301565b60405180910390fd5b61160c8383836119ef565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906123a1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172591906125b0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117899190612501565b60405180910390a361179c8484846119f4565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906124e1565b60405180910390fd5b61181e600083836119ef565b806002600082825461183091906125b0565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188591906125b0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118ea9190612501565b60405180910390a36118fe600083836119f4565b5050565b60008082426119119190612660565b9050600654816119219190612606565b915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b6000611a0c611a0784612568565b612537565b90508083825260208201905082856020860282011115611a2b57600080fd5b60005b85811015611a5b5781611a418882611ab9565b845260208401935060208301925050600181019050611a2e565b5050509392505050565b600081359050611a7481612835565b92915050565b600081519050611a8981612835565b92915050565b600082601f830112611aa057600080fd5b8135611ab08482602086016119f9565b91505092915050565b600081359050611ac88161284c565b92915050565b600081519050611add8161284c565b92915050565b600060208284031215611af557600080fd5b6000611b0384828501611a65565b91505092915050565b600060208284031215611b1e57600080fd5b6000611b2c84828501611a7a565b91505092915050565b60008060408385031215611b4857600080fd5b6000611b5685828601611a65565b9250506020611b6785828601611a65565b9150509250929050565b600080600060608486031215611b8657600080fd5b6000611b9486828701611a65565b9350506020611ba586828701611a65565b9250506040611bb686828701611ab9565b9150509250925092565b60008060408385031215611bd357600080fd5b6000611be185828601611a65565b9250506020611bf285828601611ab9565b9150509250929050565b600060208284031215611c0e57600080fd5b600082013567ffffffffffffffff811115611c2857600080fd5b611c3484828501611a8f565b91505092915050565b600060208284031215611c4f57600080fd5b6000611c5d84828501611ab9565b91505092915050565b600060208284031215611c7857600080fd5b6000611c8684828501611ace565b91505092915050565b611c9881612694565b82525050565b611ca7816126a6565b82525050565b6000611cb882612594565b611cc2818561259f565b9350611cd28185602086016126e9565b611cdb81612824565b840191505092915050565b6000611cf360238361259f565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611d5960158361259f565b91507f436c61696d20706572696f64206973206f7665722100000000000000000000006000830152602082019050919050565b6000611d9960268361259f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611dff60228361259f565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e6560228361259f565b91507f57616c6c6574206d757374206f776e206174206c65617374206f6e652062697260008301527f64210000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611ecb60268361259f565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f3160338361259f565b91507f596f752063616e206f6e6c7920636c61696d20626972647365656420666f722060008301527f6269726473207468617420796f75206f776e21000000000000000000000000006020830152604082019050919050565b6000611f9760288361259f565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611ffd60208361259f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061203d60258361259f565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006120a360248361259f565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061210960188361259f565b91507f4d7573742075736520612076616c696420746f6b656e496400000000000000006000830152602082019050919050565b6000612149601d8361259f565b91507f4d75737420636c61696d206174206c65617374206f6e652062697264210000006000830152602082019050919050565b6000612189601b8361259f565b91507f4d757374206f776e206174206c65617374206f6e6520626972642100000000006000830152602082019050919050565b60006121c960258361259f565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061222f601f8361259f565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61226b816126d2565b82525050565b61227a816126dc565b82525050565b60006020820190506122956000830184611c8f565b92915050565b60006040820190506122b06000830185611c8f565b6122bd6020830184612262565b9392505050565b60006020820190506122d96000830184611c9e565b92915050565b600060208201905081810360008301526122f98184611cad565b905092915050565b6000602082019050818103600083015261231a81611ce6565b9050919050565b6000602082019050818103600083015261233a81611d4c565b9050919050565b6000602082019050818103600083015261235a81611d8c565b9050919050565b6000602082019050818103600083015261237a81611df2565b9050919050565b6000602082019050818103600083015261239a81611e58565b9050919050565b600060208201905081810360008301526123ba81611ebe565b9050919050565b600060208201905081810360008301526123da81611f24565b9050919050565b600060208201905081810360008301526123fa81611f8a565b9050919050565b6000602082019050818103600083015261241a81611ff0565b9050919050565b6000602082019050818103600083015261243a81612030565b9050919050565b6000602082019050818103600083015261245a81612096565b9050919050565b6000602082019050818103600083015261247a816120fc565b9050919050565b6000602082019050818103600083015261249a8161213c565b9050919050565b600060208201905081810360008301526124ba8161217c565b9050919050565b600060208201905081810360008301526124da816121bc565b9050919050565b600060208201905081810360008301526124fa81612222565b9050919050565b60006020820190506125166000830184612262565b92915050565b60006020820190506125316000830184612271565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561255e5761255d6127f5565b5b8060405250919050565b600067ffffffffffffffff821115612583576125826127f5565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b60006125bb826126d2565b91506125c6836126d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125fb576125fa612797565b5b828201905092915050565b6000612611826126d2565b915061261c836126d2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561265557612654612797565b5b828202905092915050565b600061266b826126d2565b9150612676836126d2565b92508282101561268957612688612797565b5b828203905092915050565b600061269f826126b2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156127075780820151818401526020810190506126ec565b83811115612716576000848401525b50505050565b6000600282049050600182168061273457607f821691505b60208210811415612748576127476127c6565b5b50919050565b6000612759826126d2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561278c5761278b612797565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61283e81612694565b811461284957600080fd5b50565b612855816126d2565b811461286057600080fd5b5056fea2646970667358221220c8c8d1d05ce851e86aaa223acaf8b757441fbe2e06abfc74a7281744626305c364736f6c63430008000033000000000000000000000000149915f1fd17fe5899adac2542be90690ed8a526
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb14610368578063ba7e766214610398578063bfb00956146103b6578063dd62ed3e146103e6578063f2fde38b14610416578063f43146ed1461043257610137565b8063715018a6146102d457806388786272146102de5780638da5cb5b146102fc57806395d89b411461031a578063a457c2d71461033857610137565b806339509351116100ff57806339509351146101f65780634216ffa6146102265780635e5294b714610256578063622b63911461027457806370a08231146102a457610137565b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461018a57806323b872dd146101a8578063313ce567146101d8575b600080fd5b610144610450565b60405161015191906122df565b60405180910390f35b610174600480360381019061016f9190611bc0565b6104e2565b60405161018191906122c4565b60405180910390f35b610192610500565b60405161019f9190612501565b60405180910390f35b6101c260048036038101906101bd9190611b71565b61050a565b6040516101cf91906122c4565b60405180910390f35b6101e0610602565b6040516101ed919061251c565b60405180910390f35b610210600480360381019061020b9190611bc0565b61060b565b60405161021d91906122c4565b60405180910390f35b610240600480360381019061023b9190611bfc565b6106b7565b60405161024d9190612501565b60405180910390f35b61025e610901565b60405161026b9190612501565b60405180910390f35b61028e60048036038101906102899190611c3d565b610907565b60405161029b9190612501565b60405180910390f35b6102be60048036038101906102b99190611ae3565b6109ab565b6040516102cb9190612501565b60405180910390f35b6102dc6109f3565b005b6102e6610a7b565b6040516102f39190612501565b60405180910390f35b610304610a81565b6040516103119190612280565b60405180910390f35b610322610aab565b60405161032f91906122df565b60405180910390f35b610352600480360381019061034d9190611bc0565b610b3d565b60405161035f91906122c4565b60405180910390f35b610382600480360381019061037d9190611bc0565b610c28565b60405161038f91906122c4565b60405180910390f35b6103a0610c46565b6040516103ad9190612501565b60405180910390f35b6103d060048036038101906103cb9190611ae3565b610c4c565b6040516103dd9190612501565b60405180910390f35b61040060048036038101906103fb9190611b35565b610edb565b60405161040d9190612501565b60405180910390f35b610430600480360381019061042b9190611ae3565b610f62565b005b61043a61105a565b6040516104479190612501565b60405180910390f35b60606003805461045f9061271c565b80601f016020809104026020016040519081016040528092919081815260200182805461048b9061271c565b80156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b60006104f66104ef61134e565b8484611356565b6001905092915050565b6000600254905090565b6000610517848484611521565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061056261134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d9906123e1565b60405180910390fd5b6105f6856105ee61134e565b858403611356565b60019150509392505050565b60006012905090565b60006106ad61061861134e565b84846001600061062661134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106a891906125b0565b611356565b6001905092915050565b6000808251116106fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f390612481565b60405180910390fd5b600854421115610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890612321565b60405180910390fd5b6000805b83518110156108ed576000848281518110610789577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016108059190612501565b60206040518083038186803b15801561081d57600080fd5b505afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108559190611b0c565b73ffffffffffffffffffffffffffffffffffffffff16146108ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a2906123c1565b60405180910390fd5b6108b481610907565b836108bf91906125b0565b925042600a6000838152602001908152602001600020819055505080806108e59061274e565b915050610745565b506108f833826117a2565b80915050919050565b60085481565b600080821015801561091a575061177082105b610959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095090612461565b60405180910390fd5b6000600a600084815260200190815260200160002054141561098757610980600754611902565b90506109a6565b6109a3600a600084815260200190815260200160002054611902565b90505b919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109fb61134e565b73ffffffffffffffffffffffffffffffffffffffff16610a19610a81565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690612401565b60405180910390fd5b610a796000611929565b565b60075481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610aba9061271c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae69061271c565b8015610b335780601f10610b0857610100808354040283529160200191610b33565b820191906000526020600020905b815481529060010190602001808311610b1657829003601f168201915b5050505050905090565b60008060016000610b4c61134e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c00906124c1565b60405180910390fd5b610c1d610c1461134e565b85858403611356565b600191505092915050565b6000610c3c610c3561134e565b8484611521565b6001905092915050565b60065481565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610caa9190612280565b60206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190611c66565b11610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190612381565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d979190612280565b60206040518083038186803b158015610daf57600080fd5b505afa158015610dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de79190611c66565b90506000805b82811015610ed0576000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610e5492919061229b565b60206040518083038186803b158015610e6c57600080fd5b505afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190611c66565b9050610eaf81610907565b83610eba91906125b0565b9250508080610ec89061274e565b915050610ded565b508092505050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f6a61134e565b73ffffffffffffffffffffffffffffffffffffffff16610f88610a81565b73ffffffffffffffffffffffffffffffffffffffff1614610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590612401565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590612341565b60405180910390fd5b61105781611929565b50565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110b89190612280565b60206040518083038186803b1580156110d057600080fd5b505afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190611c66565b11611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906124a1565b60405180910390fd5b60085442111561118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490612321565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016111ea9190612280565b60206040518083038186803b15801561120257600080fd5b505afa158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190611c66565b90506000805b8281101561133b576000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016112a792919061229b565b60206040518083038186803b1580156112bf57600080fd5b505afa1580156112d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f79190611c66565b905061130281610907565b8361130d91906125b0565b925042600a6000838152602001908152602001600020819055505080806113339061274e565b915050611240565b5061134633826117a2565b809250505090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90612441565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90612361565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115149190612501565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890612421565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890612301565b60405180910390fd5b61160c8383836119ef565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906123a1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172591906125b0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117899190612501565b60405180910390a361179c8484846119f4565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906124e1565b60405180910390fd5b61181e600083836119ef565b806002600082825461183091906125b0565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188591906125b0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118ea9190612501565b60405180910390a36118fe600083836119f4565b5050565b60008082426119119190612660565b9050600654816119219190612606565b915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b6000611a0c611a0784612568565b612537565b90508083825260208201905082856020860282011115611a2b57600080fd5b60005b85811015611a5b5781611a418882611ab9565b845260208401935060208301925050600181019050611a2e565b5050509392505050565b600081359050611a7481612835565b92915050565b600081519050611a8981612835565b92915050565b600082601f830112611aa057600080fd5b8135611ab08482602086016119f9565b91505092915050565b600081359050611ac88161284c565b92915050565b600081519050611add8161284c565b92915050565b600060208284031215611af557600080fd5b6000611b0384828501611a65565b91505092915050565b600060208284031215611b1e57600080fd5b6000611b2c84828501611a7a565b91505092915050565b60008060408385031215611b4857600080fd5b6000611b5685828601611a65565b9250506020611b6785828601611a65565b9150509250929050565b600080600060608486031215611b8657600080fd5b6000611b9486828701611a65565b9350506020611ba586828701611a65565b9250506040611bb686828701611ab9565b9150509250925092565b60008060408385031215611bd357600080fd5b6000611be185828601611a65565b9250506020611bf285828601611ab9565b9150509250929050565b600060208284031215611c0e57600080fd5b600082013567ffffffffffffffff811115611c2857600080fd5b611c3484828501611a8f565b91505092915050565b600060208284031215611c4f57600080fd5b6000611c5d84828501611ab9565b91505092915050565b600060208284031215611c7857600080fd5b6000611c8684828501611ace565b91505092915050565b611c9881612694565b82525050565b611ca7816126a6565b82525050565b6000611cb882612594565b611cc2818561259f565b9350611cd28185602086016126e9565b611cdb81612824565b840191505092915050565b6000611cf360238361259f565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611d5960158361259f565b91507f436c61696d20706572696f64206973206f7665722100000000000000000000006000830152602082019050919050565b6000611d9960268361259f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611dff60228361259f565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e6560228361259f565b91507f57616c6c6574206d757374206f776e206174206c65617374206f6e652062697260008301527f64210000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611ecb60268361259f565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f3160338361259f565b91507f596f752063616e206f6e6c7920636c61696d20626972647365656420666f722060008301527f6269726473207468617420796f75206f776e21000000000000000000000000006020830152604082019050919050565b6000611f9760288361259f565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611ffd60208361259f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061203d60258361259f565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006120a360248361259f565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061210960188361259f565b91507f4d7573742075736520612076616c696420746f6b656e496400000000000000006000830152602082019050919050565b6000612149601d8361259f565b91507f4d75737420636c61696d206174206c65617374206f6e652062697264210000006000830152602082019050919050565b6000612189601b8361259f565b91507f4d757374206f776e206174206c65617374206f6e6520626972642100000000006000830152602082019050919050565b60006121c960258361259f565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061222f601f8361259f565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61226b816126d2565b82525050565b61227a816126dc565b82525050565b60006020820190506122956000830184611c8f565b92915050565b60006040820190506122b06000830185611c8f565b6122bd6020830184612262565b9392505050565b60006020820190506122d96000830184611c9e565b92915050565b600060208201905081810360008301526122f98184611cad565b905092915050565b6000602082019050818103600083015261231a81611ce6565b9050919050565b6000602082019050818103600083015261233a81611d4c565b9050919050565b6000602082019050818103600083015261235a81611d8c565b9050919050565b6000602082019050818103600083015261237a81611df2565b9050919050565b6000602082019050818103600083015261239a81611e58565b9050919050565b600060208201905081810360008301526123ba81611ebe565b9050919050565b600060208201905081810360008301526123da81611f24565b9050919050565b600060208201905081810360008301526123fa81611f8a565b9050919050565b6000602082019050818103600083015261241a81611ff0565b9050919050565b6000602082019050818103600083015261243a81612030565b9050919050565b6000602082019050818103600083015261245a81612096565b9050919050565b6000602082019050818103600083015261247a816120fc565b9050919050565b6000602082019050818103600083015261249a8161213c565b9050919050565b600060208201905081810360008301526124ba8161217c565b9050919050565b600060208201905081810360008301526124da816121bc565b9050919050565b600060208201905081810360008301526124fa81612222565b9050919050565b60006020820190506125166000830184612262565b92915050565b60006020820190506125316000830184612271565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561255e5761255d6127f5565b5b8060405250919050565b600067ffffffffffffffff821115612583576125826127f5565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b60006125bb826126d2565b91506125c6836126d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125fb576125fa612797565b5b828201905092915050565b6000612611826126d2565b915061261c836126d2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561265557612654612797565b5b828202905092915050565b600061266b826126d2565b9150612676836126d2565b92508282101561268957612688612797565b5b828203905092915050565b600061269f826126b2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156127075780820151818401526020810190506126ec565b83811115612716576000848401525b50505050565b6000600282049050600182168061273457607f821691505b60208210811415612748576127476127c6565b5b50919050565b6000612759826126d2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561278c5761278b612797565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61283e81612694565b811461284957600080fd5b50565b612855816126d2565b811461286057600080fd5b5056fea2646970667358221220c8c8d1d05ce851e86aaa223acaf8b757441fbe2e06abfc74a7281744626305c364736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000149915f1fd17fe5899adac2542be90690ed8a526
-----Decoded View---------------
Arg [0] : _theBirdHouseAddress (address): 0x149915F1FD17fe5899ADac2542Be90690eD8A526
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000149915f1fd17fe5899adac2542be90690ed8a526
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.