Controller

Verified contract

Active on Base with 339,953 txns
Deployed by via 0xf3de0ca8 at 19425844
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
--
0x9108970e71232afc850739e9763a87897fb5f6facea7ebe08c412efa54612add
0x20e2b1c181cda03df8874979003fb9731cbeffb3f59e4d7b9ec6d79aaba72b50
0x1077d7fab8f9f0868a12e8f3c3f79fa15bb7a13aaf36ed7c35d7c044191ed2dc
0xf4f88f4463185f8aff594b0f0c3057b46b18ca7380af7ede4623a7dd63470fd8
0x263c123fe90c9b00c3f8c746b32d1c7d0cb24617c34dbcd4a6736c83147e830b
0xe76a79fb5bbc67a2f08fabfdde510cb2a9fb57908365349afbc6d94ac9a9a40f
0x25e55e3f4e5d8b834a0b779bbbfc1c489f049f832c2b3d8e7dd6bd11174c0eca
0x9fbf4af17b8e4995db164d4f9345d7cb3fc3afdd42ff8833d74b6d9efb9fa2e9
0x5ce77f8294c5205577cdbbc46812e9d04a521cadf2d1a78357b235773e0d3b07
0x74fc352870c9158c047c0fdeb84fec80eec5806c5db98b53e885fc5fa116f580

Functions
Getter at block 22859462
bookManager(view returns (address)
0x382ccccbd3b142d7da063bf68cd0c89634767f76
Read-only
fromPrice(uint256 pricepure returns (int24)
getDepth(uint192 idint24 tickview returns (uint256)
getHighestPrice(uint192 idview returns (uint256)
getOrder(uint256 orderIdview returns (address provideruint256 priceuint256 openAmountuint256 claimableAmount)
toPrice(int24 tickpure returns (uint256)
State-modifying
cancel(struct IControllerCancelOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC721PermitParams[] permitParamsListuint64 deadline
claim(struct IControllerClaimOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC721PermitParams[] permitParamsListuint64 deadline
execute(uint8[] actionListbytes[] paramsDataListaddress[] tokensToSettlestruct IControllerERC20PermitParams[] erc20PermitParamsListstruct IControllerERC721PermitParams[] erc721PermitParamsListuint64 deadlinepayable returns (uint256[] ids)
limit(struct IControllerLimitOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC20PermitParams[] permitParamsListuint64 deadlinepayable returns (uint256[] ids)
lockAcquired(address senderbytes datareturns (bytes returnData)
make(struct IControllerMakeOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC20PermitParams[] permitParamsListuint64 deadlinepayable returns (uint256[] ids)
open(struct IControllerOpenBookParams[] openBookParamsListuint64 deadline
spend(struct IControllerSpendOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC20PermitParams[] permitParamsListuint64 deadlinepayable 
take(struct IControllerTakeOrderParams[] orderParamsListaddress[] tokensToSettlestruct IControllerERC20PermitParams[] permitParamsListuint64 deadlinepayable 
Events

This contract contains no event objects.

Constructor
constructor(address bookManager_
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
ControllerSlippage(
Deadline(
ERC20TransferFailed(
FailedCall(
InsufficientBalance(uint256 balanceuint256 needed
InvalidAccess(
InvalidAction(
InvalidLength(
InvalidPrice(
InvalidTick(
NativeTransferFailed(
ReentrancyGuardReentrantCall(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token