Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

253
Views
¿Cómo puedo leer el mapeo de contratos inteligentes en mi interfaz con ethers js?

Escribí este comando para devolver uint correspondiente a la dirección en solidez.

 mapping(address => uint256) public votesOf;

Ahora quiero leer esto en mi interfaz. He usado el siguiente código pero no funciona.

 async function get_voting_results() { const vote_result = await contract.isVoted["0xF2F823bAA7CABe76b35ad97a5039c20D36edd9a2"] console.log(vote_result) }

También intenté usar tuplas pero no hice ningún cambio. Tenga en cuenta que estoy usando ethers js. Gracias

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!