diff --git a/docs/ralph/built-in-functions.md b/docs/ralph/built-in-functions.md index 0a39f1a5..c403ae34 100644 --- a/docs/ralph/built-in-functions.md +++ b/docs/ralph/built-in-functions.md @@ -166,6 +166,20 @@ Returns the id of the contract --- +### contractAddress + +```Rust +fn contractAddress!(contract:) -> (Address) +``` + +Returns the address of the contract + +> @param **contract** *the contract variable* +> +> @returns *the address of the contract* + +--- + ### callerContractId ```Rust @@ -1268,11 +1282,11 @@ Encodes inputs as big-endian ByteVec. fn blake2b!(data:ByteVec) -> (ByteVec) ``` -Computes the Blake2b hash of the input. +Computes the Blake2b-256 hash of the input. > @param **data** *the input data to be hashed* > -> @returns *the hash result* +> @returns *the 32 bytes hash result* ---