Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge Pokemon Solidity #24

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Challenge Pokemon Solidity #24

wants to merge 5 commits into from

Conversation

Oriplus
Copy link

@Oriplus Oriplus commented Jul 23, 2022

DESCRIPTION

Nombre: Oriana Morillo

Usuario Platzi: ocmv

Solución al reto:

Creación del Pokemon (createPokemon) :
#2 Agregado el evento eventNewPokemon con información de id y nombre del Pokemon.

#3 Agregado require en modifier 'validateEntries' para validar id diferente a 0 y nombres de 2 caracteres.

#4 Se agregan habilidades como array de struct

#7 Se agregan tipos como array de struct

Debilidades (getWeaknesses):

#7 Debilidades se obtiene con el index de la lista de los pokemones

Nota: para el manejo de tipos, debilidades y longitud de caracteres se crearon dos librerías

Contratro en Rinkeby

Reto:

  • Reto 1
  • Reto 2
  • Reto 3
  • Reto 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant