mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
fix: type error
This commit is contained in:
parent
8e0f883e22
commit
8027823dc9
|
@ -126,7 +126,7 @@ abstract contract BasicConnector is Events, DSMath, Basic {
|
|||
|
||||
require(
|
||||
maxTokenPerShares >= sub(_initalUnderlyingBal, _finalUnderlyingBal),
|
||||
"maxUnderlyingAmt-exceeds"
|
||||
"maxTokenPerShares-exceeds"
|
||||
);
|
||||
|
||||
setUint(setId, _shareAmt);
|
||||
|
@ -186,7 +186,7 @@ abstract contract BasicConnector is Events, DSMath, Basic {
|
|||
|
||||
require(
|
||||
_maxShares >= sub(_finalVaultBal, _initialVaultBal),
|
||||
"minShares-exceeds"
|
||||
"maxShares-exceeds"
|
||||
);
|
||||
|
||||
setUint(setId, _underlyingAmt);
|
||||
|
@ -251,7 +251,7 @@ abstract contract BasicConnector is Events, DSMath, Basic {
|
|||
|
||||
require(
|
||||
_minUnderlyingAmt <= sub(_finalUnderlyingBal, _initalUnderlyingBal),
|
||||
"minTokens-exceeds"
|
||||
"_minUnderlyingAmt-exceeds"
|
||||
);
|
||||
setUint(setId, _shareAmt);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user