mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
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…
x
Reference in New Issue
Block a user