feat: Handle collectible mint (#3852)
This commit is contained in:
parent
bbb8e99492
commit
06c4eb5df9
|
@ -711,6 +711,9 @@ func getActivityEntries(ctx context.Context, deps FilterDependencies, addresses
|
|||
}
|
||||
return SendAT, fromAddress
|
||||
} else if trType.Byte == toTrType {
|
||||
if fromAddress == ZeroAddress && transferType != nil && *transferType == TransferTypeErc721 {
|
||||
return MintAT, toAddress
|
||||
}
|
||||
return ReceiveAT, toAddress
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ const (
|
|||
SwapAT
|
||||
BridgeAT
|
||||
ContractDeploymentAT
|
||||
MintAT
|
||||
)
|
||||
|
||||
func allActivityTypesFilter() []Type {
|
||||
|
|
Loading…
Reference in New Issue