Quipuswap
Search
K
Comment on page

default

An entrypoint that accepts users' lambdas during a flash_swap operations on DexCore contract and executes them.

Call parameters

type default_t is unit -> list(operation)
Field
Type
Description
default_t
unit -> list(operation)
Users's lambda function that doesn't accept any parameters (unit) and returns a list of operations (transactions, calls).

Usage

Only DexCore contract can call this entrypoint.

Errors

  • 403 - sender of the transaction is not DexCore contract.
  • 412 - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).