ERC-20
Overview
Max Total Supply
3,260,117.043835482751680512 BTU
Holders
46
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000063756817 BTUValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MerkleDistributor
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-24 */ // SPDX-License-Identifier: MIT pragma solidity ^0.5.16; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract Context { constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () internal { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } function isOwner() public view returns (bool) { return _msgSender() == _owner; } function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract ERC20 is Context, IERC20 { using SafeMath for uint256; uint256 _maxTotalSupply = 3660000*1e18; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); require(_totalSupply.add(amount) <= _maxTotalSupply,"ERC20:mint exceeded max totalSupply"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } } contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } library SafeERC20 { using SafeMath for uint256; 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)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { 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).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function callOptionalReturn(IERC20 token, bytes memory data) private { require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } } contract MerkleDistributor is ERC20, ERC20Detailed{ using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; bytes32 public merkleRoot; // This is a packed array of booleans. mapping(uint256 => uint256) private claimedBitMap; event Claimed(uint256 index, address account, uint256 amount); constructor(bytes32 merkleRoot_) public ERC20Detailed( "BT.Finance IOU","BTU",18 ){ merkleRoot = merkleRoot_; } function isClaimed(uint256 index) public view 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 returns(uint256){ 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); _mint(account,amount); emit Claimed(index, account, amount); return amount; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526a030708ff6068ead780000060005534801561001f57600080fd5b5060405162001083380380620010838339818101604052602081101561004457600080fd5b5051604080518082018252600e81526d42542e46696e616e636520494f5560901b60208281019182528351808501909452600384526242545560e81b90840152815191929160129161009991600491906100cc565b5081516100ad9060059060208501906100cc565b506006805460ff191660ff929092169190911790555050600755610167565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010d57805160ff191683800117855561013a565b8280016001018555821561013a579182015b8281111561013a57825182559160200191906001019061011f565b5061014692915061014a565b5090565b61016491905b808211156101465760008155600101610150565b90565b610f0c80620001776000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063395093511161008c5780639e34070f116100665780639e34070f14610308578063a457c2d714610325578063a9059cbb14610351578063dd62ed3e1461037d576100ea565b806339509351146102ae57806370a08231146102da57806395d89b4114610300576100ea565b806323b872dd116100c857806323b872dd146101c65780632e7ba6ef146101fc5780632eb4a7ab14610288578063313ce56714610290576100ea565b806306fdde03146100ef578063095ea7b31461016c57806318160ddd146101ac575b600080fd5b6100f76103ab565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101986004803603604081101561018257600080fd5b506001600160a01b038135169060200135610441565b604080519115158252519081900360200190f35b6101b461045e565b60408051918252519081900360200190f35b610198600480360360608110156101dc57600080fd5b506001600160a01b03813581169160208101359091169060400135610464565b6101b46004803603608081101561021257600080fd5b8135916001600160a01b03602082013516916040820135919081019060808101606082013564010000000081111561024957600080fd5b82018360208201111561025b57600080fd5b8035906020019184602083028401116401000000008311171561027d57600080fd5b5090925090506104f1565b6101b461065d565b610298610663565b6040805160ff9092168252519081900360200190f35b610198600480360360408110156102c457600080fd5b506001600160a01b03813516906020013561066c565b6101b4600480360360208110156102f057600080fd5b50356001600160a01b03166106c0565b6100f76106db565b6101986004803603602081101561031e57600080fd5b503561073c565b6101986004803603604081101561033b57600080fd5b506001600160a01b038135169060200135610762565b6101986004803603604081101561036757600080fd5b506001600160a01b0381351690602001356107d0565b6101b46004803603604081101561039357600080fd5b506001600160a01b03813581169160200135166107e4565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104375780601f1061040c57610100808354040283529160200191610437565b820191906000526020600020905b81548152906001019060200180831161041a57829003601f168201915b5050505050905090565b600061045561044e61080f565b8484610813565b50600192915050565b60035490565b60006104718484846108ff565b6104e78461047d61080f565b6104e285604051806060016040528060288152602001610e1f602891396001600160a01b038a166000908152600260205260408120906104bb61080f565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610a5d16565b610813565b5060019392505050565b60006104fc8661073c565b156105385760405162461bcd60e51b8152600401808060200182810382526028815260200180610db06028913960400191505060405180910390fd5b6040805160208082018990526bffffffffffffffffffffffff19606089901b16828401526054808301889052835180840390910181526074830180855281519183019190912060949287028085018401909552868252936105bc93919288928892839290910190849080828437600092019190915250506007549150849050610af4565b6105f75760405162461bcd60e51b8152600401808060200182810382526021815260200180610dfe6021913960400191505060405180910390fd5b61060087610b9d565b61060a8686610bc4565b604080518881526001600160a01b038816602082015280820187905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1509295945050505050565b60075481565b60065460ff1690565b600061045561067961080f565b846104e2856002600061068a61080f565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d0916565b6001600160a01b031660009081526001602052604090205490565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104375780601f1061040c57610100808354040283529160200191610437565b6101008104600090815260086020526040902054600160ff9092169190911b9081161490565b600061045561076f61080f565b846104e285604051806060016040528060258152602001610eb3602591396002600061079961080f565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610a5d16565b60006104556107dd61080f565b84846108ff565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108585760405162461bcd60e51b8152600401808060200182810382526024815260200180610e8f6024913960400191505060405180910390fd5b6001600160a01b03821661089d5760405162461bcd60e51b8152600401808060200182810382526022815260200180610d8e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109445760405162461bcd60e51b8152600401808060200182810382526025815260200180610e476025913960400191505060405180910390fd5b6001600160a01b0382166109895760405162461bcd60e51b8152600401808060200182810382526023815260200180610d6b6023913960400191505060405180910390fd5b6109cc81604051806060016040528060268152602001610dd8602691396001600160a01b038616600090815260016020526040902054919063ffffffff610a5d16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610a01908263ffffffff610d0916565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610aec5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab1578181015183820152602001610a99565b50505050905090810190601f168015610ade5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081815b8551811015610b92576000868281518110610b1057fe5b60200260200101519050808311610b575782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610b89565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610af9565b509092149392505050565b610100810460009081526008602052604090208054600160ff9093169290921b9091179055565b6001600160a01b038216610c1f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600054600354610c35908363ffffffff610d0916565b1115610c725760405162461bcd60e51b8152600401808060200182810382526023815260200180610e6c6023913960400191505060405180910390fd5b600354610c85908263ffffffff610d0916565b6003556001600160a01b038216600090815260016020526040902054610cb1908263ffffffff610d0916565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082820183811015610d63576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a6d696e74206578636565646564206d617820746f74616c537570706c7945524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820689b308622ddeaaedb33245cc2f79d85a7d0b5ba690f6cd965706283d744110064736f6c63430005100032217428fc64f622c6eaf73f7e6019b3db81ee679784d5c30d284a4c055b016187
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063395093511161008c5780639e34070f116100665780639e34070f14610308578063a457c2d714610325578063a9059cbb14610351578063dd62ed3e1461037d576100ea565b806339509351146102ae57806370a08231146102da57806395d89b4114610300576100ea565b806323b872dd116100c857806323b872dd146101c65780632e7ba6ef146101fc5780632eb4a7ab14610288578063313ce56714610290576100ea565b806306fdde03146100ef578063095ea7b31461016c57806318160ddd146101ac575b600080fd5b6100f76103ab565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101986004803603604081101561018257600080fd5b506001600160a01b038135169060200135610441565b604080519115158252519081900360200190f35b6101b461045e565b60408051918252519081900360200190f35b610198600480360360608110156101dc57600080fd5b506001600160a01b03813581169160208101359091169060400135610464565b6101b46004803603608081101561021257600080fd5b8135916001600160a01b03602082013516916040820135919081019060808101606082013564010000000081111561024957600080fd5b82018360208201111561025b57600080fd5b8035906020019184602083028401116401000000008311171561027d57600080fd5b5090925090506104f1565b6101b461065d565b610298610663565b6040805160ff9092168252519081900360200190f35b610198600480360360408110156102c457600080fd5b506001600160a01b03813516906020013561066c565b6101b4600480360360208110156102f057600080fd5b50356001600160a01b03166106c0565b6100f76106db565b6101986004803603602081101561031e57600080fd5b503561073c565b6101986004803603604081101561033b57600080fd5b506001600160a01b038135169060200135610762565b6101986004803603604081101561036757600080fd5b506001600160a01b0381351690602001356107d0565b6101b46004803603604081101561039357600080fd5b506001600160a01b03813581169160200135166107e4565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104375780601f1061040c57610100808354040283529160200191610437565b820191906000526020600020905b81548152906001019060200180831161041a57829003601f168201915b5050505050905090565b600061045561044e61080f565b8484610813565b50600192915050565b60035490565b60006104718484846108ff565b6104e78461047d61080f565b6104e285604051806060016040528060288152602001610e1f602891396001600160a01b038a166000908152600260205260408120906104bb61080f565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610a5d16565b610813565b5060019392505050565b60006104fc8661073c565b156105385760405162461bcd60e51b8152600401808060200182810382526028815260200180610db06028913960400191505060405180910390fd5b6040805160208082018990526bffffffffffffffffffffffff19606089901b16828401526054808301889052835180840390910181526074830180855281519183019190912060949287028085018401909552868252936105bc93919288928892839290910190849080828437600092019190915250506007549150849050610af4565b6105f75760405162461bcd60e51b8152600401808060200182810382526021815260200180610dfe6021913960400191505060405180910390fd5b61060087610b9d565b61060a8686610bc4565b604080518881526001600160a01b038816602082015280820187905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1509295945050505050565b60075481565b60065460ff1690565b600061045561067961080f565b846104e2856002600061068a61080f565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d0916565b6001600160a01b031660009081526001602052604090205490565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104375780601f1061040c57610100808354040283529160200191610437565b6101008104600090815260086020526040902054600160ff9092169190911b9081161490565b600061045561076f61080f565b846104e285604051806060016040528060258152602001610eb3602591396002600061079961080f565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610a5d16565b60006104556107dd61080f565b84846108ff565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108585760405162461bcd60e51b8152600401808060200182810382526024815260200180610e8f6024913960400191505060405180910390fd5b6001600160a01b03821661089d5760405162461bcd60e51b8152600401808060200182810382526022815260200180610d8e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109445760405162461bcd60e51b8152600401808060200182810382526025815260200180610e476025913960400191505060405180910390fd5b6001600160a01b0382166109895760405162461bcd60e51b8152600401808060200182810382526023815260200180610d6b6023913960400191505060405180910390fd5b6109cc81604051806060016040528060268152602001610dd8602691396001600160a01b038616600090815260016020526040902054919063ffffffff610a5d16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610a01908263ffffffff610d0916565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610aec5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab1578181015183820152602001610a99565b50505050905090810190601f168015610ade5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081815b8551811015610b92576000868281518110610b1057fe5b60200260200101519050808311610b575782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610b89565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610af9565b509092149392505050565b610100810460009081526008602052604090208054600160ff9093169290921b9091179055565b6001600160a01b038216610c1f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600054600354610c35908363ffffffff610d0916565b1115610c725760405162461bcd60e51b8152600401808060200182810382526023815260200180610e6c6023913960400191505060405180910390fd5b600354610c85908263ffffffff610d0916565b6003556001600160a01b038216600090815260016020526040902054610cb1908263ffffffff610d0916565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082820183811015610d63576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a6d696e74206578636565646564206d617820746f74616c537570706c7945524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820689b308622ddeaaedb33245cc2f79d85a7d0b5ba690f6cd965706283d744110064736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
217428fc64f622c6eaf73f7e6019b3db81ee679784d5c30d284a4c055b016187
-----Decoded View---------------
Arg [0] : merkleRoot_ (bytes32): 0x217428fc64f622c6eaf73f7e6019b3db81ee679784d5c30d284a4c055b016187
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 217428fc64f622c6eaf73f7e6019b3db81ee679784d5c30d284a4c055b016187
Deployed Bytecode Sourcemap
11861:1730:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11861:1730:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5916:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5916:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3073:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3073:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2556:91;;;:::i;:::-;;;;;;;;;;;;;;;;3231:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3231:304:0;;;;;;;;;;;;;;;;;:::i;12967:615::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;12967:615:0;;;-1:-1:-1;;;;;12967:615:0;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;12967:615:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;12967:615:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;12967:615:0;;-1:-1:-1;12967:615:0;-1:-1:-1;12967:615:0;:::i;12022:25::-;;;:::i;6098:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3541:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3541:210:0;;;;;;;;:::i;2653:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2653:110:0;-1:-1:-1;;;;;2653:110:0;;:::i;6005:87::-;;;:::i;12379:322::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12379:322:0;;:::i;3757:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3757:261:0;;;;;;;;:::i;2769:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2769:158:0;;;;;;;;:::i;2933:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2933:134:0;;;;;;;;;;:::i;5916:83::-;5986:5;5979:12;;;;;;;;-1:-1:-1;;5979:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5953:13;;5979:12;;5986:5;;5979:12;;5986:5;5979:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5916:83;:::o;3073:152::-;3139:4;3156:39;3165:12;:10;:12::i;:::-;3179:7;3188:6;3156:8;:39::i;:::-;-1:-1:-1;3213:4:0;3073:152;;;;:::o;2556:91::-;2627:12;;2556:91;:::o;3231:304::-;3320:4;3337:36;3347:6;3355:9;3366:6;3337:9;:36::i;:::-;3384:121;3393:6;3401:12;:10;:12::i;:::-;3415:89;3453:6;3415:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3415:19:0;;;;;;:11;:19;;;;;;3435:12;:10;:12::i;:::-;-1:-1:-1;;;;;3415:33:0;;;;;;;;;;;;-1:-1:-1;3415:33:0;;;:89;;:37;:89;:::i;:::-;3384:8;:121::i;:::-;-1:-1:-1;3523:4:0;3231:304;;;;;:::o;12967:615::-;13079:7;13107:16;13117:5;13107:9;:16::i;:::-;13106:17;13098:70;;;;-1:-1:-1;;;13098:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13243:40;;;;;;;;;;-1:-1:-1;;13243:40:0;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13243:40:0;;;;;;13233:51;;;;;;;;;13303:49;;;;;;;;;;;;;;;13233:51;13303:49;;13243:40;;13322:11;;;;;;13303:49;;;;13322:11;;13303:49;13322:11;13303:49;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;13335:10:0;;;-1:-1:-1;13347:4:0;;-1:-1:-1;13303:18:0;:49::i;:::-;13295:95;;;;-1:-1:-1;;;13295:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13451:18;13463:5;13451:11;:18::i;:::-;13480:21;13486:7;13494:6;13480:5;:21::i;:::-;13519:31;;;;;;-1:-1:-1;;;;;13519:31:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13568:6:0;;12967:615;-1:-1:-1;;;;;12967:615:0:o;12022:25::-;;;;:::o;6098:83::-;6164:9;;;;6098:83;:::o;3541:210::-;3621:4;3638:83;3647:12;:10;:12::i;:::-;3661:7;3670:50;3709:10;3670:11;:25;3682:12;:10;:12::i;:::-;-1:-1:-1;;;;;3670:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;3670:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;2653:110::-;-1:-1:-1;;;;;2737:18:0;2710:7;2737:18;;;:9;:18;;;;;;;2653:110::o;6005:87::-;6077:7;6070:14;;;;;;;;-1:-1:-1;;6070:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6044:13;;6070:14;;6077:7;;6070:14;;6077:7;6070:14;;;;;;;;;;;;;;;;;;;;;;;;12379:322;12486:3;12478:11;;12434:4;12570:31;;;:13;:31;;;;;;12628:1;12526:11;;;;12628:20;;;;12667:18;;;:26;;12379:322::o;3757:261::-;3842:4;3859:129;3868:12;:10;:12::i;:::-;3882:7;3891:96;3930:15;3891:96;;;;;;;;;;;;;;;;;:11;:25;3903:12;:10;:12::i;:::-;-1:-1:-1;;;;;3891:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;3891:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;2769:158::-;2838:4;2855:42;2865:12;:10;:12::i;:::-;2879:9;2890:6;2855:9;:42::i;2933:134::-;-1:-1:-1;;;;;3032:18:0;;;3005:7;3032:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;2933:134::o;853:98::-;933:10;853:98;:::o;5270:338::-;-1:-1:-1;;;;;5364:19:0;;5356:68;;;;-1:-1:-1;;;5356:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5443:21:0;;5435:68;;;;-1:-1:-1;;;5435:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5516:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;5568:32;;;;;;;;;;;;;;;;;5270:338;;;:::o;4024:471::-;-1:-1:-1;;;;;4122:20:0;;4114:70;;;;-1:-1:-1;;;4114:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4203:23:0;;4195:71;;;;-1:-1:-1;;;4195:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4299;4321:6;4299:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4299:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;4279:17:0;;;;;;;:9;:17;;;;;;:91;;;;4404:20;;;;;;;:32;;4429:6;4404:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;4381:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;4452:35;;;;;;;4381:20;;4452:35;;;;;;;;;;;;;4024:471;;;:::o;6541:192::-;6627:7;6663:12;6655:6;;;;6647:29;;;;-1:-1:-1;;;6647:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6647:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6699:5:0;;;6541:192::o;11058:796::-;11149:4;11189;11149;11206:525;11230:5;:12;11226:1;:16;11206:525;;;11264:20;11287:5;11293:1;11287:8;;;;;;;;;;;;;;11264:31;;11332:12;11316;:28;11312:408;;11486:12;11500;11469:44;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11469:44:0;;;11459:55;;;;;;11444:70;;11312:408;;;11676:12;11690;11659:44;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11659:44:0;;;11649:55;;;;;;11634:70;;11312:408;-1:-1:-1;11244:3:0;;11206:525;;;-1:-1:-1;11826:20:0;;;;11058:796;-1:-1:-1;;;11058:796:0:o;12709:250::-;12799:3;12791:11;;12764:24;12895:31;;;:13;:31;;;;;;;12930:1;12839:11;;;;12930:20;;;;12895:56;;;12861:90;;12709:250::o;4501:409::-;-1:-1:-1;;;;;4577:21:0;;4569:65;;;;;-1:-1:-1;;;4569:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4681:15;;4653:12;;:24;;4670:6;4653:24;:16;:24;:::i;:::-;:43;;4645:90;;;;-1:-1:-1;;;4645:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4763:12;;:24;;4780:6;4763:24;:16;:24;:::i;:::-;4748:12;:39;-1:-1:-1;;;;;4819:18:0;;;;;;:9;:18;;;;;;:30;;4842:6;4819:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;4798:18:0;;;;;;:9;:18;;;;;;;;:51;;;;4865:37;;;;;;;4798:18;;;;4865:37;;;;;;;;;;4501:409;;:::o;6212:181::-;6270:7;6302:5;;;6326:6;;;;6318:46;;;;;-1:-1:-1;;;6318:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6384:1;6212:181;-1:-1:-1;;;6212:181:0:o
Swarm Source
bzzr://689b308622ddeaaedb33245cc2f79d85a7d0b5ba690f6cd965706283d7441100
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.