Tiền thưởng
Kiếm token cho những đóng góp của bạn.
Kiếm phần của bạn từ 1000 Sui
Tích lũy điểm danh tiếng và nhận phần thưởng khi giúp cộng đồng Sui phát triển.
Bài viết
3+4
Hỏi đáp Chuyên GiaDành choSuiNov 06, 2024Công cụ xác nhận mạng Sui Global
Có một người trong nhóm Sui Global là người xác nhận mạng. Bạn nghĩ trình xác thực mạng dùng để làm gì? Chúng ta có thể chấp nhận kịch bản rằng Sui Global sẽ trở thành người xác nhận trong mạng chính của Sui không?
- SUI
- Sui Global
33+3
Hỏi đáp Chuyên GiaDành choSuiNov 06, 2024Difference between these: CREW3HUNTER and CREW3
Please Explain to newcomers which of these roles can be obtained and what is the difference between them. CREW3HUNTER | CHAMPION CREW3 CHAMPION P.S. I will select the best answer only among users whose reputation is less than 100 (you will get 15 points).
- Roles
- SUI
- Sui Global
34Câu trả lời hay nhất+2
Hỏi đáp Chuyên GiaDành choSuiNov 06, 2024Is it possible to define a constructor in Solidity using the contract name and function keyword?
I have seen constructors in Solidity defined with the constructor keyword within the contract, as shown below: contract Person { address public owner; // Constructor constructor() { owner = msg.sender; } // Other functions and variables... } However, I'm curious if it's valid to define the constructor using the contract name and function keyword, like this: contract Person { address public owner; // Constructor function Person() public payable { owner = msg.sender; } // Other functions and variables... } Would this alternative way of defining the constructor work in Solidity, or is it necessary to use the constructor keyword?
- Smart Contract
- Quests
23Câu trả lời hay nhấtCâu trả lời chính thức
- 190
- 150
- 86
- 83
- 78
- 77
- 77
- 70
- 68
- 67