Skip to content

Conversation

@shahthepro
Copy link
Contributor

No description provided.

txHash: string;
}

type RawLog = RawTransfer | RawRebase;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍


export const OETH_ADDRESS =
'0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3'.toLocaleLowerCase();
'0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3'.toLowerCase();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

import { APY, Address, History, Rebase } from './model';
import { Context, OETH_ADDRESS, processor } from './processor';

const addressZero = "0x0000000000000000000000000000000000000000"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shahthepro what do you think about using ADDRESS_ZERO since this is a global const?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. We can clean up a few things. Like having addresses and constants in different files. Breaking down the processor file to keep it short and clean. Will work on that

@rafaelugolini rafaelugolini merged commit 5e2e6b4 into main Sep 6, 2023
@apexearth apexearth deleted the shah/split-transfer-event branch October 11, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants