Bitcoin on Ethereum

Verified contract

Active on Ethereum with 94 txns
Deployed by via 0xd1954f53 at 20556771
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#89)
ERC-721
--
 (#88)
ERC-721
--
 (#87)
ERC-721
--
 (#86)
ERC-721
--
 (#85)
ERC-721
--
 (#84)
ERC-721
--
 (#83)
ERC-721
--
 (#82)
ERC-721
--
 (#81)
ERC-721
--
 (#80)
ERC-721
--
0xaa2c09b123cbb3fbc7e3959def998b1527d76aae2cf9184b621117245cc1306a
0x6b3704f6732113756164fed8bf59ee2820c16cab63e25f721c26dbd867013568
0x27b4a9ba6b1d07ac0c94b9d703b46e4a91892818450f124637ce3062ee6ad6c3
0x79768a09fee87c4e21eb3745d73531dc61f36c0fc5fd05fa11919bd552b46104
0x88ad8c1a68bb0cd6b9b31205bb79203b76ab133993f995f83ade84ea8c4e5d96
0x4d16c96f121ae290a8785a993ccce1bbbc5d98006ebb2419fdaa0daf292e0c6e
0x13333595df11a26362328c6dfe19a03883b1be2563c40f6ff33de126fec3e452
0x6aa1e00f0dc5a2d47695a299a2e227baf3292af74e4d923d4bd17e0d8a11b042
0x1ab853672a7096074ca9a06383ed1cee1c83cff560c652d4b4edc626c86436af
0xcead37d1a51bdef92f1a3bcbf005c5526d436b91f9ca7d6ad7be63965c020525

Functions
Getter at block 21442775
currentDay(view returns (uint256)
123
currentHalvingThreshold(view returns (uint256)
10500000000000000000000000
decimals(view returns (uint8)
18
defaultBitoshis(view returns (uint256)
20000000000000000000
gov(view returns (address)
0xd98ef9fccd470fb767c3180300338c3ca9163e4a
miningRate(view returns (uint256)
75000000000000000
name(view returns (string)
Bitcoin on Ethereum
nft(view returns (address)
0xc660a3cc13dd1891c18c46fcc4d1492ae8f3f72c
numOfHalvings(view returns (uint256)
0
numOfLocks(view returns (uint256)
4
owner(view returns (address)
0x97a360ba58a487bb8ed635c171d6547c4544516c
previousHalvingThresold(view returns (uint256)
0
symbol(view returns (string)
BTCE
totalSupply(view returns (uint256)
0
totalpSatoshisMined(view returns (uint256)
92475000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calTotalPayout(uint256[] typeOfLockview returns (uint256 pSatoshisMine)
calcPayoutAndFee(uint256 _typeOfLockuint256 _totalpSatoshisMineduint256 _currentHalvingThresholduint256 _miningRateview returns (uint256 pSatoshisMinebool isHalving)
getMinerIndex(address minerAddruint256 minerIdview returns (uint256)
getRewardIndex(address minerAddruint256 minerIdview returns (uint256)
lockInfos(uint256view returns (uint256 lockTimeuint256 boost)
minerCount(address minerAddressview returns (uint256)
minerList(addressuint256view returns (uint128 bitoshisMineruint128 unlockTimeuint96 pSatoshisMineduint96 nftIduint40 minerIduint24 day)
rewardCount(address minerAddressview returns (uint256)
rewardList(addressuint256view returns (uint128 totalClaimableuint128 remainRewarduint96 lastestTimeuint96 startTimeuint40 minerId)
State-modifying
approve(address spenderuint256 valuereturns (bool)
claim(uint256 rewardIndexuint256 minerId
minerEnd(uint256 minerIndexuint256 minerId
minerStart(uint256[] nftIduint256[] typeOfLock
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
setDefaultBitoshis(uint256 newBitoshis_
setGov(address gov_
setLockInfo(uint256[] lockTimesuint256[] boosts
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
withdrawToken(address tokenaddress touint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
FailClaim(uint256 indexuint256 errorCode
FailEndMiner(uint256 indexuint256 errorCode
FailStartMiner(uint256 indexuint256 errorCode
MinerEnd(uint256 data0uint256 data1address indexed accountantuint40 indexed minerId
MinerStart(uint256 data0uint256 data1address indexed accountuint40 indexed minerId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardStart(uint256 data0uint256 data1address indexed accountuint40 indexed minerId
RewardUpdate(uint256 data0uint256 data1address indexed accountuint40 indexed minerId
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address nft_address gov_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CannotEndMinerEarly(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ExceedClaimableReward(
FailedInnerCall(
InvalidLength(
InvalidMinerId(
InvalidMinerIndex(
ListEmpty(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token