diff --git a/genericmodels/models.go b/genericmodels/models.go index 974d7fe..c6e86dc 100644 --- a/genericmodels/models.go +++ b/genericmodels/models.go @@ -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. diff --git a/services/base_service.go b/services/base_service.go index a06b84c..85ee27c 100644 --- a/services/base_service.go +++ b/services/base_service.go @@ -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.