mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Added setId in deposit function
This commit is contained in:
parent
54c7429106
commit
acf0654525
|
@ -73,7 +73,8 @@ contract SynthetixStaking is SynthetixStakingHelper {
|
|||
|
||||
_stakeToken.approve(address(stakingContract), _amt);
|
||||
stakingContract.stake(_amt);
|
||||
|
||||
|
||||
setUint(setId, _amt);
|
||||
emit LogDeposit(token, _amt, getId, setId);
|
||||
bytes32 _eventCode = keccak256("LogDeposit(address,uint256,uint256,uint256)");
|
||||
bytes memory _eventParam = abi.encode(token, _amt, getId, setId);
|
||||
|
|
Loading…
Reference in New Issue
Block a user