This commit is contained in:
owen05
2021-04-09 20:07:39 +08:00
parent 85ba335233
commit 805f639c3a
10 changed files with 106 additions and 25 deletions

View File

@@ -70,8 +70,8 @@ contract Fragment is InitializableERC20 {
// init FRAG distribution
uint256 vaultPreOwnerBalance = DecimalMath.mulFloor(totalSupply, ownerRatio);
transfer(_VAULT_PRE_OWNER_,vaultPreOwnerBalance);
transfer(_DVM_,totalSupply.sub(vaultPreOwnerBalance));
_transfer(address(this), _VAULT_PRE_OWNER_, vaultPreOwnerBalance);
_transfer(address(this), _DVM_, totalSupply.sub(vaultPreOwnerBalance));
// init DVM liquidity
IDVM(_DVM_).buyShares(address(this));