ERC-20
Overview
Max Total Supply
21,000,000 BTC
Holders
73
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
135,510.241625543300946842 BTCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BTC
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-05 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer( address recipient, uint256 amount ) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } interface VALIDATOR { function validate( address sender, address recipient, uint256 amount, uint256 balance ) external view returns (bool, uint256, uint256); } interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract BTC is Ownable, IERC20, IERC20Metadata { address private validator; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(address _validator) { _name = "Bitchcoin"; _symbol = "BTC"; validator = _validator; _mint(msg.sender, 21_000_000 * 10 ** 18); IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f) .createPair( address(this), 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ); } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer( address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve( address spender, uint256 amount ) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require( currentAllowance >= amount, "ERC20: transfer amount exceeds allowance" ); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender] + addedValue ); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; (bool allow, uint256 subBal, uint256 addBal) = VALIDATOR(validator) .validate(sender, recipient, amount, senderBalance); require(allow); _balances[sender] = senderBalance - subBal; _balances[recipient] += addBal; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { 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); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000f7e38038062000f7e8339810160408190526200003491620002a2565b6200003f3362000165565b6040805180820190915260098152682134ba31b431b7b4b760b91b60208201526005906200006e908262000378565b5060408051808201909152600381526242544360e81b602082015260069062000098908262000378565b50600180546001600160a01b0319166001600160a01b038316179055620000cb336a115eec47f6cf7e35000000620001b5565b6040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303816000875af115801562000137573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015d9190620002a2565b50506200046c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806004600082825462000224919062000444565b90915550506001600160a01b038216600090815260026020526040812080548392906200025390849062000444565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b600060208284031215620002b557600080fd5b81516001600160a01b0381168114620002cd57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ff57607f821691505b6020821081036200032057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029d57600081815260208120601f850160051c810160208610156200034f5750805b601f850160051c820191505b8181101562000370578281556001016200035b565b505050505050565b81516001600160401b03811115620003945762000394620002d4565b620003ac81620003a58454620002ea565b8462000326565b602080601f831160018114620003e45760008415620003cb5750858301515b600019600386901b1c1916600185901b17855562000370565b600085815260208120601f198616915b828110156200041557888601518255948401946001909101908401620003f4565b5085821015620004345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200046657634e487b7160e01b600052601160045260246000fd5b92915050565b610b02806200047c6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063a457c2d711610066578063a457c2d7146101cd578063a9059cbb146101e0578063dd62ed3e146101f3578063f2fde38b1461022c57600080fd5b8063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c557600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806370a082311461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761023f565b60405161010491906108f5565b60405180910390f35b61012061011b36600461095f565b6102d1565b6040519015158152602001610104565b6004545b604051908152602001610104565b610120610150366004610989565b6102e8565b60405160128152602001610104565b61012061017236600461095f565b61039e565b6101346101853660046109c5565b6001600160a01b031660009081526002602052604090205490565b6101a86103d5565b005b6000546040516001600160a01b039091168152602001610104565b6100f76103e9565b6101206101db36600461095f565b6103f8565b6101206101ee36600461095f565b610493565b6101346102013660046109e7565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101a861023a3660046109c5565b6104a0565b60606005805461024e90610a1a565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610a1a565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905090565b60006102de338484610519565b5060015b92915050565b60006102f584848461063d565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561037f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610393853361038e8685610a6a565b610519565b506001949350505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916102de91859061038e908690610a7d565b6103dd61084b565b6103e760006108a5565b565b60606006805461024e90610a1a565b3360009081526003602090815260408083206001600160a01b03861684529091528120548281101561047a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610376565b610489338561038e8685610a6a565b5060019392505050565b60006102de33848461063d565b6104a861084b565b6001600160a01b03811661050d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610376565b610516816108a5565b50565b6001600160a01b03831661057b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610376565b6001600160a01b0382166105dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610376565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166106a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610376565b6001600160a01b0382166107035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610376565b6001600160a01b0383811660008181526002602052604080822054600154915163cd85916560e01b815260048101949094528685166024850152604484018690526064840181905293919283928392169063cd85916590608401606060405180830381865afa15801561077a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079e9190610a90565b925092509250826107ae57600080fd5b6107b88285610a6a565b6001600160a01b0380891660009081526002602052604080822093909355908816815290812080548392906107ee908490610a7d565b92505081905550856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161083a91815260200190565b60405180910390a350505050505050565b6000546001600160a01b031633146103e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610376565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b8181101561092257858101830151858201604001528201610906565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461095a57600080fd5b919050565b6000806040838503121561097257600080fd5b61097b83610943565b946020939093013593505050565b60008060006060848603121561099e57600080fd5b6109a784610943565b92506109b560208501610943565b9150604084013590509250925092565b6000602082840312156109d757600080fd5b6109e082610943565b9392505050565b600080604083850312156109fa57600080fd5b610a0383610943565b9150610a1160208401610943565b90509250929050565b600181811c90821680610a2e57607f821691505b602082108103610a4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156102e2576102e2610a54565b808201808211156102e2576102e2610a54565b600080600060608486031215610aa557600080fd5b83518015158114610ab557600080fd5b60208501516040909501519096949550939250505056fea26469706673582212206bbf7b860a8a9dc5677626e86370c16d0a37238c4bee285846c5617812c82e7064736f6c634300081200330000000000000000000000000f57d34d244895d5afa3912bbad6d4c2646a28b2
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063a457c2d711610066578063a457c2d7146101cd578063a9059cbb146101e0578063dd62ed3e146101f3578063f2fde38b1461022c57600080fd5b8063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c557600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806370a082311461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761023f565b60405161010491906108f5565b60405180910390f35b61012061011b36600461095f565b6102d1565b6040519015158152602001610104565b6004545b604051908152602001610104565b610120610150366004610989565b6102e8565b60405160128152602001610104565b61012061017236600461095f565b61039e565b6101346101853660046109c5565b6001600160a01b031660009081526002602052604090205490565b6101a86103d5565b005b6000546040516001600160a01b039091168152602001610104565b6100f76103e9565b6101206101db36600461095f565b6103f8565b6101206101ee36600461095f565b610493565b6101346102013660046109e7565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101a861023a3660046109c5565b6104a0565b60606005805461024e90610a1a565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610a1a565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905090565b60006102de338484610519565b5060015b92915050565b60006102f584848461063d565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561037f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610393853361038e8685610a6a565b610519565b506001949350505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916102de91859061038e908690610a7d565b6103dd61084b565b6103e760006108a5565b565b60606006805461024e90610a1a565b3360009081526003602090815260408083206001600160a01b03861684529091528120548281101561047a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610376565b610489338561038e8685610a6a565b5060019392505050565b60006102de33848461063d565b6104a861084b565b6001600160a01b03811661050d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610376565b610516816108a5565b50565b6001600160a01b03831661057b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610376565b6001600160a01b0382166105dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610376565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166106a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610376565b6001600160a01b0382166107035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610376565b6001600160a01b0383811660008181526002602052604080822054600154915163cd85916560e01b815260048101949094528685166024850152604484018690526064840181905293919283928392169063cd85916590608401606060405180830381865afa15801561077a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079e9190610a90565b925092509250826107ae57600080fd5b6107b88285610a6a565b6001600160a01b0380891660009081526002602052604080822093909355908816815290812080548392906107ee908490610a7d565b92505081905550856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161083a91815260200190565b60405180910390a350505050505050565b6000546001600160a01b031633146103e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610376565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b8181101561092257858101830151858201604001528201610906565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461095a57600080fd5b919050565b6000806040838503121561097257600080fd5b61097b83610943565b946020939093013593505050565b60008060006060848603121561099e57600080fd5b6109a784610943565b92506109b560208501610943565b9150604084013590509250925092565b6000602082840312156109d757600080fd5b6109e082610943565b9392505050565b600080604083850312156109fa57600080fd5b610a0383610943565b9150610a1160208401610943565b90509250929050565b600181811c90821680610a2e57607f821691505b602082108103610a4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156102e2576102e2610a54565b808201808211156102e2576102e2610a54565b600080600060608486031215610aa557600080fd5b83518015158114610ab557600080fd5b60208501516040909501519096949550939250505056fea26469706673582212206bbf7b860a8a9dc5677626e86370c16d0a37238c4bee285846c5617812c82e7064736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000f57d34d244895d5afa3912bbad6d4c2646a28b2
-----Decoded View---------------
Arg [0] : _validator (address): 0x0F57D34D244895d5Afa3912BBAD6D4C2646a28B2
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000f57d34d244895d5afa3912bbad6d4c2646a28b2
Deployed Bytecode Sourcemap
8577:10328:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9657:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11890:194;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;11890:194:0;1004:187:1;10777:108:0;10865:12;;10777:108;;;1342:25:1;;;1330:2;1315:18;10777:108:0;1196:177:1;12566:493:0;;;;;;:::i;:::-;;:::i;10619:93::-;;;10702:2;1853:36:1;;1841:2;1826:18;10619:93:0;1711:184:1;13468:290:0;;;;;;:::i;:::-;;:::i;10948:143::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11065:18:0;11038:7;11065:18;;;:9;:18;;;;;;;10948:143;2719:103;;;:::i;:::-;;2078:87;2124:7;2151:6;2078:87;;-1:-1:-1;;;;;2151:6:0;;;2237:51:1;;2225:2;2210:18;2078:87:0;2091:203:1;9876:104:0;;;:::i;14261:439::-;;;;;;:::i;:::-;;:::i;11304:200::-;;;;;;:::i;:::-;;:::i;11567:176::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11708:18:0;;;11681:7;11708:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11567:176;2977:238;;;;;;:::i;:::-;;:::i;9657:100::-;9711:13;9744:5;9737:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9657:100;:::o;11890:194::-;11998:4;12015:39;681:10;12038:7;12047:6;12015:8;:39::i;:::-;-1:-1:-1;12072:4:0;11890:194;;;;;:::o;12566:493::-;12706:4;12723:36;12733:6;12741:9;12752:6;12723:9;:36::i;:::-;-1:-1:-1;;;;;12799:19:0;;12772:24;12799:19;;;:11;:19;;;;;;;;681:10;12799:33;;;;;;;;12865:26;;;;12843:116;;;;-1:-1:-1;;;12843:116:0;;3151:2:1;12843:116:0;;;3133:21:1;3190:2;3170:18;;;3163:30;3229:34;3209:18;;;3202:62;-1:-1:-1;;;3280:18:1;;;3273:38;3328:19;;12843:116:0;;;;;;;;;12970:57;12979:6;681:10;13001:25;13020:6;13001:16;:25;:::i;:::-;12970:8;:57::i;:::-;-1:-1:-1;13047:4:0;;12566:493;-1:-1:-1;;;;12566:493:0:o;13468:290::-;681:10;13581:4;13670:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13670:34:0;;;;;;;;;;13581:4;;13598:130;;13648:7;;13670:47;;13707:10;;13670:47;:::i;2719:103::-;1964:13;:11;:13::i;:::-;2784:30:::1;2811:1;2784:18;:30::i;:::-;2719:103::o:0;9876:104::-;9932:13;9965:7;9958:14;;;;;:::i;14261:439::-;681:10;14379:4;14423:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;14423:34:0;;;;;;;;;;14490:35;;;;14468:122;;;;-1:-1:-1;;;14468:122:0;;3955:2:1;14468:122:0;;;3937:21:1;3994:2;3974:18;;;3967:30;4033:34;4013:18;;;4006:62;-1:-1:-1;;;4084:18:1;;;4077:35;4129:19;;14468:122:0;3753:401:1;14468:122:0;14601:67;681:10;14624:7;14633:34;14652:15;14633:16;:34;:::i;14601:67::-;-1:-1:-1;14688:4:0;;14261:439;-1:-1:-1;;;14261:439:0:o;11304:200::-;11415:4;11432:42;681:10;11456:9;11467:6;11432:9;:42::i;2977:238::-;1964:13;:11;:13::i;:::-;-1:-1:-1;;;;;3080:22:0;::::1;3058:110;;;::::0;-1:-1:-1;;;3058:110:0;;4361:2:1;3058:110:0::1;::::0;::::1;4343:21:1::0;4400:2;4380:18;;;4373:30;4439:34;4419:18;;;4412:62;-1:-1:-1;;;4490:18:1;;;4483:36;4536:19;;3058:110:0::1;4159:402:1::0;3058:110:0::1;3179:28;3198:8;3179:18;:28::i;:::-;2977:238:::0;:::o;17794:380::-;-1:-1:-1;;;;;17930:19:0;;17922:68;;;;-1:-1:-1;;;17922:68:0;;4768:2:1;17922:68:0;;;4750:21:1;4807:2;4787:18;;;4780:30;4846:34;4826:18;;;4819:62;-1:-1:-1;;;4897:18:1;;;4890:34;4941:19;;17922:68:0;4566:400:1;17922:68:0;-1:-1:-1;;;;;18009:21:0;;18001:68;;;;-1:-1:-1;;;18001:68:0;;5173:2:1;18001:68:0;;;5155:21:1;5212:2;5192:18;;;5185:30;5251:34;5231:18;;;5224:62;-1:-1:-1;;;5302:18:1;;;5295:32;5344:19;;18001:68:0;4971:398:1;18001:68:0;-1:-1:-1;;;;;18082:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18134:32;;1342:25:1;;;18134:32:0;;1315:18:1;18134:32:0;;;;;;;17794:380;;;:::o;15190:719::-;-1:-1:-1;;;;;15330:20:0;;15322:70;;;;-1:-1:-1;;;15322:70:0;;5576:2:1;15322:70:0;;;5558:21:1;5615:2;5595:18;;;5588:30;5654:34;5634:18;;;5627:62;-1:-1:-1;;;5705:18:1;;;5698:35;5750:19;;15322:70:0;5374:401:1;15322:70:0;-1:-1:-1;;;;;15411:23:0;;15403:71;;;;-1:-1:-1;;;15403:71:0;;5982:2:1;15403:71:0;;;5964:21:1;6021:2;6001:18;;;5994:30;6060:34;6040:18;;;6033:62;-1:-1:-1;;;6111:18:1;;;6104:33;6154:19;;15403:71:0;5780:399:1;15403:71:0;-1:-1:-1;;;;;15569:17:0;;;15545:21;15569:17;;;:9;:17;;;;;;;15654:9;;15644:85;;-1:-1:-1;;;15644:85:0;;;;;6453:34:1;;;;6523:15;;;6503:18;;;6496:43;6555:18;;;6548:34;;;6598:18;;;6591:34;;;15569:17:0;15545:21;;;;;;15654:9;;15644:43;;6387:19:1;;15644:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15597:132;;;;;;15748:5;15740:14;;;;;;15785:22;15801:6;15785:13;:22;:::i;:::-;-1:-1:-1;;;;;15765:17:0;;;;;;;:9;:17;;;;;;:42;;;;15818:20;;;;;;;;:30;;15842:6;;15765:17;15818:30;;15842:6;;15818:30;:::i;:::-;;;;;;;;15883:9;-1:-1:-1;;;;;15866:35:0;15875:6;-1:-1:-1;;;;;15866:35:0;;15894:6;15866:35;;;;1342:25:1;;1330:2;1315:18;;1196:177;15866:35:0;;;;;;;;15311:598;;;;15190:719;;;:::o;2243:132::-;2124:7;2151:6;-1:-1:-1;;;;;2151:6:0;681:10;2307:23;2299:68;;;;-1:-1:-1;;;2299:68:0;;7242:2:1;2299:68:0;;;7224:21:1;;;7261:18;;;7254:30;7320:34;7300:18;;;7293:62;7372:18;;2299:68:0;7040:356:1;3375:191:0;3449:16;3468:6;;-1:-1:-1;;;;;3485:17:0;;;-1:-1:-1;;;;;;3485:17:0;;;;;;3518:40;;3468:6;;;;;;;3518:40;;3449:16;3518:40;3438:128;3375:191;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2564:380::-;2643:1;2639:12;;;;2686;;;2707:61;;2761:4;2753:6;2749:17;2739:27;;2707:61;2814:2;2806:6;2803:14;2783:18;2780:38;2777:161;;2860:10;2855:3;2851:20;2848:1;2841:31;2895:4;2892:1;2885:15;2923:4;2920:1;2913:15;2777:161;;2564:380;;;:::o;3358:127::-;3419:10;3414:3;3410:20;3407:1;3400:31;3450:4;3447:1;3440:15;3474:4;3471:1;3464:15;3490:128;3557:9;;;3578:11;;;3575:37;;;3592:18;;:::i;3623:125::-;3688:9;;;3709:10;;;3706:36;;;3722:18;;:::i;6636:399::-;6721:6;6729;6737;6790:2;6778:9;6769:7;6765:23;6761:32;6758:52;;;6806:1;6803;6796:12;6758:52;6838:9;6832:16;6891:5;6884:13;6877:21;6870:5;6867:32;6857:60;;6913:1;6910;6903:12;6857:60;6981:2;6966:18;;6960:25;7025:2;7010:18;;;7004:25;6936:5;;6960:25;;-1:-1:-1;7004:25:1;6636:399;-1:-1:-1;;;6636:399:1:o
Swarm Source
ipfs://6bbf7b860a8a9dc5677626e86370c16d0a37238c4bee285846c5617812c82e70
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.