More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,442 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Tokens By Me... | 15066843 | 904 days ago | IN | 0 ETH | 0.00157217 | ||||
Get Tokens By Me... | 15063247 | 904 days ago | IN | 0 ETH | 0.0115167 | ||||
Get Tokens By Me... | 15063247 | 904 days ago | IN | 0 ETH | 0.0129932 | ||||
Get Tokens By Me... | 15063247 | 904 days ago | IN | 0 ETH | 0.0132885 | ||||
Get Tokens By Me... | 15063247 | 904 days ago | IN | 0 ETH | 0.0132885 | ||||
Get Tokens By Me... | 15063247 | 904 days ago | IN | 0 ETH | 0.0132885 | ||||
Get Tokens By Me... | 15063246 | 904 days ago | IN | 0 ETH | 0.0132885 | ||||
Get Tokens By Me... | 14307456 | 1026 days ago | IN | 0 ETH | 0.00131537 | ||||
Get Tokens By Me... | 13073297 | 1218 days ago | IN | 0 ETH | 0.00535286 | ||||
Get Tokens By Me... | 13073291 | 1218 days ago | IN | 0 ETH | 0.00573295 | ||||
Get Tokens By Me... | 13073261 | 1218 days ago | IN | 0 ETH | 0.00709859 | ||||
Get Tokens By Me... | 13069518 | 1219 days ago | IN | 0 ETH | 0.00821046 | ||||
Get Tokens By Me... | 13069485 | 1219 days ago | IN | 0 ETH | 0.00786369 | ||||
Get Tokens By Me... | 12828613 | 1257 days ago | IN | 0 ETH | 0.00504 | ||||
Get Tokens By Me... | 12810846 | 1259 days ago | IN | 0 ETH | 0.00145528 | ||||
Get Tokens By Me... | 12810573 | 1259 days ago | IN | 0 ETH | 0.0026199 | ||||
Get Tokens By Me... | 12810467 | 1259 days ago | IN | 0 ETH | 0.00320138 | ||||
Get Tokens By Me... | 12807061 | 1260 days ago | IN | 0 ETH | 0.00378348 | ||||
Get Tokens By Me... | 12805154 | 1260 days ago | IN | 0 ETH | 0.00313426 | ||||
Get Tokens By Me... | 12805121 | 1260 days ago | IN | 0 ETH | 0.00295298 | ||||
Get Tokens By Me... | 12805121 | 1260 days ago | IN | 0 ETH | 0.00295298 | ||||
Get Tokens By Me... | 12799904 | 1261 days ago | IN | 0 ETH | 0.00206709 | ||||
Get Tokens By Me... | 12796678 | 1262 days ago | IN | 0 ETH | 0.0038389 | ||||
Get Tokens By Me... | 12786212 | 1263 days ago | IN | 0 ETH | 0.00531538 | ||||
Get Tokens By Me... | 12786203 | 1263 days ago | IN | 0 ETH | 0.00531538 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MerkleAirdrop
Compiler Version
v0.4.26+commit.4563c3fc
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** * Copyright (C) 2018 Smartz, LLC * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND (express or implied). */ pragma solidity ^0.4.23; /** * @title MerkleAirdrop * Transfers fixed amount of tokens to anybody, presented merkle proof for merkle root, placed in contract * * @author Boogerwooger <[email protected]> */ import 'openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol'; contract MerkleAirdrop { address owner; bytes32 public merkleRoot; bool public cancelable; MintableToken tokenContract; mapping (address => bool) spent; event AirdropTransfer(address addr, uint256 num); event OwnershipTransferred(address previousOwner, address newOwner); modifier isCancelable() { require(cancelable, 'forbidden action'); _; } modifier onlyOwner() { require(msg.sender == owner, "Ownable: caller is not the owner"); _; } constructor(address _tokenContract, bytes32 _merkleRoot, bool _cancelable) public { owner = msg.sender; tokenContract = MintableToken(_tokenContract); merkleRoot = _merkleRoot; cancelable = _cancelable; } function setRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function getOwner() public view returns (address) { return owner; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } function contractTokenBalance() public view returns(uint) { return tokenContract.balanceOf(address(this)); } function claim_rest_of_tokens_and_selfdestruct() public isCancelable onlyOwner returns(bool) { require(tokenContract.balanceOf(address(this)) >= 0); require(tokenContract.transfer(owner, tokenContract.balanceOf(address(this)))); selfdestruct(owner); return true; } function getTokensByMerkleProof(bytes32[] _proof, address _who, uint256 _amount) public returns(bool) { require(spent[_who] != true, "You can claim tokens only once."); require(_amount > 0, "Amount should be > 0"); // require(msg.sender == _who, "Users can claim tokens only for themselves."); if (!checkProof(_proof, leaf_from_address_and_num_tokens(_who, _amount))) { return false; } spent[_who] = true; if (tokenContract.transfer(_who, _amount) == true) { emit AirdropTransfer(_who, _amount); return true; } require(false, "Transfer failed!"); } function addressToAsciiString(address x) internal pure returns (string) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { byte b = byte(uint8(uint(x) / (2**(8*(19 - i))))); byte hi = byte(uint8(b) / 16); byte lo = byte(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(byte b) internal pure returns (byte c) { if (b < 10) return byte(uint8(b) + 0x30); else return byte(uint8(b) + 0x57); } function uintToStr(uint i) internal pure returns (string){ if (i == 0) return "0"; uint j = i; uint length; while (j != 0){ length++; j /= 10; } bytes memory bstr = new bytes(length); uint k = length - 1; while (i != 0){ bstr[k--] = byte(48 + i % 10); i /= 10; } return string(bstr); } function leaf_from_address_and_num_tokens(address _a, uint256 _n) internal pure returns(bytes32 ) { string memory prefix = "0x"; string memory space = " "; bytes memory _ba = bytes(prefix); bytes memory _bb = bytes(addressToAsciiString(_a)); bytes memory _bc = bytes(space); bytes memory _bd = bytes(uintToStr(_n)); string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length); bytes memory babcde = bytes(abcde); uint k = 0; for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i]; for (i = 0; i < _bb.length; i++) babcde[k++] = _bb[i]; for (i = 0; i < _bc.length; i++) babcde[k++] = _bc[i]; for (i = 0; i < _bd.length; i++) babcde[k++] = _bd[i]; return bytes32(keccak256(abi.encodePacked(abcde))); } function checkProof(bytes32[] proof, bytes32 hash) internal view returns (bool) { bytes32 el; bytes32 h = hash; for (uint i = 0; i <= proof.length - 1; i += 1) { el = proof[i]; if (h < el) { h = keccak256(abi.encodePacked(h, el)); } else { h = keccak256(abi.encodePacked(el, h)); } } return h == merkleRoot; } }
pragma solidity ^0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } }
pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } }
pragma solidity ^0.4.23; import "./ERC20Basic.sol"; import "../../math/SafeMath.sol"; /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { return balances[_owner]; } }
pragma solidity ^0.4.23; import "./ERC20Basic.sol"; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval( address indexed owner, address indexed spender, uint256 value ); }
pragma solidity ^0.4.23; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); }
pragma solidity ^0.4.23; import "./StandardToken.sol"; import "../../ownership/Ownable.sol"; /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * @dev Issue: * https://github.com/OpenZeppelin/openzeppelin-solidity/issues/120 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } modifier hasMintPermission() { require(msg.sender == owner); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint( address _to, uint256 _amount ) hasMintPermission canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } }
pragma solidity ^0.4.23; import "./BasicToken.sol"; import "./ERC20.sol"; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom( address _from, address _to, uint256 _value ) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * 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 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance( address _owner, address _spender ) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval( address _spender, uint _addedValue ) public returns (bool) { allowed[msg.sender][_spender] = ( allowed[msg.sender][_spender].add(_addedValue)); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval( address _spender, uint _subtractedValue ) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"merkleRoot","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_proof","type":"bytes32[]"},{"name":"_who","type":"address"},{"name":"_amount","type":"uint256"}],"name":"getTokensByMerkleProof","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claim_rest_of_tokens_and_selfdestruct","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contractTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_merkleRoot","type":"bytes32"}],"name":"setRoot","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cancelable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_tokenContract","type":"address"},{"name":"_merkleRoot","type":"bytes32"},{"name":"_cancelable","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"num","type":"uint256"}],"name":"AirdropTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405160608061111d83398101604090815281516020830151919092015160008054600160a060020a031916331790556002805460019390935590151560ff19600160a060020a039094166101000261010060a860020a03199093169290921792909216179055611096806100876000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632eb4a7ab81146100925780633215b483146100b95780633f28f24c14610133578063893d20e8146101485780639e9aed6214610179578063dab5f3401461018e578063eee56564146101a8578063f2fde38b146101bd575b600080fd5b34801561009e57600080fd5b506100a76101de565b60408051918252519081900360200190f35b3480156100c557600080fd5b506040805160206004803580820135838102808601850190965280855261011f9536959394602494938501929182918501908490808284375094975050508335600160a060020a03169450505060209091013590506101e4565b604080519115158252519081900360200190f35b34801561013f57600080fd5b5061011f610439565b34801561015457600080fd5b5061015d6106eb565b60408051600160a060020a039092168252519081900360200190f35b34801561018557600080fd5b506100a76106fa565b34801561019a57600080fd5b506101a6600435610795565b005b3480156101b457600080fd5b5061011f6107fc565b3480156101c957600080fd5b506101a6600160a060020a0360043516610805565b60015481565b600160a060020a03821660009081526003602052604081205460ff1615156001141561025a576040805160e560020a62461bcd02815260206004820152601f60248201527f596f752063616e20636c61696d20746f6b656e73206f6e6c79206f6e63652e00604482015290519081900360640190fd5b600082116102b2576040805160e560020a62461bcd02815260206004820152601460248201527f416d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b6102c5846102c08585610964565b610c91565b15156102d357506000610432565b600160a060020a038084166000818152600360209081526040808320805460ff1916600117905560025481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850188905290516101009091049094169363a9059cbb93604480820194918390030190829087803b15801561036057600080fd5b505af1158015610374573d6000803e3d6000fd5b505050506040513d602081101561038a57600080fd5b50511515600114156103e25760408051600160a060020a03851681526020810184905281517f100b8658c21fe4c10650c23cfd2c97c97ac86370102510563d824216683256a5929181900390910190a1506001610432565b6040805160e560020a62461bcd02815260206004820152601060248201527f5472616e73666572206661696c65642100000000000000000000000000000000604482015290519081900360640190fd5b9392505050565b60025460009060ff161515610498576040805160e560020a62461bcd02815260206004820152601060248201527f666f7262696464656e20616374696f6e00000000000000000000000000000000604482015290519081900360640190fd5b600054600160a060020a031633146104fa576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926101009004600160a060020a0316916370a0823191602480830192602092919082900301818787803b15801561056457600080fd5b505af1158015610578573d6000803e3d6000fd5b505050506040513d602081101561058e57600080fd5b5051101561059b57600080fd5b60025460008054604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0361010090950485169463a9059cbb9493169285926370a082319260248083019360209383900390910190829087803b15801561061457600080fd5b505af1158015610628573d6000803e3d6000fd5b505050506040513d602081101561063e57600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156106a657600080fd5b505af11580156106ba573d6000803e3d6000fd5b505050506040513d60208110156106d057600080fd5b505115156106dd57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031690565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926101009004600160a060020a0316916370a0823191602480830192602092919082900301818787803b15801561076457600080fd5b505af1158015610778573d6000803e3d6000fd5b505050506040513d602081101561078e57600080fd5b5051905090565b600054600160a060020a031633146107f7576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600155565b60025460ff1681565b600054600160a060020a03163314610867576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03811615156108ed576040805160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60005460408051600160a060020a039283168152918316602083015280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a16000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f2000000000000000000000000000000000000000000000000000000000000000908301526000918160608080808088806109e18d610de0565b96508895506109ef8c610efa565b94508451865188518a510101016040519080825280601f01601f191660200182016040528015610a29578160200160208202803883390190505b50935083925060009150600090505b8751811015610a96578781815181101515610a4f57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610a7657fe5b906020010190600160f860020a031916908160001a905350600101610a38565b5060005b8651811015610af8578681815181101515610ab157fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610ad857fe5b906020010190600160f860020a031916908160001a905350600101610a9a565b5060005b8551811015610b5a578581815181101515610b1357fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610b3a57fe5b906020010190600160f860020a031916908160001a905350600101610afc565b5060005b8451811015610bbc578481815181101515610b7557fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610b9c57fe5b906020010190600160f860020a031916908160001a905350600101610b5e565b836040516020018082805190602001908083835b60208310610bef5780518252601f199092019160209182019101610bd0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b60208310610c525780518252601f199092019160209182019101610c33565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209a505050505050505050505092915050565b60008082815b8551600019018111610dd3578581815181101515610cb157fe5b60209081029091010151925082821015610d4a57604080516020808201859052818301869052825180830384018152606090920192839052815191929182918401908083835b60208310610d165780518252601f199092019160209182019101610cf7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209150610dcb565b604080516020808201869052818301859052825180830384018152606090920192839052815191929182918401908083835b60208310610d9b5780518252601f199092019160209182019101610d7c565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091505b600101610c97565b5060015414949350505050565b60408051602880825260608083019093528291600091829182918291906020820161050080388339019050509450600093505b6014841015610eef578360130360080260020a87600160a060020a0316811515610e3957fe5b0460f860020a02925060108360f860020a900460ff16811515610e5857fe5b0460f860020a0291508160f860020a90046010028360f860020a90040360f860020a029050610e8682610fed565b8585600202815181101515610e9757fe5b906020010190600160f860020a031916908160001a905350610eb881610fed565b8585600202600101815181101515610ecc57fe5b906020010190600160f860020a031916908160001a905350600190930192610e13565b509295945050505050565b60606000808281851515610f435760408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201529450610fe4565b8593505b8315610f5e57600190920191600a84049350610f47565b826040519080825280601f01601f191660200182016040528015610f8c578160200160208202803883390190505b5091505060001982015b8515610fe057815160001982019160f860020a6030600a8a060102918491908110610fbd57fe5b906020010190600160f860020a031916908160001a905350600a86049550610f96565b8194505b50505050919050565b60007f0a000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000083161015611051578160f860020a900460300160f860020a029050611065565b8160f860020a900460570160f860020a0290505b9190505600a165627a7a723058202886ede8c24724ac0cfda84c65249b344c706233bd8a5b6eee77e8d78be75e060029000000000000000000000000b0dfd28d3cf7a5897c694904ace292539242f85896504c427f9cb726e01aabeb39c7b7e6d86ce6bd752eeca5fff65cdc7b5fa5180000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632eb4a7ab81146100925780633215b483146100b95780633f28f24c14610133578063893d20e8146101485780639e9aed6214610179578063dab5f3401461018e578063eee56564146101a8578063f2fde38b146101bd575b600080fd5b34801561009e57600080fd5b506100a76101de565b60408051918252519081900360200190f35b3480156100c557600080fd5b506040805160206004803580820135838102808601850190965280855261011f9536959394602494938501929182918501908490808284375094975050508335600160a060020a03169450505060209091013590506101e4565b604080519115158252519081900360200190f35b34801561013f57600080fd5b5061011f610439565b34801561015457600080fd5b5061015d6106eb565b60408051600160a060020a039092168252519081900360200190f35b34801561018557600080fd5b506100a76106fa565b34801561019a57600080fd5b506101a6600435610795565b005b3480156101b457600080fd5b5061011f6107fc565b3480156101c957600080fd5b506101a6600160a060020a0360043516610805565b60015481565b600160a060020a03821660009081526003602052604081205460ff1615156001141561025a576040805160e560020a62461bcd02815260206004820152601f60248201527f596f752063616e20636c61696d20746f6b656e73206f6e6c79206f6e63652e00604482015290519081900360640190fd5b600082116102b2576040805160e560020a62461bcd02815260206004820152601460248201527f416d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b6102c5846102c08585610964565b610c91565b15156102d357506000610432565b600160a060020a038084166000818152600360209081526040808320805460ff1916600117905560025481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850188905290516101009091049094169363a9059cbb93604480820194918390030190829087803b15801561036057600080fd5b505af1158015610374573d6000803e3d6000fd5b505050506040513d602081101561038a57600080fd5b50511515600114156103e25760408051600160a060020a03851681526020810184905281517f100b8658c21fe4c10650c23cfd2c97c97ac86370102510563d824216683256a5929181900390910190a1506001610432565b6040805160e560020a62461bcd02815260206004820152601060248201527f5472616e73666572206661696c65642100000000000000000000000000000000604482015290519081900360640190fd5b9392505050565b60025460009060ff161515610498576040805160e560020a62461bcd02815260206004820152601060248201527f666f7262696464656e20616374696f6e00000000000000000000000000000000604482015290519081900360640190fd5b600054600160a060020a031633146104fa576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926101009004600160a060020a0316916370a0823191602480830192602092919082900301818787803b15801561056457600080fd5b505af1158015610578573d6000803e3d6000fd5b505050506040513d602081101561058e57600080fd5b5051101561059b57600080fd5b60025460008054604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0361010090950485169463a9059cbb9493169285926370a082319260248083019360209383900390910190829087803b15801561061457600080fd5b505af1158015610628573d6000803e3d6000fd5b505050506040513d602081101561063e57600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156106a657600080fd5b505af11580156106ba573d6000803e3d6000fd5b505050506040513d60208110156106d057600080fd5b505115156106dd57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031690565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926101009004600160a060020a0316916370a0823191602480830192602092919082900301818787803b15801561076457600080fd5b505af1158015610778573d6000803e3d6000fd5b505050506040513d602081101561078e57600080fd5b5051905090565b600054600160a060020a031633146107f7576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600155565b60025460ff1681565b600054600160a060020a03163314610867576040805160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03811615156108ed576040805160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60005460408051600160a060020a039283168152918316602083015280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a16000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f2000000000000000000000000000000000000000000000000000000000000000908301526000918160608080808088806109e18d610de0565b96508895506109ef8c610efa565b94508451865188518a510101016040519080825280601f01601f191660200182016040528015610a29578160200160208202803883390190505b50935083925060009150600090505b8751811015610a96578781815181101515610a4f57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610a7657fe5b906020010190600160f860020a031916908160001a905350600101610a38565b5060005b8651811015610af8578681815181101515610ab157fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610ad857fe5b906020010190600160f860020a031916908160001a905350600101610a9a565b5060005b8551811015610b5a578581815181101515610b1357fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610b3a57fe5b906020010190600160f860020a031916908160001a905350600101610afc565b5060005b8451811015610bbc578481815181101515610b7557fe5b90602001015160f860020a900460f860020a028383806001019450815181101515610b9c57fe5b906020010190600160f860020a031916908160001a905350600101610b5e565b836040516020018082805190602001908083835b60208310610bef5780518252601f199092019160209182019101610bd0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b60208310610c525780518252601f199092019160209182019101610c33565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209a505050505050505050505092915050565b60008082815b8551600019018111610dd3578581815181101515610cb157fe5b60209081029091010151925082821015610d4a57604080516020808201859052818301869052825180830384018152606090920192839052815191929182918401908083835b60208310610d165780518252601f199092019160209182019101610cf7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209150610dcb565b604080516020808201869052818301859052825180830384018152606090920192839052815191929182918401908083835b60208310610d9b5780518252601f199092019160209182019101610d7c565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091505b600101610c97565b5060015414949350505050565b60408051602880825260608083019093528291600091829182918291906020820161050080388339019050509450600093505b6014841015610eef578360130360080260020a87600160a060020a0316811515610e3957fe5b0460f860020a02925060108360f860020a900460ff16811515610e5857fe5b0460f860020a0291508160f860020a90046010028360f860020a90040360f860020a029050610e8682610fed565b8585600202815181101515610e9757fe5b906020010190600160f860020a031916908160001a905350610eb881610fed565b8585600202600101815181101515610ecc57fe5b906020010190600160f860020a031916908160001a905350600190930192610e13565b509295945050505050565b60606000808281851515610f435760408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201529450610fe4565b8593505b8315610f5e57600190920191600a84049350610f47565b826040519080825280601f01601f191660200182016040528015610f8c578160200160208202803883390190505b5091505060001982015b8515610fe057815160001982019160f860020a6030600a8a060102918491908110610fbd57fe5b906020010190600160f860020a031916908160001a905350600a86049550610f96565b8194505b50505050919050565b60007f0a000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000083161015611051578160f860020a900460300160f860020a029050611065565b8160f860020a900460570160f860020a0290505b9190505600a165627a7a723058202886ede8c24724ac0cfda84c65249b344c706233bd8a5b6eee77e8d78be75e060029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b0dfd28d3cf7a5897c694904ace292539242f85896504c427f9cb726e01aabeb39c7b7e6d86ce6bd752eeca5fff65cdc7b5fa5180000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _tokenContract (address): 0xb0dFd28d3CF7A5897C694904Ace292539242f858
Arg [1] : _merkleRoot (bytes32): 0x96504c427f9cb726e01aabeb39c7b7e6d86ce6bd752eeca5fff65cdc7b5fa518
Arg [2] : _cancelable (bool): True
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000b0dfd28d3cf7a5897c694904ace292539242f858
Arg [1] : 96504c427f9cb726e01aabeb39c7b7e6d86ce6bd752eeca5fff65cdc7b5fa518
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.000038 | 132,285,692.14 | $5,067.61 |
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.