Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 924 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 17131779 | 967 days ago | IN | 0 ETH | 0.00196592 | ||||
| Approve | 17050312 | 979 days ago | IN | 0 ETH | 0.00110139 | ||||
| Approve | 17050308 | 979 days ago | IN | 0 ETH | 0.00111241 | ||||
| Unstake | 17050303 | 979 days ago | IN | 0 ETH | 0.00203793 | ||||
| Unstake | 16923136 | 997 days ago | IN | 0 ETH | 0.00299471 | ||||
| Transfer | 16914701 | 998 days ago | IN | 0 ETH | 0.00059535 | ||||
| Unstake | 16914682 | 998 days ago | IN | 0 ETH | 0.00121354 | ||||
| Unstake | 16914677 | 998 days ago | IN | 0 ETH | 0.00111019 | ||||
| Unstake | 16914615 | 998 days ago | IN | 0 ETH | 0.00139077 | ||||
| Unstake | 16914605 | 998 days ago | IN | 0 ETH | 0.00174433 | ||||
| Transfer | 16914596 | 998 days ago | IN | 0 ETH | 0.0011022 | ||||
| Unstake | 16914347 | 998 days ago | IN | 0 ETH | 0.00234809 | ||||
| Transfer | 16879924 | 1003 days ago | IN | 0 ETH | 0.00035313 | ||||
| Unstake | 16879494 | 1003 days ago | IN | 0 ETH | 0.00097813 | ||||
| Unstake | 16879490 | 1003 days ago | IN | 0 ETH | 0.00098198 | ||||
| Unstake | 16879476 | 1003 days ago | IN | 0 ETH | 0.00098198 | ||||
| Unstake | 16879471 | 1003 days ago | IN | 0 ETH | 0.00100072 | ||||
| Unstake | 16879457 | 1003 days ago | IN | 0 ETH | 0.00110669 | ||||
| Unstake | 16879453 | 1003 days ago | IN | 0 ETH | 0.00123563 | ||||
| Unstake | 16879449 | 1003 days ago | IN | 0 ETH | 0.00149804 | ||||
| Approve | 16871450 | 1004 days ago | IN | 0 ETH | 0.00072998 | ||||
| Approve | 16871437 | 1004 days ago | IN | 0 ETH | 0.00137806 | ||||
| Unstake | 16871427 | 1004 days ago | IN | 0 ETH | 0.00240218 | ||||
| Unstake | 16871425 | 1004 days ago | IN | 0 ETH | 0.00197376 | ||||
| Unstake | 16871423 | 1004 days ago | IN | 0 ETH | 0.00189703 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MyToken
Compiler Version
v0.8.9+commit.e5eed63a
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.9;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
interface INFT {
function walletOfOwner(address _owner) external view returns (uint256[] memory);
}
contract MyToken is ERC20, ERC721Holder, Ownable {
address public nft;
mapping(uint256 => address) public tokenOwnerOf;
mapping(uint256 => uint256) public tokenStakedAt;
uint256 public EMISSION_RATE = (1 * 10 ** decimals()) / 1 days;
// Constructor
constructor() ERC20("COSMIC Token", "COSMIC"){
_mint(msg.sender, 100000 * 10 ** decimals());
}
// Fuction to Set NFT Contract
function updateNftContract(address _nft) public onlyOwner {
nft = _nft;
}
// Stake Function
function stake(uint256 tokenId) external {
IERC721(nft).safeTransferFrom(msg.sender, address(this), tokenId);
tokenOwnerOf[tokenId] = msg.sender;
tokenStakedAt[tokenId] = block.timestamp;
}
// Calculate Staked Tokens for a Specific NFT
function calculateTokens(uint256 tokenId) public view returns (uint256) {
require(tokenStakedAt[tokenId] > 0, "Token Not Staked");
uint256 timeElapsed = block.timestamp - tokenStakedAt[tokenId];
return timeElapsed * EMISSION_RATE;
}
// Unstake Function
function unstake(uint256 tokenId) external {
require(tokenOwnerOf[tokenId] == msg.sender, "You can't unstake");
_mint(msg.sender, calculateTokens(tokenId)); // Minting the tokens for staking
IERC721(nft).transferFrom(address(this), msg.sender, tokenId);
delete tokenOwnerOf[tokenId];
delete tokenStakedAt[tokenId];
}
// Show Staked NFTs
function getTokensOwnedByUser(address user) public view returns(uint[] memory){
uint256[] memory tokenStaked = INFT(nft).walletOfOwner(address(this));
uint256[] memory tokenOwnedByUser = new uint256[](tokenStaked.length);
uint256 currentIndex = 0;
for (uint i; i < tokenStaked.length;){
if(user == tokenOwnerOf[tokenStaked[i]]){
tokenOwnedByUser[currentIndex] = tokenStaked[i];
currentIndex++;
}
unchecked {++i;}
}
return tokenOwnedByUser;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
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`.
*
* 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;
/**
* @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 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 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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol)
pragma solidity ^0.8.0;
import "../IERC721Receiver.sol";
/**
* @dev Implementation of the {IERC721Receiver} interface.
*
* Accepts all token transfers.
* Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
*/
contract ERC721Holder is IERC721Receiver {
/**
* @dev See {IERC721Receiver-onERC721Received}.
*
* Always returns `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address,
address,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC721Received.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.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:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_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 Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"EMISSION_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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"calculateTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getTokensOwnedByUser","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":"nft","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"uint256","name":"tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenStakedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nft","type":"address"}],"name":"updateNftContract","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405262015180620000186200015660201b60201c565b600a620000269190620005fa565b60016200003491906200064b565b620000409190620006db565b6009553480156200005057600080fd5b506040518060400160405280600c81526020017f434f534d494320546f6b656e00000000000000000000000000000000000000008152506040518060400160405280600681526020017f434f534d494300000000000000000000000000000000000000000000000000008152508160039080519060200190620000d5929190620003b0565b508060049080519060200190620000ee929190620003b0565b50505062000111620001056200015f60201b60201c565b6200016760201b60201c565b6200015033620001266200015660201b60201c565b600a620001349190620005fa565b620186a06200014491906200064b565b6200022d60201b60201c565b62000886565b60006012905090565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002979062000774565b60405180910390fd5b620002b460008383620003a660201b60201c565b8060026000828254620002c8919062000796565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200031f919062000796565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000386919062000804565b60405180910390a3620003a260008383620003ab60201b60201c565b5050565b505050565b505050565b828054620003be9062000850565b90600052602060002090601f016020900481019282620003e257600085556200042e565b82601f10620003fd57805160ff19168380011785556200042e565b828001600101855582156200042e579182015b828111156200042d57825182559160200191906001019062000410565b5b5090506200043d919062000441565b5090565b5b808211156200045c57600081600090555060010162000442565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620004ee57808604811115620004c657620004c562000460565b5b6001851615620004d65780820291505b8081029050620004e6856200048f565b9450620004a6565b94509492505050565b600082620005095760019050620005dc565b81620005195760009050620005dc565b81600181146200053257600281146200053d5762000573565b6001915050620005dc565b60ff84111562000552576200055162000460565b5b8360020a9150848211156200056c576200056b62000460565b5b50620005dc565b5060208310610133831016604e8410600b8410161715620005ad5782820a905083811115620005a757620005a662000460565b5b620005dc565b620005bc84848460016200049c565b92509050818404811115620005d657620005d562000460565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b60006200060782620005e3565b91506200061483620005ed565b9250620006437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620004f7565b905092915050565b60006200065882620005e3565b91506200066583620005e3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620006a157620006a062000460565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000620006e882620005e3565b9150620006f583620005e3565b925082620007085762000707620006ac565b5b828204905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006200075c601f8362000713565b9150620007698262000724565b602082019050919050565b600060208201905081810360008301526200078f816200074d565b9050919050565b6000620007a382620005e3565b9150620007b083620005e3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007e857620007e762000460565b5b828201905092915050565b620007fe81620005e3565b82525050565b60006020820190506200081b6000830184620007f3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200086957607f821691505b6020821081141562000880576200087f62000821565b5b50919050565b61262580620008966000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c357806395d89b411161007c57806395d89b4114610403578063a457c2d714610421578063a694fc3a14610451578063a9059cbb1461046d578063dd62ed3e1461049d578063f2fde38b146104cd57610158565b806370a082311461032f578063715018a61461035f57806371aa60fd1461036957806389885a59146103995780638da5cb5b146103c957806392e67c06146103e757610158565b806324bf238c1161011557806324bf238c146102475780632e17de7814610277578063313ce5671461029357806339509351146102b157806347ccca02146102e15780635902772e146102ff57610158565b806301b8199a1461015d57806306fdde031461017b578063095ea7b314610199578063150b7a02146101c957806318160ddd146101f957806323b872dd14610217575b600080fd5b6101656104e9565b6040516101729190611666565b60405180910390f35b6101836104ef565b604051610190919061171a565b60405180910390f35b6101b360048036038101906101ae91906117da565b610581565b6040516101c09190611835565b60405180910390f35b6101e360048036038101906101de9190611985565b6105a4565b6040516101f09190611a43565b60405180910390f35b6102016105b8565b60405161020e9190611666565b60405180910390f35b610231600480360381019061022c9190611a5e565b6105c2565b60405161023e9190611835565b60405180910390f35b610261600480360381019061025c9190611ab1565b6105f1565b60405161026e9190611666565b60405180910390f35b610291600480360381019061028c9190611ab1565b610609565b005b61029b61079d565b6040516102a89190611afa565b60405180910390f35b6102cb60048036038101906102c691906117da565b6107a6565b6040516102d89190611835565b60405180910390f35b6102e96107dd565b6040516102f69190611b24565b60405180910390f35b61031960048036038101906103149190611b3f565b610803565b6040516103269190611c2a565b60405180910390f35b61034960048036038101906103449190611b3f565b6109f5565b6040516103569190611666565b60405180910390f35b610367610a3d565b005b610383600480360381019061037e9190611ab1565b610a51565b6040516103909190611666565b60405180910390f35b6103b360048036038101906103ae9190611ab1565b610ae1565b6040516103c09190611b24565b60405180910390f35b6103d1610b14565b6040516103de9190611b24565b60405180910390f35b61040160048036038101906103fc9190611b3f565b610b3e565b005b61040b610b8a565b604051610418919061171a565b60405180910390f35b61043b600480360381019061043691906117da565b610c1c565b6040516104489190611835565b60405180910390f35b61046b60048036038101906104669190611ab1565b610c93565b005b610487600480360381019061048291906117da565b610d91565b6040516104949190611835565b60405180910390f35b6104b760048036038101906104b29190611c4c565b610db4565b6040516104c49190611666565b60405180910390f35b6104e760048036038101906104e29190611b3f565b610e3b565b005b60095481565b6060600380546104fe90611cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461052a90611cbb565b80156105775780601f1061054c57610100808354040283529160200191610577565b820191906000526020600020905b81548152906001019060200180831161055a57829003601f168201915b5050505050905090565b60008061058c610ebf565b9050610599818585610ec7565b600191505092915050565b600063150b7a0260e01b9050949350505050565b6000600254905090565b6000806105cd610ebf565b90506105da858285611092565b6105e585858561111e565b60019150509392505050565b60086020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146106aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a190611d39565b60405180910390fd5b6106bc336106b783610a51565b61139f565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161071b93929190611d59565b600060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b505050506007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600860008281526020019081526020016000206000905550565b60006012905090565b6000806107b1610ebf565b90506107d28185856107c38589610db4565b6107cd9190611dbf565b610ec7565b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300306040518263ffffffff1660e01b81526004016108629190611b24565b60006040518083038186803b15801561087a57600080fd5b505afa15801561088e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108b79190611ef2565b90506000815167ffffffffffffffff8111156108d6576108d561185a565b5b6040519080825280602002602001820160405280156109045781602001602082028036833780820191505090505b5090506000805b83518110156109e9576007600085838151811061092b5761092a611f3b565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156109de578381815181106109a8576109a7611f3b565b5b60200260200101518383815181106109c3576109c2611f3b565b5b60200260200101818152505081806109da90611f6a565b9250505b80600101905061090b565b50819350505050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a456114ff565b610a4f600061157d565b565b600080600860008481526020019081526020016000205411610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90611fff565b60405180910390fd5b6000600860008481526020019081526020016000205442610ac9919061201f565b905060095481610ad99190612053565b915050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b466114ff565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060048054610b9990611cbb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc590611cbb565b8015610c125780601f10610be757610100808354040283529160200191610c12565b820191906000526020600020905b815481529060010190602001808311610bf557829003601f168201915b5050505050905090565b600080610c27610ebf565b90506000610c358286610db4565b905083811015610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c719061211f565b60405180910390fd5b610c878286868403610ec7565b60019250505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401610cf293929190611d59565b600060405180830381600087803b158015610d0c57600080fd5b505af1158015610d20573d6000803e3d6000fd5b50505050336007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600860008381526020019081526020016000208190555050565b600080610d9c610ebf565b9050610da981858561111e565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610e436114ff565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa906121b1565b60405180910390fd5b610ebc8161157d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90612243565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906122d5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110859190611666565b60405180910390a3505050565b600061109e8484610db4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611118578181101561110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190612341565b60405180910390fd5b6111178484848403610ec7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561118e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611185906123d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590612465565b60405180910390fd5b611209838383611643565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561128f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611286906124f7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113229190611dbf565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113869190611666565b60405180910390a3611399848484611648565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690612563565b60405180910390fd5b61141b60008383611643565b806002600082825461142d9190611dbf565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114829190611dbf565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114e79190611666565b60405180910390a36114fb60008383611648565b5050565b611507610ebf565b73ffffffffffffffffffffffffffffffffffffffff16611525610b14565b73ffffffffffffffffffffffffffffffffffffffff161461157b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611572906125cf565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b6000819050919050565b6116608161164d565b82525050565b600060208201905061167b6000830184611657565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116bb5780820151818401526020810190506116a0565b838111156116ca576000848401525b50505050565b6000601f19601f8301169050919050565b60006116ec82611681565b6116f6818561168c565b935061170681856020860161169d565b61170f816116d0565b840191505092915050565b6000602082019050818103600083015261173481846116e1565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061177b82611750565b9050919050565b61178b81611770565b811461179657600080fd5b50565b6000813590506117a881611782565b92915050565b6117b78161164d565b81146117c257600080fd5b50565b6000813590506117d4816117ae565b92915050565b600080604083850312156117f1576117f0611746565b5b60006117ff85828601611799565b9250506020611810858286016117c5565b9150509250929050565b60008115159050919050565b61182f8161181a565b82525050565b600060208201905061184a6000830184611826565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611892826116d0565b810181811067ffffffffffffffff821117156118b1576118b061185a565b5b80604052505050565b60006118c461173c565b90506118d08282611889565b919050565b600067ffffffffffffffff8211156118f0576118ef61185a565b5b6118f9826116d0565b9050602081019050919050565b82818337600083830152505050565b6000611928611923846118d5565b6118ba565b90508281526020810184848401111561194457611943611855565b5b61194f848285611906565b509392505050565b600082601f83011261196c5761196b611850565b5b813561197c848260208601611915565b91505092915050565b6000806000806080858703121561199f5761199e611746565b5b60006119ad87828801611799565b94505060206119be87828801611799565b93505060406119cf878288016117c5565b925050606085013567ffffffffffffffff8111156119f0576119ef61174b565b5b6119fc87828801611957565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a3d81611a08565b82525050565b6000602082019050611a586000830184611a34565b92915050565b600080600060608486031215611a7757611a76611746565b5b6000611a8586828701611799565b9350506020611a9686828701611799565b9250506040611aa7868287016117c5565b9150509250925092565b600060208284031215611ac757611ac6611746565b5b6000611ad5848285016117c5565b91505092915050565b600060ff82169050919050565b611af481611ade565b82525050565b6000602082019050611b0f6000830184611aeb565b92915050565b611b1e81611770565b82525050565b6000602082019050611b396000830184611b15565b92915050565b600060208284031215611b5557611b54611746565b5b6000611b6384828501611799565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611ba18161164d565b82525050565b6000611bb38383611b98565b60208301905092915050565b6000602082019050919050565b6000611bd782611b6c565b611be18185611b77565b9350611bec83611b88565b8060005b83811015611c1d578151611c048882611ba7565b9750611c0f83611bbf565b925050600181019050611bf0565b5085935050505092915050565b60006020820190508181036000830152611c448184611bcc565b905092915050565b60008060408385031215611c6357611c62611746565b5b6000611c7185828601611799565b9250506020611c8285828601611799565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cd357607f821691505b60208210811415611ce757611ce6611c8c565b5b50919050565b7f596f752063616e277420756e7374616b65000000000000000000000000000000600082015250565b6000611d2360118361168c565b9150611d2e82611ced565b602082019050919050565b60006020820190508181036000830152611d5281611d16565b9050919050565b6000606082019050611d6e6000830186611b15565b611d7b6020830185611b15565b611d886040830184611657565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611dca8261164d565b9150611dd58361164d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611e0a57611e09611d90565b5b828201905092915050565b600067ffffffffffffffff821115611e3057611e2f61185a565b5b602082029050602081019050919050565b600080fd5b600081519050611e55816117ae565b92915050565b6000611e6e611e6984611e15565b6118ba565b90508083825260208201905060208402830185811115611e9157611e90611e41565b5b835b81811015611eba5780611ea68882611e46565b845260208401935050602081019050611e93565b5050509392505050565b600082601f830112611ed957611ed8611850565b5b8151611ee9848260208601611e5b565b91505092915050565b600060208284031215611f0857611f07611746565b5b600082015167ffffffffffffffff811115611f2657611f2561174b565b5b611f3284828501611ec4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611f758261164d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611fa857611fa7611d90565b5b600182019050919050565b7f546f6b656e204e6f74205374616b656400000000000000000000000000000000600082015250565b6000611fe960108361168c565b9150611ff482611fb3565b602082019050919050565b6000602082019050818103600083015261201881611fdc565b9050919050565b600061202a8261164d565b91506120358361164d565b92508282101561204857612047611d90565b5b828203905092915050565b600061205e8261164d565b91506120698361164d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156120a2576120a1611d90565b5b828202905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061210960258361168c565b9150612114826120ad565b604082019050919050565b60006020820190508181036000830152612138816120fc565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061219b60268361168c565b91506121a68261213f565b604082019050919050565b600060208201905081810360008301526121ca8161218e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061222d60248361168c565b9150612238826121d1565b604082019050919050565b6000602082019050818103600083015261225c81612220565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006122bf60228361168c565b91506122ca82612263565b604082019050919050565b600060208201905081810360008301526122ee816122b2565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061232b601d8361168c565b9150612336826122f5565b602082019050919050565b6000602082019050818103600083015261235a8161231e565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123bd60258361168c565b91506123c882612361565b604082019050919050565b600060208201905081810360008301526123ec816123b0565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061244f60238361168c565b915061245a826123f3565b604082019050919050565b6000602082019050818103600083015261247e81612442565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006124e160268361168c565b91506124ec82612485565b604082019050919050565b60006020820190508181036000830152612510816124d4565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061254d601f8361168c565b915061255882612517565b602082019050919050565b6000602082019050818103600083015261257c81612540565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125b960208361168c565b91506125c482612583565b602082019050919050565b600060208201905081810360008301526125e8816125ac565b905091905056fea26469706673582212207909474a874dd8def0539ff208f9755bd6a696eceec085162189f386ca56671164736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c357806395d89b411161007c57806395d89b4114610403578063a457c2d714610421578063a694fc3a14610451578063a9059cbb1461046d578063dd62ed3e1461049d578063f2fde38b146104cd57610158565b806370a082311461032f578063715018a61461035f57806371aa60fd1461036957806389885a59146103995780638da5cb5b146103c957806392e67c06146103e757610158565b806324bf238c1161011557806324bf238c146102475780632e17de7814610277578063313ce5671461029357806339509351146102b157806347ccca02146102e15780635902772e146102ff57610158565b806301b8199a1461015d57806306fdde031461017b578063095ea7b314610199578063150b7a02146101c957806318160ddd146101f957806323b872dd14610217575b600080fd5b6101656104e9565b6040516101729190611666565b60405180910390f35b6101836104ef565b604051610190919061171a565b60405180910390f35b6101b360048036038101906101ae91906117da565b610581565b6040516101c09190611835565b60405180910390f35b6101e360048036038101906101de9190611985565b6105a4565b6040516101f09190611a43565b60405180910390f35b6102016105b8565b60405161020e9190611666565b60405180910390f35b610231600480360381019061022c9190611a5e565b6105c2565b60405161023e9190611835565b60405180910390f35b610261600480360381019061025c9190611ab1565b6105f1565b60405161026e9190611666565b60405180910390f35b610291600480360381019061028c9190611ab1565b610609565b005b61029b61079d565b6040516102a89190611afa565b60405180910390f35b6102cb60048036038101906102c691906117da565b6107a6565b6040516102d89190611835565b60405180910390f35b6102e96107dd565b6040516102f69190611b24565b60405180910390f35b61031960048036038101906103149190611b3f565b610803565b6040516103269190611c2a565b60405180910390f35b61034960048036038101906103449190611b3f565b6109f5565b6040516103569190611666565b60405180910390f35b610367610a3d565b005b610383600480360381019061037e9190611ab1565b610a51565b6040516103909190611666565b60405180910390f35b6103b360048036038101906103ae9190611ab1565b610ae1565b6040516103c09190611b24565b60405180910390f35b6103d1610b14565b6040516103de9190611b24565b60405180910390f35b61040160048036038101906103fc9190611b3f565b610b3e565b005b61040b610b8a565b604051610418919061171a565b60405180910390f35b61043b600480360381019061043691906117da565b610c1c565b6040516104489190611835565b60405180910390f35b61046b60048036038101906104669190611ab1565b610c93565b005b610487600480360381019061048291906117da565b610d91565b6040516104949190611835565b60405180910390f35b6104b760048036038101906104b29190611c4c565b610db4565b6040516104c49190611666565b60405180910390f35b6104e760048036038101906104e29190611b3f565b610e3b565b005b60095481565b6060600380546104fe90611cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461052a90611cbb565b80156105775780601f1061054c57610100808354040283529160200191610577565b820191906000526020600020905b81548152906001019060200180831161055a57829003601f168201915b5050505050905090565b60008061058c610ebf565b9050610599818585610ec7565b600191505092915050565b600063150b7a0260e01b9050949350505050565b6000600254905090565b6000806105cd610ebf565b90506105da858285611092565b6105e585858561111e565b60019150509392505050565b60086020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146106aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a190611d39565b60405180910390fd5b6106bc336106b783610a51565b61139f565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161071b93929190611d59565b600060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b505050506007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600860008281526020019081526020016000206000905550565b60006012905090565b6000806107b1610ebf565b90506107d28185856107c38589610db4565b6107cd9190611dbf565b610ec7565b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300306040518263ffffffff1660e01b81526004016108629190611b24565b60006040518083038186803b15801561087a57600080fd5b505afa15801561088e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108b79190611ef2565b90506000815167ffffffffffffffff8111156108d6576108d561185a565b5b6040519080825280602002602001820160405280156109045781602001602082028036833780820191505090505b5090506000805b83518110156109e9576007600085838151811061092b5761092a611f3b565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156109de578381815181106109a8576109a7611f3b565b5b60200260200101518383815181106109c3576109c2611f3b565b5b60200260200101818152505081806109da90611f6a565b9250505b80600101905061090b565b50819350505050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a456114ff565b610a4f600061157d565b565b600080600860008481526020019081526020016000205411610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90611fff565b60405180910390fd5b6000600860008481526020019081526020016000205442610ac9919061201f565b905060095481610ad99190612053565b915050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b466114ff565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060048054610b9990611cbb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc590611cbb565b8015610c125780601f10610be757610100808354040283529160200191610c12565b820191906000526020600020905b815481529060010190602001808311610bf557829003601f168201915b5050505050905090565b600080610c27610ebf565b90506000610c358286610db4565b905083811015610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c719061211f565b60405180910390fd5b610c878286868403610ec7565b60019250505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401610cf293929190611d59565b600060405180830381600087803b158015610d0c57600080fd5b505af1158015610d20573d6000803e3d6000fd5b50505050336007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600860008381526020019081526020016000208190555050565b600080610d9c610ebf565b9050610da981858561111e565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610e436114ff565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa906121b1565b60405180910390fd5b610ebc8161157d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90612243565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906122d5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110859190611666565b60405180910390a3505050565b600061109e8484610db4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611118578181101561110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190612341565b60405180910390fd5b6111178484848403610ec7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561118e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611185906123d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590612465565b60405180910390fd5b611209838383611643565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561128f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611286906124f7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113229190611dbf565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113869190611666565b60405180910390a3611399848484611648565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690612563565b60405180910390fd5b61141b60008383611643565b806002600082825461142d9190611dbf565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114829190611dbf565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114e79190611666565b60405180910390a36114fb60008383611648565b5050565b611507610ebf565b73ffffffffffffffffffffffffffffffffffffffff16611525610b14565b73ffffffffffffffffffffffffffffffffffffffff161461157b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611572906125cf565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b6000819050919050565b6116608161164d565b82525050565b600060208201905061167b6000830184611657565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116bb5780820151818401526020810190506116a0565b838111156116ca576000848401525b50505050565b6000601f19601f8301169050919050565b60006116ec82611681565b6116f6818561168c565b935061170681856020860161169d565b61170f816116d0565b840191505092915050565b6000602082019050818103600083015261173481846116e1565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061177b82611750565b9050919050565b61178b81611770565b811461179657600080fd5b50565b6000813590506117a881611782565b92915050565b6117b78161164d565b81146117c257600080fd5b50565b6000813590506117d4816117ae565b92915050565b600080604083850312156117f1576117f0611746565b5b60006117ff85828601611799565b9250506020611810858286016117c5565b9150509250929050565b60008115159050919050565b61182f8161181a565b82525050565b600060208201905061184a6000830184611826565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611892826116d0565b810181811067ffffffffffffffff821117156118b1576118b061185a565b5b80604052505050565b60006118c461173c565b90506118d08282611889565b919050565b600067ffffffffffffffff8211156118f0576118ef61185a565b5b6118f9826116d0565b9050602081019050919050565b82818337600083830152505050565b6000611928611923846118d5565b6118ba565b90508281526020810184848401111561194457611943611855565b5b61194f848285611906565b509392505050565b600082601f83011261196c5761196b611850565b5b813561197c848260208601611915565b91505092915050565b6000806000806080858703121561199f5761199e611746565b5b60006119ad87828801611799565b94505060206119be87828801611799565b93505060406119cf878288016117c5565b925050606085013567ffffffffffffffff8111156119f0576119ef61174b565b5b6119fc87828801611957565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a3d81611a08565b82525050565b6000602082019050611a586000830184611a34565b92915050565b600080600060608486031215611a7757611a76611746565b5b6000611a8586828701611799565b9350506020611a9686828701611799565b9250506040611aa7868287016117c5565b9150509250925092565b600060208284031215611ac757611ac6611746565b5b6000611ad5848285016117c5565b91505092915050565b600060ff82169050919050565b611af481611ade565b82525050565b6000602082019050611b0f6000830184611aeb565b92915050565b611b1e81611770565b82525050565b6000602082019050611b396000830184611b15565b92915050565b600060208284031215611b5557611b54611746565b5b6000611b6384828501611799565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611ba18161164d565b82525050565b6000611bb38383611b98565b60208301905092915050565b6000602082019050919050565b6000611bd782611b6c565b611be18185611b77565b9350611bec83611b88565b8060005b83811015611c1d578151611c048882611ba7565b9750611c0f83611bbf565b925050600181019050611bf0565b5085935050505092915050565b60006020820190508181036000830152611c448184611bcc565b905092915050565b60008060408385031215611c6357611c62611746565b5b6000611c7185828601611799565b9250506020611c8285828601611799565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cd357607f821691505b60208210811415611ce757611ce6611c8c565b5b50919050565b7f596f752063616e277420756e7374616b65000000000000000000000000000000600082015250565b6000611d2360118361168c565b9150611d2e82611ced565b602082019050919050565b60006020820190508181036000830152611d5281611d16565b9050919050565b6000606082019050611d6e6000830186611b15565b611d7b6020830185611b15565b611d886040830184611657565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611dca8261164d565b9150611dd58361164d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611e0a57611e09611d90565b5b828201905092915050565b600067ffffffffffffffff821115611e3057611e2f61185a565b5b602082029050602081019050919050565b600080fd5b600081519050611e55816117ae565b92915050565b6000611e6e611e6984611e15565b6118ba565b90508083825260208201905060208402830185811115611e9157611e90611e41565b5b835b81811015611eba5780611ea68882611e46565b845260208401935050602081019050611e93565b5050509392505050565b600082601f830112611ed957611ed8611850565b5b8151611ee9848260208601611e5b565b91505092915050565b600060208284031215611f0857611f07611746565b5b600082015167ffffffffffffffff811115611f2657611f2561174b565b5b611f3284828501611ec4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611f758261164d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611fa857611fa7611d90565b5b600182019050919050565b7f546f6b656e204e6f74205374616b656400000000000000000000000000000000600082015250565b6000611fe960108361168c565b9150611ff482611fb3565b602082019050919050565b6000602082019050818103600083015261201881611fdc565b9050919050565b600061202a8261164d565b91506120358361164d565b92508282101561204857612047611d90565b5b828203905092915050565b600061205e8261164d565b91506120698361164d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156120a2576120a1611d90565b5b828202905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061210960258361168c565b9150612114826120ad565b604082019050919050565b60006020820190508181036000830152612138816120fc565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061219b60268361168c565b91506121a68261213f565b604082019050919050565b600060208201905081810360008301526121ca8161218e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061222d60248361168c565b9150612238826121d1565b604082019050919050565b6000602082019050818103600083015261225c81612220565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006122bf60228361168c565b91506122ca82612263565b604082019050919050565b600060208201905081810360008301526122ee816122b2565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061232b601d8361168c565b9150612336826122f5565b602082019050919050565b6000602082019050818103600083015261235a8161231e565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123bd60258361168c565b91506123c882612361565b604082019050919050565b600060208201905081810360008301526123ec816123b0565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061244f60238361168c565b915061245a826123f3565b604082019050919050565b6000602082019050818103600083015261247e81612442565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006124e160268361168c565b91506124ec82612485565b604082019050919050565b60006020820190508181036000830152612510816124d4565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061254d601f8361168c565b915061255882612517565b602082019050919050565b6000602082019050818103600083015261257c81612540565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125b960208361168c565b91506125c482612583565b602082019050919050565b600060208201905081810360008301526125e8816125ac565b905091905056fea26469706673582212207909474a874dd8def0539ff208f9755bd6a696eceec085162189f386ca56671164736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.