RiceFields

Verified contract

Active on Base with 411 txns
Deployed by via 0xb8ebb22d at 14307874
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
Value $635.5
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xf01750b29c297c4e5ecfdae3f4e610264fee85520567026208cc99ad1ed35f6a
0x11170b1628835abe4c938be0ed11b4c60150c78070bd02153dad663872bd3361
0x5fc1250b14cc1918466ded85f53c76cef089aa62544d4e53ce8d882b2730eec8
0x064bdbceb048a6535a7c37d0a1949a7deac51936d58193b41b179e2778cf8b50
0x9545ea4216361abdfa26078c0d1f3dbebaec34da17fc83c2279291671ded8765
0x4117e8bd5991b4dd40bad1ca5d40effaa7fb07e239b6daf37b7de8e128dcf751
0x2cdf4297ac42cff67465546c1fa113d75b18953960714c91825b54c0de13d66a
0xc577b0cbce68cf67d96afe768d6485ab2428e74fa014f9179632594dbe683f9e
0x2a92206caff778a8ae39f4e88c9ee98ceb443539ec59e8e4cc2b99fa401f33eb
0xc85164575bc54c140a20940a31c5c59963ea821a3956f7e6260802e33cd95a60

Functions
Getter at block 22825218
PRECISION(view returns (uint256)
1000000000000000000
canChangeRewardAddress(view returns (bool)
true
distributionCount(view returns (uint256)
5
newestActiveDistributionId(view returns (uint256)
0
owner(view returns (address)
0x4005dc7ec0529d9f222e36511bdcd94b9677bb24
platformFee(view returns (uint256)
100
rewardFarmers(view returns (address)
0x4d73e0b349982f75539769f4c9b4b4224bd6bcb7
Read-only
allocatedAmount(uint256 distributionIdaddress userview returns (uint256)
currentAllocation(uint256 distributionIdaddress userview returns (uint256)
currentAllocationPeriod(uint256 distributionIdview returns (uint256)
deposits(uint256addressview returns (uint256 previouslyAllocateduint256 amountbool claimed)
distributions(uint256view returns (uint256 totalTokensPerDeposituint256 uncommonRewardIduint256 percentReturneduint256 tokensPerSecondbool hasUncommonRewarduint256 totalDepositedbool rewardDistributeduint256 lastDepositAtbool ownerWithdrawnuint256 platformFeeuint256 startTimeuint256 amountOUTuint256 durationuint256 endTimestring ipfsHashaddress creatoruint256 idstring descriptionstring nameuint256 nextActiveIduint256 prevActiveIdaddress tokenINaddress tokenOUT)
ethPerToken(address tokenview returns (uint256)
getActiveDistributions(address useruint256 pageuint256 pageSizeview returns (struct RiceFieldsDistributionInfo[])
getInfo(uint256 distributionIdaddress userview returns (struct RiceFieldsDistributionInfo)
getRecentDistributions(address useruint256 pageuint256 pageSizeview returns (struct RiceFieldsDistributionInfo[])
getUserDistributions(address useruint256 pageuint256 pageSizeview returns (struct RiceFieldsDistributionInfo[])
previousAllocation(uint256 distributionIdaddress userview returns (uint256)
userDistributions(addressuint256view returns (uint256)
State-modifying
claim(uint256 distributionId
createDistribution(address tokenINaddress tokenOUTuint256 durationuint256 amountOUTstring namestring descriptionstring ipfsHashuint256 percentReturnedpayable 
deposit(uint256 distributionIduint256 amountpayable 
distributeReward(uint256 distributionId
renounceOwnership(
revokeCanChangeRewardAddress(
setPlatformFee(uint256 newFee
setRewardFarmers(address _farm
transferOwnership(address newOwner
withdraw(uint256 distributionId
Events
Claim(uint256 distributionIdaddress indexed useruint256 amountuint256 ethAmount
Deposited(uint256 distributionIdaddress indexed useruint256 amount
DistributionCreated(uint256 idaddress creatorstring namestring descriptionuint256 durationstring ipfsHashuint256 amountOUTuint256 percentReturnedaddress tokenOUTaddress tokenIN
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _farm
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.