pour_over

An entrypoint that sends TEZ tokens to another Bucket contract. This is necessary during the swap operation in order to immediately transfer TEZ tokens from one Bucket contract to another and not make unnecessary pour_out and fill operations.

Call parameters

type pour_over_t        is [@layout:comb] record [
  bucket                  : address;
  amt                     : nat;
]

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).

Last updated