# Tuple support

Tally's Custom Action builder supports the `tuple[]` type, called tuple arrays.

### What are tuple arrays?

The `tuple`type in Soldity is a data structure that contains a fixed number of elements, each of which can be of a different type. For instance, a tuple can contain an integer, a string, and a boolean value all together. The `tuple[]`type, called a "tuple array", contains a list of tuples.

### Building a tuple array

To create a proposal with a tuple array, add Custom Actions to your proposal. Then, use the imported ABI. Tally will infer the type from the ABI and help build the tuple array.

<figure><img src="https://883959685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQO0N_aitpkSUyz4BYE%2Fuploads%2F20BeUwaNIQ6YI7ckzblG%2Fimage.png?alt=media&#x26;token=bb9e28a0-c4da-4e9e-b91e-c66f8b7dc5aa" alt=""><figcaption></figcaption></figure>

### Nested tuples

If a tuple or tuple array is nested in *another* tuple, enter the nested tuple(s) in plaintext with brackets. This tuple builder contains two nested tuple arrays, `contactDetails`and `chains` , and one nested tuple `bountyTerms` :

<div data-full-width="true"><figure><img src="https://883959685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQO0N_aitpkSUyz4BYE%2Fuploads%2Fae6TjLknq1m2F0L3YicU%2FScreenshot%202025-01-06%20at%2011.22.41%E2%80%AFAM.png?alt=media&#x26;token=5c8a8776-8dd7-439d-86ec-2c14e0fb75c7" alt=""><figcaption><p>tuple builder with empty nested tuples</p></figcaption></figure></div>

To add tuple arrays and tuples, enter them in plaintext:

<figure><img src="https://883959685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQO0N_aitpkSUyz4BYE%2Fuploads%2Fz30FG4LMM0AcusDNEkds%2FScreenshot%202025-01-06%20at%2011.38.58%E2%80%AFAM.png?alt=media&#x26;token=c3209fab-5e36-4cf2-9cc9-a432518548a9" alt=""><figcaption><p>tuple builder with filled-in nested tuples</p></figcaption></figure>

{% embed url="<https://drive.google.com/file/d/1VuNXBZ6PagsREaFsaNWWZbCRA9HF5JG3/view?usp=sharing>" %}
