diff --git a/src/hz.erl b/src/hz.erl index 63a9c86..b0f5163 100644 --- a/src/hz.erl +++ b/src/hz.erl @@ -970,6 +970,7 @@ contract_create(CreatorID, Path, InitArgs) -> %% of course there are very good reasons why it should be set to a non-zero value %% in the case of calls related to contract-governed payment systems. %% +%%
  • %% TTL: %% This stands for "Time-To-Live", meaning the height beyond which this element is %% considered to be eligible for garbage collection (and therefore inaccessible!). diff --git a/src/hz_format.erl b/src/hz_format.erl index 18fa01f..e597ffc 100644 --- a/src/hz_format.erl +++ b/src/hz_format.erl @@ -50,7 +50,7 @@ %% hz_format:amount(500000123000000000000000) -> %% 木500,000.123 %% ''' -%% @equiv amount(us, Pucks). +%% @equiv amount(us, Pucks) amount(Pucks) -> amount(us, Pucks). @@ -83,7 +83,7 @@ amount(Pucks) -> %% hz_format:amount({$_, 4}, 100500040123000000000000000) -> %% 木1_0050_0040.123 %% ''' -%% @equiv amount(gaju, Style, Pucks). +%% @equiv amount(gaju, Style, Pucks) amount(Style, Pucks) -> amount(gaju, Style, Pucks). @@ -147,10 +147,9 @@ amount(puck, {Separator, Span}, Pucks) -> Serialized :: string(). %% A formatter for decimal notation which permits a precision %% value to be applied to the puck side of the format. -%% @equiv approx_amount(us, Precision, Pucks). %% ``` %% hz_format:approx_amount(3, 100500040123000004500000001) -> -%% 木100,500,040.123... +%% 木100,500,040.123 %% %% hz_format:approx_amount(13, 100500040123000004500000001) -> %% 木100,500,040.123,000,004,5... @@ -158,6 +157,7 @@ amount(puck, {Separator, Span}, Pucks) -> %% hz_format:approx_amount(all, 100500040123000004500000001) -> %% 木100,500,040.123,000,004,500,000,001 %% ''' +%% @equiv approx_amount(us, Precision, Pucks) approx_amount(Precision, Pucks) -> approx_amount(us, Precision, Pucks). diff --git a/src/hz_grids.erl b/src/hz_grids.erl index 1acb54c..cedb62b 100644 --- a/src/hz_grids.erl +++ b/src/hz_grids.erl @@ -76,7 +76,7 @@ url2(Instruction, URL = #{path := Path}) -> GRIDS :: uri_string:uri_string(). %% @doc %% Forms a GRIDS URL for spends or transfers. -%% @equiv uri(Instruction, Recipient, Amount, ""). +%% @equiv uri(Instruction, Recipient, Amount, "") url(Instruction, Recipient, Amount) -> url(Instruction, Recipient, Amount, "").