Contract: 0x6fbb7eb00a2eb86ff7c72369d8043402ef76aa8d
Overview
0 EVC
More Info
Not Available
TxHash | Method | Block | Age | From | To | Value | Txn Fee | |
---|---|---|---|---|---|---|---|---|
0xddeff05ee3d6f151f3... |
0xdb2e21bc
|
5879361 | 3 months ago | 0xd014add67c9ca956e0... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0.000064 EVC | |
0x1f8c54e2ba47dd1c73... |
0xdb2e21bc
|
1583370 | 12 months ago | 0x0c816885cf099ed562... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0 EVC | |
0xb831b53aa792db1482... |
Claim
|
1583355 | 12 months ago | 0x8e5fed2335350dc37e... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0 EVC | |
0x920f8be01db61619d6... |
Claim
|
1583337 | 12 months ago | 0x8e5fed2335350dc37e... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0 EVC | |
0x391a60212fb50e16c2... |
Claim
|
1583328 | 12 months ago | 0x8e5fed2335350dc37e... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0 EVC | |
0xed62e54d739a758921... |
Claim
|
1551046 | 12 months ago | 0xd014add67c9ca956e0... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0.000078 EVC | |
0xfe309129908a558af7... |
0x1d25cb9c
|
1551031 | 12 months ago | 0xd014add67c9ca956e0... | 0x6fbb7eb00a2eb86ff7... | 0 EVC | 0.000096 EVC | |
0x64caacded99a8131a1... |
0x60806040
|
1550936 | 12 months ago | 0xd014add67c9ca956e0... | Contract Creation | 0 EVC | 0.000876 EVC |
TxHash | From | To | Value | Token | |
---|---|---|---|---|---|
0xddeff05ee3d6f151f3... | 0x6fbb7eb00a2eb86ff7... | 0xd014add67c9ca956e0... | 9972600 |
![]() |
|
0xed62e54d739a758921... | 0x6fbb7eb00a2eb86ff7... | 0x2b5a48e1bb0320a9b7... | 27397.3 |
![]() |
|
0xfe309129908a558af7... | 0xd014add67c9ca956e0... | 0x6fbb7eb00a2eb86ff7... | 10000000 |
![]() |
Contract Source Code Verified (Exact Match)
Contract Name:
EVAADVISORLOCK
Optimization Enabled:
No
Compiler Version:
v0.6.12+commit.27d51765
Other Settings:
istanbul Evm Version
Contract Source Code (Solidity)
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
address payable public owner;
event OwnershipTransferred(address indexed _from, address indexed _to);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner,"Only Owner!");
_;
}
function transferOwnership(address payable _newOwner) public onlyOwner {
owner = _newOwner;
emit OwnershipTransferred(msg.sender, _newOwner);
}
}
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// ----------------------------------------------------------------------------
interface IERC20 {
function transfer(address to, uint256 tokens) external returns (bool success);
function burn(uint256 _amount) external;
function balanceOf(address tokenOwner) external view returns (uint256 balance);
function transferFrom(address sender,address recipient,uint amount) external returns (bool);
}
abstract contract ReentrancyGuard {
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() public {
_status = _NOT_ENTERED;
}
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
contract EVAADVISORLOCK is Owned, ReentrancyGuard {
address public EVA;
uint256 public AdvisorBalance = 10000000 * (10**18);
uint256 public WithdrawAdvisorPerDay = (AdvisorBalance / 365);
address public AdvisorWallet = 0x2b5a48e1BB0320A9B7780035aa80e215894783Bb;
uint256 public endWithdrawDate;
constructor(address _eva) public {
endWithdrawDate = block.timestamp;
EVA = _eva;
}
function claim() public onlyOwner{
require(evaBalanceinContract() > 0,"Need Balance");
require(block.timestamp > endWithdrawDate,"It's not time to withdraw");
IERC20(EVA).transfer(AdvisorWallet,WithdrawAdvisorPerDay);
endWithdrawDate = endWithdrawDate + 1 days;
}
function evaBalanceinContract() public view returns(uint256){
return IERC20(EVA).balanceOf(address(this));
}
function emergencyWithdraw() public onlyOwner {
require(evaBalanceinContract() > 0,"Need Balance");
IERC20(EVA).transfer(owner,evaBalanceinContract());
}
function addEVA(uint256 _balance) public onlyOwner{
require(_balance > 0,"EVA:: balance must be greater than 0");
IERC20(EVA).transferFrom(msg.sender, address(this), _balance);
}
}
Contract Abi
Contract Creation Code
Read Contract Information