RibbonThetaVaultWithSwap

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc189e5a6 at 15119480
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 2 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 29 additional slots
16 additional variables

No balances found for "RibbonThetaVaultWithSwap"

No transactions found for "RibbonThetaVaultWithSwap"


Functions
Getter at block 21228543
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)
0xeb8cab2f4663247db8eafb556f498c861bb4e161
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 nextOptionaddress currentOptionuint32 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
 
pricePerShare(view returns (uint256)
strikeSelection(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
 
totalBalance(view returns (uint256)
totalPending(view returns (uint256)
0
totalSupply(view returns (uint256)
0
vaultParams(view returns (bool isPutuint8 decimalsaddress assetaddress underlyinguint56 minimumSupplyuint104 cap)
(isPut=false, decimals=0, asset=0x0000000000000000000000000000000000000000, underlying=0x0000000000000000000000000000000000000000, minimumSupply=0, cap=0)
vaultPauser(view returns (address)
0x0000000000000000000000000000000000000000
vaultState(view returns (uint16 rounduint104 lockedAmountuint104 lastLockedAmountuint128 totalPendinguint128 queuedWithdrawShares)
(round=0, lockedAmount=0, lastLockedAmount=0, totalPending=0, queuedWithdrawShares=0)
Read-only
accountVaultBalance(address accountview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
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
approve(address spenderuint256 amountreturns (bool)
burnRemainingOTokens(
closeRound(
commitNextOption(
completeWithdraw(
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 amount
depositETH(payable 
depositFor(uint256 amountaddress creditor
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initRounds(uint256 numRounds
initialize(struct RibbonThetaVaultWithSwapInitParams _initParamsstruct VaultVaultParams _vaultParams
initiateWithdraw(uint256 numShares
maxRedeem(
pausePosition(
redeem(uint256 numShares
renounceOwnership(
rollToNextOption(
setCap(uint256 newCap
setFeeRecipient(address newFeeRecipient
setLiquidityGauge(address newLiquidityGauge
setManagementFee(uint256 newManagementFee
setMinPrice(uint256 minPrice
setNewKeeper(address newKeeper
setOptionsPremiumPricer(address newOptionsPremiumPricer
setPerformanceFee(uint256 newPerformanceFee
setStrikePrice(uint128 strikePrice
setStrikeSelection(address newStrikeSelection
setVaultPauser(address newVaultPauser
settleOffer(struct ISwapBid[] bids
stake(uint256 numShares
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
withdrawInstantly(uint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AuctionDurationSet(uint256 auctionDurationuint256 newAuctionDuration
CapSet(uint256 oldCapuint256 newCap
CloseShort(address indexed optionsuint256 withdrawAmountaddress indexed manager
CollectVaultFees(uint256 performanceFeeuint256 vaultFeeuint256 roundaddress indexed feeRecipient
Deposit(address indexed accountuint256 amountuint256 round
InitiateWithdraw(address indexed accountuint256 sharesuint256 round
InstantWithdraw(address indexed accountuint256 amountuint256 round
ManagementFeeSet(uint256 managementFeeuint256 newManagementFee
NewOffer(uint256 swapIdaddress selleraddress oTokenaddress biddingTokenuint256 minPriceuint256 minBidSizeuint256 totalSize
NewOptionStrikeSelected(uint256 strikePriceuint256 delta
OpenShort(address indexed optionsuint256 depositAmountaddress indexed manager
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PerformanceFeeSet(uint256 performanceFeeuint256 newPerformanceFee
Redeem(address indexed accountuint256 shareuint256 round
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed accountuint256 amountuint256 shares
Constructor
constructor(address _wethaddress _usdcaddress _oTokenFactoryaddress _gammaControlleraddress _marginPooladdress _swapContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.