Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 400 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Recover Token | 20950742 | 109 days ago | IN | 0 ETH | 0.0008336 | ||||
Buy Tokens | 20950525 | 109 days ago | IN | 0.19239 ETH | 0.00118273 | ||||
Buy Tokens | 20950431 | 109 days ago | IN | 0.17 ETH | 0.00141614 | ||||
Buy Tokens | 20950162 | 109 days ago | IN | 0.019 ETH | 0.00260646 | ||||
Buy Tokens | 20949126 | 109 days ago | IN | 0.2 ETH | 0.00049742 | ||||
Buy Tokens | 20949093 | 109 days ago | IN | 0.063 ETH | 0.00049362 | ||||
Buy Tokens | 20948675 | 109 days ago | IN | 0.17 ETH | 0.00053279 | ||||
Buy Tokens | 20948503 | 109 days ago | IN | 0.004 ETH | 0.00080857 | ||||
Buy Tokens | 20947738 | 109 days ago | IN | 0.007 ETH | 0.00046833 | ||||
Buy Tokens | 20947690 | 109 days ago | IN | 0.00817 ETH | 0.00057276 | ||||
Buy Tokens | 20945506 | 109 days ago | IN | 1.13 ETH | 0.00061756 | ||||
Buy Tokens | 20945478 | 109 days ago | IN | 1 ETH | 0.00072469 | ||||
Buy Tokens | 20945352 | 109 days ago | IN | 0.504 ETH | 0.00061558 | ||||
Buy Tokens | 20944109 | 109 days ago | IN | 0.2 ETH | 0.00151878 | ||||
Buy Tokens | 20942202 | 110 days ago | IN | 0.108 ETH | 0.00102672 | ||||
Buy Tokens | 20941349 | 110 days ago | IN | 0.8 ETH | 0.00132964 | ||||
Buy Tokens | 20936550 | 111 days ago | IN | 0.518 ETH | 0.00213941 | ||||
Buy Tokens | 20936377 | 111 days ago | IN | 0.2256 ETH | 0.00196844 | ||||
Buy Tokens | 20934852 | 111 days ago | IN | 0.087 ETH | 0.00075773 | ||||
Buy Tokens | 20934689 | 111 days ago | IN | 0.6635 ETH | 0.00064959 | ||||
Buy Tokens | 20929623 | 111 days ago | IN | 0.004 ETH | 0.00165434 | ||||
Buy Tokens | 20929588 | 112 days ago | IN | 0.02 ETH | 0.00158453 | ||||
Buy Tokens | 20929574 | 112 days ago | IN | 0.057 ETH | 0.00233523 | ||||
Buy Tokens | 20924205 | 112 days ago | IN | 0.014 ETH | 0.00076207 | ||||
Buy Tokens | 20924182 | 112 days ago | IN | 0.01589841 ETH | 0.00081486 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20950525 | 109 days ago | 0.19239 ETH | ||||
20950431 | 109 days ago | 0.17 ETH | ||||
20950162 | 109 days ago | 0.019 ETH | ||||
20949126 | 109 days ago | 0.2 ETH | ||||
20949093 | 109 days ago | 0.063 ETH | ||||
20948675 | 109 days ago | 0.17 ETH | ||||
20948503 | 109 days ago | 0.004 ETH | ||||
20947738 | 109 days ago | 0.007 ETH | ||||
20947690 | 109 days ago | 0.00817 ETH | ||||
20945506 | 109 days ago | 1.13 ETH | ||||
20945478 | 109 days ago | 1 ETH | ||||
20945352 | 109 days ago | 0.504 ETH | ||||
20944109 | 109 days ago | 0.2 ETH | ||||
20942202 | 110 days ago | 0.108 ETH | ||||
20941349 | 110 days ago | 0.8 ETH | ||||
20936550 | 111 days ago | 0.518 ETH | ||||
20936377 | 111 days ago | 0.2256 ETH | ||||
20934852 | 111 days ago | 0.087 ETH | ||||
20934689 | 111 days ago | 0.6635 ETH | ||||
20929623 | 111 days ago | 0.004 ETH | ||||
20929588 | 112 days ago | 0.02 ETH | ||||
20929574 | 112 days ago | 0.057 ETH | ||||
20924205 | 112 days ago | 0.014 ETH | ||||
20924182 | 112 days ago | 0.01589841 ETH | ||||
20924008 | 112 days ago | 0.004293 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
ICO
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-05-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.24; interface IERC20{ function transfer(address to, uint256 numberOfTokens) external; function balanceOf(address account) external view returns (uint256); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } 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 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); } } contract ICO is Ownable{ IERC20 public token; // The token being sold uint256 public tokenPrice; // Price of each token in Wei // Event token purchase event TokensPurchased(address buyer, uint256 amount, uint256 ethAmount); // Event recover token event RecoveredToken(uint256 recoverToken); // Event change price event PriceChanged(uint256 newPrice); constructor(address _tokenAddress, uint256 _tokenPriceInWei) Ownable(msg.sender) { token = IERC20(_tokenAddress); tokenPrice = _tokenPriceInWei; } /* * @notice Allows users to buy tokens by sending ETH to the contract. * @dev Users must send more then zero ETH * The contract calculates the total cost based on the number of tokens requested * and the current token price. * If the amount of ETH sent is 0, the transaction reverts. * @return No return value. Emits a TokensPurchased event upon successful token purchase. */ function buyTokens() external payable { require(msg.value > 0, "Your are send zero amount of ETH"); uint256 tokenAmount = calculateTokenAmount(msg.value); token.transfer(msg.sender,tokenAmount ); payable(owner()).transfer(msg.value); emit TokensPurchased(msg.sender, tokenAmount, msg.value); } //function to calculate how many tokne you get //always enter amount in Wei function calculateTokenAmount(uint256 amount) public view returns(uint256){ return (amount * 10**18) / tokenPrice; } /* * @notice Allows the contract owner to recover any excess tokens left in the contract. * @dev Only the contract owner can call this function. * It retrieves the token balance of the contract and transfers the entire balance of tokens * to the owner's address. * If there are no excess tokens to recover, the transaction reverts. * @return No return value. */ function recoverToken() external onlyOwner { uint256 tokenBalance = token.balanceOf(address(this)); require(tokenBalance > 0,"Not sufficient token balance"); token.transfer((owner()), tokenBalance); emit RecoveredToken(tokenBalance); } // change price function //enter price always in wei value function changeTokenPrice(uint256 price) external onlyOwner { tokenPrice = price; emit PriceChanged(tokenPrice); } /** * @notice Retrieves the number of tokens available in the ICO contract. * @dev This function allows external callers to check the balance of tokens held by the ICO contract. * @return The number of tokens available in the ICO contract. */ function availableToken() external view returns(uint256){ return token.balanceOf(address(this)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenPriceInWei","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"recoverToken","type":"uint256"}],"name":"RecoveredToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"inputs":[],"name":"availableToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"changeTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405162000f3438038062000f34833981810160405281019062000036919062000269565b335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000aa575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a19190620002bf565b60405180910390fd5b620000bb816200010b60201b60201c565b508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806002819055505050620002da565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620001fb82620001d0565b9050919050565b6200020d81620001ef565b811462000218575f80fd5b50565b5f815190506200022b8162000202565b92915050565b5f819050919050565b620002458162000231565b811462000250575f80fd5b50565b5f8151905062000263816200023a565b92915050565b5f8060408385031215620002825762000281620001cc565b5b5f62000291858286016200021b565b9250506020620002a48582860162000253565b9150509250929050565b620002b981620001ef565b82525050565b5f602082019050620002d45f830184620002ae565b92915050565b610c4c80620002e85f395ff3fe608060405260043610610085575f3560e01c8063a24bcf4611610058578063a24bcf461461011d578063d0febe4c14610159578063f2fde38b14610163578063fbc94f241461018b578063fc0c546a146101b357610085565b8063564b28a0146100895780635f867d4e146100b35780637ff9b596146100c95780638da5cb5b146100f3575b5f80fd5b348015610094575f80fd5b5061009d6101dd565b6040516100aa919061083d565b60405180910390f35b3480156100be575f80fd5b506100c761027c565b005b3480156100d4575f80fd5b506100dd61042c565b6040516100ea919061083d565b60405180910390f35b3480156100fe575f80fd5b50610107610432565b6040516101149190610895565b60405180910390f35b348015610128575f80fd5b50610143600480360381019061013e91906108dc565b610459565b604051610150919061083d565b60405180910390f35b610161610482565b005b34801561016e575f80fd5b5061018960048036038101906101849190610931565b6105e2565b005b348015610196575f80fd5b506101b160048036038101906101ac91906108dc565b610666565b005b3480156101be575f80fd5b506101c76106b1565b6040516101d491906109b7565b60405180910390f35b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102389190610895565b602060405180830381865afa158015610253573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027791906109e4565b905090565b6102846106d6565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102df9190610895565b602060405180830381865afa1580156102fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031e91906109e4565b90505f8111610362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035990610a69565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6103a7610432565b836040518363ffffffff1660e01b81526004016103c5929190610a87565b5f604051808303815f87803b1580156103dc575f80fd5b505af11580156103ee573d5f803e3d5ffd5b505050507f482b73dc05e4aeb0ef0aafad2e1e59f621222ab8f9e9dc866b47902334fd3e9681604051610421919061083d565b60405180910390a150565b60025481565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f600254670de0b6b3a7640000836104719190610adb565b61047b9190610b49565b9050919050565b5f34116104c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bb90610bc3565b60405180910390fd5b5f6104ce34610459565b905060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161052c929190610a87565b5f604051808303815f87803b158015610543575f80fd5b505af1158015610555573d5f803e3d5ffd5b50505050610561610432565b73ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f193505050501580156105a3573d5f803e3d5ffd5b507f8fafebcaf9d154343dad25669bfa277f4fbacd7ac6b0c4fed522580e040a0f333382346040516105d793929190610be1565b60405180910390a150565b6105ea6106d6565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361065a575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016106519190610895565b60405180910390fd5b6106638161075d565b50565b61066e6106d6565b806002819055507fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d6226002546040516106a6919061083d565b60405180910390a150565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106de61081e565b73ffffffffffffffffffffffffffffffffffffffff166106fc610432565b73ffffffffffffffffffffffffffffffffffffffff161461075b5761071f61081e565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016107529190610895565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f819050919050565b61083781610825565b82525050565b5f6020820190506108505f83018461082e565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61087f82610856565b9050919050565b61088f81610875565b82525050565b5f6020820190506108a85f830184610886565b92915050565b5f80fd5b6108bb81610825565b81146108c5575f80fd5b50565b5f813590506108d6816108b2565b92915050565b5f602082840312156108f1576108f06108ae565b5b5f6108fe848285016108c8565b91505092915050565b61091081610875565b811461091a575f80fd5b50565b5f8135905061092b81610907565b92915050565b5f60208284031215610946576109456108ae565b5b5f6109538482850161091d565b91505092915050565b5f819050919050565b5f61097f61097a61097584610856565b61095c565b610856565b9050919050565b5f61099082610965565b9050919050565b5f6109a182610986565b9050919050565b6109b181610997565b82525050565b5f6020820190506109ca5f8301846109a8565b92915050565b5f815190506109de816108b2565b92915050565b5f602082840312156109f9576109f86108ae565b5b5f610a06848285016109d0565b91505092915050565b5f82825260208201905092915050565b7f4e6f742073756666696369656e7420746f6b656e2062616c616e6365000000005f82015250565b5f610a53601c83610a0f565b9150610a5e82610a1f565b602082019050919050565b5f6020820190508181035f830152610a8081610a47565b9050919050565b5f604082019050610a9a5f830185610886565b610aa7602083018461082e565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610ae582610825565b9150610af083610825565b9250828202610afe81610825565b91508282048414831517610b1557610b14610aae565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f610b5382610825565b9150610b5e83610825565b925082610b6e57610b6d610b1c565b5b828204905092915050565b7f596f7572206172652073656e64207a65726f20616d6f756e74206f66204554485f82015250565b5f610bad602083610a0f565b9150610bb882610b79565b602082019050919050565b5f6020820190508181035f830152610bda81610ba1565b9050919050565b5f606082019050610bf45f830186610886565b610c01602083018561082e565b610c0e604083018461082e565b94935050505056fea2646970667358221220df37d847803515e1dddf988d7df64927cfaba0b285d4394654d863b12fc4bd2564736f6c634300081800330000000000000000000000004c5d8d027e97b52542dc66399752c76e017dc6e90000000000000000000000000000000000000000000000000000004f29944800
Deployed Bytecode
0x608060405260043610610085575f3560e01c8063a24bcf4611610058578063a24bcf461461011d578063d0febe4c14610159578063f2fde38b14610163578063fbc94f241461018b578063fc0c546a146101b357610085565b8063564b28a0146100895780635f867d4e146100b35780637ff9b596146100c95780638da5cb5b146100f3575b5f80fd5b348015610094575f80fd5b5061009d6101dd565b6040516100aa919061083d565b60405180910390f35b3480156100be575f80fd5b506100c761027c565b005b3480156100d4575f80fd5b506100dd61042c565b6040516100ea919061083d565b60405180910390f35b3480156100fe575f80fd5b50610107610432565b6040516101149190610895565b60405180910390f35b348015610128575f80fd5b50610143600480360381019061013e91906108dc565b610459565b604051610150919061083d565b60405180910390f35b610161610482565b005b34801561016e575f80fd5b5061018960048036038101906101849190610931565b6105e2565b005b348015610196575f80fd5b506101b160048036038101906101ac91906108dc565b610666565b005b3480156101be575f80fd5b506101c76106b1565b6040516101d491906109b7565b60405180910390f35b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102389190610895565b602060405180830381865afa158015610253573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027791906109e4565b905090565b6102846106d6565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102df9190610895565b602060405180830381865afa1580156102fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031e91906109e4565b90505f8111610362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035990610a69565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6103a7610432565b836040518363ffffffff1660e01b81526004016103c5929190610a87565b5f604051808303815f87803b1580156103dc575f80fd5b505af11580156103ee573d5f803e3d5ffd5b505050507f482b73dc05e4aeb0ef0aafad2e1e59f621222ab8f9e9dc866b47902334fd3e9681604051610421919061083d565b60405180910390a150565b60025481565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f600254670de0b6b3a7640000836104719190610adb565b61047b9190610b49565b9050919050565b5f34116104c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bb90610bc3565b60405180910390fd5b5f6104ce34610459565b905060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161052c929190610a87565b5f604051808303815f87803b158015610543575f80fd5b505af1158015610555573d5f803e3d5ffd5b50505050610561610432565b73ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f193505050501580156105a3573d5f803e3d5ffd5b507f8fafebcaf9d154343dad25669bfa277f4fbacd7ac6b0c4fed522580e040a0f333382346040516105d793929190610be1565b60405180910390a150565b6105ea6106d6565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361065a575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016106519190610895565b60405180910390fd5b6106638161075d565b50565b61066e6106d6565b806002819055507fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d6226002546040516106a6919061083d565b60405180910390a150565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106de61081e565b73ffffffffffffffffffffffffffffffffffffffff166106fc610432565b73ffffffffffffffffffffffffffffffffffffffff161461075b5761071f61081e565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016107529190610895565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f819050919050565b61083781610825565b82525050565b5f6020820190506108505f83018461082e565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61087f82610856565b9050919050565b61088f81610875565b82525050565b5f6020820190506108a85f830184610886565b92915050565b5f80fd5b6108bb81610825565b81146108c5575f80fd5b50565b5f813590506108d6816108b2565b92915050565b5f602082840312156108f1576108f06108ae565b5b5f6108fe848285016108c8565b91505092915050565b61091081610875565b811461091a575f80fd5b50565b5f8135905061092b81610907565b92915050565b5f60208284031215610946576109456108ae565b5b5f6109538482850161091d565b91505092915050565b5f819050919050565b5f61097f61097a61097584610856565b61095c565b610856565b9050919050565b5f61099082610965565b9050919050565b5f6109a182610986565b9050919050565b6109b181610997565b82525050565b5f6020820190506109ca5f8301846109a8565b92915050565b5f815190506109de816108b2565b92915050565b5f602082840312156109f9576109f86108ae565b5b5f610a06848285016109d0565b91505092915050565b5f82825260208201905092915050565b7f4e6f742073756666696369656e7420746f6b656e2062616c616e6365000000005f82015250565b5f610a53601c83610a0f565b9150610a5e82610a1f565b602082019050919050565b5f6020820190508181035f830152610a8081610a47565b9050919050565b5f604082019050610a9a5f830185610886565b610aa7602083018461082e565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610ae582610825565b9150610af083610825565b9250828202610afe81610825565b91508282048414831517610b1557610b14610aae565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f610b5382610825565b9150610b5e83610825565b925082610b6e57610b6d610b1c565b5b828204905092915050565b7f596f7572206172652073656e64207a65726f20616d6f756e74206f66204554485f82015250565b5f610bad602083610a0f565b9150610bb882610b79565b602082019050919050565b5f6020820190508181035f830152610bda81610ba1565b9050919050565b5f606082019050610bf45f830186610886565b610c01602083018561082e565b610c0e604083018461082e565b94935050505056fea2646970667358221220df37d847803515e1dddf988d7df64927cfaba0b285d4394654d863b12fc4bd2564736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004c5d8d027e97b52542dc66399752c76e017dc6e90000000000000000000000000000000000000000000000000000004f29944800
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x4c5d8D027E97b52542dC66399752c76E017Dc6E9
Arg [1] : _tokenPriceInWei (uint256): 340000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c5d8d027e97b52542dc66399752c76e017dc6e9
Arg [1] : 0000000000000000000000000000000000000000000000000000004f29944800
Deployed Bytecode Sourcemap
2651:2911:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5447:112;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4678:276;;;;;;;;;;;;;:::i;:::-;;2737:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1584:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4116:132;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3673:343;;;:::i;:::-;;2072:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5034:139;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2681:19;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5447:112;5495:7;5521:5;;;;;;;;;;;:15;;;5545:4;5521:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5514:37;;5447:112;:::o;4678:276::-;1469:13;:11;:13::i;:::-;4732:20:::1;4755:5;;;;;;;;;;;:15;;;4779:4;4755:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4732:53;;4819:1;4804:12;:16;4796:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;4863:5;;;;;;;;;;;:14;;;4879:7;:5;:7::i;:::-;4889:12;4863:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4918:28;4933:12;4918:28;;;;;;:::i;:::-;;;;;;;;4721:233;4678:276::o:0;2737:25::-;;;;:::o;1584:87::-;1630:7;1657:6;;;;;;;;;;;1650:13;;1584:87;:::o;4116:132::-;4183:7;4230:10;;4220:6;4211;:15;;;;:::i;:::-;4210:30;;;;:::i;:::-;4202:38;;4116:132;;;:::o;3673:343::-;3742:1;3730:9;:13;3722:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;3791:19;3813:31;3834:9;3813:20;:31::i;:::-;3791:53;;3855:5;;;;;;;;;;;:14;;;3870:10;3881:11;3855:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3913:7;:5;:7::i;:::-;3905:25;;:36;3931:9;3905:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3957:51;3973:10;3985:11;3998:9;3957:51;;;;;;;;:::i;:::-;;;;;;;;3711:305;3673:343::o;2072:220::-;1469:13;:11;:13::i;:::-;2177:1:::1;2157:22;;:8;:22;;::::0;2153:93:::1;;2231:1;2203:31;;;;;;;;;;;:::i;:::-;;;;;;;;2153:93;2256:28;2275:8;2256:18;:28::i;:::-;2072:220:::0;:::o;5034:139::-;1469:13;:11;:13::i;:::-;5118:5:::1;5105:10;:18;;;;5139:24;5152:10;;5139:24;;;;;;:::i;:::-;;;;;;;;5034:139:::0;:::o;2681:19::-;;;;;;;;;;;;;:::o;1750:166::-;1821:12;:10;:12::i;:::-;1810:23;;:7;:5;:7::i;:::-;:23;;;1806:103;;1884:12;:10;:12::i;:::-;1857:40;;;;;;;;;;;:::i;:::-;;;;;;;;1806:103;1750:166::o;2453:191::-;2527:16;2546:6;;;;;;;;;;;2527:25;;2572:8;2563:6;;:17;;;;;;;;;;;;;;;;;;2627:8;2596:40;;2617:8;2596:40;;;;;;;;;;;;2516:128;2453:191;:::o;255:98::-;308:7;335:10;328:17;;255:98;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:96::-;611:7;640:24;658:5;640:24;:::i;:::-;629:35;;574:96;;;:::o;676:118::-;763:24;781:5;763:24;:::i;:::-;758:3;751:37;676:118;;:::o;800:222::-;893:4;931:2;920:9;916:18;908:26;;944:71;1012:1;1001:9;997:17;988:6;944:71;:::i;:::-;800:222;;;;:::o;1109:117::-;1218:1;1215;1208:12;1355:122;1428:24;1446:5;1428:24;:::i;:::-;1421:5;1418:35;1408:63;;1467:1;1464;1457:12;1408:63;1355:122;:::o;1483:139::-;1529:5;1567:6;1554:20;1545:29;;1583:33;1610:5;1583:33;:::i;:::-;1483:139;;;;:::o;1628:329::-;1687:6;1736:2;1724:9;1715:7;1711:23;1707:32;1704:119;;;1742:79;;:::i;:::-;1704:119;1862:1;1887:53;1932:7;1923:6;1912:9;1908:22;1887:53;:::i;:::-;1877:63;;1833:117;1628:329;;;;:::o;1963:122::-;2036:24;2054:5;2036:24;:::i;:::-;2029:5;2026:35;2016:63;;2075:1;2072;2065:12;2016:63;1963:122;:::o;2091:139::-;2137:5;2175:6;2162:20;2153:29;;2191:33;2218:5;2191:33;:::i;:::-;2091:139;;;;:::o;2236:329::-;2295:6;2344:2;2332:9;2323:7;2319:23;2315:32;2312:119;;;2350:79;;:::i;:::-;2312:119;2470:1;2495:53;2540:7;2531:6;2520:9;2516:22;2495:53;:::i;:::-;2485:63;;2441:117;2236:329;;;;:::o;2571:60::-;2599:3;2620:5;2613:12;;2571:60;;;:::o;2637:142::-;2687:9;2720:53;2738:34;2747:24;2765:5;2747:24;:::i;:::-;2738:34;:::i;:::-;2720:53;:::i;:::-;2707:66;;2637:142;;;:::o;2785:126::-;2835:9;2868:37;2899:5;2868:37;:::i;:::-;2855:50;;2785:126;;;:::o;2917:139::-;2980:9;3013:37;3044:5;3013:37;:::i;:::-;3000:50;;2917:139;;;:::o;3062:157::-;3162:50;3206:5;3162:50;:::i;:::-;3157:3;3150:63;3062:157;;:::o;3225:248::-;3331:4;3369:2;3358:9;3354:18;3346:26;;3382:84;3463:1;3452:9;3448:17;3439:6;3382:84;:::i;:::-;3225:248;;;;:::o;3479:143::-;3536:5;3567:6;3561:13;3552:22;;3583:33;3610:5;3583:33;:::i;:::-;3479:143;;;;:::o;3628:351::-;3698:6;3747:2;3735:9;3726:7;3722:23;3718:32;3715:119;;;3753:79;;:::i;:::-;3715:119;3873:1;3898:64;3954:7;3945:6;3934:9;3930:22;3898:64;:::i;:::-;3888:74;;3844:128;3628:351;;;;:::o;3985:169::-;4069:11;4103:6;4098:3;4091:19;4143:4;4138:3;4134:14;4119:29;;3985:169;;;;:::o;4160:178::-;4300:30;4296:1;4288:6;4284:14;4277:54;4160:178;:::o;4344:366::-;4486:3;4507:67;4571:2;4566:3;4507:67;:::i;:::-;4500:74;;4583:93;4672:3;4583:93;:::i;:::-;4701:2;4696:3;4692:12;4685:19;;4344:366;;;:::o;4716:419::-;4882:4;4920:2;4909:9;4905:18;4897:26;;4969:9;4963:4;4959:20;4955:1;4944:9;4940:17;4933:47;4997:131;5123:4;4997:131;:::i;:::-;4989:139;;4716:419;;;:::o;5141:332::-;5262:4;5300:2;5289:9;5285:18;5277:26;;5313:71;5381:1;5370:9;5366:17;5357:6;5313:71;:::i;:::-;5394:72;5462:2;5451:9;5447:18;5438:6;5394:72;:::i;:::-;5141:332;;;;;:::o;5479:180::-;5527:77;5524:1;5517:88;5624:4;5621:1;5614:15;5648:4;5645:1;5638:15;5665:410;5705:7;5728:20;5746:1;5728:20;:::i;:::-;5723:25;;5762:20;5780:1;5762:20;:::i;:::-;5757:25;;5817:1;5814;5810:9;5839:30;5857:11;5839:30;:::i;:::-;5828:41;;6018:1;6009:7;6005:15;6002:1;5999:22;5979:1;5972:9;5952:83;5929:139;;6048:18;;:::i;:::-;5929:139;5713:362;5665:410;;;;:::o;6081:180::-;6129:77;6126:1;6119:88;6226:4;6223:1;6216:15;6250:4;6247:1;6240:15;6267:185;6307:1;6324:20;6342:1;6324:20;:::i;:::-;6319:25;;6358:20;6376:1;6358:20;:::i;:::-;6353:25;;6397:1;6387:35;;6402:18;;:::i;:::-;6387:35;6444:1;6441;6437:9;6432:14;;6267:185;;;;:::o;6458:182::-;6598:34;6594:1;6586:6;6582:14;6575:58;6458:182;:::o;6646:366::-;6788:3;6809:67;6873:2;6868:3;6809:67;:::i;:::-;6802:74;;6885:93;6974:3;6885:93;:::i;:::-;7003:2;6998:3;6994:12;6987:19;;6646:366;;;:::o;7018:419::-;7184:4;7222:2;7211:9;7207:18;7199:26;;7271:9;7265:4;7261:20;7257:1;7246:9;7242:17;7235:47;7299:131;7425:4;7299:131;:::i;:::-;7291:139;;7018:419;;;:::o;7443:442::-;7592:4;7630:2;7619:9;7615:18;7607:26;;7643:71;7711:1;7700:9;7696:17;7687:6;7643:71;:::i;:::-;7724:72;7792:2;7781:9;7777:18;7768:6;7724:72;:::i;:::-;7806;7874:2;7863:9;7859:18;7850:6;7806:72;:::i;:::-;7443:442;;;;;;:::o
Swarm Source
ipfs://df37d847803515e1dddf988d7df64927cfaba0b285d4394654d863b12fc4bd25
Loading...
Loading
Loading...
Loading
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.