mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update main.sol
approve
This commit is contained in:
parent
fcec1b0dbe
commit
416c632adc
|
@ -22,6 +22,7 @@ abstract contract UniverseFinanceConnect is Helpers, Events {
|
|||
) external returns (string memory _eventName, bytes memory _eventParam){
|
||||
amountA = getUint(getIds[0], amountA);
|
||||
amountB = getUint(getIds[1], amountB);
|
||||
_approve(universeVault, amountA, amountB);
|
||||
(uint256 share0, uint256 share1) = _deposit(universeVault, amountA, amountB);
|
||||
// EVENT
|
||||
_eventName = "LogDeposit(address,uint256,uint256,uint256,uint256)";
|
||||
|
|
Loading…
Reference in New Issue
Block a user