Barn

Verified contract

Proxy

Active on Ethereum with 13,143 txns
Deployed by via 0x1989d609 at 11789264
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 5 additional slots
Native
Value $1,360.41
ERC-20
Value $198,498.12
ERC-20
--
0x1836b5dd5eedb9b635d5d89c8504e18283aa5db807f9366ca8cd02dc1e2aba1d
0x113adbb27504ceff95547d3dea461531647aa08301609066f37d6f7b7be3b0cf
From
0x7430a84e92247cb8726225fdef9c4fc4721ceb32fdd417d407fd9dcd44e40ed2
0xe82bfe397dc82fea8642ceb268fcb1a2bc669468a77f979a137d0c3b5e3bb4b1
0x28b107c1ea76fb1f42344c9756cae08ca821e6af46c147aa99702a5cb531d744
From
0x8d6f05eb0101c4b261e8bb100c2df1d43f02c1d1a1afa8b96d98370755f98a5c
0xfff4b62cd27d77eda2ebf9fd882bfc21807e15460925091a364a52c3f0328087
0x7382fbeb838a0e996d88159a19be09aaf9657880f2b41df01dc99d5a4222f659
0xf7246ea95008c699fb1cc6e8e5dc9bb9bc20979f5a4170c457f9196f05d90bac
0x9ae20b8fcef970d14f66274c042f0ca1c46a2f02f5da08c923fe104aa99dad9f

Functions
Getter at block 21255552
MAX_LOCK(view returns (uint256)
31536000
bondStaked(view returns (uint256)
114738703021861810559373
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
constructor(struct IDiamondCutFacetCut[] _diamondCutaddress _owner
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.