DBFarms

Verified contract

Active on Base with 1,465 txns
Deployed by via 0x63b77754 at 2179794
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xfa0f490c23a6e1701ad1e65471330d370c3e2e76230a91f804c2d12ba3becb64
0x5e484be2a7f687d888d409c5a863899048e1435b26b412984a9272e5edef40ba
0x579006fd63203f99efe723024b77f62d9958ce36d61088fc6bf0d10662f6a164
0x8540df1e1b524c06773ae1683fd54a9f9ee59e9053681f199af69345fbb9f12a
0x3366750b29321b2be3c8070302320090b144ee9cfa49f66afb378dae0663559c
0x2d09b5972d264fd751f35a3883e017bee5fb7de2da3bf324d88813e1c54e9099
0xd3553401590553c7ba2e2f2da798c976b466514473056861cdca64084301144e
0x83e08d64412d8e5a521a559194cd641dadb10bb71d5f9e75269f73064e3c6363
0x98d83db32ac32df120dd7d7dfe69d7db1d0c389848eaa8943f25aaa297bf7164
0xa657d7446bd8585a2890735f4d765e6ee2f3d4f81a3b6a6bf9f9b9f90788e553

Functions
Getter at block 21783040
getLogicContract(view returns (address)
0x3c909b92d4c17a862e961ded9bfa2dd92727902e
getMaxBoost(view returns (uint256)
3
getMultiplier(view returns (uint256)
0
 
getPoolInfo(view returns (struct DBFarmsPoolInfo[])
getRewardPerSecond(view returns (uint256)
750000000000000000
getRewardToken(view returns (address)
0xbeac229a3226c05c7675b8a54d0fcfddb6619100
getRewardWallet(view returns (address)
0x51a2f844978bc83d5d1f61b823eb73e179520ee8
getTotalAllocPoint(view returns (uint256)
495
getTotalPools(view returns (uint256)
8
owner(view returns (address)
0x8ae2bd8e51e6f0fe740e82e64edaa0c0066d3ee5
Read-only
admin(address _accountview returns (bool)
getPool(uint256 _pidview returns (struct DBFarmsPoolInfo)
getTvl(uint256 _pidview returns (uint256)
getUser(uint256 _pidaddress _accountview returns (struct DBFarmsUserInfo)
getUserBoostRate(uint256 _pidaddress _accountview returns (uint256)
getUserBoosters(uint256 _pidaddress _accountview returns (struct DBFarmsUserBoosters[])
pendingRewards(uint256 _pidaddress _accountview returns (uint256)
State-modifying
addAdmin(address account
addBooster(uint256 _pidaddress _boosterstring _boosterMetaDatauint256 _boosterPerc
addPool(string _nameuint256 _allocPointaddress _lpTokenbool _isLp
addUserBoosters(uint256 _pidaddress _accountstruct DBFarmsUserBoosters _userBoosters
boost(uint256 _pidaddress _boosteruint256 _tokenId
compound(uint256 _pidaddress _account
deposit(uint256 _piduint256 _amount
emergencyWithdraw(uint256 _pid
emitDeposit(address _accountuint256 _piduint256 _amount
emitEmergencyWithdraw(address _accountuint256 _piduint256 _amount
emitWithdraw(address _accountuint256 _piduint256 _amount
onERC721Received(addressaddressuint256bytesreturns (bytes4)
pushToPool(struct DBFarmsPoolInfo pool
recoverNft(address _accountuint256 _idaddress _nft
recoverToken(address _accountuint256 _amountaddress _token
removeAdmin(address account
removeUserBoosters(uint256 _pidaddress _accountstruct DBFarmsUserBoosters _userBoosters
renounceOwnership(
setBooster(uint256 _pidaddress _boosterstring _boosterMetaDatauint256 _boosterPerc
setLogicContract(address _newAddress
setMaxBoost(uint256 _newValue
setMultiplier(uint256 _newValue
setPool(uint256 _pidstruct DBFarmsPoolInfo _pool
setPool(uint256 _piduint256 _allocPoint
setRewardWallet(address _newWallet
setTotalAllocPoint(uint256 _newValue
setUser(uint256 _pidaddress _accountstruct DBFarmsUserInfo _user
setUserBoosters(uint256 _pidaddress _accountstruct DBFarmsUserBoosters[] _userBoosters
transferOwnership(address newOwner
unboost(uint256 _pidaddress _boosteruint256 _tokenId
updatePool(uint256 _pid
withdraw(uint256 _piduint256 _amount
zapIn(uint256 _pidaddress _accountuint256 _amountaddress _tokenpayable 
Events
Deposit(address indexed accountuint256 indexed piduint256 amount
EmergencyWithdraw(address indexed useruint256 indexed piduint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Withdraw(address indexed accountuint256 indexed piduint256 amount
Constructor
constructor(address _rewardTokenaddress _rewardWallet
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.