The convert
package contains methods and classes for representing and converting data.
The main
module contains methods for data conversion. Methods within this module can all be imported directly from the convert
package.
The datatypes
module contains subclasses that Brownie uses to assist with conversion and comparison.
The normalize
module contains methods used to convert multiple values based on a contract ABI specification. Values are formatted via calls to the methods outlined under type conversions<type-conversions>
, and type classes<type-classes>
are applied where appropriate.
The utils
module contains helper methods used by other methods within the convert
package.