Source Code
Latest 25 from a total of 263 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Redeem | 18923319 | 813 days ago | IN | 0 ETH | 0.00109082 | ||||
| Redeem | 17686826 | 986 days ago | IN | 0 ETH | 0.00380281 | ||||
| Redeem | 16694728 | 1126 days ago | IN | 0 ETH | 0.00233836 | ||||
| Redeem | 16657265 | 1131 days ago | IN | 0 ETH | 0.00174496 | ||||
| Redeem | 16142044 | 1203 days ago | IN | 0 ETH | 0.00190959 | ||||
| Redeem | 15635662 | 1274 days ago | IN | 0 ETH | 0.00064646 | ||||
| Redeem | 14985094 | 1376 days ago | IN | 0 ETH | 0.00097465 | ||||
| Redeem | 14744771 | 1416 days ago | IN | 0 ETH | 0.00557172 | ||||
| Redeem | 14185231 | 1503 days ago | IN | 0 ETH | 0.00385411 | ||||
| Redeem | 13762716 | 1569 days ago | IN | 0 ETH | 0.00566908 | ||||
| Redeem | 13676955 | 1582 days ago | IN | 0 ETH | 0.006928 | ||||
| Redeem | 13558403 | 1601 days ago | IN | 0 ETH | 0.01136865 | ||||
| Redeem | 13299314 | 1642 days ago | IN | 0 ETH | 0.00338272 | ||||
| Redeem | 13293438 | 1643 days ago | IN | 0 ETH | 0.0028142 | ||||
| Redeem | 13232263 | 1652 days ago | IN | 0 ETH | 0.00833319 | ||||
| Redeem | 13210981 | 1655 days ago | IN | 0 ETH | 0.00338671 | ||||
| Redeem | 13210939 | 1655 days ago | IN | 0 ETH | 0.00231182 | ||||
| Redeem | 13118882 | 1670 days ago | IN | 0 ETH | 0.00419533 | ||||
| Redeem | 13113446 | 1671 days ago | IN | 0 ETH | 0.00447771 | ||||
| Redeem | 13025432 | 1684 days ago | IN | 0 ETH | 0.0053157 | ||||
| Redeem | 13009232 | 1687 days ago | IN | 0 ETH | 0.00393343 | ||||
| Redeem | 13000997 | 1688 days ago | IN | 0 ETH | 0.00400248 | ||||
| Redeem | 12987202 | 1690 days ago | IN | 0 ETH | 0.00227629 | ||||
| Redeem | 12924194 | 1700 days ago | IN | 0 ETH | 0.00248094 | ||||
| Redeem | 12906720 | 1703 days ago | IN | 0 ETH | 0.00093668 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PendingXTKRewardsSnapshot
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
/**
* Contract which implements a merkle airdrop for a given token
* Based on an account balance snapshot stored in a merkle tree
*/
contract PendingXTKRewardsSnapshot is Ownable {
IERC20 token;
bytes32 root; // merkle tree root
mapping (uint256 => uint256) _redeemed;
constructor (IERC20 _token, bytes32 _root) {
token = _token;
root = _root;
}
// Check if a given reward has already been redeemed
function redeemed(uint256 index) public view returns (uint256 redeemedBlock, uint256 redeemedMask) {
redeemedBlock = _redeemed[index / 256];
redeemedMask = (uint256(1) << uint256(index % 256));
require((redeemedBlock & redeemedMask) == 0, "Tokens have already been redeemed");
}
// Get airdrop tokens assigned to address
// Requires sending merkle proof to the function
function redeem(uint256 index, address recipient, uint256 amount, bytes32[] memory merkleProof) public {
// Make sure msg.sender is the recipient of this airdrop
require(msg.sender == recipient, "The reward recipient should be the transaction sender");
// Make sure the tokens have not already been redeemed
(uint256 redeemedBlock, uint256 redeemedMask) = redeemed(index);
_redeemed[index / 256] = redeemedBlock | redeemedMask;
// Compute the merkle leaf from index, recipient and amount
bytes32 leaf = keccak256(abi.encodePacked(index, recipient, amount));
// verify the proof is valid
require(MerkleProof.verify(merkleProof, root, leaf), "Proof is not valid");
// Redeem!
token.transfer(recipient, amount);
}
function recoverToken() external onlyOwner {
token.transfer(msg.sender, token.balanceOf(address(this)));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../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 () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
} else {
// Hash(current element of the proof + current computed hash)
computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
}
}
// Check if the computed hash (root) is equal to the provided root
return computedHash == root;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"redeemed","outputs":[{"internalType":"uint256","name":"redeemedBlock","type":"uint256"},{"internalType":"uint256","name":"redeemedMask","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b50604051620013e3380380620013e383398181016040528101906200003791906200016d565b6000620000496200013760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600281905550505062000234565b600033905090565b600081519050620001508162000200565b92915050565b60008151905062000167816200021a565b92915050565b600080604083850312156200018157600080fd5b6000620001918582860162000156565b9250506020620001a4858286016200013f565b9150509250929050565b6000620001bb82620001e0565b9050919050565b6000819050919050565b6000620001d982620001ae565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200020b81620001c2565b81146200021757600080fd5b50565b6200022581620001cc565b81146200023157600080fd5b50565b61119f80620002446000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80635f867d4e14610067578063715018a6146100715780637ed0f1c11461007b5780638da5cb5b146100ac578063e7ef921a146100ca578063f2fde38b146100e6575b600080fd5b61006f610102565b005b6100796102da565b005b61009560048036038101906100909190610a78565b610414565b6040516100a3929190610ea7565b60405180910390f35b6100b4610498565b6040516100c19190610dc3565b60405180910390f35b6100e460048036038101906100df9190610aca565b6104c1565b005b61010060048036038101906100fb9190610a26565b61069a565b005b61010a610843565b73ffffffffffffffffffffffffffffffffffffffff16610128610498565b73ffffffffffffffffffffffffffffffffffffffff161461017e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017590610e67565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102189190610dc3565b60206040518083038186803b15801561023057600080fd5b505afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610aa1565b6040518363ffffffff1660e01b8152600401610285929190610dde565b602060405180830381600087803b15801561029f57600080fd5b505af11580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d79190610a4f565b50565b6102e2610843565b73ffffffffffffffffffffffffffffffffffffffff16610300610498565b73ffffffffffffffffffffffffffffffffffffffff1614610356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060036000610100856104299190610f3e565b8152602001908152602001600020549150610100836104489190611042565b6001901b9050600081831614610493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048a90610e27565b60405180910390fd5b915091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610e87565b60405180910390fd5b60008061053b86610414565b9150915080821760036000610100896105549190610f3e565b815260200190815260200160002081905550600086868660405160200161057d93929190610d86565b6040516020818303038152906040528051906020012090506105a2846002548361084b565b6105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890610e47565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b815260040161063e929190610dde565b602060405180830381600087803b15801561065857600080fd5b505af115801561066c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106909190610a4f565b5050505050505050565b6106a2610843565b73ffffffffffffffffffffffffffffffffffffffff166106c0610498565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90610e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082905060005b8551811015610919576000868281518110610898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116108d95782816040516020016108bc929190610d5a565b604051602081830303815290604052805190602001209250610905565b80836040516020016108ec929190610d5a565b6040516020818303038152906040528051906020012092505b50808061091190610fc1565b915050610854565b508381149150509392505050565b600061093a61093584610f01565b610ed0565b9050808382526020820190508285602086028201111561095957600080fd5b60005b85811015610989578161096f88826109e7565b84526020840193506020830192505060018101905061095c565b5050509392505050565b6000813590506109a28161110d565b92915050565b600082601f8301126109b957600080fd5b81356109c9848260208601610927565b91505092915050565b6000815190506109e181611124565b92915050565b6000813590506109f68161113b565b92915050565b600081359050610a0b81611152565b92915050565b600081519050610a2081611152565b92915050565b600060208284031215610a3857600080fd5b6000610a4684828501610993565b91505092915050565b600060208284031215610a6157600080fd5b6000610a6f848285016109d2565b91505092915050565b600060208284031215610a8a57600080fd5b6000610a98848285016109fc565b91505092915050565b600060208284031215610ab357600080fd5b6000610ac184828501610a11565b91505092915050565b60008060008060808587031215610ae057600080fd5b6000610aee878288016109fc565b9450506020610aff87828801610993565b9350506040610b10878288016109fc565b925050606085013567ffffffffffffffff811115610b2d57600080fd5b610b39878288016109a8565b91505092959194509250565b610b4e81610f6f565b82525050565b610b65610b6082610f6f565b61100a565b82525050565b610b7c610b7782610f8d565b61101c565b82525050565b6000610b8f602683610f2d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610bf5602183610f2d565b91507f546f6b656e73206861766520616c7265616479206265656e2072656465656d6560008301527f64000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610c5b601283610f2d565b91507f50726f6f66206973206e6f742076616c696400000000000000000000000000006000830152602082019050919050565b6000610c9b602083610f2d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610cdb603583610f2d565b91507f5468652072657761726420726563697069656e742073686f756c64206265207460008301527f6865207472616e73616374696f6e2073656e64657200000000000000000000006020830152604082019050919050565b610d3d81610fb7565b82525050565b610d54610d4f82610fb7565b611038565b82525050565b6000610d668285610b6b565b602082019150610d768284610b6b565b6020820191508190509392505050565b6000610d928286610d43565b602082019150610da28285610b54565b601482019150610db28284610d43565b602082019150819050949350505050565b6000602082019050610dd86000830184610b45565b92915050565b6000604082019050610df36000830185610b45565b610e006020830184610d34565b9392505050565b60006020820190508181036000830152610e2081610b82565b9050919050565b60006020820190508181036000830152610e4081610be8565b9050919050565b60006020820190508181036000830152610e6081610c4e565b9050919050565b60006020820190508181036000830152610e8081610c8e565b9050919050565b60006020820190508181036000830152610ea081610cce565b9050919050565b6000604082019050610ebc6000830185610d34565b610ec96020830184610d34565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715610ef757610ef66110d1565b5b8060405250919050565b600067ffffffffffffffff821115610f1c57610f1b6110d1565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000610f4982610fb7565b9150610f5483610fb7565b925082610f6457610f636110a2565b5b828204905092915050565b6000610f7a82610f97565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610fcc82610fb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610fff57610ffe611073565b5b600182019050919050565b600061101582611026565b9050919050565b6000819050919050565b600061103182611100565b9050919050565b6000819050919050565b600061104d82610fb7565b915061105883610fb7565b925082611068576110676110a2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b61111681610f6f565b811461112157600080fd5b50565b61112d81610f81565b811461113857600080fd5b50565b61114481610f8d565b811461114f57600080fd5b50565b61115b81610fb7565b811461116657600080fd5b5056fea2646970667358221220b26dfa81ac40dcd23cc4bee6425bddc72122b9cf1e0de035a0f21706dcda2eec64736f6c634300080000330000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c80635f867d4e14610067578063715018a6146100715780637ed0f1c11461007b5780638da5cb5b146100ac578063e7ef921a146100ca578063f2fde38b146100e6575b600080fd5b61006f610102565b005b6100796102da565b005b61009560048036038101906100909190610a78565b610414565b6040516100a3929190610ea7565b60405180910390f35b6100b4610498565b6040516100c19190610dc3565b60405180910390f35b6100e460048036038101906100df9190610aca565b6104c1565b005b61010060048036038101906100fb9190610a26565b61069a565b005b61010a610843565b73ffffffffffffffffffffffffffffffffffffffff16610128610498565b73ffffffffffffffffffffffffffffffffffffffff161461017e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017590610e67565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102189190610dc3565b60206040518083038186803b15801561023057600080fd5b505afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610aa1565b6040518363ffffffff1660e01b8152600401610285929190610dde565b602060405180830381600087803b15801561029f57600080fd5b505af11580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d79190610a4f565b50565b6102e2610843565b73ffffffffffffffffffffffffffffffffffffffff16610300610498565b73ffffffffffffffffffffffffffffffffffffffff1614610356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060036000610100856104299190610f3e565b8152602001908152602001600020549150610100836104489190611042565b6001901b9050600081831614610493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048a90610e27565b60405180910390fd5b915091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610e87565b60405180910390fd5b60008061053b86610414565b9150915080821760036000610100896105549190610f3e565b815260200190815260200160002081905550600086868660405160200161057d93929190610d86565b6040516020818303038152906040528051906020012090506105a2846002548361084b565b6105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890610e47565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b815260040161063e929190610dde565b602060405180830381600087803b15801561065857600080fd5b505af115801561066c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106909190610a4f565b5050505050505050565b6106a2610843565b73ffffffffffffffffffffffffffffffffffffffff166106c0610498565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90610e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082905060005b8551811015610919576000868281518110610898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116108d95782816040516020016108bc929190610d5a565b604051602081830303815290604052805190602001209250610905565b80836040516020016108ec929190610d5a565b6040516020818303038152906040528051906020012092505b50808061091190610fc1565b915050610854565b508381149150509392505050565b600061093a61093584610f01565b610ed0565b9050808382526020820190508285602086028201111561095957600080fd5b60005b85811015610989578161096f88826109e7565b84526020840193506020830192505060018101905061095c565b5050509392505050565b6000813590506109a28161110d565b92915050565b600082601f8301126109b957600080fd5b81356109c9848260208601610927565b91505092915050565b6000815190506109e181611124565b92915050565b6000813590506109f68161113b565b92915050565b600081359050610a0b81611152565b92915050565b600081519050610a2081611152565b92915050565b600060208284031215610a3857600080fd5b6000610a4684828501610993565b91505092915050565b600060208284031215610a6157600080fd5b6000610a6f848285016109d2565b91505092915050565b600060208284031215610a8a57600080fd5b6000610a98848285016109fc565b91505092915050565b600060208284031215610ab357600080fd5b6000610ac184828501610a11565b91505092915050565b60008060008060808587031215610ae057600080fd5b6000610aee878288016109fc565b9450506020610aff87828801610993565b9350506040610b10878288016109fc565b925050606085013567ffffffffffffffff811115610b2d57600080fd5b610b39878288016109a8565b91505092959194509250565b610b4e81610f6f565b82525050565b610b65610b6082610f6f565b61100a565b82525050565b610b7c610b7782610f8d565b61101c565b82525050565b6000610b8f602683610f2d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610bf5602183610f2d565b91507f546f6b656e73206861766520616c7265616479206265656e2072656465656d6560008301527f64000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610c5b601283610f2d565b91507f50726f6f66206973206e6f742076616c696400000000000000000000000000006000830152602082019050919050565b6000610c9b602083610f2d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610cdb603583610f2d565b91507f5468652072657761726420726563697069656e742073686f756c64206265207460008301527f6865207472616e73616374696f6e2073656e64657200000000000000000000006020830152604082019050919050565b610d3d81610fb7565b82525050565b610d54610d4f82610fb7565b611038565b82525050565b6000610d668285610b6b565b602082019150610d768284610b6b565b6020820191508190509392505050565b6000610d928286610d43565b602082019150610da28285610b54565b601482019150610db28284610d43565b602082019150819050949350505050565b6000602082019050610dd86000830184610b45565b92915050565b6000604082019050610df36000830185610b45565b610e006020830184610d34565b9392505050565b60006020820190508181036000830152610e2081610b82565b9050919050565b60006020820190508181036000830152610e4081610be8565b9050919050565b60006020820190508181036000830152610e6081610c4e565b9050919050565b60006020820190508181036000830152610e8081610c8e565b9050919050565b60006020820190508181036000830152610ea081610cce565b9050919050565b6000604082019050610ebc6000830185610d34565b610ec96020830184610d34565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715610ef757610ef66110d1565b5b8060405250919050565b600067ffffffffffffffff821115610f1c57610f1b6110d1565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000610f4982610fb7565b9150610f5483610fb7565b925082610f6457610f636110a2565b5b828204905092915050565b6000610f7a82610f97565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610fcc82610fb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610fff57610ffe611073565b5b600182019050919050565b600061101582611026565b9050919050565b6000819050919050565b600061103182611100565b9050919050565b6000819050919050565b600061104d82610fb7565b915061105883610fb7565b925082611068576110676110a2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b61111681610f6f565b811461112157600080fd5b50565b61112d81610f81565b811461113857600080fd5b50565b61114481610f8d565b811461114f57600080fd5b50565b61115b81610fb7565b811461116657600080fd5b5056fea2646970667358221220b26dfa81ac40dcd23cc4bee6425bddc72122b9cf1e0de035a0f21706dcda2eec64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8
-----Decoded View---------------
Arg [0] : _token (address): 0x7F3EDcdD180Dbe4819Bd98FeE8929b5cEdB3AdEB
Arg [1] : _root (bytes32): 0x7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb
Arg [1] : 7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8
Loading...
Loading
Loading...
Loading
Net Worth in USD
$9.95
Net Worth in ETH
0.004803
Token Allocations
XTK
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.000029 | 345,194.1101 | $9.95 |
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.