Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 10,525 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Redeem Package | 17335990 | 582 days ago | IN | 0 ETH | 0.00180741 | ||||
Redeem Package | 12648262 | 1289 days ago | IN | 0 ETH | 0.00148919 | ||||
Redeem Package | 12646399 | 1290 days ago | IN | 0 ETH | 0.00297727 | ||||
Redeem Package | 12646378 | 1290 days ago | IN | 0 ETH | 0.00297769 | ||||
Redeem Package | 12645860 | 1290 days ago | IN | 0 ETH | 0.00170134 | ||||
Redeem Package | 12643344 | 1290 days ago | IN | 0 ETH | 0.00102068 | ||||
Redeem Package | 12643201 | 1290 days ago | IN | 0 ETH | 0.00093584 | ||||
Redeem Package | 12639514 | 1291 days ago | IN | 0 ETH | 0.0011913 | ||||
Redeem Package | 12637555 | 1291 days ago | IN | 0 ETH | 0.00087625 | ||||
Redeem Package | 12637034 | 1291 days ago | IN | 0 ETH | 0.00136132 | ||||
Redeem Package | 12636391 | 1291 days ago | IN | 0 ETH | 0.00136107 | ||||
Redeem Package | 12636066 | 1291 days ago | IN | 0 ETH | 0.00161555 | ||||
Redeem Package | 12635744 | 1291 days ago | IN | 0 ETH | 0.00136078 | ||||
Redeem Package | 12635409 | 1291 days ago | IN | 0 ETH | 0.00142866 | ||||
Redeem Package | 12634846 | 1291 days ago | IN | 0 ETH | 0.0017864 | ||||
Redeem Package | 12634197 | 1291 days ago | IN | 0 ETH | 0.00102153 | ||||
Redeem Package | 12634153 | 1291 days ago | IN | 0 ETH | 0.00195589 | ||||
Redeem Package | 12634144 | 1291 days ago | IN | 0 ETH | 0.00212797 | ||||
Redeem Package | 12633513 | 1292 days ago | IN | 0 ETH | 0.00195621 | ||||
Redeem Package | 12633419 | 1292 days ago | IN | 0 ETH | 0.0015316 | ||||
Redeem Package | 12633413 | 1292 days ago | IN | 0 ETH | 0.00187099 | ||||
Redeem Package | 12633389 | 1292 days ago | IN | 0 ETH | 0.00170098 | ||||
Redeem Package | 12633369 | 1292 days ago | IN | 0 ETH | 0.00238081 | ||||
Redeem Package | 12633218 | 1292 days ago | IN | 0 ETH | 0.0022121 | ||||
Redeem Package | 12633194 | 1292 days ago | IN | 0 ETH | 0.00262012 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Airdrop
Compiler Version
v0.7.3+commit.9bfce1f6
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.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract Airdrop { using SafeMath for uint256; uint256 public constant APRIL_28_NOON = 1619625600; uint256 private constant SIX_WEEKS = 6 weeks; uint256 private constant ONE_WEEK = 1 weeks; bytes32 public immutable _rootHash; IERC20 public immutable _token; uint256 public immutable _blockDeadline; uint256 public immutable _blockReductionsBegin; address public immutable _treasury; mapping (uint256 => uint256) _redeemed; constructor(IERC20 token, bytes32 rootHash, address treasury) { _token = token; _rootHash = rootHash; _treasury = treasury; _blockReductionsBegin = APRIL_28_NOON .add(SIX_WEEKS); _blockDeadline = APRIL_28_NOON .add(SIX_WEEKS) .add(ONE_WEEK); } function redeemed(uint256 index) public view returns (bool) { uint256 redeemedBlock = _redeemed[index / 256]; uint256 redeemedMask = (uint256(1) << uint256(index % 256)); return ((redeemedBlock & redeemedMask) != 0); } function redeemPackage(uint256 index, address recipient, uint256 amount, bytes32[] memory merkleProof) public { require(block.timestamp <= _blockDeadline, "Airdrop: Redemption deadline passed."); // Make sure this package has not already been claimed (and claim it) uint256 redeemedBlock = _redeemed[index / 256]; uint256 redeemedMask = (uint256(1) << uint256(index % 256)); require((redeemedBlock & redeemedMask) == 0, "Airdrop: already redeemed"); _redeemed[index / 256] = redeemedBlock | redeemedMask; // Compute the merkle root bytes32 node = keccak256(abi.encode(index, recipient, amount)); uint256 path = index; for (uint16 i = 0; i < merkleProof.length; i++) { if ((path & 0x01) == 1) { node = keccak256(abi.encode(merkleProof[i], node)); } else { node = keccak256(abi.encode(node, merkleProof[i])); } path /= 2; } // Check the merkle proof require(node == _rootHash, "Airdrop: Merkle root mismatch"); // Redeem! uint256 sendAmount = amount; if (block.timestamp > _blockReductionsBegin) { sendAmount = reducedAmount(amount); } require( IERC20(_token).transfer(recipient, sendAmount), "Airdrop: Token transfer fail" ); } function reducedAmount(uint256 originalAmount) public view returns (uint256) { uint256 blocksSinceReductionStarted = block.timestamp .sub(_blockReductionsBegin); uint256 reduceBy = blocksSinceReductionStarted .mul(originalAmount) .div(ONE_WEEK); return originalAmount.sub(reduceBy); } function sweepPostDeadline(IERC20 token) public { require(block.timestamp > _blockDeadline, "Airdrop: Deadline has not yet passed."); uint256 tokenBalance = IERC20(token).balanceOf(address(this)); require( IERC20(token).transfer(_treasury, tokenBalance), "Airdrop: Token transfer to treasury fail" ); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"bytes32","name":"rootHash","type":"bytes32"},{"internalType":"address","name":"treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"APRIL_28_NOON","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_blockDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_blockReductionsBegin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_rootHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"redeemPackage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"redeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"originalAmount","type":"uint256"}],"name":"reducedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"sweepPostDeadline","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61012060405234801561001157600080fd5b5060405161119e38038061119e8339818101604052606081101561003457600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081608081815250508073ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff1660601b815250506100ee62375f00636089868061013b60201b610b831790919060201c565b60e0818152505061012c62093a8061011a62375f00636089868061013b60201b610b831790919060201c565b61013b60201b610b831790919060201c565b60c081815250505050506101c3565b6000808284019050838110156101b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60805160a05160601c60c05160e0516101005160601c610f7361022b6000398061047d5280610b3d52508061058c528061090d5280610a8a52508061034352806106065280610ad25250806109415280610b615250806108735280610aae5250610f736000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80636283188c116100665780636283188c1461025157806372a2cb7d1461026f5780637ed0f1c11461028d578063e319a3d9146102d1578063ecd0c0c3146103055761009e565b806312611d61146100a35780631fb886bb146100c157806323cf1143146101055780633289e004146101475780635212ad3c14610233575b600080fd5b6100ab610339565b6040518082815260200191505060405180910390f35b610103600480360360208110156100d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610341565b005b6101316004803603602081101561011b57600080fd5b8101908080359060200190929190505050610584565b6040518082815260200191505060405180910390f35b6102316004803603608081101561015d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156101ae57600080fd5b8201836020820111156101c057600080fd5b803590602001918460208302840111640100000000831117156101e257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610604565b005b61023b610a88565b6040518082815260200191505060405180910390f35b610259610aac565b6040518082815260200191505060405180910390f35b610277610ad0565b6040518082815260200191505060405180910390f35b6102b9600480360360208110156102a357600080fd5b8101908080359060200190929190505050610af4565b60405180821515815260200191505060405180910390f35b6102d9610b3b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030d610b5f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b636089868081565b7f000000000000000000000000000000000000000000000000000000000000000042116103b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610eac6025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561042257600080fd5b505afa158015610436573d6000803e3d6000fd5b505050506040513d602081101561044c57600080fd5b810190808051906020019092919050505090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b8101908080519060200190929190505050610580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180610ef26028913960400191505060405180910390fd5b5050565b6000806105ba7f000000000000000000000000000000000000000000000000000000000000000042610c0b90919063ffffffff16565b905060006105e662093a806105d88685610c5590919063ffffffff16565b610cdb90919063ffffffff16565b90506105fb8185610c0b90919063ffffffff16565b92505050919050565b7f000000000000000000000000000000000000000000000000000000000000000042111561067d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180610f1a6024913960400191505060405180910390fd5b6000806000610100878161068d57fe5b048152602001908152602001600020549050600061010086816106ac57fe5b066001901b905060008183161461072b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f41697264726f703a20616c72656164792072656465656d65640000000000000081525060200191505060405180910390fd5b808217600080610100898161073c57fe5b048152602001908152602001600020819055506000868686604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052805190602001209050600087905060005b85518161ffff161015610870576001808316141561080d57858161ffff16815181106107d057fe5b6020026020010151836040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610856565b82868261ffff168151811061081e57fe5b602002602001015160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b6002828161086057fe5b04915080806001019150506107a8565b507f00000000000000000000000000000000000000000000000000000000000000008214610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f41697264726f703a204d65726b6c6520726f6f74206d69736d6174636800000081525060200191505060405180910390fd5b60008690507f000000000000000000000000000000000000000000000000000000000000000042111561093f5761093c87610584565b90505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb89836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156109d057600080fd5b505af11580156109e4573d6000803e3d6000fd5b505050506040513d60208110156109fa57600080fd5b8101908080519060200190929190505050610a7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f41697264726f703a20546f6b656e207472616e73666572206661696c0000000081525060200191505060405180910390fd5b505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806000806101008581610b0557fe5b04815260200190815260200160002054905060006101008481610b2457fe5b066001901b90506000818316141592505050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080828401905083811015610c01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000610c4d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d25565b905092915050565b600080831415610c685760009050610cd5565b6000828402905082848281610c7957fe5b0414610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610ed16021913960400191505060405180910390fd5b809150505b92915050565b6000610d1d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610de5565b905092915050565b6000838311158290610dd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d97578082015181840152602081019050610d7c565b50505050905090810190601f168015610dc45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290610e91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e56578082015181840152602081019050610e3b565b50505050905090810190601f168015610e835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610e9d57fe5b04905080915050939250505056fe41697264726f703a20446561646c696e6520686173206e6f7420796574207061737365642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7741697264726f703a20546f6b656e207472616e7366657220746f207472656173757279206661696c41697264726f703a20526564656d7074696f6e20646561646c696e65207061737365642ea2646970667358221220fa6d27230b9a261cc5e7fd8069b35ad0acaf6ad19ea4cbbb9a788bd6d291b74e64736f6c634300070300330000000000000000000000002c31b10ca416b82cec4c5e93c615ca851213d48d35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba3830000000000000000000000000af0625b772472d18825c104b9dae35f76d3f6e0
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80636283188c116100665780636283188c1461025157806372a2cb7d1461026f5780637ed0f1c11461028d578063e319a3d9146102d1578063ecd0c0c3146103055761009e565b806312611d61146100a35780631fb886bb146100c157806323cf1143146101055780633289e004146101475780635212ad3c14610233575b600080fd5b6100ab610339565b6040518082815260200191505060405180910390f35b610103600480360360208110156100d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610341565b005b6101316004803603602081101561011b57600080fd5b8101908080359060200190929190505050610584565b6040518082815260200191505060405180910390f35b6102316004803603608081101561015d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156101ae57600080fd5b8201836020820111156101c057600080fd5b803590602001918460208302840111640100000000831117156101e257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610604565b005b61023b610a88565b6040518082815260200191505060405180910390f35b610259610aac565b6040518082815260200191505060405180910390f35b610277610ad0565b6040518082815260200191505060405180910390f35b6102b9600480360360208110156102a357600080fd5b8101908080359060200190929190505050610af4565b60405180821515815260200191505060405180910390f35b6102d9610b3b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030d610b5f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b636089868081565b7f0000000000000000000000000000000000000000000000000000000060ca200042116103b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610eac6025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561042257600080fd5b505afa158015610436573d6000803e3d6000fd5b505050506040513d602081101561044c57600080fd5b810190808051906020019092919050505090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000000af0625b772472d18825c104b9dae35f76d3f6e0836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b8101908080519060200190929190505050610580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180610ef26028913960400191505060405180910390fd5b5050565b6000806105ba7f0000000000000000000000000000000000000000000000000000000060c0e58042610c0b90919063ffffffff16565b905060006105e662093a806105d88685610c5590919063ffffffff16565b610cdb90919063ffffffff16565b90506105fb8185610c0b90919063ffffffff16565b92505050919050565b7f0000000000000000000000000000000000000000000000000000000060ca200042111561067d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180610f1a6024913960400191505060405180910390fd5b6000806000610100878161068d57fe5b048152602001908152602001600020549050600061010086816106ac57fe5b066001901b905060008183161461072b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f41697264726f703a20616c72656164792072656465656d65640000000000000081525060200191505060405180910390fd5b808217600080610100898161073c57fe5b048152602001908152602001600020819055506000868686604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052805190602001209050600087905060005b85518161ffff161015610870576001808316141561080d57858161ffff16815181106107d057fe5b6020026020010151836040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610856565b82868261ffff168151811061081e57fe5b602002602001015160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b6002828161086057fe5b04915080806001019150506107a8565b507f35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba3838214610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f41697264726f703a204d65726b6c6520726f6f74206d69736d6174636800000081525060200191505060405180910390fd5b60008690507f0000000000000000000000000000000000000000000000000000000060c0e58042111561093f5761093c87610584565b90505b7f0000000000000000000000002c31b10ca416b82cec4c5e93c615ca851213d48d73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb89836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156109d057600080fd5b505af11580156109e4573d6000803e3d6000fd5b505050506040513d60208110156109fa57600080fd5b8101908080519060200190929190505050610a7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f41697264726f703a20546f6b656e207472616e73666572206661696c0000000081525060200191505060405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000060c0e58081565b7f35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba38381565b7f0000000000000000000000000000000000000000000000000000000060ca200081565b6000806000806101008581610b0557fe5b04815260200190815260200160002054905060006101008481610b2457fe5b066001901b90506000818316141592505050919050565b7f0000000000000000000000000af0625b772472d18825c104b9dae35f76d3f6e081565b7f0000000000000000000000002c31b10ca416b82cec4c5e93c615ca851213d48d81565b600080828401905083811015610c01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000610c4d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d25565b905092915050565b600080831415610c685760009050610cd5565b6000828402905082848281610c7957fe5b0414610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610ed16021913960400191505060405180910390fd5b809150505b92915050565b6000610d1d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610de5565b905092915050565b6000838311158290610dd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d97578082015181840152602081019050610d7c565b50505050905090810190601f168015610dc45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290610e91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e56578082015181840152602081019050610e3b565b50505050905090810190601f168015610e835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610e9d57fe5b04905080915050939250505056fe41697264726f703a20446561646c696e6520686173206e6f7420796574207061737365642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7741697264726f703a20546f6b656e207472616e7366657220746f207472656173757279206661696c41697264726f703a20526564656d7074696f6e20646561646c696e65207061737365642ea2646970667358221220fa6d27230b9a261cc5e7fd8069b35ad0acaf6ad19ea4cbbb9a788bd6d291b74e64736f6c63430007030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002c31b10ca416b82cec4c5e93c615ca851213d48d35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba3830000000000000000000000000af0625b772472d18825c104b9dae35f76d3f6e0
-----Decoded View---------------
Arg [0] : token (address): 0x2C31b10ca416b82Cec4c5E93c615ca851213d48D
Arg [1] : rootHash (bytes32): 0x35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba383
Arg [2] : treasury (address): 0x0aF0625b772472d18825c104b9daE35f76d3f6E0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002c31b10ca416b82cec4c5e93c615ca851213d48d
Arg [1] : 35e919443870701668242995e61d3c1d1c2bdcb062b80046eca1a687198ba383
Arg [2] : 0000000000000000000000000af0625b772472d18825c104b9dae35f76d3f6e0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.