BarnFacet

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xce213ad7 at 11789264
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots

No balances found for "BarnFacet"

No transactions found for "BarnFacet"


Functions
Getter at block 21283807
MAX_LOCK(view returns (uint256)
31536000
bondStaked(view returns (uint256)
0
Read-only
balanceAtTs(address useruint256 timestampview returns (uint256)
balanceOf(address userview returns (uint256)
bondStakedAtTs(uint256 timestampview returns (uint256)
delegatedPower(address userview returns (uint256)
delegatedPowerAtTs(address useruint256 timestampview returns (uint256)
multiplierAtTs(address useruint256 timestampview returns (uint256)
multiplierOf(address userview returns (uint256)
stakeAtTs(address useruint256 timestampview returns (struct LibBarnStorageStake)
userDelegatedTo(address userview returns (address)
userLockedUntil(address userview returns (uint256)
votingPower(address userview returns (uint256)
votingPowerAtTs(address useruint256 timestampview returns (uint256)
State-modifying
delegate(address to
deposit(uint256 amount
depositAndLock(uint256 amountuint256 timestamp
initBarn(address _bondaddress _rewards
lock(uint256 timestamp
stopDelegate(
withdraw(uint256 amount
Events
Delegate(address indexed fromaddress indexed to
DelegatedPowerDecreased(address indexed fromaddress indexed touint256 amountuint256 to_newDelegatedPower
DelegatedPowerIncreased(address indexed fromaddress indexed touint256 amountuint256 to_newDelegatedPower
Deposit(address indexed useruint256 amountuint256 newBalance
Lock(address indexed useruint256 timestamp
Withdraw(address indexed useruint256 amountWithdrewuint256 amountLeft
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.