More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 26 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw ETH | 18750997 | 383 days ago | IN | 0 ETH | 0.00093395 | ||||
Change Eth Walle... | 18750984 | 383 days ago | IN | 0 ETH | 0.00076915 | ||||
Distribute ETH | 18750969 | 383 days ago | IN | 0 ETH | 0.00504002 | ||||
Transfer | 18750957 | 383 days ago | IN | 3.73145297 ETH | 0.00057022 | ||||
Transfer | 18750875 | 383 days ago | IN | 0.09248096 ETH | 0.00059377 | ||||
Transfer | 18750873 | 383 days ago | IN | 0.09018864 ETH | 0.00063105 | ||||
Transfer | 18750872 | 383 days ago | IN | 0.29352686 ETH | 0.00062385 | ||||
Distribute ETH | 18750816 | 383 days ago | IN | 0 ETH | 0.00797782 | ||||
Transfer | 18750785 | 383 days ago | IN | 2.1 ETH | 0.00059034 | ||||
Transfer | 18750755 | 383 days ago | IN | 0.0221831 ETH | 0.00062274 | ||||
Transfer | 18750754 | 383 days ago | IN | 0.02815795 ETH | 0.00063722 | ||||
Transfer | 18750752 | 383 days ago | IN | 0.04783072 ETH | 0.00065733 | ||||
Transfer | 18750751 | 383 days ago | IN | 0.12899689 ETH | 0.00065732 | ||||
Transfer | 18750750 | 383 days ago | IN | 0.39270337 ETH | 0.00060657 | ||||
Transfer | 18750749 | 383 days ago | IN | 0.15054077 ETH | 0.00063674 | ||||
Distribute ETH | 18750736 | 383 days ago | IN | 0 ETH | 0.00980679 | ||||
Transfer | 18750732 | 383 days ago | IN | 1.46025686 ETH | 0.00062303 | ||||
Distribute ETH | 18750712 | 383 days ago | IN | 0 ETH | 0.00939322 | ||||
Transfer | 18750708 | 383 days ago | IN | 0.7363702 ETH | 0.00058617 | ||||
Distribute ETH | 18750690 | 383 days ago | IN | 0 ETH | 0.00975635 | ||||
Transfer | 18750687 | 383 days ago | IN | 0.3 ETH | 0.00069938 | ||||
Distribute ETH | 18750665 | 383 days ago | IN | 0 ETH | 0.00877641 | ||||
Transfer | 18750623 | 383 days ago | IN | 0.25 ETH | 0.00068978 | ||||
Distribute ETH | 18745739 | 384 days ago | IN | 0 ETH | 0.00301112 | ||||
Transfer | 18745735 | 384 days ago | IN | 0.07 ETH | 0.00061485 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18750997 | 383 days ago | 0.41648933 ETH | ||||
18750969 | 383 days ago | 0.616 ETH | ||||
18750969 | 383 days ago | 0.4912 ETH | ||||
18750969 | 383 days ago | 0.4552 ETH | ||||
18750969 | 383 days ago | 0.4165 ETH | ||||
18750969 | 383 days ago | 0.4057 ETH | ||||
18750969 | 383 days ago | 0.3646 ETH | ||||
18750969 | 383 days ago | 0.3641 ETH | ||||
18750969 | 383 days ago | 0.3536 ETH | ||||
18750969 | 383 days ago | 0.3215 ETH | ||||
18750969 | 383 days ago | 0.3049 ETH | ||||
18750969 | 383 days ago | 0.2956 ETH | ||||
18750816 | 383 days ago | 0.2883 ETH | ||||
18750816 | 383 days ago | 0.2672 ETH | ||||
18750816 | 383 days ago | 0.2641 ETH | ||||
18750816 | 383 days ago | 0.263 ETH | ||||
18750816 | 383 days ago | 0.2471 ETH | ||||
18750816 | 383 days ago | 0.2393 ETH | ||||
18750816 | 383 days ago | 0.1731 ETH | ||||
18750816 | 383 days ago | 0.1489 ETH | ||||
18750816 | 383 days ago | 0.1485 ETH | ||||
18750816 | 383 days ago | 0.1298 ETH | ||||
18750816 | 383 days ago | 0.1182 ETH | ||||
18750816 | 383 days ago | 0.1182 ETH | ||||
18750816 | 383 days ago | 0.1015 ETH |
Loading...
Loading
Contract Name:
AirdropContract
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "./SendToken.sol"; contract AirdropContract { SENDToken public sendToken; address public owner; address public ethWallet; address public sendWallet; event EthTransfer(address indexed recipient, uint256 amount, bool success); event SendTokenTransfer(address indexed recipient, uint256 amount, bool success); event EthWalletChanged(address indexed newEthWallet); event SendWalletChanged(address indexed newSendWallet); modifier onlyOwner() { require(msg.sender == owner, "Not the owner"); _; } constructor(SENDToken _sendToken, address _ethWallet, address _sendWallet) { sendToken = _sendToken; owner = msg.sender; ethWallet = _ethWallet; sendWallet = _sendWallet; } function distributeSENDTokens(address[] memory recipients, uint256[] memory amounts) external onlyOwner { require(recipients.length == amounts.length, "Mismatched arrays"); for (uint256 i = 0; i < recipients.length; i++) { bool success = sendToken.transfer(recipients[i], amounts[i]); emit SendTokenTransfer(recipients[i], amounts[i], success); } } function distributeETH(address[] memory recipients, uint256[] memory amounts) external onlyOwner { require(recipients.length == amounts.length, "Mismatched arrays"); for (uint256 i = 0; i < recipients.length; i++) { (bool success, ) = payable(recipients[i]).call{value: amounts[i]}(""); emit EthTransfer(recipients[i], amounts[i], success); } } function changeEthWallet(address _newEthWallet) external onlyOwner { require(_newEthWallet != address(0), "Invalid address"); ethWallet = _newEthWallet; emit EthWalletChanged(_newEthWallet); } function changeSENDWallet(address _newSendWallet) external onlyOwner { require(_newSendWallet != address(0), "Invalid address"); sendWallet = _newSendWallet; emit SendWalletChanged(_newSendWallet); } function withdrawETH() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No funds available"); payable(owner).transfer(balance); } // Function to receive Ether. msg.data must be empty receive() external payable { // The contract can react to receiving Ether if necessary } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; // Importing required OpenZeppelin Contracts import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; // Standard ERC20 Token Implementation import "@openzeppelin/contracts/access/Ownable.sol"; // Access Control Contract import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; // Protection against reentrant calls import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; // Uniswap Router Interface for performing swaps import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; // Uniswap Pair Interface import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; // Uniswap Factory Interface contract SENDToken is ERC20, Ownable, ReentrancyGuard { // Buy and Sell Tax uint256 public constant BUY_TAX = 5; uint256 public constant SELL_TAX = 5; // Uniswap Router and Pair IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; // Array to hold all unique holders address[] public holders; mapping(address => bool) public isHolder; mapping(address => uint256) public holderIndex; // Immutable addresses for Team, Reserve Fund, Marketing, and Tax address public immutable teamAddress; address public immutable reserveFundAddress; address public immutable marketingAddress; address public immutable taxAddress; address public revenueDistributionAddress; // Address where the revenue will be distributed // Initialize the token and mint initial supply to specified addresses constructor( address _initialOwner, address _teamAddress, address _reserveFundAddress, address _marketingAddress, address _taxAddress, address _uniswapV2Router ) ERC20("Sendpicks", "SEND") Ownable(_initialOwner) { uint256 totalSupply = 100_000_000 * 10**18; // Total Supply of 100 million tokens with 18 decimals // Immutable addresses teamAddress = _teamAddress; reserveFundAddress = _reserveFundAddress; marketingAddress = _marketingAddress; taxAddress = _taxAddress; // Minting the initial supply _mint(teamAddress, totalSupply * 5 / 100); // 5% to Team _mint(reserveFundAddress, totalSupply * 5 / 100); // 5% to Reserve Fund _mint(marketingAddress, totalSupply * 5 / 100); // 5% to Marketing _mint(msg.sender, totalSupply * 85 / 100); // 85% to the owner // Uniswap Router and creating a Uniswap Pair uniswapV2Router = IUniswapV2Router02(_uniswapV2Router); uniswapV2Pair = address( IUniswapV2Factory(IUniswapV2Router02(_uniswapV2Router).factory()).createPair(address(this), uniswapV2Router.WETH()) ); } // Function to set the address where the revenue will be distributed function setRevenueDistributionAddress(address _revenueDistributionAddress) external onlyOwner { require(_revenueDistributionAddress != address(0), "Invalid address"); revenueDistributionAddress = _revenueDistributionAddress; } // Function to add liquidity to Uniswap Pair function addLiquidity(uint256 tokenAmount) external onlyOwner nonReentrant { _approve(address(this), address(uniswapV2Router), tokenAmount); // Approve tokens for Uniswap Router uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), tokenAmount, 0, 0, owner(), block.timestamp ); } // Function to allow users to swap tokens for ETH function swapTokensForEth(uint256 tokenAmount) external { require(balanceOf(msg.sender) >= tokenAmount, "Insufficient tokens"); // Ensure sender has enough tokens _approve(msg.sender, address(uniswapV2Router), tokenAmount); // Approve Uniswap Router to spend tokens // Specify the Path for the swap, from this token to WETH address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // Accept any amount of ETH path, msg.sender, // Send ETH to the sender block.timestamp ); } // Override the _update function to include tax and maintain the holders list function _update(address from, address to, uint256 value) internal virtual override { uint256 taxAmount = 0; bool isExempt = _isExempt(from, to); // Check if the transfer is exempt from tax if (!isExempt) { // Determine tax amount based on whether it's a buy or sell if (to == uniswapV2Pair) { taxAmount = value * SELL_TAX / 100; // Sell Tax } else if (from == uniswapV2Pair) { taxAmount = value * BUY_TAX / 100; // Buy Tax } if (taxAmount > 0) { // Distributing tax uint256 amountAfterTax = value - taxAmount; uint256 revenueAmount = taxAmount * 2 / 100; // 2% of tax to Revenue Distribution uint256 remainingTax = taxAmount - revenueAmount; // Remaining tax to the Tax Address // Execute transfers super._update(from, revenueDistributionAddress, revenueAmount); super._update(from, taxAddress, remainingTax); super._update(from, to, amountAfterTax); // Manage Holders List _addHolder(from); _addHolder(to); if (balanceOf(from) == 0) _removeHolder(from); return; } } // If no tax or exempt, perform normal transfer super._update(from, to, value); // Manage Holders List _addHolder(from); _addHolder(to); if (balanceOf(from) == 0) _removeHolder(from); } // Check if the transfer is exempt from tax function _isExempt(address sender, address recipient) internal view returns (bool) { return sender == teamAddress || sender == reserveFundAddress || sender == marketingAddress || recipient == teamAddress || recipient == reserveFundAddress || recipient == marketingAddress; } // Add a holder to the holders list function _addHolder(address account) internal { if (!isHolder[account] && account != address(this) && account != address(0) && account != uniswapV2Pair) { isHolder[account] = true; holders.push(account); holderIndex[account] = holders.length - 1; } } // Remove a holder from the holders list function _removeHolder(address account) internal { if (isHolder[account]) { uint256 index = holderIndex[account]; if (index < holders.length - 1) { holders[index] = holders[holders.length - 1]; holderIndex[holders[index]] = index; } holders.pop(); delete holderIndex[account]; isHolder[account] = false; } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract SENDToken","name":"_sendToken","type":"address"},{"internalType":"address","name":"_ethWallet","type":"address"},{"internalType":"address","name":"_sendWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"EthTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newEthWallet","type":"address"}],"name":"EthWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"SendTokenTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newSendWallet","type":"address"}],"name":"SendWalletChanged","type":"event"},{"inputs":[{"internalType":"address","name":"_newEthWallet","type":"address"}],"name":"changeEthWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSendWallet","type":"address"}],"name":"changeSENDWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"distributeETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"distributeSENDTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sendToken","outputs":[{"internalType":"contract SENDToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sendWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b50604051620014f6380380620014f68339818101604052810190620000369190620001e5565b825f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503360015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200023e565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200016d8262000142565b9050919050565b5f620001808262000161565b9050919050565b620001928162000174565b81146200019d575f80fd5b50565b5f81519050620001b08162000187565b92915050565b620001c18162000161565b8114620001cc575f80fd5b50565b5f81519050620001df81620001b6565b92915050565b5f805f60608486031215620001ff57620001fe6200013e565b5b5f6200020e86828701620001a0565b93505060206200022186828701620001cf565b92505060406200023486828701620001cf565b9150509250925092565b6112aa806200024c5f395ff3fe608060405260043610610089575f3560e01c8063d56fba6e11610058578063d56fba6e1461013a578063da13b26914610164578063e086e5ec1461018c578063ebcd5186146101a2578063f8b7fabf146101ca57610090565b80630467f4001461009457806309094f7a146100bc5780638da5cb5b146100e6578063b8972db51461011057610090565b3661009057005b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b59190610dd9565b6101f2565b005b3480156100c7575f80fd5b506100d061043f565b6040516100dd9190610e5e565b60405180910390f35b3480156100f1575f80fd5b506100fa610464565b6040516101079190610e5e565b60405180910390f35b34801561011b575f80fd5b50610124610489565b6040516101319190610ed2565b60405180910390f35b348015610145575f80fd5b5061014e6104ac565b60405161015b9190610e5e565b60405180910390f35b34801561016f575f80fd5b5061018a60048036038101906101859190610eeb565b6104d1565b005b348015610197575f80fd5b506101a0610654565b005b3480156101ad575f80fd5b506101c860048036038101906101c39190610eeb565b610791565b005b3480156101d5575f80fd5b506101f060048036038101906101eb9190610dd9565b610914565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027890610f70565b60405180910390fd5b80518251146102c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bc90610fd8565b60405180910390fd5b5f5b825181101561043a575f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8584815181106103205761031f610ff6565b5b602002602001015185858151811061033b5761033a610ff6565b5b60200260200101516040518363ffffffff1660e01b8152600401610360929190611032565b6020604051808303815f875af115801561037c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a0919061108e565b90508382815181106103b5576103b4610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fbef0e6dd650e1263f838ed4d5296fbea6149a603d2511bfbc28f3bf20c049e7484848151811061040757610406610ff6565b5b60200260200101518360405161041e9291906110c8565b60405180910390a25080806104329061111c565b9150506102c7565b505050565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790610f70565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036105ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c5906111ad565b60405180910390fd5b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f43ecf1c5d050afe90ee075fb61594a1e3474bed7308a17af879194643cde074060405160405180910390a250565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106da90610f70565b60405180910390fd5b5f4790505f8111610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090611215565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561078d573d5f803e3d5ffd5b5050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081790610f70565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361088e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610885906111ad565b60405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fc662446a49afbf43e6c6fe4e119f7b67ad4bfb1ca1019d6ae8e1b334d3e5e73660405160405180910390a250565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90610f70565b60405180910390fd5b80518251146109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109de90610fd8565b60405180910390fd5b5f5b8251811015610b26575f838281518110610a0657610a05610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16838381518110610a3757610a36610ff6565b5b6020026020010151604051610a4b90611260565b5f6040518083038185875af1925050503d805f8114610a85576040519150601f19603f3d011682016040523d82523d5f602084013e610a8a565b606091505b50509050838281518110610aa157610aa0610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f059df968c9adece8df1523d75499edbdf139c8370ef919b603dfbd53b7ffe549848481518110610af357610af2610ff6565b5b602002602001015183604051610b0a9291906110c8565b60405180910390a2508080610b1e9061111c565b9150506109e9565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610b8682610b40565b810181811067ffffffffffffffff82111715610ba557610ba4610b50565b5b80604052505050565b5f610bb7610b2b565b9050610bc38282610b7d565b919050565b5f67ffffffffffffffff821115610be257610be1610b50565b5b602082029050602081019050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610c2082610bf7565b9050919050565b610c3081610c16565b8114610c3a575f80fd5b50565b5f81359050610c4b81610c27565b92915050565b5f610c63610c5e84610bc8565b610bae565b90508083825260208201905060208402830185811115610c8657610c85610bf3565b5b835b81811015610caf5780610c9b8882610c3d565b845260208401935050602081019050610c88565b5050509392505050565b5f82601f830112610ccd57610ccc610b3c565b5b8135610cdd848260208601610c51565b91505092915050565b5f67ffffffffffffffff821115610d0057610cff610b50565b5b602082029050602081019050919050565b5f819050919050565b610d2381610d11565b8114610d2d575f80fd5b50565b5f81359050610d3e81610d1a565b92915050565b5f610d56610d5184610ce6565b610bae565b90508083825260208201905060208402830185811115610d7957610d78610bf3565b5b835b81811015610da25780610d8e8882610d30565b845260208401935050602081019050610d7b565b5050509392505050565b5f82601f830112610dc057610dbf610b3c565b5b8135610dd0848260208601610d44565b91505092915050565b5f8060408385031215610def57610dee610b34565b5b5f83013567ffffffffffffffff811115610e0c57610e0b610b38565b5b610e1885828601610cb9565b925050602083013567ffffffffffffffff811115610e3957610e38610b38565b5b610e4585828601610dac565b9150509250929050565b610e5881610c16565b82525050565b5f602082019050610e715f830184610e4f565b92915050565b5f819050919050565b5f610e9a610e95610e9084610bf7565b610e77565b610bf7565b9050919050565b5f610eab82610e80565b9050919050565b5f610ebc82610ea1565b9050919050565b610ecc81610eb2565b82525050565b5f602082019050610ee55f830184610ec3565b92915050565b5f60208284031215610f0057610eff610b34565b5b5f610f0d84828501610c3d565b91505092915050565b5f82825260208201905092915050565b7f4e6f7420746865206f776e6572000000000000000000000000000000000000005f82015250565b5f610f5a600d83610f16565b9150610f6582610f26565b602082019050919050565b5f6020820190508181035f830152610f8781610f4e565b9050919050565b7f4d69736d617463686564206172726179730000000000000000000000000000005f82015250565b5f610fc2601183610f16565b9150610fcd82610f8e565b602082019050919050565b5f6020820190508181035f830152610fef81610fb6565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b61102c81610d11565b82525050565b5f6040820190506110455f830185610e4f565b6110526020830184611023565b9392505050565b5f8115159050919050565b61106d81611059565b8114611077575f80fd5b50565b5f8151905061108881611064565b92915050565b5f602082840312156110a3576110a2610b34565b5b5f6110b08482850161107a565b91505092915050565b6110c281611059565b82525050565b5f6040820190506110db5f830185611023565b6110e860208301846110b9565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61112682610d11565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611158576111576110ef565b5b600182019050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f611197600f83610f16565b91506111a282611163565b602082019050919050565b5f6020820190508181035f8301526111c48161118b565b9050919050565b7f4e6f2066756e647320617661696c61626c6500000000000000000000000000005f82015250565b5f6111ff601283610f16565b915061120a826111cb565b602082019050919050565b5f6020820190508181035f83015261122c816111f3565b9050919050565b5f81905092915050565b50565b5f61124b5f83611233565b91506112568261123d565b5f82019050919050565b5f61126a82611240565b915081905091905056fea26469706673582212206d97c2567f72751096f09107c1c510320f5934e1c7bee9e0c9daf41edf62a07e64736f6c634300081400330000000000000000000000006d48206b97b164555c8fc7a40d59a7230e0551660000000000000000000000001509af4ada43817d1b93dff32288dc181c763f380000000000000000000000001509af4ada43817d1b93dff32288dc181c763f38
Deployed Bytecode
0x608060405260043610610089575f3560e01c8063d56fba6e11610058578063d56fba6e1461013a578063da13b26914610164578063e086e5ec1461018c578063ebcd5186146101a2578063f8b7fabf146101ca57610090565b80630467f4001461009457806309094f7a146100bc5780638da5cb5b146100e6578063b8972db51461011057610090565b3661009057005b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b59190610dd9565b6101f2565b005b3480156100c7575f80fd5b506100d061043f565b6040516100dd9190610e5e565b60405180910390f35b3480156100f1575f80fd5b506100fa610464565b6040516101079190610e5e565b60405180910390f35b34801561011b575f80fd5b50610124610489565b6040516101319190610ed2565b60405180910390f35b348015610145575f80fd5b5061014e6104ac565b60405161015b9190610e5e565b60405180910390f35b34801561016f575f80fd5b5061018a60048036038101906101859190610eeb565b6104d1565b005b348015610197575f80fd5b506101a0610654565b005b3480156101ad575f80fd5b506101c860048036038101906101c39190610eeb565b610791565b005b3480156101d5575f80fd5b506101f060048036038101906101eb9190610dd9565b610914565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027890610f70565b60405180910390fd5b80518251146102c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bc90610fd8565b60405180910390fd5b5f5b825181101561043a575f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8584815181106103205761031f610ff6565b5b602002602001015185858151811061033b5761033a610ff6565b5b60200260200101516040518363ffffffff1660e01b8152600401610360929190611032565b6020604051808303815f875af115801561037c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a0919061108e565b90508382815181106103b5576103b4610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fbef0e6dd650e1263f838ed4d5296fbea6149a603d2511bfbc28f3bf20c049e7484848151811061040757610406610ff6565b5b60200260200101518360405161041e9291906110c8565b60405180910390a25080806104329061111c565b9150506102c7565b505050565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790610f70565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036105ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c5906111ad565b60405180910390fd5b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f43ecf1c5d050afe90ee075fb61594a1e3474bed7308a17af879194643cde074060405160405180910390a250565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106da90610f70565b60405180910390fd5b5f4790505f8111610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090611215565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561078d573d5f803e3d5ffd5b5050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081790610f70565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361088e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610885906111ad565b60405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fc662446a49afbf43e6c6fe4e119f7b67ad4bfb1ca1019d6ae8e1b334d3e5e73660405160405180910390a250565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90610f70565b60405180910390fd5b80518251146109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109de90610fd8565b60405180910390fd5b5f5b8251811015610b26575f838281518110610a0657610a05610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16838381518110610a3757610a36610ff6565b5b6020026020010151604051610a4b90611260565b5f6040518083038185875af1925050503d805f8114610a85576040519150601f19603f3d011682016040523d82523d5f602084013e610a8a565b606091505b50509050838281518110610aa157610aa0610ff6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f059df968c9adece8df1523d75499edbdf139c8370ef919b603dfbd53b7ffe549848481518110610af357610af2610ff6565b5b602002602001015183604051610b0a9291906110c8565b60405180910390a2508080610b1e9061111c565b9150506109e9565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610b8682610b40565b810181811067ffffffffffffffff82111715610ba557610ba4610b50565b5b80604052505050565b5f610bb7610b2b565b9050610bc38282610b7d565b919050565b5f67ffffffffffffffff821115610be257610be1610b50565b5b602082029050602081019050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610c2082610bf7565b9050919050565b610c3081610c16565b8114610c3a575f80fd5b50565b5f81359050610c4b81610c27565b92915050565b5f610c63610c5e84610bc8565b610bae565b90508083825260208201905060208402830185811115610c8657610c85610bf3565b5b835b81811015610caf5780610c9b8882610c3d565b845260208401935050602081019050610c88565b5050509392505050565b5f82601f830112610ccd57610ccc610b3c565b5b8135610cdd848260208601610c51565b91505092915050565b5f67ffffffffffffffff821115610d0057610cff610b50565b5b602082029050602081019050919050565b5f819050919050565b610d2381610d11565b8114610d2d575f80fd5b50565b5f81359050610d3e81610d1a565b92915050565b5f610d56610d5184610ce6565b610bae565b90508083825260208201905060208402830185811115610d7957610d78610bf3565b5b835b81811015610da25780610d8e8882610d30565b845260208401935050602081019050610d7b565b5050509392505050565b5f82601f830112610dc057610dbf610b3c565b5b8135610dd0848260208601610d44565b91505092915050565b5f8060408385031215610def57610dee610b34565b5b5f83013567ffffffffffffffff811115610e0c57610e0b610b38565b5b610e1885828601610cb9565b925050602083013567ffffffffffffffff811115610e3957610e38610b38565b5b610e4585828601610dac565b9150509250929050565b610e5881610c16565b82525050565b5f602082019050610e715f830184610e4f565b92915050565b5f819050919050565b5f610e9a610e95610e9084610bf7565b610e77565b610bf7565b9050919050565b5f610eab82610e80565b9050919050565b5f610ebc82610ea1565b9050919050565b610ecc81610eb2565b82525050565b5f602082019050610ee55f830184610ec3565b92915050565b5f60208284031215610f0057610eff610b34565b5b5f610f0d84828501610c3d565b91505092915050565b5f82825260208201905092915050565b7f4e6f7420746865206f776e6572000000000000000000000000000000000000005f82015250565b5f610f5a600d83610f16565b9150610f6582610f26565b602082019050919050565b5f6020820190508181035f830152610f8781610f4e565b9050919050565b7f4d69736d617463686564206172726179730000000000000000000000000000005f82015250565b5f610fc2601183610f16565b9150610fcd82610f8e565b602082019050919050565b5f6020820190508181035f830152610fef81610fb6565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b61102c81610d11565b82525050565b5f6040820190506110455f830185610e4f565b6110526020830184611023565b9392505050565b5f8115159050919050565b61106d81611059565b8114611077575f80fd5b50565b5f8151905061108881611064565b92915050565b5f602082840312156110a3576110a2610b34565b5b5f6110b08482850161107a565b91505092915050565b6110c281611059565b82525050565b5f6040820190506110db5f830185611023565b6110e860208301846110b9565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61112682610d11565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611158576111576110ef565b5b600182019050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f611197600f83610f16565b91506111a282611163565b602082019050919050565b5f6020820190508181035f8301526111c48161118b565b9050919050565b7f4e6f2066756e647320617661696c61626c6500000000000000000000000000005f82015250565b5f6111ff601283610f16565b915061120a826111cb565b602082019050919050565b5f6020820190508181035f83015261122c816111f3565b9050919050565b5f81905092915050565b50565b5f61124b5f83611233565b91506112568261123d565b5f82019050919050565b5f61126a82611240565b915081905091905056fea26469706673582212206d97c2567f72751096f09107c1c510320f5934e1c7bee9e0c9daf41edf62a07e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006d48206b97b164555c8fc7a40d59a7230e0551660000000000000000000000001509af4ada43817d1b93dff32288dc181c763f380000000000000000000000001509af4ada43817d1b93dff32288dc181c763f38
-----Decoded View---------------
Arg [0] : _sendToken (address): 0x6D48206b97B164555C8fC7a40D59A7230E055166
Arg [1] : _ethWallet (address): 0x1509aF4ada43817d1B93dff32288Dc181C763f38
Arg [2] : _sendWallet (address): 0x1509aF4ada43817d1B93dff32288Dc181C763f38
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006d48206b97b164555c8fc7a40d59a7230e055166
Arg [1] : 0000000000000000000000001509af4ada43817d1b93dff32288dc181c763f38
Arg [2] : 0000000000000000000000001509af4ada43817d1b93dff32288dc181c763f38
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.