Open Alexangelj opened 3 years ago
The House is a fund-holding, critical logic contract responsible for Option related activities. https://www.notion.so/primitivefi/Primitive-House-bf2530927db448cb978b30b80312ba16
House has a few responsibilities:
address public CALLER
execution()
address public VENUE
onlyExec
constructor
execute()
takeTokens()
msg.sender
addTokens()
removeTokens()
moveCollateralFrom()
moveCollateral()
mintOptions()
burnOptions()
Some of these functions are related to the Option Manager logic -> House is an Option Manager almost.
The House is a fund-holding, critical logic contract responsible for Option related activities. https://www.notion.so/primitivefi/Primitive-House-bf2530927db448cb978b30b80312ba16
House has a few responsibilities:
address public CALLER
execution()
is called and before the Accelerator is calledaddress public VENUE
execution()
before the Accelerator is calledonlyExec
constructor
execute()
takeTokens()
msg.sender
, which should be a venue.addTokens()
removeTokens()
moveCollateralFrom()
moveCollateral()
mintOptions()
burnOptions()
Some of these functions are related to the Option Manager logic -> House is an Option Manager almost.