Real Yield BTC

Verified contract

Proxy

Active on Ethereum with 691 txns
Deployed by via 0x033ff80d at 17630098
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
7 additional variables
ERC-20
Value $945,844.31
ERC-20
Value $8,747.95
ERC-20
Value $7.44
ERC-20
Value $0
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0x6d34e24a1caad61abedf20485b09cb7baff06e842916feb4a1427432dff282b9
0x80dc43c827235abc7098757bcba38c0f52c006318857e84d24b66cdf42b8af76
0x41e9b64e6fba596921a54f1c3f2e236047645d1e5b671bffd5a709cfe730ac1e
0x4519c2272d0d7bf75c258da241d93d203a7746a50d9eb68fa61e2e8e0fe9e393
0xc3117f663dfbbdd9ce0185677c69ff350fc3825408e2b020bed2a079fe1ba163
0xc4e592a7d381a6694976ff33cf167ac85d123658d3a5e78c3d3b7fd566f6dcad
0xe19c92542371ba6c517d86020abf88e90356971cd23a79467c9259a72fdd19d1
0x12925058e6eba4f2ead8eaa6b6a8386ad37780b49c7b32d0bfdbe3282fa7d6a3
0x5aea7db76856ba0afac5cd1b327201be7c55fcda9951e48a1b475b99d6fbcc4f
0xb2837eb7f2bccf2a6315400bae3b7d0387430153caa723ff559a97f019d857fb

Functions
Getter at block 21273296
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 strategistPlatformCutuint64 platformFeeuint64 lastAccrualaddress 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]
 
getPositionAssets(view returns (address[] assets)
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
 
totalAssets(view returns (uint256 assets)
 
totalAssetsWithdrawable(view returns (uint256 assets)
totalSupply(view returns (uint256)
27197406127263257252
 
viewPositionBalances(view returns (address[] assetsuint256[] balancesbool[] isDebt)
Read-only
adaptorCatalogue(addressview returns (bool)
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256 assets)
convertToShares(uint256 assetsview returns (uint256 shares)
creditPositions(uint256view returns (uint32)
debtPositions(uint256view returns (uint32)
getPositionData(uint32view returns (address adaptorbool isDebtbytes adaptorDatabytes configurationData)
isPositionUsed(uint256view returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
nonces(addressview returns (uint256)
positionCatalogue(uint32view returns (bool)
previewDeposit(uint256 assetsview returns (uint256 shares)
previewMint(uint256 sharesview returns (uint256 assets)
previewRedeem(uint256 sharesview returns (uint256 assets)
previewWithdraw(uint256 assetsview returns (uint256 shares)
userShareLockStartTime(addressview returns (uint256)
State-modifying
addAdaptorToCatalogue(address adaptor
addPosition(uint32 indexuint32 positionIdbytes configurationDatabool inDebtArray
addPositionToCatalogue(uint32 positionId
approve(address spenderuint256 amountreturns (bool)
cachePriceRouter(bool checkTotalAssetsuint16 allowableRange
callOnAdaptor(struct CellarAdaptorCall[] data
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
executeOperation(address[] assetsuint256[] amountsuint256[] premiumsaddress initiatorbytes paramsreturns (bool)
forcePositionOut(uint32 indexuint32 positionIdbool inDebtArray
initialize(bytes params
initiateShutdown(
liftShutdown(
mint(uint256 sharesaddress receiverreturns (uint256 assets)
multicall(bytes[] data
onERC721Received(addressaddressuint256bytesreturns (bytes4)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor
removePosition(uint32 indexbool inDebtArray
removePositionFromCatalogue(uint32 positionId
setHoldingPosition(uint32 positionId
setRebalanceDeviation(uint256 newDeviation
setShareLockPeriod(uint256 newLock
setStrategistPayoutAddress(address payout
setStrategistPlatformCut(uint64 cut
swapPositions(uint32 index1uint32 index2bool inDebtArray
toggleIgnorePause(bool toggle
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256 shares)
Events
AdaptorCalled(address adaptorbytes data
AdaptorCatalogueAltered(address adaptorbool inCatalogue
Approval(address indexed owneraddress indexed spenderuint256 amount
Deposit(address indexed calleraddress indexed owneruint256 assetsuint256 shares
Initialized(uint8 version
OwnershipTransferred(address indexed useraddress indexed newOwner
PlatformFeeChanged(uint64 oldPlatformFeeuint64 newPlatformFee
PositionAdded(uint32 positionuint256 index
PositionCatalogueAltered(uint32 positionIdbool inCatalogue
PositionRemoved(uint32 positionuint256 index
PositionSwapped(uint32 newPosition1uint32 newPosition2uint256 index1uint256 index2
RebalanceDeviationChanged(uint256 oldDeviationuint256 newDeviation
ShareLockingPeriodChanged(uint256 oldPerioduint256 newPeriod
ShutdownChanged(bool isShutdown
StrategistPayoutAddressChanged(address oldPayoutAddressaddress newPayoutAddress
StrategistPlatformCutChanged(uint64 oldPlatformCutuint64 newPlatformCut
Transfer(address indexed fromaddress indexed touint256 amount
Withdraw(address indexed calleraddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
Cellar__AssetMismatch(address assetaddress expectedAsset
Cellar__CallToAdaptorNotAllowed(address adaptor
Cellar__CallerNotAavePool(
Cellar__ContractNotShutdown(
Cellar__ContractShutdown(
Cellar__DebtMismatch(uint32 position
Cellar__DepositRestricted(uint256 assetsuint256 maxDeposit
Cellar__ExternalInitiator(
Cellar__IlliquidWithdraw(address illiquidPosition
Cellar__IncompleteWithdraw(uint256 assetsOwed
Cellar__InvalidFee(
Cellar__InvalidFeeCut(
Cellar__InvalidHoldingPosition(uint32 positionId
Cellar__InvalidRebalanceDeviation(uint256 requesteduint256 max
Cellar__InvalidShareLockPeriod(
Cellar__NotApprovedToDepositOnBehalf(address depositor
Cellar__Paused(
Cellar__PositionAlreadyUsed(uint32 position
Cellar__PositionArrayFull(uint256 maxPositions
Cellar__PositionNotEmpty(uint32 positionuint256 sharesRemaining
Cellar__PositionNotInCatalogue(uint32 position
Cellar__PositionNotUsed(uint32 position
Cellar__RemovingHoldingPosition(
Cellar__SharesAreLocked(uint256 timeSharesAreUnlockeduint256 currentBlock
Cellar__TotalAssetDeviatedOutsideRange(uint256 assetsuint256 minuint256 max
Cellar__TotalSharesMustRemainConstant(uint256 currentuint256 expected
Cellar__ZeroAssets(
Cellar__ZeroShares(