Mappings #5581
Unanswered
AAKASHXOTHEWEEKND
asked this question in
Q&A
Mappings
#5581
Replies: 2 comments
-
@AAKASHXOTHEWEEKND its a mapping used to keep track of amount funded by addresses |
Beta Was this translation helpful? Give feedback.
0 replies
-
@AAKASHXOTHEWEEKND Mapping is a data structure which stores data as key/value pair. key can be any allowed data type (you can read in docs which data types are not allowed) and value can also be any data type. Example; //Here key is of data type `address` and the value will be of data type `uint256`
mapping(address => uint256) public x; |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
What does this mapping mean ?
Beta Was this translation helpful? Give feedback.
All reactions