Skip to content

Commit

Permalink
feat: add supports_erc field to logevents and tx3 endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennayz committed Apr 9, 2024
1 parent 207717c commit 7b690d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genericmodels/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ type LogEvent struct {
SenderAddressLabel *string `json:"sender_address_label,omitempty"`
// The contract logo URL.
SenderLogoUrl *string `json:"sender_logo_url,omitempty"`
// A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`.
SupportsErc *[]string `json:"supports_erc,omitempty"`
// The address of the deployed UniswapV2 like factory contract for this DEX.
SenderFactoryAddress *string `json:"sender_factory_address,omitempty"`
// The log events in raw.
Expand Down
2 changes: 2 additions & 0 deletions services/base_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ type GetLogsEvent struct {
SenderAddress *string `json:"sender_address,omitempty"`
// The label of the sender address.
SenderAddressLabel *string `json:"sender_address_label,omitempty"`
// A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`.
SupportsErc *[]string `json:"supports_erc,omitempty"`
// The contract logo URL.
SenderLogoUrl *string `json:"sender_logo_url,omitempty"`
// The address of the deployed UniswapV2 like factory contract for this DEX.
Expand Down

0 comments on commit 7b690d0

Please sign in to comment.