Tags
- Android
- Intellij
- Front-end developer
- LSL_Script
- postman collection variables
- postman automations
- postman excel
- postman html parse
- 다빈치 리졸브
- postman pre-request
- MFC
- UI/UX Engineer
- 우수한 프런트 개발자
- postman
- Android/iOS Developer
- Unity
- 프런트엔드
- solidity
- postman csv
- Java
- Interaction developer
- 좋은 개발자
- postman session
- postman collection
- emplace_back
- c#
- C++
- postman tests
- web developer
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Archives
- Today
- Total
목록address (1)
david's daily developer note
[Solidity] 4.Mapping
솔리디티에서 mapping 키워드를 통하여 정의하는 맵핑은, 키-값 (key-value) 쌍으로 표현되는 데이터 저장 방법이다. C++ STL의 map이나 set, C#의 dictionary 와 사용법과 개념이 비슷하다. mapping (address => uint) public balance; mapping (uint => string) idToName; 예시의 balance 맵핑은 특정 이더리움 주소(address)에 저장된 수량(uint)을 표현하였고, 키는 address이고 값은 uint이다. idToName 맵핑은 사용자 Id(unit)와 이름(string) 정보를 표현하며, 키는 uint이고 값은 string이다. 다음은 호출된 컨트랙트 함수에서 mapping을 업데이트하는 예이다. mappi..
[Blockchain]/develop
2022. 8. 15. 23:38