fix idvm interface
This commit is contained in:
@@ -91,6 +91,6 @@ contract DVM is DVMTrader, DVMFunding {
|
||||
// ============ Version Control ============
|
||||
|
||||
function version() external pure returns (string memory) {
|
||||
return "DVM 1.0.1";
|
||||
return "DVM 1.0.2";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,6 +180,7 @@ contract DVMVault is DVMStorage {
|
||||
}
|
||||
|
||||
function _mint(address user, uint256 value) internal {
|
||||
require(value > 0, "MINT_INVALID");
|
||||
_SHARES_[user] = _SHARES_[user].add(value);
|
||||
totalSupply = totalSupply.add(value);
|
||||
emit Mint(user, value);
|
||||
|
||||
Reference in New Issue
Block a user