More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,657 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Faucet | 26029080 | 1007 days ago | IN | 0 POL | 0.00073055 | ||||
Faucet | 25635848 | 1018 days ago | IN | 0 POL | 0.00906309 | ||||
Faucet | 25635807 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635770 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635728 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635691 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635649 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635613 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635574 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635523 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635478 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635435 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635388 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635352 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635321 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635266 | 1018 days ago | IN | 0 POL | 0.00906309 | ||||
Faucet | 25635232 | 1018 days ago | IN | 0 POL | 0.00906309 | ||||
Faucet | 25635193 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635146 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635119 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635101 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635080 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635063 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25635030 | 1018 days ago | IN | 0 POL | 0.00906417 | ||||
Faucet | 25634714 | 1018 days ago | IN | 0 POL | 0.00906417 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
25635848 | 1018 days ago | 0.1 POL | ||||
25635807 | 1018 days ago | 0.1 POL | ||||
25635770 | 1018 days ago | 0.1 POL | ||||
25635728 | 1018 days ago | 0.1 POL | ||||
25635691 | 1018 days ago | 0.1 POL | ||||
25635649 | 1018 days ago | 0.1 POL | ||||
25635613 | 1018 days ago | 0.1 POL | ||||
25635574 | 1018 days ago | 0.1 POL | ||||
25635523 | 1018 days ago | 0.1 POL | ||||
25635478 | 1018 days ago | 0.1 POL | ||||
25635435 | 1018 days ago | 0.1 POL | ||||
25635388 | 1018 days ago | 0.1 POL | ||||
25635352 | 1018 days ago | 0.1 POL | ||||
25635321 | 1018 days ago | 0.1 POL | ||||
25635266 | 1018 days ago | 0.1 POL | ||||
25635232 | 1018 days ago | 0.1 POL | ||||
25635193 | 1018 days ago | 0.1 POL | ||||
25635146 | 1018 days ago | 0.1 POL | ||||
25635119 | 1018 days ago | 0.1 POL | ||||
25635101 | 1018 days ago | 0.1 POL | ||||
25635080 | 1018 days ago | 0.1 POL | ||||
25635063 | 1018 days ago | 0.1 POL | ||||
25635030 | 1018 days ago | 0.1 POL | ||||
25634714 | 1018 days ago | 0.1 POL | ||||
25634680 | 1018 days ago | 0.1 POL |
Loading...
Loading
Contract Name:
SchusterEtherFaucet
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-02-14 */ // Sources flattened with hardhat v2.8.3 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) 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); } // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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) { return msg.data; } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) 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 Contracts guidelines: functions revert * instead 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 ERC20 is Context, IERC20, IERC20Metadata { 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 default 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(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][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) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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); _afterTokenTransfer(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"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File contracts/SchusterEtherFaucet.sol pragma solidity ^0.8.0 <=0.9.0; contract SchusterEtherFaucet { address private ERC20TokenAddress; //Address of the ERC20 Token we're tracking uint256 private faucetDripAmount; //Amount to be sent uint private timeout; //Timeout in minutes uint private ERC20TokenMinimum; //Minimum amount of tokens needs to be considered for this faucet mapping(address => uint) timeouts; //Time of last faucet drip per address event sentTokens(address indexed _user, uint _timestamp); constructor(address _ERC20TokenAddress, uint _faucetDripBase, uint _faucetDripDecimal, uint _ERC20TokenMinimum, uint _timeout) { ERC20TokenAddress = _ERC20TokenAddress; faucetDripAmount = _faucetDripBase * (10**_faucetDripDecimal); //Ether (or Native Token) ERC20TokenMinimum = _ERC20TokenMinimum * (10**18); //300 ERC20 Tokens, assumes 18 decimals timeout = _timeout; //Timeout in minutes } function getERC20TokenAddress() external view returns(address) { return ERC20TokenAddress; } function getFaucetDripAmount() external view returns(uint) { return faucetDripAmount; } function getTimeout() external view returns(uint) { return timeout; } function getERC20TokenMinimum() external view returns(uint) { return ERC20TokenMinimum; } function getAddressTimeout(address _user) external view returns(uint) { return timeouts[_user]; } function hasERC20Token(address _user) private view returns(bool) { ERC20 instance = ERC20(ERC20TokenAddress); if( instance.balanceOf(_user) >= ERC20TokenMinimum ) { return true; } else { return false; } } function faucet(address payable _to) external { require(address(this).balance >= faucetDripAmount, "Insufficient Faucet Funds"); require(timeouts[_to] <= block.timestamp - (timeout * 1 minutes), "Too Early for Another Faucet Drop"); require(hasERC20Token(_to), "You Do Not Have Enough ERC20 tokens"); timeouts[_to] = block.timestamp; (bool sent, ) = _to.call{value: faucetDripAmount}(""); require(sent, "Failed to send Ether"); emit sentTokens(_to, block.timestamp); } function getBalance() view external returns (uint256) { return address(this).balance; } fallback() external payable { } receive() external payable { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_ERC20TokenAddress","type":"address"},{"internalType":"uint256","name":"_faucetDripBase","type":"uint256"},{"internalType":"uint256","name":"_faucetDripDecimal","type":"uint256"},{"internalType":"uint256","name":"_ERC20TokenMinimum","type":"uint256"},{"internalType":"uint256","name":"_timeout","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"sentTokens","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"faucet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getAddressTimeout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getERC20TokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getERC20TokenMinimum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFaucetDripAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimeout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000e6338038062000e638339818101604052810190620000379190620000f5565b846000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a620000869190620001d2565b846200009391906200030f565b600181905550670de0b6b3a764000082620000af91906200030f565b6003819055508060028190555050505050506200041e565b600081519050620000d881620003ea565b92915050565b600081519050620000ef8162000404565b92915050565b600080600080600060a086880312156200010e57600080fd5b60006200011e88828901620000c7565b95505060206200013188828901620000de565b94505060406200014488828901620000de565b93505060606200015788828901620000de565b92505060806200016a88828901620000de565b9150509295509295909350565b6000808291508390505b6001851115620001c957808604811115620001a157620001a0620003ae565b5b6001851615620001b15780820291505b8081029050620001c185620003dd565b945062000181565b94509492505050565b6000620001df82620003a4565b9150620001ec83620003a4565b92506200021b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000223565b905092915050565b60008262000235576001905062000308565b8162000245576000905062000308565b81600181146200025e576002811462000269576200029f565b600191505062000308565b60ff8411156200027e576200027d620003ae565b5b8360020a915084821115620002985762000297620003ae565b5b5062000308565b5060208310610133831016604e8410600b8410161715620002d95782820a905083811115620002d357620002d2620003ae565b5b62000308565b620002e8848484600162000177565b92509050818404811115620003025762000301620003ae565b5b81810290505b9392505050565b60006200031c82620003a4565b91506200032983620003a4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620003655762000364620003ae565b5b828202905092915050565b60006200037d8262000384565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b620003f58162000370565b81146200040157600080fd5b50565b6200040f81620003a4565b81146200041b57600080fd5b50565b610a35806200042e6000396000f3fe6080604052600436106100745760003560e01c8063624aa0fd1161004e578063624aa0fd14610110578063b86d1d631461013b578063cbdc564d14610164578063edb69ebb1461018f5761007b565b806312065fe01461007d57806319d2d320146100a85780633499ba95146100e55761007b565b3661007b57005b005b34801561008957600080fd5b506100926101ba565b60405161009f9190610878565b60405180910390f35b3480156100b457600080fd5b506100cf60048036038101906100ca91906105c9565b6101c2565b6040516100dc9190610878565b60405180910390f35b3480156100f157600080fd5b506100fa61020b565b6040516101079190610878565b60405180910390f35b34801561011c57600080fd5b50610125610215565b60405161013291906107dd565b60405180910390f35b34801561014757600080fd5b50610162600480360381019061015d91906105f2565b61023e565b005b34801561017057600080fd5b506101796104aa565b6040516101869190610878565b60405180910390f35b34801561019b57600080fd5b506101a46104b4565b6040516101b19190610878565b60405180910390f35b600047905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600254905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600154471015610283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027a90610858565b60405180910390fd5b603c60025461029291906108af565b4261029d9190610909565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561031e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031590610818565b60405180910390fd5b610327816104be565b610366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035d90610838565b60405180910390fd5b42600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008173ffffffffffffffffffffffffffffffffffffffff166001546040516103d2906107c8565b60006040518083038185875af1925050503d806000811461040f576040519150601f19603f3d011682016040523d82523d6000602084013e610414565b606091505b5050905080610458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044f906107f8565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff167fabe2bfdbe3bd8def331233e8a1dc3dfa91327f2e994039e8d2dc8b72fbf2c4704260405161049e9190610878565b60405180910390a25050565b6000600354905090565b6000600154905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506003548173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161052091906107dd565b60206040518083038186803b15801561053857600080fd5b505afa15801561054c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610570919061061b565b1061057f576001915050610585565b60009150505b919050565b600081359050610599816109ba565b92915050565b6000813590506105ae816109d1565b92915050565b6000815190506105c3816109e8565b92915050565b6000602082840312156105db57600080fd5b60006105e98482850161058a565b91505092915050565b60006020828403121561060457600080fd5b60006106128482850161059f565b91505092915050565b60006020828403121561062d57600080fd5b600061063b848285016105b4565b91505092915050565b61064d8161093d565b82525050565b600061066060148361089e565b91507f4661696c656420746f2073656e642045746865720000000000000000000000006000830152602082019050919050565b60006106a060218361089e565b91507f546f6f204561726c7920666f7220416e6f74686572204661756365742044726f60008301527f70000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061070660238361089e565b91507f596f7520446f204e6f74204861766520456e6f75676820455243323020746f6b60008301527f656e7300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061076c60198361089e565b91507f496e73756666696369656e74204661756365742046756e6473000000000000006000830152602082019050919050565b60006107ac600083610893565b9150600082019050919050565b6107c281610981565b82525050565b60006107d38261079f565b9150819050919050565b60006020820190506107f26000830184610644565b92915050565b6000602082019050818103600083015261081181610653565b9050919050565b6000602082019050818103600083015261083181610693565b9050919050565b60006020820190508181036000830152610851816106f9565b9050919050565b600060208201905081810360008301526108718161075f565b9050919050565b600060208201905061088d60008301846107b9565b92915050565b600081905092915050565b600082825260208201905092915050565b60006108ba82610981565b91506108c583610981565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156108fe576108fd61098b565b5b828202905092915050565b600061091482610981565b915061091f83610981565b9250828210156109325761093161098b565b5b828203905092915050565b600061094882610961565b9050919050565b600061095a82610961565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6109c38161093d565b81146109ce57600080fd5b50565b6109da8161094f565b81146109e557600080fd5b50565b6109f181610981565b81146109fc57600080fd5b5056fea264697066735822122058c4117bc2ac15d16b4405076a80bfbf08f4bf17eef1f221dc54ecd790d76aef64736f6c634300080000330000000000000000000000004a14ac36667b574b08443a15093e417db909d7a300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000005a0
Deployed Bytecode
0x6080604052600436106100745760003560e01c8063624aa0fd1161004e578063624aa0fd14610110578063b86d1d631461013b578063cbdc564d14610164578063edb69ebb1461018f5761007b565b806312065fe01461007d57806319d2d320146100a85780633499ba95146100e55761007b565b3661007b57005b005b34801561008957600080fd5b506100926101ba565b60405161009f9190610878565b60405180910390f35b3480156100b457600080fd5b506100cf60048036038101906100ca91906105c9565b6101c2565b6040516100dc9190610878565b60405180910390f35b3480156100f157600080fd5b506100fa61020b565b6040516101079190610878565b60405180910390f35b34801561011c57600080fd5b50610125610215565b60405161013291906107dd565b60405180910390f35b34801561014757600080fd5b50610162600480360381019061015d91906105f2565b61023e565b005b34801561017057600080fd5b506101796104aa565b6040516101869190610878565b60405180910390f35b34801561019b57600080fd5b506101a46104b4565b6040516101b19190610878565b60405180910390f35b600047905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600254905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600154471015610283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027a90610858565b60405180910390fd5b603c60025461029291906108af565b4261029d9190610909565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561031e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031590610818565b60405180910390fd5b610327816104be565b610366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035d90610838565b60405180910390fd5b42600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008173ffffffffffffffffffffffffffffffffffffffff166001546040516103d2906107c8565b60006040518083038185875af1925050503d806000811461040f576040519150601f19603f3d011682016040523d82523d6000602084013e610414565b606091505b5050905080610458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044f906107f8565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff167fabe2bfdbe3bd8def331233e8a1dc3dfa91327f2e994039e8d2dc8b72fbf2c4704260405161049e9190610878565b60405180910390a25050565b6000600354905090565b6000600154905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506003548173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161052091906107dd565b60206040518083038186803b15801561053857600080fd5b505afa15801561054c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610570919061061b565b1061057f576001915050610585565b60009150505b919050565b600081359050610599816109ba565b92915050565b6000813590506105ae816109d1565b92915050565b6000815190506105c3816109e8565b92915050565b6000602082840312156105db57600080fd5b60006105e98482850161058a565b91505092915050565b60006020828403121561060457600080fd5b60006106128482850161059f565b91505092915050565b60006020828403121561062d57600080fd5b600061063b848285016105b4565b91505092915050565b61064d8161093d565b82525050565b600061066060148361089e565b91507f4661696c656420746f2073656e642045746865720000000000000000000000006000830152602082019050919050565b60006106a060218361089e565b91507f546f6f204561726c7920666f7220416e6f74686572204661756365742044726f60008301527f70000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061070660238361089e565b91507f596f7520446f204e6f74204861766520456e6f75676820455243323020746f6b60008301527f656e7300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061076c60198361089e565b91507f496e73756666696369656e74204661756365742046756e6473000000000000006000830152602082019050919050565b60006107ac600083610893565b9150600082019050919050565b6107c281610981565b82525050565b60006107d38261079f565b9150819050919050565b60006020820190506107f26000830184610644565b92915050565b6000602082019050818103600083015261081181610653565b9050919050565b6000602082019050818103600083015261083181610693565b9050919050565b60006020820190508181036000830152610851816106f9565b9050919050565b600060208201905081810360008301526108718161075f565b9050919050565b600060208201905061088d60008301846107b9565b92915050565b600081905092915050565b600082825260208201905092915050565b60006108ba82610981565b91506108c583610981565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156108fe576108fd61098b565b5b828202905092915050565b600061091482610981565b915061091f83610981565b9250828210156109325761093161098b565b5b828203905092915050565b600061094882610961565b9050919050565b600061095a82610961565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6109c38161093d565b81146109ce57600080fd5b50565b6109da8161094f565b81146109e557600080fd5b50565b6109f181610981565b81146109fc57600080fd5b5056fea264697066735822122058c4117bc2ac15d16b4405076a80bfbf08f4bf17eef1f221dc54ecd790d76aef64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004a14ac36667b574b08443a15093e417db909d7a300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000005a0
-----Decoded View---------------
Arg [0] : _ERC20TokenAddress (address): 0x4a14AC36667B574B08443a15093e417dB909D7a3
Arg [1] : _faucetDripBase (uint256): 1
Arg [2] : _faucetDripDecimal (uint256): 17
Arg [3] : _ERC20TokenMinimum (uint256): 100
Arg [4] : _timeout (uint256): 1440
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000004a14ac36667b574b08443a15093e417db909d7a3
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [4] : 00000000000000000000000000000000000000000000000000000000000005a0
Deployed Bytecode Sourcemap
17643:2478:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19928:101;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18986:111;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18784:83;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18561:106;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19384:536;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18875:103;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18675:101;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19928;19973:7;20000:21;19993:28;;19928:101;:::o;18986:111::-;19050:4;19074:8;:15;19083:5;19074:15;;;;;;;;;;;;;;;;19067:22;;18986:111;;;:::o;18784:83::-;18828:4;18852:7;;18845:14;;18784:83;:::o;18561:106::-;18615:7;18642:17;;;;;;;;;;;18635:24;;18561:106;:::o;19384:536::-;19474:16;;19449:21;:41;;19441:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;19585:9;19575:7;;:19;;;;:::i;:::-;19556:15;:39;;;;:::i;:::-;19539:8;:13;19548:3;19539:13;;;;;;;;;;;;;;;;:56;;19531:102;;;;;;;;;;;;:::i;:::-;;;;;;;;;19652:18;19666:3;19652:13;:18::i;:::-;19644:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;19737:15;19721:8;:13;19730:3;19721:13;;;;;;;;;;;;;;;:31;;;;19764:9;19779:3;:8;;19795:16;;19779:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19763:53;;;19835:4;19827:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;19891:3;19880:32;;;19896:15;19880:32;;;;;;:::i;:::-;;;;;;;;19384:536;;:::o;18875:103::-;18929:4;18953:17;;18946:24;;18875:103;:::o;18675:101::-;18728:4;18752:16;;18745:23;;18675:101;:::o;19105:271::-;19164:4;19181:14;19204:17;;;;;;;;;;19181:41;;19266:17;;19237:8;:18;;;19256:5;19237:25;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;19233:136;;19308:4;19301:11;;;;;19233:136;19352:5;19345:12;;;19105:271;;;;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:155::-;;244:6;231:20;222:29;;260:41;295:5;260:41;:::i;:::-;212:95;;;;:::o;313:143::-;;401:6;395:13;386:22;;417:33;444:5;417:33;:::i;:::-;376:80;;;;:::o;462:262::-;;570:2;558:9;549:7;545:23;541:32;538:2;;;586:1;583;576:12;538:2;629:1;654:53;699:7;690:6;679:9;675:22;654:53;:::i;:::-;644:63;;600:117;528:196;;;;:::o;730:278::-;;846:2;834:9;825:7;821:23;817:32;814:2;;;862:1;859;852:12;814:2;905:1;930:61;983:7;974:6;963:9;959:22;930:61;:::i;:::-;920:71;;876:125;804:204;;;;:::o;1014:284::-;;1133:2;1121:9;1112:7;1108:23;1104:32;1101:2;;;1149:1;1146;1139:12;1101:2;1192:1;1217:64;1273:7;1264:6;1253:9;1249:22;1217:64;:::i;:::-;1207:74;;1163:128;1091:207;;;;:::o;1304:118::-;1391:24;1409:5;1391:24;:::i;:::-;1386:3;1379:37;1369:53;;:::o;1428:318::-;;1591:67;1655:2;1650:3;1591:67;:::i;:::-;1584:74;;1688:22;1684:1;1679:3;1675:11;1668:43;1737:2;1732:3;1728:12;1721:19;;1574:172;;;:::o;1752:365::-;;1915:67;1979:2;1974:3;1915:67;:::i;:::-;1908:74;;2012:34;2008:1;2003:3;1999:11;1992:55;2078:3;2073:2;2068:3;2064:12;2057:25;2108:2;2103:3;2099:12;2092:19;;1898:219;;;:::o;2123:367::-;;2286:67;2350:2;2345:3;2286:67;:::i;:::-;2279:74;;2383:34;2379:1;2374:3;2370:11;2363:55;2449:5;2444:2;2439:3;2435:12;2428:27;2481:2;2476:3;2472:12;2465:19;;2269:221;;;:::o;2496:323::-;;2659:67;2723:2;2718:3;2659:67;:::i;:::-;2652:74;;2756:27;2752:1;2747:3;2743:11;2736:48;2810:2;2805:3;2801:12;2794:19;;2642:177;;;:::o;2825:297::-;;3005:83;3086:1;3081:3;3005:83;:::i;:::-;2998:90;;3114:1;3109:3;3105:11;3098:18;;2988:134;;;:::o;3128:118::-;3215:24;3233:5;3215:24;:::i;:::-;3210:3;3203:37;3193:53;;:::o;3252:379::-;;3458:147;3601:3;3458:147;:::i;:::-;3451:154;;3622:3;3615:10;;3440:191;;;:::o;3637:222::-;;3768:2;3757:9;3753:18;3745:26;;3781:71;3849:1;3838:9;3834:17;3825:6;3781:71;:::i;:::-;3735:124;;;;:::o;3865:419::-;;4069:2;4058:9;4054:18;4046:26;;4118:9;4112:4;4108:20;4104:1;4093:9;4089:17;4082:47;4146:131;4272:4;4146:131;:::i;:::-;4138:139;;4036:248;;;:::o;4290:419::-;;4494:2;4483:9;4479:18;4471:26;;4543:9;4537:4;4533:20;4529:1;4518:9;4514:17;4507:47;4571:131;4697:4;4571:131;:::i;:::-;4563:139;;4461:248;;;:::o;4715:419::-;;4919:2;4908:9;4904:18;4896:26;;4968:9;4962:4;4958:20;4954:1;4943:9;4939:17;4932:47;4996:131;5122:4;4996:131;:::i;:::-;4988:139;;4886:248;;;:::o;5140:419::-;;5344:2;5333:9;5329:18;5321:26;;5393:9;5387:4;5383:20;5379:1;5368:9;5364:17;5357:47;5421:131;5547:4;5421:131;:::i;:::-;5413:139;;5311:248;;;:::o;5565:222::-;;5696:2;5685:9;5681:18;5673:26;;5709:71;5777:1;5766:9;5762:17;5753:6;5709:71;:::i;:::-;5663:124;;;;:::o;5793:147::-;;5931:3;5916:18;;5906:34;;;;:::o;5946:169::-;;6064:6;6059:3;6052:19;6104:4;6099:3;6095:14;6080:29;;6042:73;;;;:::o;6121:348::-;;6184:20;6202:1;6184:20;:::i;:::-;6179:25;;6218:20;6236:1;6218:20;:::i;:::-;6213:25;;6406:1;6338:66;6334:74;6331:1;6328:81;6323:1;6316:9;6309:17;6305:105;6302:2;;;6413:18;;:::i;:::-;6302:2;6461:1;6458;6454:9;6443:20;;6169:300;;;;:::o;6475:191::-;;6535:20;6553:1;6535:20;:::i;:::-;6530:25;;6569:20;6587:1;6569:20;:::i;:::-;6564:25;;6608:1;6605;6602:8;6599:2;;;6613:18;;:::i;:::-;6599:2;6658:1;6655;6651:9;6643:17;;6520:146;;;;:::o;6672:96::-;;6738:24;6756:5;6738:24;:::i;:::-;6727:35;;6717:51;;;:::o;6774:104::-;;6848:24;6866:5;6848:24;:::i;:::-;6837:35;;6827:51;;;:::o;6884:126::-;;6961:42;6954:5;6950:54;6939:65;;6929:81;;;:::o;7016:77::-;;7082:5;7071:16;;7061:32;;;:::o;7099:180::-;7147:77;7144:1;7137:88;7244:4;7241:1;7234:15;7268:4;7265:1;7258:15;7285:122;7358:24;7376:5;7358:24;:::i;:::-;7351:5;7348:35;7338:2;;7397:1;7394;7387:12;7338:2;7328:79;:::o;7413:138::-;7494:32;7520:5;7494:32;:::i;:::-;7487:5;7484:43;7474:2;;7541:1;7538;7531:12;7474:2;7464:87;:::o;7557:122::-;7630:24;7648:5;7630:24;:::i;:::-;7623:5;7620:35;7610:2;;7669:1;7666;7659:12;7610:2;7600:79;:::o
Swarm Source
ipfs://58c4117bc2ac15d16b4405076a80bfbf08f4bf17eef1f221dc54ecd790d76aef
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | Polygon (POL) | 100.00% | $0.55483 | 0.04 | $0.022193 |
[ Download: CSV Export ]
[ 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.