liquidity-client forge-call
ΒΆ
LIQUIDITY-CLIENT-FORGE-CALL
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
COMMON OPTIONS
MORE HELP
EXIT STATUS
ENVIRONMENT
BUGS
NAME
liquidity-client-forge-call - Forge a call operation to a smart contract
SYNOPSIS
liquidity-client forge-call [OPTION]... [ADDRESS] [ENTRY] [PARAMETER]
DESCRIPTION
Forge an unsigned call operation to a smart contract
OPTIONS
-a <a>DUN, --amount=<a>DUN
Set amount to <a>DUN for deploying or running a contract (default: 0DUN)
-C N, --counter=N
Set the counter to N for the operation instead of retrieving it
-f <f>DUN, --fee=<f>DUN
Set fee <f>DUN for deploying a contract (default: computed automatically)
-G g, --gas-limit=g
Set gas limit to g (default: automatic)
-n ADDR:PORT, --node=ADDR:PORT
Set the address and port to ADDR:PORT of a node to run or deploy contracts (default: 127.0.0.1:8733)
--public-key=edpk...
Set the public key to edpk... for revelations (default: derived from private key)
-s dn1..., --source=dn1...
Set the source to dn1... for manager operations (default: derived from public key)
-S s, --storage-limit=s
Set storage limit to s (default: automatic)
ADDRESS
KT1... address of the contract
ENTRY
Entry point name for call
PARAMETER
Parameter value for call
EXAMPLES
liquidity-client forge-call --node http://testnet-node.dunscan.io --source dn1HieGdCFcT8Lg9jDANfEGbJyt6arqEuSJb KT1Lb7UdXq88n2ahpjwXfbrQPkgjyKu6BoC2 pay '()' --amount 10DUN
Raw operation:
--------------
50d636cc2440f9042c4e79bb29c67ce6488aa1f5b419d4abbd22fc8ff8f4e1ab6c0011589aef8b9cd48925f6fedadcee774d51d14b85912e8b0bd3b8030080ade2040183b221732a1f1b05d442a81967ae8188ed44b6c300ffff0370617900000002030b
COMMON OPTIONS
These options
are common to all commands.
-c, --compact
Produce compact Michelson
--files=FILE1,FILE2,...
Filenames to compile (comma separated)
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of ’auto', ’pager', ’groff' or ’plain'. With ’auto', the format is ’pager’ or ’plain' whenever the TERM env var is ’dumb' or undefined.
-m ContractName, --main=ContractName
Produce code for contract named ContractName
-N NETWORK, --network=NETWORK (absent LIQUID_NETWORK env)
Set the network to use (possible values: Dune, Tezos).
--no-annot
Don't produce any annotations when compiling
--no-ignore-annots
Don't ignore annotations of failure when decompiling
--no-inline
Disable inlining
--no-love-typecheck
Don't typecheck resulting Love output
--no-peephole
Disable peephole optimizations
--no-simplify
Disable simplifications
--no-uncurry
Don't uncurry non partially applied lambdas
--reason, --re
Use ReasonML syntax
-t LANG, --target=LANG
Set the target language (possible values: michelson, love).
-v, --verbose
Increment verbosity
-V level
Verbosity level
--version
Show version and exit
MORE HELP
Use ’liquidity-client COMMAND --help' for help on a single command.
EXIT STATUS
forge-call exits with the following status:
0 |
on success. |
|||
124 |
on command line parsing errors. |
|||
125 |
on unexpected internal errors (bugs). |
ENVIRONMENT
These
environment variables affect the execution of
forge-call:
LIQUID_NETWORK
Network to use, possible values: Dune, Tezos.
BUGS
Report bugs at https://github.com/OCamlPro/liquidity/issues.