Skip to content

Where my number is stored ? #2053

Answered by othaime-en
akugone asked this question in Q&A
Aug 25, 2022 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

Hey @akugone when you deploy the contract, your stored number is deployed along with it in the form of a transaction. So if you want to read or retrieve the number, you could go through the transaction history of your contract address and see the data that was deployed with the contract. Alternatively, for public variables like our store value, you can read the value from the contract state in the contract section of etherscan.
Now when it comes to storing a number in our store function, the process of storing is done in a transaction format and all the data is stored as a transaction hash that is not necessarily on the same block as the contract. However, this interaction is recorded and…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
6 replies
@RoboCrypter
Comment options

@akugone
Comment options

@RoboCrypter
Comment options

@RoboCrypter
Comment options

@akugone
Comment options

Comment options

You must be logged in to vote
3 replies
@othaime-en
Comment options

@othaime-en
Comment options

@akugone
Comment options

Answer selected by akugone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants