Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

0xa6a147946facac9e0b99824870b36088764f969f

Verified contract

Proxy

Active on Base with 12,884 txns
Deployed by via 0x91581642 at 6373869
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x3ce7e145bdba2c64adde104b8daa7140b4df4769caff268dd6ac2fe75da659dd
0x05e45be8a322488d0417195115b2cc28433b6e27824ea4729fbc0e06a7685c6e
0x3e89f337bc5b39d2b037dfd6682d086166c9008319c0e140685220b442e7f5c4
0x28d59e7fd2b3bcd1711dc89c3320a34f1f7dba322788810a1875d862c56a6668
0x53a0221f4d8e98b8d8c5f7d6756df3701c45488b258b1566a709aa94c8e3bd15
0xd9f353e368bf2f01a7ade11dda79aa0ba4181d51045ebddd85411b978a120879
0x665ad69cc987e0619486d9b467e28c877b813032d3e320611f88094c52b8f68e
0x15c0002e700b47e6fca057737eba623102be064b27851449f03e6e1e5ff4cdb2
0x208a851f2f8b1d9770fe5947e9203e961df17b206ad393ce364eb65c00c882f4
0x0f3c1a36239d90569f58be07cbb4635726c21b02760daff74b42ef73d7c4bd55

Functions
Getter at block 21765210
ALL(view returns (uint256)
0
UPPER_BIT_MASK(view returns (bytes32)
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
contango(view returns (address)
0x6cae28b3d09d8f8fc74ccd496ac986fc84c0c24e
nativeToken(view returns (address)
0x4200000000000000000000000000000000000006
orderManager(view returns (address)
0xa64f0dbb10c473978c2efe069da207991e8e3cb3
permit2(view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
positionNFT(view returns (address)
0xc2462f03920d47fc5b9e2c5f0ba5d2ded058fd78
 
proxiableUUID(view returns (bytes32)
spotExecutor(view returns (address)
0xc5ccf95ecf7afada7cf2efb079c4298db448e0dc
timelock(view returns (address)
0xc0939a4ed0129bc5162f6f693935b3f72a46a90d
vault(view returns (address)
0x3f37c7d8e61c000085aac0515775b06a3412f36b
Read-only

This contract contains no read-only function objects.

State-modifying
_tradeAndWithdraw(struct TradeParams tradeParamsstruct ExecutionParams execParamsaddress tobool nativepayable returns (bytes32 positionIdstruct Trade trade_uint256 amount)
applyPermit(address tokenstruct EIP2098Permit permitaddress spender
cancel(bytes32 orderIdpayable 
cancel(bytes32 orderId1bytes32 orderId2payable 
cancelAndWithdraw(bytes32 orderIdaddress topayable returns (uint256)
cancelAndWithdrawNative(bytes32 orderIdaddress topayable returns (uint256)
cancelReplaceLinkedOrder(bytes32 cancelOrderIdstruct LinkedOrderParams newLinkedOrderParamspayable returns (bytes32 newLinkedOrderId)
cancelReplaceLinkedOrders(bytes32 cancelOrderId1bytes32 cancelOrderId2struct LinkedOrderParams newLinkedOrderParams1struct LinkedOrderParams newLinkedOrderParams2payable returns (bytes32 newLinkedOrderId1bytes32 newLinkedOrderId2)
deposit(address tokenuint256 amountpayable returns (uint256)
depositAndPlace(struct OrderParams paramspayable returns (bytes32 orderId)
depositAndPlaceWithPermit(struct OrderParams paramsstruct EIP2098Permit permitpayable returns (bytes32 orderId)
depositAndTrade(struct TradeParams tradeParamsstruct ExecutionParams execParamspayable returns (bytes32struct Trade)
depositAndTradeWithPermit(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct EIP2098Permit permitpayable returns (bytes32struct Trade)
depositNative(payable returns (uint256)
depositTradeAndLinkedOrder(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParamspayable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId)
depositTradeAndLinkedOrderWithPermit(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParamsstruct EIP2098Permit permitpayable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId)
depositTradeAndLinkedOrders(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParams1struct LinkedOrderParams linkedOrderParams2payable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId1bytes32 linkedOrderId2)
depositTradeAndLinkedOrdersWithPermit(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParams1struct LinkedOrderParams linkedOrderParams2struct EIP2098Permit permitpayable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId1bytes32 linkedOrderId2)
depositWithPermit(address tokenstruct EIP2098Permit permituint256 amountpayable returns (uint256)
depositWithPermit2(address tokenstruct EIP2098Permit permitpayable returns (uint256)
depositWithPermit2(address tokenstruct EIP2098Permit permituint256 amountpayable returns (uint256)
multicall(bytes[] datapayable returns (bytes[] results)
place(struct OrderParams paramspayable returns (bytes32 orderId)
placeLinkedOrder(bytes32 positionIdstruct LinkedOrderParams paramspayable returns (bytes32 orderId)
placeLinkedOrders(bytes32 positionIdstruct LinkedOrderParams linkedOrderParams1struct LinkedOrderParams linkedOrderParams2payable returns (bytes32 linkedOrderId1bytes32 linkedOrderId2)
swapAndDeposit(address tokenToSelladdress tokenToDepositstruct SwapData swapDatapayable returns (uint256)
swapAndDepositNative(address tokenToDepositstruct SwapData swapDatapayable returns (uint256)
swapAndDepositWithPermit(address tokenToSelladdress tokenToDepositstruct SwapData swapDatastruct EIP2098Permit permitpayable returns (uint256)
swapAndDepositWithPermit2(address tokenToSelladdress tokenToDepositstruct SwapData swapDatastruct EIP2098Permit permitpayable returns (uint256)
swapAndWithdraw(address tokenToSelladdress tokenToReceivestruct SwapData swapDataaddress topayable returns (uint256)
swapAndWithdrawNative(address tokenToSellstruct SwapData swapDataaddress topayable returns (uint256 output)
trade(struct TradeParams tradeParamsstruct ExecutionParams execParamspayable returns (bytes32struct Trade)
tradeAndLinkedOrder(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParamspayable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId)
tradeAndLinkedOrders(struct TradeParams tradeParamsstruct ExecutionParams execParamsstruct LinkedOrderParams linkedOrderParams1struct LinkedOrderParams linkedOrderParams2payable returns (bytes32 positionIdstruct Trade trade_bytes32 linkedOrderId1bytes32 linkedOrderId2)
tradeAndWithdraw(struct TradeParams tradeParamsstruct ExecutionParams execParamsaddress topayable returns (bytes32 positionIdstruct Trade trade_uint256 amount)
tradeAndWithdrawNative(struct TradeParams tradeParamsstruct ExecutionParams execParamsaddress topayable returns (bytes32 positionIdstruct Trade trade_uint256 amount)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
usePermit2(address tokenstruct EIP2098Permit permituint256 amountaddress to
withdraw(address tokenuint256 amountaddress topayable returns (uint256)
withdrawNative(uint256 amountaddress topayable returns (uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Initialized(uint8 version
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AboveMaxGasMultiplier(uint64 gasMultiplier
BelowMinGasMultiplier(uint64 gasMultiplier
CashflowCcyRequired(
ClosingOnly(
InstrumentAlreadyExists(bytes16 symbol
InsufficientBaseCashflow(int256 expectedint256 actual
InsufficientBaseOnOpen(uint256 expectedint256 actual
InsufficientPermitAmount(uint256 requireduint256 actual
InvalidCashflow(
InvalidCashflowCcy(
InvalidDeadline(uint256 deadlineuint256 blockTimestamp
InvalidInstrument(bytes16 symbol
InvalidOrderType(uint8 orderType
InvalidPrice(uint256 forwardPriceuint256 limitPrice
InvalidQuantity(
InvalidTolerance(uint256 tolerance
MismatchingPositionId(bytes32 orderId1bytes32 orderId2
NotEnoughBalance(address tokenuint256 balanceuint256 requested
NotFlashBorrowProvider(address msgSender
NotNativeToken(address token
OnlyFullClosureAllowedAfterExpiry(
OrderAlreadyExists(bytes32 orderId
OrderDoesNotExist(bytes32 orderId
OrderExpired(bytes32 orderIduint256 deadlineuint256 blockTimestamp
OrderInvalidated(bytes32 orderId
PositionDoesNotExist(bytes32 positionId
PriceAboveLimit(uint256 limituint256 actual
PriceBelowLimit(uint256 limituint256 actual
SenderIsNotNativeToken(address msgSenderaddress nativeToken
Unauthorised(address msgSender
UnexpectedCallback(
UnexpectedTrade(
UnsupportedToken(address token
ZeroAmount(
ZeroDestination(
ZeroPayer(