Quipuswap
Search
K

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;
]
Field
Type
Description
bucket
address
Bucket contract address for receiving of TEZ tokens
amt
nat
Amount to send

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