Real Yield BTC
Verified contract
Proxy
Active on
Ethereum with 691 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x2260…c599
0x8e46…88c2
-
variable spans 1 additional slot
0x3051…9d08
7 additional
variables
Balances ($954,599.70)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
YieldETH | ERC-20 | 261.223786 | $3,620.82 |
$945,844.31 | |
WBTC | ERC-20 | 0.093537 | $93,524.00 |
$8,747.95 | |
WETH | ERC-20 | 0.002244 | $3,316.11 |
$7.44 | |
FRAX | ERC-20 | 0 | $0.993496 |
$0 | |
(#570702) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#570121) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#568179) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#567906) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#566960) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#564081) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21272918 | an hour ago | | | 0 | 0.00084214736 | |
| 21258448 | 2 days ago | | | 0 | 0.0084278278 | |
| 21244458 | 4 days ago | | | 0 | 0.016706358 | |
| 21223792 | 7 days ago | | | 0 | 0.020331851 | |
| 21170156 | 14 days ago | | | 0 | 0.0012605803 | |
| 21161926 | 16 days ago | | | 0 | 0.018472657 | |
| 21159890 | 16 days ago | | | 0 | 0.0023975268 | |
| 21127885 | 20 days ago | | | 0 | 0.00074037316 | |
| 21100610 | 24 days ago | | | 0 | 0.00032482450 | |
| 21096859 | 25 days ago | | | 0 | 0.00017209339 |
ABI
ABI objects
Getter at block 21273296 getPositionAssets() view returns (address[] assets) totalAssets() view returns (uint256 assets) totalAssetsWithdrawable() view returns (uint256 assets) viewPositionBalances() view returns (address[] assets, uint256[] balances, bool[] isDebt)
DOMAIN_SEPARATOR() view returns (bytes32)
0x732cf2906be54534463ecbfe6bc82932c787e66aa8d12481d6ae5ac993065e18
GRAVITY_BRIDGE_REGISTRY_SLOT() view returns (uint256)
0
MAXIMUM_SHARE_LOCK_PERIOD() view returns (uint256)
172800
MAX_FEE_CUT() view returns (uint64)
1000000000000000000
MAX_PLATFORM_FEE() view returns (uint64)
200000000000000000
MAX_POSITIONS() view returns (uint256)
16
MAX_REBALANCE_DEVIATION() view returns (uint64)
100000000000000000
MINIMUM_SHARE_LOCK_PERIOD() view returns (uint256)
300
PRICE_ROUTER_REGISTRY_SLOT() view returns (uint256)
2
aavePool() view returns (address)
0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2
allowedRebalanceDeviation() view returns (uint256)
3000000000000000
asset() view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
blockExternalReceiver() view returns (bool)
false
decimals() view returns (uint8)
18
feeData() view returns (uint64 strategistPlatformCut, uint64 platformFee, uint64 lastAccrual, address strategistPayoutAddress)
(strategistPlatformCut=800000000000000000, platformFee=0, lastAccrual=0, strategistPayoutAddress=0xa9962a5bfbea6918e958dee0647e99fd7863b95a)
getCreditPositions() view returns (uint32[])
[184, 194, 196, 102, 103, 163, 164, 224, 192, 142, 186, 156, 101, 185, 187, 160]
getDebtPositions() view returns (uint32[])
[166, 198, 161]
holdingPosition() view returns (uint32)
184
ignorePause() view returns (bool)
false
isPaused() view returns (bool)
false
isShutdown() view returns (bool)
false
locked() view returns (uint256)
1
name() view returns (string)
Real Yield BTC
owner() view returns (address)
0x69592e6f9d21989a043646fe8225da2600e5a0f7
priceRouter() view returns (address)
0x8e46f30b09fdfae6c97db27fecf3304f86dd88c2
registry() view returns (address)
0x3051e76a62da91d4ad6be6bd98d8ab26fdaf9d08
shareLockPeriod() view returns (uint256)
600
symbol() view returns (string)
YieldBTC
totalSupply() view returns (uint256)
27197406127263257252
Read-only
adaptorCatalogue(address) view returns (bool)
allowance(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256 assets)
convertToShares(uint256 assets) view returns (uint256 shares)
creditPositions(uint256) view returns (uint32)
debtPositions(uint256) view returns (uint32)
getPositionData(uint32) view returns (address adaptor, bool isDebt, bytes adaptorData, bytes configurationData)
isPositionUsed(uint256) view returns (bool)
maxDeposit(address) view returns (uint256)
maxMint(address) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
nonces(address) view returns (uint256)
positionCatalogue(uint32) view returns (bool)
previewDeposit(uint256 assets) view returns (uint256 shares)
previewMint(uint256 shares) view returns (uint256 assets)
previewRedeem(uint256 shares) view returns (uint256 assets)
previewWithdraw(uint256 assets) view returns (uint256 shares)
userShareLockStartTime(address) view returns (uint256)
State-modifying
Events addAdaptorToCatalogue(address adaptor)
addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)
addPositionToCatalogue(uint32 positionId)
approve(address spender, uint256 amount) returns (bool)
cachePriceRouter(bool checkTotalAssets, uint16 allowableRange)
callOnAdaptor(struct CellarAdaptorCall[] data)
deposit(uint256 assets, address receiver) returns (uint256 shares)
executeOperation(address[] assets, uint256[] amounts, uint256[] premiums, address initiator, bytes params) returns (bool)
forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)
initialize(bytes params)
initiateShutdown()
liftShutdown()
mint(uint256 shares, address receiver) returns (uint256 assets)
multicall(bytes[] data)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor)
removePosition(uint32 index, bool inDebtArray)
removePositionFromCatalogue(uint32 positionId)
setHoldingPosition(uint32 positionId)
setRebalanceDeviation(uint256 newDeviation)
setShareLockPeriod(uint256 newLock)
setStrategistPayoutAddress(address payout)
setStrategistPlatformCut(uint64 cut)
swapPositions(uint32 index1, uint32 index2, bool inDebtArray)
toggleIgnorePause(bool toggle)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
withdraw(uint256 assets, address receiver, address owner) returns (uint256 shares)
AdaptorCalled(address adaptor, bytes data)
AdaptorCatalogueAltered(address adaptor, bool inCatalogue)
Approval(address indexed owner, address indexed spender, uint256 amount)
Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
Initialized(uint8 version)
OwnershipTransferred(address indexed user, address indexed newOwner)
PlatformFeeChanged(uint64 oldPlatformFee, uint64 newPlatformFee)
PositionAdded(uint32 position, uint256 index)
PositionCatalogueAltered(uint32 positionId, bool inCatalogue)
PositionRemoved(uint32 position, uint256 index)
PositionSwapped(uint32 newPosition1, uint32 newPosition2, uint256 index1, uint256 index2)
RebalanceDeviationChanged(uint256 oldDeviation, uint256 newDeviation)
ShareLockingPeriodChanged(uint256 oldPeriod, uint256 newPeriod)
ShutdownChanged(bool isShutdown)
StrategistPayoutAddressChanged(address oldPayoutAddress, address newPayoutAddress)
StrategistPlatformCutChanged(uint64 oldPlatformCut, uint64 newPlatformCut)
Transfer(address indexed from, address indexed to, uint256 amount)
Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
Cellar__AssetMismatch(address asset, address expectedAsset)
Cellar__CallToAdaptorNotAllowed(address adaptor)
Cellar__CallerNotAavePool()
Cellar__ContractNotShutdown()
Cellar__ContractShutdown()
Cellar__DebtMismatch(uint32 position)
Cellar__DepositRestricted(uint256 assets, uint256 maxDeposit)
Cellar__ExternalInitiator()
Cellar__IlliquidWithdraw(address illiquidPosition)
Cellar__IncompleteWithdraw(uint256 assetsOwed)
Cellar__InvalidFee()
Cellar__InvalidFeeCut()
Cellar__InvalidHoldingPosition(uint32 positionId)
Cellar__InvalidRebalanceDeviation(uint256 requested, uint256 max)
Cellar__InvalidShareLockPeriod()
Cellar__NotApprovedToDepositOnBehalf(address depositor)
Cellar__Paused()
Cellar__PositionAlreadyUsed(uint32 position)
Cellar__PositionArrayFull(uint256 maxPositions)
Cellar__PositionNotEmpty(uint32 position, uint256 sharesRemaining)
Cellar__PositionNotInCatalogue(uint32 position)
Cellar__PositionNotUsed(uint32 position)
Cellar__RemovingHoldingPosition()
Cellar__SharesAreLocked(uint256 timeSharesAreUnlocked, uint256 currentBlock)
Cellar__TotalAssetDeviatedOutsideRange(uint256 assets, uint256 min, uint256 max)
Cellar__TotalSharesMustRemainConstant(uint256 current, uint256 expected)
Cellar__ZeroAssets()
Cellar__ZeroShares()