HelperFactory
HelperFactory that assists in deploying different amounts, it does not take any fees currently to reflect the new AMM model.
Constants
FUSDC
IERC20Permit immutable FUSDC
FACTORY
INineLivesFactory immutable FACTORY
SARP_AI
address public immutable SARP_AI
Functions
constructor
constructor(IERC20Permit _fusdc, INineLivesFactory _factory, address _sarpAi) ;
create
Create a new campaign, ignoring the CreateArgs oracle argument.
function create(address _oracle, CreateArgs calldata _a) internal returns (address);
createWithAI
function createWithAI(CreateArgs calldata _a) public returns (address tradingAddr);
createWithCustom
It doesn’t make sense to use this. It’s better to do the setup work yourself with the factory, this is left for convinience reasons. It transfers some fUSDC to the contract for setup.
function createWithCustom(CreateArgs calldata _a) public returns (address tradingAddr);