Ribbon USDC Earn Vault

Verified contract

Proxy

Active on Ethereum with 7,441 txns
Deployed by via 0x11e4a519 at 15394088
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 44 additional slots
-
variable spans 1 additional slot
-
variable spans 3 additional slots
-
variable spans 2 additional slots
13 additional variables
ERC-20
Value $217,258.84
ERC-20
--
 (#0)
ERC-1555
--
ERC-20
--
ERC-20
--
0x51c0a28befb371f8e603773fdf12722bac1ae994b26a5c78e844c93d4886c9e4
0x418d84bf95891850e48dc4690e517eca0533a7075d2e0224fc38d24499c28fa9
0x03a4842a1de50bc2c1bc20bbb54bfc8b4806b16fd499e3ea64c95d786821ca65
0xbdf1bfa1018abaa2b951de946bbae11a36df7f4cebfe7659256acbab954b17f9
0x0bc83be69cdf93a513d0a7188ca70e8b3781df25fd84f07fb12419561a5cad4d
0xcac008e268f6bc8e9043226556b0f385d1363971cfa20a076f4e5cde5cac5c27
0x46f024cddb1480a07cf08f317ae8348f2914bf75df15face82decd78e5123fad
0x88b1e81af4bf8b1fc9059266bf283244f66ec41e63d4ac4af02e211d711a2902
0x2ce30610b008ac955c3acf7831921d1e9bc13a69806ee6351b5354ce351319e0
0x478101a66d9b9fe5a16eb3d52dc346ec2f3266c5b5fe18281c270bc9a0e38204

Functions
Getter at block 21267115
TOTAL_PCT(view returns (uint32)
1000000
USDC(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
allocationState(view returns (uint32 nextLoanTermLengthuint32 nextOptionPurchaseFrequint32 currentLoanTermLengthuint32 currentOptionPurchaseFrequint32 loanAllocationPCTuint32 optionAllocationPCTuint256 loanAllocationuint256 optionAllocation)
(nextLoanTermLength=0, nextOptionPurchaseFreq=0, currentLoanTermLength=604800, currentOptionPurchaseFreq=604800, loanAllocationPCT=0, optionAllocationPCT=0, loanAllocation=0, optionAllocation=0)
cap(view returns (uint256)
10000000000000
currentQueuedWithdrawShares(view returns (uint256)
0
decimals(view returns (uint8)
6
feeRecipient(view returns (address)
0xdaeada3d210d2f45874724beea03c7d4bbd41674
keeper(view returns (address)
0x55e4b3e3226444cd4de09778844453ba9fe9cd7c
lastBorrowerBasketChange(view returns (uint256)
1682060183
lastOptionSellerChange(view returns (uint256)
1689495047
lastQueuedWithdrawAmount(view returns (uint256)
151638947045
liquidityGauge(view returns (address)
0x9674126ff31e5ece36de0cf03a49351a7c814587
managementFee(view returns (uint256)
0
mm(view returns (address)
0x6683454f70bd27955bb3000c9736aa1b97edee11
name(view returns (string)
Ribbon USDC Earn Vault
optionSeller(view returns (address)
0x54c39a7fa0d8caa251bad55c7abefa43bc8ba749
owner(view returns (address)
0x43a43d3404eac5fa1ec4f4bb0879495d500e390b
pendingOptionSeller(view returns (address)
0x0000000000000000000000000000000000000000
performanceFee(view returns (uint256)
0
 
pricePerShare(view returns (uint256)
symbol(view returns (string)
rEARN
 
totalBalance(view returns (uint256)
totalBorrowerWeight(view returns (uint256)
100000
totalPending(view returns (uint256)
0
totalSupply(view returns (uint256)
208027500691
vaultParams(view returns (uint8 decimalsaddress assetuint56 minimumSupplyuint104 cap)
(decimals=6, asset=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, minimumSupply=100000000, cap=10000000000000)
vaultPauser(view returns (address)
0x0000000000000000000000000000000000000000
vaultState(view returns (uint16 rounduint104 lockedAmountuint104 lastLockedAmountuint128 totalPendinguint128 queuedWithdrawSharesuint64 lastEpochTimeuint64 lastOptionPurchaseTimeuint128 optionsBoughtInRounduint256 amtFundsReturned)
(round=95, lockedAmount=65624677454, lastLockedAmount=65810623451, totalPending=0, queuedWithdrawShares=145936315630, lastEpochTime=1732262400, lastOptionPurchaseTime=1706256000, optionsBoughtInRound=0, amtFundsReturned=8251404857400)
Read-only
accountVaultBalance(address accountview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
borrowerWeights(addressview returns (bool existsuint128 borrowerWeightuint128 pendingBorrowerWeight)
borrowers(uint256view returns (address)
depositReceipts(addressview returns (uint16 rounduint104 amountuint128 unredeemedShares)
roundPricePerShare(uint256view returns (uint256)
shareBalances(address accountview returns (uint256 heldByAccountuint256 heldByVault)
shares(address accountview returns (uint256)
withdrawals(addressview returns (uint16 rounduint128 shares)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
approve(address spenderuint256 amountreturns (bool)
buyOption(
commitOptionSeller(
completeWithdraw(
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 amount
depositFor(uint256 amountaddress creditor
depositWithPermit(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(struct RibbonEarnVaultInitParams _initParamsstruct VaultVaultParams _vaultParamsstruct VaultAllocationState _allocationState
initiateWithdraw(uint256 numShares
maxRedeem(
pausePosition(
payOptionYield(uint256 amount
payOptionYield(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
recoverTokens(address tokenaddress recipient
redeem(uint256 numShares
renounceOwnership(
rollToNextRound(
setAllocationPCT(uint32 _loanAllocationPCTuint32 _optionAllocationPCT
setCap(uint256 newCap
setFeeRecipient(address newFeeRecipient
setLiquidityGauge(address newLiquidityGauge
setLoanTermLength(uint32 _loanTermLength
setMM(address newMM
setManagementFee(uint256 newManagementFee
setNewKeeper(address newKeeper
setOptionPurchaseFrequency(uint32 _optionPurchaseFreq
setOptionSeller(address newOptionSeller
setPerformanceFee(uint256 newPerformanceFee
setVaultPauser(address newVaultPauser
stake(uint256 numShares
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
updateBorrowerBasket(address[] borrowersuint128[] borrowerWeights
withdrawInstantly(uint256 amount
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
BorrowerBasketUpdated(address[] borrowersuint128[] borrowerWeights
CapSet(uint256 oldCapuint256 newCap
CollectVaultFees(uint256 performanceFeeuint256 vaultFeeuint256 roundaddress indexed feeRecipient
CommitBorrowerBasket(uint256 totalBorrowerWeight
Deposit(address indexed accountuint256 amountuint256 round
InitiateWithdraw(address indexed accountuint256 sharesuint256 round
InstantWithdraw(address indexed accountuint256 amountuint256 round
MMSet(address oldMMaddress newMM
ManagementFeeSet(uint256 managementFeeuint256 newManagementFee
NewAllocationSet(uint256 oldLoanAllocationuint256 oldOptionAllocationuint256 newLoanAllocationuint256 newOptionAllocation
NewLoanTermLength(uint256 oldLoanTermLengthuint256 newLoanTermLength
NewOptionPurchaseFrequency(uint256 oldOptionPurchaseFrequencyuint256 newOptionPurchaseFrequency
OptionSellerSet(address oldOptionSelleraddress newOptionSeller
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PayOptionYield(uint256 yielduint256 netYieldaddress indexed seller
PerformanceFeeSet(uint256 performanceFeeuint256 newPerformanceFee
PurchaseOption(uint256 premiumaddress indexed seller
Redeem(address indexed accountuint256 shareuint256 round
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed accountuint256 amountuint256 shares
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.