---
description: The aim of this class is to define type conversions.
---

# Convertor

The class is used in conjunction with [Arguments]() functions such as [with\_type\_convertible()](arguments.with_type_convertible).

For example, if you want to treat `uint160` as a type `address`, you can use the `Convertor` to add that conversion type.

Bases: **object**

{% content-ref url="convertor/convertor.add" %}
[convertor.add](convertor/convertor.add)
{% endcontent-ref %}

{% content-ref url="convertor/convertor.can_convert" %}
[convertor.can\_convert](convertor/convertor.can_convert)
{% endcontent-ref %}

{% content-ref url="convertor/convertor.set_conversions" %}
[convertor.set\_conversions](convertor/convertor.set_conversions)
{% endcontent-ref %}
