VaultPool

Verified contract

Active on Ethereum with 26 txns
Deployed by via 0x687d5777 at 13612500
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 9 additional slots
-
variable spans 9 additional slots
-
variable spans 9 additional slots
-
variable spans 9 additional slots
ERC-20
Value $18.84
ERC-20
Value $0.58
ERC-20
Value $0.09
0xa07828db8580bc64b78e73a4b68a46d22523d2fb10befb787d7a7c4bfe467c2a
0xaa450206d024b95db2cd82ccb0884207e0e25b74be38e07d3a8ebebb514c268a
0x70d1ef0fb9d646cfbd2f5de1b4fc516de15aa705e6b7315eaaa9a5bebb893b1f
0x48baebdaa78e52e66a7ef2f05fc3a7b4a9a9b8b8d91d8ff11b98fb26a816e075
0x888d1aef63613720e067736d50fe42259aebcf53039736ce5429442b50bf3f25
0xb13f39f759df20dd67c6700c0244e6948e86bb483a47f36310ce713d16f6f189
0x590b770eebbfe4e032ec68c72e27c860c663a8f71e9fb5b619bc33f501ec874d
0xa486cbc69d5d67c002b6312a728451b6b7d9a1f4cc2c43d3a1e7f15eb3bb9982
0x2874eed3f59a3b89e0133439cf55caf38e956987f0d5c14985579edc861d0701
0xc39dbc5630f2f49b7e5237fa095278b6d1c47a9ab2b11765b81976ea9297254e

Functions
Getter at block 21179291
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNANCE_ROLE(view returns (bytes32)
0x71840dc4906352362b0cdaf79870196c8e42acafade72d5d5a6d59291253ceb1
INTERFACE_ROLE(view returns (bytes32)
0x886f5b5d23a7f8b3645010a8eb98414557d4607145067846682ff187e4950fe3
MAP_ROLE(view returns (bytes32)
0x55a89b4aa7a9355763ff2ba70063179c98e986a6c1a669830c61078af8449858
PoolInfonum(view returns (uint256)
5
WITHDRAW_ROLE(view returns (bytes32)
0x5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec
afterBeta(view returns (bool)
false
controller(view returns (address)
0x4bcf910d398dd09f2665c5647bbc667976b72648
locked(view returns (bool)
false
paused(view returns (bool)
false
rewardTokens(view returns (address[] rewardTokenArr)
[]
Read-only
available(address _singleTokenview returns (uint256)
getPoolInfo(address _singleTokenview returns (struct VaultPoolPoolInfo pool)
getPoolInfoDetail(uint256 _piduint256 _rewardidview returns (uint256uint256uint256uint256uint256)
getPoolInfobynum(uint256 _numview returns (struct VaultPoolPoolInfo pool)
getPoolNumBySingleToken(address _singleTokenview returns (uint256 num)
getPoolTotalDeposit(address _singleTokenview returns (uint256 totaldeposit)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getSingleTotalReward(address _singleTokenview returns (uint256[] reward)
govTotalProfit(uint256view returns (uint256)
govTotalSendProfit(uint256view returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
poolInfo(uint256view returns (uint256 lastRewardBlockuint256 totalAmountuint256 totalAmountLimituint256 earnLowerlimituint256 govshareuint256 usershareaddress token)
poolInfoExist(addressview returns (bool)
poolInfoNumber(addressview returns (uint256)
rewardTokenNumbers(address _rewardTokenview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userInfo(uint256addressview returns (uint256 amount)
userTotalProfit(uint256view returns (uint256)
userTotalSendProfit(uint256view returns (uint256)
State-modifying
addPoolInfo(uint256 _totalAmountLimituint256 _earnLowerlimitaddress _singleToken
depositWithPid(uint256 _piduint256 _amount
depositWithPidGov(address _addressuint256 _piduint256 _amount
depositWithPidMap(uint256 _piduint256 _amount
earn(address token
emergencyWithdraw(uint256 _pid
grantRole(bytes32 roleaddress account
inCaseTokensGetStuck(address withdrawaddressaddress _tokenuint256 _amount
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAfterBeta(
setLocked(bool _locked
setPaused(bool _paused
setPoolInfobynum(uint256 _numuint256 _totalAmountLimituint256 _earnLowerlimit
updatePool(uint256 _pid
withdrawWithPid(uint256 _piduint256 _amount
Events
Deposit(address arg0uint256 arg1uint256 arg2
Emergencywithdraw(address arg0uint256 arg1uint256 arg2
GovDeposit(address arg0uint256 arg1uint256 arg2
MapDeposit(address arg0uint256 arg1uint256 arg2
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Withdraw(address arg0uint256 arg1uint256 arg2
Constructor
constructor(address _controller
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.