Turbo SOMM

Verified contract

Active on Ethereum with 264 txns
Deployed by via 0x09bd5c94 at 18473323
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 $24,730.61
ERC-20
Value $0
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0x2d5107564296dc1861d4f5749d3d7145d89d9d44af1c167e0b4fa03e07a9232c
0xe4f50704920b044e3fda35c40037e5f38cd5d35c0344f1348331190297304d57
0xef34b876544e84bba59dad1772b7c7739557b1cb63d0ed9b61c3b2572dd2c4dc
0x39453037827d84aee84cfcbacf0d615971bea2419bf547f69d2682069d928809
0x19cc37c5c233b8da28dd71fab95b46b35e1cea4d339f02fc12883c8d1ba6a2bf
0xb4d46ac11a7143196adae1202f9ea1b49b9fbd1ed3336fdfe59dc554f510f8ea
0x304050bcdce3c56c1537ab48fb2a3a501b2a163b943cb9f5e3cde2556bc0e044
0x3f50c801907e13919c60fe42c5678aea67ade478fbdf51384e5140b93cb6e4e3
0xdb4b0d4fe66582a6b9480d60e0c18121fb7357f764ace6d17dc0b221477bdffe
0x8ab88a2f965a53d5b2042d58e1e7f7a8f1ac0a314bef89343ee36d2bb6570bf0

Functions
Getter at block 21332877
DOMAIN_SEPARATOR(view returns (bytes32)
0x05128948e12cbf257c88d9831a97fe1233b1782e106c21fcdf6e5517e3e907c0
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)
0xa670d7237398238de01267472c6f13e5b8010fd1
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=800000, platformFee=10000000000000000, lastAccrual=0, strategistPayoutAddress=0xa9962a5bfbea6918e958dee0647e99fd7863b95a)
getCreditPositions(view returns (uint32[])
[11, 1, 100000005, 1000008]
getDebtPositions(view returns (uint32[])
[]
holdingPosition(view returns (uint32)
11
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 SOMM
owner(view returns (address)
0x69592e6f9d21989a043646fe8225da2600e5a0f7
priceRouter(view returns (address)
0xa1a0bc3d59e4ee5840c9530e49bdc2d1f88aaf92
registry(view returns (address)
0xeed68c267e9313a6ed6ee08de08c9f68dee44476
sharePriceOracle(view returns (address)
0x84785287f0c9c282462da7927aaed9773b32d9cb
shareSupplyCap(view returns (uint192)
6277101735386680763835789423207666416102355444464034512895
symbol(view returns (string)
TurboSOMM
 
totalAssets(view returns (uint256 assets)
 
totalAssetsWithdrawable(view returns (uint256 assets)
totalSupply(view returns (uint256)
933562025943
 
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(