Open 0xpatrickdev opened 2 months ago
Brainstorming - is there a path for adding logic to LocalOrchAccount.monitorTransfers
that would allow the developer to specify a flow instead of an exo with a receiveUpcall
method? If yes, is that helpful towards the goal of concision?
What is the Problem Being Solved?
monitorTransfers(tap)
allows a developer to monitor incoming and outgoing IBC transfers for aLocalChainAccount
and react to them.auto-stake-it
demonstrates how to do this:However, if the
receiveUpcall
handler performs any multichain work, it must be written with vows: https://github.com/Agoric/agoric-sdk/blob/67275c2ac643b53bb74422cc92fe1f3565150d12/packages/orchestration/src/examples/auto-stake-it-tap-kit.js#L71-L130Description of the Design
Demonstrate writing a tap where an orchestrated flow is the handler via
auto-stake-it
.Security Considerations
Scaling Considerations
Test Plan
Upgrade Considerations