DeFiChef
Verified contract
Active on
Ethereum with 2,794 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.554638M | $0.019336 |
$30,060.14 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21277382 | 2 days ago | | | 0 | 0.0012560309 | |
| 21275512 | 3 days ago | | | 0 | 0.0016462317 | |
| 21267718 | 4 days ago | | | 0 | 0.00063292313 | |
| 21264792 | 4 days ago | | | 0 | 0.00097459284 | |
| 21257819 | 5 days ago | | | 0 | 0.0019995482 | |
| 21257783 | 5 days ago | | | 0 | 0.00094421384 | |
| 21257591 | 5 days ago | | | 0 | 0.0013694033 | |
| 21257569 | 5 days ago | | | 0 | 0.0012633217 | |
| 21228456 | 9 days ago | | | 0 | 0.00078565404 | |
| 21223936 | 10 days ago | | | 0 | 0.0024741466 |
ABI
ABI objects
Getter at block 21293378
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)
1615934947917044174728732
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()