Controller

Verified contract

Active on Base with 266,454 txns
Deployed by via 0xf3de0ca8 at 19425844
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
--
0xd5d2e3d7d6611b3799e985158002e2e35ba67e5fd5b7f979222459b624d392f5
0x936d9fcad5d1a0e6167923c587f9f1177647275746dfda4efd2d9854fc2b0159
0x80ee104c9372a39f1c1b08f35b3b7f4bb637e96f4019b354d33b366b8cdf098a
0x99597ab6ebbf3b6c343c9f81d9ab20ab924e6746fb73c6377bdbb24d45188b7b
0xd9bb3954ba71f1c981d39b32f075f98b80d045ec7c6122c29cebec1a7681692a
0xf13abd79b9a4cbce718f29d6acc7e1b58444745f42482a6984e5a313531e427b
0xaf7100107c9d2cbdd4bd3e2a5b0acde2fe1f70abdb160074d934ddeb04f93124
0xaaa6fb40d87b012c6ca9eb237eb06e53e380a6fd39c973cfbabd8c977ae9bf01
0x3f203cb78fb6acc8f067bc63acbe4781a9e121f4c5b10226b2f40454a1090ca7
0x4dc6530e5b83b5bf2a586e1db78566bb2230d27a18481f59ed67ca6513fee539

Functions
Getter at block 21736306
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