Answers for "aeternity sophia contarct call value"

0

aeternity sophia contarct call value

// 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)
Posted by: Guest on June-08-2021

Code answers related to "aeternity sophia contarct call value"

Browse Popular Code Answers by Language