📅  最后修改于: 2022-03-11 15:00:35.849000             🧑  作者: Mango
// when calling remote contracts, you can use 2 named arguments: gas and value.
// funds are taken from the contract in this example:
entrypoint voteTwice(v : VotingContract, fee : int, yourParam : string) =
v.vote(value = fee, yourParam)
v.vote(gas = Call.gas_left(), yourParam)