pour_out

An entrypoint that withdraws TEZ tokens to the receiver from the parameters (mostly to the DexCore contract).

Call parameters

type pour_out_t         is [@layout:comb] record [
  receiver                : contract(unit);
  amt                     : nat;
]
FieldTypeDescription

receiver

contract(unit)

Receiver of TEZ tokens

amt

nat

Amount to withdraw

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