update v2.0 event

This commit is contained in:
owen05
2020-12-18 15:42:16 +08:00
parent 0c77f9c9fe
commit 90a16e3bd4
7 changed files with 32 additions and 21 deletions

View File

@@ -41,9 +41,7 @@ contract DPPFactory is InitializableOwnable {
address baseToken,
address quoteToken,
address creator,
address dpp,
uint256 lpFeeRate,
uint256 mtFeeRate
address dpp
);
// ============ Functions ============
@@ -106,7 +104,7 @@ contract DPPFactory is InitializableOwnable {
_REGISTRY_[baseToken][quoteToken].push(dppAddress);
_USER_REGISTRY_[creator].push(dppAddress);
emit NewDPP(baseToken, quoteToken, creator, dppAddress, lpFeeRate, mtFeeRate);
emit NewDPP(baseToken, quoteToken, creator, dppAddress);
}
function _createFeeRateModel(address owner, uint256 feeRate)

View File

@@ -50,9 +50,7 @@ contract DVMFactory is InitializableOwnable {
address baseToken,
address quoteToken,
address creator,
address dvm,
uint256 lpFeeRate,
uint256 mtFeeRate
address dvm
);
// ============ Functions ============
@@ -100,7 +98,7 @@ contract DVMFactory is InitializableOwnable {
}
_REGISTRY_[baseToken][quoteToken].push(newVendingMachine);
_USER_REGISTRY_[creator].push(newVendingMachine);
emit NewDVM(baseToken, quoteToken, creator, newVendingMachine, lpFeeRate, mtFeeRate);
emit NewDVM(baseToken, quoteToken, creator, newVendingMachine);
}
function _createFeeRateModel(address owner, uint256 feeRate)

View File

@@ -53,8 +53,7 @@ contract UnownedDVMFactory {
address baseToken,
address quoteToken,
address creator,
address dvm,
uint256 lpFeeRate
address dvm
);
// ============ Functions ============
@@ -103,7 +102,7 @@ contract UnownedDVMFactory {
}
_REGISTRY_[baseToken][quoteToken].push(newVendingMachine);
_USER_REGISTRY_[creator].push(newVendingMachine);
emit NewUnOwnedDVM(baseToken, quoteToken, creator, newVendingMachine, lpFeeRate);
emit NewUnOwnedDVM(baseToken, quoteToken, creator, newVendingMachine);
}
function _createFeeRateModel(address owner, uint256 feeRate)