Closed Aurel300 closed 5 years ago
(From #72)
External calls may optionally have hyper-parameters specified.
call! ext.someFunc() // no hyper-parameters call(value: Wei(100))! ext.somePayableFunc() // value hyper-parameter call(gas: 200)! ext.someFunc() // gas hyper-parameter call(value: Wei(100), gas: 200)! ext.somePayableFunc() // both
(The hyper-parameters may be specified for all call modes, i.e. default call, forced call!, value-returning call?.)
call
call!
call?
value
gas
(From #72)
External calls may optionally have hyper-parameters specified.
(The hyper-parameters may be specified for all
call
modes, i.e. defaultcall
, forcedcall!
, value-returningcall?
.)value
andgas
are ever specifiedvalue
norgas
is duplicated