Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 101 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 5068004 | 2569 days ago | IN | 0.001 ETH | 0.00017255 | ||||
Transfer | 5005913 | 2580 days ago | IN | 0 ETH | 0.00237204 | ||||
Transfer | 5005892 | 2580 days ago | IN | 0 ETH | 0.00184984 | ||||
Transfer | 4836730 | 2610 days ago | IN | 0 ETH | 0.00096096 | ||||
Transfer | 4836697 | 2610 days ago | IN | 0 ETH | 0.00097038 | ||||
Transfer | 4836673 | 2610 days ago | IN | 0 ETH | 0.00072072 | ||||
Transfer | 4836661 | 2610 days ago | IN | 0 ETH | 0.00072072 | ||||
Transfer | 4836659 | 2610 days ago | IN | 0 ETH | 0.0007188 | ||||
Transfer | 4735959 | 2627 days ago | IN | 0.03 ETH | 0.00042531 | ||||
Transfer | 4735937 | 2627 days ago | IN | 0.034 ETH | 0.00044216 | ||||
Transfer | 4735919 | 2627 days ago | IN | 0.035 ETH | 0.0002231 | ||||
Transfer | 4720581 | 2630 days ago | IN | 0.05 ETH | 0.00042531 | ||||
Transfer | 4716526 | 2630 days ago | IN | 3.1 ETH | 0.00107845 | ||||
Transfer | 4716499 | 2630 days ago | IN | 3.1 ETH | 0.00086276 | ||||
Transfer | 4716486 | 2630 days ago | IN | 3.1 ETH | 0.00043138 | ||||
Transfer | 4714716 | 2631 days ago | IN | 0.9811 ETH | 0.00472615 | ||||
Transfer | 4714469 | 2631 days ago | IN | 0.5 ETH | 0.00322615 | ||||
Transfer | 4714422 | 2631 days ago | IN | 0.5 ETH | 0.00472615 | ||||
Transfer | 4713850 | 2631 days ago | IN | 3 ETH | 0.00322615 | ||||
Transfer | 4713838 | 2631 days ago | IN | 3 ETH | 0.00252 | ||||
Transfer | 4713830 | 2631 days ago | IN | 3 ETH | 0.00205222 | ||||
Transfer | 4713744 | 2631 days ago | IN | 0.1 ETH | 0.00472615 | ||||
Transfer | 4713268 | 2631 days ago | IN | 2 ETH | 0.00322615 | ||||
Transfer | 4712995 | 2631 days ago | IN | 1 ETH | 0.00189046 | ||||
Transfer | 4712994 | 2631 days ago | IN | 1 ETH | 0.00189046 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
4714716 | 2631 days ago | 0.9811 ETH | ||||
4714469 | 2631 days ago | 0.5 ETH | ||||
4714422 | 2631 days ago | 0.5 ETH | ||||
4713850 | 2631 days ago | 3 ETH | ||||
4713744 | 2631 days ago | 0.1 ETH | ||||
4713268 | 2631 days ago | 2 ETH | ||||
4712995 | 2631 days ago | 1 ETH | ||||
4712994 | 2631 days ago | 1 ETH | ||||
4712221 | 2631 days ago | 8.2 ETH | ||||
4711639 | 2631 days ago | 2.48 ETH | ||||
4710182 | 2632 days ago | 1 ETH | ||||
4710057 | 2632 days ago | 1 ETH | ||||
4704007 | 2633 days ago | 1 ETH | ||||
4702681 | 2633 days ago | 2 ETH | ||||
4700706 | 2633 days ago | 1 ETH | ||||
4697140 | 2634 days ago | 0.9799 ETH | ||||
4696244 | 2634 days ago | 9.8 ETH | ||||
4691547 | 2635 days ago | 0.03 ETH | ||||
4673736 | 2638 days ago | 1 ETH | ||||
4666621 | 2639 days ago | 1.99 ETH | ||||
4635152 | 2644 days ago | 0.001 ETH | ||||
4630849 | 2645 days ago | 1.5140321 ETH | ||||
4605181 | 2649 days ago | 1.004 ETH | ||||
4601864 | 2650 days ago | 0.5 ETH | ||||
4601847 | 2650 days ago | 0.002 ETH |
Loading...
Loading
Contract Name:
aiaPrivatesale
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-10-31 */ pragma solidity ^0.4.15; contract myOwned { address public owner; function myOwned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _;} function exOwner(address newOwner) onlyOwner public { owner = newOwner;} } interface token { function transfer(address receiver, uint amount); } contract aiaPrivatesale is myOwned { uint public startDate; uint public stopDate; uint public fundingGoal; uint public amountRaised; uint public exchangeRate; token public tokenReward; address public beneficiary; mapping(address => uint256) public balanceOf; event GoalReached(address receiver, uint amount); event FundTransfer(address backer, uint amount, bool isContribution); function aiaPrivatesale ( uint _startDate, uint _stopDate, uint _fundingGoal, address _beneficiary, address _tokenReward ) { startDate = _startDate; stopDate = _stopDate; fundingGoal = _fundingGoal * 1 ether; beneficiary = _beneficiary; tokenReward = token(_tokenReward); } function saleActive() public constant returns (bool) { return (now >= startDate && now <= stopDate && amountRaised < fundingGoal); } function getCurrentTimestamp() internal returns (uint256) { return now; } function getRateAt(uint256 at) constant returns (uint256) { if (at < startDate) {return 0;} else if (at <= stopDate) {return 6500;} else if (at > stopDate) {return 0;} } function () payable { require(saleActive()); require(amountRaised < fundingGoal); uint amount = msg.value; balanceOf[msg.sender] += amount; amountRaised += amount; exchangeRate = getRateAt(getCurrentTimestamp()); uint price = 0.0001 ether / getRateAt(getCurrentTimestamp()); tokenReward.transfer(msg.sender, amount / price); FundTransfer(msg.sender, amount, true); beneficiary.transfer(msg.value); } function saleEnd() onlyOwner { require(!saleActive()); require(now > stopDate ); beneficiary.transfer(this.balance); tokenReward.transfer(beneficiary, this.balance); } function destroy() { if (msg.sender == beneficiary) { suicide(beneficiary); tokenReward.transfer(beneficiary, this.balance); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"stopDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startDate","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":"exchangeRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"saleActive","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"exOwner","outputs":[],"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":false,"inputs":[],"name":"destroy","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"at","type":"uint256"}],"name":"getRateAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"saleEnd","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_startDate","type":"uint256"},{"name":"_stopDate","type":"uint256"},{"name":"_fundingGoal","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_tokenReward","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","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
6060604052341561000f57600080fd5b60405160a08061077583398101604052808051919060200180519190602001805191906020018051919060200180519150505b5b60008054600160a060020a03191633600160a060020a03161790555b60018590556002849055670de0b6b3a7640000830260035560078054600160a060020a03808516600160a060020a03199283161790925560068054928416929091169190911790555b50505050505b6106b8806100bd6000396000f300606060405236156100b45763ffffffff60e060020a60003504166309799c0181146102405780630b97bc861461026557806338af3eed1461028a5780633ba0b9a9146102b957806368428a1b146102de57806369043895146103055780636e66f6e91461032657806370a08231146103555780637a3a0e84146103865780637b3e5e7b146103ab57806383197ef0146103d05780638da5cb5b146103e5578063b52e0dc814610414578063c10b93581461043c575b5b6000806100c0610451565b15156100cb57600080fd5b600354600454106100db57600080fd5b600160a060020a03331660009081526008602052604090208054349081019091556004805482019055915061011661011161047c565b610481565b60055561012961011161047c565b610481565b655af3107a400081151561013957fe5b6006549190049150600160a060020a031663a9059cbb33838581151561015b57fe5b0460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561019f57600080fd5b6102c65a03f115156101b057600080fd5b5050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a1600754600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561023b57600080fd5b5b5050005b341561024b57600080fd5b6102536104bd565b60405190815260200160405180910390f35b341561027057600080fd5b6102536104c3565b60405190815260200160405180910390f35b341561029557600080fd5b61029d6104c9565b604051600160a060020a03909116815260200160405180910390f35b34156102c457600080fd5b6102536104d8565b60405190815260200160405180910390f35b34156102e957600080fd5b6102f1610451565b604051901515815260200160405180910390f35b341561031057600080fd5b610324600160a060020a03600435166104de565b005b341561033157600080fd5b61029d610526565b604051600160a060020a03909116815260200160405180910390f35b341561036057600080fd5b610253600160a060020a0360043516610535565b60405190815260200160405180910390f35b341561039157600080fd5b610253610547565b60405190815260200160405180910390f35b34156103b657600080fd5b61025361054d565b60405190815260200160405180910390f35b34156103db57600080fd5b610324610553565b005b34156103f057600080fd5b61029d610590565b604051600160a060020a03909116815260200160405180910390f35b341561041f57600080fd5b610253600435610481565b60405190815260200160405180910390f35b341561044757600080fd5b61032461059f565b005b6000600154421015801561046757506002544211155b80156104765750600354600454105b90505b90565b425b90565b6000600154821015610495575060006104b5565b60025482116104a757506119646104b5565b6002548211156104b5575060005b5b5b5b919050565b60025481565b60015481565b600754600160a060020a031681565b60055481565b60005433600160a060020a039081169116146104f957600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600654600160a060020a031681565b60086020526000908152604090205481565b60035481565b60045481565b60075433600160a060020a039081169116141561058d57600754600160a060020a0316ff5b6102c65a03f1151561058957600080fd5b5050505b5b565b600054600160a060020a031681565b60005433600160a060020a039081169116146105ba57600080fd5b6105c2610451565b156105cc57600080fd5b60025442116105da57600080fd5b600754600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561061357600080fd5b600654600754600160a060020a039182169163a9059cbb9181169030163160405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561057857600080fd5b6102c65a03f1151561058957600080fd5b5050505b5b5600a165627a7a7230582026a4d93d8928259101d4fe75a450a34a04b7b247c7d7113d656acee62ce832b00029000000000000000000000000000000000000000000000000000000005a05cd01000000000000000000000000000000000000000000000000000000005a2eab7f000000000000000000000000000000000000000000000000000000000000206c000000000000000000000000fa701ba045fb7ad1118187c36a680624d170915d000000000000000000000000219101d69455c620700bf02f157f29ef7a8f7988
Deployed Bytecode
0x606060405236156100b45763ffffffff60e060020a60003504166309799c0181146102405780630b97bc861461026557806338af3eed1461028a5780633ba0b9a9146102b957806368428a1b146102de57806369043895146103055780636e66f6e91461032657806370a08231146103555780637a3a0e84146103865780637b3e5e7b146103ab57806383197ef0146103d05780638da5cb5b146103e5578063b52e0dc814610414578063c10b93581461043c575b5b6000806100c0610451565b15156100cb57600080fd5b600354600454106100db57600080fd5b600160a060020a03331660009081526008602052604090208054349081019091556004805482019055915061011661011161047c565b610481565b60055561012961011161047c565b610481565b655af3107a400081151561013957fe5b6006549190049150600160a060020a031663a9059cbb33838581151561015b57fe5b0460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561019f57600080fd5b6102c65a03f115156101b057600080fd5b5050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390a1600754600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561023b57600080fd5b5b5050005b341561024b57600080fd5b6102536104bd565b60405190815260200160405180910390f35b341561027057600080fd5b6102536104c3565b60405190815260200160405180910390f35b341561029557600080fd5b61029d6104c9565b604051600160a060020a03909116815260200160405180910390f35b34156102c457600080fd5b6102536104d8565b60405190815260200160405180910390f35b34156102e957600080fd5b6102f1610451565b604051901515815260200160405180910390f35b341561031057600080fd5b610324600160a060020a03600435166104de565b005b341561033157600080fd5b61029d610526565b604051600160a060020a03909116815260200160405180910390f35b341561036057600080fd5b610253600160a060020a0360043516610535565b60405190815260200160405180910390f35b341561039157600080fd5b610253610547565b60405190815260200160405180910390f35b34156103b657600080fd5b61025361054d565b60405190815260200160405180910390f35b34156103db57600080fd5b610324610553565b005b34156103f057600080fd5b61029d610590565b604051600160a060020a03909116815260200160405180910390f35b341561041f57600080fd5b610253600435610481565b60405190815260200160405180910390f35b341561044757600080fd5b61032461059f565b005b6000600154421015801561046757506002544211155b80156104765750600354600454105b90505b90565b425b90565b6000600154821015610495575060006104b5565b60025482116104a757506119646104b5565b6002548211156104b5575060005b5b5b5b919050565b60025481565b60015481565b600754600160a060020a031681565b60055481565b60005433600160a060020a039081169116146104f957600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600654600160a060020a031681565b60086020526000908152604090205481565b60035481565b60045481565b60075433600160a060020a039081169116141561058d57600754600160a060020a0316ff5b6102c65a03f1151561058957600080fd5b5050505b5b565b600054600160a060020a031681565b60005433600160a060020a039081169116146105ba57600080fd5b6105c2610451565b156105cc57600080fd5b60025442116105da57600080fd5b600754600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561061357600080fd5b600654600754600160a060020a039182169163a9059cbb9181169030163160405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561057857600080fd5b6102c65a03f1151561058957600080fd5b5050505b5b5600a165627a7a7230582026a4d93d8928259101d4fe75a450a34a04b7b247c7d7113d656acee62ce832b00029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000005a05cd01000000000000000000000000000000000000000000000000000000005a2eab7f000000000000000000000000000000000000000000000000000000000000206c000000000000000000000000fa701ba045fb7ad1118187c36a680624d170915d000000000000000000000000219101d69455c620700bf02f157f29ef7a8f7988
-----Decoded View---------------
Arg [0] : _startDate (uint256): 1510329601
Arg [1] : _stopDate (uint256): 1513007999
Arg [2] : _fundingGoal (uint256): 8300
Arg [3] : _beneficiary (address): 0xfA701ba045Fb7AD1118187c36A680624D170915D
Arg [4] : _tokenReward (address): 0x219101D69455c620700bf02f157f29Ef7a8f7988
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005a05cd01
Arg [1] : 000000000000000000000000000000000000000000000000000000005a2eab7f
Arg [2] : 000000000000000000000000000000000000000000000000000000000000206c
Arg [3] : 000000000000000000000000fa701ba045fb7ad1118187c36a680624d170915d
Arg [4] : 000000000000000000000000219101d69455c620700bf02f157f29ef7a8f7988
Swarm Source
bzzr://26a4d93d8928259101d4fe75a450a34a04b7b247c7d7113d656acee62ce832b0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 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.