솔리디티에서 Contract는 객체지향언어의 Class와 유사하다.contract에는 상태 변수(State Variables), 함수(Functions), 함수제어자(Function Modifiers), 이벤트(Events), 에러(Errors), 구조체(Struct