Turbo GHO

Verified contract

Active on Ethereum with 316 txns
Deployed by via 0x4e597f6a at 18094221
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $233.56
 (#0)
ERC-1555
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xc7dc5b0f2676682e24897daa4976f8f9477d0c85429d6de88772e37ff86da4dd
0x9523ed7d66118758798707af317633336aa6c79de85c27bd96de012a810c60b7
0xe3aedbfe8eed0181683ce0e850ff2be4546c610b7b0155129a3c5ed25509e901
0x4863928958b7f916496719ad7641ef0189cfc976f066851bc6527a1402a42a61
0x2f53c868448e44423f4589676477213e30d35045da6dd5d16720d1b890079ba1
From
0x56077e9ac12c43732ad9509221f0bdd6bb5aba5375fddc1be8bf476dcfbe32c8
From
0x0e9983a370b8bd9748ea5bae994fa816e9b7fae5dde85e480aa4f82f449bf7a4
From
0x94c5b55063e20fc7ea46ddf12fc791cf34b1aaac2920d53ce8578c76a06ff129
0x68d18fac4f043ba33996e75d22aec4eb9c925a7f573a1259c180bec952eb4720
0x618f2d247603a7e79ce9ce200073077594e956f24384233382dfc4d13a777aae

Functions
Getter at block 21402947
DOMAIN_SEPARATOR(view returns (bytes32)
0x47051b1c938f469ae6fe148f61765ce3e847d8b9fbce3f0bdae9cc157d888e30
GRAVITY_BRIDGE_REGISTRY_SLOT(view returns (uint256)
0
MAX_FEE_CUT(view returns (uint64)
1000000000000000000
MAX_PLATFORM_FEE(view returns (uint64)
200000000000000000
MAX_POSITIONS(view returns (uint256)
32
MAX_REBALANCE_DEVIATION(view returns (uint64)
100000000000000000
ORACLE_DECIMALS(view returns (uint8)
18
PRICE_ROUTER_REGISTRY_SLOT(view returns (uint256)
2
allowedRebalanceDeviation(view returns (uint256)
3000000000000000
asset(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
automationActions(view returns (address)
0x0000000000000000000000000000000000000000
balancerVault(view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
blockExternalReceiver(view returns (bool)
false
decimals(view returns (uint8)
6
feeData(view returns (uint64 strategistPlatformCutuint64 platformFeeuint64 lastAccrualaddress strategistPayoutAddress)
(strategistPlatformCut=800000000000000000, platformFee=10000000000000000, lastAccrual=0, strategistPayoutAddress=0xa9962a5bfbea6918e958dee0647e99fd7863b95a)
getCreditPositions(view returns (uint32[])
[3, 5, 2000001, 2000002, 1000003, 100000001, 1000002]
getDebtPositions(view returns (uint32[])
[]
holdingPosition(view returns (uint32)
3
ignorePause(view returns (bool)
false
isPaused(view returns (bool)
false
isShutdown(view returns (bool)
false
locked(view returns (bool)
false
name(view returns (string)
Turbo GHO
owner(view returns (address)
0x69592e6f9d21989a043646fe8225da2600e5a0f7
priceRouter(view returns (address)
0xa1a0bc3d59e4ee5840c9530e49bdc2d1f88aaf92
registry(view returns (address)
0xeed68c267e9313a6ed6ee08de08c9f68dee44476
sharePriceOracle(view returns (address)
0x8e692b7ae230827bc2db30ffa6f3be8ed1a76fc1
shareSupplyCap(view returns (uint192)
6277101735386680763835789423207666416102355444464034512895
symbol(view returns (string)
TurboGHO
 
totalAssets(view returns (uint256 assets)
 
totalAssetsWithdrawable(view returns (uint256 assets)
totalSupply(view returns (uint256)
168233209
 
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)
State-modifying
addAdaptorToCatalogue(address adaptor
addPosition(uint32 indexuint32 positionIdbytes configurationDatabool inDebtArray
addPositionToCatalogue(uint32 positionId
approve(address spenderuint256 amountreturns (bool)
cachePriceRouter(bool checkTotalAssetsuint16 allowableRangeaddress expectedPriceRouter
callOnAdaptor(struct CellarAdaptorCall[] data
decreaseShareSupplyCap(uint192 _newShareSupplyCap
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
forcePositionOut(uint32 indexuint32 positionIdbool inDebtArray
increaseShareSupplyCap(uint192 _newShareSupplyCap
initiateShutdown(
liftShutdown(
mint(uint256 sharesaddress receiverreturns (uint256 assets)
multicall(bytes[] data
onERC721Received(addressaddressuint256bytesreturns (bytes4)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
receiveFlashLoan(address[] tokensuint256[] amountsuint256[] feeAmountsbytes userData
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor
removePosition(uint32 indexbool inDebtArray
removePositionFromCatalogue(uint32 positionId
setAutomationActions(uint256 _registryIdaddress _expectedAutomationActions
setHoldingPosition(uint32 positionId
setRebalanceDeviation(uint256 newDeviation
setSharePriceOracle(uint256 _registryIdaddress _sharePriceOracle
setStrategistPayoutAddress(address payout
setStrategistPlatformCut(uint64 cut
swapPositions(uint32 index1uint32 index2bool inDebtArray
toggleIgnorePause(
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
Cellar__AutomationActionsUpdated(address newAutomationActions
Deposit(address indexed calleraddress indexed owneruint256 assetsuint256 shares
OwnershipTransferred(address indexed useraddress indexed newOwner
PositionAdded(uint32 positionuint256 index
PositionCatalogueAltered(uint32 positionIdbool inCatalogue
PositionRemoved(uint32 positionuint256 index
PositionSwapped(uint32 newPosition1uint32 newPosition2uint256 index1uint256 index2
RebalanceDeviationChanged(uint256 oldDeviationuint256 newDeviation
SharePriceOracleUpdated(address newOracle
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
constructor(address _owneraddress _registryaddress _assetstring _namestring _symboluint32 _holdingPositionbytes _holdingPositionConfiguint256 _initialDeposituint64 _strategistPlatformCutuint192 _shareSupplyCapaddress _balancerVault
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Cellar__AssetMismatch(address assetaddress expectedAsset
Cellar__CallToAdaptorNotAllowed(address adaptor
Cellar__CallerNotApprovedToRebalance(
Cellar__CallerNotBalancerVault(
Cellar__ContractNotShutdown(
Cellar__ContractShutdown(
Cellar__DebtMismatch(uint32 position
Cellar__ExpectedAddressDoesNotMatchActual(
Cellar__ExternalInitiator(
Cellar__FailedToForceOutPosition(
Cellar__IlliquidWithdraw(address illiquidPosition
Cellar__IncompleteWithdraw(uint256 assetsOwed
Cellar__InvalidFee(
Cellar__InvalidFeeCut(
Cellar__InvalidHoldingPosition(uint32 positionId
Cellar__InvalidRebalanceDeviation(uint256 requesteduint256 max
Cellar__InvalidShareSupplyCap(
Cellar__MinimumConstructorMintNotMet(
Cellar__OracleFailure(
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__SettingValueToRegistryIdZeroIsProhibited(
Cellar__ShareSupplyCapExceeded(
Cellar__TotalAssetDeviatedOutsideRange(uint256 assetsuint256 minuint256 max
Cellar__TotalSharesMustRemainConstant(uint256 currentuint256 expected
Cellar__ZeroAssets(
Cellar__ZeroShares(