DeFiChef
Verified contract
Active on
Ethereum with 2,769 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DEFI | ERC-20 | 1.575323M | $0.019542 |
$30,784.59 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21157925 | an hour ago | | | 0 | 0.0024656550 | |
| 21157255 | 3 hours ago | | | 0 | 0.0014388467 | |
| 21145393 | 2 days ago | | | 0 | 0.0012512936 | |
| 21134552 | 3 days ago | | | 0 | 0.0013257029 | |
| 21109762 | 7 days ago | | | 0 | 0.00040944250 | |
| 21093692 | 9 days ago | | | 0 | 0.0011932603 | |
| 21080207 | 11 days ago | | | 0 | 0.0023647826 | |
| 21063036 | 13 days ago | | | 0 | 0.00066946955 | |
| 21057005 | 14 days ago | | | 0 | 0.0010469493 | |
| 21049756 | 15 days ago | | | 0 | 0.00070456155 |
ABI
ABI objects
Getter at block 21158265
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFI() view returns (address)
0x6b0faca7ba905a86f221ceb5ca404f605e5b3131
EXTERNAL_SOURCE_ROLE() view returns (bytes32)
0xda489a047deffcd16558555da4614a51cef323c3497eaee639b4874ead8e5d97
PAUSER_ROLE() view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
PRECISION() view returns (uint256)
1000000000000000000
STAKE() view returns (address)
0x6b0faca7ba905a86f221ceb5ca404f605e5b3131
YEAR() view returns (uint256)
31104000
getBaselinePoolId() view returns (uint256)
1
getCooldown() view returns (uint256)
86400
getTotalPoolsCount() view returns (uint256)
8
getTotalStakeAmount() view returns (uint256)
1633712377917044174728732
paused() view returns (bool)
false
Read-only
getBaselineDuration(address beneficiary_, uint16 pid_, uint256 pos_) view returns (uint256)
getPool(uint16 pid_) view returns (struct IDeFiChefStatePool pool)
getPosCount(address beneficiary_, uint16 pid_) view returns (uint256)
getReferralRate(address referral_, uint16 pid_) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStake(address beneficiary_, uint16 pid_, uint256 pos_) view returns (struct IDeFiChefStateStake stake)
hasRole(bytes32 role, address account) view returns (bool)
isStakeUnlocked(address beneficiary_, uint16 pid_, uint256 pos_) view returns (bool)
referralBalanceOf(address referral_) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events claim() returns (uint256 amount)
closePool(uint16 pid_)
deposit(uint16 pid_, uint256 amount_, address referral_)
depositFrom(address vesting_, uint256 vid_, uint16 pid_, bytes message_)
disablePool(uint16 pid_)
disableReferral(address referral_)
enablePool(uint16 pid_)
enableReferral(address referral_)
grantRole(bytes32 role, address account)
pause()
recoverERC20(address token_, uint256 amount_)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setupCooldown(uint256 cooldown_)
setupPool(uint256 minAmount_, uint256 baseRate_, uint256 boostRate_, uint256 affRate_, uint256 refRate_, uint256 duration_, uint8 type_, bool enabled_)
setupReferrals(address[] referrals_, uint16[] pools_, uint256[] rates_)
unpause()
updatePool(uint16 pid_, uint256 minAmount_, uint256 baseRate_, uint256 boostRate_, uint256 affRate_, uint256 refRate_, uint256 duration_, bool enabled_)
withdraw(uint16 pid_, uint256 pos_) returns (uint256 amount, uint256 reward)
withdrawRequest(uint16 pid_, uint256 pos_)
Claimed(address indexed referral, uint256 amount)
CooldownSetup(uint256 cooldown)
Deposited(address indexed user, uint16 pool, uint256 pos, uint256 amount, uint256 rate)
DepositedFrom(address indexed source, address indexed user, uint16 pool, uint256 pos, uint256 amount, uint256 rate)
ERC20Recovered(address token, uint256 amount)
Paused(address account)
PoolAdded(uint16 indexed pid, uint256 minAmount, uint256 baseRate, uint256 boostRate, uint256 affRate, uint256 refRate, uint256 duration, bool enabled)
PoolClosed(uint16 indexed pid)
PoolUpdated(uint16 indexed pid, uint256 minAmount, uint256 baseRate, uint256 boostRate, uint256 affRate, uint256 refRate, uint256 duration, bool enabled)
ReferralAdded(address indexed referral)
ReferralBalanceUpdated(address indexed referral, uint256 amount)
ReferralClaimed(address indexed referral, uint256 amount)
ReferralDisabled(address indexed referral)
ReferralEnabled(address indexed referral)
ReferralVestingSetup(uint256 epoch, uint256 duration)
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)
Unpaused(address account)
WithdrawRequested(address indexed user, uint16 pool, uint256 pos, uint256 unlock)
Withdrawn(address indexed user, uint16 pool, uint256 pos, uint256 amount, uint256 reward)
constructor(address DEFI_, address STAKE_)
This contract contains no fallback and receive objects.
AmountZeroErr()
ArrayParamsInvalidLengthErr()
ExternalSourceAuthErr()
InvalidReferralErr()
PoolBaselineErr(uint16 pid_)
PoolClosedErr(uint16 pid_)
PoolDefinedErr(uint16 pid_)
PoolDisabledErr(uint16 pid_)
PoolMinAmountErr(uint16 pid_)
PoolUndefinedErr(uint16 pid_)
ReferralDisabledErr(address referral_)
ReferralEnabledErr(address referral_)
ReferralEpochErr(address referral_)
ReferralUndefinedErr(address referral_)
ReferralZeroBalanceErr(address referral_)
StakeClosedErr()
StakeEmergencyErr()
StakeLockedErr()
StakeUndefinedErr()
TokenNullAddressErr()