mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Fix pqcrypto precompile API * Correct ML-KEM/ML-DSA/SLH-DSA verify patterns * Use PublicKeyFromBytes() -> Verify() pattern * All tests passing - Add ML-DSA precompile at 0x0200...0006 * Complete implementation with tests * Gas cost: 100k base + 10 per message byte * Performance: ~108μs verify time * FIPS 204 compliant via circl - Fix warp precompile * Correct signature verification * Update tests - Re-enable skipped tests * vm_upgrade_bytes_test.go * vm_validators_test.go * vm_warp_test.go * load_test.go * warp_test.go - Add gossip logger adapter - Update database implementations - Fix config tests All precompiles now working with real post-quantum crypto
36 lines
785 B
TypeScript
36 lines
785 B
TypeScript
import React from "react"
|
|
|
|
interface LogoProps {
|
|
size?: number
|
|
variant?: "white" | "colored"
|
|
className?: string
|
|
}
|
|
|
|
export const Logo: React.FC<LogoProps> = ({
|
|
size = 32,
|
|
variant = "colored",
|
|
className = ""
|
|
}) => {
|
|
const color = variant === "white" ? "#FFFFFF" : "#0ba5ec"
|
|
|
|
return (
|
|
<svg
|
|
width={size}
|
|
height={size}
|
|
viewBox="0 0 100 100"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={className}
|
|
>
|
|
<rect width="100" height="100" rx="20" fill={color} fillOpacity="0.1" />
|
|
<path
|
|
d="M30 70V30L50 50L70 30V70"
|
|
stroke={color}
|
|
strokeWidth="6"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
<circle cx="50" cy="50" r="8" fill={color} />
|
|
</svg>
|
|
)
|
|
} |