Smart contract framework for ICON