Agoric / dapp-inter

User application for Agoric Inter Protocol—Vaults, BLD Boost, Liquidations, etc.
2 stars 10 forks source link

use `makeVaultInvitation` from vault manager instead of director #68

Closed turadg closed 1 year ago

turadg commented 1 year ago

What is the Problem Being Solved?

The method is being removed from the director: https://github.com/Agoric/agoric-sdk/pull/6983

This will be needed for https://github.com/Agoric/agoric-sdk/issues/6518 also, though that's not scheduled.

Description of the Design

This will require keeping track of the manager objects and targeting them.

For targeting, instead of this contract spec, https://github.com/Agoric/dapp-inter/blob/48fe77a6167d2182317e7097079c3b75fd10b966/src/service/vaults.ts#L361-L364 it wil have to be an object spec, blocking on https://github.com/Agoric/agoric-sdk/issues/6850

Security Considerations

Test Plan