mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
added LogMigrate
This commit is contained in:
parent
44a4548e5a
commit
7fcf644c29
|
@ -25,4 +25,6 @@ contract Events {
|
||||||
uint256 indexed stateId,
|
uint256 indexed stateId,
|
||||||
bytes data
|
bytes data
|
||||||
);
|
);
|
||||||
|
|
||||||
|
event LogMigrate(uint _id);
|
||||||
}
|
}
|
|
@ -136,6 +136,8 @@ contract InstaAaveV2MigratorReceiverImplementation is AaveV2Migrator {
|
||||||
_migratePosition(data);
|
_migratePosition(data);
|
||||||
|
|
||||||
delete positions[_id];
|
delete positions[_id];
|
||||||
|
|
||||||
|
emit LogMigrate(_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
receive() external payable {}
|
receive() external payable {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user