cw-orchestrator icon indicating copy to clipboard operation
cw-orchestrator copied to clipboard

Simplify the derived function arguments

Open Kayanski opened this issue 9 months ago • 2 comments

This Simplify the cw-orch contract function derives.

The functions do not take their argument types directly but an argument of the form Into<type> This allows for simpler interactions

Downside

The types have to be known when specifying the argument. This is specifically bad when using collect. They should be changed to collect::Vec<_>() for instance

Depends on https://github.com/AbstractSDK/cw-orchestrator/pull/398

Kayanski avatar May 17 '24 17:05 Kayanski