fate_extensions
Last updated
Was this helpful?
Adds new operations to the FATE VM (version 3)
bitwise operations on integers (band, bor, bxor, bnot, << and >>)
Address.to_bytes - converting an address to its binary representation
Int.mulmod - a combined multiplication and modulus operation for efficiency
Crypto.poseidon - a ZK/SNARK friendly hash function
Introduce arbitrary sized binary arrays (type bytes()); adding Bytes.split_any,Bytes.to_fixed_size, Bytes.to_any_size, Bytes.size, String.to_bytes,
and Int.to_bytes; and adjust Bytes.concat, and Crypto.verify_sig to allow both
fixed and arbitrary sized byte arrays.
Chain.network_id - the network id of the chain
Last updated
Was this helpful?
Was this helpful?