fate_extensions
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()
); addingBytes.split_any
,Bytes.to_fixed_size
,Bytes.to_any_size
,Bytes.size
,String.to_bytes
, andInt.to_bytes
; and adjustBytes.concat
, andCrypto.verify_sig
to allow both fixed and arbitrary sized byte arrays.Chain.network_id - the network id of the chain
Last updated