Peera.

Награда

Зарабатывайте токены за свой вклад.

Sui.X.Peera.

Заработай свою долю из 1000 Sui

Зарабатывай очки репутации и получай награды за помощь в развитии сообщества Sui.

Посты

3
  • Награда+4

    Steven Crypto.Peera.
    ДляSuiNov 06, 2024
    Экспертные Вопросы и Ответы

    Cyber validator Sui Global

    There is a person on the Sui Global team who is a cyber validator. What do you think a cyber validator is for? Can we accept the scenario that Sui Global will become a validator in Sui mainnet?

    • SUI
    • Sui Global
    3
    3
  • Награда+3

    Alina QA11.Peera.
    ДляSuiNov 06, 2024
    Экспертные Вопросы и Ответы

    Difference 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
    3
    4
    Лучший ответ
  • Награда+2

    Oliver Martinez.Peera.
    ДляSuiNov 06, 2024
    Экспертные Вопросы и Ответы

    Is 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
    2
    3
    Лучший ответОфициальный ответ
Мы используем файлы cookie, чтобы гарантировать вам лучший опыт на нашем сайте.
Подробнее