More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 488 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 4625882 | 2314 days ago | IN | 0 ETH | 0.000504 | ||||
Transfer | 4228058 | 2400 days ago | IN | 0.00275948 ETH | 0.00124101 | ||||
Transfer | 4228055 | 2400 days ago | IN | 0.23 ETH | 0.00124101 | ||||
Transfer | 4228054 | 2400 days ago | IN | 0.2 ETH | 0.00124101 | ||||
Transfer | 4228043 | 2400 days ago | IN | 0.2 ETH | 0.000441 | ||||
Transfer | 4228039 | 2400 days ago | IN | 0.3 ETH | 0.00124101 | ||||
Transfer | 4228035 | 2400 days ago | IN | 0.25 ETH | 0.00124101 | ||||
Transfer | 4228031 | 2400 days ago | IN | 0.149 ETH | 0.00124101 | ||||
Transfer | 4228027 | 2400 days ago | IN | 0.2 ETH | 0.00124101 | ||||
Transfer | 4228021 | 2400 days ago | IN | 0.055 ETH | 0.00124101 | ||||
Transfer | 4228021 | 2400 days ago | IN | 0.05 ETH | 0.00107205 | ||||
Transfer | 4228017 | 2400 days ago | IN | 0.15 ETH | 0.00124101 | ||||
Transfer | 4228015 | 2400 days ago | IN | 0.15 ETH | 0.00124101 | ||||
Transfer | 4228009 | 2400 days ago | IN | 0.1 ETH | 0.00187101 | ||||
Transfer | 4227998 | 2400 days ago | IN | 0.21 ETH | 0.00124101 | ||||
Transfer | 4227995 | 2400 days ago | IN | 0.2 ETH | 0.00124101 | ||||
Transfer | 4227993 | 2400 days ago | IN | 0.07 ETH | 0.00124101 | ||||
Transfer | 4227989 | 2400 days ago | IN | 0.08 ETH | 0.00124101 | ||||
Transfer | 4227951 | 2400 days ago | IN | 0.08 ETH | 0.00124101 | ||||
Transfer | 4227947 | 2400 days ago | IN | 0.115 ETH | 0.00124101 | ||||
Transfer | 4227945 | 2400 days ago | IN | 0.12 ETH | 0.00124101 | ||||
Transfer | 4227940 | 2400 days ago | IN | 0.05 ETH | 0.00107205 | ||||
Transfer | 4227935 | 2400 days ago | IN | 0.1 ETH | 0.00124101 | ||||
Transfer | 4227935 | 2400 days ago | IN | 0.0951 ETH | 0.00124101 | ||||
Transfer | 4227935 | 2400 days ago | IN | 0.095 ETH | 0.00107205 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
4228058 | 2400 days ago | 0.00275948 ETH | ||||
4228055 | 2400 days ago | 0.23 ETH | ||||
4228054 | 2400 days ago | 0.2 ETH | ||||
4228039 | 2400 days ago | 0.3 ETH | ||||
4228035 | 2400 days ago | 0.25 ETH | ||||
4228031 | 2400 days ago | 0.149 ETH | ||||
4228027 | 2400 days ago | 0.2 ETH | ||||
4228021 | 2400 days ago | 0.055 ETH | ||||
4228017 | 2400 days ago | 0.15 ETH | ||||
4228015 | 2400 days ago | 0.15 ETH | ||||
4228009 | 2400 days ago | 0.1 ETH | ||||
4227998 | 2400 days ago | 0.21 ETH | ||||
4227995 | 2400 days ago | 0.2 ETH | ||||
4227993 | 2400 days ago | 0.07 ETH | ||||
4227989 | 2400 days ago | 0.08 ETH | ||||
4227951 | 2400 days ago | 0.08 ETH | ||||
4227947 | 2400 days ago | 0.115 ETH | ||||
4227945 | 2400 days ago | 0.12 ETH | ||||
4227935 | 2400 days ago | 0.1 ETH | ||||
4227935 | 2400 days ago | 0.0951 ETH | ||||
4227934 | 2400 days ago | 0.1 ETH | ||||
4227930 | 2400 days ago | 1,599.011 ETH | ||||
4227922 | 2400 days ago | 1,597.1 ETH | ||||
4227912 | 2400 days ago | 1,602 ETH | ||||
4227902 | 2400 days ago | 1,601.98 ETH |
Loading...
Loading
Contract Name:
Crowdsale
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-09-29 */ pragma solidity ^0.4.2; contract token { function transfer(address receiver, uint amount); } contract Crowdsale { address public beneficiary; uint public fundingGoal; uint public amountRaised; uint public deadline; uint public price; token public tokenReward; mapping(address => uint256) public balanceOf; bool fundingGoalReached = false; event GoalReached(address beneficiary, uint amountRaised); event FundTransfer(address backer, uint amount, bool isContribution); bool crowdsaleClosed = false; /* data structure to hold information about campaign contributors */ /* at initialization, setup the owner */ function Crowdsale( address ifSuccessfulSendTo, uint fundingGoalInEthers, uint durationInMinutes, uint etherCostOfEachToken, token addressOfTokenUsedAsReward ) { beneficiary = ifSuccessfulSendTo; fundingGoal = fundingGoalInEthers * 1 wei; deadline = now + durationInMinutes * 1 minutes; price = etherCostOfEachToken * 1 wei; tokenReward = token(addressOfTokenUsedAsReward); } /* The function without name is the default function that is called whenever anyone sends funds to a contract */ function () payable { if (crowdsaleClosed) throw; uint amount = msg.value; balanceOf[msg.sender] += amount; amountRaised += amount; tokenReward.transfer(msg.sender, amount / price); FundTransfer(msg.sender, amount, true); forwardFunds(); } modifier afterDeadline() { if (now >= deadline) _; } /* checks if the goal or time limit has been reached and ends the campaign */ function checkGoalReached() afterDeadline { if (amountRaised >= fundingGoal){ fundingGoalReached = true; GoalReached(beneficiary, amountRaised); } } function forwardFunds() internal { beneficiary.transfer(msg.value); } function safeWithdrawal() afterDeadline { forwardFunds(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"checkGoalReached","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"fundingGoal","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"amountRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"safeWithdrawal","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"ifSuccessfulSendTo","type":"address"},{"name":"fundingGoalInEthers","type":"uint256"},{"name":"durationInMinutes","type":"uint256"},{"name":"etherCostOfEachToken","type":"uint256"},{"name":"addressOfTokenUsedAsReward","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"beneficiary","type":"address"},{"indexed":false,"name":"amountRaised","type":"uint256"}],"name":"GoalReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]
Contract Creation Code
60606040526007805461ffff19169055341561001757fe5b60405160a0806104c983398101604090815281516020830151918301516060840151608090940151919390915b60008054600160a060020a03808816600160a060020a031992831617909255600186905542603c860201600355600484905560058054928416929091169190911790555b50505050505b61042c8061009d6000396000f300606060405236156100965763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301cb3b2081146101ca57806329dcb0cf146101dc57806338af3eed146101fe5780636e66f6e91461022a57806370a08231146102565780637a3a0e84146102845780637b3e5e7b146102a6578063a035b1fe146102c8578063fd6b7ef8146102ea575b6101c85b600754600090610100900460ff16156100b35760006000fd5b50600160a060020a0333818116600090815260066020526040902080543490810190915560028054820190556005546004549193169163a9059cbb91848115156100f957fe5b046040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b151561016157fe5b6102c65a03f1151561016f57fe5b505060408051600160a060020a03331681526020810184905260018183015290517fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf692509081900360600190a16101c46102fc565b5b50565b005b34156101d257fe5b6101c8610330565b005b34156101e457fe5b6101ec6103a2565b60408051918252519081900360200190f35b341561020657fe5b61020e6103a8565b60408051600160a060020a039092168252519081900360200190f35b341561023257fe5b61020e6103b7565b60408051600160a060020a039092168252519081900360200190f35b341561025e57fe5b6101ec600160a060020a03600435166103c6565b60408051918252519081900360200190f35b341561028c57fe5b6101ec6103d8565b60408051918252519081900360200190f35b34156102ae57fe5b6101ec6103de565b60408051918252519081900360200190f35b34156102d057fe5b6101ec6103e4565b60408051918252519081900360200190f35b34156102f257fe5b6101c86103ea565b005b60008054604051600160a060020a03909116913480156108fc02929091818181858888f19350505050151561032d57fe5b5b565b600354421061032d576001546002541061032d576007805460ff1916600117905560005460025460408051600160a060020a039093168352602083019190915280517fec3f991caf7857d61663fd1bba1739e04abd4781238508cde554bb849d790c859281900390910190a15b5b5b5b565b60035481565b600054600160a060020a031681565b600554600160a060020a031681565b60066020526000908152604090205481565b60015481565b60025481565b60045481565b600354421061032d5761032d6102fc565b5b5b5b5600a165627a7a72305820a5fc4408c6d8517e7bebf6d08f88d6beb04fdec4c57bf92df973d7fa6f2a439300290000000000000000000000000bd664a584f25c549a344468d149e0911588433a00000000000000000000000000000000000000000000370ea0d47cf61a800000000000000000000000000000000000000000000000000000000000000001211000000000000000000000000000000000000000000000000000000c206898d555000000000000000000000000ac3da587eac229c9896d919abc235ca4fd7f72c1
Deployed Bytecode
0x606060405236156100965763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301cb3b2081146101ca57806329dcb0cf146101dc57806338af3eed146101fe5780636e66f6e91461022a57806370a08231146102565780637a3a0e84146102845780637b3e5e7b146102a6578063a035b1fe146102c8578063fd6b7ef8146102ea575b6101c85b600754600090610100900460ff16156100b35760006000fd5b50600160a060020a0333818116600090815260066020526040902080543490810190915560028054820190556005546004549193169163a9059cbb91848115156100f957fe5b046040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b151561016157fe5b6102c65a03f1151561016f57fe5b505060408051600160a060020a03331681526020810184905260018183015290517fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf692509081900360600190a16101c46102fc565b5b50565b005b34156101d257fe5b6101c8610330565b005b34156101e457fe5b6101ec6103a2565b60408051918252519081900360200190f35b341561020657fe5b61020e6103a8565b60408051600160a060020a039092168252519081900360200190f35b341561023257fe5b61020e6103b7565b60408051600160a060020a039092168252519081900360200190f35b341561025e57fe5b6101ec600160a060020a03600435166103c6565b60408051918252519081900360200190f35b341561028c57fe5b6101ec6103d8565b60408051918252519081900360200190f35b34156102ae57fe5b6101ec6103de565b60408051918252519081900360200190f35b34156102d057fe5b6101ec6103e4565b60408051918252519081900360200190f35b34156102f257fe5b6101c86103ea565b005b60008054604051600160a060020a03909116913480156108fc02929091818181858888f19350505050151561032d57fe5b5b565b600354421061032d576001546002541061032d576007805460ff1916600117905560005460025460408051600160a060020a039093168352602083019190915280517fec3f991caf7857d61663fd1bba1739e04abd4781238508cde554bb849d790c859281900390910190a15b5b5b5b565b60035481565b600054600160a060020a031681565b600554600160a060020a031681565b60066020526000908152604090205481565b60015481565b60025481565b60045481565b600354421061032d5761032d6102fc565b5b5b5b5600a165627a7a72305820a5fc4408c6d8517e7bebf6d08f88d6beb04fdec4c57bf92df973d7fa6f2a43930029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000bd664a584f25c549a344468d149e0911588433a00000000000000000000000000000000000000000000370ea0d47cf61a800000000000000000000000000000000000000000000000000000000000000001211000000000000000000000000000000000000000000000000000000c206898d555000000000000000000000000ac3da587eac229c9896d919abc235ca4fd7f72c1
-----Decoded View---------------
Arg [0] : ifSuccessfulSendTo (address): 0x0Bd664a584F25C549a344468D149e0911588433a
Arg [1] : fundingGoalInEthers (uint256): 260000000000000000000000
Arg [2] : durationInMinutes (uint256): 74000
Arg [3] : etherCostOfEachToken (uint256): 13333333333333
Arg [4] : addressOfTokenUsedAsReward (address): 0xAc3Da587eac229C9896D919aBC235CA4Fd7f72c1
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000bd664a584f25c549a344468d149e0911588433a
Arg [1] : 00000000000000000000000000000000000000000000370ea0d47cf61a800000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000012110
Arg [3] : 00000000000000000000000000000000000000000000000000000c206898d555
Arg [4] : 000000000000000000000000ac3da587eac229c9896d919abc235ca4fd7f72c1
Swarm Source
bzzr://a5fc4408c6d8517e7bebf6d08f88d6beb04fdec4c57bf92df973d7fa6f2a4393
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 24 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.