More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 111 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake By Ids | 21291545 | 17 days ago | IN | 0 ETH | 0.00379161 | ||||
Stake By Ids | 21291518 | 17 days ago | IN | 0 ETH | 0.00267152 | ||||
Stake By Ids | 21291516 | 17 days ago | IN | 0 ETH | 0.00113154 | ||||
Claim All | 21291513 | 17 days ago | IN | 0 ETH | 0.00038225 | ||||
Claim All | 16728827 | 656 days ago | IN | 0 ETH | 0.00529385 | ||||
Claim All | 16329458 | 712 days ago | IN | 0 ETH | 0.0028312 | ||||
Stake By Ids | 16292880 | 717 days ago | IN | 0 ETH | 0.00262762 | ||||
Stake By Ids | 16205426 | 730 days ago | IN | 0 ETH | 0.00227271 | ||||
Stake By Ids | 15958019 | 764 days ago | IN | 0 ETH | 0.00191384 | ||||
Stake By Ids | 15513619 | 827 days ago | IN | 0 ETH | 0.00102505 | ||||
Stake By Ids | 15513605 | 827 days ago | IN | 0 ETH | 0.00336822 | ||||
Stake By Ids | 15513584 | 827 days ago | IN | 0 ETH | 0.00542072 | ||||
Claim All | 15499918 | 829 days ago | IN | 0 ETH | 0.00195515 | ||||
Claim All | 15422898 | 842 days ago | IN | 0 ETH | 0.00174595 | ||||
Stake By Ids | 15306010 | 860 days ago | IN | 0 ETH | 0.00954332 | ||||
Stake By Ids | 15306002 | 860 days ago | IN | 0 ETH | 0.009542 | ||||
Claim All | 15287458 | 863 days ago | IN | 0 ETH | 0.00100086 | ||||
Stake By Ids | 15251997 | 868 days ago | IN | 0 ETH | 0.00360162 | ||||
Claim All | 15251912 | 868 days ago | IN | 0 ETH | 0.00521225 | ||||
Stake By Ids | 15231386 | 872 days ago | IN | 0 ETH | 0.00409073 | ||||
Stake By Ids | 15202237 | 876 days ago | IN | 0 ETH | 0.00185223 | ||||
Stake By Ids | 15195215 | 877 days ago | IN | 0 ETH | 0.009957 | ||||
Stake By Ids | 15088845 | 894 days ago | IN | 0 ETH | 0.01017844 | ||||
Stake By Ids | 15081385 | 895 days ago | IN | 0 ETH | 0.00238093 | ||||
Claim All | 15081324 | 895 days ago | IN | 0 ETH | 0.00292932 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BabyStaking
Compiler Version
v0.8.4+commit.c7e474f2
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/token/ERC721/extensions/IERC721Enumerable.sol"; contract BabyStaking is Ownable { uint256 public constant MAX_WALLET_STAKED = 10; uint256 public constant EMISSION_RATE = uint256(5 * 1e18) / 86400; uint256 public endTime = 2000000000; // Wednesday, 18 May 2033 03:33:20 address public constant NULL_ADDRESS = 0x0000000000000000000000000000000000000000; address public babyDraco; address public essence; bool public stakingStart = false; mapping(uint256 => uint256) internal tokenIdToTimeStamp; mapping(uint256 => address) internal tokenIdToStaker; mapping(address => uint256[]) internal stakerToTokenIds; function setBabyDraco(address _babyDraco) public onlyOwner { babyDraco = _babyDraco; } function setEssence(address _essence) public onlyOwner { essence = _essence; } function setStakingStart(bool _stakingStart) public onlyOwner { stakingStart = _stakingStart; } function setEndTime(uint256 _endTime) public onlyOwner { endTime = _endTime; } function withdraw() public onlyOwner { IERC20 iEssence = IERC20(essence); iEssence.transfer( msg.sender, iEssence.balanceOf(address(this)) ); } function getTokensStaked(address staker) public view returns (uint256[] memory) { return stakerToTokenIds[staker]; } function getTokensUnstaked(address staker) public view returns (uint256[] memory) { IERC721Enumerable iBabyDraco = IERC721Enumerable(babyDraco); uint256 tokenCount = iBabyDraco.balanceOf(staker); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokensId[i] = iBabyDraco.tokenOfOwnerByIndex(staker, i); } return tokensId; } function remove(address staker, uint256 index) internal { if (index >= stakerToTokenIds[staker].length) return; for (uint256 i = index; i < stakerToTokenIds[staker].length - 1; i++) { stakerToTokenIds[staker][i] = stakerToTokenIds[staker][i + 1]; } stakerToTokenIds[staker].pop(); } function removeTokenIdFromStaker(address staker, uint256 tokenId) internal { for (uint256 i = 0; i < stakerToTokenIds[staker].length; i++) { if (stakerToTokenIds[staker][i] == tokenId) { //This is the tokenId to remove; remove(staker, i); } } } function stakeByIds(uint256[] memory tokenIds) public { require( stakerToTokenIds[msg.sender].length + tokenIds.length <= MAX_WALLET_STAKED, "Max 10 staked boner" ); require(stakingStart, "Stake not started"); require(block.timestamp <= endTime , "Stake ended"); IERC721 iBabyDraco = IERC721(babyDraco); for (uint256 i = 0; i < tokenIds.length; i++) { require( iBabyDraco.ownerOf(tokenIds[i]) == msg.sender && tokenIdToStaker[tokenIds[i]] == NULL_ADDRESS, "Token must be stakable by you!" ); iBabyDraco.transferFrom( msg.sender, address(this), tokenIds[i] ); stakerToTokenIds[msg.sender].push(tokenIds[i]); tokenIdToTimeStamp[tokenIds[i]] = block.timestamp; tokenIdToStaker[tokenIds[i]] = msg.sender; } } function unstakeByIds(uint256[] memory tokenIds) public { uint256 totalRewards = 0; IERC721 iBabyDraco = IERC721(babyDraco); for (uint256 i = 0; i < tokenIds.length; i++) { require( tokenIdToStaker[tokenIds[i]] == msg.sender, "Message Sender was not original staker!" ); iBabyDraco.transferFrom( address(this), msg.sender, tokenIds[i] ); totalRewards = totalRewards + getRewardsByTokenId(tokenIds[i]); removeTokenIdFromStaker(msg.sender, tokenIds[i]); tokenIdToStaker[tokenIds[i]] = NULL_ADDRESS; } IERC20(essence).transfer(msg.sender, totalRewards); } function claimByTokenId(uint256 tokenId) public { require( tokenIdToStaker[tokenId] == msg.sender, "Token is not claimable by you!" ); IERC20(essence).transfer( msg.sender, getRewardsByTokenId(tokenId) ); tokenIdToTimeStamp[tokenId] = block.timestamp; } function claimAll() public { uint256[] memory tokenIds = stakerToTokenIds[msg.sender]; uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { totalRewards = totalRewards + getRewardsByTokenId(tokenIds[i]); tokenIdToTimeStamp[tokenIds[i]] = block.timestamp; } IERC20(essence).transfer(msg.sender, totalRewards); } function getAllRewards(address staker) public view returns (uint256) { uint256[] memory tokenIds = stakerToTokenIds[staker]; uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { totalRewards = totalRewards + getRewardsByTokenId(tokenIds[i]); } return totalRewards; } function getRewardsByTokenId(uint256 tokenId) public view returns (uint256) { require( tokenIdToStaker[tokenId] != NULL_ADDRESS, "Token is not staked!" ); uint256 secondsStaked = block.timestamp - tokenIdToTimeStamp[tokenId]; if(block.timestamp > endTime){ secondsStaked = endTime - tokenIdToTimeStamp[tokenId]; } return secondsStaked * EMISSION_RATE; } function getStaker(uint256 tokenId) public view returns (address) { return tokenIdToStaker[tokenId]; } function walletOfOwner(address _owner) external view returns (uint256[] memory) { IERC721Enumerable iBabyDraco = IERC721Enumerable(babyDraco); uint256 tokenCount = iBabyDraco.balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokensId[i] = iBabyDraco.tokenOfOwnerByIndex(_owner, i); } return tokensId; } }
// 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 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 {} }
// 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 "../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 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; /** * @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; 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; /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET_STAKED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NULL_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"babyDraco","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"essence","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getTokensStaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getTokensUnstaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"address","name":"_babyDraco","type":"address"}],"name":"setBabyDraco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_essence","type":"address"}],"name":"setEssence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_stakingStart","type":"bool"}],"name":"setStakingStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405263773594006001556000600360146101000a81548160ff0219169083151502179055503480156200003457600080fd5b5062000055620000496200005b60201b60201c565b6200006360201b60201c565b62000127565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ed380620001376000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80637b57b781116100de578063d1c17b6f11610097578063de0ce17d11610071578063de0ce17d146103ec578063e3c998fe1461040a578063f2fde38b1461043a578063fcec6e8e1461045657610173565b8063d1c17b6f14610396578063d771b0a6146103b2578063d9ffad47146103d057610173565b80637b57b781146102fa5780638ab8fab3146103185780638da5cb5b146103365780638f0ecae214610354578063ccb98ffc14610370578063d1058e591461038c57610173565b806348aa19361161013057806348aa19361461023a578063515ec1051461025657806352eb7796146102865780635c7abcc2146102b65780635e1f1e2a146102d4578063715018a6146102f057610173565b806301b8199a1461017857806303a6d72f146101965780633197cbb6146101b2578063362a3fad146101d05780633ccfd60b14610200578063438b63001461020a575b600080fd5b610180610486565b60405161018d9190612970565b60405180910390f35b6101b060048036038101906101ab9190612507565b6104a0565b005b6101ba610539565b6040516101c79190612970565b60405180910390f35b6101ea60048036038101906101e59190612474565b61053f565b6040516101f79190612970565b60405180910390f35b610208610653565b005b610224600480360381019061021f9190612474565b61080f565b6040516102319190612813565b60405180910390f35b610254600480360381019061024f91906124c6565b610a32565b005b610270600480360381019061026b9190612559565b610df2565b60405161027d9190612970565b60405180910390f35b6102a0600480360381019061029b9190612474565b610f11565b6040516102ad9190612813565b60405180910390f35b6102be610fa8565b6040516102cb9190612798565b60405180910390f35b6102ee60048036038101906102e99190612559565b610fce565b005b6102f8611142565b005b6103026111ca565b60405161030f9190612798565b60405180910390f35b6103206111f0565b60405161032d9190612970565b60405180910390f35b61033e6111f5565b60405161034b9190612798565b60405180910390f35b61036e60048036038101906103699190612474565b61121e565b005b61038a60048036038101906103859190612559565b6112de565b005b610394611364565b005b6103b060048036038101906103ab9190612474565b611579565b005b6103ba611639565b6040516103c79190612835565b60405180910390f35b6103ea60048036038101906103e591906124c6565b61164c565b005b6103f4611bdd565b6040516104019190612798565b60405180910390f35b610424600480360381019061041f9190612559565b611be2565b6040516104319190612798565b60405180910390f35b610454600480360381019061044f9190612474565b611c1f565b005b610470600480360381019061046b9190612474565b611d17565b60405161047d9190612813565b60405180910390f35b62015180674563918244f4000061049d9190612a7c565b81565b6104a8611f3a565b73ffffffffffffffffffffffffffffffffffffffff166104c66111f5565b73ffffffffffffffffffffffffffffffffffffffff161461051c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610513906128f0565b60405180910390fd5b80600360146101000a81548160ff02191690831515021790555050565b60015481565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156105cb57602002820191906000526020600020905b8154815260200190600101908083116105b7575b505050505090506000805b82518110156106485761062883828151811061061b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b826106339190612a26565b9150808061064090612bb4565b9150506105d6565b508092505050919050565b61065b611f3a565b73ffffffffffffffffffffffffffffffffffffffff166106796111f5565b73ffffffffffffffffffffffffffffffffffffffff16146106cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c6906128f0565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161074c9190612798565b60206040518083038186803b15801561076457600080fd5b505afa158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c9190612582565b6040518363ffffffff1660e01b81526004016107b99291906127ea565b602060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612530565b5050565b60606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016108739190612798565b60206040518083038186803b15801561088b57600080fd5b505afa15801561089f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c39190612582565b905060008167ffffffffffffffff811115610907577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109355781602001602082028036833780820191505090505b50905060005b82811015610a26578373ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b815260040161097e9291906127ea565b60206040518083038186803b15801561099657600080fd5b505afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612582565b828281518110610a07577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610a1e90612bb4565b91505061093b565b50809350505050919050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8351811015610d3c573373ffffffffffffffffffffffffffffffffffffffff1660056000868481518110610aba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90612930565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3033878581518110610b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b8152600401610bc4939291906127b3565b600060405180830381600087803b158015610bde57600080fd5b505af1158015610bf2573d6000803e3d6000fd5b50505050610c3f848281518110610c32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b83610c4a9190612a26565b9250610c9633858381518110610c89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611f42565b600060056000868481518110610cd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610d3490612bb4565b915050610a5d565b50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610d9a9291906127ea565b602060405180830381600087803b158015610db457600080fd5b505af1158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190612530565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90612950565b60405180910390fd5b6000600460008481526020019081526020016000205442610eb79190612b07565b9050600154421115610ee7576004600084815260200190815260200160002054600154610ee49190612b07565b90505b62015180674563918244f40000610efe9190612a7c565b81610f099190612aad565b915050919050565b6060600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610f9c57602002820191906000526020600020905b815481526020019060010190808311610f88575b50505050509050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461106f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611066906128b0565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb336110b784610df2565b6040518363ffffffff1660e01b81526004016110d49291906127ea565b602060405180830381600087803b1580156110ee57600080fd5b505af1158015611102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111269190612530565b5042600460008381526020019081526020016000208190555050565b61114a611f3a565b73ffffffffffffffffffffffffffffffffffffffff166111686111f5565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b5906128f0565b60405180910390fd5b6111c8600061203b565b565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611226611f3a565b73ffffffffffffffffffffffffffffffffffffffff166112446111f5565b73ffffffffffffffffffffffffffffffffffffffff161461129a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611291906128f0565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112e6611f3a565b73ffffffffffffffffffffffffffffffffffffffff166113046111f5565b73ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906128f0565b60405180910390fd5b8060018190555050565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156113ef57602002820191906000526020600020905b8154815260200190600101908083116113db575b505050505090506000805b82518110156114c45761144c83828151811061143f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b826114579190612a26565b91504260046000858481518110611497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806114bc90612bb4565b9150506113fa565b50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016115229291906127ea565b602060405180830381600087803b15801561153c57600080fd5b505af1158015611550573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115749190612530565b505050565b611581611f3a565b73ffffffffffffffffffffffffffffffffffffffff1661159f6111f5565b73ffffffffffffffffffffffffffffffffffffffff16146115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec906128f0565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360149054906101000a900460ff1681565b600a8151600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061169d9190612a26565b11156116de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d590612910565b60405180910390fd5b600360149054906101000a900460ff1661172d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611724906128d0565b60405180910390fd5b600154421115611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990612870565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8251811015611bd8573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e858481518110611811577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016118359190612970565b60206040518083038186803b15801561184d57600080fd5b505afa158015611861573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611885919061249d565b73ffffffffffffffffffffffffffffffffffffffff161480156119475750600073ffffffffffffffffffffffffffffffffffffffff16600560008584815181106118f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d90612890565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd33308685815181106119dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b8152600401611a03939291906127b3565b600060405180830381600087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b50505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838281518110611aad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150554260046000858481518110611b19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020819055503360056000858481518110611b71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611bd090612bb4565b91505061179c565b505050565b600081565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611c27611f3a565b73ffffffffffffffffffffffffffffffffffffffff16611c456111f5565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c92906128f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290612850565b60405180910390fd5b611d148161203b565b50565b60606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611d7b9190612798565b60206040518083038186803b158015611d9357600080fd5b505afa158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190612582565b905060008167ffffffffffffffff811115611e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e3d5781602001602082028036833780820191505090505b50905060005b82811015611f2e578373ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b8152600401611e869291906127ea565b60206040518083038186803b158015611e9e57600080fd5b505afa158015611eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed69190612582565b828281518110611f0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611f2690612bb4565b915050611e43565b50809350505050919050565b600033905090565b60005b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156120365781600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612007577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015414156120235761202283826120ff565b5b808061202e90612bb4565b915050611f45565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061214d5761235c565b60008190505b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506121a29190612b07565b8110156122cf57600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001826121f59190612a26565b8154811061222c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106122ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555080806122c790612bb4565b915050612153565b50600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590555b5050565b600061237361236e846129b0565b61298b565b9050808382526020820190508285602086028201111561239257600080fd5b60005b858110156123c257816123a8888261244a565b845260208401935060208301925050600181019050612395565b5050509392505050565b6000813590506123db81612e58565b92915050565b6000815190506123f081612e58565b92915050565b600082601f83011261240757600080fd5b8135612417848260208601612360565b91505092915050565b60008135905061242f81612e6f565b92915050565b60008151905061244481612e6f565b92915050565b60008135905061245981612e86565b92915050565b60008151905061246e81612e86565b92915050565b60006020828403121561248657600080fd5b6000612494848285016123cc565b91505092915050565b6000602082840312156124af57600080fd5b60006124bd848285016123e1565b91505092915050565b6000602082840312156124d857600080fd5b600082013567ffffffffffffffff8111156124f257600080fd5b6124fe848285016123f6565b91505092915050565b60006020828403121561251957600080fd5b600061252784828501612420565b91505092915050565b60006020828403121561254257600080fd5b600061255084828501612435565b91505092915050565b60006020828403121561256b57600080fd5b60006125798482850161244a565b91505092915050565b60006020828403121561259457600080fd5b60006125a28482850161245f565b91505092915050565b60006125b7838361277a565b60208301905092915050565b6125cc81612b3b565b82525050565b60006125dd826129ec565b6125e78185612a04565b93506125f2836129dc565b8060005b8381101561262357815161260a88826125ab565b9750612615836129f7565b9250506001810190506125f6565b5085935050505092915050565b61263981612b4d565b82525050565b600061264c602683612a15565b915061265782612c9b565b604082019050919050565b600061266f600b83612a15565b915061267a82612cea565b602082019050919050565b6000612692601e83612a15565b915061269d82612d13565b602082019050919050565b60006126b5601e83612a15565b91506126c082612d3c565b602082019050919050565b60006126d8601183612a15565b91506126e382612d65565b602082019050919050565b60006126fb602083612a15565b915061270682612d8e565b602082019050919050565b600061271e601383612a15565b915061272982612db7565b602082019050919050565b6000612741602783612a15565b915061274c82612de0565b604082019050919050565b6000612764601483612a15565b915061276f82612e2f565b602082019050919050565b61278381612b79565b82525050565b61279281612b79565b82525050565b60006020820190506127ad60008301846125c3565b92915050565b60006060820190506127c860008301866125c3565b6127d560208301856125c3565b6127e26040830184612789565b949350505050565b60006040820190506127ff60008301856125c3565b61280c6020830184612789565b9392505050565b6000602082019050818103600083015261282d81846125d2565b905092915050565b600060208201905061284a6000830184612630565b92915050565b600060208201905081810360008301526128698161263f565b9050919050565b6000602082019050818103600083015261288981612662565b9050919050565b600060208201905081810360008301526128a981612685565b9050919050565b600060208201905081810360008301526128c9816126a8565b9050919050565b600060208201905081810360008301526128e9816126cb565b9050919050565b60006020820190508181036000830152612909816126ee565b9050919050565b6000602082019050818103600083015261292981612711565b9050919050565b6000602082019050818103600083015261294981612734565b9050919050565b6000602082019050818103600083015261296981612757565b9050919050565b60006020820190506129856000830184612789565b92915050565b60006129956129a6565b90506129a18282612b83565b919050565b6000604051905090565b600067ffffffffffffffff8211156129cb576129ca612c5b565b5b602082029050602081019050919050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000612a3182612b79565b9150612a3c83612b79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a7157612a70612bfd565b5b828201905092915050565b6000612a8782612b79565b9150612a9283612b79565b925082612aa257612aa1612c2c565b5b828204905092915050565b6000612ab882612b79565b9150612ac383612b79565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612afc57612afb612bfd565b5b828202905092915050565b6000612b1282612b79565b9150612b1d83612b79565b925082821015612b3057612b2f612bfd565b5b828203905092915050565b6000612b4682612b59565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b612b8c82612c8a565b810181811067ffffffffffffffff82111715612bab57612baa612c5b565b5b80604052505050565b6000612bbf82612b79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bf257612bf1612bfd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5374616b6520656e646564000000000000000000000000000000000000000000600082015250565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b7f5374616b65206e6f742073746172746564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178203130207374616b656420626f6e657200000000000000000000000000600082015250565b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b612e6181612b3b565b8114612e6c57600080fd5b50565b612e7881612b4d565b8114612e8357600080fd5b50565b612e8f81612b79565b8114612e9a57600080fd5b5056fea264697066735822122008b625134ba22e36fad283b132a0efa97eedb13f9c6c82b81f15315cd60c605964736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80637b57b781116100de578063d1c17b6f11610097578063de0ce17d11610071578063de0ce17d146103ec578063e3c998fe1461040a578063f2fde38b1461043a578063fcec6e8e1461045657610173565b8063d1c17b6f14610396578063d771b0a6146103b2578063d9ffad47146103d057610173565b80637b57b781146102fa5780638ab8fab3146103185780638da5cb5b146103365780638f0ecae214610354578063ccb98ffc14610370578063d1058e591461038c57610173565b806348aa19361161013057806348aa19361461023a578063515ec1051461025657806352eb7796146102865780635c7abcc2146102b65780635e1f1e2a146102d4578063715018a6146102f057610173565b806301b8199a1461017857806303a6d72f146101965780633197cbb6146101b2578063362a3fad146101d05780633ccfd60b14610200578063438b63001461020a575b600080fd5b610180610486565b60405161018d9190612970565b60405180910390f35b6101b060048036038101906101ab9190612507565b6104a0565b005b6101ba610539565b6040516101c79190612970565b60405180910390f35b6101ea60048036038101906101e59190612474565b61053f565b6040516101f79190612970565b60405180910390f35b610208610653565b005b610224600480360381019061021f9190612474565b61080f565b6040516102319190612813565b60405180910390f35b610254600480360381019061024f91906124c6565b610a32565b005b610270600480360381019061026b9190612559565b610df2565b60405161027d9190612970565b60405180910390f35b6102a0600480360381019061029b9190612474565b610f11565b6040516102ad9190612813565b60405180910390f35b6102be610fa8565b6040516102cb9190612798565b60405180910390f35b6102ee60048036038101906102e99190612559565b610fce565b005b6102f8611142565b005b6103026111ca565b60405161030f9190612798565b60405180910390f35b6103206111f0565b60405161032d9190612970565b60405180910390f35b61033e6111f5565b60405161034b9190612798565b60405180910390f35b61036e60048036038101906103699190612474565b61121e565b005b61038a60048036038101906103859190612559565b6112de565b005b610394611364565b005b6103b060048036038101906103ab9190612474565b611579565b005b6103ba611639565b6040516103c79190612835565b60405180910390f35b6103ea60048036038101906103e591906124c6565b61164c565b005b6103f4611bdd565b6040516104019190612798565b60405180910390f35b610424600480360381019061041f9190612559565b611be2565b6040516104319190612798565b60405180910390f35b610454600480360381019061044f9190612474565b611c1f565b005b610470600480360381019061046b9190612474565b611d17565b60405161047d9190612813565b60405180910390f35b62015180674563918244f4000061049d9190612a7c565b81565b6104a8611f3a565b73ffffffffffffffffffffffffffffffffffffffff166104c66111f5565b73ffffffffffffffffffffffffffffffffffffffff161461051c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610513906128f0565b60405180910390fd5b80600360146101000a81548160ff02191690831515021790555050565b60015481565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156105cb57602002820191906000526020600020905b8154815260200190600101908083116105b7575b505050505090506000805b82518110156106485761062883828151811061061b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b826106339190612a26565b9150808061064090612bb4565b9150506105d6565b508092505050919050565b61065b611f3a565b73ffffffffffffffffffffffffffffffffffffffff166106796111f5565b73ffffffffffffffffffffffffffffffffffffffff16146106cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c6906128f0565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161074c9190612798565b60206040518083038186803b15801561076457600080fd5b505afa158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c9190612582565b6040518363ffffffff1660e01b81526004016107b99291906127ea565b602060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612530565b5050565b60606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016108739190612798565b60206040518083038186803b15801561088b57600080fd5b505afa15801561089f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c39190612582565b905060008167ffffffffffffffff811115610907577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109355781602001602082028036833780820191505090505b50905060005b82811015610a26578373ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b815260040161097e9291906127ea565b60206040518083038186803b15801561099657600080fd5b505afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612582565b828281518110610a07577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610a1e90612bb4565b91505061093b565b50809350505050919050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8351811015610d3c573373ffffffffffffffffffffffffffffffffffffffff1660056000868481518110610aba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90612930565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3033878581518110610b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b8152600401610bc4939291906127b3565b600060405180830381600087803b158015610bde57600080fd5b505af1158015610bf2573d6000803e3d6000fd5b50505050610c3f848281518110610c32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b83610c4a9190612a26565b9250610c9633858381518110610c89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611f42565b600060056000868481518110610cd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610d3490612bb4565b915050610a5d565b50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610d9a9291906127ea565b602060405180830381600087803b158015610db457600080fd5b505af1158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190612530565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90612950565b60405180910390fd5b6000600460008481526020019081526020016000205442610eb79190612b07565b9050600154421115610ee7576004600084815260200190815260200160002054600154610ee49190612b07565b90505b62015180674563918244f40000610efe9190612a7c565b81610f099190612aad565b915050919050565b6060600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610f9c57602002820191906000526020600020905b815481526020019060010190808311610f88575b50505050509050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461106f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611066906128b0565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb336110b784610df2565b6040518363ffffffff1660e01b81526004016110d49291906127ea565b602060405180830381600087803b1580156110ee57600080fd5b505af1158015611102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111269190612530565b5042600460008381526020019081526020016000208190555050565b61114a611f3a565b73ffffffffffffffffffffffffffffffffffffffff166111686111f5565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b5906128f0565b60405180910390fd5b6111c8600061203b565b565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611226611f3a565b73ffffffffffffffffffffffffffffffffffffffff166112446111f5565b73ffffffffffffffffffffffffffffffffffffffff161461129a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611291906128f0565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112e6611f3a565b73ffffffffffffffffffffffffffffffffffffffff166113046111f5565b73ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906128f0565b60405180910390fd5b8060018190555050565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156113ef57602002820191906000526020600020905b8154815260200190600101908083116113db575b505050505090506000805b82518110156114c45761144c83828151811061143f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610df2565b826114579190612a26565b91504260046000858481518110611497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806114bc90612bb4565b9150506113fa565b50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016115229291906127ea565b602060405180830381600087803b15801561153c57600080fd5b505af1158015611550573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115749190612530565b505050565b611581611f3a565b73ffffffffffffffffffffffffffffffffffffffff1661159f6111f5565b73ffffffffffffffffffffffffffffffffffffffff16146115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec906128f0565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360149054906101000a900460ff1681565b600a8151600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061169d9190612a26565b11156116de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d590612910565b60405180910390fd5b600360149054906101000a900460ff1661172d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611724906128d0565b60405180910390fd5b600154421115611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990612870565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8251811015611bd8573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e858481518110611811577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016118359190612970565b60206040518083038186803b15801561184d57600080fd5b505afa158015611861573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611885919061249d565b73ffffffffffffffffffffffffffffffffffffffff161480156119475750600073ffffffffffffffffffffffffffffffffffffffff16600560008584815181106118f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d90612890565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd33308685815181106119dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b8152600401611a03939291906127b3565b600060405180830381600087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b50505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838281518110611aad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150554260046000858481518110611b19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020819055503360056000858481518110611b71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611bd090612bb4565b91505061179c565b505050565b600081565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611c27611f3a565b73ffffffffffffffffffffffffffffffffffffffff16611c456111f5565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c92906128f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290612850565b60405180910390fd5b611d148161203b565b50565b60606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611d7b9190612798565b60206040518083038186803b158015611d9357600080fd5b505afa158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190612582565b905060008167ffffffffffffffff811115611e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e3d5781602001602082028036833780820191505090505b50905060005b82811015611f2e578373ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b8152600401611e869291906127ea565b60206040518083038186803b158015611e9e57600080fd5b505afa158015611eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed69190612582565b828281518110611f0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611f2690612bb4565b915050611e43565b50809350505050919050565b600033905090565b60005b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156120365781600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612007577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015414156120235761202283826120ff565b5b808061202e90612bb4565b915050611f45565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061214d5761235c565b60008190505b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506121a29190612b07565b8110156122cf57600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001826121f59190612a26565b8154811061222c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106122ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555080806122c790612bb4565b915050612153565b50600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590555b5050565b600061237361236e846129b0565b61298b565b9050808382526020820190508285602086028201111561239257600080fd5b60005b858110156123c257816123a8888261244a565b845260208401935060208301925050600181019050612395565b5050509392505050565b6000813590506123db81612e58565b92915050565b6000815190506123f081612e58565b92915050565b600082601f83011261240757600080fd5b8135612417848260208601612360565b91505092915050565b60008135905061242f81612e6f565b92915050565b60008151905061244481612e6f565b92915050565b60008135905061245981612e86565b92915050565b60008151905061246e81612e86565b92915050565b60006020828403121561248657600080fd5b6000612494848285016123cc565b91505092915050565b6000602082840312156124af57600080fd5b60006124bd848285016123e1565b91505092915050565b6000602082840312156124d857600080fd5b600082013567ffffffffffffffff8111156124f257600080fd5b6124fe848285016123f6565b91505092915050565b60006020828403121561251957600080fd5b600061252784828501612420565b91505092915050565b60006020828403121561254257600080fd5b600061255084828501612435565b91505092915050565b60006020828403121561256b57600080fd5b60006125798482850161244a565b91505092915050565b60006020828403121561259457600080fd5b60006125a28482850161245f565b91505092915050565b60006125b7838361277a565b60208301905092915050565b6125cc81612b3b565b82525050565b60006125dd826129ec565b6125e78185612a04565b93506125f2836129dc565b8060005b8381101561262357815161260a88826125ab565b9750612615836129f7565b9250506001810190506125f6565b5085935050505092915050565b61263981612b4d565b82525050565b600061264c602683612a15565b915061265782612c9b565b604082019050919050565b600061266f600b83612a15565b915061267a82612cea565b602082019050919050565b6000612692601e83612a15565b915061269d82612d13565b602082019050919050565b60006126b5601e83612a15565b91506126c082612d3c565b602082019050919050565b60006126d8601183612a15565b91506126e382612d65565b602082019050919050565b60006126fb602083612a15565b915061270682612d8e565b602082019050919050565b600061271e601383612a15565b915061272982612db7565b602082019050919050565b6000612741602783612a15565b915061274c82612de0565b604082019050919050565b6000612764601483612a15565b915061276f82612e2f565b602082019050919050565b61278381612b79565b82525050565b61279281612b79565b82525050565b60006020820190506127ad60008301846125c3565b92915050565b60006060820190506127c860008301866125c3565b6127d560208301856125c3565b6127e26040830184612789565b949350505050565b60006040820190506127ff60008301856125c3565b61280c6020830184612789565b9392505050565b6000602082019050818103600083015261282d81846125d2565b905092915050565b600060208201905061284a6000830184612630565b92915050565b600060208201905081810360008301526128698161263f565b9050919050565b6000602082019050818103600083015261288981612662565b9050919050565b600060208201905081810360008301526128a981612685565b9050919050565b600060208201905081810360008301526128c9816126a8565b9050919050565b600060208201905081810360008301526128e9816126cb565b9050919050565b60006020820190508181036000830152612909816126ee565b9050919050565b6000602082019050818103600083015261292981612711565b9050919050565b6000602082019050818103600083015261294981612734565b9050919050565b6000602082019050818103600083015261296981612757565b9050919050565b60006020820190506129856000830184612789565b92915050565b60006129956129a6565b90506129a18282612b83565b919050565b6000604051905090565b600067ffffffffffffffff8211156129cb576129ca612c5b565b5b602082029050602081019050919050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000612a3182612b79565b9150612a3c83612b79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a7157612a70612bfd565b5b828201905092915050565b6000612a8782612b79565b9150612a9283612b79565b925082612aa257612aa1612c2c565b5b828204905092915050565b6000612ab882612b79565b9150612ac383612b79565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612afc57612afb612bfd565b5b828202905092915050565b6000612b1282612b79565b9150612b1d83612b79565b925082821015612b3057612b2f612bfd565b5b828203905092915050565b6000612b4682612b59565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b612b8c82612c8a565b810181811067ffffffffffffffff82111715612bab57612baa612c5b565b5b80604052505050565b6000612bbf82612b79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bf257612bf1612bfd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5374616b6520656e646564000000000000000000000000000000000000000000600082015250565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b7f5374616b65206e6f742073746172746564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178203130207374616b656420626f6e657200000000000000000000000000600082015250565b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b612e6181612b3b565b8114612e6c57600080fd5b50565b612e7881612b4d565b8114612e8357600080fd5b50565b612e8f81612b79565b8114612e9a57600080fd5b5056fea264697066735822122008b625134ba22e36fad283b132a0efa97eedb13f9c6c82b81f15315cd60c605964736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.