Solidity Terms
Jump to navigation
Jump to search
Mappings
- One way hash function.
- Cannot loop through a mapping
- On Demand Data Structure
- Hash key then get results
- A hash function is any function that can me bused to map data of arbitrary size to data of fixed size
contract MappingDemo {
struct Person {
uint id;
bytes32 name;
bool isPerson;
}
mapping(address => Person) p;
}