WIP: call args
This commit is contained in:
+7
-8
@@ -928,18 +928,17 @@ contract_create(CreatorID, Path, InitArgs) ->
|
||||
end.
|
||||
|
||||
|
||||
-spec contract_create(CreatorID, Nonce,
|
||||
Amount, TTL, Gas, GasPrice,
|
||||
Path, InitArgs) -> Result
|
||||
-spec contract_create(CreatorID, Nonce, Gas, GP, Amount, TTL, Contract, InitArgs) -> Result
|
||||
when CreatorID :: pubkey(),
|
||||
Nonce :: pos_integer(),
|
||||
Gas :: pos_integer(),
|
||||
GP :: pos_integer(), % Gas Price
|
||||
Amount :: non_neg_integer(),
|
||||
TTL :: non_neg_integer(),
|
||||
Gas :: pos_integer(),
|
||||
GasPrice :: pos_integer(),
|
||||
Path :: file:filename(),
|
||||
InitArgs :: [string()]
|
||||
| {erlang, [term()]}
|
||||
Contract :: {file, file:filename()}
|
||||
| {source, binary()}
|
||||
| {build, map()},
|
||||
InitArgs :: {erlang, [term()]}
|
||||
| {fate, [term()]}
|
||||
| {sophia, [string()]},
|
||||
Result :: {ok, CreateTX} | {error, Reason},
|
||||
|
||||
Reference in New Issue
Block a user