More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 348 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Refund | 11295507 | 1513 days ago | IN | 0 ETH | 0.00163827 | ||||
Refund | 10134782 | 1692 days ago | IN | 0 ETH | 0.00079649 | ||||
Refund | 6209077 | 2332 days ago | IN | 0 ETH | 0.00009122 | ||||
Refund | 5549833 | 2445 days ago | IN | 0 ETH | 0.000935 | ||||
Refund | 5410368 | 2469 days ago | IN | 0 ETH | 0.0000311 | ||||
Refund | 5410340 | 2469 days ago | IN | 0 ETH | 0.00015552 | ||||
Refund | 5409951 | 2469 days ago | IN | 0 ETH | 0.00006221 | ||||
Refund | 5409940 | 2469 days ago | IN | 0 ETH | 0.00031105 | ||||
Refund | 5409908 | 2469 days ago | IN | 0 ETH | 0.0000311 | ||||
Refund | 5409636 | 2469 days ago | IN | 0 ETH | 0.00167967 | ||||
Refund | 5409466 | 2469 days ago | IN | 0 ETH | 0.0000311 | ||||
Refund | 5409466 | 2469 days ago | IN | 0 ETH | 0.0000311 | ||||
Refund | 5409411 | 2469 days ago | IN | 0 ETH | 0.00009312 | ||||
Refund | 5409394 | 2469 days ago | IN | 0 ETH | 0.00009312 | ||||
Refund | 5409275 | 2469 days ago | IN | 0 ETH | 0.0000311 | ||||
Refund | 5409213 | 2469 days ago | IN | 0 ETH | 0.00003421 | ||||
Enable Refunds | 5265617 | 2493 days ago | IN | 0 ETH | 0.00006529 | ||||
Refund | 5034565 | 2532 days ago | IN | 0 ETH | 0.00054732 | ||||
Refund | 5024304 | 2534 days ago | IN | 0 ETH | 0.0006532 | ||||
Refund | 4978011 | 2542 days ago | IN | 0 ETH | 0.0000228 | ||||
Refund | 4938425 | 2549 days ago | IN | 0 ETH | 0.00069239 | ||||
Refund | 4938425 | 2549 days ago | IN | 0 ETH | 0.0006532 | ||||
Refund | 4938424 | 2549 days ago | IN | 0 ETH | 0.0006532 | ||||
Refund | 4938424 | 2549 days ago | IN | 0 ETH | 0.0006532 | ||||
Refund | 4934954 | 2549 days ago | IN | 0 ETH | 0.0006532 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
10134782 | 1692 days ago | 33.55906355 ETH | ||||
6209077 | 2332 days ago | 5 ETH | ||||
5549833 | 2445 days ago | 1.42 ETH | ||||
5034565 | 2532 days ago | 0.18 ETH | ||||
4978011 | 2542 days ago | 10 ETH | ||||
4928555 | 2550 days ago | 1 ETH | ||||
4924543 | 2551 days ago | 0.02 ETH | ||||
4920969 | 2552 days ago | 1 ETH | ||||
4920591 | 2552 days ago | 0.34 ETH | ||||
4916190 | 2553 days ago | 12.047 ETH | ||||
4897518 | 2556 days ago | 1.1 ETH | ||||
4884785 | 2558 days ago | 0.98 ETH | ||||
4884338 | 2558 days ago | 5 ETH | ||||
4883758 | 2558 days ago | 2.99 ETH | ||||
4882895 | 2559 days ago | 2.99 ETH | ||||
4875984 | 2560 days ago | 1.5 ETH | ||||
4864896 | 2562 days ago | 1.09 ETH | ||||
4863459 | 2562 days ago | 1.1 ETH | ||||
4854925 | 2564 days ago | 1 ETH | ||||
4832477 | 2568 days ago | 1 ETH | ||||
4830826 | 2568 days ago | 2.23982989 ETH | ||||
4825787 | 2569 days ago | 2 ETH | ||||
4824179 | 2569 days ago | 2.9 ETH | ||||
4817207 | 2570 days ago | 0.2 ETH | ||||
4814598 | 2571 days ago | 1 ETH |
Loading...
Loading
Contract Name:
VLBRefundVault
Compiler Version
v0.4.14+commit.c2215d46
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-11-23 */ pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address 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. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @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 newOwner) onlyOwner public { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; if (a != 0 && c / a != b) revert(); return c; } function div(uint256 a, uint256 b) internal constant 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; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { if (b > a) revert(); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; if (c < a) revert(); return c; } } /* * !!!IMPORTANT!!! * Based on Open Zeppelin Refund Vault contract * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/crowdsale/RefundVault.sol * the only thing that differs is a hardcoded wallet address */ /** * @title RefundVault. * @dev This contract is used for storing funds while a crowdsale * is in progress. Supports refunding the money if crowdsale fails, * and forwarding it if crowdsale is successful. */ contract VLBRefundVault is Ownable { using SafeMath for uint256; enum State {Active, Refunding, Closed} State public state; mapping (address => uint256) public deposited; address public constant wallet = 0x02D408bc203921646ECA69b555524DF3c7f3a8d7; address crowdsaleContractAddress; event Closed(); event RefundsEnabled(); event Refunded(address indexed beneficiary, uint256 weiAmount); function VLBRefundVault() { state = State.Active; } modifier onlyCrowdsaleContract() { require(msg.sender == crowdsaleContractAddress); _; } function setCrowdsaleAddress(address _crowdsaleAddress) external onlyOwner { require(_crowdsaleAddress != address(0)); crowdsaleContractAddress = _crowdsaleAddress; } function deposit(address investor) onlyCrowdsaleContract external payable { require(state == State.Active); deposited[investor] = deposited[investor].add(msg.value); } function close(address _wingsWallet) onlyCrowdsaleContract external { require(_wingsWallet != address(0)); require(state == State.Active); state = State.Closed; Closed(); uint256 wingsReward = this.balance.div(100); _wingsWallet.transfer(wingsReward); wallet.transfer(this.balance); } function enableRefunds() onlyCrowdsaleContract external { require(state == State.Active); state = State.Refunding; RefundsEnabled(); } function refund(address investor) public { require(state == State.Refunding); uint256 depositedValue = deposited[investor]; deposited[investor] = 0; investor.transfer(depositedValue); Refunded(investor, depositedValue); } /** * @dev killer method that can bu used by owner to * kill the contract and send funds to owner */ function kill() onlyOwner { require(state == State.Closed); selfdestruct(owner); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_crowdsaleAddress","type":"address"}],"name":"setCrowdsaleAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"enableRefunds","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_wingsWallet","type":"address"}],"name":"close","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deposited","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"investor","type":"address"}],"name":"deposit","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"investor","type":"address"}],"name":"refund","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[],"name":"Closed","type":"event"},{"anonymous":false,"inputs":[],"name":"RefundsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"weiAmount","type":"uint256"}],"name":"Refunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
6060604052341561000f57600080fd5b5b5b60008054600160a060020a03191633600160a060020a03161790555b60008054819060a060020a60ff02191674010000000000000000000000000000000000000000825b02179055505b5b6107508061006b6000396000f300606060405236156100ac5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f35bc4081146100b157806341c0e1b5146100d2578063521eb273146100e75780638c52dc41146101165780638da5cb5b1461012b578063c19d93fb1461015a578063c74073a114610191578063cb13cddb146101b2578063f2fde38b146101e3578063f340fa0114610204578063fa89401a1461021a575b600080fd5b34156100bc57600080fd5b6100d0600160a060020a036004351661023b565b005b34156100dd57600080fd5b6100d0610298565b005b34156100f257600080fd5b6100fa6102e9565b604051600160a060020a03909116815260200160405180910390f35b341561012157600080fd5b6100d0610301565b005b341561013657600080fd5b6100fa61039d565b604051600160a060020a03909116815260200160405180910390f35b341561016557600080fd5b61016d6103ac565b6040518082600281111561017d57fe5b60ff16815260200191505060405180910390f35b341561019c57600080fd5b6100d0600160a060020a03600435166103bc565b005b34156101bd57600080fd5b6101d1600160a060020a0360043516610507565b60405190815260200160405180910390f35b34156101ee57600080fd5b6100d0600160a060020a0360043516610519565b005b6100d0600160a060020a03600435166105b2565b005b341561022557600080fd5b6100d0600160a060020a0360043516610639565b005b60005433600160a060020a0390811691161461025657600080fd5b600160a060020a038116151561026b57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a039081169116146102b357600080fd5b60025b60005460a060020a900460ff1660028111156102ce57fe5b146102d857600080fd5b600054600160a060020a0316ff5b5b565b7302d408bc203921646eca69b555524df3c7f3a8d781565b60025433600160a060020a0390811691161461031c57600080fd5b60005b60005460a060020a900460ff16600281111561033757fe5b1461034157600080fd5b600080546001919074ff0000000000000000000000000000000000000000191660a060020a835b02179055507f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a15b5b565b600054600160a060020a031681565b60005460a060020a900460ff1681565b60025460009033600160a060020a039081169116146103da57600080fd5b600160a060020a03821615156103ef57600080fd5b60005b60005460a060020a900460ff16600281111561040a57fe5b1461041457600080fd5b600080546002919074ff0000000000000000000000000000000000000000191660a060020a835b02179055507f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1610487600160a060020a03301631606463ffffffff6106eb16565b9050600160a060020a03821681156108fc0282604051600060405180830381858888f1935050505015156104ba57600080fd5b7302d408bc203921646eca69b555524df3c7f3a8d730600160a060020a03163180156108fc0290604051600060405180830381858888f19350505050151561050157600080fd5b5b5b5050565b60016020526000908152604090205481565b60005433600160a060020a0390811691161461053457600080fd5b600160a060020a038116151561054957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60025433600160a060020a039081169116146105cd57600080fd5b60005b60005460a060020a900460ff1660028111156105e857fe5b146105f257600080fd5b600160a060020a03811660009081526001602052604090205461061b903463ffffffff61070716565b600160a060020a0382166000908152600160205260409020555b5b50565b600060015b60005460a060020a900460ff16600281111561065657fe5b1461066057600080fd5b50600160a060020a038116600081815260016020526040808220805492905590919082156108fc0290839051600060405180830381858888f1935050505015156106a957600080fd5b81600160a060020a03167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518260405190815260200160405180910390a25b5050565b60008082848115156106f957fe5b0490508091505b5092915050565b60008282018381101561071957600080fd5b8091505b50929150505600a165627a7a723058201b233cabb4bb6b94b6445db94febb7e150e9be026a77d340b0a4d5a33692ecbc0029
Deployed Bytecode
0x606060405236156100ac5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f35bc4081146100b157806341c0e1b5146100d2578063521eb273146100e75780638c52dc41146101165780638da5cb5b1461012b578063c19d93fb1461015a578063c74073a114610191578063cb13cddb146101b2578063f2fde38b146101e3578063f340fa0114610204578063fa89401a1461021a575b600080fd5b34156100bc57600080fd5b6100d0600160a060020a036004351661023b565b005b34156100dd57600080fd5b6100d0610298565b005b34156100f257600080fd5b6100fa6102e9565b604051600160a060020a03909116815260200160405180910390f35b341561012157600080fd5b6100d0610301565b005b341561013657600080fd5b6100fa61039d565b604051600160a060020a03909116815260200160405180910390f35b341561016557600080fd5b61016d6103ac565b6040518082600281111561017d57fe5b60ff16815260200191505060405180910390f35b341561019c57600080fd5b6100d0600160a060020a03600435166103bc565b005b34156101bd57600080fd5b6101d1600160a060020a0360043516610507565b60405190815260200160405180910390f35b34156101ee57600080fd5b6100d0600160a060020a0360043516610519565b005b6100d0600160a060020a03600435166105b2565b005b341561022557600080fd5b6100d0600160a060020a0360043516610639565b005b60005433600160a060020a0390811691161461025657600080fd5b600160a060020a038116151561026b57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a039081169116146102b357600080fd5b60025b60005460a060020a900460ff1660028111156102ce57fe5b146102d857600080fd5b600054600160a060020a0316ff5b5b565b7302d408bc203921646eca69b555524df3c7f3a8d781565b60025433600160a060020a0390811691161461031c57600080fd5b60005b60005460a060020a900460ff16600281111561033757fe5b1461034157600080fd5b600080546001919074ff0000000000000000000000000000000000000000191660a060020a835b02179055507f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a15b5b565b600054600160a060020a031681565b60005460a060020a900460ff1681565b60025460009033600160a060020a039081169116146103da57600080fd5b600160a060020a03821615156103ef57600080fd5b60005b60005460a060020a900460ff16600281111561040a57fe5b1461041457600080fd5b600080546002919074ff0000000000000000000000000000000000000000191660a060020a835b02179055507f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1610487600160a060020a03301631606463ffffffff6106eb16565b9050600160a060020a03821681156108fc0282604051600060405180830381858888f1935050505015156104ba57600080fd5b7302d408bc203921646eca69b555524df3c7f3a8d730600160a060020a03163180156108fc0290604051600060405180830381858888f19350505050151561050157600080fd5b5b5b5050565b60016020526000908152604090205481565b60005433600160a060020a0390811691161461053457600080fd5b600160a060020a038116151561054957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60025433600160a060020a039081169116146105cd57600080fd5b60005b60005460a060020a900460ff1660028111156105e857fe5b146105f257600080fd5b600160a060020a03811660009081526001602052604090205461061b903463ffffffff61070716565b600160a060020a0382166000908152600160205260409020555b5b50565b600060015b60005460a060020a900460ff16600281111561065657fe5b1461066057600080fd5b50600160a060020a038116600081815260016020526040808220805492905590919082156108fc0290839051600060405180830381858888f1935050505015156106a957600080fd5b81600160a060020a03167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518260405190815260200160405180910390a25b5050565b60008082848115156106f957fe5b0490508091505b5092915050565b60008282018381101561071957600080fd5b8091505b50929150505600a165627a7a723058201b233cabb4bb6b94b6445db94febb7e150e9be026a77d340b0a4d5a33692ecbc0029
Swarm Source
bzzr://1b233cabb4bb6b94b6445db94febb7e150e9be026a77d340b0a4d5a33692ecbc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,278.79 | 81.1442 | $266,054.78 |
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.