Source Code
Latest 25 from a total of 2,900 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Stake NFT | 418648954 | 24 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 418648767 | 24 days ago | IN | 0 ETH | 0.00000108 | ||||
| Stake NFT | 417533215 | 27 days ago | IN | 0 ETH | 0.00000033 | ||||
| Stake NFT | 417475456 | 27 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 417474847 | 27 days ago | IN | 0 ETH | 0.00000125 | ||||
| Stake NFT | 417319331 | 28 days ago | IN | 0 ETH | 0.00000104 | ||||
| Stake NFT | 417306607 | 28 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 417306400 | 28 days ago | IN | 0 ETH | 0.00000108 | ||||
| Stake NFT | 417213421 | 28 days ago | IN | 0 ETH | 0.00000121 | ||||
| Stake NFT | 417212993 | 28 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 417212947 | 28 days ago | IN | 0 ETH | 0.00000125 | ||||
| Withdraw NFT | 417212235 | 28 days ago | IN | 0 ETH | 0.00000114 | ||||
| Withdraw NFT | 417137831 | 28 days ago | IN | 0 ETH | 0.00000125 | ||||
| Stake NFT | 416278865 | 31 days ago | IN | 0 ETH | 0.00000109 | ||||
| Stake NFT | 416278814 | 31 days ago | IN | 0 ETH | 0.00000109 | ||||
| Stake NFT | 416278754 | 31 days ago | IN | 0 ETH | 0.00000126 | ||||
| Withdraw NFT | 416278664 | 31 days ago | IN | 0 ETH | 0.00000108 | ||||
| Withdraw NFT | 416278591 | 31 days ago | IN | 0 ETH | 0.00000118 | ||||
| Withdraw NFT | 416278517 | 31 days ago | IN | 0 ETH | 0.00000112 | ||||
| Stake NFT | 415743127 | 32 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 415742269 | 32 days ago | IN | 0 ETH | 0.00000142 | ||||
| Stake NFT | 415130321 | 34 days ago | IN | 0 ETH | 0.00000121 | ||||
| Withdraw NFT | 415129787 | 34 days ago | IN | 0 ETH | 0.00000114 | ||||
| Stake NFT | 414767972 | 35 days ago | IN | 0 ETH | 0.00000104 | ||||
| Stake NFT | 414767909 | 35 days ago | IN | 0 ETH | 0.00000109 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ArkromaStaking
Compiler Version
v0.8.26+commit.8a97fa7a
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.19;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract ArkromaStaking is ReentrancyGuard, Ownable {
IERC20 public immutable arkaToken;
IERC721 public immutable arkromaNFT;
// NFT tier supply and tier start tokenIds
uint256[4] public maxSupply = [1000, 600, 300, 200];
uint256[4] private tierStart = [1, 1001, 1601, 1901];
uint256 public constant SECONDS_IN_DAY = 86400;
uint256 public constant MINIMUM_STAKE_DAYS = 30;
uint256 public constant MAX_STAKE_MONTHS = 48;
uint256 public constant MAX_STAKE_SECONDS = MAX_STAKE_MONTHS * 30 * SECONDS_IN_DAY;
// Rewards per month per tier * 1e18 for decimals
uint256[4] public monthlyRewards = [
1000 * 1e18,
3000 * 1e18,
6000 * 1e18,
18750 * 1e18
];
struct StakeInfo {
address owner;
uint256 startTimestamp;
uint256 claimedDays;
}
// tokenId => StakeInfo
mapping(uint256 => StakeInfo) public stakes;
// address => tokens staked
mapping(address => uint256[]) private userStakedTokens;
event Staked(
address indexed user,
uint256 indexed tokenId,
uint256 startTimestamp
);
event Withdrawn(
address indexed user,
uint256 indexed tokenId,
uint256 rewardsClaimed
);
event RewardsClaimed(
address indexed user,
uint256 indexed tokenId,
uint256 amount
);
constructor(address _arkaToken, address _arkromaNFT) Ownable(msg.sender) {
require(_arkaToken != address(0), "Invalid ARKA token address");
require(_arkromaNFT != address(0), "Invalid NFT address");
arkaToken = IERC20(_arkaToken);
arkromaNFT = IERC721(_arkromaNFT);
}
function getTier(uint256 tokenId) public view returns (uint8) {
for (uint8 i = 0; i < 4; i++) {
uint256 startId = tierStart[i];
uint256 endId = startId + maxSupply[i] - 1;
if (tokenId >= startId && tokenId <= endId) {
return i;
}
}
revert("Invalid token ID");
}
function _calculateDailyReward(uint8 tier) internal view returns (uint256) {
// daily reward = monthly reward / 30 days
return monthlyRewards[tier] / 30;
}
function stakeNFT(uint256 tokenId) external nonReentrant {
StakeInfo storage stake = stakes[tokenId];
require(arkromaNFT.ownerOf(tokenId) == msg.sender, "Not NFT owner");
require(stake.owner == address(0), "Already staked");
arkromaNFT.transferFrom(msg.sender, address(this), tokenId);
stake.owner = msg.sender;
stake.startTimestamp = block.timestamp;
userStakedTokens[msg.sender].push(tokenId);
emit Staked(msg.sender, tokenId, block.timestamp);
}
function _pendingRewards(uint256 tokenId) public view returns (uint256) {
StakeInfo memory stake = stakes[tokenId];
if (stake.owner == address(0)) return 0;
uint256 stakingDuration = block.timestamp - stake.startTimestamp;
if (stakingDuration < MINIMUM_STAKE_DAYS * SECONDS_IN_DAY) {
return 0;
}
if (stakingDuration > MAX_STAKE_SECONDS) {
stakingDuration = MAX_STAKE_SECONDS;
}
uint256 totalDays = stakingDuration / SECONDS_IN_DAY;
uint256 claimableDays = totalDays - stake.claimedDays;
if (claimableDays == 0) return 0;
uint8 tier = getTier(tokenId);
uint256 dailyReward = _calculateDailyReward(tier);
return dailyReward * claimableDays;
}
function claimRewards(uint256 tokenId) public nonReentrant {
_claimRewards(tokenId);
}
function _claimRewards(uint256 tokenId) internal {
StakeInfo storage stake = stakes[tokenId];
require(stake.owner == msg.sender, "Not staker");
require(
block.timestamp >=
stake.startTimestamp + MINIMUM_STAKE_DAYS * SECONDS_IN_DAY,
"Minimum stake not reached"
);
uint256 rewards = _pendingRewards(tokenId);
require(rewards > 0, "No rewards to claim");
stake.claimedDays += (rewards / _calculateDailyReward(getTier(tokenId)));
require(
arkaToken.transfer(msg.sender, rewards),
"Reward transfer failed"
);
emit RewardsClaimed(msg.sender, tokenId, rewards);
}
function withdrawNFT(uint256 tokenId) external nonReentrant {
StakeInfo storage stake = stakes[tokenId];
require(stake.owner == msg.sender, "Not staker");
uint256 stakingDuration = block.timestamp - stake.startTimestamp;
require(
stakingDuration >= MINIMUM_STAKE_DAYS * SECONDS_IN_DAY,
"Cannot withdraw before minimum staking period"
);
// Claim any pending rewards first
_claimRewards(tokenId);
// Remove tokenId from user's list
uint256[] storage tokens = userStakedTokens[msg.sender];
for (uint256 i = 0; i < tokens.length; i++) {
if (tokens[i] == tokenId) {
tokens[i] = tokens[tokens.length - 1];
tokens.pop();
break;
}
}
// Remove stake record and return NFT
stake.owner = address(0);
arkromaNFT.safeTransferFrom(address(this), msg.sender, tokenId);
emit Withdrawn(msg.sender, tokenId, 0); // rewards claimed event emitted already
}
function getStakedTokens(address user) external view returns (uint256[] memory) {
return userStakedTokens[user];
}
// Allow contract to receive ERC721 tokens
function onERC721Received(
address,
address,
uint256,
bytes calldata
) external pure returns (bytes4) {
return this.onERC721Received.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC-721 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 ERC-721 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* 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 address zero.
*
* 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 (last updated v5.1.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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 (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_arkaToken","type":"address"},{"internalType":"address","name":"_arkromaNFT","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTimestamp","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardsClaimed","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"MAX_STAKE_MONTHS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_STAKE_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_STAKE_DAYS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_IN_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"_pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"arkaToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"arkromaNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getStakedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTier","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"monthlyRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pure","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":"stakeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakes","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"claimedDays","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60c060405260405180608001604052806103e861ffff16815260200161025861ffff16815260200161012c61ffff16815260200160c861ffff16815250600290600461004c9291906103e1565b506040518060800160405280600161ffff1681526020016103e961ffff16815260200161064161ffff16815260200161076d61ffff1681525060069060046100959291906103e1565b506040518060800160405280683635c9adc5dea0000069ffffffffffffffffffff16815260200168a2a15d09519be0000069ffffffffffffffffffff16815260200169014542ba12a337c0000069ffffffffffffffffffff1681526020016903f870857a3e0e38000069ffffffffffffffffffff16815250600a90600461011d929190610427565b50348015610129575f80fd5b50604051612566380380612566833981810160405281019061014b91906104ee565b3360015f819055505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101c3575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101ba919061053b565b60405180910390fd5b6101d28161031e60201b60201c565b505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610238906105ae565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a690610616565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250505050610634565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8260048101928215610416579160200282015b82811115610415578251829061ffff169055916020019190600101906103f4565b5b5090506104239190610475565b5090565b8260048101928215610464579160200282015b82811115610463578251829069ffffffffffffffffffff1690559160200191906001019061043a565b5b5090506104719190610475565b5090565b5b8082111561048c575f815f905550600101610476565b5090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6104bd82610494565b9050919050565b6104cd816104b3565b81146104d7575f80fd5b50565b5f815190506104e8816104c4565b92915050565b5f806040838503121561050457610503610490565b5b5f610511858286016104da565b9250506020610522858286016104da565b9150509250929050565b610535816104b3565b82525050565b5f60208201905061054e5f83018461052c565b92915050565b5f82825260208201905092915050565b7f496e76616c69642041524b4120746f6b656e20616464726573730000000000005f82015250565b5f610598601a83610554565b91506105a382610564565b602082019050919050565b5f6020820190508181035f8301526105c58161058c565b9050919050565b7f496e76616c6964204e46542061646472657373000000000000000000000000005f82015250565b5f610600601383610554565b915061060b826105cc565b602082019050919050565b5f6020820190508181035f83015261062d816105f4565b9050919050565b60805160a051611ef56106715f395f8181610610015281816108160152818161092b0152610aa901525f81816108d401526110f60152611ef55ff3fe608060405234801561000f575f80fd5b506004361061011f575f3560e01c80636d153cb1116100ab578063c8e09e3c1161006f578063c8e09e3c14610307578063d5a44f8614610337578063ec4484b214610369578063f2fde38b14610387578063f7a3e4ad146103a35761011f565b80636d153cb1146102755780636eb604e014610293578063715018a6146102af578063869f7594146102b95780638da5cb5b146102e95761011f565b8063189b914a116100f2578063189b914a146101bb5780634f062c5a146101d957806355f623e01461020957806361a52a361461022757806363c28db1146102455761011f565b8063023245d714610123578063058df06d1461013f5780630962ef791461016f578063150b7a021461018b575b5f80fd5b61013d600480360381019061013891906113e4565b6103c1565b005b610159600480360381019061015491906113e4565b6106f5565b604051610166919061141e565b60405180910390f35b610189600480360381019061018491906113e4565b61070e565b005b6101a560048036038101906101a091906114f2565b61072a565b6040516101b291906115b0565b60405180910390f35b6101c361073e565b6040516101d0919061141e565b60405180910390f35b6101f360048036038101906101ee91906113e4565b610743565b60405161020091906115e4565b60405180910390f35b610211610814565b60405161021e9190611658565b60405180910390f35b61022f610838565b60405161023c919061141e565b60405180910390f35b61025f600480360381019061025a9190611671565b61083f565b60405161026c9190611753565b60405180910390f35b61027d6108d2565b60405161028a9190611793565b60405180910390f35b6102ad60048036038101906102a891906113e4565b6108f6565b005b6102b7610c37565b005b6102d360048036038101906102ce91906113e4565b610c4a565b6040516102e0919061141e565b60405180910390f35b6102f1610c63565b6040516102fe91906117bb565b60405180910390f35b610321600480360381019061031c91906113e4565b610c8b565b60405161032e919061141e565b60405180910390f35b610351600480360381019061034c91906113e4565b610e32565b604051610360939291906117d4565b60405180910390f35b610371610e77565b60405161037e919061141e565b60405180910390f35b6103a1600480360381019061039c9190611671565b610e7c565b005b6103ab610f00565b6040516103b8919061141e565b60405180910390f35b6103c9610f1f565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461046d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046490611863565b60405180910390fd5b5f81600101544261047e91906118ae565b905062015180601e61049091906118e1565b8110156104d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c990611992565b60405180910390fd5b6104db83610f6c565b5f600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f5b81805490508110156105cc578482828154811061053d5761053c6119b0565b5b905f5260205f200154036105bf57816001838054905061055d91906118ae565b8154811061056e5761056d6119b0565b5b905f5260205f20015482828154811061058a576105896119b0565b5b905f5260205f200181905550818054806105a7576105a66119dd565b5b600190038181905f5260205f20015f905590556105cc565b808060010191505061051d565b505f835f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342842e0e3033876040518463ffffffff1660e01b815260040161066b93929190611a0a565b5f604051808303815f87803b158015610682575f80fd5b505af1158015610694573d5f803e3d5ffd5b50505050833373ffffffffffffffffffffffffffffffffffffffff167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc65f6040516106df9190611a78565b60405180910390a35050506106f2611222565b50565b600a8160048110610704575f80fd5b015f915090505481565b610716610f1f565b61071f81610f6c565b610727611222565b50565b5f63150b7a0260e01b905095945050505050565b603081565b5f805f90505b60048160ff1610156107d3575f60068260ff166004811061076d5761076c6119b0565b5b015490505f600160028460ff166004811061078b5761078a6119b0565b5b0154836107989190611a91565b6107a291906118ae565b90508185101580156107b45750808511155b156107c45782935050505061080f565b50508080600101915050610749565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611b0e565b60405180910390fd5b919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6201518081565b6060600f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054806020026020016040519081016040528092919081815260200182805480156108c657602002820191905f5260205f20905b8154815260200190600101908083116108b2575b50505050509050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6108fe610f1f565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610982919061141e565b602060405180830381865afa15801561099d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c19190611b40565b73ffffffffffffffffffffffffffffffffffffffff1614610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90611bb5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e90611c1d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401610b0493929190611a0a565b5f604051808303815f87803b158015610b1b575f80fd5b505af1158015610b2d573d5f803e3d5ffd5b5050505033815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160010181905550600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190915055813373ffffffffffffffffffffffffffffffffffffffff167f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9042604051610c23919061141e565b60405180910390a350610c34611222565b50565b610c3f61122b565b610c485f6112b2565b565b60028160048110610c59575f80fd5b015f915090505481565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80600e5f8481526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610d52575f915050610e2d565b5f816020015142610d6391906118ae565b905062015180601e610d7591906118e1565b811015610d86575f92505050610e2d565b62015180601e6030610d9891906118e1565b610da291906118e1565b811115610dc85762015180601e6030610dbb91906118e1565b610dc591906118e1565b90505b5f6201518082610dd89190611c68565b90505f836040015182610deb91906118ae565b90505f8103610e00575f945050505050610e2d565b5f610e0a87610743565b90505f610e1682611375565b90508281610e2491906118e1565b96505050505050505b919050565b600e602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b601e81565b610e8461122b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610eeb91906117bb565b60405180910390fd5b610efd816112b2565b50565b62015180601e6030610f1291906118e1565b610f1c91906118e1565b81565b60025f5403610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90611ce2565b60405180910390fd5b60025f81905550565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100790611863565b60405180910390fd5b62015180601e61102091906118e1565b816001015461102f9190611a91565b421015611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890611d4a565b60405180910390fd5b5f61107b83610c8b565b90505f81116110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690611db2565b60405180910390fd5b6110d06110cb84610743565b611375565b816110db9190611c68565b826002015f8282546110ed9190611a91565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161114f929190611dd0565b6020604051808303815f875af115801561116b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118f9190611e2c565b6111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c590611ea1565b60405180910390fd5b823373ffffffffffffffffffffffffffffffffffffffff167fdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e32583604051611215919061141e565b60405180910390a3505050565b60015f81905550565b6112336113a2565b73ffffffffffffffffffffffffffffffffffffffff16611251610c63565b73ffffffffffffffffffffffffffffffffffffffff16146112b0576112746113a2565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016112a791906117bb565b60405180910390fd5b565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f601e600a8360ff166004811061138f5761138e6119b0565b5b015461139b9190611c68565b9050919050565b5f33905090565b5f80fd5b5f80fd5b5f819050919050565b6113c3816113b1565b81146113cd575f80fd5b50565b5f813590506113de816113ba565b92915050565b5f602082840312156113f9576113f86113a9565b5b5f611406848285016113d0565b91505092915050565b611418816113b1565b82525050565b5f6020820190506114315f83018461140f565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61146082611437565b9050919050565b61147081611456565b811461147a575f80fd5b50565b5f8135905061148b81611467565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126114b2576114b1611491565b5b8235905067ffffffffffffffff8111156114cf576114ce611495565b5b6020830191508360018202830111156114eb576114ea611499565b5b9250929050565b5f805f805f6080868803121561150b5761150a6113a9565b5b5f6115188882890161147d565b95505060206115298882890161147d565b945050604061153a888289016113d0565b935050606086013567ffffffffffffffff81111561155b5761155a6113ad565b5b6115678882890161149d565b92509250509295509295909350565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6115aa81611576565b82525050565b5f6020820190506115c35f8301846115a1565b92915050565b5f60ff82169050919050565b6115de816115c9565b82525050565b5f6020820190506115f75f8301846115d5565b92915050565b5f819050919050565b5f61162061161b61161684611437565b6115fd565b611437565b9050919050565b5f61163182611606565b9050919050565b5f61164282611627565b9050919050565b61165281611638565b82525050565b5f60208201905061166b5f830184611649565b92915050565b5f60208284031215611686576116856113a9565b5b5f6116938482850161147d565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6116ce816113b1565b82525050565b5f6116df83836116c5565b60208301905092915050565b5f602082019050919050565b5f6117018261169c565b61170b81856116a6565b9350611716836116b6565b805f5b8381101561174657815161172d88826116d4565b9750611738836116eb565b925050600181019050611719565b5085935050505092915050565b5f6020820190508181035f83015261176b81846116f7565b905092915050565b5f61177d82611627565b9050919050565b61178d81611773565b82525050565b5f6020820190506117a65f830184611784565b92915050565b6117b581611456565b82525050565b5f6020820190506117ce5f8301846117ac565b92915050565b5f6060820190506117e75f8301866117ac565b6117f4602083018561140f565b611801604083018461140f565b949350505050565b5f82825260208201905092915050565b7f4e6f74207374616b6572000000000000000000000000000000000000000000005f82015250565b5f61184d600a83611809565b915061185882611819565b602082019050919050565b5f6020820190508181035f83015261187a81611841565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6118b8826113b1565b91506118c3836113b1565b92508282039050818111156118db576118da611881565b5b92915050565b5f6118eb826113b1565b91506118f6836113b1565b9250828202611904816113b1565b9150828204841483151761191b5761191a611881565b5b5092915050565b7f43616e6e6f74207769746864726177206265666f7265206d696e696d756d20735f8201527f74616b696e6720706572696f6400000000000000000000000000000000000000602082015250565b5f61197c602d83611809565b915061198782611922565b604082019050919050565b5f6020820190508181035f8301526119a981611970565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f606082019050611a1d5f8301866117ac565b611a2a60208301856117ac565b611a37604083018461140f565b949350505050565b5f819050919050565b5f611a62611a5d611a5884611a3f565b6115fd565b6113b1565b9050919050565b611a7281611a48565b82525050565b5f602082019050611a8b5f830184611a69565b92915050565b5f611a9b826113b1565b9150611aa6836113b1565b9250828201905080821115611abe57611abd611881565b5b92915050565b7f496e76616c696420746f6b656e204944000000000000000000000000000000005f82015250565b5f611af8601083611809565b9150611b0382611ac4565b602082019050919050565b5f6020820190508181035f830152611b2581611aec565b9050919050565b5f81519050611b3a81611467565b92915050565b5f60208284031215611b5557611b546113a9565b5b5f611b6284828501611b2c565b91505092915050565b7f4e6f74204e4654206f776e6572000000000000000000000000000000000000005f82015250565b5f611b9f600d83611809565b9150611baa82611b6b565b602082019050919050565b5f6020820190508181035f830152611bcc81611b93565b9050919050565b7f416c7265616479207374616b65640000000000000000000000000000000000005f82015250565b5f611c07600e83611809565b9150611c1282611bd3565b602082019050919050565b5f6020820190508181035f830152611c3481611bfb565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611c72826113b1565b9150611c7d836113b1565b925082611c8d57611c8c611c3b565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f611ccc601f83611809565b9150611cd782611c98565b602082019050919050565b5f6020820190508181035f830152611cf981611cc0565b9050919050565b7f4d696e696d756d207374616b65206e6f742072656163686564000000000000005f82015250565b5f611d34601983611809565b9150611d3f82611d00565b602082019050919050565b5f6020820190508181035f830152611d6181611d28565b9050919050565b7f4e6f207265776172647320746f20636c61696d000000000000000000000000005f82015250565b5f611d9c601383611809565b9150611da782611d68565b602082019050919050565b5f6020820190508181035f830152611dc981611d90565b9050919050565b5f604082019050611de35f8301856117ac565b611df0602083018461140f565b9392505050565b5f8115159050919050565b611e0b81611df7565b8114611e15575f80fd5b50565b5f81519050611e2681611e02565b92915050565b5f60208284031215611e4157611e406113a9565b5b5f611e4e84828501611e18565b91505092915050565b7f526577617264207472616e73666572206661696c6564000000000000000000005f82015250565b5f611e8b601683611809565b9150611e9682611e57565b602082019050919050565b5f6020820190508181035f830152611eb881611e7f565b905091905056fea2646970667358221220cb3702b96b9c8b15f843b203c3663311b71256130047a3896ec578177476ab4d64736f6c634300081a003300000000000000000000000076d69e98659def2f02df5041b18765f8af1cb6920000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a4468
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061011f575f3560e01c80636d153cb1116100ab578063c8e09e3c1161006f578063c8e09e3c14610307578063d5a44f8614610337578063ec4484b214610369578063f2fde38b14610387578063f7a3e4ad146103a35761011f565b80636d153cb1146102755780636eb604e014610293578063715018a6146102af578063869f7594146102b95780638da5cb5b146102e95761011f565b8063189b914a116100f2578063189b914a146101bb5780634f062c5a146101d957806355f623e01461020957806361a52a361461022757806363c28db1146102455761011f565b8063023245d714610123578063058df06d1461013f5780630962ef791461016f578063150b7a021461018b575b5f80fd5b61013d600480360381019061013891906113e4565b6103c1565b005b610159600480360381019061015491906113e4565b6106f5565b604051610166919061141e565b60405180910390f35b610189600480360381019061018491906113e4565b61070e565b005b6101a560048036038101906101a091906114f2565b61072a565b6040516101b291906115b0565b60405180910390f35b6101c361073e565b6040516101d0919061141e565b60405180910390f35b6101f360048036038101906101ee91906113e4565b610743565b60405161020091906115e4565b60405180910390f35b610211610814565b60405161021e9190611658565b60405180910390f35b61022f610838565b60405161023c919061141e565b60405180910390f35b61025f600480360381019061025a9190611671565b61083f565b60405161026c9190611753565b60405180910390f35b61027d6108d2565b60405161028a9190611793565b60405180910390f35b6102ad60048036038101906102a891906113e4565b6108f6565b005b6102b7610c37565b005b6102d360048036038101906102ce91906113e4565b610c4a565b6040516102e0919061141e565b60405180910390f35b6102f1610c63565b6040516102fe91906117bb565b60405180910390f35b610321600480360381019061031c91906113e4565b610c8b565b60405161032e919061141e565b60405180910390f35b610351600480360381019061034c91906113e4565b610e32565b604051610360939291906117d4565b60405180910390f35b610371610e77565b60405161037e919061141e565b60405180910390f35b6103a1600480360381019061039c9190611671565b610e7c565b005b6103ab610f00565b6040516103b8919061141e565b60405180910390f35b6103c9610f1f565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461046d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046490611863565b60405180910390fd5b5f81600101544261047e91906118ae565b905062015180601e61049091906118e1565b8110156104d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c990611992565b60405180910390fd5b6104db83610f6c565b5f600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f5b81805490508110156105cc578482828154811061053d5761053c6119b0565b5b905f5260205f200154036105bf57816001838054905061055d91906118ae565b8154811061056e5761056d6119b0565b5b905f5260205f20015482828154811061058a576105896119b0565b5b905f5260205f200181905550818054806105a7576105a66119dd565b5b600190038181905f5260205f20015f905590556105cc565b808060010191505061051d565b505f835f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a446873ffffffffffffffffffffffffffffffffffffffff166342842e0e3033876040518463ffffffff1660e01b815260040161066b93929190611a0a565b5f604051808303815f87803b158015610682575f80fd5b505af1158015610694573d5f803e3d5ffd5b50505050833373ffffffffffffffffffffffffffffffffffffffff167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc65f6040516106df9190611a78565b60405180910390a35050506106f2611222565b50565b600a8160048110610704575f80fd5b015f915090505481565b610716610f1f565b61071f81610f6c565b610727611222565b50565b5f63150b7a0260e01b905095945050505050565b603081565b5f805f90505b60048160ff1610156107d3575f60068260ff166004811061076d5761076c6119b0565b5b015490505f600160028460ff166004811061078b5761078a6119b0565b5b0154836107989190611a91565b6107a291906118ae565b90508185101580156107b45750808511155b156107c45782935050505061080f565b50508080600101915050610749565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611b0e565b60405180910390fd5b919050565b7f0000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a446881565b6201518081565b6060600f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054806020026020016040519081016040528092919081815260200182805480156108c657602002820191905f5260205f20905b8154815260200190600101908083116108b2575b50505050509050919050565b7f00000000000000000000000076d69e98659def2f02df5041b18765f8af1cb69281565b6108fe610f1f565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a446873ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610982919061141e565b602060405180830381865afa15801561099d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c19190611b40565b73ffffffffffffffffffffffffffffffffffffffff1614610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90611bb5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e90611c1d565b60405180910390fd5b7f0000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a446873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401610b0493929190611a0a565b5f604051808303815f87803b158015610b1b575f80fd5b505af1158015610b2d573d5f803e3d5ffd5b5050505033815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160010181905550600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190915055813373ffffffffffffffffffffffffffffffffffffffff167f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9042604051610c23919061141e565b60405180910390a350610c34611222565b50565b610c3f61122b565b610c485f6112b2565b565b60028160048110610c59575f80fd5b015f915090505481565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80600e5f8481526020019081526020015f206040518060600160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610d52575f915050610e2d565b5f816020015142610d6391906118ae565b905062015180601e610d7591906118e1565b811015610d86575f92505050610e2d565b62015180601e6030610d9891906118e1565b610da291906118e1565b811115610dc85762015180601e6030610dbb91906118e1565b610dc591906118e1565b90505b5f6201518082610dd89190611c68565b90505f836040015182610deb91906118ae565b90505f8103610e00575f945050505050610e2d565b5f610e0a87610743565b90505f610e1682611375565b90508281610e2491906118e1565b96505050505050505b919050565b600e602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b601e81565b610e8461122b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610eeb91906117bb565b60405180910390fd5b610efd816112b2565b50565b62015180601e6030610f1291906118e1565b610f1c91906118e1565b81565b60025f5403610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90611ce2565b60405180910390fd5b60025f81905550565b5f600e5f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100790611863565b60405180910390fd5b62015180601e61102091906118e1565b816001015461102f9190611a91565b421015611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890611d4a565b60405180910390fd5b5f61107b83610c8b565b90505f81116110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690611db2565b60405180910390fd5b6110d06110cb84610743565b611375565b816110db9190611c68565b826002015f8282546110ed9190611a91565b925050819055507f00000000000000000000000076d69e98659def2f02df5041b18765f8af1cb69273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161114f929190611dd0565b6020604051808303815f875af115801561116b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118f9190611e2c565b6111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c590611ea1565b60405180910390fd5b823373ffffffffffffffffffffffffffffffffffffffff167fdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e32583604051611215919061141e565b60405180910390a3505050565b60015f81905550565b6112336113a2565b73ffffffffffffffffffffffffffffffffffffffff16611251610c63565b73ffffffffffffffffffffffffffffffffffffffff16146112b0576112746113a2565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016112a791906117bb565b60405180910390fd5b565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f601e600a8360ff166004811061138f5761138e6119b0565b5b015461139b9190611c68565b9050919050565b5f33905090565b5f80fd5b5f80fd5b5f819050919050565b6113c3816113b1565b81146113cd575f80fd5b50565b5f813590506113de816113ba565b92915050565b5f602082840312156113f9576113f86113a9565b5b5f611406848285016113d0565b91505092915050565b611418816113b1565b82525050565b5f6020820190506114315f83018461140f565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61146082611437565b9050919050565b61147081611456565b811461147a575f80fd5b50565b5f8135905061148b81611467565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126114b2576114b1611491565b5b8235905067ffffffffffffffff8111156114cf576114ce611495565b5b6020830191508360018202830111156114eb576114ea611499565b5b9250929050565b5f805f805f6080868803121561150b5761150a6113a9565b5b5f6115188882890161147d565b95505060206115298882890161147d565b945050604061153a888289016113d0565b935050606086013567ffffffffffffffff81111561155b5761155a6113ad565b5b6115678882890161149d565b92509250509295509295909350565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6115aa81611576565b82525050565b5f6020820190506115c35f8301846115a1565b92915050565b5f60ff82169050919050565b6115de816115c9565b82525050565b5f6020820190506115f75f8301846115d5565b92915050565b5f819050919050565b5f61162061161b61161684611437565b6115fd565b611437565b9050919050565b5f61163182611606565b9050919050565b5f61164282611627565b9050919050565b61165281611638565b82525050565b5f60208201905061166b5f830184611649565b92915050565b5f60208284031215611686576116856113a9565b5b5f6116938482850161147d565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6116ce816113b1565b82525050565b5f6116df83836116c5565b60208301905092915050565b5f602082019050919050565b5f6117018261169c565b61170b81856116a6565b9350611716836116b6565b805f5b8381101561174657815161172d88826116d4565b9750611738836116eb565b925050600181019050611719565b5085935050505092915050565b5f6020820190508181035f83015261176b81846116f7565b905092915050565b5f61177d82611627565b9050919050565b61178d81611773565b82525050565b5f6020820190506117a65f830184611784565b92915050565b6117b581611456565b82525050565b5f6020820190506117ce5f8301846117ac565b92915050565b5f6060820190506117e75f8301866117ac565b6117f4602083018561140f565b611801604083018461140f565b949350505050565b5f82825260208201905092915050565b7f4e6f74207374616b6572000000000000000000000000000000000000000000005f82015250565b5f61184d600a83611809565b915061185882611819565b602082019050919050565b5f6020820190508181035f83015261187a81611841565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6118b8826113b1565b91506118c3836113b1565b92508282039050818111156118db576118da611881565b5b92915050565b5f6118eb826113b1565b91506118f6836113b1565b9250828202611904816113b1565b9150828204841483151761191b5761191a611881565b5b5092915050565b7f43616e6e6f74207769746864726177206265666f7265206d696e696d756d20735f8201527f74616b696e6720706572696f6400000000000000000000000000000000000000602082015250565b5f61197c602d83611809565b915061198782611922565b604082019050919050565b5f6020820190508181035f8301526119a981611970565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f606082019050611a1d5f8301866117ac565b611a2a60208301856117ac565b611a37604083018461140f565b949350505050565b5f819050919050565b5f611a62611a5d611a5884611a3f565b6115fd565b6113b1565b9050919050565b611a7281611a48565b82525050565b5f602082019050611a8b5f830184611a69565b92915050565b5f611a9b826113b1565b9150611aa6836113b1565b9250828201905080821115611abe57611abd611881565b5b92915050565b7f496e76616c696420746f6b656e204944000000000000000000000000000000005f82015250565b5f611af8601083611809565b9150611b0382611ac4565b602082019050919050565b5f6020820190508181035f830152611b2581611aec565b9050919050565b5f81519050611b3a81611467565b92915050565b5f60208284031215611b5557611b546113a9565b5b5f611b6284828501611b2c565b91505092915050565b7f4e6f74204e4654206f776e6572000000000000000000000000000000000000005f82015250565b5f611b9f600d83611809565b9150611baa82611b6b565b602082019050919050565b5f6020820190508181035f830152611bcc81611b93565b9050919050565b7f416c7265616479207374616b65640000000000000000000000000000000000005f82015250565b5f611c07600e83611809565b9150611c1282611bd3565b602082019050919050565b5f6020820190508181035f830152611c3481611bfb565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611c72826113b1565b9150611c7d836113b1565b925082611c8d57611c8c611c3b565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f611ccc601f83611809565b9150611cd782611c98565b602082019050919050565b5f6020820190508181035f830152611cf981611cc0565b9050919050565b7f4d696e696d756d207374616b65206e6f742072656163686564000000000000005f82015250565b5f611d34601983611809565b9150611d3f82611d00565b602082019050919050565b5f6020820190508181035f830152611d6181611d28565b9050919050565b7f4e6f207265776172647320746f20636c61696d000000000000000000000000005f82015250565b5f611d9c601383611809565b9150611da782611d68565b602082019050919050565b5f6020820190508181035f830152611dc981611d90565b9050919050565b5f604082019050611de35f8301856117ac565b611df0602083018461140f565b9392505050565b5f8115159050919050565b611e0b81611df7565b8114611e15575f80fd5b50565b5f81519050611e2681611e02565b92915050565b5f60208284031215611e4157611e406113a9565b5b5f611e4e84828501611e18565b91505092915050565b7f526577617264207472616e73666572206661696c6564000000000000000000005f82015250565b5f611e8b601683611809565b9150611e9682611e57565b602082019050919050565b5f6020820190508181035f830152611eb881611e7f565b905091905056fea2646970667358221220cb3702b96b9c8b15f843b203c3663311b71256130047a3896ec578177476ab4d64736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000076d69e98659def2f02df5041b18765f8af1cb6920000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a4468
-----Decoded View---------------
Arg [0] : _arkaToken (address): 0x76D69e98659dEF2F02Df5041B18765F8aF1cB692
Arg [1] : _arkromaNFT (address): 0x9c8f08c0f605a57c77abcfA3844bB05b793a4468
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000076d69e98659def2f02df5041b18765f8af1cb692
Arg [1] : 0000000000000000000000009c8f08c0f605a57c77abcfa3844bb05b793a4468
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 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.