Make edoc happy
This commit is contained in:
parent
60c8adb4b1
commit
8b6085dee8
@ -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
|
%% 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.
|
%% in the case of calls related to contract-governed payment systems.
|
||||||
%% </li>
|
%% </li>
|
||||||
|
%% <li>
|
||||||
%% <b>TTL:</b>
|
%% <b>TTL:</b>
|
||||||
%% This stands for "Time-To-Live", meaning the height beyond which this element is
|
%% This stands for "Time-To-Live", meaning the height beyond which this element is
|
||||||
%% considered to be eligible for garbage collection (and therefore inaccessible!).
|
%% considered to be eligible for garbage collection (and therefore inaccessible!).
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
%% hz_format:amount(500000123000000000000000) ->
|
%% hz_format:amount(500000123000000000000000) ->
|
||||||
%% 木500,000.123
|
%% 木500,000.123
|
||||||
%% '''
|
%% '''
|
||||||
%% @equiv amount(us, Pucks).
|
%% @equiv amount(us, Pucks)
|
||||||
|
|
||||||
amount(Pucks) ->
|
amount(Pucks) ->
|
||||||
amount(us, Pucks).
|
amount(us, Pucks).
|
||||||
@ -83,7 +83,7 @@ amount(Pucks) ->
|
|||||||
%% hz_format:amount({$_, 4}, 100500040123000000000000000) ->
|
%% hz_format:amount({$_, 4}, 100500040123000000000000000) ->
|
||||||
%% 木1_0050_0040.123
|
%% 木1_0050_0040.123
|
||||||
%% '''
|
%% '''
|
||||||
%% @equiv amount(gaju, Style, Pucks).
|
%% @equiv amount(gaju, Style, Pucks)
|
||||||
|
|
||||||
amount(Style, Pucks) ->
|
amount(Style, Pucks) ->
|
||||||
amount(gaju, Style, Pucks).
|
amount(gaju, Style, Pucks).
|
||||||
@ -147,10 +147,9 @@ amount(puck, {Separator, Span}, Pucks) ->
|
|||||||
Serialized :: string().
|
Serialized :: string().
|
||||||
%% A formatter for decimal notation which permits a precision
|
%% A formatter for decimal notation which permits a precision
|
||||||
%% value to be applied to the puck side of the format.
|
%% value to be applied to the puck side of the format.
|
||||||
%% @equiv approx_amount(us, Precision, Pucks).
|
|
||||||
%% ```
|
%% ```
|
||||||
%% hz_format:approx_amount(3, 100500040123000004500000001) ->
|
%% hz_format:approx_amount(3, 100500040123000004500000001) ->
|
||||||
%% 木100,500,040.123...
|
%% 木100,500,040.123
|
||||||
%%
|
%%
|
||||||
%% hz_format:approx_amount(13, 100500040123000004500000001) ->
|
%% hz_format:approx_amount(13, 100500040123000004500000001) ->
|
||||||
%% 木100,500,040.123,000,004,5...
|
%% 木100,500,040.123,000,004,5...
|
||||||
@ -158,6 +157,7 @@ amount(puck, {Separator, Span}, Pucks) ->
|
|||||||
%% hz_format:approx_amount(all, 100500040123000004500000001) ->
|
%% hz_format:approx_amount(all, 100500040123000004500000001) ->
|
||||||
%% 木100,500,040.123,000,004,500,000,001
|
%% 木100,500,040.123,000,004,500,000,001
|
||||||
%% '''
|
%% '''
|
||||||
|
%% @equiv approx_amount(us, Precision, Pucks)
|
||||||
|
|
||||||
approx_amount(Precision, Pucks) ->
|
approx_amount(Precision, Pucks) ->
|
||||||
approx_amount(us, Precision, Pucks).
|
approx_amount(us, Precision, Pucks).
|
||||||
|
|||||||
@ -76,7 +76,7 @@ url2(Instruction, URL = #{path := Path}) ->
|
|||||||
GRIDS :: uri_string:uri_string().
|
GRIDS :: uri_string:uri_string().
|
||||||
%% @doc
|
%% @doc
|
||||||
%% Forms a GRIDS URL for spends or transfers.
|
%% 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) ->
|
||||||
url(Instruction, Recipient, Amount, "").
|
url(Instruction, Recipient, Amount, "").
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user