Implement smartcontract.Convertible
for Actor/Invoker assistance
#3285
Labels
enhancement
Improving existing functionality
I3
Minimal impact
S3
Minimally significant
smartcontract
Smart contracts and associated package
U4
Nothing urgent
Milestone
Currently custom parameters i.e. anything that's beyond the scope of
neo-go/pkg/smartcontract/parameter.go
Line 262 in 9015215
can't be directly passed to
actor.SendCall
and other similar Actor/Invoker methods. We need to introducesmartcontract.Convertible
interface that should includeToSmartcontractParameter
andFromSmartcontractParameter
methods and allowNewParameterFromValue
properly handlesmartcontract.Convertible
item. The behaviour should be similar tostackitem.Convertible
, the main goal of this issue is to extend the scope of acceptable parameters foractor.SendCall
and other similar Actor/Invoker helpers.The text was updated successfully, but these errors were encountered: