From b60ecbd5bf584c28eb36f3eef8a4b93e1793f31f Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Tue, 8 Aug 2023 15:56:07 +0200 Subject: [PATCH] Move Address.to_bytes documentation to correct place --- docs/sophia_stdlib.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/sophia_stdlib.md b/docs/sophia_stdlib.md index ad8b89d..c80dfc8 100644 --- a/docs/sophia_stdlib.md +++ b/docs/sophia_stdlib.md @@ -57,6 +57,12 @@ Address.to_str(a : address) : string Base58 encoded string +#### to_bytes +``` +Address.to_bytes(a : address) : bytes(32) +``` + +The binary representation of the address. #### is_contract ``` @@ -564,14 +570,6 @@ Chain.block_height : int" The height of the current block (i.e. the block in which the current call will be included). -#### to_bytes -``` -Address.to_bytes(a : address) : bytes(32) -``` - -The binary representation of the address. - - ##### bytecode_hash ``` Chain.bytecode_hash : 'c => option(hash)