Skip to content

LogMinSell Oasis transformer#171

Merged
paytonrules merged 7 commits intostagingfrom
log-min-sell
Apr 21, 2020
Merged

LogMinSell Oasis transformer#171
paytonrules merged 7 commits intostagingfrom
log-min-sell

Conversation

@paytonrules
Copy link
Copy Markdown
Contributor

- This does not have the SQL to go with it. Only the unit test and the
transformer.
Copy link
Copy Markdown
Contributor

@rmulhol rmulhol left a comment

Choose a reason for hiding this comment

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

Nice work! LGTM as soon as the migration timestamp is updated 👍

ColumnValues: event.ColumnValues{
event.HeaderFK: LogMinSellEventLog.HeaderID,
event.LogFK: LogMinSellEventLog.ID,
// pay gem address id
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if we're adding a comment for columns that aren't included here (I dig it), I'd prob put the address id on a separate line to make clear that it's a separate field (and not just the address id for the pay gem)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

"I learned it from watching you Dad" - I mean I was trying to follow along with what you did in LogMake.

		ColumnValues: event.ColumnValues{
			event.HeaderFK: LogMakeEventLog.HeaderID,
			event.LogFK:    LogMakeEventLog.ID,
			// Oasis contract address id
			constants.OfferId:    "811648",
			constants.PairColumn: "0xcdd6659bca20e2b28ea10ead902280762ac8977c84459a152f90e561d50edf8c",
			// Maker address id
			// Pay gem address id
			// Buy gem address id
			constants.PayAmtColumn:    "64380000000000000000",
			constants.BuyAmtColumn:    "14258238600000000000000",
			constants.TimestampColumn: "1581143548",
		},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

// Oasis contract address id 👀

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But also do as I say not as I do! 😅

- Remove some unintentionally checked in comments.
- Remove the Id from the LogMinSellEntity
@paytonrules paytonrules merged commit 6ca8191 into staging Apr 21, 2020
@paytonrules paytonrules deleted the log-min-sell branch April 28, 2020 15:05
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.

2 participants