Ethcoin

Verified contract

Proxy

Active on Ethereum with 45,882 txns
Deployed by via 0x15822b3a at 21073232
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $6,586.43
0x0169ec416895edc5d85a5e3cd86a0019ba48de2d14db982ee8da61d2c72c4546
0xda694feab7f03918074cbe67a62dd7da62d90f404a9b6e427559e374dbb6dec0
0xafc1671090e0dece433db62bd11a7b42c03c51ed5184eb6c45e82ecf01aea25a
0xd97920016dd228657f15289582871481f0ba30d38e01c55fcbb9d9c4459a0b0a
0x87784adc974b0ac71666e4972a8173551b6a89b357b1dd8fb10ee5c2f17bdcc1
0x9a7fc4751ebf40257e25147f9434766396ffb48234c8f8872f83aaa86452602a
0x51279e9f310794af367d5f97d2caf1291eed77e7e17182aa529d62c77067cdef
0x3dc23ac0c89eac6f5462cc2a5c3659273e66c6f509780a0ce478cd3d81b15e23
0x43ad3497e4f008efad204c47faace669138eabef2456c1b67520a7b778d30557
0xf3ac7409e198158a476c0c8b4f7e2850731ba87e5d74383fb68c2e75a8bbe674

Functions
Getter at block 21274504
BLOCK_INTERVAL(view returns (uint256)
60
MAX_SUPPLY(view returns (uint256)
21000000000000000000000000
MINE_COST_ADJUST_AMOUNT(view returns (uint256)
10000000000000
MINE_COST_DECREASE_THRESHOLD(view returns (uint256)
800000000000000000
MIN_MINE_COST(view returns (uint256)
100000000000000
REFUND_GAS_LIMIT(view returns (uint256)
150000
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
blockNumber(view returns (uint256)
33838
decimals(view returns (uint8)
18
feeCollector(view returns (address)
0x0af4e50da3f4e3072a43326f4d70b7ab32819cdd
halvingInterval(view returns (uint256)
40320
isStarted(view returns (bool)
true
lastBlockTime(view returns (uint256)
1732654403
lastHalvingBlock(view returns (uint256)
30240
lastTenBlockMiningPower(view returns (uint256)
19
mineCost(view returns (uint256)
4500000000000000
miningReward(view returns (uint256)
50000000000000000000
name(view returns (string)
Ethcoin
nextHalvingBlock(view returns (uint256)
70560
oracle(view returns (address)
0x33add40721e06790a60c6cda4245694c7059223e
owner(view returns (address)
0x68c2a3f04a4e5f84f90e2879ce1f385e64b775d9
 
proxiableUUID(view returns (bytes32)
reverseRegistrar(view returns (address)
0xa58e81fe9b61b5c3fe2afd33cf304c454abfc7cb
symbol(view returns (string)
ETHC
totalSupply(view returns (uint256)
4211950000000000000000000
totalUnclaimed(view returns (uint256)
1606722281393400000
upgradeBlockNumber(view returns (uint256)
16514
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
blockNumberToRequests(uint256view returns (uint256)
blocks(uint256view returns (address selectedMineruint256 miningRewarduint256 totalMineCount)
getBlockNumberByRequestId(uint256 _requestIdview returns (uint256)
getRequestIdByBlockNumber(uint256 _blockNumberview returns (uint256)
mineBatchCountOfBlock(uint256 _blockNumberview returns (uint256)
mineBatchOfBlock(uint256 _blockNumberview returns (struct EthcoinStorageMineBatch[])
mineBatchOfBlockByIndex(uint256 _blockNumberuint256 _indexview returns (struct EthcoinStorageMineBatch)
minersOfBlock(uint256 _blockNumberview returns (address[])
minersOfBlockCount(uint256 _blockNumberview returns (uint256)
requestsToBlockNumber(uint256view returns (uint256)
selectedMinerOfBlock(uint256 _blockNumberview returns (address)
totalMineCountOfBlock(uint256 _blockNumberview returns (uint256)
userUnclaimed(addressview returns (uint256)
State-modifying
approve(address spenderuint256 valuereturns (bool)
claimGasRefund(
collect(uint256 amount
fulfillRandomness(uint256 requestIduint256 randomNumber
futureMine(uint256 mineCountuint256 blockCountpayable 
initialize(address _reverseRegistrar
mine(uint256 mineCountpayable 
renounceOwnership(
requestRandomness(uint256 targetBlock
setFeeCollector(address _feeCollector
setName(string namereturns (bytes32)
setOracle(address _oracle
start(
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
FeeCollectorSet(address feeCollector
GasRefundClaimed(address useruint256 amount
GasRefundRecorded(address useruint256 amount
Initialized(uint64 version
Mine(uint256 indexed blockNumberaddress indexed mineruint256 mineCount
MineCostSet(uint256 mineCost
MinerSelected(uint256 blockNumberaddress selectedMineruint256 miningReward
NewETHCBlock(uint256 indexed blockNumber
OracleSet(address oracle
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
FailedInnerCall(
InvalidInitialization(
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot