Skip to content

Commit

Permalink
Update docs/build/smart-contract/basic-concepts/functions-parameters.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Modship <[email protected]>
  • Loading branch information
peterjah and modship authored Oct 10, 2024
1 parent 53690a5 commit 58d66ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Massa provides built-in support for serializing and deserializing AssemblyScript
### Supported Serializable Types
The following types can be directly serialized and deserialized in Massa smart contracts:

- **Native AssemblyScript Types**: This includes basic types like integers (`i32`, `u64`, etc.), `bool`, and `string`.
- **Native AssemblyScript Types**: These includes basic types like integers (`i32`, `u64`, etc.), `bool`, and `string`.
- **Big Integers**: Using the as-bignum library, Massa smart contracts can handle large integers beyond standard 64-bit limits such `u256`.
- **Arrays**: Arrays of native types, such as `Array<i32>` or `Array<string>`, can also be serialized, allowing for the handling of collections of data in contract calls.
- **Generic serializable** and array of serializable object: Serializable is a generic class that wrap the serialization logic and allow to define a custom serialization/deserialization of complex data.
Expand Down

0 comments on commit 58d66ad

Please sign in to comment.