nut db contract