update nft vault && frag

This commit is contained in:
owen05
2021-05-25 14:29:49 +08:00
parent d85411e8d9
commit 5c8711469f
10 changed files with 114 additions and 44 deletions

View File

@@ -101,7 +101,7 @@ contract DODONFTProxy is ReentrancyGuard, InitializableOwnable {
address quoteToken,
address vaultPreOwner,
uint256[] calldata dvmParams, //0 - lpFeeRate, 1 - I, 2 - K
uint256[] calldata fragParams, //0 - totalSupply, 1 - ownerRatio, 2 - buyoutTimestamp
uint256[] calldata fragParams, //0 - totalSupply, 1 - ownerRatio, 2 - buyoutTimestamp, 3 - distributionRatio
bool isOpenTwap
) external returns (address newFragment, address newDvm) {
newFragment = ICloneFactory(_CLONE_FACTORY_).clone(_FRAG_TEMPLATE_);
@@ -130,7 +130,8 @@ contract DODONFTProxy is ReentrancyGuard, InitializableOwnable {
_fragParams[1],
_fragParams[2],
_DEFAULT_MAINTAINER_,
_DEFAULT_BUYOUT_FEE_
_DEFAULT_BUYOUT_FEE_,
_fragParams[3]
);
}