Contract: 0xce34a233fac8a3fb474f05911f4bc021a3ec2874
Overview
0 EVC
More Info
Not Available
TxHash | Method | Block | Age | From | To | Value | Txn Fee | |
---|---|---|---|---|---|---|---|---|
0x73cfbd9e058232701c... |
0xdb2e21bc
|
5895176 | 6 months ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.0285 EVC | |
0x96679c6f2748a7a3f2... |
Claim
|
5895173 | 6 months ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.0285 EVC | |
0xebd121a1e114714c61... |
0xdb2e21bc
|
5772288 | 6 months ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.000064 EVC | |
0xd5b82c6cf0085800c6... |
Claim
|
5772266 | 6 months ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.0285 EVC | |
0xb856e804c07d23e69d... |
Claim
|
5772258 | 6 months ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.0285 EVC | |
0x68e3291255d4f4e862... |
0x1d25cb9c
|
1551571 | 1 year ago | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 0 EVC | 0.000096 EVC | |
0x520b1eaf9c7e93f30e... |
0x60806040
|
1551498 | 1 year ago | 0xd014add67c9ca956e0... | Contract Creation | 0 EVC | 0.000876 EVC |
TxHash | From | To | Value | Token | |
---|---|---|---|---|---|
0xebd121a1e114714c61... | 0xce34a233fac8a3fb47... | 0xd014add67c9ca956e0... | 33300000 | Evadore (EVA) | |
0x68e3291255d4f4e862... | 0xd014add67c9ca956e0... | 0xce34a233fac8a3fb47... | 33300000 | Evadore (EVA) |
Contract Source Code Verified (Exact Match)
Contract Name:
EVASEEDSALELOCK
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 EVASEEDSALELOCK is Owned, ReentrancyGuard {
address public EVA;
uint256 public FeedSaleBalance = 33300000 * (10**18);
uint256 public WithdrawFeedSalePerDay = (FeedSaleBalance / 365);
address public FeedSaleWallet = 0x3858E6b0eA9aBEdBC2D2fD2AF8FEC849978b5b0D;
uint256 public lockTimeOneYearEndDate;
constructor(address _eva) public {
lockTimeOneYearEndDate = block.timestamp + 365 days;
EVA = _eva;
}
function claim() public onlyOwner{
require(evaBalanceinContract() > 0,"Need Balance");
require(block.timestamp > lockTimeOneYearEndDate,"It's not time to withdraw");
IERC20(EVA).transfer(FeedSaleWallet,WithdrawFeedSalePerDay);
lockTimeOneYearEndDate = lockTimeOneYearEndDate + 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