More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 96 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 7119472 | 2199 days ago | IN | 7.49239998 ETH | 0.00078289 | ||||
Buy Token With E... | 7118661 | 2199 days ago | IN | 2.32 ETH | 0.00030093 | ||||
Transfer | 7118597 | 2199 days ago | IN | 14.99498589 ETH | 0.00049344 | ||||
Transfer | 7118594 | 2199 days ago | IN | 1.004544 ETH | 0.00044858 | ||||
Transfer | 7118592 | 2199 days ago | IN | 1.004544 ETH | 0.00044858 | ||||
Transfer | 7118590 | 2199 days ago | IN | 14.999544 ETH | 0.00045409 | ||||
Buy Token With E... | 7118581 | 2199 days ago | IN | 1 ETH | 0.00028664 | ||||
Transfer | 7118555 | 2199 days ago | IN | 1.004544 ETH | 0.00044858 | ||||
Transfer | 7118551 | 2199 days ago | IN | 0.440754 ETH | 0.00044445 | ||||
Transfer | 7118526 | 2199 days ago | IN | 1.004544 ETH | 0.00044858 | ||||
Buy Token With E... | 7118521 | 2199 days ago | IN | 1 ETH | 0.00037593 | ||||
Transfer | 7118512 | 2199 days ago | IN | 0.409544 ETH | 0.00044445 | ||||
Transfer | 7118500 | 2199 days ago | IN | 0.41534989 ETH | 0.00037037 | ||||
Buy Token With E... | 7118481 | 2199 days ago | IN | 5.49 ETH | 0.00023613 | ||||
Transfer | 7118465 | 2199 days ago | IN | 5.499392 ETH | 0.00060496 | ||||
Transfer | 7118452 | 2199 days ago | IN | 0.257305 ETH | 0.0005926 | ||||
Transfer | 7118449 | 2199 days ago | IN | 2.005392 ETH | 0.00059811 | ||||
Buy Token With E... | 7118444 | 2199 days ago | IN | 5 ETH | 0.00039355 | ||||
Transfer | 7118442 | 2199 days ago | IN | 0.777878 ETH | 0.00051852 | ||||
Transfer | 7118440 | 2199 days ago | IN | 0.14524549 ETH | 0.00051852 | ||||
Buy Token With E... | 7118404 | 2199 days ago | IN | 1 ETH | 0.00022555 | ||||
Buy Token With E... | 7118228 | 2199 days ago | IN | 22.9 ETH | 0.00037197 | ||||
Transfer | 7118222 | 2199 days ago | IN | 22.9990899 ETH | 0.00045409 | ||||
Transfer | 7118217 | 2199 days ago | IN | 22.999544 ETH | 0.00045409 | ||||
Transfer | 7117958 | 2199 days ago | IN | 0.352164 ETH | 0.00081482 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
7119472 | 2199 days ago | 7.49239998 ETH | ||||
7118661 | 2199 days ago | 2.32 ETH | ||||
7118597 | 2199 days ago | 14.99498589 ETH | ||||
7118594 | 2199 days ago | 1.004544 ETH | ||||
7118592 | 2199 days ago | 1.004544 ETH | ||||
7118590 | 2199 days ago | 14.999544 ETH | ||||
7118581 | 2199 days ago | 1 ETH | ||||
7118555 | 2199 days ago | 1.004544 ETH | ||||
7118551 | 2199 days ago | 0.440754 ETH | ||||
7118526 | 2199 days ago | 1.004544 ETH | ||||
7118521 | 2199 days ago | 1 ETH | ||||
7118512 | 2199 days ago | 0.409544 ETH | ||||
7118500 | 2199 days ago | 0.41534989 ETH | ||||
7118481 | 2199 days ago | 5.49 ETH | ||||
7118465 | 2199 days ago | 5.499392 ETH | ||||
7118452 | 2199 days ago | 0.257305 ETH | ||||
7118449 | 2199 days ago | 2.005392 ETH | ||||
7118444 | 2199 days ago | 5 ETH | ||||
7118442 | 2199 days ago | 0.777878 ETH | ||||
7118440 | 2199 days ago | 0.14524549 ETH | ||||
7118404 | 2199 days ago | 1 ETH | ||||
7118228 | 2199 days ago | 22.9 ETH | ||||
7118222 | 2199 days ago | 22.9990899 ETH | ||||
7118217 | 2199 days ago | 22.999544 ETH | ||||
7117958 | 2199 days ago | 0.352164 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TokenSale
Compiler Version
v0.5.2+commit.1df8f40c
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-12-30 */ pragma solidity > 0.4.99 <0.6.0; interface IERC20Token { function balanceOf(address owner) external returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function burn(uint256 _value) external returns (bool); function decimals() external returns (uint256); function approve(address _spender, uint256 _value) external returns (bool success); function transferFrom(address _from, address _to, uint256 _value) external returns (bool success); } contract Ownable { address payable public _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() internal { _owner = tx.origin; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns(address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns(bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address payable newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address payable newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract TokenSale is Ownable { using SafeMath for uint256; string public constant createdBy = "AssetSplit.org - the guys who cut the pizza"; IERC20Token public tokenContract; uint256 public tokenPerEther; uint256 public tokensSold; uint256 public earlyBirdsPaid = 0; uint256 public earlyBirdBonus = 5; uint256 public earlyBirdValue = 900; uint256 public bonusStage1; uint256 public bonusStage2; uint256 public bonusStage3; uint256 public bonusPercentage1; uint256 public bonusPercentage2; uint256 public bonusPercentage3; event Sold(address buyer, uint256 amount); constructor(address _tokenContract, uint256 _tokenPerEther, uint256 _bonusStage1, uint256 _bonusPercentage1, uint256 _bonusStage2, uint256 _bonusPercentage2, uint256 _bonusStage3, uint256 _bonusPercentage3) public { tokenContract = IERC20Token(_tokenContract); tokenPerEther = _tokenPerEther; bonusStage1 = _bonusStage1.mul(1 ether); bonusStage2 = _bonusStage2.mul(1 ether); bonusStage3 = _bonusStage3.mul(1 ether); bonusPercentage1 = _bonusPercentage1; bonusPercentage2 = _bonusPercentage2; bonusPercentage3 = _bonusPercentage3; } function buyTokenWithEther() public payable { address payable creator = _owner; uint256 scaledAmount; require(msg.value > 0); if (msg.value < bonusStage1 || bonusStage1 == 0) { scaledAmount = msg.value.mul(tokenPerEther).mul(uint256(10) ** tokenContract.decimals()).div(10 ** 18); } if (bonusStage1 != 0 && msg.value >= bonusStage1) { scaledAmount = msg.value.mul(tokenPerEther).mul(uint256(10) ** tokenContract.decimals()).div(10 ** 18).mul(bonusPercentage1).div(100); } if (bonusStage2 != 0 && msg.value >= bonusStage2) { scaledAmount = msg.value.mul(tokenPerEther).mul(uint256(10) ** tokenContract.decimals()).div(10 ** 18).mul(bonusPercentage2).div(100); } if (bonusStage3 != 0 && msg.value >= bonusStage3) { scaledAmount = msg.value.mul(tokenPerEther).mul(uint256(10) ** tokenContract.decimals()).div(10 ** 18).mul(bonusPercentage3).div(100); if (earlyBirdsPaid < earlyBirdBonus) { earlyBirdsPaid = earlyBirdsPaid.add(1); scaledAmount = scaledAmount.add((earlyBirdValue).mul(uint256(10) ** tokenContract.decimals())); } } require(tokenContract.balanceOf(address(this)) >= scaledAmount); emit Sold(msg.sender, scaledAmount); tokensSold = tokensSold.add(scaledAmount); creator.transfer(address(this).balance); require(tokenContract.transfer(msg.sender, scaledAmount)); } function () external payable { buyTokenWithEther(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"bonusPercentage3","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenPerEther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"createdBy","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusPercentage2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bonusStage1","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"earlyBirdsPaid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"earlyBirdValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyTokenWithEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"bonusPercentage1","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"earlyBirdBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusStage3","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusStage2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_tokenContract","type":"address"},{"name":"_tokenPerEther","type":"uint256"},{"name":"_bonusStage1","type":"uint256"},{"name":"_bonusPercentage1","type":"uint256"},{"name":"_bonusStage2","type":"uint256"},{"name":"_bonusPercentage2","type":"uint256"},{"name":"_bonusStage3","type":"uint256"},{"name":"_bonusPercentage3","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"buyer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Sold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60806040526000600455600580556103846006553480156200002057600080fd5b50604051610100806200150883398101806040526101008110156200004457600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050326000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a387600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600281905550620001ca670de0b6b3a76400008762000255640100000000026200109f179091906401000000009004565b600781905550620001fb670de0b6b3a76400008562000255640100000000026200109f179091906401000000009004565b6008819055506200022c670de0b6b3a76400008362000255640100000000026200109f179091906401000000009004565b60098190555084600a8190555082600b8190555080600c81905550505050505050505062000294565b6000808314156200026a57600090506200028e565b600082840290508284828115156200027e57fe5b041415156200028957fe5b809150505b92915050565b61126480620002a46000396000f3fe608060405260043610610131576000357c0100000000000000000000000000000000000000000000000000000000900480638f32d59b116100bd578063b2bdfa7b11610081578063b2bdfa7b14610421578063cf25a21814610478578063e3a269dc146104a3578063ecc4cd7d146104ce578063f2fde38b146104f957610131565b80638f32d59b146103675780639ad8d556146103965780639b77f0e0146103c15780639c38a3ae146103ec578063a007b314146103f657610131565b806355a373d61161010457806355a373d61461024c5780635b749ae6146102a3578063715018a6146102ce5780638d0caef5146102e55780638da5cb5b1461031057610131565b8063189d0c021461013b5780632f77dba4146101665780633a5673a414610191578063518ab2a814610221575b61013961054a565b005b34801561014757600080fd5b50610150610e84565b6040518082815260200191505060405180910390f35b34801561017257600080fd5b5061017b610e8a565b6040518082815260200191505060405180910390f35b34801561019d57600080fd5b506101a6610e90565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101e65780820151818401526020810190506101cb565b50505050905090810190601f1680156102135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022d57600080fd5b50610236610ead565b6040518082815260200191505060405180910390f35b34801561025857600080fd5b50610261610eb3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102af57600080fd5b506102b8610ed9565b6040518082815260200191505060405180910390f35b3480156102da57600080fd5b506102e3610edf565b005b3480156102f157600080fd5b506102fa610fb1565b6040518082815260200191505060405180910390f35b34801561031c57600080fd5b50610325610fb7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037357600080fd5b5061037c610fe0565b604051808215151515815260200191505060405180910390f35b3480156103a257600080fd5b506103ab611037565b6040518082815260200191505060405180910390f35b3480156103cd57600080fd5b506103d661103d565b6040518082815260200191505060405180910390f35b6103f461054a565b005b34801561040257600080fd5b5061040b611043565b6040518082815260200191505060405180910390f35b34801561042d57600080fd5b50610436611049565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561048457600080fd5b5061048d61106e565b6040518082815260200191505060405180910390f35b3480156104af57600080fd5b506104b8611074565b6040518082815260200191505060405180910390f35b3480156104da57600080fd5b506104e361107a565b6040518082815260200191505060405180910390f35b34801561050557600080fd5b506105486004803603602081101561051c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611080565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000803411151561058057600080fd5b60075434108061059257506000600754145b1561069e5761069b670de0b6b3a764000061068d600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561062c57600080fd5b505af1158015610640573d6000803e3d6000fd5b505050506040513d602081101561065657600080fd5b8101908080519060200190929190505050600a0a61067f6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b6000600754141580156106b357506007543410155b156107e6576107e360646107d5600a546107c7670de0b6b3a76400006107b9600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b505050506040513d602081101561078257600080fd5b8101908080519060200190929190505050600a0a6107ab6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b6000600854141580156107fb57506008543410155b1561092e5761092b606461091d600b5461090f670de0b6b3a7640000610901600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050506040513d60208110156108ca57600080fd5b8101908080519060200190929190505050600a0a6108f36002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b60006009541415801561094357506009543410155b15610b8b57610a736064610a65600c54610a57670de0b6b3a7640000610a49600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156109e857600080fd5b505af11580156109fc573d6000803e3d6000fd5b505050506040513d6020811015610a1257600080fd5b8101908080519060200190929190505050600a0a610a3b6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90506005546004541015610b8a57610a9760016004546110f590919063ffffffff16565b600481905550610b87610b78600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b505050506040513d6020811015610b5357600080fd5b8101908080519060200190929190505050600a0a60065461109f90919063ffffffff16565b826110f590919063ffffffff16565b90505b5b80600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610c4957600080fd5b505af1158015610c5d573d6000803e3d6000fd5b505050506040513d6020811015610c7357600080fd5b810190808051906020019092919050505010151515610c9157600080fd5b7fae92ab4b6f8f401ead768d3273e6bb937a13e39827d19c6376e8fd4512a05d9a3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610d11816003546110f590919063ffffffff16565b6003819055508173ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610d74573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e3a57600080fd5b505af1158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b81019080805190602001909291905050501515610e8057600080fd5b5050565b600c5481565b60025481565b606060405190810160405280602b815260200161120e602b913981565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b610ee7610fe0565b1515610ef257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b60045481565b60065481565b600a5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60095481565b60085481565b611088610fe0565b151561109357600080fd5b61109c81611113565b50565b6000808314156110b257600090506110d4565b600082840290508284828115156110c557fe5b041415156110cf57fe5b809150505b92915050565b60008082848115156110e857fe5b0490508091505092915050565b600080828401905083811015151561110957fe5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561114f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe417373657453706c69742e6f7267202d2074686520677579732077686f20637574207468652070697a7a61a165627a7a72305820f83b46a4180fa9616e0afdf1170ba5ae22638e62e67fa2925949579f143c366b00290000000000000000000000002d1e23144b89fc7364ed3efcd5af04093f7d9a3d00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000069000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000006e
Deployed Bytecode
0x608060405260043610610131576000357c0100000000000000000000000000000000000000000000000000000000900480638f32d59b116100bd578063b2bdfa7b11610081578063b2bdfa7b14610421578063cf25a21814610478578063e3a269dc146104a3578063ecc4cd7d146104ce578063f2fde38b146104f957610131565b80638f32d59b146103675780639ad8d556146103965780639b77f0e0146103c15780639c38a3ae146103ec578063a007b314146103f657610131565b806355a373d61161010457806355a373d61461024c5780635b749ae6146102a3578063715018a6146102ce5780638d0caef5146102e55780638da5cb5b1461031057610131565b8063189d0c021461013b5780632f77dba4146101665780633a5673a414610191578063518ab2a814610221575b61013961054a565b005b34801561014757600080fd5b50610150610e84565b6040518082815260200191505060405180910390f35b34801561017257600080fd5b5061017b610e8a565b6040518082815260200191505060405180910390f35b34801561019d57600080fd5b506101a6610e90565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101e65780820151818401526020810190506101cb565b50505050905090810190601f1680156102135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022d57600080fd5b50610236610ead565b6040518082815260200191505060405180910390f35b34801561025857600080fd5b50610261610eb3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102af57600080fd5b506102b8610ed9565b6040518082815260200191505060405180910390f35b3480156102da57600080fd5b506102e3610edf565b005b3480156102f157600080fd5b506102fa610fb1565b6040518082815260200191505060405180910390f35b34801561031c57600080fd5b50610325610fb7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037357600080fd5b5061037c610fe0565b604051808215151515815260200191505060405180910390f35b3480156103a257600080fd5b506103ab611037565b6040518082815260200191505060405180910390f35b3480156103cd57600080fd5b506103d661103d565b6040518082815260200191505060405180910390f35b6103f461054a565b005b34801561040257600080fd5b5061040b611043565b6040518082815260200191505060405180910390f35b34801561042d57600080fd5b50610436611049565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561048457600080fd5b5061048d61106e565b6040518082815260200191505060405180910390f35b3480156104af57600080fd5b506104b8611074565b6040518082815260200191505060405180910390f35b3480156104da57600080fd5b506104e361107a565b6040518082815260200191505060405180910390f35b34801561050557600080fd5b506105486004803603602081101561051c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611080565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000803411151561058057600080fd5b60075434108061059257506000600754145b1561069e5761069b670de0b6b3a764000061068d600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561062c57600080fd5b505af1158015610640573d6000803e3d6000fd5b505050506040513d602081101561065657600080fd5b8101908080519060200190929190505050600a0a61067f6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b6000600754141580156106b357506007543410155b156107e6576107e360646107d5600a546107c7670de0b6b3a76400006107b9600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b505050506040513d602081101561078257600080fd5b8101908080519060200190929190505050600a0a6107ab6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b6000600854141580156107fb57506008543410155b1561092e5761092b606461091d600b5461090f670de0b6b3a7640000610901600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050506040513d60208110156108ca57600080fd5b8101908080519060200190929190505050600a0a6108f36002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90505b60006009541415801561094357506009543410155b15610b8b57610a736064610a65600c54610a57670de0b6b3a7640000610a49600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156109e857600080fd5b505af11580156109fc573d6000803e3d6000fd5b505050506040513d6020811015610a1257600080fd5b8101908080519060200190929190505050600a0a610a3b6002543461109f90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b61109f90919063ffffffff16565b6110da90919063ffffffff16565b90506005546004541015610b8a57610a9760016004546110f590919063ffffffff16565b600481905550610b87610b78600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b505050506040513d6020811015610b5357600080fd5b8101908080519060200190929190505050600a0a60065461109f90919063ffffffff16565b826110f590919063ffffffff16565b90505b5b80600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610c4957600080fd5b505af1158015610c5d573d6000803e3d6000fd5b505050506040513d6020811015610c7357600080fd5b810190808051906020019092919050505010151515610c9157600080fd5b7fae92ab4b6f8f401ead768d3273e6bb937a13e39827d19c6376e8fd4512a05d9a3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610d11816003546110f590919063ffffffff16565b6003819055508173ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610d74573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e3a57600080fd5b505af1158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b81019080805190602001909291905050501515610e8057600080fd5b5050565b600c5481565b60025481565b606060405190810160405280602b815260200161120e602b913981565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b610ee7610fe0565b1515610ef257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b60045481565b60065481565b600a5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60095481565b60085481565b611088610fe0565b151561109357600080fd5b61109c81611113565b50565b6000808314156110b257600090506110d4565b600082840290508284828115156110c557fe5b041415156110cf57fe5b809150505b92915050565b60008082848115156110e857fe5b0490508091505092915050565b600080828401905083811015151561110957fe5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561114f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe417373657453706c69742e6f7267202d2074686520677579732077686f20637574207468652070697a7a61a165627a7a72305820f83b46a4180fa9616e0afdf1170ba5ae22638e62e67fa2925949579f143c366b0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002d1e23144b89fc7364ed3efcd5af04093f7d9a3d00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000069000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000006e
-----Decoded View---------------
Arg [0] : _tokenContract (address): 0x2d1E23144B89fC7364eD3efCd5Af04093F7d9a3D
Arg [1] : _tokenPerEther (uint256): 100
Arg [2] : _bonusStage1 (uint256): 1
Arg [3] : _bonusPercentage1 (uint256): 102
Arg [4] : _bonusStage2 (uint256): 5
Arg [5] : _bonusPercentage2 (uint256): 105
Arg [6] : _bonusStage3 (uint256): 10
Arg [7] : _bonusPercentage3 (uint256): 110
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d1e23144b89fc7364ed3efcd5af04093f7d9a3d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000066
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000069
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 000000000000000000000000000000000000000000000000000000000000006e
Swarm Source
bzzr://f83b46a4180fa9616e0afdf1170ba5ae22638e62e67fa2925949579f143c366b
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.