Feature Tip: Add private address tag to any address under My Name Tag !
Faith Merkle Airdrop
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 4,060 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 14598000 | 1310 days ago | IN | 0 ETH | 0.00241811 | ||||
| Claim | 14580423 | 1313 days ago | IN | 0 ETH | 0.00218111 | ||||
| Claim | 14565282 | 1315 days ago | IN | 0 ETH | 0.00458709 | ||||
| Claim | 14554508 | 1317 days ago | IN | 0 ETH | 0.00220812 | ||||
| Claim | 14549466 | 1318 days ago | IN | 0 ETH | 0.00248554 | ||||
| Claim | 14548690 | 1318 days ago | IN | 0 ETH | 0.00381167 | ||||
| Claim | 14536342 | 1320 days ago | IN | 0 ETH | 0.00337156 | ||||
| Claim | 14535470 | 1320 days ago | IN | 0 ETH | 0.00391416 | ||||
| Claim | 14535292 | 1320 days ago | IN | 0 ETH | 0.00301074 | ||||
| Claim | 14517482 | 1323 days ago | IN | 0 ETH | 0.00443254 | ||||
| Claim | 14517477 | 1323 days ago | IN | 0 ETH | 0.00330609 | ||||
| Claim | 14517325 | 1323 days ago | IN | 0 ETH | 0.00429595 | ||||
| Claim | 14509613 | 1324 days ago | IN | 0 ETH | 0.00369103 | ||||
| Claim | 14498770 | 1326 days ago | IN | 0 ETH | 0.00403708 | ||||
| Claim | 14493691 | 1327 days ago | IN | 0 ETH | 0.00303296 | ||||
| Claim | 14488395 | 1327 days ago | IN | 0 ETH | 0.00575155 | ||||
| Claim | 14483937 | 1328 days ago | IN | 0 ETH | 0.00347448 | ||||
| Claim | 14482887 | 1328 days ago | IN | 0 ETH | 0.00954271 | ||||
| Claim | 14481683 | 1328 days ago | IN | 0 ETH | 0.00515601 | ||||
| Claim | 14478174 | 1329 days ago | IN | 0 ETH | 0.00453288 | ||||
| Claim | 14473400 | 1330 days ago | IN | 0 ETH | 0.00185912 | ||||
| Claim | 14468626 | 1331 days ago | IN | 0 ETH | 0.00199984 | ||||
| Claim | 14464625 | 1331 days ago | IN | 0 ETH | 0.00224431 | ||||
| Claim | 14454850 | 1333 days ago | IN | 0 ETH | 0.00173218 | ||||
| Claim | 14449407 | 1334 days ago | IN | 0 ETH | 0.0033174 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FaithMerkleAirdrop
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4;
// SPDX-License-Identifier: GPL-3.0-or-later
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./IFaith.sol";
// Allows anyone to claim a token if they exist in a merkle root.
interface IMerkleDistributor {
// Returns the merkle root of the merkle tree containing account balances available to claim.
function merkleRoot() external view returns (bytes32);
// Returns true if the index has been marked claimed.
function isClaimed(uint256 index) external view returns (bool);
// Claim the given amount of the token to the given address. Reverts if the inputs are invalid.
function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external;
// This event is triggered whenever a call to #claim succeeds.
event Claimed(uint256 index, address account, uint256 amount);
}
contract FaithMerkleAirdrop is IMerkleDistributor {
using SafeERC20 for IERC20;
using Address for address;
address public owner;
IFaith public immutable faith;
uint256 claimStartTime;
uint256 claimEndTime;
bytes32 public immutable override merkleRoot;
// This is a packed array of booleans.
mapping(uint256 => uint256) private claimedBitMap;
constructor(IFaith _faith, bytes32 _merkleRoot) {
owner = msg.sender;
faith = _faith;
merkleRoot = _merkleRoot;
}
function setOwner(address _newOwner) external {
require(msg.sender == owner, "not owner");
require(_newOwner != address(0), "address zero");
owner = _newOwner;
}
function setClaimStartTime(uint256 _claimStartTime) external {
require(msg.sender == owner, "not owner");
require(_claimStartTime >= block.timestamp, "invalid time");
claimStartTime = _claimStartTime;
}
function setClaimEndTime(uint256 _claimEndTime) external {
require(msg.sender == owner, "not owner");
require(claimStartTime < _claimEndTime && _claimEndTime > block.timestamp, "invalid time");
claimEndTime = _claimEndTime;
}
function getClaimPeriod() external view returns (uint256, uint256) {
return (claimStartTime, claimEndTime);
}
function isClaimed(uint256 index) public view override returns (bool) {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
uint256 claimedWord = claimedBitMap[claimedWordIndex];
uint256 mask = (1 << claimedBitIndex);
return claimedWord & mask == mask;
}
function _setClaimed(uint256 index) private {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
}
function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external override {
require(block.timestamp >= claimStartTime && block.timestamp < claimEndTime, "invalid claim period");
require(!isClaimed(index), 'MerkleDistributor: Drop already claimed.');
// Verify the merkle proof.
bytes32 node = keccak256(abi.encodePacked(index, account, amount));
require(MerkleProof.verify(merkleProof, merkleRoot, node), 'MerkleDistributor: Invalid proof.');
// Mark it claimed and send the token.
_setClaimed(index);
faith.gain(account, uint112(amount));
emit Claimed(index, account, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)
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) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
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));
}
}
return computedHash;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}pragma solidity ^0.8.4;
// SPDX-License-Identifier: GPL-3.0-or-later
interface IFaith {
function totalSupply() external view returns(uint256);
function balances(address account) external view returns(uint112, uint112);
function canManagerFaith(address account) external returns(bool);
function gain(address to, uint112 amount) external;
function redeem(address to, uint112 amount) external;
function addManager(address account) external;
function removeManager(address account) external;
}{
"optimizer": {
"enabled": true,
"runs": 999999
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IFaith","name":"_faith","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"faith","outputs":[{"internalType":"contract IFaith","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimEndTime","type":"uint256"}],"name":"setClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStartTime","type":"uint256"}],"name":"setClaimStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60c060405234801561001057600080fd5b50604051610c9a380380610c9a83398101604081905261002f9161005e565b60008054336001600160a01b031990911617905560609190911b6001600160601b03191660805260a052610096565b60008060408385031215610070578182fd5b82516001600160a01b0381168114610086578283fd5b6020939093015192949293505050565b60805160601c60a051610bcf6100cb6000396000818160e801526105b601526000818161012201526106d10152610bcf6000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80636e5640c6116100765780639a3aa7661161005b5780639a3aa766146101895780639e34070f1461019c578063a261dc9e146101bf57600080fd5b80636e5640c61461011d5780638da5cb5b1461016957600080fd5b806313af4035146100a85780632533a5f6146100bd5780632e7ba6ef146100d05780632eb4a7ab146100e3575b600080fd5b6100bb6100b6366004610a19565b6101da565b005b6100bb6100cb366004610a3a565b610324565b6100bb6100de366004610a52565b610414565b61010a7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b6101447f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610114565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b6100bb610197366004610a3a565b61078c565b6101af6101aa366004610a3a565b610888565b6040519015158152602001610114565b60015460025460408051928352602083019190915201610114565b60005473ffffffffffffffffffffffffffffffffffffffff163314610260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e6572000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166102dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f61646472657373207a65726f00000000000000000000000000000000000000006044820152606401610257565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610257565b4281101561040f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f696e76616c69642074696d6500000000000000000000000000000000000000006044820152606401610257565b600155565b6001544210158015610427575060025442105b61048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f696e76616c696420636c61696d20706572696f640000000000000000000000006044820152606401610257565b61049685610888565b15610523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060448201527f636c61696d65642e0000000000000000000000000000000000000000000000006064820152608401610257565b60408051602081018790527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1691810191909152605481018490526000906074016040516020818303038152906040528051906020012090506105e18383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506108c99050565b61066d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610257565b610676866108df565b6040517f64a3bc5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526dffffffffffffffffffffffffffff861660248301527f000000000000000000000000000000000000000000000000000000000000000016906364a3bc5790604401600060405180830381600087803b15801561071557600080fd5b505af1158015610729573d6000803e3d6000fd5b50506040805189815273ffffffffffffffffffffffffffffffffffffffff891660208201529081018790527f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269250606001905060405180910390a1505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461080d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610257565b8060015410801561081d57504281115b610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f696e76616c69642074696d6500000000000000000000000000000000000000006044820152606401610257565b600255565b60008061089761010084610ae4565b905060006108a761010085610b56565b60009283526003602052604090922054600190921b9182169091149392505050565b6000826108d6858461091d565b14949350505050565b60006108ed61010083610ae4565b905060006108fd61010084610b56565b6000928352600360205260409092208054600190931b9092179091555050565b600081815b84518110156109e8576000858281518110610966577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116109a85760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506109d5565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806109e081610af8565b915050610922565b509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610a1457600080fd5b919050565b600060208284031215610a2a578081fd5b610a33826109f0565b9392505050565b600060208284031215610a4b578081fd5b5035919050565b600080600080600060808688031215610a69578081fd5b85359450610a79602087016109f0565b935060408601359250606086013567ffffffffffffffff80821115610a9c578283fd5b818801915088601f830112610aaf578283fd5b813581811115610abd578384fd5b8960208260051b8501011115610ad1578384fd5b9699959850939650602001949392505050565b600082610af357610af3610b6a565b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610b4f577f4e487b710000000000000000000000000000000000000000000000000000000081526011600452602481fd5b5060010190565b600082610b6557610b65610b6a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220a06dcb0cdafdc7ba4a50edc01079988609626f819feb7569099b2b2ca582b5d664736f6c6343000804003300000000000000000000000078f683247cb2121b4ebfbd04110760da42752a6b498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80636e5640c6116100765780639a3aa7661161005b5780639a3aa766146101895780639e34070f1461019c578063a261dc9e146101bf57600080fd5b80636e5640c61461011d5780638da5cb5b1461016957600080fd5b806313af4035146100a85780632533a5f6146100bd5780632e7ba6ef146100d05780632eb4a7ab146100e3575b600080fd5b6100bb6100b6366004610a19565b6101da565b005b6100bb6100cb366004610a3a565b610324565b6100bb6100de366004610a52565b610414565b61010a7f498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d881565b6040519081526020015b60405180910390f35b6101447f00000000000000000000000078f683247cb2121b4ebfbd04110760da42752a6b81565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610114565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b6100bb610197366004610a3a565b61078c565b6101af6101aa366004610a3a565b610888565b6040519015158152602001610114565b60015460025460408051928352602083019190915201610114565b60005473ffffffffffffffffffffffffffffffffffffffff163314610260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e6572000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166102dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f61646472657373207a65726f00000000000000000000000000000000000000006044820152606401610257565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610257565b4281101561040f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f696e76616c69642074696d6500000000000000000000000000000000000000006044820152606401610257565b600155565b6001544210158015610427575060025442105b61048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f696e76616c696420636c61696d20706572696f640000000000000000000000006044820152606401610257565b61049685610888565b15610523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060448201527f636c61696d65642e0000000000000000000000000000000000000000000000006064820152608401610257565b60408051602081018790527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1691810191909152605481018490526000906074016040516020818303038152906040528051906020012090506105e18383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d892508591506108c99050565b61066d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610257565b610676866108df565b6040517f64a3bc5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526dffffffffffffffffffffffffffff861660248301527f00000000000000000000000078f683247cb2121b4ebfbd04110760da42752a6b16906364a3bc5790604401600060405180830381600087803b15801561071557600080fd5b505af1158015610729573d6000803e3d6000fd5b50506040805189815273ffffffffffffffffffffffffffffffffffffffff891660208201529081018790527f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269250606001905060405180910390a1505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461080d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610257565b8060015410801561081d57504281115b610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f696e76616c69642074696d6500000000000000000000000000000000000000006044820152606401610257565b600255565b60008061089761010084610ae4565b905060006108a761010085610b56565b60009283526003602052604090922054600190921b9182169091149392505050565b6000826108d6858461091d565b14949350505050565b60006108ed61010083610ae4565b905060006108fd61010084610b56565b6000928352600360205260409092208054600190931b9092179091555050565b600081815b84518110156109e8576000858281518110610966577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116109a85760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506109d5565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806109e081610af8565b915050610922565b509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610a1457600080fd5b919050565b600060208284031215610a2a578081fd5b610a33826109f0565b9392505050565b600060208284031215610a4b578081fd5b5035919050565b600080600080600060808688031215610a69578081fd5b85359450610a79602087016109f0565b935060408601359250606086013567ffffffffffffffff80821115610a9c578283fd5b818801915088601f830112610aaf578283fd5b813581811115610abd578384fd5b8960208260051b8501011115610ad1578384fd5b9699959850939650602001949392505050565b600082610af357610af3610b6a565b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610b4f577f4e487b710000000000000000000000000000000000000000000000000000000081526011600452602481fd5b5060010190565b600082610b6557610b65610b6a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220a06dcb0cdafdc7ba4a50edc01079988609626f819feb7569099b2b2ca582b5d664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000078f683247cb2121b4ebfbd04110760da42752a6b498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d8
-----Decoded View---------------
Arg [0] : _faith (address): 0x78F683247cb2121B4eBfbD04110760da42752a6B
Arg [1] : _merkleRoot (bytes32): 0x498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d8
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000078f683247cb2121b4ebfbd04110760da42752a6b
Arg [1] : 498ead89fe8c85c57dcd313f5f1483fd682bcdd8b92269d84e837d26c159e9d8
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.