RibbonThetaVaultWithSwap
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
19
Slot
XX
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 2 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 29 additional slots
14 additional
variables
Balances ($0.00)
No balances found for "RibbonThetaVaultWithSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RibbonThetaVaultWithSwap"
ABI
ABI objects
Getter at block 21184441 pricePerShare() view returns (uint256) totalBalance() view returns (uint256)
DELAY() view returns (uint256)
0
GAMMA_CONTROLLER() view returns (address)
0x4ccc2339f87f6c59c6893e1a678c2266ca58dc72
MARGIN_POOL() view returns (address)
0x5934807cc0654d46755ebd2848840b616256c6ef
OTOKEN_FACTORY() view returns (address)
0x7c06792af1632e77cb27a558dc0885338f4bdf8e
PERIOD() view returns (uint256)
604800
SWAP_CONTRACT() view returns (address)
0xf0e5c92cedd66c7985c354c35e2bc37e685b99da
USDC() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
auctionDuration() view returns (uint256)
0
cap() view returns (uint256)
0
currentOption() view returns (address)
0x0000000000000000000000000000000000000000
currentOtokenPremium() view returns (uint256)
0
currentQueuedWithdrawShares() view returns (uint256)
0
decimals() view returns (uint8)
0
feeRecipient() view returns (address)
0x0000000000000000000000000000000000000000
keeper() view returns (address)
0x0000000000000000000000000000000000000000
lastQueuedWithdrawAmount() view returns (uint256)
0
lastStrikeOverrideRound() view returns (uint16)
0
liquidityGauge() view returns (address)
0x0000000000000000000000000000000000000000
managementFee() view returns (uint256)
0
name() view returns (string)
nextOption() view returns (address)
0x0000000000000000000000000000000000000000
nextOptionReadyAt() view returns (uint256)
0
optionAuctionID() view returns (uint256)
0
optionState() view returns (address nextOption, address currentOption, uint32 nextOptionReadyAt)
(nextOption=0x0000000000000000000000000000000000000000, currentOption=0x0000000000000000000000000000000000000000, nextOptionReadyAt=0)
optionsPremiumPricer() view returns (address)
0x0000000000000000000000000000000000000000
optionsPurchaseQueue() view returns (address)
0x0000000000000000000000000000000000000000
overriddenStrikePrice() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
performanceFee() view returns (uint256)
0
premiumDiscount() view returns (uint256)
0
strikeSelection() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalPending() view returns (uint256)
0
totalSupply() view returns (uint256)
0
vaultParams() view returns (bool isPut, uint8 decimals, address asset, address underlying, uint56 minimumSupply, uint104 cap)
(isPut=false, decimals=0, asset=0x0000000000000000000000000000000000000000, underlying=0x0000000000000000000000000000000000000000, minimumSupply=0, cap=0)
vaultState() view returns (uint16 round, uint104 lockedAmount, uint104 lastLockedAmount, uint128 totalPending, uint128 queuedWithdrawShares)
(round=0, lockedAmount=0, lastLockedAmount=0, totalPending=0, queuedWithdrawShares=0)
Read-only
accountVaultBalance(address account) view returns (uint256)
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
depositReceipts(address) view returns (uint16 round, uint104 amount, uint128 unredeemedShares)
roundPricePerShare(uint256) view returns (uint256)
shareBalances(address account) view returns (uint256 heldByAccount, uint256 heldByVault)
shares(address account) view returns (uint256)
withdrawals(address) view returns (uint16 round, uint128 shares)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
burnRemainingOTokens()
closeRound()
commitNextOption()
completeWithdraw()
createOffer()
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 amount)
depositETH() payable
depositFor(uint256 amount, address creditor)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initRounds(uint256 numRounds)
initialize(struct RibbonThetaVaultWithSwapInitParams _initParams, struct VaultVaultParams _vaultParams)
initiateWithdraw(uint256 numShares)
maxRedeem()
redeem(uint256 numShares)
renounceOwnership()
rollToNextOption()
setAuctionDuration(uint256 newAuctionDuration)
setCap(uint256 newCap)
setFeeRecipient(address newFeeRecipient)
setLiquidityGauge(address newLiquidityGauge)
setManagementFee(uint256 newManagementFee)
setNewKeeper(address newKeeper)
setOptionsPremiumPricer(address newOptionsPremiumPricer)
setPerformanceFee(uint256 newPerformanceFee)
setPremiumDiscount(uint256 newPremiumDiscount)
setStrikePrice(uint128 strikePrice)
setStrikeSelection(address newStrikeSelection)
settleOffer(struct ISwapBid[] bids)
stake(uint256 numShares)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
withdrawInstantly(uint256 amount)
Approval(address indexed owner, address indexed spender, uint256 value)
AuctionDurationSet(uint256 auctionDuration, uint256 newAuctionDuration)
CapSet(uint256 oldCap, uint256 newCap)
CloseShort(address indexed options, uint256 withdrawAmount, address indexed manager)
CollectVaultFees(uint256 performanceFee, uint256 vaultFee, uint256 round, address indexed feeRecipient)
Deposit(address indexed account, uint256 amount, uint256 round)
InitiateWithdraw(address indexed account, uint256 shares, uint256 round)
InstantWithdraw(address indexed account, uint256 amount, uint256 round)
ManagementFeeSet(uint256 managementFee, uint256 newManagementFee)
NewOffer(uint256 swapId, address seller, address oToken, address biddingToken, uint256 minPrice, uint256 minBidSize, uint256 totalSize)
NewOptionStrikeSelected(uint256 strikePrice, uint256 delta)
OpenShort(address indexed options, uint256 depositAmount, address indexed manager)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PerformanceFeeSet(uint256 performanceFee, uint256 newPerformanceFee)
PremiumDiscountSet(uint256 premiumDiscount, uint256 newPremiumDiscount)
Redeem(address indexed account, uint256 share, uint256 round)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed account, uint256 amount, uint256 shares)
constructor(address _weth, address _usdc, address _oTokenFactory, address _gammaController, address _marginPool, address _swapContract)
This contract contains no fallback and receive objects.
This contract contains no error objects.