liquidity-client call
ΒΆ
LIQUIDITY-CLIENT-CALL
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
COMMON OPTIONS
MORE HELP
EXIT STATUS
ENVIRONMENT
BUGS
NAME
liquidity-client-call - Call a smart contract
SYNOPSIS
liquidity-client call [OPTION]... [ADDRESS] [ENTRY] [PARAMETER]
DESCRIPTION
Call a deployed 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)
--private-key=edsk...
Set the private key to edsk... for signed operations (default: none)
--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 call --files tests/others/multisig.liq --node http://testnet-node.dunscan.io --private-key edsk3impUREDjtAvDvz8MWQsY7JQyFHhBfVoU6CztBUCLw3ocuqqJ7 KT1Lb7UdXq88n2ahpjwXfbrQPkgjyKu6BoC2 pay '()'
Successful call to contract KT1Lb7UdXq88n2ahpjwXfbrQPkgjyKu6BoC2 in operation oozWUtgrnTNgfY5jG1NNdmHosYi3vKNMGKr2ZfzRZM8ReEkddNV
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
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 call:
LIQUID_NETWORK
Network to use, possible values: Dune, Tezos.
BUGS
Report bugs at https://github.com/OCamlPro/liquidity/issues.