diff --git a/contracts/higherOrderFactories/BaalAdvTokenSummoner.sol b/contracts/higherOrderFactories/BaalAdvTokenSummoner.sol index 080798a..19ef2d2 100644 --- a/contracts/higherOrderFactories/BaalAdvTokenSummoner.sol +++ b/contracts/higherOrderFactories/BaalAdvTokenSummoner.sol @@ -22,6 +22,10 @@ contract BaalAdvTokenSummoner is event DeployBaalTokens(address lootToken, address sharesToken); + constructor() { + _disableInitializers(); + } + function initialize() public initializer { __Ownable_init(); __UUPSUpgradeable_init(); @@ -109,7 +113,7 @@ contract BaalAdvTokenSummoner is if (summonerLoot[i] > 0) { IBaalToken(_lootToken).mint( summoners[i], - summonerShares[i] + summonerLoot[i] ); /*grant `to` `amount` `loot`*/ } if (summonerShares[i] > 0) { diff --git a/contracts/interfaces/IBaalAndVaultSummoner.sol b/contracts/interfaces/IBaalAndVaultSummoner.sol new file mode 100644 index 0000000..3f9b595 --- /dev/null +++ b/contracts/interfaces/IBaalAndVaultSummoner.sol @@ -0,0 +1,15 @@ +//SPDX-License-Identifier: MIT +pragma solidity ^0.8.7; + +interface IBaalAndVaultSummoner { + + function _baalSummoner() external view returns (address); + function summonBaalAndVault( + bytes calldata initializationParams, + bytes[] calldata initializationActions, + uint256 saltNonce, + bytes32 referrer, + string memory name + ) external returns (address _daoAddress, address _vaultAddress); + +} \ No newline at end of file