primitivefinance / v1-cross-margin-spec

Collateral management contracts for Primitive protocol.
MIT License
0 stars 0 forks source link

Implement Primitive V2 #12

Open Alexangelj opened 3 years ago

Alexangelj commented 3 years ago

Features:

Alexangelj commented 3 years ago

The goal is to enable the house to execute functions which bundle many option transactions together, using the power of implemented venues.

For example, a venue could implement a batch operation that calls execute on the house like this:

We need to be able to support those batch operations in an efficient manner.

We do this in the first version, but in a hacky way: