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

# pour\_over

An entrypoint that sends TEZ tokens to another Bucket contract. This is necessary during the [***swap***](/smart-contracts/dex-2.0/dexcore-contract/entrypoints-overview/dex-entrypoints/swap.md) operation in order to immediately transfer TEZ tokens from one Bucket contract to another and not make unnecessary [***pour\_out***](/smart-contracts/dex-2.0/bucket-contract/entrypoints-overview/pour_out.md) and [***fill***](/smart-contracts/dex-2.0/bucket-contract/entrypoints-overview/fill.md) operations.

### Call parameters

```pascaligo
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](/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).
