Barn
Verified contract
Proxy
Active on
Ethereum with 13,143 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
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
Balances ($199,858.54)
Native
Value
$1,360.41
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.398919 | $3,410.25 |
$1,360.41 | |
BOND | ERC-20 | 114.7388K | $1.73 |
$198,498.12 | |
SWAPP | ERC-20 | 5 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21111578 | 20 days ago | | | 0 | 0.0010576428 | |
| 20465803 | 4 months ago | | | 0 | 0.00044788898 | |
| 20250373 | 5 months ago | | | 0 | 0.00042368992 | |
| 19906053 | 6 months ago | | | 0 | 0.00099504551 | |
| 19899108 | 6 months ago | | | 0 | 0.00087551079 | |
| 19882158 | 6 months ago | | | 0 | 0.0015087849 | |
| 19632778 | 7 months ago | | | 0 | 0.0074345022 | |
| 19582284 | 8 months ago | | | 0 | 0.0055124434 | |
| 19508090 | 8 months ago | | | 0 | 0.0030715749 | |
| 19508080 | 8 months ago | | | 0 | 0.0040602530 |
ABI
ABI objects
Getter at block 21255552
MAX_LOCK() view returns (uint256)
31536000
bondStaked() view returns (uint256)
114738703021861810559373
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)
constructor(struct IDiamondCutFacetCut[] _diamondCut, address _owner)
fallback()
receive()
This contract contains no error objects.