DecubateMasterChef
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "DecubateMasterChef"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DecubateMasterChef"
ABI
ABI objects
Getter at block 23942380
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
compounderContract() view returns (address)
0x0000000000000000000000000000000000000000
getPools() view returns (struct DecubateMasterChefPool[])
[]
poolLength() view returns (uint256)
0
Read-only
accrueInterest(uint256 _principal, uint256 _rate, uint256 _age) pure returns (uint256)
calcMultiplier(uint256 _pid, address _addr) view returns (uint16 multi)
canClaim(uint256 _pid, address _addr) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
maxTransferAmount(address) view returns (uint256)
nftInfo(uint256) view returns (bool active, string name, address contractAdd, uint16 multiplier, uint16 startIdx, uint16 endIdx)
ownsCorrectNFT(address _addr, uint256 _pid) view returns (bool)
payout(uint256 _pid, address _addr) view returns (uint256 value)
poolInfo(uint256) view returns (uint256 apy, uint256 lockPeriodInDays, uint256 totalDeposit, uint256 startDate, uint256 endDate, uint256 hardCap, address token)
supportsInterface(bytes4 interfaceId) view returns (bool)
users(uint256, address) view returns (uint256 totalInvested, uint256 totalWithdrawn, uint256 lastPayout, uint256 depositTime, uint256 totalClaimed)
yearlyRateToRay(uint256 _rateWad) pure returns (uint256)
State-modifying
Events add(uint256 _apy, uint256 _lockPeriodInDays, uint256 _endDate, uint256 _hardCap, address _token)
claim(uint256 _pid) returns (bool)
claimAll() returns (bool)
grantRole(bytes32 role, address account)
handleNFTMultiplier(uint256 _pid, address _user, uint256 _rewardAmount) returns (uint256)
initialize(address _admin)
reinvest(uint256 _pid) returns (bool)
reinvestAll() returns (bool)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
set(uint256 _pid, uint256 _apy, uint256 _lockPeriodInDays, uint256 _endDate, uint256 _hardCap, uint256 _maxTransfer, address)
setManagerRole(address _user, bool _status)
setNFT(uint256 _pid, string _name, address _contractAdd, bool _isUsed, uint16 _multiplier, uint16 _startIdx, uint16 _endIdx)
stake(uint256 _pid, uint256 _amount) returns (bool)
unStake(uint256 _pid, uint256 _amount) returns (bool)
updateCompounder(address _compounder)
updateFeeValues(uint8 _feePercent, address _feeWallet)
Claim(address indexed addr, uint256 indexed pid, uint256 amount, uint256 time)
CompounderUpdated(address compounder)
FeeValueUpdated(uint8 feeValue, address feeAddress)
Initialized(uint8 version)
ManagerRoleSet(address _user, bool _status)
NFTSet(uint256 pid, string name, address contractAdd, bool isUsed, uint16 multiplier, uint16 startIdx, uint16 endIdx)
PoolAdded(uint256 apy, uint256 lockPeriodInDays, uint256 endDate, uint256 hardCap, address token)
PoolChanged(uint256 pid, uint256 apy, uint256 lockPeriodInDays, uint256 endDate, uint256 hardCap, uint256 maxTransfer)
Reinvest(address indexed addr, uint256 indexed pid, uint256 amount, uint256 time)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Stake(address indexed addr, uint256 indexed pid, uint256 amount, uint256 time)
Unstake(address indexed addr, uint256 indexed pid, uint256 amount, uint256 time)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.