> For the complete documentation index, see [llms.txt](https://docs.quipuswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quipuswap.com/smart-contracts/dex-2.0/bucket-contract/entrypoints-overview/pour_out.md).

# pour\_out

An entrypoint that withdraws TEZ tokens to the receiver from the parameters (mostly to the [DexCore](/smart-contracts/dex-2.0/dexcore-contract.md) contract).

### Call parameters

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

| Field    | Type           | Description            |
| -------- | -------------- | ---------------------- |
| receiver | contract(unit) | Receiver of TEZ tokens |
| amt      | nat            | Amount to withdraw     |

### Usage

Only [DexCore](/smart-contracts/dex-2.0/dexcore-contract.md) contract can call this entrypoint.

### Errors

* `403` - `sender` of the transaction is not [DexCore](/smart-contracts/dex-2.0/dexcore-contract.md) contract.
* `412` - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
