BarnFacet
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
Balances ($0.00)
No balances found for "BarnFacet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BarnFacet"
ABI
ABI objects
Getter at block 20861705
MAX_LOCK() view returns (uint256)
31536000
bondStaked() view returns (uint256)
0
Read-only
balanceAtTs(address user, uint256 timestamp) view returns (uint256)
balanceOf(address user) view returns (uint256)
bondStakedAtTs(uint256 timestamp) view returns (uint256)
delegatedPower(address user) view returns (uint256)
delegatedPowerAtTs(address user, uint256 timestamp) view returns (uint256)
multiplierAtTs(address user, uint256 timestamp) view returns (uint256)
multiplierOf(address user) view returns (uint256)
stakeAtTs(address user, uint256 timestamp) view returns (struct LibBarnStorageStake)
userDelegatedTo(address user) view returns (address)
userLockedUntil(address user) view returns (uint256)
votingPower(address user) view returns (uint256)
votingPowerAtTs(address user, uint256 timestamp) view returns (uint256)
State-modifying
Events delegate(address to)
deposit(uint256 amount)
depositAndLock(uint256 amount, uint256 timestamp)
initBarn(address _bond, address _rewards)
lock(uint256 timestamp)
stopDelegate()
withdraw(uint256 amount)
Delegate(address indexed from, address indexed to)
DelegatedPowerDecreased(address indexed from, address indexed to, uint256 amount, uint256 to_newDelegatedPower)
DelegatedPowerIncreased(address indexed from, address indexed to, uint256 amount, uint256 to_newDelegatedPower)
Deposit(address indexed user, uint256 amount, uint256 newBalance)
Lock(address indexed user, uint256 timestamp)
Withdraw(address indexed user, uint256 amountWithdrew, uint256 amountLeft)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.