typy w solidności

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

contract MyTypes {
    bool public myBoolean= false;
    /// uint32 uint16 unit8(0,255)
    uint256 public myUnit= 56778;
    int8 private myInt= -123;
    int16 internal myInternal= 1234;
    //default address  0x0000000000000000000000000000000000000000
    address public myAdress; 
}
Shirshak kandel