How do I call a struct ARRAY data from SimpleStorage to StorageFactory? #1567
Unanswered
andersoncampolina
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I think:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
on original course, he just do this... but, what if he wanna do the same thing with the People[] array? how do we call its data from another contract?
I added a call function on SimpleStorage, to call People[] data, and it works! it returns a tuple with the data, here the code:
But when I try to call it from StorageFactory, im trying this, but dont work:
I appreciate if someone could help :-)
Beta Was this translation helpful? Give feedback.
All reactions