mirror of openzeppelin-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const SolidityEvent = require('web3/lib/web3/event.js');
|
|
|
|
export default function decodeLogs (logs, contract, address) {
|
|
return logs.map(log => {
|
|
const event = new SolidityEvent(null, contract.events[log.topics[0]], address);
|
|
return event.decode(log);
|
|
});
|
|
}
|
|
|