CheeseStakePool

Verified contract

Active on Ethereum with 1,273 txns
Deployed by via 0x27b4d44a at 12944892
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 7 additional slots
ERC-20
Value $10.04
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xc750ba5483b6f08ee4058d23d8bf78a473e3ced6744ab4bca309b1b529317e44
0x812074e8f99992663bb22dfa7ab612f6aacd250416bf44069368176ea3e9cf6c
0xde0cb41c5b484c85377b2dc35bf7042d965a10dc256e747c732dd1c5dc61e107
0x1694819b7c0a931163d874b13d110310b09a86346047ff7ae7b2927d3f4807c7
0x79ae9561d60c993c3c1f152c3d5d79553451b5ed25c979aee26f0e8421a21b55
0x0402ec3be0ed044ce1a672e0e083879a50082df3eb93344040d52ee88da3bb61
0xbb0393e0f84521d52975f1e22d8c1fe9a1e58eaca5d22c340e36569a9c3878c2
0xa8bbaae08c639f5a1089b17d46d7036fcd1fbbd06a51b93fd90da4776e429d39
0x72a6ed57cfea43e614249e883c04f544ccd4bc6cb6ae6033caf9858d8a6e4b77
0xfda4c01a47b71c2cc14c6136ca638eda98c280f2ceeaeb547bcd54febd930d05

Functions
Getter at block 21330805
cheeseFactory(view returns (address)
0x689e42b8febcd66d48539cd0fa18ca13d79b9822
currentAllPoolRewardShare(view returns (uint256 _rewarduint256 _perShare)
(_reward=4336286645113690476190477, _perShare=29144573024656704894690455731881787489)
flashloanPool(view returns (uint256 pidaddress tokenuint256 weightuint256 rewardPerShareuint256 rewarduint256 lastBlockTimeStampuint256 debtuint256 totalAmount)
(pid=0, token=0xc9e86c84c343e2aa0eb8259152f87291dbf8186f, weight=0, rewardPerShare=0, reward=277445730246567048946904, lastBlockTimeStamp=1627893012, debt=0, totalAmount=0)
 
getPoolInfos(view returns (uint256 lengthuint256[] _pidaddress[] _tokenuint256[] _weightuint256[] _lastBlockTimeStampuint256[] _totalAmount)
impl(view returns (address)
0x3400985be0b41ce9778823e9618074115f830799
lastBlockTimeStamp(view returns (uint256)
1651809542
rewardPerShare(view returns (uint256)
29144573024656704894690455731881787489
token(view returns (address)
0x332e824e46fceeb9e59ba9491b80d3e6d42b0b59
totalWeight(view returns (uint256)
0
Read-only
calculateIncome(uint256 pidaddress userAddressview returns (uint256)
currentSinglePoolRewardShare(uint256 pidview returns (uint256 _rewarduint256 _perShare)
getPoolInfo(uint256 pidview returns (uint256 _pidaddress _tokenuint256 _weightuint256 _rewardPerShareuint256 _rewarduint256 _lastBlockTimeStampuint256 _debtuint256 _totalAmount)
getUserInfo(uint256 pidaddress userAddressview returns (uint256 _amountuint256 _debtuint256 _rewarduint256 _totalIncome)
isClaimedFlashLoan(uint256 indexaddress userview returns (bool)
merkleDistributors(uint256view returns (bytes32 merkleRootuint256 indexuint256 amountuint256 settleBlocNumber)
poolInfos(uint256view returns (uint256 pidaddress tokenuint256 weightuint256 rewardPerShareuint256 rewarduint256 lastBlockTimeStampuint256 debtuint256 totalAmount)
tokenOfPid(addressview returns (uint256)
tokenUsed(addressview returns (bool)
userInfos(uint256addressview returns (uint256 amountuint256 debtuint256 rewarduint256 totalIncome)
State-modifying
addPool(address tokenAddruint256 weight
claim(uint256 pid
claimFlashLoan(uint256 indexuint256 amountbytes32[] proof
setCheeseFactory(address cheeseFactory_
setCheeseToken(address token_
settleFlashLoan(uint256 indexuint256 amountuint256 settleBlockNumberbytes32 merkleRoot
stake(uint256 piduint256 amount
updateFlashloanPool(uint256 weight
updatePool(address tokenAddruint256 weight
upgradeImpl(address _newImpl
withdraw(uint256 piduint256 amount
Events
AddPoolToken(address indexed pooluint256 indexed weight
Claimed(address indexed pooladdress indexed useruint256 indexed amount
ImplChanged(address indexed _oldImpladdress indexed _newImpl
SetCheeseFactory(address indexed factory
SetCheeseToken(address indexed token
SettleFlashLoan(bytes32 indexed merkleRootuint256 indexed indexuint256 amountuint256 settleBlockNumber
Stake(address indexed pooladdress indexed useruint256 indexed amount
UpdatePoolToken(address indexed pooluint256 indexed weight
Withdraw(address indexed pooladdress indexed useruint256 indexed amount
Constructor
constructor(address cheeseFactory_address token_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.