Module leo_state::utilities::input_value[][src]

Functions

Returns the input parameter with the given name. If a parameter with the given name does not exist, then an error is returned.

Returns the given input value as u8 bytes. If the given input value cannot be serialized into bytes then an error is returned.

Returns the string of the integer input value. If the input value is not an integer, then an error is returned.

Returns the given input value as an array of u8 bytes. If the given input value cannot be serialized into an array of bytes then an error is returned.