Verified contractPartial
EtherParadiseFund
Address0x73a72f8a61875265a84d180e09bd2bfd637fa9e6
- Balance
0 ETH
- Transactions
219
- Compiler
solc 0.5.13
- Same code
1 more contract
Details
- Compiler
- solc 0.5.13+commit.5b0b510c
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 9,763,948
- Creation transaction
- 0x518f9a6d88…b82506fce0
EtherParadiseFund.sol
pragma solidity 0.5.13;
contract EtherParadiseFund {
address private owner;
constructor () public{
owner = msg.sender;
}
modifier isOwner{
require(msg.sender==owner,"not owner");
_;
}
function() external payable{}
function balance() public view returns(uint){
address payable addr = address(this);
return addr.balance;
}
function take(address addr,uint payamount) external isOwner{
uint amount = payamount;
if(owner==addr){
if(payamount > address(this).balance){
amount = address(this).balance;
}
}else{
require(address(this).balance>=amount,"Insufficient balance");
}
address payable takeAddr = address(uint160(addr));
takeAddr.transfer(amount);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 0,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.