Pregunta de entrevista de MoonPay

How would you build a risk function